diff --git a/docs/sources/arc-python.rst b/docs/sources/arc-python.rst index 4992083..f41eed8 100644 --- a/docs/sources/arc-python.rst +++ b/docs/sources/arc-python.rst @@ -42,7 +42,7 @@ This will result in a Python package named ``isaric-arc`` in the working environ .. code:: python >>> import arc; arc.__version__ - '0.1.0' + '0.2.0' Note that the displayed version is **not the ARC schema version** but the Python package version - the two are versioned separately. Also note that not all the Python modules in ``arc`` are pure libraries - some are intended to be used as command line scripts, e.g. for generating parsers for the :ref:`ISARIC data schema `. @@ -63,7 +63,7 @@ You can then import the ``arc`` package in a Python shell as normally, with a pr >>> import sys; sys.path.insert(0, 'src') >>> import arc; arc.__version__ - '0.1.0' + '0.2.0' .. _usage: @@ -80,7 +80,7 @@ The following snippet shows how the latest ARC release version can be obtained, >>> from arc.arc_core import get_arc_versions, get_arc >>> latest_version = get_arc_versions()[1] >>> latest_version - 'v1.5.0' + 'v1.6.0' >>> arc_data_dictionary, presets_list, commit_sha = get_arc(latest_version) >>> arc_data_dictionary Form Section ... Branch Question_english diff --git a/schemas/arc_v1.6.0_isaric_long.schema.json b/schemas/arc_v1.6.0_isaric_long.schema.json new file mode 100644 index 0000000..3c69cea --- /dev/null +++ b/schemas/arc_v1.6.0_isaric_long.schema.json @@ -0,0 +1,12503 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "ISARIC Long Schema", + "additionalProperties": false, + "type": "object", + "properties": { + "subjid": { + "type": "string", + "description": "Patient Identification Number (PIN). May not uniquely identify a patient." + }, + "dataset_id": { + "type": "string", + "description": "Study ID that patient belongs to." + }, + "event_id": { + "type": [ + "string", + "null" + ], + "description": "ID code to link different attributes which relate to the same event (e.g. medication being administered) together." + }, + "phase": { + "type": "string", + "enum": [ + "presentation", + "pre_observation", + "during_observation", + "follow_up", + "outcome" + ], + "description": "Healthcare encounter phase" + }, + "attribute": { + "type": "string", + "description": "Name of the attribute/event being recorded (e.g. temperature, blood pressure, etc.). Where an attribute with the same or substantially similar semantics exist in ARC, that attribute name must be used." + }, + "attribute_unit": { + "type": [ + "string", + "null" + ], + "description": "Unit of the attribute being recorded (e.g. 'mg/dL'). Null if the attribute has no unit." + }, + "arcver": { + "type": [ + "string", + "null" + ], + "description": "ARC version used to generate the CRF. Null if not generated from ARC." + }, + "value": { + "type": [ + "string", + "null" + ], + "description": "String data associated with the attribute." + }, + "value_num": { + "type": [ + "number", + "null" + ], + "description": "Value of numerical measurements, e.g. temperature, BP." + }, + "reldate_adm": { + "type": [ + "integer", + "null" + ], + "description": "Relative day since admission." + }, + "date": { + "type": [ + "string", + "null" + ], + "anyOf": [ + { + "format": "date-time" + }, + { + "format": "date" + }, + { + "pattern": "^[0-9]{4}-[0-9]{2}$" + }, + { + "pattern": "^[0-9]{4}$" + } + ], + "description": "Date of event." + }, + "duration": { + "type": [ + "integer", + "null" + ], + "description": "Duration of the event in days." + }, + "attribute_status": { + "type": [ + "string" + ], + "enum": [ + "VAL", + "UNK", + "NI", + "NASK", + "NA" + ], + "description": "Use to indicate missing data and the reason for missingness. 'VAL' indicates that the data was collected and is present in the 'value' or 'value_num' field." + } + }, + "oneOf": [ + { + "properties": { + "attribute": { + "const": "medi_dose" + }, + "value_num": { + "type": "number" + }, + "attribute_unit": { + "type": "string" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "demog_height_cm" + }, + "attribute_unit": { + "const": "cm" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "demog_height_in" + }, + "attribute_unit": { + "const": "in" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "demog_weight_kg" + }, + "attribute_unit": { + "const": "kg" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "demog_weight_lb" + }, + "attribute_unit": { + "const": "lb" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "comor_hba1c_mmolmol" + }, + "attribute_unit": { + "const": "mmol/mol" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "comor_hba1c_pcnt" + }, + "attribute_unit": { + "const": "%" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "infa_brtwei_g" + }, + "attribute_unit": { + "const": "g" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "infa_brtwei_lb" + }, + "attribute_unit": { + "const": "lb" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "vital_highesttem_c" + }, + "attribute_unit": { + "const": "\u00b0C" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "vital_highesttem_f" + }, + "attribute_unit": { + "const": "\u00b0F" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "vital_fio2spo2_02110" + }, + "attribute_unit": { + "const": "Fraction, 0.21-1.0" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "vital_fio2spo2_pcnt" + }, + "attribute_unit": { + "const": "%" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "vital_fio2spo2_ltr" + }, + "attribute_unit": { + "const": "Highest L/min" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "treat_pao2_kpa" + }, + "attribute_unit": { + "const": "kPa" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "treat_pao2_mmhg" + }, + "attribute_unit": { + "const": "mmHg" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "treat_highfio_02110" + }, + "attribute_unit": { + "const": "Fraction, 0.21-1.0" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "treat_highfio_pcnt" + }, + "attribute_unit": { + "const": "%" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_haemo_gdl" + }, + "attribute_unit": { + "const": "g/dL" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_haemo_gl" + }, + "attribute_unit": { + "const": "g/L" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_neutrophil_109l" + }, + "attribute_unit": { + "const": "10^9/L" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_neutrophil_pcnt" + }, + "attribute_unit": { + "const": "%" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_lymphocyte_109l" + }, + "attribute_unit": { + "const": "10^9/L" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_lymphocyte_pcnt" + }, + "attribute_unit": { + "const": "%" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_eosinophil_109l" + }, + "attribute_unit": { + "const": "10^9/L" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_eosinophil_pcnt" + }, + "attribute_unit": { + "const": "%" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_hematocrit_pcnt" + }, + "attribute_unit": { + "const": "%" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_hematocrit_ll" + }, + "attribute_unit": { + "const": "L/L" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_platelets_109l" + }, + "attribute_unit": { + "const": "10^9/L" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_platelets_103ul" + }, + "attribute_unit": { + "const": "10^3/\u00b5L" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_erymeancorhgb_gl" + }, + "attribute_unit": { + "const": "g/L" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_erymeancorhgb_gdl" + }, + "attribute_unit": { + "const": "g/dL" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_fibrinogen_gl" + }, + "attribute_unit": { + "const": "g/L" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_fibrinogen_mgdl" + }, + "attribute_unit": { + "const": "mg/dL" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_ddimer_mgl" + }, + "attribute_unit": { + "const": "mg/L" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_ddimer_ugl" + }, + "attribute_unit": { + "const": "\u00b5g/L" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_bilirubin_umoll" + }, + "attribute_unit": { + "const": "\u00b5mol/L" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_bilirubin_mgdl" + }, + "attribute_unit": { + "const": "mg/dL" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_albumin_gl" + }, + "attribute_unit": { + "const": "g/L" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_albumin_mmoll" + }, + "attribute_unit": { + "const": "mmol/L" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_glucose_mmoll" + }, + "attribute_unit": { + "const": "mmol/L" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_glucose_mgdl" + }, + "attribute_unit": { + "const": "mg/dL" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_glucose_gl" + }, + "attribute_unit": { + "const": "g/L" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_ureanitro_mmoll" + }, + "attribute_unit": { + "const": "mmol/L" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_ureanitro_mgdl" + }, + "attribute_unit": { + "const": "mg/dL" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_creatinine_umoll" + }, + "attribute_unit": { + "const": "\u00b5mol/L" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_creatinine_mgdl" + }, + "attribute_unit": { + "const": "mg/dL" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_calcium_mmoll" + }, + "attribute_unit": { + "const": "mmol/L" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_calcium_meql" + }, + "attribute_unit": { + "const": "mEq/L" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_calcium_mgdl" + }, + "attribute_unit": { + "const": "mg/dL" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_chlor_mmoll" + }, + "attribute_unit": { + "const": "mmol/L" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_chlor_mgdl" + }, + "attribute_unit": { + "const": "mg/dL" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_magn_mmoll" + }, + "attribute_unit": { + "const": "mmol/L" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_magn_mgdl" + }, + "attribute_unit": { + "const": "mg/dL" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_procalcito_ngml" + }, + "attribute_unit": { + "const": "ng/mL" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_procalcito_ugl" + }, + "attribute_unit": { + "const": "\u00b5g/L" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_crp_mgl" + }, + "attribute_unit": { + "const": "mg/L" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_crp_mgdl" + }, + "attribute_unit": { + "const": "mg/dL" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_lactate_mmoll" + }, + "attribute_unit": { + "const": "mmol/L" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_lactate_mgdl" + }, + "attribute_unit": { + "const": "mg/dL" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_paco2_mmhg" + }, + "attribute_unit": { + "const": "mmHg" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_paco2_kpa" + }, + "attribute_unit": { + "const": "kPa" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_cd4_celmm" + }, + "attribute_unit": { + "const": "cells/mm^3" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_cd4_106cell" + }, + "attribute_unit": { + "const": "10^6 cells/L" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_cd4_celul" + }, + "attribute_unit": { + "const": "cells/\u00b5L" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_tropi_ngl" + }, + "attribute_unit": { + "const": "ng/L" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_tropi_ngml" + }, + "attribute_unit": { + "const": "ng/mL" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_uric_umoll" + }, + "attribute_unit": { + "const": "\u00b5mol/L" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_uric_mgdl" + }, + "attribute_unit": { + "const": "mg/dL" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_protein_gdl" + }, + "attribute_unit": { + "const": "g/dL" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_protein_gl" + }, + "attribute_unit": { + "const": "g/L" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "nborn_birthweight_g" + }, + "attribute_unit": { + "const": "g" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "nborn_birthweight_lb" + }, + "attribute_unit": { + "const": "lb" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "nborn_length_cm" + }, + "attribute_unit": { + "const": "cm" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "nborn_length_in" + }, + "attribute_unit": { + "const": "in" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "nborn_infhc_cm" + }, + "attribute_unit": { + "const": "cm" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "nborn_infhc_in" + }, + "attribute_unit": { + "const": "in" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "nborn_deathage_days" + }, + "attribute_unit": { + "const": "Days" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "const": "nborn_deathage_months" + }, + "attribute_unit": { + "const": "Months" + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num", + "attribute_unit" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "joint_tjt_mcp", + "joint_tjt_pip", + "joint_sjt_mcp", + "joint_sjt_pip" + ] + }, + "value": { + "type": "string", + "enum": [ + "0", + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8", + "9", + "10", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "joint_tjt_shoulder", + "joint_tjt_elbow", + "joint_tjt_wrist", + "joint_tjt_knee", + "joint_tjt_ankle", + "joint_sjt_shoulder", + "joint_sjt_elbow", + "joint_sjt_wrist", + "joint_sjt_knee" + ] + }, + "value": { + "type": "string", + "enum": [ + "0", + "1", + "2", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "joint_stiff" + }, + "value": { + "type": "string", + "enum": [ + "0 \u2014 No stiffness", + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8", + "9", + "10 \u2014 Worst stiffness" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "lesion_sl", + "lesion_ml" + ] + }, + "value": { + "type": "string", + "enum": [ + "None", + "1", + "2-5", + "6-9", + "10-24", + "25-49", + "50-99", + "100-250", + "251-1000", + ">1000" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "vacci_rsv_type" + }, + "value": { + "type": "string", + "enum": [ + "Abrysvo (Pfizer)", + "Arexvy (GlaxoSmithKline)", + "mResvia (Moderna)", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "vacci_chick_type" + }, + "value": { + "type": "string", + "enum": [ + "IXCHIQ", + "VIMKUNYA", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "compl_reshockep" + }, + "value": { + "type": "string", + "enum": [ + "1", + "2", + "3", + "4+", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "adsym_arthralgia_site_shoulder", + "adsym_arthralgia_site_elbow", + "adsym_arthralgia_site_wrist", + "adsym_arthralgia_site_knee", + "adsym_arthralgia_site_ankle", + "adsym_jointswell_site_shoulder", + "adsym_jointswell_site_elbow", + "adsym_jointswell_site_wrist", + "adsym_jointswell_site_knee", + "adsym_jointswell_site_ankle", + "sympt_jointswell_site_shoulder", + "sympt_jointswell_site_elbow", + "sympt_jointswell_site_wrist", + "sympt_jointswell_site_knee", + "sympt_jointswell_site_ankle", + "sympt_jointtender_site_shoulder", + "sympt_jointtender_site_elbow", + "sympt_jointtender_site_wrist", + "sympt_jointtender_site_knee", + "sympt_jointtender_site_ankle" + ] + }, + "value": { + "type": "string", + "enum": [ + "1", + "2", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "inter_osmotherapy_type" + }, + "value": { + "type": "string", + "enum": [ + "3% hypertonic saline", + "7.5% saline", + "23.4% saline", + "Mannitol" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "inter_suppleo2_flow" + }, + "value": { + "type": "string", + "enum": [ + "<2 L/min", + "2-5 L/min", + "6-10 L/min", + "11-15 L/min", + ">15 L/min", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "diagn_hepatitis_type" + }, + "value": { + "type": "string", + "enum": [ + "A", + "B", + "C", + "D", + "E", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "comor_tuberculos_type" + }, + "value": { + "type": "string", + "enum": [ + "Active pulmonary", + "Active extra-pulmonary", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "medi_investig_type" + }, + "value": { + "type": "string", + "enum": [ + "Administered under standard of care", + "Administered under Monitored Emergency Use of Unregistered and Investigational Interventions (MEURI) or Expanded Access Protocols (EAPs)", + "Administered under randomized clinical trial", + "Other", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "vital_avpu" + }, + "value": { + "type": "string", + "enum": [ + "Alert", + "Confusion", + "Verbal", + "Pain", + "Unresponsive" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "nborn_specimen" + }, + "value": { + "type": "string", + "enum": [ + "Amniotic fluid", + "Cord blood during pregnancy", + "Cord blood after delivery", + "Placental sample during pregnancy", + "Placental sample after delivery", + "Skin lesion", + "Blood", + "Nasopharyngeal swab", + "Urine", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "pregtest_type" + }, + "value": { + "type": "string", + "enum": [ + "Amniotic fluid", + "Placenta", + "Cord blood", + "Vaginal swab", + "Faecal/rectal swab", + "Pregnancy tissue", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "drug14_antimalarial_type", + "medi_antimalarial" + ] + }, + "value": { + "type": "string", + "enum": [ + "Artemether-Lumefantrine (Coartem, Riamet)", + "Chloroquine (Aralen, Resochin)", + "Hydroxychloroquine (Plaquenil)", + "Quinine (Qualaquin)", + "Primaquine", + "Sulfadoxine", + "Pyrimethamine (Fansidar)", + "Artesunate", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_bloodgas_type" + }, + "value": { + "type": "string", + "enum": [ + "Arterial", + "Capillary", + "Venous", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "treat_pao2yn" + }, + "value": { + "type": "string", + "enum": [ + "Arterial", + "Capillary", + "Venous", + "Unknown", + "Not done" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "inter_fluiddrain_reas" + }, + "value": { + "type": "string", + "enum": [ + "Ascites", + "Pleural effusion", + "Pericardial effusion", + "Joint effusion" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "pregout_matdeath_place", + "nborn_placedel" + ] + }, + "value": { + "type": "string", + "enum": [ + "At home", + "Hospital/medical facility", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "follow_skindamage_type" + }, + "value": { + "type": "string", + "enum": [ + "Atrophic scars", + "Hypertrophic scars", + "Deformities", + "Hypopigmentation", + "Hyperpigmentation", + "Contractures", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "adsign_lymph_site", + "sign_lymph_site", + "nborn_lymph_site" + ] + }, + "value": { + "type": "string", + "enum": [ + "Axillary (arm pits)", + "Cervical (neck)", + "Inguinal (groin)", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "expo14_ancon_wildelife_type" + }, + "value": { + "type": "string", + "enum": [ + "Bats", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "nborn_conginfecttype" + }, + "value": { + "type": "string", + "enum": [ + "CMV", + "Syphilis", + "Toxoplasmosis", + "HIV", + "HCV", + "HBV", + "HSV-1", + "HSV-2", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "pregmed_antvacc" + }, + "value": { + "type": "string", + "enum": [ + "COVID-19", + "Hepatitis B", + "Yellow fever", + "Chickenpox", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "treat_niv_type", + "inter_nivent_type" + ] + }, + "value": { + "type": "string", + "enum": [ + "CPAP", + "BIPAP", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "vacci_dengue_type1", + "vacci_dengue_type2", + "vacci_dengue_type3" + ] + }, + "value": { + "type": "string", + "enum": [ + "CYD-TVD (Dengvaxia)", + "TAK-003 (QDENGA)" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "expo14_ancon_pets_type" + }, + "value": { + "type": "string", + "enum": [ + "Cats", + "Dogs" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "lesion_mouth_stat", + "lesion_vagin_stat", + "lesion_penis_stat", + "lesion_othstat" + ] + }, + "value": { + "type": "string", + "enum": [ + "Causing pain", + "Bleeding or Discharge", + "Ulceration" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "lesion_rectum_stat" + }, + "value": { + "type": "string", + "enum": [ + "Causing pain", + "Bleeding or Discharge", + "Ulceration", + "Tenesmus" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "imagi_mrib_find" + }, + "value": { + "type": "string", + "enum": [ + "Cerebral oedema", + "Hydrocephalus", + "Intracranial hemorrhage", + "Infarction", + "Leptomeningeal enhancement", + "Encephalitic pattern" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "imagi_ctbrain_find" + }, + "value": { + "type": "string", + "enum": [ + "Cerebral oedema", + "Midline shift", + "Hydrocephalus", + "Intracranial hemorrhage", + "Infarction" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "imagi_ultrasound_site" + }, + "value": { + "type": "string", + "enum": [ + "Chest only", + "Abdomen only", + "Chest and abdomen", + "Cranial", + "Joints", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "diagn_chick_type" + }, + "value": { + "type": "string", + "enum": [ + "Chikungunya (classical articular form + fever)", + "Chikungunya with extra-articular manifestations", + "Severe chikungunya" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "adsym_abnmov_type", + "sympt_abnmov_type" + ] + }, + "value": { + "type": "string", + "enum": [ + "Chorea", + "Athetosis", + "Dystonia", + "Hemiballismus", + "Stereotypies", + "Orolingual dyskinesia", + "Tic" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "medic_headinf_type" + }, + "value": { + "type": "string", + "enum": [ + "Chronic Suppurative Otitis Media", + "Sinusitis", + "Mastoiditis", + "Orbital infection", + "Dental infection", + "Intracranial complication (e.g. Cerebral Venous Sinus Thrombosis)", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_csf_app" + }, + "value": { + "type": "string", + "enum": [ + "Clear / colourless", + "Turbid / cloudy", + "Xanthochromic", + "Blood stained", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "diagn_primary_type", + "diagn_secondary_type", + "diagn_additional_type", + "diagn_additional2_type" + ] + }, + "value": { + "type": "string", + "enum": [ + "Clinical diagnosis", + "Lab-confirmed", + "Radiologically confirmed (e.g., chest X-ray, CT)", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "sign_seizures_type" + }, + "value": { + "type": "string", + "enum": [ + "Clinical seizures", + "Non-convulsive status epilepticus", + "EEG-confirmed seizure activity", + "Refractory status epilepticus" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "compl_pneum_acq" + }, + "value": { + "type": "string", + "enum": [ + "Community acquired", + "Hospital acquired", + "Ventilator acquired", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "diagn_bacte_cont", + "diagn_pathounlist_cont" + ] + }, + "value": { + "type": "string", + "enum": [ + "Community acquired", + "Hospital acquired", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "inclu_case" + }, + "value": { + "type": "string", + "enum": [ + "Confirmed", + "Probable", + "Suspected", + "Discarded", + "Error" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "follow_barthel_bowel", + "follow_barthel_bladder" + ] + }, + "value": { + "type": "string", + "enum": [ + "Continent", + "Occasional incontinence", + "Frequent incontinence", + "Incontinent" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "nborn_imaging" + }, + "value": { + "type": "string", + "enum": [ + "Cranial ultrasound", + "MRI", + "Other", + "None" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "comor_smoking_type" + }, + "value": { + "type": "string", + "enum": [ + "Current smoker", + "Former Smoker" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "preg_smoking" + }, + "value": { + "type": "string", + "enum": [ + "Current smoker", + "Former smoker (stopped PRIOR TO pregnancy)", + "Former smoker (stopped DURING pregnancy)", + "Never smoked" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "nborn_breastfed_status" + }, + "value": { + "type": "string", + "enum": [ + "Currently breastfed", + "Breastfeeding discontinued" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "sign_raiseicp_type" + }, + "value": { + "type": "string", + "enum": [ + "Cushing response", + "Papilloedema", + "Fixed/dilated pupil(s)", + "Posturing" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "test_denguetyp", + "diagn_denguetyp" + ] + }, + "value": { + "type": "string", + "enum": [ + "DENV1", + "DENV2", + "DENV3", + "DENV4" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "sign_encephalopathy_type" + }, + "value": { + "type": "string", + "enum": [ + "Delirium (hyper/hypoactive)", + "Behavioural disturbance", + "Psychosis", + "Coma" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "test_result" + }, + "value": { + "type": "string", + "enum": [ + "Detected", + "Not detected", + "Equivocal", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "nborn_outc" + }, + "value": { + "type": "string", + "enum": [ + "Discharged healthy", + "Discharged with complications/sequelae", + "Still in neonatal ward", + "Referred to other hospital", + "Death", + "Unknown", + "Not applicable" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "critd_vasopress_type" + }, + "value": { + "type": "string", + "enum": [ + "Dopamine (<5ug/kg/min)", + "Dopamine (5-15ug/kg/min)", + "Dopamine (>15ug/kg/min)", + "Norepinephrine (noradrenaline) < 0.1ug/kg/min", + "Norepinephrine (noradrenaline) > 0.1ug/kg/min", + "Epinephrine (adrenaline)", + "Dobutamine", + "Milrinone", + "Levosimendan", + "Vasopressin", + "Phenylephrine", + "Terlipressin", + "Angiotensin-II" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "crito_inotropesv_type" + }, + "value": { + "type": "string", + "enum": [ + "Dopamine < 5ug/kg/min OR dobutamine OR milrinone OR levosimendan", + "Dopamine 5-15ug/kg/min OR epinephrine(adrenaline) / norepinephrine(noradrenaline) <=0.1ug/kg/min OR vasopressin OR phenylephrine", + "Dopamine >15ug/kg/min OR epinephrine(adrenaline) / norepinephrine(noradrenaline) >0 .1ug/kg/min" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "treat_prone_when", + "inter_prone_when" + ] + }, + "value": { + "type": "string", + "enum": [ + "During invasive ventilation", + "Whilst self-ventilating", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "readm_prev_reastrans" + }, + "value": { + "type": "string", + "enum": [ + "Escalation of care (eg. ICU/Ventilation)", + "Lack of diagnostic facilities", + "Proximity to home", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "inter_csf" + }, + "value": { + "type": "string", + "enum": [ + "Extraventricular drain (EVD)", + "Lumbar drain", + "Ventriculoperitoneal shunt", + "None" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "adsign_oedema_site", + "sign_oedema_site" + ] + }, + "value": { + "type": "string", + "enum": [ + "Feet", + "Ankle", + "Legs (below knee)", + "Legs (above knees)", + "Scrotum/Labia", + "Sacrum", + "Abdomen", + "Neck", + "Face", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "adsym_jointtender_site" + }, + "value": { + "type": "string", + "enum": [ + "Fingers", + "Wrists", + "Shoulders", + "Elbow", + "Hips", + "Knees", + "Ankles", + "Toes", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "test_timing" + }, + "value": { + "type": "string", + "enum": [ + "First (early/acute phase sample)", + "Second (later/convalescent phase sample)", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "adsym_mobile", + "sympt_mobile" + ] + }, + "value": { + "type": "string", + "enum": [ + "Fully ambulant", + "Ambulant, but with some assistance", + "Bedridden" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "lesion_dist" + }, + "value": { + "type": "string", + "enum": [ + "Generalised", + "Localised around the genitals", + "Centrifugal-more on the extremities", + "Centripetal-more on the trunk", + "Other distribution", + "Unknown distribution" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "imagi_ultrasound_cranfind_ivh" + }, + "value": { + "type": "string", + "enum": [ + "Grade I", + "Grade II", + "Grade III", + "Grade IV", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "photo_site" + }, + "value": { + "type": "string", + "enum": [ + "Head, neck or face", + "Inside of mouth", + "Front torso", + "Back torso", + "Right arm or hand", + "Left arm or hand", + "Peri-anal", + "Pubic region", + "Right leg or foot", + "Left leg or foot", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "nborn_lesion_site" + }, + "value": { + "type": "string", + "enum": [ + "Head/face/neck", + "Inside of mouth", + "Torso", + "Arms and/or hands", + "Legs and/or feet", + "External genitalia", + "Perianal", + "Vaginal canal", + "Rectum", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "sign_focalneuro_type" + }, + "value": { + "type": "string", + "enum": [ + "Hemiparesis", + "Cranial nerve palsy", + "Aphasia", + "Visual field deficit", + "Movement disorder" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "medic_sti_type" + }, + "value": { + "type": "string", + "enum": [ + "Herpes Simplex Virus (HSV)", + "Human Papillomavirus (HPV)", + "Chlamydia", + "Gonorrhoea", + "Syphilis", + "Mycoplasma genitalium", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "demog_occupation" + }, + "value": { + "type": "string", + "enum": [ + "Home-working or unemployed", + "Indoors-office/health/education/hospitality/business/homes", + "Indoors-factory", + "Outdoors-animal contact (vet, animal farmer, abattoir worker)", + "Outdoors-agriculture/forestry/fisheries", + "Outdoors-construction/industrial/mining", + "Armed Forces", + "Student", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "expo14_contact_setting" + }, + "value": { + "type": "string", + "enum": [ + "Household", + "Community/social", + "Healthcare facility", + "Occupational/workplace", + "Sexual contact", + "Air travel/flight", + "Vertical transmission", + "Other", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "expo14_ancon_lstock_cttype", + "expo14_ancon_nhprim_cttype", + "expo14_ancon_rodent_cttype", + "expo14_ancon_wildlife_cttype", + "expo14_ancon_other_cttype" + ] + }, + "value": { + "type": "string", + "enum": [ + "Hunting", + "Preparing", + "Handling", + "Consumption (unprocessed / undercooked / raw)", + "Trading", + "Animal faeces or nests", + "Sick or dead animal", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "expo14_ancon_pets_cttype" + }, + "value": { + "type": "string", + "enum": [ + "Hunting", + "Preparing", + "Handling", + "Consumption (unprocessed / undercooked / raw)", + "Trading", + "Animal faeces or nests", + "Sick or dead animal", + "Bite/scratch", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "medi_antipruritic" + }, + "value": { + "type": "string", + "enum": [ + "Hydrocortisone", + "Calamine", + "Antihistamines", + "Hydroxyzine", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "diagn_mpox_clade" + }, + "value": { + "type": "string", + "enum": [ + "Ia", + "Ib", + "I sub-type unknown", + "IIa", + "IIb", + "II sub-type unknown", + "Not done", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "medi_stopreason" + }, + "value": { + "type": "string", + "enum": [ + "Improvements", + "Deterioration", + "Death", + "Other adverse events", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "vacci_mpox_type" + }, + "value": { + "type": "string", + "enum": [ + "Imvanex/Imvamune/Jyneos (MVA-BN)", + "ACAM2000", + "LC16m8", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "vacci_influenza_type" + }, + "value": { + "type": "string", + "enum": [ + "Inactivated Influenza Vaccine (IIV)", + "Live Attenuated Influenza Vaccine (LAIV)", + "Recombinant Influenza Vaccine (RIV)", + "Cell-Based Influenza Vaccine (ccIIV)", + "Egg-Based Influenza Vaccine", + "mRNA-Based Influenza Vaccines (Emerging Technology)", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "follow_barthel_bathing" + }, + "value": { + "type": "string", + "enum": [ + "Independent", + "Needs some help", + "Needs extensive help", + "Unable to bathe oneself" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "follow_barthel_dressing" + }, + "value": { + "type": "string", + "enum": [ + "Independent", + "Needs some help", + "Needs extensive help", + "Unable to dress oneself" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "follow_barthel_feeding" + }, + "value": { + "type": "string", + "enum": [ + "Independent", + "Needs some help", + "Needs extensive help", + "Unable to feed oneself" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "follow_barthel_grooming" + }, + "value": { + "type": "string", + "enum": [ + "Independent", + "Needs some help", + "Needs extensive help", + "Unable to groom oneself" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "follow_barthel_transfer" + }, + "value": { + "type": "string", + "enum": [ + "Independent", + "Needs some help", + "Needs extensive help", + "Unable to transfer" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "follow_barthel_toilet" + }, + "value": { + "type": "string", + "enum": [ + "Independent", + "Needs some help", + "Needs extensive help", + "Unable to use the toilet" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "follow_barthel_stairs" + }, + "value": { + "type": "string", + "enum": [ + "Independent", + "Needs some help", + "Unable to use stairs" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "follow_barthel_walking" + }, + "value": { + "type": "string", + "enum": [ + "Independent", + "Needs some help", + "Uses a wheelchair independently", + "Unable to walk" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "pres_adm_reas" + }, + "value": { + "type": "string", + "enum": [ + "Infection of interest", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "medic_mengpast_type" + }, + "value": { + "type": "string", + "enum": [ + "Infectious", + "Non infectious", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "critd_rtt_typ" + }, + "value": { + "type": "string", + "enum": [ + "Intermittent", + "Continuous", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "vacci_mpox_route1", + "vacci_mpox_route2", + "vacci_mpox_route3", + "vacci_mpox_route4" + ] + }, + "value": { + "type": "string", + "enum": [ + "Intramuscular", + "Subcutaneous", + "Intradermal", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "inter_icp_type" + }, + "value": { + "type": "string", + "enum": [ + "Intraventricular catheter (EVD-based)", + "Intraparenchymal monitor (bolt)", + "Subdural monitor", + "Epidural monitor", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "nborn_gamethod" + }, + "value": { + "type": "string", + "enum": [ + "LMP", + "EDD", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "lesion_morphsize" + }, + "value": { + "type": "string", + "enum": [ + "Less than 0.5cm", + "0.5-0.99cm", + "1-1.99cm", + "2+ cm" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "medi_localanest" + }, + "value": { + "type": "string", + "enum": [ + "Lidocaine", + "Bupivacaine", + "Ropivacaine", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "pregout_bboutc" + }, + "value": { + "type": "string", + "enum": [ + "Livebirth (even if infant died after birth)", + "Miscarriage (<22 weeks)", + "Termination by choice", + "Termination - ultrasound abnormality", + "Termination - other/unknown reason", + "Stillbirth (intra-uterine / intrapartum death from 22 gest weeks)", + "Ectopic pregnancy", + "Ongoing", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "preg_bboutc" + }, + "value": { + "type": "string", + "enum": [ + "Livebirth (even if infant died after birth)", + "Miscarriage (<22 weeks)", + "Termination by choice", + "Termination - ultrasound abnormality", + "Termination - other/unknown reason", + "Stillbirth (intra-uterine / intrapartum death from 22 gest weeks)", + "Ectopic pregnancy", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "comor_orgtrans_organ" + }, + "value": { + "type": "string", + "enum": [ + "Lung", + "Heart", + "Kidney", + "Liver", + "Bone", + "Hematopoietic stem cell", + "Cornea", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "adsym_arthralgia_hand", + "adsym_jointswell_hand", + "sympt_jointswell_hand", + "sympt_jointtender_hand" + ] + }, + "value": { + "type": "string", + "enum": [ + "MCP (metacarpophalangeal) joint", + "PIP (proximal interphalangeal) joint", + "DIP (distal interphalangeal) joint", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "pregout_bboutc_stillb" + }, + "value": { + "type": "string", + "enum": [ + "Macerated", + "Fresh", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "demog_gender" + }, + "value": { + "type": "string", + "enum": [ + "Male", + "Female", + "Non-binary", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "nborn_sex" + }, + "value": { + "type": "string", + "enum": [ + "Male", + "Female", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "drug14_dmard_type" + }, + "value": { + "type": "string", + "enum": [ + "Methotrexate", + "Sulfasalazine", + "Hydroxychloroquine", + "Leflunomide", + "Azathioprine", + "TNF inhibitors (e.g., adalimumab, infliximab, etanercept)", + "IL-6 inhibitors (e.g., tocilizumab)", + "B-cell inhibitors (e.g., rituximab)", + "T-cell co-stimulation inhibitors (e.g., abatacept)", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "nborn_lesion_num" + }, + "value": { + "type": "string", + "enum": [ + "Mild (< 25 skin lesions)", + "Moderate (25-99 skin lesions)", + "Severe (100-250 skin lesions)", + "Very severe (> 250 skin lesions)", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "comor_liverdisease_type" + }, + "value": { + "type": "string", + "enum": [ + "Mild", + "Moderate or severe", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "adsign_dehyrdation_type", + "sign_dehyrdation_type" + ] + }, + "value": { + "type": "string", + "enum": [ + "Mild", + "Moderate", + "Severe" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "expo14_ancon_nhprim_type" + }, + "value": { + "type": "string", + "enum": [ + "Monkeys", + "Apes" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "lesion_morph" + }, + "value": { + "type": "string", + "enum": [ + "Mostly discrete lesions", + "Semi-confluent lesions", + "Confluent lesions", + "Mixed morphology", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "test_marker" + }, + "value": { + "type": "string", + "enum": [ + "NS1 Ag", + "IgG", + "IgM", + "IgA", + "Viral load / serotype (PCR/NAAT)", + "Not applicable", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "vital_o2supp_type" + }, + "value": { + "type": "string", + "enum": [ + "Nasal Prongs", + "Face mask", + "High flow nasal oxygen", + "Non-invasive ventilation", + "Invasive ventilation", + "ECMO / ECLS", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "lab_csf_gram_result" + }, + "value": { + "type": "string", + "enum": [ + "No organisms seen", + "Gram-positive organisms", + "Gram-negative organisms", + "Mixed organisms", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "vital_gcsm" + }, + "value": { + "type": "string", + "enum": [ + "No response", + "Extension to pain", + "Flexion to pain", + "Withdraws from pain", + "Localises pain", + "Obeys commands" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "vital_gcsv" + }, + "value": { + "type": "string", + "enum": [ + "No response", + "Incomprehensible sounds", + "Inappropriate words", + "Confused", + "Oriented" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "vital_gcse" + }, + "value": { + "type": "string", + "enum": [ + "No response", + "To pain", + "To speech", + "Spontaneous" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "adsym_cough_type", + "sympt_cough_type" + ] + }, + "value": { + "type": "string", + "enum": [ + "Non Productive", + "Productive", + "Haemoptysis", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "nborn_imaging_res" + }, + "value": { + "type": "string", + "enum": [ + "Normal findings", + "Abnormal findings" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "imagi_xray_result", + "imagi_ctchest_result", + "imagi_ultrasound_findi" + ] + }, + "value": { + "type": "string", + "enum": [ + "Normal or no acute change", + "Abnormal or acute change", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "adsign_feed_route", + "sign_feed_route" + ] + }, + "value": { + "type": "string", + "enum": [ + "Oral", + "Feeding tube", + "Breastfeeding", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "drug14_antiviral_route" + }, + "value": { + "type": "string", + "enum": [ + "Oral", + "Inhaled", + "IV", + "Topical", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "drug14_steroid_route" + }, + "value": { + "type": "string", + "enum": [ + "Oral", + "Inhaled", + "IV", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "medi_route" + }, + "value": { + "type": "string", + "enum": [ + "Oral", + "Subcutaneous", + "Inhaled", + "IV", + "Topical", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "comor_rheumatolo_type" + }, + "value": { + "type": "string", + "enum": [ + "Osteoarthritis", + "Rheumatoid Arthritis", + "Systemic Lupus Erythematosus", + "Ankylosing Spondylitis", + "Psoriatic Arthritis", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "asses_lvlcare" + }, + "value": { + "type": "string", + "enum": [ + "Outpatient", + "Admitted to normal ward for isolation only", + "Admitted to normal ward for clinical care", + "High dependency", + "Intensive care admission" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "test_labtestmethod" + }, + "value": { + "type": "string", + "enum": [ + "PCR (NAAT)", + "Culture", + "RDT", + "Serology(ELISA)", + "Other NAAT", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "nborn_labmethod" + }, + "value": { + "type": "string", + "enum": [ + "PCR", + "Ortho PCR", + "Serology", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "drug14_analg_type" + }, + "value": { + "type": "string", + "enum": [ + "Paracetamol (Acetaminophen)", + "Metamizole (Dipyrone)", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "medi_analgesic" + }, + "value": { + "type": "string", + "enum": [ + "Paracetamol", + "NSAIDs", + "Opiates (Tramadol, Codeine, Morphine)", + "Ketamine", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "crito_neuromuscu_reas" + }, + "value": { + "type": "string", + "enum": [ + "Paralysis used for ICP control", + "To improve ventilator synchrony", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "inclu_consent_who" + }, + "value": { + "type": "string", + "enum": [ + "Participant", + "Parent/guardian", + "Consultee", + "Independent clinician" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "medi_topicantibiotgent" + }, + "value": { + "type": "string", + "enum": [ + "Penicillins", + "Cephalosporins", + "Tetracyclines", + "Aminoglycosides", + "Macrolides", + "Sulfonamides and trimethoprim", + "Quinolones", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "inter_ivfluid_venacc" + }, + "value": { + "type": "string", + "enum": [ + "Peripheral", + "Intra-osseous", + "Central", + "Other", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "vacci_covid19_type1", + "vacci_covid19_type2", + "vacci_covid19_type3" + ] + }, + "value": { + "type": "string", + "enum": [ + "Pfizer/BioNTech", + "AstraZeneca/University of Oxford (Covishield in India)", + "Moderna", + "Novavax", + "Janssen (Johnson & Johnson)", + "Sinopharm", + "Sinovac", + "Sputnik V", + "Covaxin", + "CanSinoBIO", + "Unknown", + "Other, please specify" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "vacci_covid19_lasttype" + }, + "value": { + "type": "string", + "enum": [ + "Pfizer/BioNTech", + "AstraZeneca/University of Oxford (Covishield in India)", + "Moderna", + "Novavax", + "Janssen (Johnson & Johnson)", + "Sinopharm", + "Sinovac", + "Sputnik V", + "Covaxin", + "CanSinoBIO", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "drug14_blood_type", + "treat_blood_type", + "inter_bpt_type" + ] + }, + "value": { + "type": "string", + "enum": [ + "Platelets", + "Cryoprecipitate", + "Whole blood", + "Frozen fresh plasma", + "Fibrinogen concentrate", + "Packed RBC (red cell concentrate)" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "medi_ivig" + }, + "value": { + "type": "string", + "enum": [ + "Polyclonal immunoglobulin", + "Specific immunoglobulin", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "nborn_pcrres" + }, + "value": { + "type": "string", + "enum": [ + "Positive", + "Negative" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "preg_bbresl", + "labs_preg", + "pregout_bbresl" + ] + }, + "value": { + "type": "string", + "enum": [ + "Positive", + "Negative", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "expo14_ancon_lstock_type" + }, + "value": { + "type": "string", + "enum": [ + "Poultry/birds", + "Dairy cows/equipment", + "Other cattle", + "Pigs", + "Horses" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "pregout_matdeath_time" + }, + "value": { + "type": "string", + "enum": [ + "Pre-delivery", + "During delivery", + "Post-delivery (within 40 days)", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "crito_neurosed_type" + }, + "value": { + "type": "string", + "enum": [ + "Propofol infusion", + "Midazolam infusion" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "vital_spo2roomhow", + "vital_o2supp_spo2how" + ] + }, + "value": { + "type": "string", + "enum": [ + "Pulse Oximetry", + "Arterial blood gas measurement", + "Other", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "vacci_aviinflu_type" + }, + "value": { + "type": "string", + "enum": [ + "Quadrivalent, recombinant", + "Quadrivalent, adjuvanted inactivated", + "Quadrivalent, high dose", + "Quadrivalent, cell-based", + "Influenza Tetra MYL", + "Trivalent, recombinant", + "Trivalent, high dose", + "Trivalent, adjuvant inactivated", + "Trivalent, intranasal", + "H5N1 (Audenz, Aflunov)", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "test_naat" + }, + "value": { + "type": "string", + "enum": [ + "RT-PCR", + "LAMP", + "TMA / TMP", + "Other", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "expo14_ancon_rodent_type" + }, + "value": { + "type": "string", + "enum": [ + "Rats", + "Mice", + "Squirrels" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "nborn_compsel" + }, + "value": { + "type": "string", + "enum": [ + "Respiratory distress syndrome", + "Intraventricular haemorrhage", + "Necrotising enterocolitis", + "Neonatal encephalopathy", + "Chronic lung disease", + "Severe jaundice requiring phototherapy", + "Major congenital anomaly", + "Severe infection/sepsis", + "Meningitis", + "Exchange transfusion", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "expo14_house_sys" + }, + "value": { + "type": "string", + "enum": [ + "Respiratory", + "Gastrointestinal", + "Cardiovascular", + "Central Nervous system", + "Peripheral Nervous system", + "Mucocutaneous", + "Ocular", + "Musculoskeletal", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "imagi_xray_resultpleusite" + }, + "value": { + "type": "string", + "enum": [ + "Right", + "Left" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "outco_selfcare" + }, + "value": { + "type": "string", + "enum": [ + "Same as before illness", + "Worse", + "Better", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "demog_residence" + }, + "value": { + "type": "string", + "enum": [ + "Same as health care facility", + "Different from health care facility", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "drug14_ivfluid_reas", + "inter_ivfluid_reas" + ] + }, + "value": { + "type": "string", + "enum": [ + "Shock", + "High/rising haematocrit", + "Anorexia", + "Persistent vomiting", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "critd_vasopress_reas" + }, + "value": { + "type": "string", + "enum": [ + "Shock", + "Persistent hypotension", + "Other", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "adsym_arthralgia_site", + "adsym_jointswell_site", + "sympt_jointswell_site", + "sympt_jointtender_site" + ] + }, + "value": { + "type": "string", + "enum": [ + "Shoulder", + "Elbow", + "Wrist", + "Small joints of hand", + "Knee", + "Ankle", + "Small joints of foot", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "photo_type" + }, + "value": { + "type": "string", + "enum": [ + "Skin lesion", + "Mucosal lesion", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "compl_cellulitis_site" + }, + "value": { + "type": "string", + "enum": [ + "Skin", + "Nose", + "Gums", + "GI tract", + "Urinary tract", + "Vagina", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "compl_severebleed_site" + }, + "value": { + "type": "string", + "enum": [ + "Skin", + "Petechiae", + "Nose", + "Gums", + "GI tract", + "Urinary tract", + "Vagina", + "Other(s)", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "adsym_skinrash_site" + }, + "value": { + "type": "string", + "enum": [ + "Skin, genital", + "Skin, non-genital", + "Mucosa, genital", + "Mucosa, non-genital", + "Mouth", + "Perianal skin", + "Rectum", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "imagi_ultrasound_ascsit" + }, + "value": { + "type": "string", + "enum": [ + "Small", + "Moderate", + "Severe" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "comor_chrkidney_type" + }, + "value": { + "type": "string", + "enum": [ + "Stage 1", + "Stage 2", + "Stage 3a", + "Stage 3b", + "Stage 4", + "Stage 5", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "inclu_testreason" + }, + "value": { + "type": "string", + "enum": [ + "Symptomatic", + "Asymptomatic, contact-traced", + "Asymptomatic, mass testing campaign", + "Not tested", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "adsym_arthralgia_add", + "adsym_jointswell_add", + "sympt_jointswell_add", + "sympt_jointtender_add" + ] + }, + "value": { + "type": "string", + "enum": [ + "TMJ", + "Sternoclavicular (SC)", + "Acromioclavicular (AC)", + "Sacroiliac (SI)", + "Hip", + "Subtalar", + "Thoracic spine", + "Lumbar spine", + "Other (specify)" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "imagi_mrib_pattern" + }, + "value": { + "type": "string", + "enum": [ + "Temporal lobe", + "Brainstem", + "Cerebellar", + "Basal ganglia", + "Diffuse", + "Other", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "medi_anticoaguagent_ind" + }, + "value": { + "type": "string", + "enum": [ + "Therapeutic (treatment of DVT/PE)", + "Enhanced prophylaxis for infection with pathogen of interest", + "Routine inpatient prophylaxis", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "lesion_skinles" + }, + "value": { + "type": "string", + "enum": [ + "There are active skin lesions", + "There are skin lesions and none of them are active (lesions in the process of healing & resolving, including scabbed lesions)", + "All skin lesions have completely resolved (all scabs have fallen off with intact skin)", + "No skin lesions have developed to date" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "lesion_mucos" + }, + "value": { + "type": "string", + "enum": [ + "There are mucosal lesions", + "There is a history of mucosal lesions but none at present (all have resolved and mucosa is healed)", + "No mucosal lesions have developed to date" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "crito_barbcoma_type" + }, + "value": { + "type": "string", + "enum": [ + "Thiopentone/pentobarbital infusion", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "medi_antifibrinolytic" + }, + "value": { + "type": "string", + "enum": [ + "Tranexamic acid", + "Aminocaproic acid", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "sign_focalneuro_type_mov" + }, + "value": { + "type": "string", + "enum": [ + "Tremor", + "Chorea", + "Dystonia", + "Myoclonus", + "Rigidity", + "Ataxia", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "comor_diabetes_type" + }, + "value": { + "type": "string", + "enum": [ + "Type 1", + "Type 2", + "Gestational diabetes", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "diagn_dengueclass" + }, + "value": { + "type": "string", + "enum": [ + "Uncomplicated dengue", + "Dengue with warning signs", + "Severe dengue" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "imagi_xray_resultpleu", + "imagi_ctchest_resultpleudet" + ] + }, + "value": { + "type": "string", + "enum": [ + "Unilateral", + "Bilateral" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "nborn_modedel" + }, + "value": { + "type": "string", + "enum": [ + "Vaginal", + "Assisted vaginal", + "Elective caesarean (before labour, before rupture of membranes)", + "Emergency caesarean (after labour and/or rupture of membranes)" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "medi_inotropesvasopressor" + }, + "value": { + "type": "string", + "enum": [ + "Vasopressin", + "Phenylephrine", + "Epinephrine", + "Norepinephrine", + "Dopamine", + "Angiotensin-II", + "Terlipressin", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "treat_ecmo_type", + "inter_ecmo_typ" + ] + }, + "value": { + "type": "string", + "enum": [ + "Veno-venous (VV)", + "Veno-arterial (VA)", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "imagi_ultrasound_cranfind" + }, + "value": { + "type": "string", + "enum": [ + "Ventriculomegaly/Hydrocephalus", + "Intraventricular hemorrhage (IVH)", + "Parenchymal hemorrhage", + "Cerebral oedema", + "Periventricular leukomalacia", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "nborn_lesion_type" + }, + "value": { + "type": "string", + "enum": [ + "Vesicle", + "Pustule", + "Ulcerated lesion", + "Crusted/scabbed mature lesion", + "Residual evidence of resolved lesions (scar/discoloration)", + "Haemorrhagic / bleeding lesions" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "lesion_head_type", + "lesion_ocular_type", + "lesion_torso_type", + "lesion_arms_type", + "lesion_legs_type", + "lesion_palm_type", + "lesion_sole_type", + "lesion_genit_type", + "lesion_peri_type" + ] + }, + "value": { + "type": "string", + "enum": [ + "Vesicle", + "Pustule", + "Ulcerated lesions", + "Necrotising lesions", + "Fungating lesions", + "Haemorrhagic lesions", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "imagi_xray_infiltyp", + "imagi_ctchest_infiltyp" + ] + }, + "value": { + "type": "string", + "enum": [ + "Viral pneumonitis", + "Bacterial pneumonia", + "Pulmonary oedema", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "compl_pneum_type" + }, + "value": { + "type": "string", + "enum": [ + "Viral", + "Bacterial", + "Fungal" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "medic_mengpast_when" + }, + "value": { + "type": "string", + "enum": [ + "Within past 3 months", + "3\u201312 months ago", + "1\u20135 years ago", + "More than 5 years ago", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "readm_prev" + }, + "value": { + "type": "string", + "enum": [ + "YES-admitted previously to this facility and discharged", + "YES-admitted to other facility and discharged", + "YES-admitted to another facility, then transferred to this facility", + "No", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "vacci_dengue" + }, + "value": { + "type": "string", + "enum": [ + "YES-once", + "YES-twice", + "YES-thrice", + "No", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "inclu_consent_secrsch", + "inclu_consent_secprod", + "inclu_consent_secgen", + "inclu_consent_secsamprsch", + "inclu_consent_secsampprod", + "inclu_consent_secsampgen", + "inclu_consent_contnstudy", + "demog_birthknow", + "vital_dailydata", + "sympt_dailydata", + "sympt_dn4_q1_burning", + "sympt_dn4_q1_cold", + "sympt_dn4_q1_shock", + "sympt_dn4_q2_tingling", + "sympt_dn4_q2_pins", + "sympt_dn4_q2_numb", + "sympt_dn4_q2_itch", + "sympt_dn4_q3_touch", + "sympt_dn4_q3_pin", + "sympt_dn4_q4_brush", + "sign_dailydata", + "lesion_dailydata", + "treat_dailydata", + "labs_dailydata", + "labs_csf_other", + "imagi_dailydata", + "medi_treat", + "test_genrep", + "joint_tjt", + "joint_sjt" + ] + }, + "value": { + "type": "string", + "enum": [ + "Yes", + "No" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "inclu_consent_whopg" + }, + "value": { + "type": "string", + "enum": [ + "Yes", + "No", + "Not competent" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "test_fluresist" + }, + "value": { + "type": "string", + "enum": [ + "Yes", + "No", + "Not Tested", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "inclu_reason", + "pres_symptpres", + "readm_difpin", + "readm_reas", + "demog_outcountry", + "demog_healthcare", + "demog_healthcare_ptfacing", + "demog_healthcare_expbiosample", + "expo14_travel", + "expo14_riskarea", + "expo14_contact", + "expo14_ancon", + "expo14_ancon_lstock", + "expo14_ancon_nhprim", + "expo14_ancon_rodent", + "expo14_ancon_pets", + "expo14_ancon_wildlife", + "expo14_ancon_unpasteur", + "expo14_ancon_visitzoo", + "expo14_ancon_animalsurg", + "expo14_ancon_bite", + "expo14_ancon_other", + "expo14_house", + "expo14_housecon", + "expo14_ferm", + "expo14_swim", + "expo14_floodwater", + "expo14_closeliving", + "comor_chrneurolo", + "comor_epilepsy", + "comor_dementia", + "comor_strokecva", + "comor_hemipleg", + "comor_parapleg", + "comor_chrcardiac", + "comor_chrcardiac_mi", + "comor_chrcardiac_chf", + "comor_hypertensi", + "comor_perivascdis", + "comor_chrpulmona", + "comor_asthma", + "comor_peptulcdis", + "comor_liverdisease", + "comor_chrkidney", + "comor_aids", + "comor_aids_art", + "comor_aids_vrl", + "comor_tuberculos", + "comor_tuberculos_latent", + "comor_tuberculos_previous", + "comor_hepbc", + "comor_chrhematol", + "comor_recentblood", + "comor_sickle", + "comor_rheumatolo", + "comor_asplenia", + "comor_benignn", + "comor_malignantn", + "comor_malignantn_sol", + "comor_malignantn_leuk", + "comor_malignantn_lymp", + "comor_obesity", + "comor_malnutriti", + "comor_diabetes", + "comor_diabetes_endorg", + "comor_smoking", + "comor_smoking_passive", + "comor_alcohol", + "comor_intrdrug", + "comor_orgtrans", + "comor_primaryimmuno", + "comor_chemotherapy", + "comor_radiotherapy", + "comor_steroidtherapy", + "comor_skincon", + "comor_malnut", + "comor_premature", + "comor_conginmu", + "medic_cpox", + "medic_meas", + "medic_actshingles", + "medic_acthcv", + "medic_acthbv", + "medic_mumps", + "medic_zika", + "medic_dengue", + "medic_enterovirus", + "medic_polio", + "medic_rickettsial", + "medic_sti", + "medic_malaria", + "medic_headinf", + "medic_headinj", + "medic_neuroproc", + "medic_previnf", + "medic_labtest", + "medic_previnf2", + "medic_previnf3", + "medic_cpoxpast", + "medi_shingpast", + "medic_mengpast", + "drug14_antiviral", + "drug14_steroid", + "drug14_immunusupp", + "drug14_antibiotic", + "drug14_nsaid", + "drug14_analg", + "drug14_opio", + "drug14_dmard", + "drug14_anticoagul", + "drug14_ivfluid", + "drug14_fluid_oral", + "drug14_blood", + "drug14_antihypertensive", + "drug14_antidiabetic", + "drug14_lipidlowering", + "drug14_antireflux", + "drug14_antidepress", + "drug14_antiepileptic", + "drug14_herb", + "drug14_hivprep", + "drug14_antimalarial", + "drug14_chemo", + "drug14_unlisted", + "vacci_covid19", + "vacci_influenza", + "vacci_aviinflu", + "vacci_rsv", + "vacci_pneumococo", + "vacci_chick", + "vacci_spox80", + "vacci_spox80_scar", + "vacci_mpox", + "vacci_yellowfever", + "vacci_hepatitisb", + "vacci_chickenpox", + "vacci_polio", + "vacci_hib", + "vacci_pcv", + "vacci_mmr", + "vacci_je", + "vacci_tickenc", + "vacci_rabies", + "vacci_marburg", + "vacci_ebola", + "vacci_lassa", + "vacci_crimean", + "vacci_vhf", + "adsym_fever", + "adsym_rigchill", + "adsym_nightsweat", + "adsym_coldsweat", + "adsym_excesssweat", + "adsym_restlessne", + "adsym_fatigue", + "adsym_weak", + "adsym_weight", + "adsym_anosmia", + "adsym_ageusia", + "adsym_dizzy", + "adsym_myalgia", + "adsym_arthralgia", + "adsym_jointswell", + "adsym_jointstiff", + "adsym_jointtender", + "adsym_stissueswell", + "adsym_backpain", + "adsym_neckpain", + "adsym_skinrash", + "adsym_paresthesia", + "adsym_skinchange", + "adsym_skinpallor", + "adsym_pruritus", + "adsym_mobilchg", + "adsym_sleepmore", + "adsym_polydipsia", + "adsym_irregmenstruation", + "adsym_cough", + "adsym_coryza", + "adsym_sorethroat", + "adsym_rhinorrhoe", + "adsym_wheezing", + "adsym_shortbreat", + "adsym_nasalcongestion", + "adsym_chestpain", + "adsym_sneez", + "adsym_hiccups", + "adsym_palpitations", + "adsym_abdpain", + "adsym_diarrhoea", + "adsym_consti", + "adsym_vomit", + "adsym_vomit2d", + "adsym_vomitbld", + "adsym_nausea", + "adsym_anorexia", + "adsym_exsal", + "adsym_diffswallow", + "adsym_faecalincont", + "adsym_urine", + "adsym_urineincont", + "adsym_polyuria", + "adsym_dysuria", + "adsym_dyspareunia", + "adsym_haemorrhag", + "adsym_haemorrhag_sev", + "adsym_headache", + "adsym_photoph", + "adsym_seizconv", + "adsym_confusion", + "adsym_focweak", + "adsym_paralysis", + "adsym_irritable", + "adsym_tremor", + "adsym_diffwalk", + "adsym_personality", + "adsym_abnmov", + "adsym_neurologic", + "adsym_itchyeye", + "adsym_redeye", + "adsym_paineyes", + "adsym_eyelidedema", + "adsym_eyedischarg", + "adsym_hazyvision", + "adsym_eyelightsensi", + "adsym_visdist", + "adsym_ocularoth", + "adsym_earpain", + "adsym_tinnitus", + "adsym_parot", + "adsym_contcry", + "adsym_feedingdiff", + "adsign_hypotherm", + "adsign_coldperiph", + "adsign_dehyrdation", + "adsign_oedema", + "adsign_bruise", + "adsign_presinj", + "adsign_alopecia", + "adsign_dryskin", + "adsign_oralulcer", + "adsign_mastitis", + "adsign_bacsi", + "adsign_respdistress", + "adsign_chestindrw", + "adsign_tachypnoea", + "adsign_apnoea", + "adsign_rhinitis", + "adsign_phary", + "adsign_pharery", + "adsign_pharexu", + "adsign_tonsil", + "adsign_plueeff", + "adsign_tachycardia", + "adsign_arrhythmia", + "adsign_cyan", + "adsign_ascites", + "adsign_hepatomegally", + "adsign_splenomegaly", + "adsign_tenabd", + "adsign_jaund", + "adsign_feed", + "adsign_feed_npo", + "adsign_melaena", + "adsign_haematochezia", + "adsign_rectalbleed", + "adsign_lowurine", + "adsign_anaemia", + "adsign_neckstiff", + "adsign_hemiplegia", + "adsign_cogimpair", + "adsign_neurodist", + "adsign_speechdist", + "adsign_agitation", + "adsign_cerebesig", + "adsign_neurologic", + "adsign_retroorbit", + "adsign_conjunhemor", + "adsign_conjunctiv", + "adsign_keratitis", + "adsign_newvision", + "adsign_sunkeyes", + "adsign_ocularoth", + "adsign_nasalflar", + "adsign_grunt", + "adsign_ftt", + "adsign_hypotonia", + "adsign_bulgefont", + "preg_pregnant", + "preg_postpartum", + "preg_recent1", + "pregdet_labour", + "preg_bbtest", + "infa_outcome", + "infa_aprvac", + "vital_o2supp", + "vital_capillaryr", + "sympt_fever", + "sympt_rigchill", + "sympt_nightsweat", + "sympt_coldtsweat", + "sympt_excesssweat", + "sympt_fatigue", + "sympt_restlessne", + "sympt_weak", + "sympt_weight", + "sympt_anosmia", + "sympt_ageusia", + "sympt_dizzy", + "sympt_myalgia", + "sympt_jointswell", + "sympt_jointtender", + "sympt_stissueswell", + "sympt_arthralgia", + "sympt_neurpain", + "sympt_dn4_pain", + "sympt_cramps", + "sympt_skinrash", + "sympt_paresthesia", + "sympt_skinchange", + "sympt_skinpallor", + "sympt_pruritus", + "sympt_mobilchg", + "sympt_sleepmore", + "sympt_polydipsia", + "sympt_irregmenstruation", + "sympt_backpain", + "sympt_neckpain", + "sympt_cough", + "sympt_coryza", + "sympt_sorethroat", + "sympt_rhinorrhoe", + "sympt_wheezing", + "sympt_shortbreat", + "sympt_nasalcongestion", + "sympt_chestpain", + "sympt_sneez", + "sympt_hiccups", + "sympt_palpitations", + "sympt_abdpain", + "sympt_diarrhoea", + "sympt_consti", + "sympt_vomit", + "sympt_vomit2d", + "sympt_vomitbld", + "sympt_nausea", + "sympt_anorexia", + "sympt_exsal", + "sympt_diffswallow", + "sympt_faecalincont", + "sympt_urine", + "sympt_urineincont", + "sympt_polyuria", + "sympt_dysuria", + "sympt_dyspareunia", + "sympt_haemorrhag", + "sympt_haemorrhag_sev", + "sympt_headache", + "sympt_focdef", + "sympt_photoph", + "sympt_seizconv", + "sympt_confusion", + "sympt_paralysis", + "sympt_irritable", + "sympt_tremor", + "sympt_diffwalk", + "sympt_perschang", + "sympt_abnmov", + "sympt_neurologic", + "sympt_itchyeye", + "sympt_redeye", + "sympt_paineyes", + "sympt_eyelidedema", + "sympt_eyedischarg", + "sympt_hazyvision", + "sympt_eyelightsensi", + "sympt_visdist", + "sympt_ocularoth", + "sympt_earpain", + "sympt_tinnitus", + "sympt_parot", + "sympt_contcry", + "sympt_feedingdiff", + "sign_hypotherm", + "sign_coldperiph", + "sign_dehyrdation", + "sign_oedema", + "sign_lowurine", + "sign_bruise", + "sign_alopecia", + "sign_dryskin", + "sign_oralulcer", + "sign_presinj", + "sign_mastitis", + "sign_bacsi", + "sign_respdistress", + "sign_chestindrw", + "sign_tachypnoea", + "sign_apnoea", + "sign_rhinitis", + "sign_phary", + "sign_pharery", + "sign_pharexu", + "sign_tonsil", + "sign_plueeff", + "sign_tachycardia", + "sign_arrhythmia", + "sign_cyan", + "sign_ascites", + "sign_hepatomegally", + "sign_splenomegaly", + "sign_tenabd", + "sign_jaund", + "sign_melaena", + "sign_haematochezia", + "sign_rectalbleed", + "sign_feed", + "sign_feed_npo", + "sign_anaemia", + "sign_sedated", + "sign_focalneuro", + "sign_seizures", + "sign_raiseicp", + "sign_encephalopathy", + "sign_neckstiff", + "sign_retroorbit", + "sign_hemiplegia", + "sign_cogimpair", + "sign_neurodist", + "sign_speechdist", + "sign_staepil", + "sign_agitation", + "sign_cerebesig", + "sign_neurologic", + "sign_conjunhemor", + "sign_conjunctiv", + "sign_keratitis", + "sign_newvision", + "sign_sunkeyes", + "sign_ocularoth", + "sign_nasalflar", + "sign_grunt", + "sign_ftt", + "sign_hypotonia", + "sign_bulgefont", + "lesion_res", + "lesion_orophar", + "lesion_oropharles", + "lesion_head", + "lesion_ocular", + "lesion_torso", + "lesion_arms", + "lesion_legs", + "lesion_palm", + "lesion_sole", + "lesion_genit", + "lesion_peri", + "lesion_mouth", + "lesion_vagin", + "lesion_rectum", + "lesion_anorec", + "lesion_penis", + "lesion_othsite", + "lesion_24hr", + "lesion_slpain", + "lesion_mlpain", + "treat_fluid", + "treat_fluid_oral", + "treat_fluid_parent", + "treat_blood", + "treat_intravenim", + "treat_plasmapher", + "treat_antibiotic", + "treat_steroids", + "treat_other", + "treat_o2supp", + "treat_nasalprongs", + "treat_facemask", + "treat_hfno", + "treat_niv", + "treat_imv", + "treat_ecmo", + "treat_prone", + "treat_o2supp_oth", + "critd_critcare", + "critd_icu", + "critd_neuromusc", + "critd_nitricoxide", + "critd_tracheostmy", + "critd_rtt", + "critd_vasopress", + "critd_vasopress1", + "critd_vasopress2", + "critd_vasopress3", + "critd_critcareunlst", + "lab_csf_gram", + "imagi_xray", + "imagi_xray_pleueff", + "imagi_ctchest", + "imagi_ctchest_pleueff", + "imagi_ctbrain", + "imagi_mrib", + "imagi_eeg", + "imagi_ultrasound", + "imagi_ultrasound_asc", + "imagi_ultrasound_consoli", + "imagi_ultrasound_pleff", + "imagi_ultrasound_peric", + "imagi_ultrasound_unlisted", + "medi_offlab", + "medi_investig", + "compl_strokecva", + "compl_severeneuro", + "compl_encephalopathy", + "compl_seizure", + "compl_focalneuro", + "compl_encephalitis", + "compl_meningitis", + "compl_hearloss", + "compl_gbs", + "compl_cnsinf", + "compl_atm", + "compl_afm", + "compl_perneur", + "compl_adem", + "compl_refstatus", + "compl_newseiz_persist", + "compl_raised_icp", + "compl_cerebral_edema", + "compl_hydrocephalus", + "compl_intracranial_hem", + "compl_brain_herniation", + "compl_coma_persistent", + "compl_focal_persist", + "compl_movement_disorder", + "compl_myocardial", + "compl_cardiacisc", + "compl_endocardit", + "compl_cardiomyop", + "compl_chf", + "compl_cardiarrhy", + "compl_cardiarrest", + "compl_myocarditis", + "compl_pericarditis", + "compl_pneum", + "compl_pneumothor", + "compl_pleuraleff", + "compl_copneumoni", + "compl_bronchioli", + "compl_ards", + "compl_ascite", + "compl_pancreatit", + "compl_acutehepat", + "compl_severeliver", + "compl_hepaticenc", + "compl_jaundice", + "compl_liverdysfu", + "compl_thrombemb", + "compl_thrombemb_pe", + "compl_thrombemb_dvt", + "compl_thrombemb_oth", + "compl_severebleed", + "compl_anaemia", + "compl_coagulatio", + "compl_acuterenal", + "compl_uti", + "compl_urineret", + "compl_ent", + "compl_deepneck", + "compl_rhabdomyol", + "compl_myositis", + "compl_cellulitis", + "compl_skabscess", + "compl_eschar", + "compl_scar", + "compl_nec", + "compl_eyeinf", + "compl_cornealsubepi", + "compl_cornealstroma", + "compl_bacteraemi", + "compl_hyperglyce", + "compl_hypoglycem", + "compl_shock", + "compl_reshock", + "compl_sepsis", + "compl_hypothermia", + "compl_ndiab", + "compl_plarthalgia", + "inter_ivfluid", + "inter_enteralfeed", + "inter_bpt", + "inter_ivimmunogl", + "inter_diuretics", + "inter_nacetylcys", + "inter_fluiddrain", + "inter_plasmaex", + "inter_icp", + "inter_vteproph", + "inter_stressulcer", + "inter_osmotherapy", + "inter_isolation", + "inter_surg", + "inter_surg_sec", + "inter_other", + "inter_suppleo2", + "inter_suppleo2_ongoing", + "inter_nasalprongs", + "inter_nasalprongs_ongoing", + "inter_facemask", + "inter_facemask_ongoing", + "inter_hfno", + "inter_hfno_ongoing", + "inter_nivent", + "inter_nivent_ongoing", + "inter_invent", + "inter_invent_ongoing", + "inter_hypervent", + "inter_ecmo", + "inter_ecmo_ongoing", + "inter_prone", + "inter_prone_awake", + "inter_othersuppleo2", + "crito_critcare", + "crito_icu", + "crito_icu_ongoing", + "crito_icu_readm", + "crito_neuromuscu", + "crito_neurosed", + "crito_barbcoma", + "crito_nitricoxid", + "crito_tracheosto", + "crito_rtt", + "crito_rtt_ongoing", + "crito_inotropesv", + "crito_inotropesv_ongoing", + "crito_critcareunlst", + "diagn_additional", + "diagn_additional2", + "diagn_dengueclass_dss", + "diagn_dengueclass_sevbl", + "diagn_dengueclass_sevorgimp", + "outco_oxyth", + "outco_carerel", + "outco_carenonrel", + "outco_carefordif", + "outco_transfersite", + "outco_ceiling", + "pregdet_medirep", + "preg_comor", + "preg_diabetes", + "preg_obesity", + "preg_hypertension", + "preg_sicklecell", + "preg_renal", + "preg_immsup", + "preg_immcom", + "preg_othcomor", + "preg_substance", + "pregcomp_mat", + "pregcomp_preecl", + "pregcomp_ecl", + "pregcomp_hellp", + "pregcomp_gdm", + "pregcomp_pih", + "pregcomp_utbleed", + "pregcomp_malaria", + "pregcomp_oth", + "pregcomp_placfetab", + "pregcomp_lowaf", + "pregcomp_highaf", + "pregcomp_pprevia", + "pregcomp_plowlying", + "pregcomp_pinsuff", + "pregcomp_iugr", + "pregcomp_othpyn", + "pregmed_immunosup", + "pregmed_otheryn", + "pregtest_yn", + "pregout_bbtest", + "pregout_matdeath", + "pregout_nbornincl", + "nborn_resusc", + "nborn_compyn", + "nborn_death", + "nborn_birthdefectyn", + "nborn_lesion", + "nborn_sympt", + "nborn_fever", + "nborn_cough", + "nborn_wheezing", + "nborn_rhinorrhoe", + "nborn_respdistress", + "nborn_tachypnoea", + "nborn_nasalflar", + "nborn_grunt", + "nborn_apnoea", + "nborn_nasalcongestion", + "nborn_vomit", + "nborn_diarrhoea", + "nborn_consti", + "nborn_lowurine", + "nborn_jaund", + "nborn_skinpallor", + "nborn_ftt", + "nborn_hypotonia", + "nborn_bulgefont", + "nborn_hypotherm", + "nborn_feedingdiff", + "nborn_hepatomegally", + "nborn_anaemia", + "nborn_seizconv", + "nborn_keratitis", + "nborn_conjunctiv", + "nborn_ocularother", + "nborn_haemorrhag", + "nborn_other", + "nborn_conginfectyn", + "nborn_breastfed", + "nborn_labtestyn", + "nborn_motherincl", + "follow_skindamage", + "follow_seque", + "follow_barthel", + "withd_active", + "withd_datacoll", + "withd_datasample" + ] + }, + "value": { + "type": "string", + "enum": [ + "Yes", + "No", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "inclu_consent" + }, + "value": { + "type": "string", + "enum": [ + "Yes", + "No, participant did not agree to participate in the study", + "No, the ethics committee approved a waiver of consent", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "medi_route_infusion", + "medi_medongoing", + "medi_adverse", + "photo_sampleyn", + "compl_pneum_etio" + ] + }, + "value": { + "type": "string", + "enum": [ + "Yes", + "No", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "imagi_xray_newinfilt", + "imagi_ctchest_infiltra" + ] + }, + "value": { + "type": "string", + "enum": [ + "Yes, bilateral", + "Yes, unilateral", + "No", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "nborn_nicu" + }, + "value": { + "type": "string", + "enum": [ + "Yes, related to pathogen of interest", + "Yes, not related to pathogen of interest", + "No, due to non-availability of NICUs", + "No", + "Not applicable", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "medic_firstadm", + "medic_previnf2_adm", + "medic_previnf3_adm" + ] + }, + "value": { + "type": "string", + "enum": [ + "Yes-admitted to hospital or ICU", + "No", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "preg_brefed", + "infa_brefed" + ] + }, + "value": { + "type": "string", + "enum": [ + "Yes-currently breastfeeding", + "Yes-breastfeeding discontinued", + "No", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "imagi_ecg" + }, + "value": { + "type": "string", + "enum": [ + "Yes-normal", + "Yes-abnormal", + "No", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "adsign_lymph", + "nborn_lymph" + ] + }, + "value": { + "type": "string", + "enum": [ + "Yes-painful", + "Yes-not painful", + "No", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "sign_lymph", + "sign_lymph_pain" + ] + }, + "value": { + "type": "string", + "enum": [ + "Yes", + "No", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "diagn_ebola_type" + }, + "value": { + "type": "string", + "enum": [ + "Zaire ebolavirus (ZEBOV)", + "Sudan ebolavirus (SUDV)", + "Reston ebolavirus (RESTV)", + "Ta\u00c3\u00af Forest ebolavirus (TAFV)", + "Bundibugyo ebolavirus (BDBV)", + "Other", + "Unknown" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "vacci_ebola_type" + }, + "value": { + "type": "string", + "enum": [ + "rVSV-ZEBOV (Ervebo)", + "Ad26.ZEBOV (Zabdeno)", + "MVA-BN-Filo (Mvabea)", + "Unknown", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "adsign_bacsi_spec", + "sign_bacsi_spec" + ] + }, + "value": { + "type": "string", + "enum": [ + "Deep tissue abscess", + "Folliculitis / cellulitis", + "Pneumonia", + "Gastroenteritis", + "CNS", + "Bacteraemia", + "Urinary tract", + "Other" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "comor_unlisted" + }, + "value": { + "type": "string", + "enum": [ + "Acute-on-chronic renal failure", + "Asplenia", + "Atrial Fibrillation", + "Autoimmune Disease", + "Blood coagulation disorder", + "Cardiomyopathy", + "Cerebrovascular Disease", + "Chronic Haematological Disease", + "Chronic Infection", + "Chronic Kidney Disease", + "Chronic Viral Hepatitis", + "Chronic heart disease", + "Chronic inflammatory disorder", + "Chronic lung disease", + "Chronic metabolic disorder", + "Congenital Heart Disease", + "Congestive Heart Failure", + "Dementia", + "Diabetes Mellitus (all types)", + "Disease of liver", + "Disorder of lipid metabolism", + "Disorder of pulmonary circulation", + "Essential hypertension", + "Heart valve disorder", + "Hemiplegia", + "Human immunodeficiency virus [HIV] disease", + "Hyperthyroidism", + "Hypothyroidism", + "Immunosuppression", + "Ischaemic Heart Disease", + "Leukemia", + "Malignant lymphoma", + "Metastatic carcinoid tumor Cancer", + "Moderate or Severe Liver Disease", + "Moderate or Severe Renal Disease", + "Multiple Myeloma", + "Myocardial Infarction", + "Neurodegenerative Disorders", + "Neurological disorder confirmed", + "Obesity", + "Paraplegia", + "Peripheral Vascular Disease", + "Primary malignant neoplasm", + "Psychoactive substance use disorder", + "Rare Diseases and Inborn Errors of Metabolism", + "Reactive psychoses", + "Recurrent deep vein thrombosis", + "Rheumatoid Disorders", + "Smoking", + "Solid tumor configuration", + "Stroke", + "Transplant present", + "Tuberculosis", + "Undifferentiated connective tissue disease", + "Osteoarthritis", + "Rheumatoid arthritis", + "Multiple sclerosis", + "Alzheimer's disease" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "compl_unlisted" + }, + "value": { + "type": "string", + "enum": [ + "Acute Respiratory Distress Syndrome (ARDS)", + "Bacteremia", + "Myocardial Infarction", + "Neurological finding", + "Pneumonia", + "Pulmonary Embolism", + "Septic Shock", + "Acquired coagulation disorder", + "Acute renal failure syndrome", + "Bleeding", + "Cardiac Arrest", + "Cardioembolic stroke", + "Cardiogenic Shock", + "Cerebellar stroke", + "Decompensation", + "Deep venous thrombosis", + "Disseminated Intravascular Coagulation (DIC)", + "Empyema", + "Encephalitis", + "Haemorrhagic stroke", + "Hospital acquired pneumonia", + "Ischemic encephalopathy", + "Ischemic stroke", + "Large liver", + "Meningitis", + "Multisystem inflammatory syndrome in adults", + "Multisystem inflammatory syndrome in children", + "Pneumothorax", + "Recurrent gastrointestinal bleeding", + "Recurrent urinary tract infection", + "Sepsis", + "Thrombotic stroke", + "Transient cerebral ischemia", + "Transient hypotension", + "Ventilator-Associated Pneumonia" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "adsym_haemorrhag_site", + "sympt_haemorrhag_site", + "nborn_haemorrhag_site" + ] + }, + "value": { + "type": "string", + "enum": [ + "Skin", + "Petechiae", + "Nose", + "Gums", + "GI tract", + "Urinary tract", + "Vagina", + "Intracranial", + "Intraspinal", + "Intraocular", + "Retroperitoneal", + "Intra-articular", + "Pericardial", + "Intramuscular (with compartment syndrome)", + "IV catheter site" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "pres_firstsym", + "adsym_unlisted", + "adsign_unlisted", + "sympt_unlisted", + "sign_unlisted" + ] + }, + "value": { + "type": "string", + "enum": [ + "Abdominal pain", + "Abnormal weight loss", + "Alopecia (Nonscarring hair loss)", + "Altered consciousness / Confusion (Disorientation)", + "Anorexia", + "Apnoea", + "Ascites", + "Bleeding (Haemorrhage)", + "Bruising (Spontaneous ecchymoses)", + "Can't feel one side of the body or face (Hemiplegia)", + "Can't fully move or control movement (Paralytic syndrome)", + "Cardiac arrhythmia", + "Changes in menstruation (Irregular menstruation)", + "Changes in skin texture", + "Chest pain", + "Chest pain on breathing", + "Chills (without fever)", + "Cognitive impairment (Unspecified intellectual disabilities)", + "Conjunctivitis", + "Constipation", + "Convulsions", + "Cough", + "Diarrhea", + "Difficulty eating or drinking (Dysphagia)", + "Difficulty in walking", + "Disorders of nose and nasal sinuses", + "Disturbance in attention (Altered mental status)", + "Dizziness/light headedness (Dizziness and giddiness)", + "Dry skin (Xerosis cutis)", + "Ear pain (Otalgia)", + "Erectile dysfunction", + "Fainting / blackouts (Syncope and collapse)", + "Fecal incontinence", + "Feeding difficulty", + "Fever", + "Gastrointestinal bleeding (Gastrointestinal hemorrhage)", + "Headache", + "Hepatomegaly", + "Increased thirst (Polydipsia)", + "Increased urination (polyuria)", + "Irritability", + "Itchy eye", + "Jaundice", + "Joint pain (Arthralgia)", + "Keratitis", + "Limb weakness / paralysis (Monoplegia)", + "Localized edema", + "Loss of appetite (Anorexia)", + "Loss of smell (Anosmia)", + "Loss of taste (Parageusia)", + "Lymphadenitis", + "Malaise and fatigue", + "Mouth ulcers (Recurrent oral aphthae)", + "Mucosal lesion", + "Muscle aches (Myalgia)", + "Muscle weakness", + "Nasal congestion", + "Nausea or vomiting", + "Pain during urination (Dysuria)", + "Pallor", + "Palpitations", + "Paresthesia of skin", + "Problems swallowing or chewing (Dysphagia)", + "Pruritus", + "Rapid heart beat/Pulse (Tachycardia)", + "Rashes or skin lesions", + "Retention of urine", + "Shortness of breath (Dyspnea)", + "Skin lesion", + "Skin rash", + "Sleep disorder", + "Sneezing", + "Sore throat (Pain in throat)", + "Speech disturbances", + "Spontaneous bruising (Spontaneous ecchymoses)", + "Sweating (hyperhidrosis)", + "Swollen lymph nodes (Enlarged lymph nodes)", + "Tinnitus", + "Tremor", + "Urinary incontinence", + "Visual disturbances", + "Wheezing" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "demog_country" + }, + "value": { + "type": "string", + "enum": [ + "Aruba", + "Afghanistan", + "Angola", + "Albania", + "Andorra", + "United Arab Emirates", + "Argentina", + "Armenia", + "American Samoa", + "Antigua and Barbuda", + "Australia", + "Austria", + "Azerbaijan", + "Burundi", + "Belgium", + "Benin", + "Burkina Faso", + "Bangladesh", + "Bulgaria", + "Bahrain", + "Bahamas, The", + "Bosnia and Herzegovina", + "Belarus", + "Belize", + "Bermuda", + "Bolivia", + "Brazil", + "Barbados", + "Brunei Darussalam", + "Bhutan", + "Botswana", + "Central African Republic", + "Canada", + "Switzerland", + "Channel Islands", + "Chile", + "China", + "C\u00f4te d\u2019Ivoire", + "Cameroon", + "Congo, Dem. Rep.", + "Congo, Rep.", + "Colombia", + "Comoros", + "Cabo Verde", + "Costa Rica", + "Cuba", + "Cura\u00e7ao", + "Cayman Islands", + "Cyprus", + "Czechia", + "Germany", + "Djibouti", + "Dominica", + "Denmark", + "Dominican Republic", + "Algeria", + "Ecuador", + "Egypt, Arab Rep.", + "Eritrea", + "Spain", + "Estonia", + "Ethiopia", + "Finland", + "Fiji", + "France", + "Faroe Islands", + "Micronesia, Fed. Sts.", + "Gabon", + "United Kingdom", + "Georgia", + "Ghana", + "Gibraltar", + "Guinea", + "Gambia, The", + "Guinea-Bissau", + "Equatorial Guinea", + "Greece", + "Grenada", + "Greenland", + "Guatemala", + "Guam", + "Guyana", + "Hong Kong SAR, China", + "Honduras", + "Croatia", + "Haiti", + "Hungary", + "Indonesia", + "Isle of Man", + "India", + "Ireland", + "Iran, Islamic Rep.", + "Iraq", + "Iceland", + "Israel", + "Italy", + "Jamaica", + "Jordan", + "Japan", + "Kazakhstan", + "Kenya", + "Kyrgyz Republic", + "Cambodia", + "Kiribati", + "St. Kitts and Nevis", + "Korea, Rep.", + "Kuwait", + "Lao PDR", + "Lebanon", + "Liberia", + "Libya", + "St. Lucia", + "Liechtenstein", + "Sri Lanka", + "Lesotho", + "Lithuania", + "Luxembourg", + "Latvia", + "Macao SAR, China", + "St. Martin (French part)", + "Morocco", + "Monaco", + "Moldova", + "Madagascar", + "Maldives", + "Mexico", + "Marshall Islands", + "North Macedonia", + "Mali", + "Malta", + "Myanmar", + "Montenegro", + "Mongolia", + "Northern Mariana Islands", + "Mozambique", + "Mauritania", + "Mauritius", + "Malawi", + "Malaysia", + "Namibia", + "New Caledonia", + "Niger", + "Nigeria", + "Nicaragua", + "Netherlands", + "Norway", + "Nepal", + "Nauru", + "New Zealand", + "Oman", + "Pakistan", + "Panama", + "Peru", + "Philippines", + "Palau", + "Papua New Guinea", + "Poland", + "Puerto Rico", + "Korea, Dem. People's Rep.", + "Portugal", + "Paraguay", + "West Bank and Gaza", + "French Polynesia", + "Qatar", + "Romania", + "Russian Federation", + "Rwanda", + "Saudi Arabia", + "Sudan", + "Senegal", + "Singapore", + "Solomon Islands", + "Sierra Leone", + "El Salvador", + "San Marino", + "Somalia", + "Serbia", + "South Sudan", + "S\u00e3o Tom\u00e9 and Pr\u00edncipe", + "Suriname", + "Slovak Republic", + "Slovenia", + "Sweden", + "Eswatini", + "Sint Maarten (Dutch part)", + "Seychelles", + "Syrian Arab Republic", + "Turks and Caicos Islands", + "Chad", + "Togo", + "Thailand", + "Tajikistan", + "Turkmenistan", + "Timor-Leste", + "Tonga", + "Trinidad and Tobago", + "Tunisia", + "T\u00fcrkiye", + "Tuvalu", + "Taiwan, China", + "Tanzania", + "Uganda", + "Ukraine", + "Uruguay", + "United States", + "Uzbekistan", + "St. Vincent and the Grenadines", + "Venezuela, RB", + "British Virgin Islands", + "Virgin Islands (U.S.)", + "Vietnam", + "Vanuatu", + "Samoa", + "Kosovo", + "Yemen, Rep.", + "South Africa", + "Zambia", + "Zimbabwe" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "demog_riskoccupa" + }, + "value": { + "type": "string", + "enum": [ + "Abattoir Worker", + "Beef Cattle Farm Worker", + "Dairy Farm Worker", + "Healthcare Worker", + "Live bird market worker", + "Other live animal market worker", + "Poultry Farm Worker", + "Poultry culler", + "Public Transport Worker", + "Sanitation Worker", + "Swine farm worker", + "Veterinarian" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "demog_race" + }, + "value": { + "type": "string", + "enum": [ + "Aboriginal/First Nations/Indigenous", + "Arab", + "Black or African Descent", + "Brown (Mixed/Multiracial, incl. Latin American Pardo)", + "East Asian (incl. Brazilian Yellow/Amarelo)", + "Latin American or Hispanic", + "South Asian", + "South-East Asian", + "West Asian", + "White" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "drug14_antibiotic_type", + "medi_antibioagent" + ] + }, + "value": { + "type": "string", + "enum": [ + "Amikacin", + "Amoxicillin", + "Amoxicillin/Beta-lactamase inhibitor", + "Amphotericin", + "Ampicillin", + "Ampicillin/Beta-lactamase inhibitor", + "Atovaquone", + "Azithromycin", + "Aztreonam", + "Bacampicillin", + "Bacitracin", + "Benzathine phenoxymethylpenicillin", + "Benzylpenicillin", + "Capreomycin", + "Carbenicillin indanyl sodium", + "Caspofungin", + "Cefaclor", + "Cefadroxil", + "Cefalexin", + "Cefamandole", + "Cefazolin", + "Cefdinir", + "Cefditoren", + "Cefepime", + "Cefixime", + "Cefmetazole", + "Cefoperazone", + "Cefotaxime", + "Cefotetan", + "Cefoxitin", + "Cefpodoxime Proxetil", + "Cefprozil", + "Ceftaroline Fosamil", + "Ceftazidime", + "Ceftazidime/beta-lactamase inhibitor", + "Ceftibuten", + "Ceftizoxime", + "Ceftobiprole Medocaril", + "Ceftriaxone", + "Cefuroxime", + "Cephalexin", + "Cephalothin", + "Cephapirin", + "Cephradine", + "Chloramphenicol", + "Cinoxacin", + "Ciprofloxacin", + "Clarithromycin", + "Clindamycin", + "Cloxacillin", + "Colistin", + "Cycloserine", + "Daptomycin", + "Demeclocycline", + "Dicloxacillin", + "Dirithromycin", + "Doripenem", + "Doxycycline", + "Enoxacin", + "Ertapenem", + "Erythromycin", + "Ethambutol", + "Flucloxacillin", + "Fluconazole", + "Fosfomycin", + "Fusidic acid", + "Gatifloxacin", + "Gemifloxacin", + "Gentamicin", + "Grepafloxacin", + "Imipenem/Cilastatin", + "Isoniazid", + "Kanamycin", + "Levofloxacin", + "Lincomycin", + "Linezolid", + "Lomefloxacin", + "Meropenem", + "Methenamine hippurate", + "Methicillin", + "Metronidazole", + "Mezlocillin", + "Minocycline", + "Moxifloxacin", + "Nafcillin", + "Nalidixic Acid", + "Neomycin", + "Netilmicin", + "Nitrofural", + "Nitrofurantoin", + "Norfloxacin", + "Novobiocin", + "Ofloxacin", + "Oxacillin", + "Oxytetracycline", + "Piperacillin", + "Piperacillin/Beta-lactamase inhibitor", + "Pivmecillinam", + "Plazomicin", + "Polymyxin B", + "Procaine benzylpenicillin", + "Pyrazinamide", + "Quinupristin/Dalfopristin", + "Retapamulin", + "Rifampicin", + "Rifapentine", + "Rifaximin", + "Roxithromycin", + "Sparfloxacin", + "Spectinomycin", + "Streptomycin", + "Sulfadiazine", + "Sulfamethoxazole", + "Sulfamethoxazole/Trimethoprim", + "Sulfisoxazole", + "Teicoplanin", + "Telavancin", + "Telithromycin", + "Tetracycline", + "Ticarcillin", + "Ticarcillin/Beta-lactamase inhibitor", + "Tigecycline", + "Tobramycin", + "Trimethoprim", + "Trovafloxacin", + "Vancomycin", + "Voriconazole", + "Xibornol" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "drug14_anticoagul_type", + "medi_anticoaguagent" + ] + }, + "value": { + "type": "string", + "enum": [ + "Acetylsalicylic Acid (Aspirin)", + "Alteplase", + "Apixaban", + "Argatroban", + "Bivalirudin", + "Clopidogrel", + "Dabigatran Etexilate", + "Dalteparin", + "Desirudin", + "Edoxaban", + "Enoxaparin", + "Fondaparinux", + "Heparin", + "Lepirudin", + "Rivaroxaban", + "Streptokinase", + "Ticagrelor", + "Ticlopidine", + "Tinzaparin", + "Urokinase", + "Warfarin" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "medi_antifungagent" + }, + "value": { + "type": "string", + "enum": [ + "Amphotericin B", + "Clotrimazole", + "Econazole", + "Fluconazole", + "Ketoconazole", + "Liposomal amphotericin", + "Miconazole", + "Nystatin", + "Terbinafine" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "drug14_antiviral_type", + "medi_antiviralagent" + ] + }, + "value": { + "type": "string", + "enum": [ + "Aciclovir", + "Amantadine", + "Atazanavir", + "Baloxavir marboxil", + "Brincidofovir", + "Bulevirtide", + "Cidofovir", + "Darunavir", + "Dolutegravir", + "Efavirenz", + "Emtricitabine", + "Famciclovir", + "Favipiravir", + "Fluoxetine", + "Ganciclovir", + "Lamivudine", + "Laninamivir", + "Lopinavir/Ritonavir", + "Molnupiravir", + "Nirmatrelvir/Retonavir (Paxlovid)", + "Oseltamivir (Tamiflu)", + "Penciclovir", + "Peramivir", + "Pleconaril", + "Pocapavir", + "Raltegravir", + "Remdesivir", + "Ribavirin", + "Rimantadine", + "Tecovirimat", + "Tenofovir Disoproxil", + "Tenofovir alafenamide", + "Umifenovir", + "Valaciclovir", + "Valganciclovir", + "Zalcitabine", + "Zanamivir", + "Zidovudine" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "drug14_ivfluid_type", + "treat_fluid_parent_type", + "inter_ivfluid_type" + ] + }, + "value": { + "type": "string", + "enum": [ + "0.18%-0.3% Sodium Chloride + 4% Glucose (Hypotonic saline with dextrose)", + "0.45% Sodium Chloride (Half-normal saline)", + "0.45% normal saline + 4% Glucose (Half-normal saline with dextrose)", + "0.9% Sodium Chloride (Normal Saline)", + "5% Glucose (Dextrose 5% in Water)", + "Albumin", + "Gelatins", + "Lactated Ringers(USP)", + "Plasmalyte", + "Ringers acetate", + "Starches" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "drug14_immunusupp_type", + "medi_immunosupp" + ] + }, + "value": { + "type": "string", + "enum": [ + "Abatacept", + "Adalimumab (Humira)", + "Alemtuzumab", + "Anakinra", + "Azathioprine", + "Basiliximab", + "Belatacept", + "Ciclosporin", + "Etanercept", + "Everolimus", + "Infliximab", + "Leflunomide", + "Mercaptopurine", + "Methotrexate", + "Mycophenolate Mofetil", + "Mycophenolic Acid", + "Natalizumab", + "Nivolumab", + "Rituximab", + "Sarilumab", + "Secukinumab", + "Sirolimus", + "Tacrolimus", + "Thalidomide", + "Tocilizumab", + "Ustekinumab", + "Vedolizumab" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "drug14_steroid_type", + "medi_corticost" + ] + }, + "value": { + "type": "string", + "enum": [ + "Beclomethasone", + "Betamethasone", + "Budesonide", + "Cortisone", + "Dexamethasone", + "Fludrocortisone", + "Fluticasone", + "Hydrocortisone", + "Methylprednisolone", + "Mometasone", + "Prednisolone", + "Prednisone", + "Triamcinolone" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "medi_medtype" + }, + "value": { + "type": "string", + "enum": [ + "Analgesic", + "Antibiotic", + "Anticoagulant", + "Antifungal", + "Antihistamine", + "Antiprotozoal", + "Antipruritic", + "Antiviral", + "Convalescent plasma", + "Corticosteroid", + "Diuretics", + "Immunomodulator", + "Immunosuppressive drugs (non-steroid)", + "Inotropes / vasopressor", + "Intravenous immunoglobulin", + "Topical antibiotic", + "Local anaesthetic", + "Antidepressants and Anxiolytics", + "Antiepileptics", + "Antifibrinolytic", + "Antimalarial" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "drug14_nsaid_type" + }, + "value": { + "type": "string", + "enum": [ + "Acetylsalicylic acid (Aspirin)", + "Celecoxib", + "Diclofenac", + "Etoricoxib", + "Flurbiprofen", + "Ibuprofen", + "Indomethacin", + "Ketoprofen", + "Ketorolac", + "Mefenamic Acid", + "Meloxicam", + "Nabumetone", + "Naproxen", + "Piroxicam", + "Sulindac" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "follow_outcome" + }, + "value": { + "type": "string", + "enum": [ + "All lesions are completely resolved and no serious complications", + "All lesions are no longer active and no serious complications", + "Death", + "Discharged alive - medical grounds", + "Discharged alive - patient's preference", + "Early withdrawal", + "Loss to follow-up", + "No lesions ever developed and no serious complications", + "One or more lesion(s) are active and no serious complications", + "Palliative Care", + "Serious complication and/or re-hospitalisation due to infection with pathogen of interest", + "Still hospitalised", + "Transfer to other facility" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "follow_seque_type" + }, + "value": { + "type": "string", + "enum": [ + "Blindness", + "Cardiovascular Effects", + "Decreased vision", + "Depression", + "Dyspareunia", + "Immunological Consequence", + "Neurological Complications", + "Psychological Impacts", + "Rectal stricture", + "Respiratory Complications", + "Systemic Effects", + "Urethral stricture", + "Vaginal stricture" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "inclu_disease" + }, + "value": { + "type": "string", + "enum": [ + "Adenovirus", + "Andes virus infection (hantavirus)", + "Argentine haemorrhagic fever (Junin virus)", + "Avian influenza A H7N9/ H5N1/ H5N8/ H7N7", + "Bacterial infection", + "Bolivian haemorrhagic fever (Machupo virus)", + "COVID-19 (SARS-CoV-2)", + "Chickenpox (Varicella)", + "Crimean Congo haemorrhagic fever (CCHF)", + "Dengue", + "Ebola virus disease (EVD)", + "Enterovirus", + "Exposure to CBRN agent", + "Exposure to Harmful Energy", + "HSV", + "Hepatitis (general, unspecified)", + "Herpes simplex virus infection (HSV)", + "Human immunodeficiency virus infection (HIV infection)", + "Influenza A H1N1", + "Influenza A H5N1", + "Influenza A H5N8", + "Influenza A H7N7", + "Influenza A H7N9", + "Influenza A virus", + "Influenza B virus", + "Influenza virus", + "Japanese encephalitis", + "Lassa fever", + "Lujo virus disease", + "Marburg virus disease (MVD)", + "Measles", + "Middle East respiratory syndrome (MERS)", + "Mpox", + "Nipah", + "Oropouche", + "Pneumonic plague (Yersinia pestis)", + "Respiratory syncytial virus infection (RSV)", + "Severe Acute paediatric hepatitis", + "Severe acute respiratory syndrome (SARS-not COVID-19)", + "Severe fever with thrombocytopaenia syndrome (SFTS) (Bandavirus disease)", + "Undefined influenza", + "Rift Valley Fever", + "Community acquired pneumonia", + "Hospital acquired pneumonia", + "Influenza like Illness", + "Viral ARI", + "Chikungunya", + "Zika", + "Leptospirosis", + "Encephalitis", + "Meningitis", + "Chapare haemorrhagic fever (CHHF)" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "diagn_primary", + "diagn_secondary", + "diagn_additional_list", + "diagn_additional2_list" + ] + }, + "value": { + "type": "string", + "enum": [ + "Adenovirus", + "Andes virus infection (hantavirus)", + "Argentine haemorrhagic fever (Junin virus)", + "Avian influenza A H7N9/ H5N1/ H5N8/ H7N7", + "Bacterial infection", + "Bolivian haemorrhagic fever (Machupo virus)", + "COVID-19 (SARS-CoV-2)", + "Chickenpox (Varicella)", + "Crimean Congo haemorrhagic fever (CCHF)", + "Dengue", + "Ebola virus disease (EVD)", + "Enterovirus", + "Exposure to CBRN agent", + "Exposure to Harmful Energy", + "Hepatitis", + "Herpes simplex virus infection (HSV)", + "Human immunodeficiency virus infection (HIV infection)", + "Influenza A H1N1", + "Influenza A H5N1", + "Influenza A H5N8", + "Influenza A H7N7", + "Influenza A H7N9", + "Influenza A virus", + "Influenza B virus", + "Influenza virus", + "Japanese encephalitis", + "Lassa fever", + "Lujo virus disease", + "Marburg virus disease (MVD)", + "Measles", + "Middle East respiratory syndrome (MERS)", + "Mpox", + "Nipah", + "Oropouche", + "Pneumonic plague (Yersinia pestis)", + "Respiratory syncytial virus infection (RSV)", + "Severe Acute paediatric hepatitis", + "Severe acute respiratory syndrome (SARS-not COVID-19)", + "Severe fever with thrombocytopaenia syndrome (SFTS) (Bandavirus disease)", + "Undefined influenza", + "Rift Valley Fever", + "Community acquired pneumonia", + "Hospital acquired pneumonia", + "Influenza like Illness", + "Viral ARI", + "Chikungunya", + "Zika", + "Malaria", + "Chapare haemorrhagic fever" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "test_pathtested" + }, + "value": { + "type": "string", + "enum": [ + "Achromobacter", + "Achromobacter xylosoxidans", + "Acinetobacter", + "Acinetobacter anitratus", + "Acinetobacter baumannii", + "Acinetobacter calcoaceticus", + "Acinetobacter calcoaceticus-baumannii complex", + "Acinetobacter johnsonii", + "Acremonium", + "Actinomyces israelii", + "Adenoviridae", + "Aeromonas", + "Aggregatibacter", + "Anaerobic bacteria", + "Ancylostoma duodenale", + "Andes orthohantavirus", + "Arenaviridae", + "Ascaris lumbricoides", + "Aspergillus", + "Aspergillus flavus", + "Aspergillus fumigatus", + "Aspergillus fumigatus complex", + "Aspergillus niger", + "Aspergillus terreus", + "Aspergillus versicolor", + "Astroviridae", + "Avian Influenza A H5N1", + "Avian Influenza A H7N9", + "Bacillus", + "Bacillus anthracis", + "Bacillus cereus", + "Bacteroides fragilis", + "Bacteroides thetaiotaomicron", + "Blastocystis hominis", + "Blastomyces dermatitidis", + "Bocavirus (Genus)", + "Bordetella pertussis", + "Brugia malayi", + "Bunyaviridae (Family)", + "Burkholderia", + "Burkholderia cenocepacia", + "Burkholderia cepacia", + "Burkholderia pseudomallei", + "Caliciviridae (Family)", + "Campylobacter", + "Candida", + "Candida albicans", + "Candida auris", + "Candida dubliniensis", + "Candida glabrata", + "Candida inconspicua", + "Candida orthopsilosis", + "Candida parapsilosis", + "Candida tropicalis", + "Chlamydia", + "Chlamydophila pneumoniae", + "Chryseobacterium indologenes", + "Citrobacter", + "Citrobacter braakii", + "Citrobacter freundii", + "Citrobacter koseri", + "Clavispora lusitaniae", + "Clonorchis sinensis", + "Clostridium botulinum", + "Clostridium difficile", + "Clostridium difficile (toxin positive)", + "Clostridium tetani", + "Coagulase negative Staphylococcus", + "Coccidioides", + "Coccidioides immitis", + "Coliform bacteria", + "Coronaviridae (Family)", + "Corynebacterium", + "Corynebacterium amycolatum", + "Corynebacterium pseudodiphtheriticum", + "Corynebacterium pseudotuberculosis", + "Corynebacterium striatum", + "Corynebacterium ulcerans", + "Corynebacterium xerosis", + "Crimean-Congo Hemorrhagic Fever virus (CCHF)", + "Cryptococcus", + "Cryptococcus gattii", + "Cryptococcus neoformans", + "Cryptosporidium", + "Cryptosporidium hominis", + "Cryptosporidium parvum", + "Curvularia lunata", + "Cyclospora", + "Cyclospora cayetanensis", + "Cytomegalovirus", + "Delftia", + "Delftia acidovorans", + "Deltavirus", + "Dengue virus", + "Dermabacter", + "Diphtheroid", + "Diphyllobothrium latum", + "Dracunculus medinensis", + "Ebola virus", + "Echinococcus granulosus", + "Eggerthella", + "Elizabethkingia", + "Entamoeba", + "Entamoeba dispar", + "Entamoeba histolytica", + "Enteric bacteria", + "Enterobacter", + "Enterobacter aerogenes", + "Enterobacter asburiae", + "Enterobacter bugandensis", + "Enterobacter cloacae", + "Enterobacter cloacae complex", + "Enterobacter hormaechei", + "Enterobacter kobei", + "Enterobacteriaceae", + "Enterobius vermicularis", + "Enterococcus", + "Enterococcus avium", + "Enterococcus faecalis", + "Enterococcus faecium", + "Enterococcus raffinosus", + "Enterovirus (genus Enterovirus)", + "Epidermophyton", + "Escherichia", + "Escherichia coli", + "Exophiala dermatitidis", + "Falciformispora senegalensis (formerly Leptosphaeria senegalensis)", + "Filoviridae (Family)", + "Flaviviridae (Family)", + "Francisella tularensis", + "Fungi", + "Fusarium", + "Fusobacterium nucleatum", + "Genus Marburgvirus", + "Giardia", + "Giardia intestinalis", + "Giardia lamblia", + "Gram-Negative Bacillus", + "Gram-Positive Bacillus", + "Gram-Positive Coccus", + "Granulicatella adiacens", + "Haemophilus", + "Haemophilus ducreyi", + "Haemophilus influenzae", + "Haemophilus parainfluenzae", + "Hafnia alvei", + "Hantavirus", + "Helicobacter pylori", + "Hendra virus", + "Hepadnaviridae", + "Hepatitis A virus", + "Hepatitis B virus", + "Hepatitis C virus", + "Hepatitis D virus", + "Hepatitis E virus", + "Herpesviridae", + "Histoplasma", + "Histoplasma capsulatum", + "Human Herpesvirus 1 (HHV1, Herpes simplex virus 1, HSV1)", + "Human Herpesvirus 2 (HHV2, Herpes Simplex virus 2, HSV2)", + "Human Herpesvirus 3 (Varicella-zoster virus, VZV)", + "Human Herpesvirus 4 (Epstein-Barr virus, EBV)", + "Human Herpesvirus 5 (Cytomegalovirus humanbeta5, hCMV)", + "Human Herpesvirus 6 (Roseola infantum virus)", + "Human Immunodeficiency Virus (HIV)", + "Human Immunodeficiency virus type 1 (HIV-1)", + "Human Immunodeficiency virus type 2 (HIV-2)", + "Human Metapneumovirus (hMPV)", + "Human Parainfluenza virus", + "Human Parainfluenza virus 1", + "Human Parainfluenza virus 2", + "Human Parainfluenza virus 3", + "Human Parainfluenza virus 4", + "Human Parvovirus b19", + "Human Respiratory Syncytial virus (RSV)", + "Human bocavirus", + "Human coronavirus", + "Hymenolepis diminuta", + "Hymenolepis nana", + "Influenza A H1N1", + "Influenza A H5N1", + "Influenza A H5N8", + "Influenza A H7N7", + "Influenza A H7N9", + "Influenza A virus", + "Influenza B virus", + "Influenza virus", + "Isospora belli", + "Japanese encephalitis virus (JEV)", + "Junin virus", + "Klebsiella", + "Klebsiella aerogenes", + "Klebsiella oxytoca", + "Klebsiella pneumoniae", + "Klebsiella pneumoniae, ESBL", + "Klebsiella variicola", + "Lacticaseibacillus rhamnosus", + "Lassa virus", + "Legionella", + "Legionella pneumophila", + "Leishmania", + "Leishmania Viannia", + "Leishmania braziliensis", + "Leishmania braziliensis complex", + "Leishmania donovani complex", + "Leptospira interrogans", + "Lichthiemia", + "Listeria monocytogenes", + "Lomentospora prolificans (Scedosporium prlificans)", + "Lujo virus", + "Lymphocytic choriomeningitis virus (LCMV)", + "MERS-CoV", + "Machupo virus", + "Madurella", + "Malassezia pachydermatis", + "Measles morbillivirus", + "Metapneumovirus", + "Methicillin resistant Staphylococcus aureus (MRSA)", + "Methicillin susceptible Staphylococcus aureus (MSSA)", + "Meyerozyma guilliermondii", + "Micrococcus", + "Micrococcus luteus", + "Microsporidia", + "Microsporum", + "Middle East Respiratory Syndrome Coronavirus", + "Mirabilis", + "Moraxella", + "Moraxella catarrhalis", + "Morganella", + "Morganella morganii", + "Mpox virus", + "Mucor", + "Mumps virus", + "Mycobacterium", + "Mycobacterium leprae", + "Mycobacterium tuberculosis", + "Mycobacterium, non-tuberculosis", + "Mycoplasma agalactiae", + "Mycoplasma pneumoniae", + "Necator americanus", + "Neisseria meningitidis", + "Neotestudina rosatii (Zopfia rosatii)", + "Nipah virus", + "Nocardia asteroides", + "Nocardia brasiliensis", + "Norovirus", + "Onchocerca volvulus", + "Orthomyxoviridae (influenza viruses)", + "Papillomavirus", + "Papoviridae", + "Paracoccidioides", + "Paragonimus westermani", + "Paramyxoviridae", + "Parvoviridae", + "Penicillium", + "Pichia kudriavzeveii", + "Picornaviridae", + "Plasmodium", + "Plasmodium falciparum", + "Plasmodium malariae", + "Plasmodium ovale", + "Plasmodium vivax", + "Pneumocystis", + "Pneumocystis jirovecii", + "Prion diseases", + "Propionibacterium", + "Propionibacterium acnes", + "Proteus", + "Proteus mirabilis", + "Proteus vulgaris", + "Providencia rettgeri", + "Providencia stuartii", + "Pseudomonas", + "Pseudomonas aeruginosa", + "Pseudomonas fluorescens", + "Pseudomonas putida", + "Rabies virus", + "Raoultella", + "Raoultella ornithinolytica", + "Raoultella planticola", + "Respiratory Syncytial Virus (RSV)", + "Retroviridae", + "Rhabdoviridae", + "Rhizomucor", + "Rhizopus", + "Rift Valley fever virus", + "Ross River virus", + "Rotavirus", + "Rubella virus", + "SARS-CoV-2", + "SARS-CoV-2 Beta - B.1.351", + "SARS-CoV-2 Delta - B.1.617.2", + "SARS-CoV-2 Eta - B.1.525", + "SARS-CoV-2 Gamma - P.1", + "SARS-CoV-2 Iota - B.1.526", + "SARS-CoV-2 Kappa - B.1.617.1", + "SARS-CoV-2 Omicron", + "SARS-CoV-2 Omicron - B.1.1.529", + "SARS-CoV-2 Omicron - B.1.1.529.2 BA.2", + "SARS-CoV-2 Omicron - B.1.1.529.5 BA.5", + "SARS-CoV-2 Theta- P.3", + "SARS-CoV-2 Zeta - P.2", + "SARS-CoV-2 Alpha - B.1.1.7", + "SARS-CoV-2 Antigen", + "SARS-CoV-2 IgG Antibody", + "SARS-CoV-2 IgG/IgM Antibody", + "SARS-CoV-2 IgM Antibody", + "Saccharomyces cerevisiae", + "Salmonella", + "Salmonella hirschfeldii", + "Sapovirus", + "Scedosporium", + "Schistosoma", + "Schistosoma guineensis", + "Schistosoma haematobium", + "Schistosoma intercalatum", + "Schistosoma japonicum", + "Schistosoma mansoni", + "Schistosoma mekongi", + "Serratia", + "Serratia liquefaciens", + "Serratia marcescens", + "Serratia ureilytica", + "Severe Acute Respiratory Syndrome Coronavirus 2", + "Severe Acute Respiratory Syndrome-Related Coronavirus", + "SFTS virus", + "Shigella", + "Shigella boydii", + "Shigella dysenteriae", + "Shigella flexneri", + "Shigella sonnei", + "Simplexvirus (Genus)", + "Sphingomonas paucimobilis", + "Sporothrix schenckii", + "Staphylococcus", + "Staphylococcus aureus", + "Staphylococcus capitis", + "Staphylococcus caprae", + "Staphylococcus cohnii", + "Staphylococcus epidermidis", + "Staphylococcus haemolyticus", + "Staphylococcus hominis", + "Staphylococcus hominis hominis", + "Staphylococcus lugdunensis", + "Staphylococcus pettenkoferi", + "Staphylococcus saprophyticus", + "Staphylococcus simulans", + "Staphylococcus warneri", + "Stenotrophomonas", + "Stenotrophomonas maltophilia", + "Streptococcus", + "Streptococcus alpha-hemolytic", + "Streptococcus anginosus", + "Streptococcus anginosus group", + "Streptococcus beta-hemolytic", + "Streptococcus constellatus", + "Streptococcus dysgalactiae", + "Streptococcus gallolyticus", + "Streptococcus intermedius", + "Streptococcus mitis", + "Streptococcus oralis", + "Streptococcus parasanguinis", + "Streptococcus pneumoniae", + "Streptococcus pyogenes", + "Streptococcus salivarius", + "Streptococcus sanguinis", + "Streptococcus viridans", + "Streptococcus viridans group", + "Strongyloides stercoralis", + "Taenia saginata", + "Taenia solium", + "Talaromyces marneffei", + "Togoviridae", + "Toxocara canis", + "Toxoplasma", + "Toxoplasma gondii", + "Trichinella spiralis", + "Trichomonas", + "Trichomonas vaginalis", + "Trichophyton", + "Trichosporon asahii", + "Trichuris trichiura", + "Trypanosoma", + "Trypanosoma brucei gambiense", + "Trypanosoma brucei rhodesiense", + "Trypanosoma cruzi", + "Vancomycin resistant Enterococcus (VRE)", + "Vibrio cholerae", + "Vibrio parahaemolyticus", + "Vibrio vulnificus", + "West Nile virus", + "Wuchereria bancrofti", + "Yeast", + "Yersinia pestis", + "Zika virus", + "Chikungunya virus", + "Oropouche virus", + "Zaire ebolavirus (ZEBOV)", + "Sudan ebolavirus (SUDV)", + "Reston ebolavirus (RESTV)", + "Ta\u00ef Forest ebolavirus (TAFV)", + "Bundibugyo ebolavirus (BDBV)", + "Dengue virus, type 1", + "Dengue virus, type 2", + "Dengue virus, type 3", + "Dengue virus, type 4", + "Tick-borne encephalitis (TBE) virus", + "Yellow fever virus" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "test_genrep_db" + }, + "value": { + "type": "string", + "enum": [ + "DNA Data Bank of Japan (DDBJ)", + "EMBL - European Bioinformatics Institute(EBI)", + "GenBank" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "diagn_pathounlist" + }, + "value": { + "type": "string", + "enum": [ + "Acremonium", + "Adenoviridae", + "Ancylostoma duodenale", + "Andes orthohantavirus", + "Arenaviridae", + "Ascaris lumbricoides", + "Aspergillus", + "Aspergillus flavus", + "Aspergillus fumigatus", + "Aspergillus fumigatus complex", + "Aspergillus niger", + "Aspergillus terreus", + "Aspergillus versicolor", + "Astroviridae", + "Avian Influenza A H5N1", + "Avian Influenza A H7N9", + "Blastocystis hominis", + "Blastomyces dermatitidis", + "Bocavirus (Genus)", + "Brugia malayi", + "Bunyaviridae (Family)", + "Caliciviridae (Family)", + "Candida", + "Candida albicans", + "Candida auris", + "Candida dubliniensis", + "Candida glabrata", + "Candida inconspicua", + "Candida orthopsilosis", + "Candida parapsilosis", + "Candida tropicalis", + "Clavispora lusitaniae", + "Clonorchis sinensis", + "Coccidioides", + "Coccidioides immitis", + "Coronaviridae (Family)", + "Crimean-Congo Hemorrhagic Fever virus (CCHF)", + "Cryptococcus gattii", + "Cryptococcus neoformans", + "Cryptosporidium", + "Cryptosporidium hominis", + "Cryptosporidium parvum", + "Curvularia lunata", + "Cyclospora", + "Cyclospora cayetanensis", + "Cytomegalovirus", + "Deltavirus", + "Dengue virus", + "Diphyllobothrium latum", + "Dracunculus medinensis", + "Ebola virus", + "Echinococcus granulosus", + "Entamoeba", + "Entamoeba dispar", + "Entamoeba histolytica", + "Enterobius vermicularis", + "Enterovirus (genus Enterovirus)", + "Epidermophyton", + "Exophiala dermatitidis", + "Falciformispora senegalensis (formerly Leptosphaeria senegalensis)", + "Filoviridae (Family)", + "Flaviviridae (Family)", + "Fungi", + "Fusarium", + "Genus Marburgvirus", + "Giardia", + "Giardia intestinalis", + "Giardia lamblia", + "Hantavirus", + "Hendra virus", + "Hepadnaviridae", + "Hepatitis A virus", + "Hepatitis B virus", + "Hepatitis C virus", + "Hepatitis D", + "Hepatitis E virus", + "Herpesviridae", + "Histoplasma", + "Histoplasma capsulatum", + "Human Herpesvirus 1 (HHV1, Herpes simplex virus 1, HSV1)", + "Human Herpesvirus 2 (HHV2, Herpes Simplex virus 2, HSV2)", + "Human Herpesvirus 3 (Varicella-zoster virus, VZV)", + "Human Herpesvirus 4 (Epstein-Barr virus, EBV)", + "Human Herpesvirus 5 (Cytomegalovirus humanbeta5, hCMV)", + "Human Herpesvirus 6 (Roseola infantum virus)", + "Human Immunodeficiency Virus (HIV)", + "Human Immunodeficiency virus type 1 (HIV-1)", + "Human Immunodeficiency virus type 2 (HIV-2)", + "Human Metapneumovirus (hMPV)", + "Human Parainfluenza virus", + "Human Parainfluenza virus 1", + "Human Parainfluenza virus 2", + "Human Parainfluenza virus 3", + "Human Parainfluenza virus 4", + "Human Parvovirus b19", + "Human Respiratory Syncytial virus (RSV)", + "Human bocavirus", + "Human coronavirus", + "Hymenolepis diminuta", + "Hymenolepis nana", + "Influenza A subtype H5N8", + "Influenza A suptype H7N7", + "Influenza A virus", + "Influenza A virus subtype H1N1", + "Influenza A virus subtype H5N1", + "Influenza A virus subtype H7N9", + "Influenza B virus", + "Influenza virus", + "Isospora belli", + "Japanese encephalitis virus (JEV)", + "Junin virus", + "Lassa virus", + "Leishmania", + "Leishmania Viannia", + "Leishmania braziliensis", + "Leishmania braziliensis complex", + "Leishmania donovani complex", + "Lichthiemia", + "Lomentospora prolificans (Scedosporium prlificans)", + "Lujo virus", + "Lymphocytic choriomeningitis virus (LCMV)", + "MERS-CoV", + "Machupo virus", + "Madurella", + "Malassezia pachydermatis", + "Measles morbillivirus", + "Metapneumovirus", + "Meyerozyma guilliermondii", + "Microsporidia", + "Microsporum", + "Middle East Respiratory Syndrome Coronavirus", + "Mpox virus", + "Mucor", + "Mumps virus", + "Necator americanus", + "Neotestudina rosatii (Zopfia rosatii)", + "Nipah virus", + "Norovirus", + "Onchocerca volvulus", + "Orthomyxoviridae (influenza viruses)", + "Papillomavirus", + "Papoviridae", + "Paracoccidioides", + "Paragonimus westermani", + "Paramyxoviridae", + "Parvoviridae", + "Penicillium", + "Pichia kudriavzeveii", + "Picornaviridae", + "Plasmodium", + "Plasmodium falciparum", + "Plasmodium malariae", + "Plasmodium ovale", + "Plasmodium vivax", + "Pneumocystis", + "Pneumocystis jirovecii", + "Prion diseases", + "Rabies virus", + "Respiratory Syncytial Virus (RSV)", + "Retroviridae", + "Rhabdoviridae", + "Rhizomucor", + "Rhizopus", + "Rift Valley fever virus", + "Ross River virus", + "Rotavirus", + "Rubella virus", + "SARS-CoV-2", + "SARS-CoV-2 Beta - B.1.351", + "SARS-CoV-2 Delta - B.1.617.2", + "SARS-CoV-2 Eta - B.1.525", + "SARS-CoV-2 Gamma - P.1", + "SARS-CoV-2 Iota - B.1.526", + "SARS-CoV-2 Kappa - B.1.617.1", + "SARS-CoV-2 Omicron", + "SARS-CoV-2 Omicron - B.1.1.529", + "SARS-CoV-2 Omicron - B.1.1.529.2 BA.2", + "SARS-CoV-2 Omicron - B.1.1.529.5 BA.5", + "SARS-CoV-2 Theta- P.3", + "SARS-CoV-2 Zeta - P.2", + "SARS-CoV-2 Alpha - B.1.1.7", + "SARS-CoV-2 Antigen", + "SARS-CoV-2 IgG Antibody", + "SARS-CoV-2 IgG/IgM Antibody", + "SARS-CoV-2 IgM Antibody", + "Saccharomyces cerevisiae", + "Sapovirus", + "Scedosporium", + "Schistosoma", + "Schistosoma guineensis", + "Schistosoma haematobium", + "Schistosoma intercalatum", + "Schistosoma japonicum", + "Schistosoma mansoni", + "Schistosoma mekongi", + "Severe Acute Respiratory Syndrome Coronavirus 2", + "Severe Acute Respiratory Syndrome-Related Coronavirus", + "Severe fever with thrombocytopaenia syndrome (SFTS)", + "Simplexvirus (Genus)", + "Sporothrix schenckii", + "Strongyloides stercoralis", + "Taenia saginata", + "Taenia solium", + "Talaromyces marneffei", + "Togoviridae", + "Toxocara canis", + "Toxoplasma", + "Toxoplasma gondii", + "Trichinella spiralis", + "Trichomonas", + "Trichomonas vaginalis", + "Trichophyton", + "Trichosporon asahii", + "Trichuris trichiura", + "Trypanosoma", + "Trypanosoma brucei gambiense", + "Trypanosoma brucei rhodesiense", + "Trypanosoma cruzi", + "West Nile virus", + "Wuchereria bancrofti", + "Yeast", + "Zika virus" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "test_biospecimentype" + }, + "value": { + "type": "string", + "enum": [ + "Amniotic fluid", + "BAL (Bronchoalveolar Lavage)", + "Blood", + "Breast milk", + "Buccal swab", + "CSF (Cerebrospinal Fluid)", + "Combined nasal/NP + throat swab", + "ETA (Endotracheal aspirate)", + "Eye swab", + "Faeces/rectal swab", + "Lesion/crust (skin) swab", + "Nasal/NP swab", + "Neonate-blood", + "Semen", + "Sputum", + "Stool sample", + "Throat swab", + "Urethral swab", + "Urine", + "Vaginal swab" + ] + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_baseexcess" + }, + "value_num": { + "type": "number", + "minimum": -9.0, + "maximum": 20.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "const": "vital_rass" + }, + "value_num": { + "type": "number", + "minimum": -5.0, + "maximum": 4.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "adsym_jointstiff_scal", + "lesion_slpain_score", + "lesion_mlpain_score", + "labs_aptr", + "labs_potassium" + ] + }, + "value_num": { + "type": "number", + "minimum": 0.0, + "maximum": 10.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "vital_spo2room", + "vital_o2supp_spo2", + "labs_prothrombin", + "labs_hba1c", + "inter_bpt_rbc", + "inter_bpt_fibrin", + "joint_vas" + ] + }, + "value_num": { + "type": "number", + "minimum": 0.0, + "maximum": 100.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "treat_fluid_colloid", + "labs_creatineki" + ] + }, + "value_num": { + "type": "number", + "minimum": 0.0, + "maximum": 10000.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "labs_csf_mm3", + "labs_csf_wbc" + ] + }, + "value_num": { + "type": "number", + "minimum": 0.0, + "maximum": 100000.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_csf_rbc" + }, + "value_num": { + "type": "number", + "minimum": 0.0, + "maximum": 1000000.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "const": "vital_rr" + }, + "value_num": { + "type": "number", + "minimum": 0.0, + "maximum": 120.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_ggt" + }, + "value_num": { + "type": "number", + "minimum": 0.0, + "maximum": 1220.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_ph" + }, + "value_num": { + "type": "number", + "minimum": 0.0, + "maximum": 14.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_ldh" + }, + "value_num": { + "type": "number", + "minimum": 0.0, + "maximum": 14000.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_tqinr" + }, + "value_num": { + "type": "number", + "minimum": 0.0, + "maximum": 15.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_erymeancorvol" + }, + "value_num": { + "type": "number", + "minimum": 0.0, + "maximum": 150.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_glomerular" + }, + "value_num": { + "type": "number", + "minimum": 0.0, + "maximum": 180.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_csf_glu" + }, + "value_num": { + "type": "number", + "minimum": 0.0, + "maximum": 1801.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "imagi_ultrasound_plefr", + "imagi_ultrasound_plefl", + "imagi_gallbladder" + ] + }, + "value_num": { + "type": "number", + "minimum": 0.0, + "maximum": 20.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "vital_diastolicbp", + "vital_meanbp", + "labs_esr", + "inter_bpt_plate", + "inter_bpt_cryo", + "inter_bpt_ffp", + "inter_bpt_rcc" + ] + }, + "value_num": { + "type": "number", + "minimum": 0.0, + "maximum": 200.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "labs_amylase", + "labs_lipase", + "labs_csf_pro" + ] + }, + "value_num": { + "type": "number", + "minimum": 0.0, + "maximum": 2000.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "vital_urineflow", + "labs_altsgpt", + "labs_astsgot" + ] + }, + "value_num": { + "type": "number", + "minimum": 0.0, + "maximum": 20000.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_il6" + }, + "value_num": { + "type": "number", + "minimum": 0.0, + "maximum": 2526.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "const": "infa_brefedduration" + }, + "value_num": { + "type": "number", + "minimum": 0.0, + "maximum": 260.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "vital_hr", + "vital_systolicbp" + ] + }, + "value_num": { + "type": "number", + "minimum": 0.0, + "maximum": 299.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "const": "imagi_liversize" + }, + "value_num": { + "type": "number", + "minimum": 0.0, + "maximum": 30.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "labs_wbccount", + "labs_aptt", + "labs_sodium" + ] + }, + "value_num": { + "type": "number", + "minimum": 0.0, + "maximum": 300.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "const": "drug14_ivfluid_vol" + }, + "value_num": { + "type": "number", + "minimum": 0.0, + "maximum": 3000.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "const": "treat_fluid_cryst" + }, + "value_num": { + "type": "number", + "minimum": 0.0, + "maximum": 30000.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "preg_geswek", + "preg_bboutc_gesweek", + "labs_erymeancorhe" + ] + }, + "value_num": { + "type": "number", + "minimum": 0.0, + "maximum": 45.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "const": "imagi_ultrasound_perics" + }, + "value_num": { + "type": "number", + "minimum": 0.0, + "maximum": 5.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_hco3" + }, + "value_num": { + "type": "number", + "minimum": 0.0, + "maximum": 50.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_csf_pres" + }, + "value_num": { + "type": "number", + "minimum": 0.0, + "maximum": 500.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_alp" + }, + "value_num": { + "type": "number", + "minimum": 0.0, + "maximum": 5000.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "const": "labs_ferritin" + }, + "value_num": { + "type": "number", + "minimum": 0.0, + "maximum": 50000.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "drug14_antiviralday", + "drug14_steroid_day", + "drug14_steroid_dose", + "vacci_marburg_doses", + "vacci_ebola_doses", + "vacci_lassa_doses", + "vacci_crimean_doses", + "vacci_vhf_doses", + "adsym_jointstiff_dur", + "preg_brefedduration", + "medi_numdays", + "medi_numdoses", + "inter_ivfluid_cryst", + "inter_ivfluid_colloid", + "inter_plasmaex_days", + "inter_suppleo2_dur", + "inter_nasalprongs_dur", + "inter_facemask_dur", + "inter_hfno_dur", + "inter_nivent_dur", + "inter_invent_dur", + "inter_ecmo_dur", + "crito_icu_dur", + "crito_icu_findur", + "crito_neurosed_dur", + "crito_barbcoma_dur", + "crito_rtt_dur", + "pregdet_parity", + "pregdet_gravidity", + "pregdet_prevcs", + "pregdet_fetnum", + "pregout_matdeath_age", + "nborn_ga", + "nborn_hospdur", + "nborn_birthdefectnum", + "nborn_lesion_age", + "nborn_pcrct" + ] + }, + "value_num": { + "type": "number", + "minimum": 0.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "adsym_myalgia_scal", + "adsym_arthralgia_scal", + "sympt_myalgia_scal", + "sympt_arthralgia_scal", + "nborn_apgar" + ] + }, + "value_num": { + "type": "number", + "minimum": 1.0, + "maximum": 10.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "const": "comor_aids_cd4count" + }, + "value_num": { + "type": "number", + "minimum": 1.0, + "maximum": 10000.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "adsym_arthralgia_site_foot", + "adsym_jointswell_site_foot", + "sympt_jointswell_site_foot", + "sympt_jointtender_site_foot" + ] + }, + "value_num": { + "type": "number", + "minimum": 1.0, + "maximum": 14.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "adsym_arthralgia_hand_num", + "adsym_jointswell_hand_num", + "sympt_jointswell_hand_num", + "sympt_jointtender_hand_num" + ] + }, + "value_num": { + "type": "number", + "minimum": 1.0, + "maximum": 20.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "const": "vacci_mpox_number" + }, + "value_num": { + "type": "number", + "minimum": 1.0, + "maximum": 4.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "const": "readm_prev_num" + }, + "value_num": { + "type": "number", + "minimum": 1.0, + "maximum": 50.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "const": "comor_aids_vrlno" + }, + "value_num": { + "type": "number", + "minimum": 1.0, + "maximum": 5000000.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "adsym_diarrhoea_num", + "sympt_diarrhoea_num" + ] + }, + "value_num": { + "type": "number", + "minimum": 1.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "const": "vital_gcs" + }, + "value_num": { + "type": "number", + "minimum": 3.0, + "maximum": 15.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "const": "test_ctvalue" + }, + "value_num": { + "type": "number", + "minimum": 10.0, + "maximum": 50.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "const": "vacci_spox80_year" + }, + "value_num": { + "type": "number", + "maximum": 1980.0 + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "demog_calcage_days", + "comor_malnut_muac", + "drug14_immunusupp_days", + "drug14_nsaid_dose", + "drug14_nsaid_dur", + "drug14_fluid_oralvol", + "drug14_blood_plate", + "drug14_blood_cryo", + "drug14_blood_whole", + "drug14_blood_plasma", + "drug14_blood_fibrin", + "drug14_blood_rcc", + "adsym_fever_days", + "adsym_fever_resol", + "adsym_headache_days", + "vital_calcgcs", + "sympt_neurpain_scal", + "sympt_dn4_score", + "lab_csf_lactate", + "imagi_ctbrain_shift", + "test_vload", + "test_marker_quantvalue", + "inter_icp_peak", + "inter_icp_duration", + "inter_paco2", + "crito_neuromuscu_dur", + "joint_tjt_calc28", + "joint_tjt_calc30", + "joint_sjt_calc28", + "joint_crp", + "joint_calc_das28", + "joint_calc_chikdas", + "pregcomp_preecl_week", + "pregcomp_ecl_week", + "pregcomp_hellp_week", + "pregcomp_gdm_week", + "pregcomp_pih_week", + "pregcomp_utbleed_week", + "pregcomp_malaria_week", + "pregcomp_lowaf_week", + "pregcomp_highaf_week", + "pregcomp_pprevia_week", + "pregcomp_plowlying_week", + "pregcomp_pinsuff_week", + "pregcomp_iugr_week", + "pregmed_immunosup_num", + "pregmed_othernum", + "pregout_weeks", + "nborn_breastfed_dur" + ] + }, + "value_num": { + "type": "number" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value_num" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "inclu_consent_date", + "pres_onsetdate", + "pres_consultdate", + "pres_enrolmentdate", + "readm_prev_date", + "readm_firstadmdate", + "demog_birthdate", + "expo14_contact_date", + "expo14_ancon_date", + "comor_aids_cd4date", + "comor_aids_vrlnodate", + "medic_neuroproc_date", + "medic_infstartdate", + "medic_infenddate", + "medic_previnf2_startdate", + "medic_previnf2_enddate", + "medic_previnf3_startdate", + "medic_previnf3_enddate", + "drug14_antiviraldate", + "drug14_steroid_date", + "vacci_covid19_date1", + "vacci_covid19_date2", + "vacci_covid19_date3", + "vacci_covid19_lastdate", + "vacci_influenza_date", + "vacci_aviinflu_date", + "vacci_rsv_date", + "vacci_pneumococo_date", + "vacci_dengue_date1", + "vacci_dengue_date2", + "vacci_dengue_date3", + "vacci_dengue_date", + "vacci_chick_date", + "vacci_mpox_date1", + "vacci_mpox_date2", + "vacci_mpox_date3", + "vacci_mpox_date4", + "vacci_yellowfever_date", + "vacci_hepatitisb_date", + "vacci_chickenpox_date", + "vacci_je_date", + "vacci_tickenc_date", + "vacci_rabies_date", + "vacci_marburg_date", + "vacci_ebola_date", + "vacci_lassa_date", + "vacci_crimean_date", + "vacci_vhf_date", + "adsym_skinrash_date", + "preg_delvdate", + "daily_date", + "imagi_xray_date", + "imagi_ctbrain_date", + "imagi_mrib_date", + "imagi_eeg_date", + "imagi_ultrasound_date", + "imagi_ecg_date", + "medi_medstartdate", + "medi_medenddate", + "test_collectiondate", + "photo_date", + "inter_isolation_date", + "inter_surg_date", + "inter_surg_secdate", + "crito_icu_date", + "crito_icu_disdate", + "crito_icu_findate", + "joint_date", + "preg_date", + "pregdet_edd", + "pregdet_lmp", + "nborn_birthdefect1_date", + "nborn_birthdefect2_date", + "nborn_birthdefect3_date", + "follow_date", + "follow_outcome_date", + "withd_date" + ] + }, + "value": { + "type": "string", + "format": "date" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "inter_ivfluid_start", + "inter_ivfluid_end" + ] + }, + "value": { + "type": "string", + "format": "date-time" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "const": "pres_adm_time" + }, + "value": { + "type": "string", + "format": "time" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + }, + { + "properties": { + "attribute": { + "enum": [ + "inclu_testreason_otth", + "pres_adm_reasoth", + "readm_prev_site", + "readm_prev_reastrans_oth", + "readm_prevpin", + "demog_sex_oth", + "demog_gender_oth", + "demog_occupation_oth", + "demog_residence_oth", + "expo14_travel_loc", + "expo14_contact_setting_oth", + "expo14_ancon_wildelife_oth", + "expo14_ancon_other_spec", + "expo14_house_sys_oth", + "comor_aids_arttype", + "comor_rheumatolo_type_oth", + "comor_skincondesc", + "medic_sti_oth", + "medic_headinf_type_oth", + "drug14_steroid_dose_unit", + "drug14_analg_type_oth", + "drug14_ivfluid_reas_oth", + "drug14_herbreas", + "drug14_antimalarial_type_oth", + "drug14_unlisted_type", + "vacci_covid19_type1_oth", + "vacci_covid19_type2_oth", + "vacci_covid19_type3_oth", + "vacci_covid19_lasttype_oth", + "vacci_influenza_type_oth", + "vacci_aviinflu_type_oth", + "vacci_rsv_type_oth", + "vacci_chick_type_oth", + "vacci_mpox_type_oth", + "vacci_mpox_route1_oth", + "vacci_mpox_route2_oth", + "vacci_mpox_route3_oth", + "vacci_mpox_route4_oth", + "vacci_marburg_type", + "vacci_lassa_type", + "vacci_crimean_type", + "vacci_vhf_spec", + "adsym_arthralgia_add_oth", + "adsym_jointswell_add_oth", + "adsym_jointtender_site_oth", + "adsym_skinrash_site_oth", + "adsym_haemorrhag_site_oth", + "adsym_neurologic_spec", + "adsym_ocularoth_spec", + "adsign_oedema_site_oth", + "adsign_lymph_site_oth", + "adsign_bacsi_oth", + "adsign_neurologic_spec", + "adsign_ocularoth_spec", + "sympt_jointswell_add_oth", + "sympt_jointtender_add_oth", + "sympt_dn4_result", + "sympt_dn4_notes", + "sympt_neurologic_spec", + "sympt_ocularoth_spec", + "sign_oedema_site_oth", + "sign_lymph_site_oth", + "sign_bacsi_oth", + "sign_neurologic_spec", + "sign_ocularoth_spec", + "lesion_distoth", + "lesion_head_type_oth", + "lesion_head_num", + "lesion_ocular_type_oth", + "lesion_ocular_num", + "lesion_torso_type_oth", + "lesion_torso_num", + "lesion_arms_type_oth", + "lesion_arms_num", + "lesion_legs_type_oth", + "lesion_legs_num", + "lesion_palm_type_oth", + "lesion_palm_num", + "lesion_sole_oth", + "lesion_sole_num", + "lesion_genit_type_oth", + "lesion_genit_num", + "lesion_peri_type_oth", + "lesion_peri_num", + "lesion_othsite_spec", + "lesion_desc", + "treat_fluid_oralvol", + "treat_blood_plate", + "treat_blood_cryo", + "treat_blood_whole", + "treat_blood_plasma", + "treat_blood_fibrin", + "treat_blood_rcc", + "treat_other_spec", + "treat_niv_type_oth", + "treat_o2supp_oth_spec", + "critd_vasopress_reasoth", + "critd_critcareunlst_oth", + "labs_csf_appoth", + "labs_csf_other_spec", + "imagi_ctbrain_hemoloc", + "imagi_eeg_find", + "imagi_ultrasound_unlistedoth", + "imagi_ecg_spec", + "medi_antifibrinolytic_oth", + "medi_ivig_oth", + "medi_route_oth", + "medi_localanest_other", + "medi_stopreason_oth", + "medi_frequency", + "medi_offlab_spec1", + "medi_investig_type_oth", + "medi_adverse_spec", + "test_naat_other", + "test_genrep_ref", + "photo_site_oth", + "photo_sampleid", + "photo_desc", + "compl_thrombemb_spec", + "compl_severebleed_site_oth", + "compl_urineret_spec", + "compl_cellulitis_site_oth", + "inter_ivfluid_reas_oth", + "inter_ivfluid_venacc_oth", + "inter_surg_type", + "inter_other_spec", + "inter_nivent_typ_oth", + "inter_othersuppleo2_spec", + "crito_inotropesv_dur", + "crito_critcareunlst_oth", + "diagn_mpox_cladeoth", + "diagn_ebola_type_oth", + "diagn_hepatitis_type_oth", + "diagn_bacte", + "joint_nrs", + "outco_transfersite_pin", + "outco_ceiling_descri", + "preg_othcomor_spec", + "pregcomp_othspec", + "pregcomp_othpspec", + "pregmed_immunosup_name", + "pregmed_othername", + "pregmed_antvacc_oth", + "pregtest_desc", + "pregout_bboutc_termreas", + "pregout_matdeath_cause", + "pregout_othdet", + "pregout_nborpin", + "nborn_resuscdet", + "nborn_compoth", + "nborn_deathcause", + "nborn_birthdefect1", + "nborn_birthdefect2", + "nborn_birthdefect3", + "nborn_lesion_site_oth", + "nborn_ocularother_spec", + "nborn_lymph_site_oth", + "nborn_haemorrhag_site_oth", + "nborn_other_spec", + "nborn_imaging_oth", + "nborn_imaging_res_det", + "nborn_conginfectother", + "nborn_specimenother", + "nborn_motherpin", + "follow_outcome_reas", + "follow_skindamage_type_oth", + "withd_reas" + ] + }, + "value": { + "type": "string" + } + }, + "if": { + "properties": { + "attribute_status": { + "const": "VAL" + } + } + }, + "then": { + "required": [ + "value" + ] + } + } + ], + "required": [ + "subjid", + "dataset_id", + "phase", + "attribute", + "attribute_status" + ] +} \ No newline at end of file diff --git a/schemas/global_arc_v1.6.0_parser.toml b/schemas/global_arc_v1.6.0_parser.toml new file mode 100644 index 0000000..8316b34 --- /dev/null +++ b/schemas/global_arc_v1.6.0_parser.toml @@ -0,0 +1,27456 @@ +[adtl] +name = "ARC-isaric" +description = "isaric" + +[adtl.defs.presentation] +phase = "presentation" + +[adtl.defs.presentation.date] +field = "pres_date" + +[adtl.defs.presentation.date.if] +all = [ + { pres_date = { "!=" = "UNK" } }, + { pres_date = { "!=" = "NI" } }, + { pres_date = { "!=" = "NASK" } }, + { pres_date = { "!=" = "NA" } }, + { pres_date = { "!=" = "" } }, +] + +[adtl.defs.daily] +phase = "during_observation" + +[adtl.defs.daily.date] +field = "daily_date" + +[adtl.defs.daily.date.if] +all = [ + { daily_date = { "!=" = "UNK" } }, + { daily_date = { "!=" = "NI" } }, + { daily_date = { "!=" = "NASK" } }, + { daily_date = { "!=" = "NA" } }, + { daily_date = { "!=" = "" } }, +] + +[adtl.defs.medication] +phase = "during_observation" + +[adtl.defs.medication.event_id] +generate = { type = "uuid5", values = [ + "subjid", + "redcap_repeat_instrument", + "redcap_repeat_instance", +] } + +[adtl.defs.medication.date] +field = "medi_medstartdate" + +[adtl.defs.medication.date.if] +all = [ + { medi_medstartdate = { "!=" = "UNK" } }, + { medi_medstartdate = { "!=" = "NI" } }, + { medi_medstartdate = { "!=" = "NASK" } }, + { medi_medstartdate = { "!=" = "NA" } }, + { medi_medstartdate = { "!=" = "" } }, +] + +[adtl.defs.medication.duration] +field = "medi_numdays" + +[adtl.defs.medication.duration.if] +all = [ + { medi_numdays = { "!=" = "UNK" } }, + { medi_numdays = { "!=" = "NI" } }, + { medi_numdays = { "!=" = "NASK" } }, + { medi_numdays = { "!=" = "NA" } }, + { medi_numdays = { "!=" = "" } }, +] + +[adtl.defs.pathogen_testing] +phase = "during_observation" + +[adtl.defs.pathogen_testing.event_id] +generate = { type = "uuid5", values = [ + "subjid", + "redcap_repeat_instrument", + "redcap_repeat_instance", +] } + +[adtl.defs.pathogen_testing.date] +field = "test_collectiondate" + +[adtl.defs.pathogen_testing.date.if] +all = [ + { test_collectiondate = { "!=" = "UNK" } }, + { test_collectiondate = { "!=" = "NI" } }, + { test_collectiondate = { "!=" = "NASK" } }, + { test_collectiondate = { "!=" = "NA" } }, + { test_collectiondate = { "!=" = "" } }, +] + +[adtl.defs.photographs] +phase = "during_observation" + +[adtl.defs.photographs.event_id] +generate = { type = "uuid5", values = [ + "subjid", + "redcap_repeat_instrument", + "redcap_repeat_instance", +] } + +[adtl.defs.photographs.date] +field = "photo_date" + +[adtl.defs.photographs.date.if] +all = [ + { photo_date = { "!=" = "UNK" } }, + { photo_date = { "!=" = "NI" } }, + { photo_date = { "!=" = "NASK" } }, + { photo_date = { "!=" = "NA" } }, + { photo_date = { "!=" = "" } }, +] + +[adtl.defs.outcome] +phase = "outcome" + +[adtl.defs.outcome.date] +field = "outco_date" + +[adtl.defs.outcome.date.if] +all = [ + { outco_date = { "!=" = "UNK" } }, + { outco_date = { "!=" = "NI" } }, + { outco_date = { "!=" = "NASK" } }, + { outco_date = { "!=" = "NA" } }, + { outco_date = { "!=" = "" } }, +] + +[adtl.defs.follow_up] +phase = "follow_up" + +[adtl.defs.follow_up.date] +field = "follow_date" + +[adtl.defs.follow_up.date.if] +all = [ + { follow_date = { "!=" = "UNK" } }, + { follow_date = { "!=" = "NI" } }, + { follow_date = { "!=" = "NASK" } }, + { follow_date = { "!=" = "NA" } }, + { follow_date = { "!=" = "" } }, +] + +[adtl.defs.withdrawal] +phase = "outcome" + +[adtl.defs.withdrawal.date] +field = "withd_date" + +[adtl.defs.withdrawal.date.if] +all = [ + { withd_date = { "!=" = "UNK" } }, + { withd_date = { "!=" = "NI" } }, + { withd_date = { "!=" = "NASK" } }, + { withd_date = { "!=" = "NA" } }, + { withd_date = { "!=" = "" } }, +] + +[adtl.defs.pregnancy] +phase = "presentation" + +[adtl.defs.pregnancy.date] +field = "preg_date" + +[adtl.defs.pregnancy.date.if] +all = [ + { preg_date = { "!=" = "UNK" } }, + { preg_date = { "!=" = "NI" } }, + { preg_date = { "!=" = "NASK" } }, + { preg_date = { "!=" = "NA" } }, + { preg_date = { "!=" = "" } }, +] + +[adtl.defs.neonate] +phase = "presentation" + +[adtl.defs.neonate.date] +field = "preg_date" + +[adtl.defs.neonate.date.if] +all = [ + { preg_date = { "!=" = "UNK" } }, + { preg_date = { "!=" = "NI" } }, + { preg_date = { "!=" = "NASK" } }, + { preg_date = { "!=" = "NA" } }, + { preg_date = { "!=" = "" } }, +] + +[adtl.tables.core] +kind = "groupBy" +groupBy = "subjid" +aggregation = "lastNotNull" +schema = "isaric-core.schema.json" + +[adtl.tables.long] +kind = "oneToMany" +schema = "arc_v1.6.0_isaric_long.schema.json" +discriminator = "attribute" +common = { subjid = { field = "subjid" }, arcver = "v1.6.0", dataset_id = "TODO: FILL THIS IN" } + +[core] +siteid = "TODO: FILL THIS IN" +dataset_id = "TODO: FILL THIS IN" +dataset_disease = "TODO: FILL THIS IN" +demog_country_iso3 = "TODO: FILL THIS IN" + +[core.subjid] +field = "subjid" + +[core.subjid.if] +all = [ + { subjid = { "!=" = "UNK" } }, + { subjid = { "!=" = "NI" } }, + { subjid = { "!=" = "NASK" } }, + { subjid = { "!=" = "NA" } }, + { subjid = { "!=" = "" } }, +] + +[core.demog_sex] +field = "demog_sex" +values = { 1 = "Male", 2 = "Female", 99 = "Not specified/Unknown", 88 = "Other" } + +[core.demog_sex.if] +all = [ + { demog_sex = { "!=" = "UNK" } }, + { demog_sex = { "!=" = "NI" } }, + { demog_sex = { "!=" = "NASK" } }, + { demog_sex = { "!=" = "NA" } }, + { demog_sex = { "!=" = "" } }, +] + +[core.demog_age_days] +combinedType = "firstNonNull" + +[[core.demog_age_days.fields]] +field = "demog_calcage_days" + +[[core.demog_age_days.fields]] +field = "demog_age" +unit = "days" +source_unit = { field = "demog_age_units", values = { 1 = "years", 2 = "months", 3 = "days" } } + +[core.pres_adm] +field = "pres_adm" +values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } + +[core.pres_adm.if] +all = [ + { pres_adm = { "!=" = "UNK" } }, + { pres_adm = { "!=" = "NI" } }, + { pres_adm = { "!=" = "NASK" } }, + { pres_adm = { "!=" = "NA" } }, + { pres_adm = { "!=" = "" } }, +] + +[core.pres_date] +field = "pres_date" + +[core.pres_date.if] +all = [ + { pres_date = { "!=" = "UNK" } }, + { pres_date = { "!=" = "NI" } }, + { pres_date = { "!=" = "NASK" } }, + { pres_date = { "!=" = "NA" } }, + { pres_date = { "!=" = "" } }, +] + +[core.outco_outcome] +combinedType = "firstNonNull" + +[[core.outco_outcome.fields]] +field = "outco_outcome_otherl3" +if = { all = [ + { outco_outcome = 88 }, + { outco_outcome_otherl2 = 88 }, +] } +can_skip = true + +[[core.outco_outcome.fields]] +field = "outco_outcome_otherl2" +if = { outco_outcome = 88 } +can_skip = true + +[core.outco_outcome.fields.values] +7 = "Alive, not admitted" +4 = "Death" +6 = "Discharged against medical advice" +1 = "Discharged alive" +5 = "Palliative care" +2 = "Still hospitalised" +3 = "Transfer to other facility" +8 = "Hospitalized" + +[[core.outco_outcome.fields]] +field = "outco_outcome" + +[core.outco_outcome.fields.values] +7 = "Alive, not admitted" +4 = "Death" +6 = "Discharged against medical advice" +1 = "Discharged alive" +5 = "Palliative care" +2 = "Still hospitalised" +3 = "Transfer to other facility" +8 = "Hospitalized" + +[core.outco_outcome.fields.if] +all = [ + { outco_outcome = { "!=" = "UNK" } }, + { outco_outcome = { "!=" = "NI" } }, + { outco_outcome = { "!=" = "NASK" } }, + { outco_outcome = { "!=" = "NA" } }, + { outco_outcome = { "!=" = "" } }, +] + +[core.outco_date] +field = "outco_date" + +[core.outco_date.if] +all = [ + { outco_date = { "!=" = "UNK" } }, + { outco_date = { "!=" = "NI" } }, + { outco_date = { "!=" = "NASK" } }, + { outco_date = { "!=" = "NA" } }, + { outco_date = { "!=" = "" } }, +] + +[[long]] +attribute = "inclu_disease" +value = { field = "inclu_disease", values = { 7 = "COVID-19 (SARS-CoV-2)", 10 = "Dengue", 33 = "Mpox" } } +attribute_status = { field = "inclu_disease", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "inclu_disease" +attribute_status = { field = "inclu_disease_otherl2", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "inclu_disease_otherl2" +can_skip = true + +[long.value.values] +1 = "Adenovirus" +2 = "Andes virus infection (hantavirus)" +3 = "Argentine haemorrhagic fever (Junin virus)" +4 = "Avian influenza A H7N9/ H5N1/ H5N8/ H7N7" +5 = "Bacterial infection" +6 = "Bolivian haemorrhagic fever (Machupo virus)" +7 = "COVID-19 (SARS-CoV-2)" +8 = "Chickenpox (Varicella)" +9 = "Crimean Congo haemorrhagic fever (CCHF)" +10 = "Dengue" +11 = "Ebola virus disease (EVD)" +12 = "Enterovirus" +13 = "Exposure to CBRN agent" +14 = "Exposure to Harmful Energy" +15 = "HSV" +16 = "Hepatitis (general, unspecified)" +17 = "Herpes simplex virus infection (HSV)" +18 = "Human immunodeficiency virus infection (HIV infection)" +19 = "Influenza A H1N1" +20 = "Influenza A H5N1" +21 = "Influenza A H5N8" +22 = "Influenza A H7N7" +23 = "Influenza A H7N9" +24 = "Influenza A virus" +25 = "Influenza B virus" +26 = "Influenza virus" +27 = "Japanese encephalitis" +28 = "Lassa fever" +29 = "Lujo virus disease" +30 = "Marburg virus disease (MVD)" +31 = "Measles" +32 = "Middle East respiratory syndrome (MERS)" +33 = "Mpox" +34 = "Nipah" +35 = "Oropouche" +36 = "Pneumonic plague (Yersinia pestis)" +37 = "Respiratory syncytial virus infection (RSV)" +38 = "Severe Acute paediatric hepatitis" +39 = "Severe acute respiratory syndrome (SARS-not COVID-19)" +40 = "Severe fever with thrombocytopaenia syndrome (SFTS) (Bandavirus disease)" +41 = "Undefined influenza" +42 = "Rift Valley Fever" +43 = "Community acquired pneumonia" +44 = "Hospital acquired pneumonia" +45 = "Influenza like Illness" +46 = "Viral ARI" +47 = "Chikungunya" +48 = "Zika" +49 = "Leptospirosis" +50 = "Encephalitis" +51 = "Meningitis" +52 = "Chapare haemorrhagic fever (CHHF)" + +[[long]] +attribute = "inclu_disease" +value = { field = "inclu_disease_otherl3", can_skip = true } +attribute_status = { field = "inclu_disease_otherl3", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "inclu_reason" +value = { field = "inclu_reason", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inclu_reason", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "inclu_case" +attribute_status = { field = "inclu_case", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "inclu_case" +values = { 1 = "Confirmed", 2 = "Probable", 3 = "Suspected", 4 = "Discarded", 5 = "Error" } + +[[long]] +attribute = "inclu_testreason" +attribute_status = { field = "inclu_testreason", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "inclu_testreason" + +[long.value.values] +1 = "Symptomatic" +2 = "Asymptomatic, contact-traced" +3 = "Asymptomatic, mass testing campaign" +4 = "Not tested" +99 = "Unknown" +88 = "Other" + +[[long]] +attribute = "inclu_testreason_otth" +attribute_status = { field = "inclu_testreason_otth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "inclu_testreason_otth" + +[long.value.if] +all = [ + { inclu_testreason_otth = { "!=" = "UNK" } }, + { inclu_testreason_otth = { "!=" = "NI" } }, + { inclu_testreason_otth = { "!=" = "NASK" } }, + { inclu_testreason_otth = { "!=" = "NA" } }, + { inclu_testreason_otth = { "!=" = "" } }, +] + +[[long]] +attribute = "inclu_consent" +attribute_status = { field = "inclu_consent", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "inclu_consent" + +[long.value.values] +1 = "Yes" +0 = "No, participant did not agree to participate in the study" +2 = "No, the ethics committee approved a waiver of consent" +99 = "Unknown" + +[[long]] +attribute = "inclu_consent_date" +attribute_status = { field = "inclu_consent_date", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "inclu_consent_date" + +[long.value.if] +all = [ + { inclu_consent_date = { "!=" = "UNK" } }, + { inclu_consent_date = { "!=" = "NI" } }, + { inclu_consent_date = { "!=" = "NASK" } }, + { inclu_consent_date = { "!=" = "NA" } }, + { inclu_consent_date = { "!=" = "" } }, +] + +[[long]] +attribute = "inclu_consent_who" +attribute_status = { field = "inclu_consent_who", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "inclu_consent_who" +values = { 1 = "Participant", 2 = "Parent/guardian", 3 = "Consultee", 4 = "Independent clinician" } + +[[long]] +attribute = "inclu_consent_whopg" +value = { field = "inclu_consent_whopg", values = { 1 = "Yes", 0 = "No", 2 = "Not competent" } } +attribute_status = { field = "inclu_consent_whopg", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "inclu_consent_secrsch" +value = { field = "inclu_consent_secrsch", values = { 1 = "Yes", 0 = "No" } } +attribute_status = { field = "inclu_consent_secrsch", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "inclu_consent_secprod" +value = { field = "inclu_consent_secprod", values = { 1 = "Yes", 0 = "No" } } +attribute_status = { field = "inclu_consent_secprod", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "inclu_consent_secgen" +value = { field = "inclu_consent_secgen", values = { 1 = "Yes", 0 = "No" } } +attribute_status = { field = "inclu_consent_secgen", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "inclu_consent_secsamprsch" +value = { field = "inclu_consent_secsamprsch", values = { 1 = "Yes", 0 = "No" } } +attribute_status = { field = "inclu_consent_secsamprsch", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "inclu_consent_secsampprod" +value = { field = "inclu_consent_secsampprod", values = { 1 = "Yes", 0 = "No" } } +attribute_status = { field = "inclu_consent_secsampprod", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "inclu_consent_secsampgen" +value = { field = "inclu_consent_secsampgen", values = { 1 = "Yes", 0 = "No" } } +attribute_status = { field = "inclu_consent_secsampgen", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "inclu_consent_contnstudy" +value = { field = "inclu_consent_contnstudy", values = { 1 = "Yes", 0 = "No" } } +attribute_status = { field = "inclu_consent_contnstudy", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "pres_onsetdate" +attribute_status = { field = "pres_onsetdate", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "pres_onsetdate" + +[long.value.if] +all = [ + { pres_onsetdate = { "!=" = "UNK" } }, + { pres_onsetdate = { "!=" = "NI" } }, + { pres_onsetdate = { "!=" = "NASK" } }, + { pres_onsetdate = { "!=" = "NA" } }, + { pres_onsetdate = { "!=" = "" } }, +] + +[[long]] +attribute = "pres_symptpres" +value = { field = "pres_symptpres", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "pres_symptpres", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "pres_firstsym" +value = { field = "pres_firstsym___35", values = { 1 = "Fever" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "pres_firstsym" +value = { field = "pres_firstsym___54", values = { 1 = "Mucosal lesion" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "pres_firstsym" +value = { field = "pres_firstsym___69", values = { 1 = "Skin lesion" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "pres_firstsym" +attribute_status = { field = "pres_firstsym___unk", values = { 1 = "UNK" } } +if = { pres_firstsym___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "pres_firstsym" +attribute_status = { field = "pres_firstsym___ni", values = { 1 = "NI" } } +if = { pres_firstsym___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "pres_firstsym" +attribute_status = { field = "pres_firstsym___nask", values = { 1 = "NASK" } } +if = { pres_firstsym___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "pres_firstsym" +attribute_status = { field = "pres_firstsym___na", values = { 1 = "NA" } } +if = { pres_firstsym___na = 1 } +ref = "presentation" + +[[long]] +attribute = "pres_firstsym" +attribute_status = { field = "pres_firstsym_otherl2", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "pres_firstsym_otherl2" +can_skip = true + +[long.value.values] +1 = "Abdominal pain" +2 = "Abnormal weight loss" +3 = "Alopecia (Nonscarring hair loss)" +4 = "Altered consciousness / Confusion (Disorientation)" +5 = "Anorexia" +6 = "Apnoea" +7 = "Ascites" +8 = "Bleeding (Haemorrhage)" +9 = "Bruising (Spontaneous ecchymoses)" +10 = "Can't feel one side of the body or face (Hemiplegia)" +11 = "Can't fully move or control movement (Paralytic syndrome)" +12 = "Cardiac arrhythmia" +13 = "Changes in menstruation (Irregular menstruation)" +14 = "Changes in skin texture" +15 = "Chest pain" +16 = "Chest pain on breathing" +17 = "Chills (without fever)" +18 = "Cognitive impairment (Unspecified intellectual disabilities)" +19 = "Conjunctivitis" +20 = "Constipation" +21 = "Convulsions" +22 = "Cough" +23 = "Diarrhea" +24 = "Difficulty eating or drinking (Dysphagia)" +25 = "Difficulty in walking" +26 = "Disorders of nose and nasal sinuses" +27 = "Disturbance in attention (Altered mental status)" +28 = "Dizziness/light headedness (Dizziness and giddiness)" +29 = "Dry skin (Xerosis cutis)" +30 = "Ear pain (Otalgia)" +31 = "Erectile dysfunction" +32 = "Fainting / blackouts (Syncope and collapse)" +33 = "Fecal incontinence" +34 = "Feeding difficulty" +35 = "Fever" +36 = "Gastrointestinal bleeding (Gastrointestinal hemorrhage)" +37 = "Headache" +38 = "Hepatomegaly" +39 = "Increased thirst (Polydipsia)" +40 = "Increased urination (polyuria)" +41 = "Irritability" +42 = "Itchy eye" +43 = "Jaundice" +44 = "Joint pain (Arthralgia)" +45 = "Keratitis" +46 = "Limb weakness / paralysis (Monoplegia)" +47 = "Localized edema" +48 = "Loss of appetite (Anorexia)" +49 = "Loss of smell (Anosmia)" +50 = "Loss of taste (Parageusia)" +51 = "Lymphadenitis" +52 = "Malaise and fatigue" +53 = "Mouth ulcers (Recurrent oral aphthae)" +54 = "Mucosal lesion" +55 = "Muscle aches (Myalgia)" +56 = "Muscle weakness" +57 = "Nasal congestion" +58 = "Nausea or vomiting" +59 = "Pain during urination (Dysuria)" +60 = "Pallor" +61 = "Palpitations" +62 = "Paresthesia of skin" +63 = "Problems swallowing or chewing (Dysphagia)" +64 = "Pruritus" +65 = "Rapid heart beat/Pulse (Tachycardia)" +66 = "Rashes or skin lesions" +67 = "Retention of urine" +68 = "Shortness of breath (Dyspnea)" +69 = "Skin lesion" +70 = "Skin rash" +71 = "Sleep disorder" +72 = "Sneezing" +73 = "Sore throat (Pain in throat)" +74 = "Speech disturbances" +75 = "Spontaneous bruising (Spontaneous ecchymoses)" +76 = "Sweating (hyperhidrosis)" +77 = "Swollen lymph nodes (Enlarged lymph nodes)" +78 = "Tinnitus" +79 = "Tremor" +80 = "Urinary incontinence" +81 = "Visual disturbances" +82 = "Wheezing" + +[[long]] +attribute = "pres_firstsym" +value = { field = "pres_firstsym_otherl3", can_skip = true } +attribute_status = { field = "pres_firstsym_otherl3", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "pres_consultdate" +attribute_status = { field = "pres_consultdate", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "pres_consultdate" + +[long.value.if] +all = [ + { pres_consultdate = { "!=" = "UNK" } }, + { pres_consultdate = { "!=" = "NI" } }, + { pres_consultdate = { "!=" = "NASK" } }, + { pres_consultdate = { "!=" = "NA" } }, + { pres_consultdate = { "!=" = "" } }, +] + +[[long]] +attribute = "pres_adm_reas" +value = { field = "pres_adm_reas", values = { 1 = "Infection of interest", 88 = "Other" } } +attribute_status = { field = "pres_adm_reas", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "pres_adm_reasoth" +attribute_status = { field = "pres_adm_reasoth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "pres_adm_reasoth" + +[long.value.if] +all = [ + { pres_adm_reasoth = { "!=" = "UNK" } }, + { pres_adm_reasoth = { "!=" = "NI" } }, + { pres_adm_reasoth = { "!=" = "NASK" } }, + { pres_adm_reasoth = { "!=" = "NA" } }, + { pres_adm_reasoth = { "!=" = "" } }, +] + +[[long]] +attribute = "pres_adm_time" +attribute_status = { field = "pres_adm_time", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "pres_adm_time" + +[long.value.if] +all = [ + { pres_adm_time = { "!=" = "UNK" } }, + { pres_adm_time = { "!=" = "NI" } }, + { pres_adm_time = { "!=" = "NASK" } }, + { pres_adm_time = { "!=" = "NA" } }, + { pres_adm_time = { "!=" = "" } }, +] + +[[long]] +attribute = "pres_enrolmentdate" +attribute_status = { field = "pres_enrolmentdate", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "pres_enrolmentdate" + +[long.value.if] +all = [ + { pres_enrolmentdate = { "!=" = "UNK" } }, + { pres_enrolmentdate = { "!=" = "NI" } }, + { pres_enrolmentdate = { "!=" = "NASK" } }, + { pres_enrolmentdate = { "!=" = "NA" } }, + { pres_enrolmentdate = { "!=" = "" } }, +] + +[[long]] +attribute = "readm_prev" +attribute_status = { field = "readm_prev", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "readm_prev" + +[long.value.values] +1 = "YES-admitted previously to this facility and discharged" +2 = "YES-admitted to other facility and discharged" +3 = "YES-admitted to another facility, then transferred to this facility" +0 = "No" +99 = "Unknown" + +[[long]] +attribute = "readm_prev_site" +attribute_status = { field = "readm_prev_site", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "readm_prev_site" + +[long.value.if] +all = [ + { readm_prev_site = { "!=" = "UNK" } }, + { readm_prev_site = { "!=" = "NI" } }, + { readm_prev_site = { "!=" = "NASK" } }, + { readm_prev_site = { "!=" = "NA" } }, + { readm_prev_site = { "!=" = "" } }, +] + +[[long]] +attribute = "readm_prev_date" +attribute_status = { field = "readm_prev_date", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "readm_prev_date" + +[long.value.if] +all = [ + { readm_prev_date = { "!=" = "UNK" } }, + { readm_prev_date = { "!=" = "NI" } }, + { readm_prev_date = { "!=" = "NASK" } }, + { readm_prev_date = { "!=" = "NA" } }, + { readm_prev_date = { "!=" = "" } }, +] + +[[long]] +attribute = "readm_prev_reastrans" +attribute_status = { field = "readm_prev_reastrans", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "readm_prev_reastrans" + +[long.value.values] +1 = "Escalation of care (eg. ICU/Ventilation)" +2 = "Lack of diagnostic facilities" +3 = "Proximity to home" +88 = "Other" + +[[long]] +attribute = "readm_prev_reastrans_oth" +attribute_status = { field = "readm_prev_reastrans_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "readm_prev_reastrans_oth" + +[long.value.if] +all = [ + { readm_prev_reastrans_oth = { "!=" = "UNK" } }, + { readm_prev_reastrans_oth = { "!=" = "NI" } }, + { readm_prev_reastrans_oth = { "!=" = "NASK" } }, + { readm_prev_reastrans_oth = { "!=" = "NA" } }, + { readm_prev_reastrans_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "readm_prev_num" +attribute_status = { field = "readm_prev_num", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "readm_prev_num" + +[long.value_num.if] +all = [ + { readm_prev_num = { "!=" = "UNK" } }, + { readm_prev_num = { "!=" = "NI" } }, + { readm_prev_num = { "!=" = "NASK" } }, + { readm_prev_num = { "!=" = "NA" } }, + { readm_prev_num = { "!=" = "" } }, +] + +[[long]] +attribute = "readm_firstadmdate" +attribute_status = { field = "readm_firstadmdate", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "readm_firstadmdate" + +[long.value.if] +all = [ + { readm_firstadmdate = { "!=" = "UNK" } }, + { readm_firstadmdate = { "!=" = "NI" } }, + { readm_firstadmdate = { "!=" = "NASK" } }, + { readm_firstadmdate = { "!=" = "NA" } }, + { readm_firstadmdate = { "!=" = "" } }, +] + +[[long]] +attribute = "readm_difpin" +value = { field = "readm_difpin", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "readm_difpin", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "readm_prevpin" +attribute_status = { field = "readm_prevpin", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "readm_prevpin" + +[long.value.if] +all = [ + { readm_prevpin = { "!=" = "UNK" } }, + { readm_prevpin = { "!=" = "NI" } }, + { readm_prevpin = { "!=" = "NASK" } }, + { readm_prevpin = { "!=" = "NA" } }, + { readm_prevpin = { "!=" = "" } }, +] + +[[long]] +attribute = "readm_reas" +value = { field = "readm_reas", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "readm_reas", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "demog_birthknow" +value = { field = "demog_birthknow", values = { 1 = "Yes", 0 = "No" } } +attribute_status = { field = "demog_birthknow", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "demog_birthdate" +attribute_status = { field = "demog_birthdate", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "demog_birthdate" + +[long.value.if] +all = [ + { demog_birthdate = { "!=" = "UNK" } }, + { demog_birthdate = { "!=" = "NI" } }, + { demog_birthdate = { "!=" = "NASK" } }, + { demog_birthdate = { "!=" = "NA" } }, + { demog_birthdate = { "!=" = "" } }, +] + +[[long]] +attribute = "demog_sex_oth" +attribute_status = { field = "demog_sex_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "demog_sex_oth" + +[long.value.if] +all = [ + { demog_sex_oth = { "!=" = "UNK" } }, + { demog_sex_oth = { "!=" = "NI" } }, + { demog_sex_oth = { "!=" = "NASK" } }, + { demog_sex_oth = { "!=" = "NA" } }, + { demog_sex_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "demog_gender" +attribute_status = { field = "demog_gender", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "demog_gender" +values = { 1 = "Male", 2 = "Female", 3 = "Non-binary", 99 = "Unknown", 88 = "Other" } + +[[long]] +attribute = "demog_gender_oth" +attribute_status = { field = "demog_gender_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "demog_gender_oth" + +[long.value.if] +all = [ + { demog_gender_oth = { "!=" = "UNK" } }, + { demog_gender_oth = { "!=" = "NI" } }, + { demog_gender_oth = { "!=" = "NASK" } }, + { demog_gender_oth = { "!=" = "NA" } }, + { demog_gender_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "demog_country" +value = { field = "demog_country", values = {} } +attribute_status = { field = "demog_country", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "demog_country" +attribute_status = { field = "demog_country_otherl2", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "demog_country_otherl2" +can_skip = true + +[long.value.values] +1 = "Aruba" +2 = "Afghanistan" +3 = "Angola" +4 = "Albania" +5 = "Andorra" +6 = "United Arab Emirates" +7 = "Argentina" +8 = "Armenia" +9 = "American Samoa" +10 = "Antigua and Barbuda" +11 = "Australia" +12 = "Austria" +13 = "Azerbaijan" +14 = "Burundi" +15 = "Belgium" +16 = "Benin" +17 = "Burkina Faso" +18 = "Bangladesh" +19 = "Bulgaria" +20 = "Bahrain" +21 = "Bahamas, The" +22 = "Bosnia and Herzegovina" +23 = "Belarus" +24 = "Belize" +25 = "Bermuda" +26 = "Bolivia" +27 = "Brazil" +28 = "Barbados" +29 = "Brunei Darussalam" +30 = "Bhutan" +31 = "Botswana" +32 = "Central African Republic" +33 = "Canada" +34 = "Switzerland" +35 = "Channel Islands" +36 = "Chile" +37 = "China" +38 = "Côte d’Ivoire" +39 = "Cameroon" +40 = "Congo, Dem. Rep." +41 = "Congo, Rep." +42 = "Colombia" +43 = "Comoros" +44 = "Cabo Verde" +45 = "Costa Rica" +46 = "Cuba" +47 = "Curaçao" +48 = "Cayman Islands" +49 = "Cyprus" +50 = "Czechia" +51 = "Germany" +52 = "Djibouti" +53 = "Dominica" +54 = "Denmark" +55 = "Dominican Republic" +56 = "Algeria" +57 = "Ecuador" +58 = "Egypt, Arab Rep." +59 = "Eritrea" +60 = "Spain" +61 = "Estonia" +62 = "Ethiopia" +63 = "Finland" +64 = "Fiji" +65 = "France" +66 = "Faroe Islands" +67 = "Micronesia, Fed. Sts." +68 = "Gabon" +69 = "United Kingdom" +70 = "Georgia" +71 = "Ghana" +72 = "Gibraltar" +73 = "Guinea" +74 = "Gambia, The" +75 = "Guinea-Bissau" +76 = "Equatorial Guinea" +77 = "Greece" +78 = "Grenada" +79 = "Greenland" +80 = "Guatemala" +81 = "Guam" +82 = "Guyana" +83 = "Hong Kong SAR, China" +84 = "Honduras" +85 = "Croatia" +86 = "Haiti" +87 = "Hungary" +89 = "Indonesia" +90 = "Isle of Man" +91 = "India" +92 = "Ireland" +93 = "Iran, Islamic Rep." +94 = "Iraq" +95 = "Iceland" +96 = "Israel" +97 = "Italy" +98 = "Jamaica" +100 = "Jordan" +101 = "Japan" +102 = "Kazakhstan" +103 = "Kenya" +104 = "Kyrgyz Republic" +105 = "Cambodia" +106 = "Kiribati" +107 = "St. Kitts and Nevis" +108 = "Korea, Rep." +109 = "Kuwait" +110 = "Lao PDR" +111 = "Lebanon" +112 = "Liberia" +113 = "Libya" +114 = "St. Lucia" +115 = "Liechtenstein" +116 = "Sri Lanka" +117 = "Lesotho" +118 = "Lithuania" +119 = "Luxembourg" +120 = "Latvia" +121 = "Macao SAR, China" +122 = "St. Martin (French part)" +123 = "Morocco" +124 = "Monaco" +125 = "Moldova" +126 = "Madagascar" +127 = "Maldives" +128 = "Mexico" +129 = "Marshall Islands" +130 = "North Macedonia" +131 = "Mali" +132 = "Malta" +133 = "Myanmar" +134 = "Montenegro" +135 = "Mongolia" +136 = "Northern Mariana Islands" +137 = "Mozambique" +138 = "Mauritania" +139 = "Mauritius" +140 = "Malawi" +141 = "Malaysia" +142 = "Namibia" +143 = "New Caledonia" +144 = "Niger" +145 = "Nigeria" +146 = "Nicaragua" +147 = "Netherlands" +148 = "Norway" +149 = "Nepal" +150 = "Nauru" +151 = "New Zealand" +152 = "Oman" +153 = "Pakistan" +154 = "Panama" +155 = "Peru" +156 = "Philippines" +157 = "Palau" +158 = "Papua New Guinea" +159 = "Poland" +160 = "Puerto Rico" +161 = "Korea, Dem. People's Rep." +162 = "Portugal" +163 = "Paraguay" +164 = "West Bank and Gaza" +165 = "French Polynesia" +166 = "Qatar" +167 = "Romania" +168 = "Russian Federation" +169 = "Rwanda" +170 = "Saudi Arabia" +171 = "Sudan" +172 = "Senegal" +173 = "Singapore" +174 = "Solomon Islands" +175 = "Sierra Leone" +176 = "El Salvador" +177 = "San Marino" +178 = "Somalia" +179 = "Serbia" +180 = "South Sudan" +181 = "São Tomé and Príncipe" +182 = "Suriname" +183 = "Slovak Republic" +184 = "Slovenia" +185 = "Sweden" +186 = "Eswatini" +187 = "Sint Maarten (Dutch part)" +188 = "Seychelles" +189 = "Syrian Arab Republic" +190 = "Turks and Caicos Islands" +191 = "Chad" +192 = "Togo" +193 = "Thailand" +194 = "Tajikistan" +195 = "Turkmenistan" +196 = "Timor-Leste" +197 = "Tonga" +198 = "Trinidad and Tobago" +199 = "Tunisia" +200 = "Türkiye" +201 = "Tuvalu" +202 = "Taiwan, China" +203 = "Tanzania" +204 = "Uganda" +205 = "Ukraine" +206 = "Uruguay" +207 = "United States" +208 = "Uzbekistan" +209 = "St. Vincent and the Grenadines" +210 = "Venezuela, RB" +211 = "British Virgin Islands" +212 = "Virgin Islands (U.S.)" +213 = "Vietnam" +214 = "Vanuatu" +215 = "Samoa" +216 = "Kosovo" +217 = "Yemen, Rep." +218 = "South Africa" +219 = "Zambia" +220 = "Zimbabwe" + +[[long]] +attribute = "demog_country" +value = { field = "demog_country_otherl3", can_skip = true } +attribute_status = { field = "demog_country_otherl3", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "demog_outcountry" +value = { field = "demog_outcountry", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "demog_outcountry", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "demog_height_cm" +attribute_unit = "cm" +ref = "presentation" + +[long.if] +all = [ + { demog_height_cm = { "!=" = "" }, can_skip = true }, + { demog_height = { "!=" = "" }, can_skip = true }, + { demog_height_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "demog_height_cm", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "demog_height", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "demog_height_cm", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "demog_height", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "demog_height_in" +attribute_unit = "in" +ref = "presentation" + +[long.if] +all = [ + { demog_height_in = { "!=" = "" }, can_skip = true }, + { demog_height = { "!=" = "" }, can_skip = true }, + { demog_height_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "demog_height_in", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "demog_height", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "demog_height_in", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "demog_height", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "demog_weight_kg" +attribute_unit = "kg" +ref = "presentation" + +[long.if] +all = [ + { demog_weight_kg = { "!=" = "" }, can_skip = true }, + { demog_weight = { "!=" = "" }, can_skip = true }, + { demog_weight_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "demog_weight_kg", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "demog_weight", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "demog_weight_kg", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "demog_weight", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "demog_weight_lb" +attribute_unit = "lb" +ref = "presentation" + +[long.if] +all = [ + { demog_weight_lb = { "!=" = "" }, can_skip = true }, + { demog_weight = { "!=" = "" }, can_skip = true }, + { demog_weight_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "demog_weight_lb", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "demog_weight", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "demog_weight_lb", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "demog_weight", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "demog_race" +attribute_status = "VAL" +ref = "presentation" + +[long.value] +field = "demog_race___1" +values = { 1 = "Aboriginal/First Nations/Indigenous" } +can_skip = true + +[[long]] +attribute = "demog_race" +value = { field = "demog_race___2", values = { 1 = "Arab" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "demog_race" +value = { field = "demog_race___3", values = { 1 = "Black or African Descent" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "demog_race" +attribute_status = "VAL" +ref = "presentation" + +[long.value] +field = "demog_race___4" +values = { 1 = "Brown (Mixed/Multiracial, incl. Latin American Pardo)" } +can_skip = true + +[[long]] +attribute = "demog_race" +attribute_status = "VAL" +ref = "presentation" + +[long.value] +field = "demog_race___5" +values = { 1 = "East Asian (incl. Brazilian Yellow/Amarelo)" } +can_skip = true + +[[long]] +attribute = "demog_race" +value = { field = "demog_race___6", values = { 1 = "Latin American or Hispanic" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "demog_race" +value = { field = "demog_race___7", values = { 1 = "South Asian" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "demog_race" +value = { field = "demog_race___8", values = { 1 = "South-East Asian" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "demog_race" +value = { field = "demog_race___9", values = { 1 = "West Asian" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "demog_race" +value = { field = "demog_race___10", values = { 1 = "White" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "demog_race" +attribute_status = { field = "demog_race___unk", values = { 1 = "UNK" } } +if = { demog_race___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "demog_race" +attribute_status = { field = "demog_race___ni", values = { 1 = "NI" } } +if = { demog_race___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "demog_race" +attribute_status = { field = "demog_race___nask", values = { 1 = "NASK" } } +if = { demog_race___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "demog_race" +attribute_status = { field = "demog_race___na", values = { 1 = "NA" } } +if = { demog_race___na = 1 } +ref = "presentation" + +[[long]] +attribute = "demog_race" +attribute_status = { field = "demog_race_otherl2", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "demog_race_otherl2" +can_skip = true + +[long.value.values] +1 = "Aboriginal/First Nations/Indigenous" +2 = "Arab" +3 = "Black or African Descent" +4 = "Brown (Mixed/Multiracial, incl. Latin American Pardo)" +5 = "East Asian (incl. Brazilian Yellow/Amarelo)" +6 = "Latin American or Hispanic" +7 = "South Asian" +8 = "South-East Asian" +9 = "West Asian" +10 = "White" + +[[long]] +attribute = "demog_race" +value = { field = "demog_race_otherl3", can_skip = true } +attribute_status = { field = "demog_race_otherl3", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "demog_healthcare" +value = { field = "demog_healthcare", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "demog_healthcare", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "demog_healthcare_ptfacing" +value = { field = "demog_healthcare_ptfacing", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "demog_healthcare_ptfacing", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "demog_healthcare_expbiosample" +value = { field = "demog_healthcare_expbiosample", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "demog_healthcare_expbiosample", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "demog_riskoccupa" +attribute_status = { field = "demog_riskoccupa", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "demog_riskoccupa" + +[long.value.values] +1 = "Abattoir Worker" +2 = "Beef Cattle Farm Worker" +3 = "Dairy Farm Worker" +4 = "Healthcare Worker" +7 = "Poultry Farm Worker" +12 = "Veterinarian" + +[[long]] +attribute = "demog_riskoccupa" +attribute_status = { field = "demog_riskoccupa_otherl2", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "demog_riskoccupa_otherl2" +can_skip = true + +[long.value.values] +1 = "Abattoir Worker" +2 = "Beef Cattle Farm Worker" +3 = "Dairy Farm Worker" +4 = "Healthcare Worker" +5 = "Live bird market worker" +6 = "Other live animal market worker" +7 = "Poultry Farm Worker" +8 = "Poultry culler" +9 = "Public Transport Worker" +10 = "Sanitation Worker" +11 = "Swine farm worker" +12 = "Veterinarian" + +[[long]] +attribute = "demog_riskoccupa" +value = { field = "demog_riskoccupa_otherl3", can_skip = true } +attribute_status = { field = "demog_riskoccupa_otherl3", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "demog_occupation" +attribute_status = { field = "demog_occupation", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "demog_occupation" + +[long.value.values] +1 = "Home-working or unemployed" +2 = "Indoors-office/health/education/hospitality/business/homes" +3 = "Indoors-factory" +8 = "Outdoors-animal contact (vet, animal farmer, abattoir worker)" +4 = "Outdoors-agriculture/forestry/fisheries" +5 = "Outdoors-construction/industrial/mining" +6 = "Armed Forces" +7 = "Student" +99 = "Unknown" +88 = "Other" + +[[long]] +attribute = "demog_occupation_oth" +attribute_status = { field = "demog_occupation_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "demog_occupation_oth" + +[long.value.if] +all = [ + { demog_occupation_oth = { "!=" = "UNK" } }, + { demog_occupation_oth = { "!=" = "NI" } }, + { demog_occupation_oth = { "!=" = "NASK" } }, + { demog_occupation_oth = { "!=" = "NA" } }, + { demog_occupation_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "demog_residence" +attribute_status = { field = "demog_residence", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "demog_residence" +values = { 1 = "Same as health care facility", 2 = "Different from health care facility", 99 = "Unknown" } + +[[long]] +attribute = "demog_residence_oth" +attribute_status = { field = "demog_residence_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "demog_residence_oth" + +[long.value.if] +all = [ + { demog_residence_oth = { "!=" = "UNK" } }, + { demog_residence_oth = { "!=" = "NI" } }, + { demog_residence_oth = { "!=" = "NASK" } }, + { demog_residence_oth = { "!=" = "NA" } }, + { demog_residence_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "expo14_travel" +value = { field = "expo14_travel", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "expo14_travel", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "expo14_travel_loc" +attribute_status = { field = "expo14_travel_loc", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "expo14_travel_loc" + +[long.value.if] +all = [ + { expo14_travel_loc = { "!=" = "UNK" } }, + { expo14_travel_loc = { "!=" = "NI" } }, + { expo14_travel_loc = { "!=" = "NASK" } }, + { expo14_travel_loc = { "!=" = "NA" } }, + { expo14_travel_loc = { "!=" = "" } }, +] + +[[long]] +attribute = "expo14_riskarea" +value = { field = "expo14_riskarea", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "expo14_riskarea", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "expo14_contact" +value = { field = "expo14_contact", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "expo14_contact", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "expo14_contact_setting" +value = { field = "expo14_contact_setting___1", values = { 1 = "Household" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_contact_setting" +value = { field = "expo14_contact_setting___2", values = { 1 = "Community/social" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_contact_setting" +value = { field = "expo14_contact_setting___3", values = { 1 = "Healthcare facility" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_contact_setting" +value = { field = "expo14_contact_setting___4", values = { 1 = "Occupational/workplace" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_contact_setting" +value = { field = "expo14_contact_setting___5", values = { 1 = "Sexual contact" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_contact_setting" +value = { field = "expo14_contact_setting___7", values = { 1 = "Air travel/flight" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_contact_setting" +value = { field = "expo14_contact_setting___8", values = { 1 = "Vertical transmission" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_contact_setting" +value = { field = "expo14_contact_setting___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_contact_setting" +value = { field = "expo14_contact_setting___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_contact_setting" +attribute_status = { field = "expo14_contact_setting___unk", values = { 1 = "UNK" } } +if = { expo14_contact_setting___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_contact_setting" +attribute_status = { field = "expo14_contact_setting___ni", values = { 1 = "NI" } } +if = { expo14_contact_setting___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_contact_setting" +attribute_status = { field = "expo14_contact_setting___nask", values = { 1 = "NASK" } } +if = { expo14_contact_setting___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_contact_setting" +attribute_status = { field = "expo14_contact_setting___na", values = { 1 = "NA" } } +if = { expo14_contact_setting___na = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_contact_setting_oth" +attribute_status = { field = "expo14_contact_setting_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "expo14_contact_setting_oth" + +[long.value.if] +all = [ + { expo14_contact_setting_oth = { "!=" = "UNK" } }, + { expo14_contact_setting_oth = { "!=" = "NI" } }, + { expo14_contact_setting_oth = { "!=" = "NASK" } }, + { expo14_contact_setting_oth = { "!=" = "NA" } }, + { expo14_contact_setting_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "expo14_contact_date" +attribute_status = { field = "expo14_contact_date", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "expo14_contact_date" + +[long.value.if] +all = [ + { expo14_contact_date = { "!=" = "UNK" } }, + { expo14_contact_date = { "!=" = "NI" } }, + { expo14_contact_date = { "!=" = "NASK" } }, + { expo14_contact_date = { "!=" = "NA" } }, + { expo14_contact_date = { "!=" = "" } }, +] + +[[long]] +attribute = "expo14_ancon" +value = { field = "expo14_ancon", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "expo14_ancon", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_date" +attribute_status = { field = "expo14_ancon_date", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "expo14_ancon_date" + +[long.value.if] +all = [ + { expo14_ancon_date = { "!=" = "UNK" } }, + { expo14_ancon_date = { "!=" = "NI" } }, + { expo14_ancon_date = { "!=" = "NASK" } }, + { expo14_ancon_date = { "!=" = "NA" } }, + { expo14_ancon_date = { "!=" = "" } }, +] + +[[long]] +attribute = "expo14_ancon_lstock" +value = { field = "expo14_ancon_lstock", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "expo14_ancon_lstock", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_lstock_type" +value = { field = "expo14_ancon_lstock_type___1", values = { 1 = "Poultry/birds" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_lstock_type" +value = { field = "expo14_ancon_lstock_type___2", values = { 1 = "Dairy cows/equipment" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_lstock_type" +value = { field = "expo14_ancon_lstock_type___3", values = { 1 = "Other cattle" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_lstock_type" +value = { field = "expo14_ancon_lstock_type___4", values = { 1 = "Pigs" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_lstock_type" +value = { field = "expo14_ancon_lstock_type___5", values = { 1 = "Horses" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_lstock_type" +attribute_status = { field = "expo14_ancon_lstock_type___unk", values = { 1 = "UNK" } } +if = { expo14_ancon_lstock_type___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_lstock_type" +attribute_status = { field = "expo14_ancon_lstock_type___ni", values = { 1 = "NI" } } +if = { expo14_ancon_lstock_type___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_lstock_type" +attribute_status = { field = "expo14_ancon_lstock_type___nask", values = { 1 = "NASK" } } +if = { expo14_ancon_lstock_type___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_lstock_type" +attribute_status = { field = "expo14_ancon_lstock_type___na", values = { 1 = "NA" } } +if = { expo14_ancon_lstock_type___na = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_lstock_cttype" +value = { field = "expo14_ancon_lstock_cttype___1", values = { 1 = "Hunting" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_lstock_cttype" +value = { field = "expo14_ancon_lstock_cttype___2", values = { 1 = "Preparing" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_lstock_cttype" +value = { field = "expo14_ancon_lstock_cttype___3", values = { 1 = "Handling" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_lstock_cttype" +attribute_status = "VAL" +ref = "presentation" + +[long.value] +field = "expo14_ancon_lstock_cttype___4" +values = { 1 = "Consumption (unprocessed / undercooked / raw)" } + +[[long]] +attribute = "expo14_ancon_lstock_cttype" +value = { field = "expo14_ancon_lstock_cttype___5", values = { 1 = "Trading" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_lstock_cttype" +value = { field = "expo14_ancon_lstock_cttype___6", values = { 1 = "Animal faeces or nests" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_lstock_cttype" +value = { field = "expo14_ancon_lstock_cttype___7", values = { 1 = "Sick or dead animal" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_lstock_cttype" +value = { field = "expo14_ancon_lstock_cttype___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_lstock_cttype" +value = { field = "expo14_ancon_lstock_cttype___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_lstock_cttype" +attribute_status = { field = "expo14_ancon_lstock_cttype___unk", values = { 1 = "UNK" } } +if = { expo14_ancon_lstock_cttype___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_lstock_cttype" +attribute_status = { field = "expo14_ancon_lstock_cttype___ni", values = { 1 = "NI" } } +if = { expo14_ancon_lstock_cttype___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_lstock_cttype" +attribute_status = { field = "expo14_ancon_lstock_cttype___nask", values = { 1 = "NASK" } } +if = { expo14_ancon_lstock_cttype___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_lstock_cttype" +attribute_status = { field = "expo14_ancon_lstock_cttype___na", values = { 1 = "NA" } } +if = { expo14_ancon_lstock_cttype___na = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_nhprim" +value = { field = "expo14_ancon_nhprim", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "expo14_ancon_nhprim", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_nhprim_type" +value = { field = "expo14_ancon_nhprim_type___1", values = { 1 = "Monkeys" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_nhprim_type" +value = { field = "expo14_ancon_nhprim_type___2", values = { 1 = "Apes" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_nhprim_type" +attribute_status = { field = "expo14_ancon_nhprim_type___unk", values = { 1 = "UNK" } } +if = { expo14_ancon_nhprim_type___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_nhprim_type" +attribute_status = { field = "expo14_ancon_nhprim_type___ni", values = { 1 = "NI" } } +if = { expo14_ancon_nhprim_type___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_nhprim_type" +attribute_status = { field = "expo14_ancon_nhprim_type___nask", values = { 1 = "NASK" } } +if = { expo14_ancon_nhprim_type___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_nhprim_type" +attribute_status = { field = "expo14_ancon_nhprim_type___na", values = { 1 = "NA" } } +if = { expo14_ancon_nhprim_type___na = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_nhprim_cttype" +value = { field = "expo14_ancon_nhprim_cttype___1", values = { 1 = "Hunting" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_nhprim_cttype" +value = { field = "expo14_ancon_nhprim_cttype___2", values = { 1 = "Preparing" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_nhprim_cttype" +value = { field = "expo14_ancon_nhprim_cttype___3", values = { 1 = "Handling" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_nhprim_cttype" +attribute_status = "VAL" +ref = "presentation" + +[long.value] +field = "expo14_ancon_nhprim_cttype___4" +values = { 1 = "Consumption (unprocessed / undercooked / raw)" } + +[[long]] +attribute = "expo14_ancon_nhprim_cttype" +value = { field = "expo14_ancon_nhprim_cttype___5", values = { 1 = "Trading" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_nhprim_cttype" +value = { field = "expo14_ancon_nhprim_cttype___6", values = { 1 = "Animal faeces or nests" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_nhprim_cttype" +value = { field = "expo14_ancon_nhprim_cttype___7", values = { 1 = "Sick or dead animal" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_nhprim_cttype" +value = { field = "expo14_ancon_nhprim_cttype___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_nhprim_cttype" +value = { field = "expo14_ancon_nhprim_cttype___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_nhprim_cttype" +attribute_status = { field = "expo14_ancon_nhprim_cttype___unk", values = { 1 = "UNK" } } +if = { expo14_ancon_nhprim_cttype___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_nhprim_cttype" +attribute_status = { field = "expo14_ancon_nhprim_cttype___ni", values = { 1 = "NI" } } +if = { expo14_ancon_nhprim_cttype___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_nhprim_cttype" +attribute_status = { field = "expo14_ancon_nhprim_cttype___nask", values = { 1 = "NASK" } } +if = { expo14_ancon_nhprim_cttype___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_nhprim_cttype" +attribute_status = { field = "expo14_ancon_nhprim_cttype___na", values = { 1 = "NA" } } +if = { expo14_ancon_nhprim_cttype___na = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_rodent" +value = { field = "expo14_ancon_rodent", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "expo14_ancon_rodent", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_rodent_type" +value = { field = "expo14_ancon_rodent_type___1", values = { 1 = "Rats" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_rodent_type" +value = { field = "expo14_ancon_rodent_type___2", values = { 1 = "Mice" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_rodent_type" +value = { field = "expo14_ancon_rodent_type___3", values = { 1 = "Squirrels" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_rodent_type" +attribute_status = { field = "expo14_ancon_rodent_type___unk", values = { 1 = "UNK" } } +if = { expo14_ancon_rodent_type___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_rodent_type" +attribute_status = { field = "expo14_ancon_rodent_type___ni", values = { 1 = "NI" } } +if = { expo14_ancon_rodent_type___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_rodent_type" +attribute_status = { field = "expo14_ancon_rodent_type___nask", values = { 1 = "NASK" } } +if = { expo14_ancon_rodent_type___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_rodent_type" +attribute_status = { field = "expo14_ancon_rodent_type___na", values = { 1 = "NA" } } +if = { expo14_ancon_rodent_type___na = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_rodent_cttype" +value = { field = "expo14_ancon_rodent_cttype___1", values = { 1 = "Hunting" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_rodent_cttype" +value = { field = "expo14_ancon_rodent_cttype___2", values = { 1 = "Preparing" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_rodent_cttype" +value = { field = "expo14_ancon_rodent_cttype___3", values = { 1 = "Handling" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_rodent_cttype" +attribute_status = "VAL" +ref = "presentation" + +[long.value] +field = "expo14_ancon_rodent_cttype___4" +values = { 1 = "Consumption (unprocessed / undercooked / raw)" } + +[[long]] +attribute = "expo14_ancon_rodent_cttype" +value = { field = "expo14_ancon_rodent_cttype___5", values = { 1 = "Trading" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_rodent_cttype" +value = { field = "expo14_ancon_rodent_cttype___6", values = { 1 = "Animal faeces or nests" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_rodent_cttype" +value = { field = "expo14_ancon_rodent_cttype___7", values = { 1 = "Sick or dead animal" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_rodent_cttype" +value = { field = "expo14_ancon_rodent_cttype___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_rodent_cttype" +value = { field = "expo14_ancon_rodent_cttype___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_rodent_cttype" +attribute_status = { field = "expo14_ancon_rodent_cttype___unk", values = { 1 = "UNK" } } +if = { expo14_ancon_rodent_cttype___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_rodent_cttype" +attribute_status = { field = "expo14_ancon_rodent_cttype___ni", values = { 1 = "NI" } } +if = { expo14_ancon_rodent_cttype___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_rodent_cttype" +attribute_status = { field = "expo14_ancon_rodent_cttype___nask", values = { 1 = "NASK" } } +if = { expo14_ancon_rodent_cttype___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_rodent_cttype" +attribute_status = { field = "expo14_ancon_rodent_cttype___na", values = { 1 = "NA" } } +if = { expo14_ancon_rodent_cttype___na = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_pets" +value = { field = "expo14_ancon_pets", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "expo14_ancon_pets", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_pets_type" +value = { field = "expo14_ancon_pets_type___1", values = { 1 = "Cats" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_pets_type" +value = { field = "expo14_ancon_pets_type___2", values = { 1 = "Dogs" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_pets_type" +attribute_status = { field = "expo14_ancon_pets_type___unk", values = { 1 = "UNK" } } +if = { expo14_ancon_pets_type___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_pets_type" +attribute_status = { field = "expo14_ancon_pets_type___ni", values = { 1 = "NI" } } +if = { expo14_ancon_pets_type___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_pets_type" +attribute_status = { field = "expo14_ancon_pets_type___nask", values = { 1 = "NASK" } } +if = { expo14_ancon_pets_type___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_pets_type" +attribute_status = { field = "expo14_ancon_pets_type___na", values = { 1 = "NA" } } +if = { expo14_ancon_pets_type___na = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_pets_cttype" +value = { field = "expo14_ancon_pets_cttype___1", values = { 1 = "Hunting" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_pets_cttype" +value = { field = "expo14_ancon_pets_cttype___2", values = { 1 = "Preparing" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_pets_cttype" +value = { field = "expo14_ancon_pets_cttype___3", values = { 1 = "Handling" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_pets_cttype" +attribute_status = "VAL" +ref = "presentation" + +[long.value] +field = "expo14_ancon_pets_cttype___4" +values = { 1 = "Consumption (unprocessed / undercooked / raw)" } + +[[long]] +attribute = "expo14_ancon_pets_cttype" +value = { field = "expo14_ancon_pets_cttype___5", values = { 1 = "Trading" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_pets_cttype" +value = { field = "expo14_ancon_pets_cttype___6", values = { 1 = "Animal faeces or nests" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_pets_cttype" +value = { field = "expo14_ancon_pets_cttype___7", values = { 1 = "Sick or dead animal" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_pets_cttype" +value = { field = "expo14_ancon_pets_cttype___8", values = { 1 = "Bite/scratch" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_pets_cttype" +value = { field = "expo14_ancon_pets_cttype___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_pets_cttype" +value = { field = "expo14_ancon_pets_cttype___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_pets_cttype" +attribute_status = { field = "expo14_ancon_pets_cttype___unk", values = { 1 = "UNK" } } +if = { expo14_ancon_pets_cttype___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_pets_cttype" +attribute_status = { field = "expo14_ancon_pets_cttype___ni", values = { 1 = "NI" } } +if = { expo14_ancon_pets_cttype___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_pets_cttype" +attribute_status = { field = "expo14_ancon_pets_cttype___nask", values = { 1 = "NASK" } } +if = { expo14_ancon_pets_cttype___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_pets_cttype" +attribute_status = { field = "expo14_ancon_pets_cttype___na", values = { 1 = "NA" } } +if = { expo14_ancon_pets_cttype___na = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_wildlife" +value = { field = "expo14_ancon_wildlife", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "expo14_ancon_wildlife", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_wildelife_type" +value = { field = "expo14_ancon_wildelife_type___1", values = { 1 = "Bats" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_wildelife_type" +value = { field = "expo14_ancon_wildelife_type___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_wildelife_type" +attribute_status = { field = "expo14_ancon_wildelife_type___unk", values = { 1 = "UNK" } } +if = { expo14_ancon_wildelife_type___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_wildelife_type" +attribute_status = { field = "expo14_ancon_wildelife_type___ni", values = { 1 = "NI" } } +if = { expo14_ancon_wildelife_type___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_wildelife_type" +attribute_status = { field = "expo14_ancon_wildelife_type___nask", values = { 1 = "NASK" } } +if = { expo14_ancon_wildelife_type___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_wildelife_type" +attribute_status = { field = "expo14_ancon_wildelife_type___na", values = { 1 = "NA" } } +if = { expo14_ancon_wildelife_type___na = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_wildelife_oth" +attribute_status = { field = "expo14_ancon_wildelife_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "expo14_ancon_wildelife_oth" + +[long.value.if] +all = [ + { expo14_ancon_wildelife_oth = { "!=" = "UNK" } }, + { expo14_ancon_wildelife_oth = { "!=" = "NI" } }, + { expo14_ancon_wildelife_oth = { "!=" = "NASK" } }, + { expo14_ancon_wildelife_oth = { "!=" = "NA" } }, + { expo14_ancon_wildelife_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "expo14_ancon_wildlife_cttype" +value = { field = "expo14_ancon_wildlife_cttype___1", values = { 1 = "Hunting" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_wildlife_cttype" +value = { field = "expo14_ancon_wildlife_cttype___2", values = { 1 = "Preparing" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_wildlife_cttype" +value = { field = "expo14_ancon_wildlife_cttype___3", values = { 1 = "Handling" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_wildlife_cttype" +attribute_status = "VAL" +ref = "presentation" + +[long.value] +field = "expo14_ancon_wildlife_cttype___4" +values = { 1 = "Consumption (unprocessed / undercooked / raw)" } + +[[long]] +attribute = "expo14_ancon_wildlife_cttype" +value = { field = "expo14_ancon_wildlife_cttype___5", values = { 1 = "Trading" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_wildlife_cttype" +value = { field = "expo14_ancon_wildlife_cttype___6", values = { 1 = "Animal faeces or nests" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_wildlife_cttype" +value = { field = "expo14_ancon_wildlife_cttype___7", values = { 1 = "Sick or dead animal" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_wildlife_cttype" +value = { field = "expo14_ancon_wildlife_cttype___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_wildlife_cttype" +value = { field = "expo14_ancon_wildlife_cttype___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_wildlife_cttype" +attribute_status = { field = "expo14_ancon_wildlife_cttype___unk", values = { 1 = "UNK" } } +if = { expo14_ancon_wildlife_cttype___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_wildlife_cttype" +attribute_status = { field = "expo14_ancon_wildlife_cttype___ni", values = { 1 = "NI" } } +if = { expo14_ancon_wildlife_cttype___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_wildlife_cttype" +attribute_status = { field = "expo14_ancon_wildlife_cttype___nask", values = { 1 = "NASK" } } +if = { expo14_ancon_wildlife_cttype___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_wildlife_cttype" +attribute_status = { field = "expo14_ancon_wildlife_cttype___na", values = { 1 = "NA" } } +if = { expo14_ancon_wildlife_cttype___na = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_unpasteur" +value = { field = "expo14_ancon_unpasteur", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "expo14_ancon_unpasteur", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_visitzoo" +value = { field = "expo14_ancon_visitzoo", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "expo14_ancon_visitzoo", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_animalsurg" +value = { field = "expo14_ancon_animalsurg", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "expo14_ancon_animalsurg", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_bite" +value = { field = "expo14_ancon_bite", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "expo14_ancon_bite", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_other" +value = { field = "expo14_ancon_other", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "expo14_ancon_other", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_other_spec" +attribute_status = { field = "expo14_ancon_other_spec", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "expo14_ancon_other_spec" + +[long.value.if] +all = [ + { expo14_ancon_other_spec = { "!=" = "UNK" } }, + { expo14_ancon_other_spec = { "!=" = "NI" } }, + { expo14_ancon_other_spec = { "!=" = "NASK" } }, + { expo14_ancon_other_spec = { "!=" = "NA" } }, + { expo14_ancon_other_spec = { "!=" = "" } }, +] + +[[long]] +attribute = "expo14_ancon_other_cttype" +value = { field = "expo14_ancon_other_cttype___1", values = { 1 = "Hunting" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_other_cttype" +value = { field = "expo14_ancon_other_cttype___2", values = { 1 = "Preparing" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_other_cttype" +value = { field = "expo14_ancon_other_cttype___3", values = { 1 = "Handling" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_other_cttype" +attribute_status = "VAL" +ref = "presentation" + +[long.value] +field = "expo14_ancon_other_cttype___4" +values = { 1 = "Consumption (unprocessed / undercooked / raw)" } + +[[long]] +attribute = "expo14_ancon_other_cttype" +value = { field = "expo14_ancon_other_cttype___5", values = { 1 = "Trading" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_other_cttype" +value = { field = "expo14_ancon_other_cttype___6", values = { 1 = "Animal faeces or nests" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_other_cttype" +value = { field = "expo14_ancon_other_cttype___7", values = { 1 = "Sick or dead animal" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_other_cttype" +value = { field = "expo14_ancon_other_cttype___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_other_cttype" +value = { field = "expo14_ancon_other_cttype___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_other_cttype" +attribute_status = { field = "expo14_ancon_other_cttype___unk", values = { 1 = "UNK" } } +if = { expo14_ancon_other_cttype___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_other_cttype" +attribute_status = { field = "expo14_ancon_other_cttype___ni", values = { 1 = "NI" } } +if = { expo14_ancon_other_cttype___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_other_cttype" +attribute_status = { field = "expo14_ancon_other_cttype___nask", values = { 1 = "NASK" } } +if = { expo14_ancon_other_cttype___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_ancon_other_cttype" +attribute_status = { field = "expo14_ancon_other_cttype___na", values = { 1 = "NA" } } +if = { expo14_ancon_other_cttype___na = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_house" +value = { field = "expo14_house", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "expo14_house", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "expo14_house_sys" +value = { field = "expo14_house_sys___1", values = { 1 = "Respiratory" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_house_sys" +value = { field = "expo14_house_sys___2", values = { 1 = "Gastrointestinal" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_house_sys" +value = { field = "expo14_house_sys___3", values = { 1 = "Cardiovascular" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_house_sys" +value = { field = "expo14_house_sys___4", values = { 1 = "Central Nervous system" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_house_sys" +value = { field = "expo14_house_sys___5", values = { 1 = "Peripheral Nervous system" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_house_sys" +value = { field = "expo14_house_sys___6", values = { 1 = "Mucocutaneous" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_house_sys" +value = { field = "expo14_house_sys___7", values = { 1 = "Ocular" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_house_sys" +value = { field = "expo14_house_sys___8", values = { 1 = "Musculoskeletal" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_house_sys" +value = { field = "expo14_house_sys___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_house_sys" +value = { field = "expo14_house_sys___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "expo14_house_sys" +attribute_status = { field = "expo14_house_sys___unk", values = { 1 = "UNK" } } +if = { expo14_house_sys___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_house_sys" +attribute_status = { field = "expo14_house_sys___ni", values = { 1 = "NI" } } +if = { expo14_house_sys___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_house_sys" +attribute_status = { field = "expo14_house_sys___nask", values = { 1 = "NASK" } } +if = { expo14_house_sys___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_house_sys" +attribute_status = { field = "expo14_house_sys___na", values = { 1 = "NA" } } +if = { expo14_house_sys___na = 1 } +ref = "presentation" + +[[long]] +attribute = "expo14_house_sys_oth" +attribute_status = { field = "expo14_house_sys_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "expo14_house_sys_oth" + +[long.value.if] +all = [ + { expo14_house_sys_oth = { "!=" = "UNK" } }, + { expo14_house_sys_oth = { "!=" = "NI" } }, + { expo14_house_sys_oth = { "!=" = "NASK" } }, + { expo14_house_sys_oth = { "!=" = "NA" } }, + { expo14_house_sys_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "expo14_housecon" +value = { field = "expo14_housecon", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "expo14_housecon", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "expo14_ferm" +value = { field = "expo14_ferm", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "expo14_ferm", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "expo14_swim" +value = { field = "expo14_swim", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "expo14_swim", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "expo14_floodwater" +value = { field = "expo14_floodwater", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "expo14_floodwater", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "expo14_closeliving" +value = { field = "expo14_closeliving", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "expo14_closeliving", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_chrneurolo" +value = { field = "comor_chrneurolo", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_chrneurolo", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_epilepsy" +value = { field = "comor_epilepsy", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_epilepsy", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_dementia" +value = { field = "comor_dementia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_dementia", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_strokecva" +value = { field = "comor_strokecva", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_strokecva", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_hemipleg" +value = { field = "comor_hemipleg", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_hemipleg", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_parapleg" +value = { field = "comor_parapleg", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_parapleg", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_chrcardiac" +value = { field = "comor_chrcardiac", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_chrcardiac", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_chrcardiac_mi" +value = { field = "comor_chrcardiac_mi", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_chrcardiac_mi", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_chrcardiac_chf" +value = { field = "comor_chrcardiac_chf", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_chrcardiac_chf", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_hypertensi" +value = { field = "comor_hypertensi", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_hypertensi", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_perivascdis" +value = { field = "comor_perivascdis", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_perivascdis", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_chrpulmona" +value = { field = "comor_chrpulmona", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_chrpulmona", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_asthma" +value = { field = "comor_asthma", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_asthma", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_peptulcdis" +value = { field = "comor_peptulcdis", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_peptulcdis", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_liverdisease" +value = { field = "comor_liverdisease", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_liverdisease", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_liverdisease_type" +attribute_status = { field = "comor_liverdisease_type", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "comor_liverdisease_type" +values = { 1 = "Mild", 2 = "Moderate or severe", 99 = "Unknown" } + +[[long]] +attribute = "comor_chrkidney" +value = { field = "comor_chrkidney", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_chrkidney", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_chrkidney_type" +attribute_status = { field = "comor_chrkidney_type", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "comor_chrkidney_type" + +[long.value.values] +1 = "Stage 1" +2 = "Stage 2" +3 = "Stage 3a" +4 = "Stage 3b" +5 = "Stage 4" +6 = "Stage 5" +99 = "Unknown" + +[[long]] +attribute = "comor_aids" +value = { field = "comor_aids", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_aids", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_aids_art" +value = { field = "comor_aids_art", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_aids_art", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_aids_arttype" +attribute_status = { field = "comor_aids_arttype", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "comor_aids_arttype" + +[long.value.if] +all = [ + { comor_aids_arttype = { "!=" = "UNK" } }, + { comor_aids_arttype = { "!=" = "NI" } }, + { comor_aids_arttype = { "!=" = "NASK" } }, + { comor_aids_arttype = { "!=" = "NA" } }, + { comor_aids_arttype = { "!=" = "" } }, +] + +[[long]] +attribute = "comor_aids_cd4date" +attribute_status = { field = "comor_aids_cd4date", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "comor_aids_cd4date" + +[long.value.if] +all = [ + { comor_aids_cd4date = { "!=" = "UNK" } }, + { comor_aids_cd4date = { "!=" = "NI" } }, + { comor_aids_cd4date = { "!=" = "NASK" } }, + { comor_aids_cd4date = { "!=" = "NA" } }, + { comor_aids_cd4date = { "!=" = "" } }, +] + +[[long]] +attribute = "comor_aids_cd4count" +attribute_status = { field = "comor_aids_cd4count", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "comor_aids_cd4count" + +[long.value_num.if] +all = [ + { comor_aids_cd4count = { "!=" = "UNK" } }, + { comor_aids_cd4count = { "!=" = "NI" } }, + { comor_aids_cd4count = { "!=" = "NASK" } }, + { comor_aids_cd4count = { "!=" = "NA" } }, + { comor_aids_cd4count = { "!=" = "" } }, +] + +[[long]] +attribute = "comor_aids_vrl" +value = { field = "comor_aids_vrl", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_aids_vrl", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_aids_vrlno" +attribute_status = { field = "comor_aids_vrlno", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "comor_aids_vrlno" + +[long.value_num.if] +all = [ + { comor_aids_vrlno = { "!=" = "UNK" } }, + { comor_aids_vrlno = { "!=" = "NI" } }, + { comor_aids_vrlno = { "!=" = "NASK" } }, + { comor_aids_vrlno = { "!=" = "NA" } }, + { comor_aids_vrlno = { "!=" = "" } }, +] + +[[long]] +attribute = "comor_aids_vrlnodate" +attribute_status = { field = "comor_aids_vrlnodate", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "comor_aids_vrlnodate" + +[long.value.if] +all = [ + { comor_aids_vrlnodate = { "!=" = "UNK" } }, + { comor_aids_vrlnodate = { "!=" = "NI" } }, + { comor_aids_vrlnodate = { "!=" = "NASK" } }, + { comor_aids_vrlnodate = { "!=" = "NA" } }, + { comor_aids_vrlnodate = { "!=" = "" } }, +] + +[[long]] +attribute = "comor_tuberculos" +value = { field = "comor_tuberculos", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_tuberculos", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_tuberculos_type" +attribute_status = { field = "comor_tuberculos_type", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "comor_tuberculos_type" +values = { 1 = "Active pulmonary", 4 = "Active extra-pulmonary", 99 = "Unknown" } + +[[long]] +attribute = "comor_tuberculos_latent" +value = { field = "comor_tuberculos_latent", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_tuberculos_latent", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_tuberculos_previous" +value = { field = "comor_tuberculos_previous", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_tuberculos_previous", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_hepbc" +value = { field = "comor_hepbc", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_hepbc", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_chrhematol" +value = { field = "comor_chrhematol", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_chrhematol", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_recentblood" +value = { field = "comor_recentblood", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_recentblood", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_sickle" +value = { field = "comor_sickle", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_sickle", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_rheumatolo" +value = { field = "comor_rheumatolo", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_rheumatolo", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_rheumatolo_type" +attribute_status = { field = "comor_rheumatolo_type", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "comor_rheumatolo_type" + +[long.value.values] +1 = "Osteoarthritis" +2 = "Rheumatoid Arthritis" +3 = "Systemic Lupus Erythematosus" +4 = "Ankylosing Spondylitis" +5 = "Psoriatic Arthritis" +99 = "Unknown" +88 = "Other" + +[[long]] +attribute = "comor_rheumatolo_type_oth" +attribute_status = { field = "comor_rheumatolo_type_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "comor_rheumatolo_type_oth" + +[long.value.if] +all = [ + { comor_rheumatolo_type_oth = { "!=" = "UNK" } }, + { comor_rheumatolo_type_oth = { "!=" = "NI" } }, + { comor_rheumatolo_type_oth = { "!=" = "NASK" } }, + { comor_rheumatolo_type_oth = { "!=" = "NA" } }, + { comor_rheumatolo_type_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "comor_asplenia" +value = { field = "comor_asplenia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_asplenia", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_benignn" +value = { field = "comor_benignn", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_benignn", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_malignantn" +value = { field = "comor_malignantn", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_malignantn", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_malignantn_sol" +value = { field = "comor_malignantn_sol", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_malignantn_sol", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_malignantn_leuk" +value = { field = "comor_malignantn_leuk", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_malignantn_leuk", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_malignantn_lymp" +value = { field = "comor_malignantn_lymp", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_malignantn_lymp", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_obesity" +value = { field = "comor_obesity", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_obesity", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_malnutriti" +value = { field = "comor_malnutriti", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_malnutriti", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_diabetes" +value = { field = "comor_diabetes", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_diabetes", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_diabetes_type" +attribute_status = { field = "comor_diabetes_type", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "comor_diabetes_type" +values = { 1 = "Type 1", 2 = "Type 2", 3 = "Gestational diabetes", 99 = "Unknown" } + +[[long]] +attribute = "comor_diabetes_endorg" +value = { field = "comor_diabetes_endorg", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_diabetes_endorg", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_hba1c_mmolmol" +attribute_unit = "mmol/mol" +ref = "presentation" + +[long.if] +all = [ + { comor_hba1c_mmolmol = { "!=" = "" }, can_skip = true }, + { comor_hba1c = { "!=" = "" }, can_skip = true }, + { comor_hba1c_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "comor_hba1c_mmolmol" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "comor_hba1c" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "comor_hba1c_mmolmol" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "comor_hba1c" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "comor_hba1c_pcnt" +attribute_unit = "%" +ref = "presentation" + +[long.if] +all = [ + { comor_hba1c_pcnt = { "!=" = "" }, can_skip = true }, + { comor_hba1c = { "!=" = "" }, can_skip = true }, + { comor_hba1c_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "comor_hba1c_pcnt", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "comor_hba1c", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "comor_hba1c_pcnt", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "comor_hba1c", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "comor_smoking" +value = { field = "comor_smoking", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_smoking", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_smoking_type" +value = { field = "comor_smoking_type", values = { 1 = "Current smoker", 2 = "Former Smoker" } } +attribute_status = { field = "comor_smoking_type", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_smoking_passive" +value = { field = "comor_smoking_passive", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_smoking_passive", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_alcohol" +value = { field = "comor_alcohol", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_alcohol", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_intrdrug" +value = { field = "comor_intrdrug", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_intrdrug", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_orgtrans" +value = { field = "comor_orgtrans", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_orgtrans", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_orgtrans_organ" +value = { field = "comor_orgtrans_organ___1", values = { 1 = "Lung" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "comor_orgtrans_organ" +value = { field = "comor_orgtrans_organ___2", values = { 1 = "Heart" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "comor_orgtrans_organ" +value = { field = "comor_orgtrans_organ___3", values = { 1 = "Kidney" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "comor_orgtrans_organ" +value = { field = "comor_orgtrans_organ___4", values = { 1 = "Liver" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "comor_orgtrans_organ" +value = { field = "comor_orgtrans_organ___5", values = { 1 = "Bone" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "comor_orgtrans_organ" +value = { field = "comor_orgtrans_organ___6", values = { 1 = "Hematopoietic stem cell" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "comor_orgtrans_organ" +value = { field = "comor_orgtrans_organ___7", values = { 1 = "Cornea" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "comor_orgtrans_organ" +value = { field = "comor_orgtrans_organ___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "comor_orgtrans_organ" +attribute_status = { field = "comor_orgtrans_organ___unk", values = { 1 = "UNK" } } +if = { comor_orgtrans_organ___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "comor_orgtrans_organ" +attribute_status = { field = "comor_orgtrans_organ___ni", values = { 1 = "NI" } } +if = { comor_orgtrans_organ___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "comor_orgtrans_organ" +attribute_status = { field = "comor_orgtrans_organ___nask", values = { 1 = "NASK" } } +if = { comor_orgtrans_organ___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "comor_orgtrans_organ" +attribute_status = { field = "comor_orgtrans_organ___na", values = { 1 = "NA" } } +if = { comor_orgtrans_organ___na = 1 } +ref = "presentation" + +[[long]] +attribute = "comor_primaryimmuno" +value = { field = "comor_primaryimmuno", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_primaryimmuno", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_chemotherapy" +value = { field = "comor_chemotherapy", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_chemotherapy", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_radiotherapy" +value = { field = "comor_radiotherapy", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_radiotherapy", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_steroidtherapy" +value = { field = "comor_steroidtherapy", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_steroidtherapy", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_skincon" +value = { field = "comor_skincon", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_skincon", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_skincondesc" +attribute_status = { field = "comor_skincondesc", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "comor_skincondesc" + +[long.value.if] +all = [ + { comor_skincondesc = { "!=" = "UNK" } }, + { comor_skincondesc = { "!=" = "NI" } }, + { comor_skincondesc = { "!=" = "NASK" } }, + { comor_skincondesc = { "!=" = "NA" } }, + { comor_skincondesc = { "!=" = "" } }, +] + +[[long]] +attribute = "comor_malnut" +value = { field = "comor_malnut", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_malnut", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_malnut_muac" +attribute_status = { field = "comor_malnut_muac", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "comor_malnut_muac" + +[long.value_num.if] +all = [ + { comor_malnut_muac = { "!=" = "UNK" } }, + { comor_malnut_muac = { "!=" = "NI" } }, + { comor_malnut_muac = { "!=" = "NASK" } }, + { comor_malnut_muac = { "!=" = "NA" } }, + { comor_malnut_muac = { "!=" = "" } }, +] + +[[long]] +attribute = "comor_premature" +value = { field = "comor_premature", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_premature", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_conginmu" +value = { field = "comor_conginmu", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "comor_conginmu", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "comor_unlisted" +attribute_status = { field = "comor_unlisted_{n}item", apply = { function = "attribute_status_fill" } } +ref = "presentation" +for = { n = { range = [ + 0, + 4, +] } } + +[long.value] +field = "comor_unlisted_{n}item" +can_skip = true + +[long.value.values] +1 = "Acute-on-chronic renal failure" +2 = "Asplenia" +3 = "Atrial Fibrillation" +4 = "Autoimmune Disease" +5 = "Blood coagulation disorder" +6 = "Cardiomyopathy" +7 = "Cerebrovascular Disease" +8 = "Chronic Haematological Disease" +9 = "Chronic Infection" +10 = "Chronic Kidney Disease" +11 = "Chronic Viral Hepatitis" +12 = "Chronic heart disease" +13 = "Chronic inflammatory disorder" +14 = "Chronic lung disease" +15 = "Chronic metabolic disorder" +16 = "Congenital Heart Disease" +17 = "Congestive Heart Failure" +18 = "Dementia" +19 = "Diabetes Mellitus (all types)" +20 = "Disease of liver" +21 = "Disorder of lipid metabolism" +22 = "Disorder of pulmonary circulation" +23 = "Essential hypertension" +24 = "Heart valve disorder" +25 = "Hemiplegia" +26 = "Human immunodeficiency virus [HIV] disease" +27 = "Hyperthyroidism" +28 = "Hypothyroidism" +29 = "Immunosuppression" +30 = "Ischaemic Heart Disease" +31 = "Leukemia" +32 = "Malignant lymphoma" +33 = "Metastatic carcinoid tumor Cancer" +34 = "Moderate or Severe Liver Disease" +35 = "Moderate or Severe Renal Disease" +36 = "Multiple Myeloma" +37 = "Myocardial Infarction" +38 = "Neurodegenerative Disorders" +39 = "Neurological disorder confirmed" +40 = "Obesity" +41 = "Paraplegia" +42 = "Peripheral Vascular Disease" +43 = "Primary malignant neoplasm" +44 = "Psychoactive substance use disorder" +45 = "Rare Diseases and Inborn Errors of Metabolism" +46 = "Reactive psychoses" +47 = "Recurrent deep vein thrombosis" +48 = "Rheumatoid Disorders" +49 = "Smoking" +50 = "Solid tumor configuration" +51 = "Stroke" +52 = "Transplant present" +53 = "Tuberculosis" +54 = "Undifferentiated connective tissue disease" +55 = "Osteoarthritis" +56 = "Rheumatoid arthritis" +57 = "Multiple sclerosis" +58 = "Alzheimer's disease" + +[[long]] +attribute = "comor_unlisted" +attribute_status = { field = "comor_unlisted_{n}otherl2", apply = { function = "attribute_status_fill" } } +ref = "presentation" +for = { n = { range = [ + 0, + 4, +] } } + +[long.value] +field = "comor_unlisted_{n}otherl2" +can_skip = true + +[long.value.values] +1 = "Acute-on-chronic renal failure" +2 = "Asplenia" +3 = "Atrial Fibrillation" +4 = "Autoimmune Disease" +5 = "Blood coagulation disorder" +6 = "Cardiomyopathy" +7 = "Cerebrovascular Disease" +8 = "Chronic Haematological Disease" +9 = "Chronic Infection" +10 = "Chronic Kidney Disease" +11 = "Chronic Viral Hepatitis" +12 = "Chronic heart disease" +13 = "Chronic inflammatory disorder" +14 = "Chronic lung disease" +15 = "Chronic metabolic disorder" +16 = "Congenital Heart Disease" +17 = "Congestive Heart Failure" +18 = "Dementia" +19 = "Diabetes Mellitus (all types)" +20 = "Disease of liver" +21 = "Disorder of lipid metabolism" +22 = "Disorder of pulmonary circulation" +23 = "Essential hypertension" +24 = "Heart valve disorder" +25 = "Hemiplegia" +26 = "Human immunodeficiency virus [HIV] disease" +27 = "Hyperthyroidism" +28 = "Hypothyroidism" +29 = "Immunosuppression" +30 = "Ischaemic Heart Disease" +31 = "Leukemia" +32 = "Malignant lymphoma" +33 = "Metastatic carcinoid tumor Cancer" +34 = "Moderate or Severe Liver Disease" +35 = "Moderate or Severe Renal Disease" +36 = "Multiple Myeloma" +37 = "Myocardial Infarction" +38 = "Neurodegenerative Disorders" +39 = "Neurological disorder confirmed" +40 = "Obesity" +41 = "Paraplegia" +42 = "Peripheral Vascular Disease" +43 = "Primary malignant neoplasm" +44 = "Psychoactive substance use disorder" +45 = "Rare Diseases and Inborn Errors of Metabolism" +46 = "Reactive psychoses" +47 = "Recurrent deep vein thrombosis" +48 = "Rheumatoid Disorders" +49 = "Smoking" +50 = "Solid tumor configuration" +51 = "Stroke" +52 = "Transplant present" +53 = "Tuberculosis" +54 = "Undifferentiated connective tissue disease" +55 = "Osteoarthritis" +56 = "Rheumatoid arthritis" +57 = "Multiple sclerosis" +58 = "Alzheimer's disease" + +[[long]] +attribute = "medic_cpox" +value = { field = "medic_cpox", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "medic_cpox", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "medic_meas" +value = { field = "medic_meas", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "medic_meas", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "medic_actshingles" +value = { field = "medic_actshingles", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "medic_actshingles", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "medic_acthcv" +value = { field = "medic_acthcv", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "medic_acthcv", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "medic_acthbv" +value = { field = "medic_acthbv", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "medic_acthbv", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "medic_mumps" +value = { field = "medic_mumps", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "medic_mumps", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "medic_zika" +value = { field = "medic_zika", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "medic_zika", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "medic_dengue" +value = { field = "medic_dengue", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "medic_dengue", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "medic_enterovirus" +value = { field = "medic_enterovirus", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "medic_enterovirus", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "medic_polio" +value = { field = "medic_polio", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "medic_polio", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "medic_rickettsial" +value = { field = "medic_rickettsial", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "medic_rickettsial", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "medic_sti" +value = { field = "medic_sti", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "medic_sti", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "medic_sti_type" +value = { field = "medic_sti_type___1", values = { 1 = "Herpes Simplex Virus (HSV)" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "medic_sti_type" +value = { field = "medic_sti_type___2", values = { 1 = "Human Papillomavirus (HPV)" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "medic_sti_type" +value = { field = "medic_sti_type___3", values = { 1 = "Chlamydia" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "medic_sti_type" +value = { field = "medic_sti_type___4", values = { 1 = "Gonorrhoea" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "medic_sti_type" +value = { field = "medic_sti_type___5", values = { 1 = "Syphilis" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "medic_sti_type" +value = { field = "medic_sti_type___6", values = { 1 = "Mycoplasma genitalium" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "medic_sti_type" +value = { field = "medic_sti_type___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "medic_sti_type" +value = { field = "medic_sti_type___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "medic_sti_type" +attribute_status = { field = "medic_sti_type___unk", values = { 1 = "UNK" } } +if = { medic_sti_type___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "medic_sti_type" +attribute_status = { field = "medic_sti_type___ni", values = { 1 = "NI" } } +if = { medic_sti_type___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "medic_sti_type" +attribute_status = { field = "medic_sti_type___nask", values = { 1 = "NASK" } } +if = { medic_sti_type___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "medic_sti_type" +attribute_status = { field = "medic_sti_type___na", values = { 1 = "NA" } } +if = { medic_sti_type___na = 1 } +ref = "presentation" + +[[long]] +attribute = "medic_sti_oth" +attribute_status = { field = "medic_sti_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "medic_sti_oth" + +[long.value.if] +all = [ + { medic_sti_oth = { "!=" = "UNK" } }, + { medic_sti_oth = { "!=" = "NI" } }, + { medic_sti_oth = { "!=" = "NASK" } }, + { medic_sti_oth = { "!=" = "NA" } }, + { medic_sti_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "medic_malaria" +value = { field = "medic_malaria", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "medic_malaria", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "medic_headinf" +value = { field = "medic_headinf", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "medic_headinf", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "medic_headinf_type" +value = { field = "medic_headinf_type___1", values = { 1 = "Chronic Suppurative Otitis Media" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "medic_headinf_type" +value = { field = "medic_headinf_type___2", values = { 1 = "Sinusitis" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "medic_headinf_type" +value = { field = "medic_headinf_type___3", values = { 1 = "Mastoiditis" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "medic_headinf_type" +value = { field = "medic_headinf_type___4", values = { 1 = "Orbital infection" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "medic_headinf_type" +value = { field = "medic_headinf_type___5", values = { 1 = "Dental infection" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "medic_headinf_type" +attribute_status = "VAL" +ref = "presentation" + +[long.value] +field = "medic_headinf_type___6" +values = { 1 = "Intracranial complication (e.g. Cerebral Venous Sinus Thrombosis)" } + +[[long]] +attribute = "medic_headinf_type" +value = { field = "medic_headinf_type___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "medic_headinf_type" +attribute_status = { field = "medic_headinf_type___unk", values = { 1 = "UNK" } } +if = { medic_headinf_type___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "medic_headinf_type" +attribute_status = { field = "medic_headinf_type___ni", values = { 1 = "NI" } } +if = { medic_headinf_type___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "medic_headinf_type" +attribute_status = { field = "medic_headinf_type___nask", values = { 1 = "NASK" } } +if = { medic_headinf_type___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "medic_headinf_type" +attribute_status = { field = "medic_headinf_type___na", values = { 1 = "NA" } } +if = { medic_headinf_type___na = 1 } +ref = "presentation" + +[[long]] +attribute = "medic_headinf_type_oth" +attribute_status = { field = "medic_headinf_type_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "medic_headinf_type_oth" + +[long.value.if] +all = [ + { medic_headinf_type_oth = { "!=" = "UNK" } }, + { medic_headinf_type_oth = { "!=" = "NI" } }, + { medic_headinf_type_oth = { "!=" = "NASK" } }, + { medic_headinf_type_oth = { "!=" = "NA" } }, + { medic_headinf_type_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "medic_headinj" +value = { field = "medic_headinj", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "medic_headinj", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "medic_neuroproc" +value = { field = "medic_neuroproc", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "medic_neuroproc", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "medic_neuroproc_date" +attribute_status = { field = "medic_neuroproc_date", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "medic_neuroproc_date" + +[long.value.if] +all = [ + { medic_neuroproc_date = { "!=" = "UNK" } }, + { medic_neuroproc_date = { "!=" = "NI" } }, + { medic_neuroproc_date = { "!=" = "NASK" } }, + { medic_neuroproc_date = { "!=" = "NA" } }, + { medic_neuroproc_date = { "!=" = "" } }, +] + +[[long]] +attribute = "medic_previnf" +value = { field = "medic_previnf", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "medic_previnf", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "medic_firstadm" +attribute_status = { field = "medic_firstadm", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "medic_firstadm" +values = { 1 = "Yes-admitted to hospital or ICU", 0 = "No", 99 = "Unknown" } + +[[long]] +attribute = "medic_infstartdate" +attribute_status = { field = "medic_infstartdate", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "medic_infstartdate" + +[long.value.if] +all = [ + { medic_infstartdate = { "!=" = "UNK" } }, + { medic_infstartdate = { "!=" = "NI" } }, + { medic_infstartdate = { "!=" = "NASK" } }, + { medic_infstartdate = { "!=" = "NA" } }, + { medic_infstartdate = { "!=" = "" } }, +] + +[[long]] +attribute = "medic_infenddate" +attribute_status = { field = "medic_infenddate", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "medic_infenddate" + +[long.value.if] +all = [ + { medic_infenddate = { "!=" = "UNK" } }, + { medic_infenddate = { "!=" = "NI" } }, + { medic_infenddate = { "!=" = "NASK" } }, + { medic_infenddate = { "!=" = "NA" } }, + { medic_infenddate = { "!=" = "" } }, +] + +[[long]] +attribute = "medic_labtest" +value = { field = "medic_labtest", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "medic_labtest", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "medic_previnf2" +value = { field = "medic_previnf2", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "medic_previnf2", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "medic_previnf2_adm" +attribute_status = { field = "medic_previnf2_adm", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "medic_previnf2_adm" +values = { 1 = "Yes-admitted to hospital or ICU", 0 = "No", 99 = "Unknown" } + +[[long]] +attribute = "medic_previnf2_startdate" +attribute_status = { field = "medic_previnf2_startdate", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "medic_previnf2_startdate" + +[long.value.if] +all = [ + { medic_previnf2_startdate = { "!=" = "UNK" } }, + { medic_previnf2_startdate = { "!=" = "NI" } }, + { medic_previnf2_startdate = { "!=" = "NASK" } }, + { medic_previnf2_startdate = { "!=" = "NA" } }, + { medic_previnf2_startdate = { "!=" = "" } }, +] + +[[long]] +attribute = "medic_previnf2_enddate" +attribute_status = { field = "medic_previnf2_enddate", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "medic_previnf2_enddate" + +[long.value.if] +all = [ + { medic_previnf2_enddate = { "!=" = "UNK" } }, + { medic_previnf2_enddate = { "!=" = "NI" } }, + { medic_previnf2_enddate = { "!=" = "NASK" } }, + { medic_previnf2_enddate = { "!=" = "NA" } }, + { medic_previnf2_enddate = { "!=" = "" } }, +] + +[[long]] +attribute = "medic_previnf3" +value = { field = "medic_previnf3", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "medic_previnf3", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "medic_previnf3_adm" +attribute_status = { field = "medic_previnf3_adm", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "medic_previnf3_adm" +values = { 1 = "Yes-admitted to hospital or ICU", 0 = "No", 99 = "Unknown" } + +[[long]] +attribute = "medic_previnf3_startdate" +attribute_status = { field = "medic_previnf3_startdate", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "medic_previnf3_startdate" + +[long.value.if] +all = [ + { medic_previnf3_startdate = { "!=" = "UNK" } }, + { medic_previnf3_startdate = { "!=" = "NI" } }, + { medic_previnf3_startdate = { "!=" = "NASK" } }, + { medic_previnf3_startdate = { "!=" = "NA" } }, + { medic_previnf3_startdate = { "!=" = "" } }, +] + +[[long]] +attribute = "medic_previnf3_enddate" +attribute_status = { field = "medic_previnf3_enddate", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "medic_previnf3_enddate" + +[long.value.if] +all = [ + { medic_previnf3_enddate = { "!=" = "UNK" } }, + { medic_previnf3_enddate = { "!=" = "NI" } }, + { medic_previnf3_enddate = { "!=" = "NASK" } }, + { medic_previnf3_enddate = { "!=" = "NA" } }, + { medic_previnf3_enddate = { "!=" = "" } }, +] + +[[long]] +attribute = "medic_cpoxpast" +value = { field = "medic_cpoxpast", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "medic_cpoxpast", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "medi_shingpast" +value = { field = "medi_shingpast", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "medi_shingpast", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "medic_mengpast" +value = { field = "medic_mengpast", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "medic_mengpast", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "medic_mengpast_type" +attribute_status = { field = "medic_mengpast_type", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "medic_mengpast_type" +values = { 1 = "Infectious", 2 = "Non infectious", 99 = "Unknown" } + +[[long]] +attribute = "medic_mengpast_when" +attribute_status = { field = "medic_mengpast_when", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "medic_mengpast_when" + +[long.value.values] +1 = "Within past 3 months" +2 = "3–12 months ago" +3 = "1–5 years ago" +4 = "More than 5 years ago" +99 = "Unknown" + +[[long]] +attribute = "drug14_antiviral" +value = { field = "drug14_antiviral", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "drug14_antiviral", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "drug14_antiviral_type" +value = { field = "drug14_antiviral_type___5", values = { 1 = "Brincidofovir" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antiviral_type" +value = { field = "drug14_antiviral_type___7", values = { 1 = "Cidofovir" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antiviral_type" +value = { field = "drug14_antiviral_type___30", values = { 1 = "Tecovirimat" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antiviral_type" +attribute_status = { field = "drug14_antiviral_type___unk", values = { 1 = "UNK" } } +if = { drug14_antiviral_type___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_antiviral_type" +attribute_status = { field = "drug14_antiviral_type___ni", values = { 1 = "NI" } } +if = { drug14_antiviral_type___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_antiviral_type" +attribute_status = { field = "drug14_antiviral_type___nask", values = { 1 = "NASK" } } +if = { drug14_antiviral_type___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_antiviral_type" +attribute_status = { field = "drug14_antiviral_type___na", values = { 1 = "NA" } } +if = { drug14_antiviral_type___na = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_antiviral_type" +attribute_status = { field = "drug14_antiviral_type_otherl2", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "drug14_antiviral_type_otherl2" +can_skip = true + +[long.value.values] +1 = "Aciclovir" +2 = "Amantadine" +3 = "Atazanavir" +4 = "Baloxavir marboxil" +5 = "Brincidofovir" +6 = "Bulevirtide" +7 = "Cidofovir" +8 = "Darunavir" +9 = "Dolutegravir" +10 = "Efavirenz" +11 = "Emtricitabine" +12 = "Famciclovir" +13 = "Favipiravir" +14 = "Fluoxetine" +15 = "Ganciclovir" +16 = "Lamivudine" +17 = "Laninamivir" +18 = "Lopinavir/Ritonavir" +19 = "Molnupiravir" +20 = "Nirmatrelvir/Retonavir (Paxlovid)" +21 = "Oseltamivir (Tamiflu)" +22 = "Penciclovir" +23 = "Peramivir" +24 = "Pleconaril" +25 = "Pocapavir" +26 = "Raltegravir" +27 = "Remdesivir" +28 = "Ribavirin" +29 = "Rimantadine" +30 = "Tecovirimat" +31 = "Tenofovir Disoproxil" +32 = "Tenofovir alafenamide" +33 = "Umifenovir" +34 = "Valaciclovir" +35 = "Valganciclovir" +36 = "Zalcitabine" +37 = "Zanamivir" +38 = "Zidovudine" + +[[long]] +attribute = "drug14_antiviral_type" +value = { field = "drug14_antiviral_type_otherl3", can_skip = true } +attribute_status = { field = "drug14_antiviral_type_otherl3", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "drug14_antiviral_route" +value = { field = "drug14_antiviral_route___1", values = { 1 = "Oral" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antiviral_route" +value = { field = "drug14_antiviral_route___2", values = { 1 = "Inhaled" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antiviral_route" +value = { field = "drug14_antiviral_route___3", values = { 1 = "IV" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antiviral_route" +value = { field = "drug14_antiviral_route___4", values = { 1 = "Topical" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antiviral_route" +value = { field = "drug14_antiviral_route___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antiviral_route" +attribute_status = { field = "drug14_antiviral_route___unk", values = { 1 = "UNK" } } +if = { drug14_antiviral_route___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_antiviral_route" +attribute_status = { field = "drug14_antiviral_route___ni", values = { 1 = "NI" } } +if = { drug14_antiviral_route___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_antiviral_route" +attribute_status = { field = "drug14_antiviral_route___nask", values = { 1 = "NASK" } } +if = { drug14_antiviral_route___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_antiviral_route" +attribute_status = { field = "drug14_antiviral_route___na", values = { 1 = "NA" } } +if = { drug14_antiviral_route___na = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_antiviraldate" +attribute_status = { field = "drug14_antiviraldate", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "drug14_antiviraldate" + +[long.value.if] +all = [ + { drug14_antiviraldate = { "!=" = "UNK" } }, + { drug14_antiviraldate = { "!=" = "NI" } }, + { drug14_antiviraldate = { "!=" = "NASK" } }, + { drug14_antiviraldate = { "!=" = "NA" } }, + { drug14_antiviraldate = { "!=" = "" } }, +] + +[[long]] +attribute = "drug14_antiviralday" +attribute_status = { field = "drug14_antiviralday", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "drug14_antiviralday" + +[long.value_num.if] +all = [ + { drug14_antiviralday = { "!=" = "UNK" } }, + { drug14_antiviralday = { "!=" = "NI" } }, + { drug14_antiviralday = { "!=" = "NASK" } }, + { drug14_antiviralday = { "!=" = "NA" } }, + { drug14_antiviralday = { "!=" = "" } }, +] + +[[long]] +attribute = "drug14_steroid" +value = { field = "drug14_steroid", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "drug14_steroid", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "drug14_steroid_type" +value = { field = "drug14_steroid_type___5", values = { 1 = "Dexamethasone" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_steroid_type" +value = { field = "drug14_steroid_type___8", values = { 1 = "Hydrocortisone" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_steroid_type" +value = { field = "drug14_steroid_type___9", values = { 1 = "Methylprednisolone" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_steroid_type" +value = { field = "drug14_steroid_type___11", values = { 1 = "Prednisolone" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_steroid_type" +value = { field = "drug14_steroid_type___12", values = { 1 = "Prednisone" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_steroid_type" +attribute_status = { field = "drug14_steroid_type___unk", values = { 1 = "UNK" } } +if = { drug14_steroid_type___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_steroid_type" +attribute_status = { field = "drug14_steroid_type___ni", values = { 1 = "NI" } } +if = { drug14_steroid_type___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_steroid_type" +attribute_status = { field = "drug14_steroid_type___nask", values = { 1 = "NASK" } } +if = { drug14_steroid_type___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_steroid_type" +attribute_status = { field = "drug14_steroid_type___na", values = { 1 = "NA" } } +if = { drug14_steroid_type___na = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_steroid_type" +attribute_status = { field = "drug14_steroid_type_otherl2", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "drug14_steroid_type_otherl2" +can_skip = true + +[long.value.values] +1 = "Beclomethasone" +2 = "Betamethasone" +3 = "Budesonide" +4 = "Cortisone" +5 = "Dexamethasone" +6 = "Fludrocortisone" +7 = "Fluticasone" +8 = "Hydrocortisone" +9 = "Methylprednisolone" +10 = "Mometasone" +11 = "Prednisolone" +12 = "Prednisone" +13 = "Triamcinolone" + +[[long]] +attribute = "drug14_steroid_type" +value = { field = "drug14_steroid_type_otherl3", can_skip = true } +attribute_status = { field = "drug14_steroid_type_otherl3", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "drug14_steroid_route" +value = { field = "drug14_steroid_route___1", values = { 1 = "Oral" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_steroid_route" +value = { field = "drug14_steroid_route___2", values = { 1 = "Inhaled" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_steroid_route" +value = { field = "drug14_steroid_route___3", values = { 1 = "IV" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_steroid_route" +value = { field = "drug14_steroid_route___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_steroid_route" +attribute_status = { field = "drug14_steroid_route___unk", values = { 1 = "UNK" } } +if = { drug14_steroid_route___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_steroid_route" +attribute_status = { field = "drug14_steroid_route___ni", values = { 1 = "NI" } } +if = { drug14_steroid_route___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_steroid_route" +attribute_status = { field = "drug14_steroid_route___nask", values = { 1 = "NASK" } } +if = { drug14_steroid_route___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_steroid_route" +attribute_status = { field = "drug14_steroid_route___na", values = { 1 = "NA" } } +if = { drug14_steroid_route___na = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_steroid_date" +attribute_status = { field = "drug14_steroid_date", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "drug14_steroid_date" + +[long.value.if] +all = [ + { drug14_steroid_date = { "!=" = "UNK" } }, + { drug14_steroid_date = { "!=" = "NI" } }, + { drug14_steroid_date = { "!=" = "NASK" } }, + { drug14_steroid_date = { "!=" = "NA" } }, + { drug14_steroid_date = { "!=" = "" } }, +] + +[[long]] +attribute = "drug14_steroid_day" +attribute_status = { field = "drug14_steroid_day", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "drug14_steroid_day" + +[long.value_num.if] +all = [ + { drug14_steroid_day = { "!=" = "UNK" } }, + { drug14_steroid_day = { "!=" = "NI" } }, + { drug14_steroid_day = { "!=" = "NASK" } }, + { drug14_steroid_day = { "!=" = "NA" } }, + { drug14_steroid_day = { "!=" = "" } }, +] + +[[long]] +attribute = "drug14_steroid_dose" +attribute_status = { field = "drug14_steroid_dose", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "drug14_steroid_dose" + +[long.value_num.if] +all = [ + { drug14_steroid_dose = { "!=" = "UNK" } }, + { drug14_steroid_dose = { "!=" = "NI" } }, + { drug14_steroid_dose = { "!=" = "NASK" } }, + { drug14_steroid_dose = { "!=" = "NA" } }, + { drug14_steroid_dose = { "!=" = "" } }, +] + +[[long]] +attribute = "drug14_steroid_dose_unit" +attribute_status = { field = "drug14_steroid_dose_unit", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "drug14_steroid_dose_unit" + +[long.value.if] +all = [ + { drug14_steroid_dose_unit = { "!=" = "UNK" } }, + { drug14_steroid_dose_unit = { "!=" = "NI" } }, + { drug14_steroid_dose_unit = { "!=" = "NASK" } }, + { drug14_steroid_dose_unit = { "!=" = "NA" } }, + { drug14_steroid_dose_unit = { "!=" = "" } }, +] + +[[long]] +attribute = "drug14_immunusupp" +value = { field = "drug14_immunusupp", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "drug14_immunusupp", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "drug14_immunusupp_type" +value = { field = "drug14_immunusupp_type___2", values = { 1 = "Adalimumab (Humira)" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_immunusupp_type" +value = { field = "drug14_immunusupp_type___5", values = { 1 = "Azathioprine" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_immunusupp_type" +value = { field = "drug14_immunusupp_type___8", values = { 1 = "Ciclosporin" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_immunusupp_type" +value = { field = "drug14_immunusupp_type___9", values = { 1 = "Etanercept" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_immunusupp_type" +value = { field = "drug14_immunusupp_type___11", values = { 1 = "Infliximab" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_immunusupp_type" +value = { field = "drug14_immunusupp_type___14", values = { 1 = "Methotrexate" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_immunusupp_type" +value = { field = "drug14_immunusupp_type___15", values = { 1 = "Mycophenolate Mofetil" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_immunusupp_type" +value = { field = "drug14_immunusupp_type___16", values = { 1 = "Mycophenolic Acid" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_immunusupp_type" +value = { field = "drug14_immunusupp_type___19", values = { 1 = "Rituximab" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_immunusupp_type" +value = { field = "drug14_immunusupp_type___20", values = { 1 = "Sarilumab" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_immunusupp_type" +value = { field = "drug14_immunusupp_type___23", values = { 1 = "Tacrolimus" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_immunusupp_type" +value = { field = "drug14_immunusupp_type___25", values = { 1 = "Tocilizumab" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_immunusupp_type" +attribute_status = { field = "drug14_immunusupp_type___unk", values = { 1 = "UNK" } } +if = { drug14_immunusupp_type___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_immunusupp_type" +attribute_status = { field = "drug14_immunusupp_type___ni", values = { 1 = "NI" } } +if = { drug14_immunusupp_type___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_immunusupp_type" +attribute_status = { field = "drug14_immunusupp_type___nask", values = { 1 = "NASK" } } +if = { drug14_immunusupp_type___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_immunusupp_type" +attribute_status = { field = "drug14_immunusupp_type___na", values = { 1 = "NA" } } +if = { drug14_immunusupp_type___na = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_immunusupp_type" +attribute_status = { field = "drug14_immunusupp_type_otherl2", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "drug14_immunusupp_type_otherl2" +can_skip = true + +[long.value.values] +1 = "Abatacept" +2 = "Adalimumab (Humira)" +3 = "Alemtuzumab" +4 = "Anakinra" +5 = "Azathioprine" +6 = "Basiliximab" +7 = "Belatacept" +8 = "Ciclosporin" +9 = "Etanercept" +10 = "Everolimus" +11 = "Infliximab" +12 = "Leflunomide" +13 = "Mercaptopurine" +14 = "Methotrexate" +15 = "Mycophenolate Mofetil" +16 = "Mycophenolic Acid" +17 = "Natalizumab" +18 = "Nivolumab" +19 = "Rituximab" +20 = "Sarilumab" +21 = "Secukinumab" +22 = "Sirolimus" +23 = "Tacrolimus" +24 = "Thalidomide" +25 = "Tocilizumab" +26 = "Ustekinumab" +27 = "Vedolizumab" + +[[long]] +attribute = "drug14_immunusupp_type" +value = { field = "drug14_immunusupp_type_otherl3", can_skip = true } +attribute_status = { field = "drug14_immunusupp_type_otherl3", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "drug14_immunusupp_days" +attribute_status = { field = "drug14_immunusupp_days", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "drug14_immunusupp_days" + +[long.value_num.if] +all = [ + { drug14_immunusupp_days = { "!=" = "UNK" } }, + { drug14_immunusupp_days = { "!=" = "NI" } }, + { drug14_immunusupp_days = { "!=" = "NASK" } }, + { drug14_immunusupp_days = { "!=" = "NA" } }, + { drug14_immunusupp_days = { "!=" = "" } }, +] + +[[long]] +attribute = "drug14_antibiotic" +value = { field = "drug14_antibiotic", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "drug14_antibiotic", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___1", values = { 1 = "Amikacin" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___2", values = { 1 = "Amoxicillin" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +attribute_status = "VAL" +ref = "presentation" + +[long.value] +field = "drug14_antibiotic_type___3" +values = { 1 = "Amoxicillin/Beta-lactamase inhibitor" } +can_skip = true + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___5", values = { 1 = "Ampicillin" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +attribute_status = "VAL" +ref = "presentation" + +[long.value] +field = "drug14_antibiotic_type___6" +values = { 1 = "Ampicillin/Beta-lactamase inhibitor" } +can_skip = true + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___8", values = { 1 = "Azithromycin" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___13", values = { 1 = "Benzylpenicillin" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___19", values = { 1 = "Cefalexin" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___21", values = { 1 = "Cefazolin" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___24", values = { 1 = "Cefepime" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___28", values = { 1 = "Cefotaxime" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___33", values = { 1 = "Ceftaroline Fosamil" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___34", values = { 1 = "Ceftazidime" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +attribute_status = "VAL" +ref = "presentation" + +[long.value] +field = "drug14_antibiotic_type___38" +values = { 1 = "Ceftobiprole Medocaril" } +can_skip = true + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___39", values = { 1 = "Ceftriaxone" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___40", values = { 1 = "Cefuroxime" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___47", values = { 1 = "Ciprofloxacin" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___48", values = { 1 = "Clarithromycin" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___49", values = { 1 = "Clindamycin" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___58", values = { 1 = "Doxycycline" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___60", values = { 1 = "Ertapenem" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___61", values = { 1 = "Erythromycin" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___63", values = { 1 = "Flucloxacillin" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___64", values = { 1 = "Fluconazole" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___65", values = { 1 = "Fosfomycin" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___69", values = { 1 = "Gentamicin" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___71", values = { 1 = "Imipenem/Cilastatin" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___72", values = { 1 = "Isoniazid" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___74", values = { 1 = "Levofloxacin" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___76", values = { 1 = "Linezolid" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___78", values = { 1 = "Meropenem" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___81", values = { 1 = "Metronidazole" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___84", values = { 1 = "Moxifloxacin" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___91", values = { 1 = "Nitrofurantoin" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +attribute_status = "VAL" +ref = "presentation" + +[long.value] +field = "drug14_antibiotic_type___98" +values = { 1 = "Piperacillin/Beta-lactamase inhibitor" } +can_skip = true + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___100", values = { 1 = "Pivmecillinam" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___107", values = { 1 = "Rifampicin" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___109", values = { 1 = "Rifaximin" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___115", values = { 1 = "Sulfamethoxazole" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +attribute_status = "VAL" +ref = "presentation" + +[long.value] +field = "drug14_antibiotic_type___116" +values = { 1 = "Sulfamethoxazole/Trimethoprim" } +can_skip = true + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___124", values = { 1 = "Tigecycline" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___125", values = { 1 = "Tobramycin" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___126", values = { 1 = "Trimethoprim" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type___128", values = { 1 = "Vancomycin" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +attribute_status = { field = "drug14_antibiotic_type___unk", values = { 1 = "UNK" } } +if = { drug14_antibiotic_type___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +attribute_status = { field = "drug14_antibiotic_type___ni", values = { 1 = "NI" } } +if = { drug14_antibiotic_type___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +attribute_status = { field = "drug14_antibiotic_type___nask", values = { 1 = "NASK" } } +if = { drug14_antibiotic_type___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +attribute_status = { field = "drug14_antibiotic_type___na", values = { 1 = "NA" } } +if = { drug14_antibiotic_type___na = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_antibiotic_type" +attribute_status = { field = "drug14_antibiotic_type_otherl2", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "drug14_antibiotic_type_otherl2" +can_skip = true + +[long.value.values] +1 = "Amikacin" +2 = "Amoxicillin" +3 = "Amoxicillin/Beta-lactamase inhibitor" +4 = "Amphotericin" +5 = "Ampicillin" +6 = "Ampicillin/Beta-lactamase inhibitor" +7 = "Atovaquone" +8 = "Azithromycin" +9 = "Aztreonam" +10 = "Bacampicillin" +11 = "Bacitracin" +12 = "Benzathine phenoxymethylpenicillin" +13 = "Benzylpenicillin" +14 = "Capreomycin" +15 = "Carbenicillin indanyl sodium" +16 = "Caspofungin" +17 = "Cefaclor" +18 = "Cefadroxil" +19 = "Cefalexin" +20 = "Cefamandole" +21 = "Cefazolin" +22 = "Cefdinir" +23 = "Cefditoren" +24 = "Cefepime" +25 = "Cefixime" +26 = "Cefmetazole" +27 = "Cefoperazone" +28 = "Cefotaxime" +29 = "Cefotetan" +30 = "Cefoxitin" +31 = "Cefpodoxime Proxetil" +32 = "Cefprozil" +33 = "Ceftaroline Fosamil" +34 = "Ceftazidime" +35 = "Ceftazidime/beta-lactamase inhibitor" +36 = "Ceftibuten" +37 = "Ceftizoxime" +38 = "Ceftobiprole Medocaril" +39 = "Ceftriaxone" +40 = "Cefuroxime" +41 = "Cephalexin" +42 = "Cephalothin" +43 = "Cephapirin" +44 = "Cephradine" +45 = "Chloramphenicol" +46 = "Cinoxacin" +47 = "Ciprofloxacin" +48 = "Clarithromycin" +49 = "Clindamycin" +50 = "Cloxacillin" +51 = "Colistin" +52 = "Cycloserine" +53 = "Daptomycin" +54 = "Demeclocycline" +55 = "Dicloxacillin" +56 = "Dirithromycin" +57 = "Doripenem" +58 = "Doxycycline" +59 = "Enoxacin" +60 = "Ertapenem" +61 = "Erythromycin" +62 = "Ethambutol" +63 = "Flucloxacillin" +64 = "Fluconazole" +65 = "Fosfomycin" +66 = "Fusidic acid" +67 = "Gatifloxacin" +68 = "Gemifloxacin" +69 = "Gentamicin" +70 = "Grepafloxacin" +71 = "Imipenem/Cilastatin" +72 = "Isoniazid" +73 = "Kanamycin" +74 = "Levofloxacin" +75 = "Lincomycin" +76 = "Linezolid" +77 = "Lomefloxacin" +78 = "Meropenem" +79 = "Methenamine hippurate" +80 = "Methicillin" +81 = "Metronidazole" +82 = "Mezlocillin" +83 = "Minocycline" +84 = "Moxifloxacin" +85 = "Nafcillin" +86 = "Nalidixic Acid" +87 = "Neomycin" +89 = "Netilmicin" +90 = "Nitrofural" +91 = "Nitrofurantoin" +92 = "Norfloxacin" +93 = "Novobiocin" +94 = "Ofloxacin" +95 = "Oxacillin" +96 = "Oxytetracycline" +97 = "Piperacillin" +98 = "Piperacillin/Beta-lactamase inhibitor" +100 = "Pivmecillinam" +101 = "Plazomicin" +102 = "Polymyxin B" +103 = "Procaine benzylpenicillin" +104 = "Pyrazinamide" +105 = "Quinupristin/Dalfopristin" +106 = "Retapamulin" +107 = "Rifampicin" +108 = "Rifapentine" +109 = "Rifaximin" +110 = "Roxithromycin" +111 = "Sparfloxacin" +112 = "Spectinomycin" +113 = "Streptomycin" +114 = "Sulfadiazine" +115 = "Sulfamethoxazole" +116 = "Sulfamethoxazole/Trimethoprim" +117 = "Sulfisoxazole" +118 = "Teicoplanin" +119 = "Telavancin" +120 = "Telithromycin" +121 = "Tetracycline" +122 = "Ticarcillin" +123 = "Ticarcillin/Beta-lactamase inhibitor" +124 = "Tigecycline" +125 = "Tobramycin" +126 = "Trimethoprim" +127 = "Trovafloxacin" +128 = "Vancomycin" +129 = "Voriconazole" +130 = "Xibornol" + +[[long]] +attribute = "drug14_antibiotic_type" +value = { field = "drug14_antibiotic_type_otherl3", can_skip = true } +attribute_status = { field = "drug14_antibiotic_type_otherl3", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "drug14_nsaid" +value = { field = "drug14_nsaid", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "drug14_nsaid", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "drug14_nsaid_type" +attribute_status = "VAL" +ref = "presentation" + +[long.value] +field = "drug14_nsaid_type___1" +values = { 1 = "Acetylsalicylic acid (Aspirin)" } +can_skip = true + +[[long]] +attribute = "drug14_nsaid_type" +value = { field = "drug14_nsaid_type___2", values = { 1 = "Celecoxib" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_nsaid_type" +value = { field = "drug14_nsaid_type___3", values = { 1 = "Diclofenac" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_nsaid_type" +value = { field = "drug14_nsaid_type___6", values = { 1 = "Ibuprofen" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_nsaid_type" +value = { field = "drug14_nsaid_type___7", values = { 1 = "Indomethacin" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_nsaid_type" +value = { field = "drug14_nsaid_type___13", values = { 1 = "Naproxen" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_nsaid_type" +attribute_status = { field = "drug14_nsaid_type___unk", values = { 1 = "UNK" } } +if = { drug14_nsaid_type___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_nsaid_type" +attribute_status = { field = "drug14_nsaid_type___ni", values = { 1 = "NI" } } +if = { drug14_nsaid_type___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_nsaid_type" +attribute_status = { field = "drug14_nsaid_type___nask", values = { 1 = "NASK" } } +if = { drug14_nsaid_type___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_nsaid_type" +attribute_status = { field = "drug14_nsaid_type___na", values = { 1 = "NA" } } +if = { drug14_nsaid_type___na = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_nsaid_type" +attribute_status = { field = "drug14_nsaid_type_otherl2", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "drug14_nsaid_type_otherl2" +can_skip = true + +[long.value.values] +1 = "Acetylsalicylic acid (Aspirin)" +2 = "Celecoxib" +3 = "Diclofenac" +4 = "Etoricoxib" +5 = "Flurbiprofen" +6 = "Ibuprofen" +7 = "Indomethacin" +8 = "Ketoprofen" +9 = "Ketorolac" +10 = "Mefenamic Acid" +11 = "Meloxicam" +12 = "Nabumetone" +13 = "Naproxen" +14 = "Piroxicam" +15 = "Sulindac" + +[[long]] +attribute = "drug14_nsaid_type" +value = { field = "drug14_nsaid_type_otherl3", can_skip = true } +attribute_status = { field = "drug14_nsaid_type_otherl3", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "drug14_nsaid_dose" +attribute_status = { field = "drug14_nsaid_dose", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "drug14_nsaid_dose" + +[long.value_num.if] +all = [ + { drug14_nsaid_dose = { "!=" = "UNK" } }, + { drug14_nsaid_dose = { "!=" = "NI" } }, + { drug14_nsaid_dose = { "!=" = "NASK" } }, + { drug14_nsaid_dose = { "!=" = "NA" } }, + { drug14_nsaid_dose = { "!=" = "" } }, +] + +[[long]] +attribute = "drug14_nsaid_dur" +attribute_status = { field = "drug14_nsaid_dur", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "drug14_nsaid_dur" + +[long.value_num.if] +all = [ + { drug14_nsaid_dur = { "!=" = "UNK" } }, + { drug14_nsaid_dur = { "!=" = "NI" } }, + { drug14_nsaid_dur = { "!=" = "NASK" } }, + { drug14_nsaid_dur = { "!=" = "NA" } }, + { drug14_nsaid_dur = { "!=" = "" } }, +] + +[[long]] +attribute = "drug14_analg" +value = { field = "drug14_analg", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "drug14_analg", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "drug14_analg_type" +value = { field = "drug14_analg_type___1", values = { 1 = "Paracetamol (Acetaminophen)" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_analg_type" +value = { field = "drug14_analg_type___2", values = { 1 = "Metamizole (Dipyrone)" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_analg_type" +value = { field = "drug14_analg_type___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_analg_type" +attribute_status = { field = "drug14_analg_type___unk", values = { 1 = "UNK" } } +if = { drug14_analg_type___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_analg_type" +attribute_status = { field = "drug14_analg_type___ni", values = { 1 = "NI" } } +if = { drug14_analg_type___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_analg_type" +attribute_status = { field = "drug14_analg_type___nask", values = { 1 = "NASK" } } +if = { drug14_analg_type___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_analg_type" +attribute_status = { field = "drug14_analg_type___na", values = { 1 = "NA" } } +if = { drug14_analg_type___na = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_analg_type_oth" +attribute_status = { field = "drug14_analg_type_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "drug14_analg_type_oth" + +[long.value.if] +all = [ + { drug14_analg_type_oth = { "!=" = "UNK" } }, + { drug14_analg_type_oth = { "!=" = "NI" } }, + { drug14_analg_type_oth = { "!=" = "NASK" } }, + { drug14_analg_type_oth = { "!=" = "NA" } }, + { drug14_analg_type_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "drug14_opio" +value = { field = "drug14_opio", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "drug14_opio", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "drug14_dmard" +value = { field = "drug14_dmard", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "drug14_dmard", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "drug14_dmard_type" +value = { field = "drug14_dmard_type___1", values = { 1 = "Methotrexate" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_dmard_type" +value = { field = "drug14_dmard_type___2", values = { 1 = "Sulfasalazine" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_dmard_type" +value = { field = "drug14_dmard_type___3", values = { 1 = "Hydroxychloroquine" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_dmard_type" +value = { field = "drug14_dmard_type___4", values = { 1 = "Leflunomide" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_dmard_type" +value = { field = "drug14_dmard_type___5", values = { 1 = "Azathioprine" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_dmard_type" +attribute_status = "VAL" +ref = "presentation" + +[long.value] +field = "drug14_dmard_type___6" +values = { 1 = "TNF inhibitors (e.g., adalimumab, infliximab, etanercept)" } + +[[long]] +attribute = "drug14_dmard_type" +value = { field = "drug14_dmard_type___7", values = { 1 = "IL-6 inhibitors (e.g., tocilizumab)" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_dmard_type" +value = { field = "drug14_dmard_type___8", values = { 1 = "B-cell inhibitors (e.g., rituximab)" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_dmard_type" +attribute_status = "VAL" +ref = "presentation" + +[long.value] +field = "drug14_dmard_type___9" +values = { 1 = "T-cell co-stimulation inhibitors (e.g., abatacept)" } + +[[long]] +attribute = "drug14_dmard_type" +value = { field = "drug14_dmard_type___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_dmard_type" +attribute_status = { field = "drug14_dmard_type___unk", values = { 1 = "UNK" } } +if = { drug14_dmard_type___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_dmard_type" +attribute_status = { field = "drug14_dmard_type___ni", values = { 1 = "NI" } } +if = { drug14_dmard_type___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_dmard_type" +attribute_status = { field = "drug14_dmard_type___nask", values = { 1 = "NASK" } } +if = { drug14_dmard_type___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_dmard_type" +attribute_status = { field = "drug14_dmard_type___na", values = { 1 = "NA" } } +if = { drug14_dmard_type___na = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_anticoagul" +value = { field = "drug14_anticoagul", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "drug14_anticoagul", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "drug14_anticoagul_type" +attribute_status = "VAL" +ref = "presentation" + +[long.value] +field = "drug14_anticoagul_type___1" +values = { 1 = "Acetylsalicylic Acid (Aspirin)" } +can_skip = true + +[[long]] +attribute = "drug14_anticoagul_type" +value = { field = "drug14_anticoagul_type___3", values = { 1 = "Apixaban" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_anticoagul_type" +value = { field = "drug14_anticoagul_type___6", values = { 1 = "Clopidogrel" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_anticoagul_type" +value = { field = "drug14_anticoagul_type___7", values = { 1 = "Dabigatran Etexilate" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_anticoagul_type" +value = { field = "drug14_anticoagul_type___11", values = { 1 = "Enoxaparin" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_anticoagul_type" +value = { field = "drug14_anticoagul_type___13", values = { 1 = "Heparin" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_anticoagul_type" +value = { field = "drug14_anticoagul_type___15", values = { 1 = "Rivaroxaban" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_anticoagul_type" +value = { field = "drug14_anticoagul_type___17", values = { 1 = "Ticagrelor" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_anticoagul_type" +value = { field = "drug14_anticoagul_type___21", values = { 1 = "Warfarin" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_anticoagul_type" +attribute_status = { field = "drug14_anticoagul_type___unk", values = { 1 = "UNK" } } +if = { drug14_anticoagul_type___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_anticoagul_type" +attribute_status = { field = "drug14_anticoagul_type___ni", values = { 1 = "NI" } } +if = { drug14_anticoagul_type___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_anticoagul_type" +attribute_status = { field = "drug14_anticoagul_type___nask", values = { 1 = "NASK" } } +if = { drug14_anticoagul_type___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_anticoagul_type" +attribute_status = { field = "drug14_anticoagul_type___na", values = { 1 = "NA" } } +if = { drug14_anticoagul_type___na = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_anticoagul_type" +attribute_status = { field = "drug14_anticoagul_type_otherl2", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "drug14_anticoagul_type_otherl2" +can_skip = true + +[long.value.values] +1 = "Acetylsalicylic Acid (Aspirin)" +2 = "Alteplase" +3 = "Apixaban" +4 = "Argatroban" +5 = "Bivalirudin" +6 = "Clopidogrel" +7 = "Dabigatran Etexilate" +8 = "Dalteparin" +9 = "Desirudin" +10 = "Edoxaban" +11 = "Enoxaparin" +12 = "Fondaparinux" +13 = "Heparin" +14 = "Lepirudin" +15 = "Rivaroxaban" +16 = "Streptokinase" +17 = "Ticagrelor" +18 = "Ticlopidine" +19 = "Tinzaparin" +20 = "Urokinase" +21 = "Warfarin" + +[[long]] +attribute = "drug14_anticoagul_type" +value = { field = "drug14_anticoagul_type_otherl3", can_skip = true } +attribute_status = { field = "drug14_anticoagul_type_otherl3", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "drug14_ivfluid" +value = { field = "drug14_ivfluid", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "drug14_ivfluid", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "drug14_ivfluid_type" +attribute_status = "VAL" +ref = "presentation" + +[long.value] +field = "drug14_ivfluid_type___1" +values = { 1 = "0.18%-0.3% Sodium Chloride + 4% Glucose (Hypotonic saline with dextrose)" } +can_skip = true + +[[long]] +attribute = "drug14_ivfluid_type" +attribute_status = "VAL" +ref = "presentation" + +[long.value] +field = "drug14_ivfluid_type___2" +values = { 1 = "0.45% Sodium Chloride (Half-normal saline)" } +can_skip = true + +[[long]] +attribute = "drug14_ivfluid_type" +attribute_status = "VAL" +ref = "presentation" + +[long.value] +field = "drug14_ivfluid_type___3" +values = { 1 = "0.45% normal saline + 4% Glucose (Half-normal saline with dextrose)" } +can_skip = true + +[[long]] +attribute = "drug14_ivfluid_type" +attribute_status = "VAL" +ref = "presentation" + +[long.value] +field = "drug14_ivfluid_type___4" +values = { 1 = "0.9% Sodium Chloride (Normal Saline)" } +can_skip = true + +[[long]] +attribute = "drug14_ivfluid_type" +attribute_status = "VAL" +ref = "presentation" + +[long.value] +field = "drug14_ivfluid_type___5" +values = { 1 = "5% Glucose (Dextrose 5% in Water)" } +can_skip = true + +[[long]] +attribute = "drug14_ivfluid_type" +value = { field = "drug14_ivfluid_type___6", values = { 1 = "Albumin" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_ivfluid_type" +value = { field = "drug14_ivfluid_type___7", values = { 1 = "Gelatins" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_ivfluid_type" +value = { field = "drug14_ivfluid_type___8", values = { 1 = "Lactated Ringers(USP)" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_ivfluid_type" +value = { field = "drug14_ivfluid_type___9", values = { 1 = "Plasmalyte" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_ivfluid_type" +value = { field = "drug14_ivfluid_type___10", values = { 1 = "Ringers acetate" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_ivfluid_type" +value = { field = "drug14_ivfluid_type___11", values = { 1 = "Starches" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_ivfluid_type" +attribute_status = { field = "drug14_ivfluid_type___unk", values = { 1 = "UNK" } } +if = { drug14_ivfluid_type___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_ivfluid_type" +attribute_status = { field = "drug14_ivfluid_type___ni", values = { 1 = "NI" } } +if = { drug14_ivfluid_type___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_ivfluid_type" +attribute_status = { field = "drug14_ivfluid_type___nask", values = { 1 = "NASK" } } +if = { drug14_ivfluid_type___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_ivfluid_type" +attribute_status = { field = "drug14_ivfluid_type___na", values = { 1 = "NA" } } +if = { drug14_ivfluid_type___na = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_ivfluid_type" +attribute_status = { field = "drug14_ivfluid_type_otherl2", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "drug14_ivfluid_type_otherl2" +can_skip = true + +[long.value.values] +1 = "0.18%-0.3% Sodium Chloride + 4% Glucose (Hypotonic saline with dextrose)" +2 = "0.45% Sodium Chloride (Half-normal saline)" +3 = "0.45% normal saline + 4% Glucose (Half-normal saline with dextrose)" +4 = "0.9% Sodium Chloride (Normal Saline)" +5 = "5% Glucose (Dextrose 5% in Water)" +6 = "Albumin" +7 = "Gelatins" +8 = "Lactated Ringers(USP)" +9 = "Plasmalyte" +10 = "Ringers acetate" +11 = "Starches" + +[[long]] +attribute = "drug14_ivfluid_type" +value = { field = "drug14_ivfluid_type_otherl3", can_skip = true } +attribute_status = { field = "drug14_ivfluid_type_otherl3", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "drug14_ivfluid_vol" +attribute_status = { field = "drug14_ivfluid_vol", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "drug14_ivfluid_vol" + +[long.value_num.if] +all = [ + { drug14_ivfluid_vol = { "!=" = "UNK" } }, + { drug14_ivfluid_vol = { "!=" = "NI" } }, + { drug14_ivfluid_vol = { "!=" = "NASK" } }, + { drug14_ivfluid_vol = { "!=" = "NA" } }, + { drug14_ivfluid_vol = { "!=" = "" } }, +] + +[[long]] +attribute = "drug14_ivfluid_reas" +value = { field = "drug14_ivfluid_reas___1", values = { 1 = "Shock" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_ivfluid_reas" +value = { field = "drug14_ivfluid_reas___2", values = { 1 = "High/rising haematocrit" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_ivfluid_reas" +value = { field = "drug14_ivfluid_reas___3", values = { 1 = "Anorexia" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_ivfluid_reas" +value = { field = "drug14_ivfluid_reas___4", values = { 1 = "Persistent vomiting" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_ivfluid_reas" +value = { field = "drug14_ivfluid_reas___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_ivfluid_reas" +attribute_status = { field = "drug14_ivfluid_reas___unk", values = { 1 = "UNK" } } +if = { drug14_ivfluid_reas___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_ivfluid_reas" +attribute_status = { field = "drug14_ivfluid_reas___ni", values = { 1 = "NI" } } +if = { drug14_ivfluid_reas___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_ivfluid_reas" +attribute_status = { field = "drug14_ivfluid_reas___nask", values = { 1 = "NASK" } } +if = { drug14_ivfluid_reas___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_ivfluid_reas" +attribute_status = { field = "drug14_ivfluid_reas___na", values = { 1 = "NA" } } +if = { drug14_ivfluid_reas___na = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_ivfluid_reas_oth" +attribute_status = { field = "drug14_ivfluid_reas_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "drug14_ivfluid_reas_oth" + +[long.value.if] +all = [ + { drug14_ivfluid_reas_oth = { "!=" = "UNK" } }, + { drug14_ivfluid_reas_oth = { "!=" = "NI" } }, + { drug14_ivfluid_reas_oth = { "!=" = "NASK" } }, + { drug14_ivfluid_reas_oth = { "!=" = "NA" } }, + { drug14_ivfluid_reas_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "drug14_fluid_oral" +value = { field = "drug14_fluid_oral", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "drug14_fluid_oral", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "drug14_fluid_oralvol" +attribute_status = { field = "drug14_fluid_oralvol", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "drug14_fluid_oralvol" + +[long.value_num.if] +all = [ + { drug14_fluid_oralvol = { "!=" = "UNK" } }, + { drug14_fluid_oralvol = { "!=" = "NI" } }, + { drug14_fluid_oralvol = { "!=" = "NASK" } }, + { drug14_fluid_oralvol = { "!=" = "NA" } }, + { drug14_fluid_oralvol = { "!=" = "" } }, +] + +[[long]] +attribute = "drug14_blood" +value = { field = "drug14_blood", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "drug14_blood", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "drug14_blood_type" +value = { field = "drug14_blood_type___1", values = { 1 = "Platelets" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_blood_type" +value = { field = "drug14_blood_type___2", values = { 1 = "Cryoprecipitate" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_blood_type" +value = { field = "drug14_blood_type___3", values = { 1 = "Whole blood" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_blood_type" +value = { field = "drug14_blood_type___4", values = { 1 = "Frozen fresh plasma" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_blood_type" +value = { field = "drug14_blood_type___5", values = { 1 = "Fibrinogen concentrate" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_blood_type" +value = { field = "drug14_blood_type___6", values = { 1 = "Packed RBC (red cell concentrate)" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_blood_type" +attribute_status = { field = "drug14_blood_type___unk", values = { 1 = "UNK" } } +if = { drug14_blood_type___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_blood_type" +attribute_status = { field = "drug14_blood_type___ni", values = { 1 = "NI" } } +if = { drug14_blood_type___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_blood_type" +attribute_status = { field = "drug14_blood_type___nask", values = { 1 = "NASK" } } +if = { drug14_blood_type___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_blood_type" +attribute_status = { field = "drug14_blood_type___na", values = { 1 = "NA" } } +if = { drug14_blood_type___na = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_blood_plate" +attribute_status = { field = "drug14_blood_plate", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "drug14_blood_plate" + +[long.value_num.if] +all = [ + { drug14_blood_plate = { "!=" = "UNK" } }, + { drug14_blood_plate = { "!=" = "NI" } }, + { drug14_blood_plate = { "!=" = "NASK" } }, + { drug14_blood_plate = { "!=" = "NA" } }, + { drug14_blood_plate = { "!=" = "" } }, +] + +[[long]] +attribute = "drug14_blood_cryo" +attribute_status = { field = "drug14_blood_cryo", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "drug14_blood_cryo" + +[long.value_num.if] +all = [ + { drug14_blood_cryo = { "!=" = "UNK" } }, + { drug14_blood_cryo = { "!=" = "NI" } }, + { drug14_blood_cryo = { "!=" = "NASK" } }, + { drug14_blood_cryo = { "!=" = "NA" } }, + { drug14_blood_cryo = { "!=" = "" } }, +] + +[[long]] +attribute = "drug14_blood_whole" +attribute_status = { field = "drug14_blood_whole", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "drug14_blood_whole" + +[long.value_num.if] +all = [ + { drug14_blood_whole = { "!=" = "UNK" } }, + { drug14_blood_whole = { "!=" = "NI" } }, + { drug14_blood_whole = { "!=" = "NASK" } }, + { drug14_blood_whole = { "!=" = "NA" } }, + { drug14_blood_whole = { "!=" = "" } }, +] + +[[long]] +attribute = "drug14_blood_plasma" +attribute_status = { field = "drug14_blood_plasma", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "drug14_blood_plasma" + +[long.value_num.if] +all = [ + { drug14_blood_plasma = { "!=" = "UNK" } }, + { drug14_blood_plasma = { "!=" = "NI" } }, + { drug14_blood_plasma = { "!=" = "NASK" } }, + { drug14_blood_plasma = { "!=" = "NA" } }, + { drug14_blood_plasma = { "!=" = "" } }, +] + +[[long]] +attribute = "drug14_blood_fibrin" +attribute_status = { field = "drug14_blood_fibrin", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "drug14_blood_fibrin" + +[long.value_num.if] +all = [ + { drug14_blood_fibrin = { "!=" = "UNK" } }, + { drug14_blood_fibrin = { "!=" = "NI" } }, + { drug14_blood_fibrin = { "!=" = "NASK" } }, + { drug14_blood_fibrin = { "!=" = "NA" } }, + { drug14_blood_fibrin = { "!=" = "" } }, +] + +[[long]] +attribute = "drug14_blood_rcc" +attribute_status = { field = "drug14_blood_rcc", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "drug14_blood_rcc" + +[long.value_num.if] +all = [ + { drug14_blood_rcc = { "!=" = "UNK" } }, + { drug14_blood_rcc = { "!=" = "NI" } }, + { drug14_blood_rcc = { "!=" = "NASK" } }, + { drug14_blood_rcc = { "!=" = "NA" } }, + { drug14_blood_rcc = { "!=" = "" } }, +] + +[[long]] +attribute = "drug14_antihypertensive" +value = { field = "drug14_antihypertensive", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "drug14_antihypertensive", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "drug14_antidiabetic" +value = { field = "drug14_antidiabetic", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "drug14_antidiabetic", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "drug14_lipidlowering" +value = { field = "drug14_lipidlowering", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "drug14_lipidlowering", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "drug14_antireflux" +value = { field = "drug14_antireflux", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "drug14_antireflux", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "drug14_antidepress" +value = { field = "drug14_antidepress", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "drug14_antidepress", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "drug14_antiepileptic" +value = { field = "drug14_antiepileptic", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "drug14_antiepileptic", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "drug14_herb" +value = { field = "drug14_herb", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "drug14_herb", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "drug14_herbreas" +attribute_status = { field = "drug14_herbreas", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "drug14_herbreas" + +[long.value.if] +all = [ + { drug14_herbreas = { "!=" = "UNK" } }, + { drug14_herbreas = { "!=" = "NI" } }, + { drug14_herbreas = { "!=" = "NASK" } }, + { drug14_herbreas = { "!=" = "NA" } }, + { drug14_herbreas = { "!=" = "" } }, +] + +[[long]] +attribute = "drug14_hivprep" +value = { field = "drug14_hivprep", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "drug14_hivprep", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "drug14_antimalarial" +value = { field = "drug14_antimalarial", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "drug14_antimalarial", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "drug14_antimalarial_type" +attribute_status = "VAL" +ref = "presentation" + +[long.value] +field = "drug14_antimalarial_type___1" +values = { 1 = "Artemether-Lumefantrine (Coartem, Riamet)" } + +[[long]] +attribute = "drug14_antimalarial_type" +value = { field = "drug14_antimalarial_type___2", values = { 1 = "Chloroquine (Aralen, Resochin)" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antimalarial_type" +value = { field = "drug14_antimalarial_type___3", values = { 1 = "Hydroxychloroquine (Plaquenil)" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antimalarial_type" +value = { field = "drug14_antimalarial_type___4", values = { 1 = "Quinine (Qualaquin)" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antimalarial_type" +value = { field = "drug14_antimalarial_type___5", values = { 1 = "Primaquine" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antimalarial_type" +value = { field = "drug14_antimalarial_type___6", values = { 1 = "Sulfadoxine" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antimalarial_type" +value = { field = "drug14_antimalarial_type___7", values = { 1 = "Pyrimethamine (Fansidar)" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antimalarial_type" +value = { field = "drug14_antimalarial_type___8", values = { 1 = "Artesunate" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antimalarial_type" +value = { field = "drug14_antimalarial_type___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "drug14_antimalarial_type" +attribute_status = { field = "drug14_antimalarial_type___unk", values = { 1 = "UNK" } } +if = { drug14_antimalarial_type___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_antimalarial_type" +attribute_status = { field = "drug14_antimalarial_type___ni", values = { 1 = "NI" } } +if = { drug14_antimalarial_type___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_antimalarial_type" +attribute_status = { field = "drug14_antimalarial_type___nask", values = { 1 = "NASK" } } +if = { drug14_antimalarial_type___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_antimalarial_type" +attribute_status = { field = "drug14_antimalarial_type___na", values = { 1 = "NA" } } +if = { drug14_antimalarial_type___na = 1 } +ref = "presentation" + +[[long]] +attribute = "drug14_antimalarial_type_oth" +attribute_status = { field = "drug14_antimalarial_type_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "drug14_antimalarial_type_oth" + +[long.value.if] +all = [ + { drug14_antimalarial_type_oth = { "!=" = "UNK" } }, + { drug14_antimalarial_type_oth = { "!=" = "NI" } }, + { drug14_antimalarial_type_oth = { "!=" = "NASK" } }, + { drug14_antimalarial_type_oth = { "!=" = "NA" } }, + { drug14_antimalarial_type_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "drug14_chemo" +value = { field = "drug14_chemo", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "drug14_chemo", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "drug14_unlisted" +value = { field = "drug14_unlisted", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "drug14_unlisted", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "drug14_unlisted_type" +attribute_status = { field = "drug14_unlisted_type", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "drug14_unlisted_type" + +[long.value.if] +all = [ + { drug14_unlisted_type = { "!=" = "UNK" } }, + { drug14_unlisted_type = { "!=" = "NI" } }, + { drug14_unlisted_type = { "!=" = "NASK" } }, + { drug14_unlisted_type = { "!=" = "NA" } }, + { drug14_unlisted_type = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_covid19" +value = { field = "vacci_covid19", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "vacci_covid19", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "vacci_covid19_date1" +attribute_status = { field = "vacci_covid19_date1", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_covid19_date1" + +[long.value.if] +all = [ + { vacci_covid19_date1 = { "!=" = "UNK" } }, + { vacci_covid19_date1 = { "!=" = "NI" } }, + { vacci_covid19_date1 = { "!=" = "NASK" } }, + { vacci_covid19_date1 = { "!=" = "NA" } }, + { vacci_covid19_date1 = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_covid19_type1" +attribute_status = { field = "vacci_covid19_type1", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_covid19_type1" + +[long.value.values] +1 = "Pfizer/BioNTech" +2 = "AstraZeneca/University of Oxford (Covishield in India)" +3 = "Moderna" +4 = "Novavax" +5 = "Janssen (Johnson & Johnson)" +6 = "Sinopharm" +7 = "Sinovac" +8 = "Sputnik V" +9 = "Covaxin" +10 = "CanSinoBIO" +99 = "Unknown" +0 = "Other, please specify" + +[[long]] +attribute = "vacci_covid19_type1_oth" +attribute_status = { field = "vacci_covid19_type1_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_covid19_type1_oth" + +[long.value.if] +all = [ + { vacci_covid19_type1_oth = { "!=" = "UNK" } }, + { vacci_covid19_type1_oth = { "!=" = "NI" } }, + { vacci_covid19_type1_oth = { "!=" = "NASK" } }, + { vacci_covid19_type1_oth = { "!=" = "NA" } }, + { vacci_covid19_type1_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_covid19_date2" +attribute_status = { field = "vacci_covid19_date2", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_covid19_date2" + +[long.value.if] +all = [ + { vacci_covid19_date2 = { "!=" = "UNK" } }, + { vacci_covid19_date2 = { "!=" = "NI" } }, + { vacci_covid19_date2 = { "!=" = "NASK" } }, + { vacci_covid19_date2 = { "!=" = "NA" } }, + { vacci_covid19_date2 = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_covid19_type2" +attribute_status = { field = "vacci_covid19_type2", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_covid19_type2" + +[long.value.values] +1 = "Pfizer/BioNTech" +2 = "AstraZeneca/University of Oxford (Covishield in India)" +3 = "Moderna" +4 = "Novavax" +5 = "Janssen (Johnson & Johnson)" +6 = "Sinopharm" +7 = "Sinovac" +8 = "Sputnik V" +9 = "Covaxin" +10 = "CanSinoBIO" +99 = "Unknown" +0 = "Other, please specify" + +[[long]] +attribute = "vacci_covid19_type2_oth" +attribute_status = { field = "vacci_covid19_type2_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_covid19_type2_oth" + +[long.value.if] +all = [ + { vacci_covid19_type2_oth = { "!=" = "UNK" } }, + { vacci_covid19_type2_oth = { "!=" = "NI" } }, + { vacci_covid19_type2_oth = { "!=" = "NASK" } }, + { vacci_covid19_type2_oth = { "!=" = "NA" } }, + { vacci_covid19_type2_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_covid19_date3" +attribute_status = { field = "vacci_covid19_date3", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_covid19_date3" + +[long.value.if] +all = [ + { vacci_covid19_date3 = { "!=" = "UNK" } }, + { vacci_covid19_date3 = { "!=" = "NI" } }, + { vacci_covid19_date3 = { "!=" = "NASK" } }, + { vacci_covid19_date3 = { "!=" = "NA" } }, + { vacci_covid19_date3 = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_covid19_type3" +attribute_status = { field = "vacci_covid19_type3", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_covid19_type3" + +[long.value.values] +1 = "Pfizer/BioNTech" +2 = "AstraZeneca/University of Oxford (Covishield in India)" +3 = "Moderna" +4 = "Novavax" +5 = "Janssen (Johnson & Johnson)" +6 = "Sinopharm" +7 = "Sinovac" +8 = "Sputnik V" +9 = "Covaxin" +10 = "CanSinoBIO" +99 = "Unknown" +0 = "Other, please specify" + +[[long]] +attribute = "vacci_covid19_type3_oth" +attribute_status = { field = "vacci_covid19_type3_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_covid19_type3_oth" + +[long.value.if] +all = [ + { vacci_covid19_type3_oth = { "!=" = "UNK" } }, + { vacci_covid19_type3_oth = { "!=" = "NI" } }, + { vacci_covid19_type3_oth = { "!=" = "NASK" } }, + { vacci_covid19_type3_oth = { "!=" = "NA" } }, + { vacci_covid19_type3_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_covid19_lastdate" +attribute_status = { field = "vacci_covid19_lastdate", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_covid19_lastdate" + +[long.value.if] +all = [ + { vacci_covid19_lastdate = { "!=" = "UNK" } }, + { vacci_covid19_lastdate = { "!=" = "NI" } }, + { vacci_covid19_lastdate = { "!=" = "NASK" } }, + { vacci_covid19_lastdate = { "!=" = "NA" } }, + { vacci_covid19_lastdate = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_covid19_lasttype" +attribute_status = { field = "vacci_covid19_lasttype", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_covid19_lasttype" + +[long.value.values] +1 = "Pfizer/BioNTech" +2 = "AstraZeneca/University of Oxford (Covishield in India)" +3 = "Moderna" +4 = "Novavax" +5 = "Janssen (Johnson & Johnson)" +6 = "Sinopharm" +7 = "Sinovac" +8 = "Sputnik V" +9 = "Covaxin" +10 = "CanSinoBIO" +99 = "Unknown" +88 = "Other" + +[[long]] +attribute = "vacci_covid19_lasttype_oth" +attribute_status = { field = "vacci_covid19_lasttype_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_covid19_lasttype_oth" + +[long.value.if] +all = [ + { vacci_covid19_lasttype_oth = { "!=" = "UNK" } }, + { vacci_covid19_lasttype_oth = { "!=" = "NI" } }, + { vacci_covid19_lasttype_oth = { "!=" = "NASK" } }, + { vacci_covid19_lasttype_oth = { "!=" = "NA" } }, + { vacci_covid19_lasttype_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_influenza" +value = { field = "vacci_influenza", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "vacci_influenza", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "vacci_influenza_date" +attribute_status = { field = "vacci_influenza_date", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_influenza_date" + +[long.value.if] +all = [ + { vacci_influenza_date = { "!=" = "UNK" } }, + { vacci_influenza_date = { "!=" = "NI" } }, + { vacci_influenza_date = { "!=" = "NASK" } }, + { vacci_influenza_date = { "!=" = "NA" } }, + { vacci_influenza_date = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_influenza_type" +attribute_status = { field = "vacci_influenza_type", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_influenza_type" + +[long.value.values] +1 = "Inactivated Influenza Vaccine (IIV)" +2 = "Live Attenuated Influenza Vaccine (LAIV)" +3 = "Recombinant Influenza Vaccine (RIV)" +4 = "Cell-Based Influenza Vaccine (ccIIV)" +5 = "Egg-Based Influenza Vaccine" +6 = "mRNA-Based Influenza Vaccines (Emerging Technology)" +99 = "Unknown" +88 = "Other" + +[[long]] +attribute = "vacci_influenza_type_oth" +attribute_status = { field = "vacci_influenza_type_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_influenza_type_oth" + +[long.value.if] +all = [ + { vacci_influenza_type_oth = { "!=" = "UNK" } }, + { vacci_influenza_type_oth = { "!=" = "NI" } }, + { vacci_influenza_type_oth = { "!=" = "NASK" } }, + { vacci_influenza_type_oth = { "!=" = "NA" } }, + { vacci_influenza_type_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_aviinflu" +value = { field = "vacci_aviinflu", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "vacci_aviinflu", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "vacci_aviinflu_date" +attribute_status = { field = "vacci_aviinflu_date", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_aviinflu_date" + +[long.value.if] +all = [ + { vacci_aviinflu_date = { "!=" = "UNK" } }, + { vacci_aviinflu_date = { "!=" = "NI" } }, + { vacci_aviinflu_date = { "!=" = "NASK" } }, + { vacci_aviinflu_date = { "!=" = "NA" } }, + { vacci_aviinflu_date = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_aviinflu_type" +attribute_status = { field = "vacci_aviinflu_type", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_aviinflu_type" + +[long.value.values] +1 = "Quadrivalent, recombinant" +2 = "Quadrivalent, adjuvanted inactivated" +3 = "Quadrivalent, high dose" +4 = "Quadrivalent, cell-based" +5 = "Influenza Tetra MYL" +6 = "Trivalent, recombinant" +7 = "Trivalent, high dose" +8 = "Trivalent, adjuvant inactivated" +9 = "Trivalent, intranasal" +10 = "H5N1 (Audenz, Aflunov)" +99 = "Unknown" +88 = "Other" + +[[long]] +attribute = "vacci_aviinflu_type_oth" +attribute_status = { field = "vacci_aviinflu_type_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_aviinflu_type_oth" + +[long.value.if] +all = [ + { vacci_aviinflu_type_oth = { "!=" = "UNK" } }, + { vacci_aviinflu_type_oth = { "!=" = "NI" } }, + { vacci_aviinflu_type_oth = { "!=" = "NASK" } }, + { vacci_aviinflu_type_oth = { "!=" = "NA" } }, + { vacci_aviinflu_type_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_rsv" +value = { field = "vacci_rsv", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "vacci_rsv", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "vacci_rsv_date" +attribute_status = { field = "vacci_rsv_date", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_rsv_date" + +[long.value.if] +all = [ + { vacci_rsv_date = { "!=" = "UNK" } }, + { vacci_rsv_date = { "!=" = "NI" } }, + { vacci_rsv_date = { "!=" = "NASK" } }, + { vacci_rsv_date = { "!=" = "NA" } }, + { vacci_rsv_date = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_rsv_type" +attribute_status = { field = "vacci_rsv_type", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_rsv_type" + +[long.value.values] +1 = "Abrysvo (Pfizer)" +2 = "Arexvy (GlaxoSmithKline)" +3 = "mResvia (Moderna)" +99 = "Unknown" +88 = "Other" + +[[long]] +attribute = "vacci_rsv_type_oth" +attribute_status = { field = "vacci_rsv_type_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_rsv_type_oth" + +[long.value.if] +all = [ + { vacci_rsv_type_oth = { "!=" = "UNK" } }, + { vacci_rsv_type_oth = { "!=" = "NI" } }, + { vacci_rsv_type_oth = { "!=" = "NASK" } }, + { vacci_rsv_type_oth = { "!=" = "NA" } }, + { vacci_rsv_type_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_pneumococo" +value = { field = "vacci_pneumococo", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "vacci_pneumococo", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "vacci_pneumococo_date" +attribute_status = { field = "vacci_pneumococo_date", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_pneumococo_date" + +[long.value.if] +all = [ + { vacci_pneumococo_date = { "!=" = "UNK" } }, + { vacci_pneumococo_date = { "!=" = "NI" } }, + { vacci_pneumococo_date = { "!=" = "NASK" } }, + { vacci_pneumococo_date = { "!=" = "NA" } }, + { vacci_pneumococo_date = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_dengue" +attribute_status = { field = "vacci_dengue", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_dengue" +values = { 1 = "YES-once", 2 = "YES-twice", 3 = "YES-thrice", 0 = "No", 99 = "Unknown" } + +[[long]] +attribute = "vacci_dengue_date1" +attribute_status = { field = "vacci_dengue_date1", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_dengue_date1" + +[long.value.if] +all = [ + { vacci_dengue_date1 = { "!=" = "UNK" } }, + { vacci_dengue_date1 = { "!=" = "NI" } }, + { vacci_dengue_date1 = { "!=" = "NASK" } }, + { vacci_dengue_date1 = { "!=" = "NA" } }, + { vacci_dengue_date1 = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_dengue_type1" +value = { field = "vacci_dengue_type1", values = { 1 = "CYD-TVD (Dengvaxia)", 2 = "TAK-003 (QDENGA)" } } +attribute_status = { field = "vacci_dengue_type1", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "vacci_dengue_date2" +attribute_status = { field = "vacci_dengue_date2", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_dengue_date2" + +[long.value.if] +all = [ + { vacci_dengue_date2 = { "!=" = "UNK" } }, + { vacci_dengue_date2 = { "!=" = "NI" } }, + { vacci_dengue_date2 = { "!=" = "NASK" } }, + { vacci_dengue_date2 = { "!=" = "NA" } }, + { vacci_dengue_date2 = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_dengue_type2" +value = { field = "vacci_dengue_type2", values = { 1 = "CYD-TVD (Dengvaxia)", 2 = "TAK-003 (QDENGA)" } } +attribute_status = { field = "vacci_dengue_type2", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "vacci_dengue_date3" +attribute_status = { field = "vacci_dengue_date3", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_dengue_date3" + +[long.value.if] +all = [ + { vacci_dengue_date3 = { "!=" = "UNK" } }, + { vacci_dengue_date3 = { "!=" = "NI" } }, + { vacci_dengue_date3 = { "!=" = "NASK" } }, + { vacci_dengue_date3 = { "!=" = "NA" } }, + { vacci_dengue_date3 = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_dengue_date" +attribute_status = { field = "vacci_dengue_date", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_dengue_date" + +[long.value.if] +all = [ + { vacci_dengue_date = { "!=" = "UNK" } }, + { vacci_dengue_date = { "!=" = "NI" } }, + { vacci_dengue_date = { "!=" = "NASK" } }, + { vacci_dengue_date = { "!=" = "NA" } }, + { vacci_dengue_date = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_chick" +value = { field = "vacci_chick", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "vacci_chick", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "vacci_chick_type" +value = { field = "vacci_chick_type", values = { 1 = "IXCHIQ", 2 = "VIMKUNYA", 88 = "Other" } } +attribute_status = { field = "vacci_chick_type", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "vacci_chick_type_oth" +attribute_status = { field = "vacci_chick_type_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_chick_type_oth" + +[long.value.if] +all = [ + { vacci_chick_type_oth = { "!=" = "UNK" } }, + { vacci_chick_type_oth = { "!=" = "NI" } }, + { vacci_chick_type_oth = { "!=" = "NASK" } }, + { vacci_chick_type_oth = { "!=" = "NA" } }, + { vacci_chick_type_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_chick_date" +attribute_status = { field = "vacci_chick_date", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_chick_date" + +[long.value.if] +all = [ + { vacci_chick_date = { "!=" = "UNK" } }, + { vacci_chick_date = { "!=" = "NI" } }, + { vacci_chick_date = { "!=" = "NASK" } }, + { vacci_chick_date = { "!=" = "NA" } }, + { vacci_chick_date = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_dengue_type3" +value = { field = "vacci_dengue_type3", values = { 1 = "CYD-TVD (Dengvaxia)", 2 = "TAK-003 (QDENGA)" } } +attribute_status = { field = "vacci_dengue_type3", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "vacci_spox80" +value = { field = "vacci_spox80", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "vacci_spox80", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "vacci_spox80_year" +attribute_status = { field = "vacci_spox80_year", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "vacci_spox80_year" + +[long.value_num.if] +all = [ + { vacci_spox80_year = { "!=" = "UNK" } }, + { vacci_spox80_year = { "!=" = "NI" } }, + { vacci_spox80_year = { "!=" = "NASK" } }, + { vacci_spox80_year = { "!=" = "NA" } }, + { vacci_spox80_year = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_spox80_scar" +value = { field = "vacci_spox80_scar", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "vacci_spox80_scar", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "vacci_mpox" +value = { field = "vacci_mpox", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "vacci_mpox", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "vacci_mpox_number" +attribute_status = { field = "vacci_mpox_number", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "vacci_mpox_number" + +[long.value_num.if] +all = [ + { vacci_mpox_number = { "!=" = "UNK" } }, + { vacci_mpox_number = { "!=" = "NI" } }, + { vacci_mpox_number = { "!=" = "NASK" } }, + { vacci_mpox_number = { "!=" = "NA" } }, + { vacci_mpox_number = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_mpox_type" +value = { field = "vacci_mpox_type___1", values = { 1 = "Imvanex/Imvamune/Jyneos (MVA-BN)" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "vacci_mpox_type" +value = { field = "vacci_mpox_type___2", values = { 1 = "ACAM2000" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "vacci_mpox_type" +value = { field = "vacci_mpox_type___3", values = { 1 = "LC16m8" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "vacci_mpox_type" +value = { field = "vacci_mpox_type___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "vacci_mpox_type" +value = { field = "vacci_mpox_type___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "vacci_mpox_type" +attribute_status = { field = "vacci_mpox_type___unk", values = { 1 = "UNK" } } +if = { vacci_mpox_type___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "vacci_mpox_type" +attribute_status = { field = "vacci_mpox_type___ni", values = { 1 = "NI" } } +if = { vacci_mpox_type___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "vacci_mpox_type" +attribute_status = { field = "vacci_mpox_type___nask", values = { 1 = "NASK" } } +if = { vacci_mpox_type___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "vacci_mpox_type" +attribute_status = { field = "vacci_mpox_type___na", values = { 1 = "NA" } } +if = { vacci_mpox_type___na = 1 } +ref = "presentation" + +[[long]] +attribute = "vacci_mpox_type_oth" +attribute_status = { field = "vacci_mpox_type_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_mpox_type_oth" + +[long.value.if] +all = [ + { vacci_mpox_type_oth = { "!=" = "UNK" } }, + { vacci_mpox_type_oth = { "!=" = "NI" } }, + { vacci_mpox_type_oth = { "!=" = "NASK" } }, + { vacci_mpox_type_oth = { "!=" = "NA" } }, + { vacci_mpox_type_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_mpox_date1" +attribute_status = { field = "vacci_mpox_date1", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_mpox_date1" + +[long.value.if] +all = [ + { vacci_mpox_date1 = { "!=" = "UNK" } }, + { vacci_mpox_date1 = { "!=" = "NI" } }, + { vacci_mpox_date1 = { "!=" = "NASK" } }, + { vacci_mpox_date1 = { "!=" = "NA" } }, + { vacci_mpox_date1 = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_mpox_route1" +attribute_status = { field = "vacci_mpox_route1", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_mpox_route1" +values = { 1 = "Intramuscular", 2 = "Subcutaneous", 3 = "Intradermal", 99 = "Unknown", 88 = "Other" } + +[[long]] +attribute = "vacci_mpox_route1_oth" +attribute_status = { field = "vacci_mpox_route1_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_mpox_route1_oth" + +[long.value.if] +all = [ + { vacci_mpox_route1_oth = { "!=" = "UNK" } }, + { vacci_mpox_route1_oth = { "!=" = "NI" } }, + { vacci_mpox_route1_oth = { "!=" = "NASK" } }, + { vacci_mpox_route1_oth = { "!=" = "NA" } }, + { vacci_mpox_route1_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_mpox_date2" +attribute_status = { field = "vacci_mpox_date2", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_mpox_date2" + +[long.value.if] +all = [ + { vacci_mpox_date2 = { "!=" = "UNK" } }, + { vacci_mpox_date2 = { "!=" = "NI" } }, + { vacci_mpox_date2 = { "!=" = "NASK" } }, + { vacci_mpox_date2 = { "!=" = "NA" } }, + { vacci_mpox_date2 = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_mpox_route2" +attribute_status = { field = "vacci_mpox_route2", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_mpox_route2" +values = { 1 = "Intramuscular", 2 = "Subcutaneous", 3 = "Intradermal", 99 = "Unknown", 88 = "Other" } + +[[long]] +attribute = "vacci_mpox_route2_oth" +attribute_status = { field = "vacci_mpox_route2_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_mpox_route2_oth" + +[long.value.if] +all = [ + { vacci_mpox_route2_oth = { "!=" = "UNK" } }, + { vacci_mpox_route2_oth = { "!=" = "NI" } }, + { vacci_mpox_route2_oth = { "!=" = "NASK" } }, + { vacci_mpox_route2_oth = { "!=" = "NA" } }, + { vacci_mpox_route2_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_mpox_date3" +attribute_status = { field = "vacci_mpox_date3", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_mpox_date3" + +[long.value.if] +all = [ + { vacci_mpox_date3 = { "!=" = "UNK" } }, + { vacci_mpox_date3 = { "!=" = "NI" } }, + { vacci_mpox_date3 = { "!=" = "NASK" } }, + { vacci_mpox_date3 = { "!=" = "NA" } }, + { vacci_mpox_date3 = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_mpox_route3" +attribute_status = { field = "vacci_mpox_route3", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_mpox_route3" +values = { 1 = "Intramuscular", 2 = "Subcutaneous", 3 = "Intradermal", 99 = "Unknown", 88 = "Other" } + +[[long]] +attribute = "vacci_mpox_route3_oth" +attribute_status = { field = "vacci_mpox_route3_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_mpox_route3_oth" + +[long.value.if] +all = [ + { vacci_mpox_route3_oth = { "!=" = "UNK" } }, + { vacci_mpox_route3_oth = { "!=" = "NI" } }, + { vacci_mpox_route3_oth = { "!=" = "NASK" } }, + { vacci_mpox_route3_oth = { "!=" = "NA" } }, + { vacci_mpox_route3_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_mpox_date4" +attribute_status = { field = "vacci_mpox_date4", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_mpox_date4" + +[long.value.if] +all = [ + { vacci_mpox_date4 = { "!=" = "UNK" } }, + { vacci_mpox_date4 = { "!=" = "NI" } }, + { vacci_mpox_date4 = { "!=" = "NASK" } }, + { vacci_mpox_date4 = { "!=" = "NA" } }, + { vacci_mpox_date4 = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_mpox_route4" +attribute_status = { field = "vacci_mpox_route4", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_mpox_route4" +values = { 1 = "Intramuscular", 2 = "Subcutaneous", 3 = "Intradermal", 99 = "Unknown", 88 = "Other" } + +[[long]] +attribute = "vacci_mpox_route4_oth" +attribute_status = { field = "vacci_mpox_route4_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_mpox_route4_oth" + +[long.value.if] +all = [ + { vacci_mpox_route4_oth = { "!=" = "UNK" } }, + { vacci_mpox_route4_oth = { "!=" = "NI" } }, + { vacci_mpox_route4_oth = { "!=" = "NASK" } }, + { vacci_mpox_route4_oth = { "!=" = "NA" } }, + { vacci_mpox_route4_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_yellowfever" +value = { field = "vacci_yellowfever", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "vacci_yellowfever", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "vacci_yellowfever_date" +attribute_status = { field = "vacci_yellowfever_date", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_yellowfever_date" + +[long.value.if] +all = [ + { vacci_yellowfever_date = { "!=" = "UNK" } }, + { vacci_yellowfever_date = { "!=" = "NI" } }, + { vacci_yellowfever_date = { "!=" = "NASK" } }, + { vacci_yellowfever_date = { "!=" = "NA" } }, + { vacci_yellowfever_date = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_hepatitisb" +value = { field = "vacci_hepatitisb", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "vacci_hepatitisb", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "vacci_hepatitisb_date" +attribute_status = { field = "vacci_hepatitisb_date", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_hepatitisb_date" + +[long.value.if] +all = [ + { vacci_hepatitisb_date = { "!=" = "UNK" } }, + { vacci_hepatitisb_date = { "!=" = "NI" } }, + { vacci_hepatitisb_date = { "!=" = "NASK" } }, + { vacci_hepatitisb_date = { "!=" = "NA" } }, + { vacci_hepatitisb_date = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_chickenpox" +value = { field = "vacci_chickenpox", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "vacci_chickenpox", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "vacci_chickenpox_date" +attribute_status = { field = "vacci_chickenpox_date", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_chickenpox_date" + +[long.value.if] +all = [ + { vacci_chickenpox_date = { "!=" = "UNK" } }, + { vacci_chickenpox_date = { "!=" = "NI" } }, + { vacci_chickenpox_date = { "!=" = "NASK" } }, + { vacci_chickenpox_date = { "!=" = "NA" } }, + { vacci_chickenpox_date = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_polio" +value = { field = "vacci_polio", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "vacci_polio", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "vacci_hib" +value = { field = "vacci_hib", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "vacci_hib", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "vacci_pcv" +value = { field = "vacci_pcv", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "vacci_pcv", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "vacci_mmr" +value = { field = "vacci_mmr", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "vacci_mmr", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "vacci_je" +value = { field = "vacci_je", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "vacci_je", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "vacci_je_date" +attribute_status = { field = "vacci_je_date", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_je_date" + +[long.value.if] +all = [ + { vacci_je_date = { "!=" = "UNK" } }, + { vacci_je_date = { "!=" = "NI" } }, + { vacci_je_date = { "!=" = "NASK" } }, + { vacci_je_date = { "!=" = "NA" } }, + { vacci_je_date = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_tickenc" +value = { field = "vacci_tickenc", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "vacci_tickenc", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "vacci_tickenc_date" +attribute_status = { field = "vacci_tickenc_date", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_tickenc_date" + +[long.value.if] +all = [ + { vacci_tickenc_date = { "!=" = "UNK" } }, + { vacci_tickenc_date = { "!=" = "NI" } }, + { vacci_tickenc_date = { "!=" = "NASK" } }, + { vacci_tickenc_date = { "!=" = "NA" } }, + { vacci_tickenc_date = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_rabies" +value = { field = "vacci_rabies", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "vacci_rabies", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "vacci_rabies_date" +attribute_status = { field = "vacci_rabies_date", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_rabies_date" + +[long.value.if] +all = [ + { vacci_rabies_date = { "!=" = "UNK" } }, + { vacci_rabies_date = { "!=" = "NI" } }, + { vacci_rabies_date = { "!=" = "NASK" } }, + { vacci_rabies_date = { "!=" = "NA" } }, + { vacci_rabies_date = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_marburg" +value = { field = "vacci_marburg", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "vacci_marburg", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "vacci_marburg_date" +attribute_status = { field = "vacci_marburg_date", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_marburg_date" + +[long.value.if] +all = [ + { vacci_marburg_date = { "!=" = "UNK" } }, + { vacci_marburg_date = { "!=" = "NI" } }, + { vacci_marburg_date = { "!=" = "NASK" } }, + { vacci_marburg_date = { "!=" = "NA" } }, + { vacci_marburg_date = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_marburg_type" +attribute_status = { field = "vacci_marburg_type", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_marburg_type" + +[long.value.if] +all = [ + { vacci_marburg_type = { "!=" = "UNK" } }, + { vacci_marburg_type = { "!=" = "NI" } }, + { vacci_marburg_type = { "!=" = "NASK" } }, + { vacci_marburg_type = { "!=" = "NA" } }, + { vacci_marburg_type = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_marburg_doses" +attribute_status = { field = "vacci_marburg_doses", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "vacci_marburg_doses" + +[long.value_num.if] +all = [ + { vacci_marburg_doses = { "!=" = "UNK" } }, + { vacci_marburg_doses = { "!=" = "NI" } }, + { vacci_marburg_doses = { "!=" = "NASK" } }, + { vacci_marburg_doses = { "!=" = "NA" } }, + { vacci_marburg_doses = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_ebola" +value = { field = "vacci_ebola", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "vacci_ebola", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "vacci_ebola_date" +attribute_status = { field = "vacci_ebola_date", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_ebola_date" + +[long.value.if] +all = [ + { vacci_ebola_date = { "!=" = "UNK" } }, + { vacci_ebola_date = { "!=" = "NI" } }, + { vacci_ebola_date = { "!=" = "NASK" } }, + { vacci_ebola_date = { "!=" = "NA" } }, + { vacci_ebola_date = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_ebola_type" +value = { field = "vacci_ebola_type___1", values = { 1 = "rVSV-ZEBOV (Ervebo)" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "vacci_ebola_type" +value = { field = "vacci_ebola_type___2", values = { 1 = "Ad26.ZEBOV (Zabdeno)" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "vacci_ebola_type" +value = { field = "vacci_ebola_type___3", values = { 1 = "MVA-BN-Filo (Mvabea)" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "vacci_ebola_type" +value = { field = "vacci_ebola_type___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "vacci_ebola_type" +value = { field = "vacci_ebola_type___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "vacci_ebola_type" +attribute_status = { field = "vacci_ebola_type___unk", values = { 1 = "UNK" } } +if = { vacci_ebola_type___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "vacci_ebola_type" +attribute_status = { field = "vacci_ebola_type___ni", values = { 1 = "NI" } } +if = { vacci_ebola_type___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "vacci_ebola_type" +attribute_status = { field = "vacci_ebola_type___nask", values = { 1 = "NASK" } } +if = { vacci_ebola_type___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "vacci_ebola_type" +attribute_status = { field = "vacci_ebola_type___na", values = { 1 = "NA" } } +if = { vacci_ebola_type___na = 1 } +ref = "presentation" + +[[long]] +attribute = "vacci_ebola_doses" +attribute_status = { field = "vacci_ebola_doses", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "vacci_ebola_doses" + +[long.value_num.if] +all = [ + { vacci_ebola_doses = { "!=" = "UNK" } }, + { vacci_ebola_doses = { "!=" = "NI" } }, + { vacci_ebola_doses = { "!=" = "NASK" } }, + { vacci_ebola_doses = { "!=" = "NA" } }, + { vacci_ebola_doses = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_lassa" +value = { field = "vacci_lassa", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "vacci_lassa", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "vacci_lassa_date" +attribute_status = { field = "vacci_lassa_date", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_lassa_date" + +[long.value.if] +all = [ + { vacci_lassa_date = { "!=" = "UNK" } }, + { vacci_lassa_date = { "!=" = "NI" } }, + { vacci_lassa_date = { "!=" = "NASK" } }, + { vacci_lassa_date = { "!=" = "NA" } }, + { vacci_lassa_date = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_lassa_type" +attribute_status = { field = "vacci_lassa_type", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_lassa_type" + +[long.value.if] +all = [ + { vacci_lassa_type = { "!=" = "UNK" } }, + { vacci_lassa_type = { "!=" = "NI" } }, + { vacci_lassa_type = { "!=" = "NASK" } }, + { vacci_lassa_type = { "!=" = "NA" } }, + { vacci_lassa_type = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_lassa_doses" +attribute_status = { field = "vacci_lassa_doses", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "vacci_lassa_doses" + +[long.value_num.if] +all = [ + { vacci_lassa_doses = { "!=" = "UNK" } }, + { vacci_lassa_doses = { "!=" = "NI" } }, + { vacci_lassa_doses = { "!=" = "NASK" } }, + { vacci_lassa_doses = { "!=" = "NA" } }, + { vacci_lassa_doses = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_crimean" +value = { field = "vacci_crimean", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "vacci_crimean", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "vacci_crimean_date" +attribute_status = { field = "vacci_crimean_date", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_crimean_date" + +[long.value.if] +all = [ + { vacci_crimean_date = { "!=" = "UNK" } }, + { vacci_crimean_date = { "!=" = "NI" } }, + { vacci_crimean_date = { "!=" = "NASK" } }, + { vacci_crimean_date = { "!=" = "NA" } }, + { vacci_crimean_date = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_crimean_type" +attribute_status = { field = "vacci_crimean_type", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_crimean_type" + +[long.value.if] +all = [ + { vacci_crimean_type = { "!=" = "UNK" } }, + { vacci_crimean_type = { "!=" = "NI" } }, + { vacci_crimean_type = { "!=" = "NASK" } }, + { vacci_crimean_type = { "!=" = "NA" } }, + { vacci_crimean_type = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_crimean_doses" +attribute_status = { field = "vacci_crimean_doses", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "vacci_crimean_doses" + +[long.value_num.if] +all = [ + { vacci_crimean_doses = { "!=" = "UNK" } }, + { vacci_crimean_doses = { "!=" = "NI" } }, + { vacci_crimean_doses = { "!=" = "NASK" } }, + { vacci_crimean_doses = { "!=" = "NA" } }, + { vacci_crimean_doses = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_vhf" +value = { field = "vacci_vhf", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "vacci_vhf", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "vacci_vhf_spec" +attribute_status = { field = "vacci_vhf_spec", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_vhf_spec" + +[long.value.if] +all = [ + { vacci_vhf_spec = { "!=" = "UNK" } }, + { vacci_vhf_spec = { "!=" = "NI" } }, + { vacci_vhf_spec = { "!=" = "NASK" } }, + { vacci_vhf_spec = { "!=" = "NA" } }, + { vacci_vhf_spec = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_vhf_doses" +attribute_status = { field = "vacci_vhf_doses", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "vacci_vhf_doses" + +[long.value_num.if] +all = [ + { vacci_vhf_doses = { "!=" = "UNK" } }, + { vacci_vhf_doses = { "!=" = "NI" } }, + { vacci_vhf_doses = { "!=" = "NASK" } }, + { vacci_vhf_doses = { "!=" = "NA" } }, + { vacci_vhf_doses = { "!=" = "" } }, +] + +[[long]] +attribute = "vacci_vhf_date" +attribute_status = { field = "vacci_vhf_date", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "vacci_vhf_date" + +[long.value.if] +all = [ + { vacci_vhf_date = { "!=" = "UNK" } }, + { vacci_vhf_date = { "!=" = "NI" } }, + { vacci_vhf_date = { "!=" = "NASK" } }, + { vacci_vhf_date = { "!=" = "NA" } }, + { vacci_vhf_date = { "!=" = "" } }, +] + +[[long]] +attribute = "adsym_fever" +value = { field = "adsym_fever", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_fever", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_fever_days" +attribute_status = { field = "adsym_fever_days", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "adsym_fever_days" + +[long.value_num.if] +all = [ + { adsym_fever_days = { "!=" = "UNK" } }, + { adsym_fever_days = { "!=" = "NI" } }, + { adsym_fever_days = { "!=" = "NASK" } }, + { adsym_fever_days = { "!=" = "NA" } }, + { adsym_fever_days = { "!=" = "" } }, +] + +[[long]] +attribute = "adsym_fever_resol" +attribute_status = { field = "adsym_fever_resol", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "adsym_fever_resol" + +[long.value_num.if] +all = [ + { adsym_fever_resol = { "!=" = "UNK" } }, + { adsym_fever_resol = { "!=" = "NI" } }, + { adsym_fever_resol = { "!=" = "NASK" } }, + { adsym_fever_resol = { "!=" = "NA" } }, + { adsym_fever_resol = { "!=" = "" } }, +] + +[[long]] +attribute = "adsym_rigchill" +value = { field = "adsym_rigchill", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_rigchill", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_nightsweat" +value = { field = "adsym_nightsweat", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_nightsweat", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_coldsweat" +value = { field = "adsym_coldsweat", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_coldsweat", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_excesssweat" +value = { field = "adsym_excesssweat", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_excesssweat", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_restlessne" +value = { field = "adsym_restlessne", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_restlessne", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_fatigue" +value = { field = "adsym_fatigue", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_fatigue", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_weak" +value = { field = "adsym_weak", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_weak", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_weight" +value = { field = "adsym_weight", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_weight", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_anosmia" +value = { field = "adsym_anosmia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_anosmia", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_ageusia" +value = { field = "adsym_ageusia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_ageusia", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_dizzy" +value = { field = "adsym_dizzy", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_dizzy", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_myalgia" +value = { field = "adsym_myalgia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_myalgia", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_myalgia_scal" +attribute_status = { field = "adsym_myalgia_scal", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "adsym_myalgia_scal" + +[long.value_num.if] +all = [ + { adsym_myalgia_scal = { "!=" = "UNK" } }, + { adsym_myalgia_scal = { "!=" = "NI" } }, + { adsym_myalgia_scal = { "!=" = "NASK" } }, + { adsym_myalgia_scal = { "!=" = "NA" } }, + { adsym_myalgia_scal = { "!=" = "" } }, +] + +[[long]] +attribute = "adsym_arthralgia" +value = { field = "adsym_arthralgia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_arthralgia", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_scal" +attribute_status = { field = "adsym_arthralgia_scal", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "adsym_arthralgia_scal" + +[long.value_num.if] +all = [ + { adsym_arthralgia_scal = { "!=" = "UNK" } }, + { adsym_arthralgia_scal = { "!=" = "NI" } }, + { adsym_arthralgia_scal = { "!=" = "NASK" } }, + { adsym_arthralgia_scal = { "!=" = "NA" } }, + { adsym_arthralgia_scal = { "!=" = "" } }, +] + +[[long]] +attribute = "adsym_arthralgia_site" +value = { field = "adsym_arthralgia_site___1", values = { 1 = "Shoulder" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_site" +value = { field = "adsym_arthralgia_site___2", values = { 1 = "Elbow" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_site" +value = { field = "adsym_arthralgia_site___3", values = { 1 = "Wrist" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_site" +value = { field = "adsym_arthralgia_site___4", values = { 1 = "Small joints of hand" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_site" +value = { field = "adsym_arthralgia_site___5", values = { 1 = "Knee" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_site" +value = { field = "adsym_arthralgia_site___6", values = { 1 = "Ankle" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_site" +value = { field = "adsym_arthralgia_site___7", values = { 1 = "Small joints of foot" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_site" +value = { field = "adsym_arthralgia_site___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_site" +attribute_status = { field = "adsym_arthralgia_site___unk", values = { 1 = "UNK" } } +if = { adsym_arthralgia_site___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_site" +attribute_status = { field = "adsym_arthralgia_site___ni", values = { 1 = "NI" } } +if = { adsym_arthralgia_site___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_site" +attribute_status = { field = "adsym_arthralgia_site___nask", values = { 1 = "NASK" } } +if = { adsym_arthralgia_site___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_site" +attribute_status = { field = "adsym_arthralgia_site___na", values = { 1 = "NA" } } +if = { adsym_arthralgia_site___na = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_site_shoulder" +value = { field = "adsym_arthralgia_site_shoulder", values = { 1 = "1", 2 = "2", 99 = "Unknown" } } +attribute_status = { field = "adsym_arthralgia_site_shoulder", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_site_elbow" +value = { field = "adsym_arthralgia_site_elbow", values = { 1 = "1", 2 = "2", 99 = "Unknown" } } +attribute_status = { field = "adsym_arthralgia_site_elbow", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_site_wrist" +value = { field = "adsym_arthralgia_site_wrist", values = { 1 = "1", 2 = "2", 99 = "Unknown" } } +attribute_status = { field = "adsym_arthralgia_site_wrist", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_site_knee" +value = { field = "adsym_arthralgia_site_knee", values = { 1 = "1", 2 = "2", 99 = "Unknown" } } +attribute_status = { field = "adsym_arthralgia_site_knee", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_site_ankle" +value = { field = "adsym_arthralgia_site_ankle", values = { 1 = "1", 2 = "2", 99 = "Unknown" } } +attribute_status = { field = "adsym_arthralgia_site_ankle", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_site_foot" +attribute_status = { field = "adsym_arthralgia_site_foot", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "adsym_arthralgia_site_foot" + +[long.value_num.if] +all = [ + { adsym_arthralgia_site_foot = { "!=" = "UNK" } }, + { adsym_arthralgia_site_foot = { "!=" = "NI" } }, + { adsym_arthralgia_site_foot = { "!=" = "NASK" } }, + { adsym_arthralgia_site_foot = { "!=" = "NA" } }, + { adsym_arthralgia_site_foot = { "!=" = "" } }, +] + +[[long]] +attribute = "adsym_arthralgia_hand" +value = { field = "adsym_arthralgia_hand___1", values = { 1 = "MCP (metacarpophalangeal) joint" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_hand" +value = { field = "adsym_arthralgia_hand___2", values = { 1 = "PIP (proximal interphalangeal) joint" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_hand" +value = { field = "adsym_arthralgia_hand___3", values = { 1 = "DIP (distal interphalangeal) joint" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_hand" +value = { field = "adsym_arthralgia_hand___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_hand" +attribute_status = { field = "adsym_arthralgia_hand___unk", values = { 1 = "UNK" } } +if = { adsym_arthralgia_hand___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_hand" +attribute_status = { field = "adsym_arthralgia_hand___ni", values = { 1 = "NI" } } +if = { adsym_arthralgia_hand___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_hand" +attribute_status = { field = "adsym_arthralgia_hand___nask", values = { 1 = "NASK" } } +if = { adsym_arthralgia_hand___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_hand" +attribute_status = { field = "adsym_arthralgia_hand___na", values = { 1 = "NA" } } +if = { adsym_arthralgia_hand___na = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_hand_num" +attribute_status = { field = "adsym_arthralgia_hand_num", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "adsym_arthralgia_hand_num" + +[long.value_num.if] +all = [ + { adsym_arthralgia_hand_num = { "!=" = "UNK" } }, + { adsym_arthralgia_hand_num = { "!=" = "NI" } }, + { adsym_arthralgia_hand_num = { "!=" = "NASK" } }, + { adsym_arthralgia_hand_num = { "!=" = "NA" } }, + { adsym_arthralgia_hand_num = { "!=" = "" } }, +] + +[[long]] +attribute = "adsym_arthralgia_add" +value = { field = "adsym_arthralgia_add___1", values = { 1 = "TMJ" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_add" +value = { field = "adsym_arthralgia_add___2", values = { 1 = "Sternoclavicular (SC)" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_add" +value = { field = "adsym_arthralgia_add___3", values = { 1 = "Acromioclavicular (AC)" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_add" +value = { field = "adsym_arthralgia_add___4", values = { 1 = "Sacroiliac (SI)" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_add" +value = { field = "adsym_arthralgia_add___5", values = { 1 = "Hip" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_add" +value = { field = "adsym_arthralgia_add___6", values = { 1 = "Subtalar" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_add" +value = { field = "adsym_arthralgia_add___7", values = { 1 = "Thoracic spine" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_add" +value = { field = "adsym_arthralgia_add___8", values = { 1 = "Lumbar spine" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_add" +value = { field = "adsym_arthralgia_add___88", values = { 1 = "Other (specify)" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_add" +attribute_status = { field = "adsym_arthralgia_add___unk", values = { 1 = "UNK" } } +if = { adsym_arthralgia_add___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_add" +attribute_status = { field = "adsym_arthralgia_add___ni", values = { 1 = "NI" } } +if = { adsym_arthralgia_add___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_add" +attribute_status = { field = "adsym_arthralgia_add___nask", values = { 1 = "NASK" } } +if = { adsym_arthralgia_add___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_add" +attribute_status = { field = "adsym_arthralgia_add___na", values = { 1 = "NA" } } +if = { adsym_arthralgia_add___na = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_arthralgia_add_oth" +attribute_status = { field = "adsym_arthralgia_add_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "adsym_arthralgia_add_oth" + +[long.value.if] +all = [ + { adsym_arthralgia_add_oth = { "!=" = "UNK" } }, + { adsym_arthralgia_add_oth = { "!=" = "NI" } }, + { adsym_arthralgia_add_oth = { "!=" = "NASK" } }, + { adsym_arthralgia_add_oth = { "!=" = "NA" } }, + { adsym_arthralgia_add_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "adsym_jointswell" +value = { field = "adsym_jointswell", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_jointswell", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_site" +value = { field = "adsym_jointswell_site___1", values = { 1 = "Shoulder" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_site" +value = { field = "adsym_jointswell_site___2", values = { 1 = "Elbow" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_site" +value = { field = "adsym_jointswell_site___3", values = { 1 = "Wrist" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_site" +value = { field = "adsym_jointswell_site___4", values = { 1 = "Small joints of hand" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_site" +value = { field = "adsym_jointswell_site___5", values = { 1 = "Knee" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_site" +value = { field = "adsym_jointswell_site___6", values = { 1 = "Ankle" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_site" +value = { field = "adsym_jointswell_site___7", values = { 1 = "Small joints of foot" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_site" +value = { field = "adsym_jointswell_site___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_site" +attribute_status = { field = "adsym_jointswell_site___unk", values = { 1 = "UNK" } } +if = { adsym_jointswell_site___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_site" +attribute_status = { field = "adsym_jointswell_site___ni", values = { 1 = "NI" } } +if = { adsym_jointswell_site___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_site" +attribute_status = { field = "adsym_jointswell_site___nask", values = { 1 = "NASK" } } +if = { adsym_jointswell_site___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_site" +attribute_status = { field = "adsym_jointswell_site___na", values = { 1 = "NA" } } +if = { adsym_jointswell_site___na = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_site_shoulder" +value = { field = "adsym_jointswell_site_shoulder", values = { 1 = "1", 2 = "2", 99 = "Unknown" } } +attribute_status = { field = "adsym_jointswell_site_shoulder", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_site_elbow" +value = { field = "adsym_jointswell_site_elbow", values = { 1 = "1", 2 = "2", 99 = "Unknown" } } +attribute_status = { field = "adsym_jointswell_site_elbow", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_site_wrist" +value = { field = "adsym_jointswell_site_wrist", values = { 1 = "1", 2 = "2", 99 = "Unknown" } } +attribute_status = { field = "adsym_jointswell_site_wrist", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_site_knee" +value = { field = "adsym_jointswell_site_knee", values = { 1 = "1", 2 = "2", 99 = "Unknown" } } +attribute_status = { field = "adsym_jointswell_site_knee", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_site_ankle" +value = { field = "adsym_jointswell_site_ankle", values = { 1 = "1", 2 = "2", 99 = "Unknown" } } +attribute_status = { field = "adsym_jointswell_site_ankle", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_site_foot" +attribute_status = { field = "adsym_jointswell_site_foot", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "adsym_jointswell_site_foot" + +[long.value_num.if] +all = [ + { adsym_jointswell_site_foot = { "!=" = "UNK" } }, + { adsym_jointswell_site_foot = { "!=" = "NI" } }, + { adsym_jointswell_site_foot = { "!=" = "NASK" } }, + { adsym_jointswell_site_foot = { "!=" = "NA" } }, + { adsym_jointswell_site_foot = { "!=" = "" } }, +] + +[[long]] +attribute = "adsym_jointswell_hand" +value = { field = "adsym_jointswell_hand___1", values = { 1 = "MCP (metacarpophalangeal) joint" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_hand" +value = { field = "adsym_jointswell_hand___2", values = { 1 = "PIP (proximal interphalangeal) joint" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_hand" +value = { field = "adsym_jointswell_hand___3", values = { 1 = "DIP (distal interphalangeal) joint" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_hand" +value = { field = "adsym_jointswell_hand___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_hand" +attribute_status = { field = "adsym_jointswell_hand___unk", values = { 1 = "UNK" } } +if = { adsym_jointswell_hand___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_hand" +attribute_status = { field = "adsym_jointswell_hand___ni", values = { 1 = "NI" } } +if = { adsym_jointswell_hand___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_hand" +attribute_status = { field = "adsym_jointswell_hand___nask", values = { 1 = "NASK" } } +if = { adsym_jointswell_hand___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_hand" +attribute_status = { field = "adsym_jointswell_hand___na", values = { 1 = "NA" } } +if = { adsym_jointswell_hand___na = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_hand_num" +attribute_status = { field = "adsym_jointswell_hand_num", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "adsym_jointswell_hand_num" + +[long.value_num.if] +all = [ + { adsym_jointswell_hand_num = { "!=" = "UNK" } }, + { adsym_jointswell_hand_num = { "!=" = "NI" } }, + { adsym_jointswell_hand_num = { "!=" = "NASK" } }, + { adsym_jointswell_hand_num = { "!=" = "NA" } }, + { adsym_jointswell_hand_num = { "!=" = "" } }, +] + +[[long]] +attribute = "adsym_jointswell_add" +value = { field = "adsym_jointswell_add___1", values = { 1 = "TMJ" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_add" +value = { field = "adsym_jointswell_add___2", values = { 1 = "Sternoclavicular (SC)" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_add" +value = { field = "adsym_jointswell_add___3", values = { 1 = "Acromioclavicular (AC)" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_add" +value = { field = "adsym_jointswell_add___4", values = { 1 = "Sacroiliac (SI)" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_add" +value = { field = "adsym_jointswell_add___5", values = { 1 = "Hip" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_add" +value = { field = "adsym_jointswell_add___6", values = { 1 = "Subtalar" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_add" +value = { field = "adsym_jointswell_add___7", values = { 1 = "Thoracic spine" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_add" +value = { field = "adsym_jointswell_add___8", values = { 1 = "Lumbar spine" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_add" +value = { field = "adsym_jointswell_add___88", values = { 1 = "Other (specify)" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_add" +attribute_status = { field = "adsym_jointswell_add___unk", values = { 1 = "UNK" } } +if = { adsym_jointswell_add___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_add" +attribute_status = { field = "adsym_jointswell_add___ni", values = { 1 = "NI" } } +if = { adsym_jointswell_add___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_add" +attribute_status = { field = "adsym_jointswell_add___nask", values = { 1 = "NASK" } } +if = { adsym_jointswell_add___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_add" +attribute_status = { field = "adsym_jointswell_add___na", values = { 1 = "NA" } } +if = { adsym_jointswell_add___na = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_jointswell_add_oth" +attribute_status = { field = "adsym_jointswell_add_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "adsym_jointswell_add_oth" + +[long.value.if] +all = [ + { adsym_jointswell_add_oth = { "!=" = "UNK" } }, + { adsym_jointswell_add_oth = { "!=" = "NI" } }, + { adsym_jointswell_add_oth = { "!=" = "NASK" } }, + { adsym_jointswell_add_oth = { "!=" = "NA" } }, + { adsym_jointswell_add_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "adsym_jointstiff" +value = { field = "adsym_jointstiff", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_jointstiff", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_jointstiff_scal" +attribute_status = { field = "adsym_jointstiff_scal", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "adsym_jointstiff_scal" + +[long.value_num.if] +all = [ + { adsym_jointstiff_scal = { "!=" = "UNK" } }, + { adsym_jointstiff_scal = { "!=" = "NI" } }, + { adsym_jointstiff_scal = { "!=" = "NASK" } }, + { adsym_jointstiff_scal = { "!=" = "NA" } }, + { adsym_jointstiff_scal = { "!=" = "" } }, +] + +[[long]] +attribute = "adsym_jointstiff_dur" +attribute_status = { field = "adsym_jointstiff_dur", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "adsym_jointstiff_dur" + +[long.value_num.if] +all = [ + { adsym_jointstiff_dur = { "!=" = "UNK" } }, + { adsym_jointstiff_dur = { "!=" = "NI" } }, + { adsym_jointstiff_dur = { "!=" = "NASK" } }, + { adsym_jointstiff_dur = { "!=" = "NA" } }, + { adsym_jointstiff_dur = { "!=" = "" } }, +] + +[[long]] +attribute = "adsym_jointtender" +value = { field = "adsym_jointtender", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_jointtender", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_jointtender_site" +value = { field = "adsym_jointtender_site___1", values = { 1 = "Fingers" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_jointtender_site" +value = { field = "adsym_jointtender_site___2", values = { 1 = "Wrists" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_jointtender_site" +value = { field = "adsym_jointtender_site___3", values = { 1 = "Shoulders" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_jointtender_site" +value = { field = "adsym_jointtender_site___4", values = { 1 = "Elbow" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_jointtender_site" +value = { field = "adsym_jointtender_site___5", values = { 1 = "Hips" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_jointtender_site" +value = { field = "adsym_jointtender_site___8", values = { 1 = "Knees" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_jointtender_site" +value = { field = "adsym_jointtender_site___9", values = { 1 = "Ankles" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_jointtender_site" +value = { field = "adsym_jointtender_site___10", values = { 1 = "Toes" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_jointtender_site" +value = { field = "adsym_jointtender_site___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_jointtender_site" +value = { field = "adsym_jointtender_site___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_jointtender_site" +attribute_status = { field = "adsym_jointtender_site___unk", values = { 1 = "UNK" } } +if = { adsym_jointtender_site___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_jointtender_site" +attribute_status = { field = "adsym_jointtender_site___ni", values = { 1 = "NI" } } +if = { adsym_jointtender_site___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_jointtender_site" +attribute_status = { field = "adsym_jointtender_site___nask", values = { 1 = "NASK" } } +if = { adsym_jointtender_site___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_jointtender_site" +attribute_status = { field = "adsym_jointtender_site___na", values = { 1 = "NA" } } +if = { adsym_jointtender_site___na = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_jointtender_site_oth" +attribute_status = { field = "adsym_jointtender_site_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "adsym_jointtender_site_oth" + +[long.value.if] +all = [ + { adsym_jointtender_site_oth = { "!=" = "UNK" } }, + { adsym_jointtender_site_oth = { "!=" = "NI" } }, + { adsym_jointtender_site_oth = { "!=" = "NASK" } }, + { adsym_jointtender_site_oth = { "!=" = "NA" } }, + { adsym_jointtender_site_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "adsym_stissueswell" +value = { field = "adsym_stissueswell", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_stissueswell", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_backpain" +value = { field = "adsym_backpain", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_backpain", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_neckpain" +value = { field = "adsym_neckpain", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_neckpain", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_skinrash" +value = { field = "adsym_skinrash", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_skinrash", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_skinrash_site" +value = { field = "adsym_skinrash_site___1", values = { 1 = "Skin, genital" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_skinrash_site" +value = { field = "adsym_skinrash_site___2", values = { 1 = "Skin, non-genital" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_skinrash_site" +value = { field = "adsym_skinrash_site___3", values = { 1 = "Mucosa, genital" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_skinrash_site" +value = { field = "adsym_skinrash_site___4", values = { 1 = "Mucosa, non-genital" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_skinrash_site" +value = { field = "adsym_skinrash_site___5", values = { 1 = "Mouth" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_skinrash_site" +value = { field = "adsym_skinrash_site___6", values = { 1 = "Perianal skin" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_skinrash_site" +value = { field = "adsym_skinrash_site___7", values = { 1 = "Rectum" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_skinrash_site" +value = { field = "adsym_skinrash_site___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_skinrash_site" +value = { field = "adsym_skinrash_site___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_skinrash_site" +attribute_status = { field = "adsym_skinrash_site___unk", values = { 1 = "UNK" } } +if = { adsym_skinrash_site___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_skinrash_site" +attribute_status = { field = "adsym_skinrash_site___ni", values = { 1 = "NI" } } +if = { adsym_skinrash_site___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_skinrash_site" +attribute_status = { field = "adsym_skinrash_site___nask", values = { 1 = "NASK" } } +if = { adsym_skinrash_site___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_skinrash_site" +attribute_status = { field = "adsym_skinrash_site___na", values = { 1 = "NA" } } +if = { adsym_skinrash_site___na = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_skinrash_site_oth" +attribute_status = { field = "adsym_skinrash_site_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "adsym_skinrash_site_oth" + +[long.value.if] +all = [ + { adsym_skinrash_site_oth = { "!=" = "UNK" } }, + { adsym_skinrash_site_oth = { "!=" = "NI" } }, + { adsym_skinrash_site_oth = { "!=" = "NASK" } }, + { adsym_skinrash_site_oth = { "!=" = "NA" } }, + { adsym_skinrash_site_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "adsym_skinrash_date" +attribute_status = { field = "adsym_skinrash_date", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "adsym_skinrash_date" + +[long.value.if] +all = [ + { adsym_skinrash_date = { "!=" = "UNK" } }, + { adsym_skinrash_date = { "!=" = "NI" } }, + { adsym_skinrash_date = { "!=" = "NASK" } }, + { adsym_skinrash_date = { "!=" = "NA" } }, + { adsym_skinrash_date = { "!=" = "" } }, +] + +[[long]] +attribute = "adsym_paresthesia" +value = { field = "adsym_paresthesia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_paresthesia", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_skinchange" +value = { field = "adsym_skinchange", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_skinchange", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_skinpallor" +value = { field = "adsym_skinpallor", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_skinpallor", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_pruritus" +value = { field = "adsym_pruritus", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_pruritus", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_mobilchg" +value = { field = "adsym_mobilchg", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_mobilchg", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_mobile" +attribute_status = { field = "adsym_mobile", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "adsym_mobile" +values = { 1 = "Fully ambulant", 2 = "Ambulant, but with some assistance", 3 = "Bedridden" } + +[[long]] +attribute = "adsym_sleepmore" +value = { field = "adsym_sleepmore", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_sleepmore", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_polydipsia" +value = { field = "adsym_polydipsia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_polydipsia", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_irregmenstruation" +value = { field = "adsym_irregmenstruation", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_irregmenstruation", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_cough" +value = { field = "adsym_cough", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_cough", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_cough_type" +attribute_status = { field = "adsym_cough_type", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "adsym_cough_type" +values = { 1 = "Non Productive", 2 = "Productive", 3 = "Haemoptysis", 99 = "Unknown" } + +[[long]] +attribute = "adsym_coryza" +value = { field = "adsym_coryza", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_coryza", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_sorethroat" +value = { field = "adsym_sorethroat", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_sorethroat", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_rhinorrhoe" +value = { field = "adsym_rhinorrhoe", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_rhinorrhoe", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_wheezing" +value = { field = "adsym_wheezing", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_wheezing", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_shortbreat" +value = { field = "adsym_shortbreat", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_shortbreat", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_nasalcongestion" +value = { field = "adsym_nasalcongestion", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_nasalcongestion", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_chestpain" +value = { field = "adsym_chestpain", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_chestpain", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_sneez" +value = { field = "adsym_sneez", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_sneez", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_hiccups" +value = { field = "adsym_hiccups", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_hiccups", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_palpitations" +value = { field = "adsym_palpitations", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_palpitations", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_abdpain" +value = { field = "adsym_abdpain", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_abdpain", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_diarrhoea" +value = { field = "adsym_diarrhoea", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_diarrhoea", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_diarrhoea_num" +attribute_status = { field = "adsym_diarrhoea_num", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "adsym_diarrhoea_num" + +[long.value_num.if] +all = [ + { adsym_diarrhoea_num = { "!=" = "UNK" } }, + { adsym_diarrhoea_num = { "!=" = "NI" } }, + { adsym_diarrhoea_num = { "!=" = "NASK" } }, + { adsym_diarrhoea_num = { "!=" = "NA" } }, + { adsym_diarrhoea_num = { "!=" = "" } }, +] + +[[long]] +attribute = "adsym_consti" +value = { field = "adsym_consti", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_consti", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_vomit" +value = { field = "adsym_vomit", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_vomit", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_vomit2d" +value = { field = "adsym_vomit2d", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_vomit2d", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_vomitbld" +value = { field = "adsym_vomitbld", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_vomitbld", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_nausea" +value = { field = "adsym_nausea", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_nausea", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_anorexia" +value = { field = "adsym_anorexia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_anorexia", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_exsal" +value = { field = "adsym_exsal", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_exsal", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_diffswallow" +value = { field = "adsym_diffswallow", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_diffswallow", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_faecalincont" +value = { field = "adsym_faecalincont", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_faecalincont", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_urine" +value = { field = "adsym_urine", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_urine", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_urineincont" +value = { field = "adsym_urineincont", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_urineincont", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_polyuria" +value = { field = "adsym_polyuria", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_polyuria", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_dysuria" +value = { field = "adsym_dysuria", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_dysuria", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_dyspareunia" +value = { field = "adsym_dyspareunia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_dyspareunia", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_haemorrhag" +value = { field = "adsym_haemorrhag", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_haemorrhag", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_haemorrhag_sev" +value = { field = "adsym_haemorrhag_sev", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_haemorrhag_sev", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_haemorrhag_site" +value = { field = "adsym_haemorrhag_site___1", values = { 1 = "Skin" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_haemorrhag_site" +value = { field = "adsym_haemorrhag_site___2", values = { 1 = "Petechiae" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_haemorrhag_site" +value = { field = "adsym_haemorrhag_site___3", values = { 1 = "Nose" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_haemorrhag_site" +value = { field = "adsym_haemorrhag_site___4", values = { 1 = "Gums" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_haemorrhag_site" +value = { field = "adsym_haemorrhag_site___5", values = { 1 = "GI tract" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_haemorrhag_site" +value = { field = "adsym_haemorrhag_site___6", values = { 1 = "Urinary tract" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_haemorrhag_site" +value = { field = "adsym_haemorrhag_site___7", values = { 1 = "Vagina" }, can_skip = true } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_haemorrhag_site" +attribute_status = { field = "adsym_haemorrhag_site___unk", values = { 1 = "UNK" } } +if = { adsym_haemorrhag_site___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_haemorrhag_site" +attribute_status = { field = "adsym_haemorrhag_site___ni", values = { 1 = "NI" } } +if = { adsym_haemorrhag_site___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_haemorrhag_site" +attribute_status = { field = "adsym_haemorrhag_site___nask", values = { 1 = "NASK" } } +if = { adsym_haemorrhag_site___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_haemorrhag_site" +attribute_status = { field = "adsym_haemorrhag_site___na", values = { 1 = "NA" } } +if = { adsym_haemorrhag_site___na = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_haemorrhag_site" +attribute_status = { field = "adsym_haemorrhag_site_otherl2", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "adsym_haemorrhag_site_otherl2" +can_skip = true + +[long.value.values] +1 = "Skin" +2 = "Petechiae" +3 = "Nose" +4 = "Gums" +5 = "GI tract" +6 = "Urinary tract" +7 = "Vagina" +8 = "Intracranial" +9 = "Intraspinal" +10 = "Intraocular" +11 = "Retroperitoneal" +12 = "Intra-articular" +13 = "Pericardial" +14 = "Intramuscular (with compartment syndrome)" +15 = "IV catheter site" + +[[long]] +attribute = "adsym_haemorrhag_site" +value = { field = "adsym_haemorrhag_site_otherl3", can_skip = true } +attribute_status = { field = "adsym_haemorrhag_site_otherl3", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_haemorrhag_site_oth" +attribute_status = { field = "adsym_haemorrhag_site_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "adsym_haemorrhag_site_oth" + +[long.value.if] +all = [ + { adsym_haemorrhag_site_oth = { "!=" = "UNK" } }, + { adsym_haemorrhag_site_oth = { "!=" = "NI" } }, + { adsym_haemorrhag_site_oth = { "!=" = "NASK" } }, + { adsym_haemorrhag_site_oth = { "!=" = "NA" } }, + { adsym_haemorrhag_site_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "adsym_headache" +value = { field = "adsym_headache", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_headache", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_headache_days" +attribute_status = { field = "adsym_headache_days", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "adsym_headache_days" + +[long.value_num.if] +all = [ + { adsym_headache_days = { "!=" = "UNK" } }, + { adsym_headache_days = { "!=" = "NI" } }, + { adsym_headache_days = { "!=" = "NASK" } }, + { adsym_headache_days = { "!=" = "NA" } }, + { adsym_headache_days = { "!=" = "" } }, +] + +[[long]] +attribute = "adsym_photoph" +value = { field = "adsym_photoph", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_photoph", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_seizconv" +value = { field = "adsym_seizconv", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_seizconv", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_confusion" +value = { field = "adsym_confusion", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_confusion", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_focweak" +value = { field = "adsym_focweak", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_focweak", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_paralysis" +value = { field = "adsym_paralysis", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_paralysis", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_irritable" +value = { field = "adsym_irritable", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_irritable", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_tremor" +value = { field = "adsym_tremor", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_tremor", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_diffwalk" +value = { field = "adsym_diffwalk", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_diffwalk", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_personality" +value = { field = "adsym_personality", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_personality", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_abnmov" +value = { field = "adsym_abnmov", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_abnmov", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_abnmov_type" +value = { field = "adsym_abnmov_type___1", values = { 1 = "Chorea" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_abnmov_type" +value = { field = "adsym_abnmov_type___2", values = { 1 = "Athetosis" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_abnmov_type" +value = { field = "adsym_abnmov_type___3", values = { 1 = "Dystonia" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_abnmov_type" +value = { field = "adsym_abnmov_type___4", values = { 1 = "Hemiballismus" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_abnmov_type" +value = { field = "adsym_abnmov_type___5", values = { 1 = "Stereotypies" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_abnmov_type" +value = { field = "adsym_abnmov_type___6", values = { 1 = "Orolingual dyskinesia" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_abnmov_type" +value = { field = "adsym_abnmov_type___7", values = { 1 = "Tic" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsym_abnmov_type" +attribute_status = { field = "adsym_abnmov_type___unk", values = { 1 = "UNK" } } +if = { adsym_abnmov_type___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_abnmov_type" +attribute_status = { field = "adsym_abnmov_type___ni", values = { 1 = "NI" } } +if = { adsym_abnmov_type___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_abnmov_type" +attribute_status = { field = "adsym_abnmov_type___nask", values = { 1 = "NASK" } } +if = { adsym_abnmov_type___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_abnmov_type" +attribute_status = { field = "adsym_abnmov_type___na", values = { 1 = "NA" } } +if = { adsym_abnmov_type___na = 1 } +ref = "presentation" + +[[long]] +attribute = "adsym_neurologic" +value = { field = "adsym_neurologic", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_neurologic", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_neurologic_spec" +attribute_status = { field = "adsym_neurologic_spec", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "adsym_neurologic_spec" + +[long.value.if] +all = [ + { adsym_neurologic_spec = { "!=" = "UNK" } }, + { adsym_neurologic_spec = { "!=" = "NI" } }, + { adsym_neurologic_spec = { "!=" = "NASK" } }, + { adsym_neurologic_spec = { "!=" = "NA" } }, + { adsym_neurologic_spec = { "!=" = "" } }, +] + +[[long]] +attribute = "adsym_itchyeye" +value = { field = "adsym_itchyeye", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_itchyeye", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_redeye" +value = { field = "adsym_redeye", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_redeye", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_paineyes" +value = { field = "adsym_paineyes", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_paineyes", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_eyelidedema" +value = { field = "adsym_eyelidedema", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_eyelidedema", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_eyedischarg" +value = { field = "adsym_eyedischarg", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_eyedischarg", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_hazyvision" +value = { field = "adsym_hazyvision", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_hazyvision", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_eyelightsensi" +value = { field = "adsym_eyelightsensi", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_eyelightsensi", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_visdist" +value = { field = "adsym_visdist", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_visdist", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_ocularoth" +value = { field = "adsym_ocularoth", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_ocularoth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_ocularoth_spec" +attribute_status = { field = "adsym_ocularoth_spec", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "adsym_ocularoth_spec" + +[long.value.if] +all = [ + { adsym_ocularoth_spec = { "!=" = "UNK" } }, + { adsym_ocularoth_spec = { "!=" = "NI" } }, + { adsym_ocularoth_spec = { "!=" = "NASK" } }, + { adsym_ocularoth_spec = { "!=" = "NA" } }, + { adsym_ocularoth_spec = { "!=" = "" } }, +] + +[[long]] +attribute = "adsym_earpain" +value = { field = "adsym_earpain", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_earpain", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_tinnitus" +value = { field = "adsym_tinnitus", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_tinnitus", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_parot" +value = { field = "adsym_parot", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_parot", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_contcry" +value = { field = "adsym_contcry", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_contcry", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_feedingdiff" +value = { field = "adsym_feedingdiff", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsym_feedingdiff", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsym_unlisted" +attribute_status = { field = "adsym_unlisted_{n}item", apply = { function = "attribute_status_fill" } } +ref = "presentation" +for = { n = { range = [ + 0, + 4, +] } } + +[long.value] +field = "adsym_unlisted_{n}item" +values = { 35 = "Fever", 54 = "Mucosal lesion", 69 = "Skin lesion" } +can_skip = true + +[[long]] +attribute = "adsym_unlisted" +attribute_status = { field = "adsym_unlisted_{n}otherl2", apply = { function = "attribute_status_fill" } } +ref = "presentation" +for = { n = { range = [ + 0, + 4, +] } } + +[long.value] +field = "adsym_unlisted_{n}otherl2" +can_skip = true + +[long.value.values] +1 = "Abdominal pain" +2 = "Abnormal weight loss" +3 = "Alopecia (Nonscarring hair loss)" +4 = "Altered consciousness / Confusion (Disorientation)" +5 = "Anorexia" +6 = "Apnoea" +7 = "Ascites" +8 = "Bleeding (Haemorrhage)" +9 = "Bruising (Spontaneous ecchymoses)" +10 = "Can't feel one side of the body or face (Hemiplegia)" +11 = "Can't fully move or control movement (Paralytic syndrome)" +12 = "Cardiac arrhythmia" +13 = "Changes in menstruation (Irregular menstruation)" +14 = "Changes in skin texture" +15 = "Chest pain" +16 = "Chest pain on breathing" +17 = "Chills (without fever)" +18 = "Cognitive impairment (Unspecified intellectual disabilities)" +19 = "Conjunctivitis" +20 = "Constipation" +21 = "Convulsions" +22 = "Cough" +23 = "Diarrhea" +24 = "Difficulty eating or drinking (Dysphagia)" +25 = "Difficulty in walking" +26 = "Disorders of nose and nasal sinuses" +27 = "Disturbance in attention (Altered mental status)" +28 = "Dizziness/light headedness (Dizziness and giddiness)" +29 = "Dry skin (Xerosis cutis)" +30 = "Ear pain (Otalgia)" +31 = "Erectile dysfunction" +32 = "Fainting / blackouts (Syncope and collapse)" +33 = "Fecal incontinence" +34 = "Feeding difficulty" +35 = "Fever" +36 = "Gastrointestinal bleeding (Gastrointestinal hemorrhage)" +37 = "Headache" +38 = "Hepatomegaly" +39 = "Increased thirst (Polydipsia)" +40 = "Increased urination (polyuria)" +41 = "Irritability" +42 = "Itchy eye" +43 = "Jaundice" +44 = "Joint pain (Arthralgia)" +45 = "Keratitis" +46 = "Limb weakness / paralysis (Monoplegia)" +47 = "Localized edema" +48 = "Loss of appetite (Anorexia)" +49 = "Loss of smell (Anosmia)" +50 = "Loss of taste (Parageusia)" +51 = "Lymphadenitis" +52 = "Malaise and fatigue" +53 = "Mouth ulcers (Recurrent oral aphthae)" +54 = "Mucosal lesion" +55 = "Muscle aches (Myalgia)" +56 = "Muscle weakness" +57 = "Nasal congestion" +58 = "Nausea or vomiting" +59 = "Pain during urination (Dysuria)" +60 = "Pallor" +61 = "Palpitations" +62 = "Paresthesia of skin" +63 = "Problems swallowing or chewing (Dysphagia)" +64 = "Pruritus" +65 = "Rapid heart beat/Pulse (Tachycardia)" +66 = "Rashes or skin lesions" +67 = "Retention of urine" +68 = "Shortness of breath (Dyspnea)" +69 = "Skin lesion" +70 = "Skin rash" +71 = "Sleep disorder" +72 = "Sneezing" +73 = "Sore throat (Pain in throat)" +74 = "Speech disturbances" +75 = "Spontaneous bruising (Spontaneous ecchymoses)" +76 = "Sweating (hyperhidrosis)" +77 = "Swollen lymph nodes (Enlarged lymph nodes)" +78 = "Tinnitus" +79 = "Tremor" +80 = "Urinary incontinence" +81 = "Visual disturbances" +82 = "Wheezing" + +[[long]] +attribute = "adsign_hypotherm" +value = { field = "adsign_hypotherm", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_hypotherm", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_coldperiph" +value = { field = "adsign_coldperiph", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_coldperiph", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_dehyrdation" +value = { field = "adsign_dehyrdation", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_dehyrdation", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_dehyrdation_type" +value = { field = "adsign_dehyrdation_type", values = { 1 = "Mild", 2 = "Moderate", 3 = "Severe" } } +attribute_status = { field = "adsign_dehyrdation_type", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_oedema" +value = { field = "adsign_oedema", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_oedema", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_oedema_site" +value = { field = "adsign_oedema_site___1", values = { 1 = "Feet" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsign_oedema_site" +value = { field = "adsign_oedema_site___2", values = { 1 = "Ankle" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsign_oedema_site" +value = { field = "adsign_oedema_site___3", values = { 1 = "Legs (below knee)" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsign_oedema_site" +value = { field = "adsign_oedema_site___4", values = { 1 = "Legs (above knees)" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsign_oedema_site" +value = { field = "adsign_oedema_site___5", values = { 1 = "Scrotum/Labia" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsign_oedema_site" +value = { field = "adsign_oedema_site___6", values = { 1 = "Sacrum" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsign_oedema_site" +value = { field = "adsign_oedema_site___7", values = { 1 = "Abdomen" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsign_oedema_site" +value = { field = "adsign_oedema_site___8", values = { 1 = "Neck" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsign_oedema_site" +value = { field = "adsign_oedema_site___9", values = { 1 = "Face" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsign_oedema_site" +value = { field = "adsign_oedema_site___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsign_oedema_site" +value = { field = "adsign_oedema_site___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsign_oedema_site" +attribute_status = { field = "adsign_oedema_site___unk", values = { 1 = "UNK" } } +if = { adsign_oedema_site___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "adsign_oedema_site" +attribute_status = { field = "adsign_oedema_site___ni", values = { 1 = "NI" } } +if = { adsign_oedema_site___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "adsign_oedema_site" +attribute_status = { field = "adsign_oedema_site___nask", values = { 1 = "NASK" } } +if = { adsign_oedema_site___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "adsign_oedema_site" +attribute_status = { field = "adsign_oedema_site___na", values = { 1 = "NA" } } +if = { adsign_oedema_site___na = 1 } +ref = "presentation" + +[[long]] +attribute = "adsign_oedema_site_oth" +attribute_status = { field = "adsign_oedema_site_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "adsign_oedema_site_oth" + +[long.value.if] +all = [ + { adsign_oedema_site_oth = { "!=" = "UNK" } }, + { adsign_oedema_site_oth = { "!=" = "NI" } }, + { adsign_oedema_site_oth = { "!=" = "NASK" } }, + { adsign_oedema_site_oth = { "!=" = "NA" } }, + { adsign_oedema_site_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "adsign_lymph" +attribute_status = { field = "adsign_lymph", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "adsign_lymph" +values = { 1 = "Yes-painful", 2 = "Yes-not painful", 0 = "No", 99 = "Unknown" } + +[[long]] +attribute = "adsign_lymph_site" +value = { field = "adsign_lymph_site___1", values = { 1 = "Axillary (arm pits)" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsign_lymph_site" +value = { field = "adsign_lymph_site___2", values = { 1 = "Cervical (neck)" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsign_lymph_site" +value = { field = "adsign_lymph_site___3", values = { 1 = "Inguinal (groin)" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsign_lymph_site" +value = { field = "adsign_lymph_site___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsign_lymph_site" +value = { field = "adsign_lymph_site___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsign_lymph_site" +attribute_status = { field = "adsign_lymph_site___unk", values = { 1 = "UNK" } } +if = { adsign_lymph_site___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "adsign_lymph_site" +attribute_status = { field = "adsign_lymph_site___ni", values = { 1 = "NI" } } +if = { adsign_lymph_site___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "adsign_lymph_site" +attribute_status = { field = "adsign_lymph_site___nask", values = { 1 = "NASK" } } +if = { adsign_lymph_site___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "adsign_lymph_site" +attribute_status = { field = "adsign_lymph_site___na", values = { 1 = "NA" } } +if = { adsign_lymph_site___na = 1 } +ref = "presentation" + +[[long]] +attribute = "adsign_lymph_site_oth" +attribute_status = { field = "adsign_lymph_site_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "adsign_lymph_site_oth" + +[long.value.if] +all = [ + { adsign_lymph_site_oth = { "!=" = "UNK" } }, + { adsign_lymph_site_oth = { "!=" = "NI" } }, + { adsign_lymph_site_oth = { "!=" = "NASK" } }, + { adsign_lymph_site_oth = { "!=" = "NA" } }, + { adsign_lymph_site_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "adsign_bruise" +value = { field = "adsign_bruise", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_bruise", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_presinj" +value = { field = "adsign_presinj", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_presinj", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_alopecia" +value = { field = "adsign_alopecia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_alopecia", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_dryskin" +value = { field = "adsign_dryskin", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_dryskin", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_oralulcer" +value = { field = "adsign_oralulcer", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_oralulcer", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_mastitis" +value = { field = "adsign_mastitis", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_mastitis", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_bacsi" +value = { field = "adsign_bacsi", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_bacsi", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_bacsi_spec" +value = { field = "adsign_bacsi_spec___7", values = { 1 = "Deep tissue abscess" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsign_bacsi_spec" +value = { field = "adsign_bacsi_spec___1", values = { 1 = "Folliculitis / cellulitis" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsign_bacsi_spec" +value = { field = "adsign_bacsi_spec___2", values = { 1 = "Pneumonia" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsign_bacsi_spec" +value = { field = "adsign_bacsi_spec___3", values = { 1 = "Gastroenteritis" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsign_bacsi_spec" +value = { field = "adsign_bacsi_spec___4", values = { 1 = "CNS" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsign_bacsi_spec" +value = { field = "adsign_bacsi_spec___5", values = { 1 = "Bacteraemia" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsign_bacsi_spec" +value = { field = "adsign_bacsi_spec___6", values = { 1 = "Urinary tract" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsign_bacsi_spec" +value = { field = "adsign_bacsi_spec___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "presentation" + +[[long]] +attribute = "adsign_bacsi_spec" +attribute_status = { field = "adsign_bacsi_spec___unk", values = { 1 = "UNK" } } +if = { adsign_bacsi_spec___unk = 1 } +ref = "presentation" + +[[long]] +attribute = "adsign_bacsi_spec" +attribute_status = { field = "adsign_bacsi_spec___ni", values = { 1 = "NI" } } +if = { adsign_bacsi_spec___ni = 1 } +ref = "presentation" + +[[long]] +attribute = "adsign_bacsi_spec" +attribute_status = { field = "adsign_bacsi_spec___nask", values = { 1 = "NASK" } } +if = { adsign_bacsi_spec___nask = 1 } +ref = "presentation" + +[[long]] +attribute = "adsign_bacsi_spec" +attribute_status = { field = "adsign_bacsi_spec___na", values = { 1 = "NA" } } +if = { adsign_bacsi_spec___na = 1 } +ref = "presentation" + +[[long]] +attribute = "adsign_bacsi_oth" +attribute_status = { field = "adsign_bacsi_oth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "adsign_bacsi_oth" + +[long.value.if] +all = [ + { adsign_bacsi_oth = { "!=" = "UNK" } }, + { adsign_bacsi_oth = { "!=" = "NI" } }, + { adsign_bacsi_oth = { "!=" = "NASK" } }, + { adsign_bacsi_oth = { "!=" = "NA" } }, + { adsign_bacsi_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "adsign_respdistress" +value = { field = "adsign_respdistress", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_respdistress", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_chestindrw" +value = { field = "adsign_chestindrw", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_chestindrw", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_tachypnoea" +value = { field = "adsign_tachypnoea", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_tachypnoea", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_apnoea" +value = { field = "adsign_apnoea", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_apnoea", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_rhinitis" +value = { field = "adsign_rhinitis", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_rhinitis", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_phary" +value = { field = "adsign_phary", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_phary", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_pharery" +value = { field = "adsign_pharery", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_pharery", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_pharexu" +value = { field = "adsign_pharexu", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_pharexu", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_tonsil" +value = { field = "adsign_tonsil", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_tonsil", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_plueeff" +value = { field = "adsign_plueeff", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_plueeff", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_tachycardia" +value = { field = "adsign_tachycardia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_tachycardia", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_arrhythmia" +value = { field = "adsign_arrhythmia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_arrhythmia", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_cyan" +value = { field = "adsign_cyan", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_cyan", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_ascites" +value = { field = "adsign_ascites", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_ascites", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_hepatomegally" +value = { field = "adsign_hepatomegally", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_hepatomegally", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_splenomegaly" +value = { field = "adsign_splenomegaly", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_splenomegaly", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_tenabd" +value = { field = "adsign_tenabd", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_tenabd", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_jaund" +value = { field = "adsign_jaund", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_jaund", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_feed" +value = { field = "adsign_feed", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_feed", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_feed_route" +attribute_status = { field = "adsign_feed_route", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "adsign_feed_route" +values = { 1 = "Oral", 2 = "Feeding tube", 3 = "Breastfeeding", 99 = "Unknown" } + +[[long]] +attribute = "adsign_feed_npo" +value = { field = "adsign_feed_npo", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_feed_npo", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_melaena" +value = { field = "adsign_melaena", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_melaena", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_haematochezia" +value = { field = "adsign_haematochezia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_haematochezia", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_rectalbleed" +value = { field = "adsign_rectalbleed", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_rectalbleed", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_lowurine" +value = { field = "adsign_lowurine", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_lowurine", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_anaemia" +value = { field = "adsign_anaemia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_anaemia", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_neckstiff" +value = { field = "adsign_neckstiff", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_neckstiff", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_hemiplegia" +value = { field = "adsign_hemiplegia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_hemiplegia", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_cogimpair" +value = { field = "adsign_cogimpair", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_cogimpair", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_neurodist" +value = { field = "adsign_neurodist", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_neurodist", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_speechdist" +value = { field = "adsign_speechdist", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_speechdist", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_agitation" +value = { field = "adsign_agitation", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_agitation", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_cerebesig" +value = { field = "adsign_cerebesig", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_cerebesig", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_neurologic" +value = { field = "adsign_neurologic", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_neurologic", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_neurologic_spec" +attribute_status = { field = "adsign_neurologic_spec", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "adsign_neurologic_spec" + +[long.value.if] +all = [ + { adsign_neurologic_spec = { "!=" = "UNK" } }, + { adsign_neurologic_spec = { "!=" = "NI" } }, + { adsign_neurologic_spec = { "!=" = "NASK" } }, + { adsign_neurologic_spec = { "!=" = "NA" } }, + { adsign_neurologic_spec = { "!=" = "" } }, +] + +[[long]] +attribute = "adsign_retroorbit" +value = { field = "adsign_retroorbit", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_retroorbit", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_conjunhemor" +value = { field = "adsign_conjunhemor", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_conjunhemor", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_conjunctiv" +value = { field = "adsign_conjunctiv", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_conjunctiv", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_keratitis" +value = { field = "adsign_keratitis", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_keratitis", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_newvision" +value = { field = "adsign_newvision", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_newvision", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_sunkeyes" +value = { field = "adsign_sunkeyes", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_sunkeyes", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_ocularoth" +value = { field = "adsign_ocularoth", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_ocularoth", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_ocularoth_spec" +attribute_status = { field = "adsign_ocularoth_spec", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "adsign_ocularoth_spec" + +[long.value.if] +all = [ + { adsign_ocularoth_spec = { "!=" = "UNK" } }, + { adsign_ocularoth_spec = { "!=" = "NI" } }, + { adsign_ocularoth_spec = { "!=" = "NASK" } }, + { adsign_ocularoth_spec = { "!=" = "NA" } }, + { adsign_ocularoth_spec = { "!=" = "" } }, +] + +[[long]] +attribute = "adsign_nasalflar" +value = { field = "adsign_nasalflar", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_nasalflar", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_grunt" +value = { field = "adsign_grunt", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_grunt", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_ftt" +value = { field = "adsign_ftt", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_ftt", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_hypotonia" +value = { field = "adsign_hypotonia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_hypotonia", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_bulgefont" +value = { field = "adsign_bulgefont", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "adsign_bulgefont", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "adsign_unlisted" +attribute_status = { field = "adsign_unlisted_{n}item", apply = { function = "attribute_status_fill" } } +ref = "presentation" +for = { n = { range = [ + 0, + 4, +] } } + +[long.value] +field = "adsign_unlisted_{n}item" +values = { 35 = "Fever", 54 = "Mucosal lesion", 69 = "Skin lesion" } +can_skip = true + +[[long]] +attribute = "adsign_unlisted" +attribute_status = { field = "adsign_unlisted_{n}otherl2", apply = { function = "attribute_status_fill" } } +ref = "presentation" +for = { n = { range = [ + 0, + 4, +] } } + +[long.value] +field = "adsign_unlisted_{n}otherl2" +can_skip = true + +[long.value.values] +1 = "Abdominal pain" +2 = "Abnormal weight loss" +3 = "Alopecia (Nonscarring hair loss)" +4 = "Altered consciousness / Confusion (Disorientation)" +5 = "Anorexia" +6 = "Apnoea" +7 = "Ascites" +8 = "Bleeding (Haemorrhage)" +9 = "Bruising (Spontaneous ecchymoses)" +10 = "Can't feel one side of the body or face (Hemiplegia)" +11 = "Can't fully move or control movement (Paralytic syndrome)" +12 = "Cardiac arrhythmia" +13 = "Changes in menstruation (Irregular menstruation)" +14 = "Changes in skin texture" +15 = "Chest pain" +16 = "Chest pain on breathing" +17 = "Chills (without fever)" +18 = "Cognitive impairment (Unspecified intellectual disabilities)" +19 = "Conjunctivitis" +20 = "Constipation" +21 = "Convulsions" +22 = "Cough" +23 = "Diarrhea" +24 = "Difficulty eating or drinking (Dysphagia)" +25 = "Difficulty in walking" +26 = "Disorders of nose and nasal sinuses" +27 = "Disturbance in attention (Altered mental status)" +28 = "Dizziness/light headedness (Dizziness and giddiness)" +29 = "Dry skin (Xerosis cutis)" +30 = "Ear pain (Otalgia)" +31 = "Erectile dysfunction" +32 = "Fainting / blackouts (Syncope and collapse)" +33 = "Fecal incontinence" +34 = "Feeding difficulty" +35 = "Fever" +36 = "Gastrointestinal bleeding (Gastrointestinal hemorrhage)" +37 = "Headache" +38 = "Hepatomegaly" +39 = "Increased thirst (Polydipsia)" +40 = "Increased urination (polyuria)" +41 = "Irritability" +42 = "Itchy eye" +43 = "Jaundice" +44 = "Joint pain (Arthralgia)" +45 = "Keratitis" +46 = "Limb weakness / paralysis (Monoplegia)" +47 = "Localized edema" +48 = "Loss of appetite (Anorexia)" +49 = "Loss of smell (Anosmia)" +50 = "Loss of taste (Parageusia)" +51 = "Lymphadenitis" +52 = "Malaise and fatigue" +53 = "Mouth ulcers (Recurrent oral aphthae)" +54 = "Mucosal lesion" +55 = "Muscle aches (Myalgia)" +56 = "Muscle weakness" +57 = "Nasal congestion" +58 = "Nausea or vomiting" +59 = "Pain during urination (Dysuria)" +60 = "Pallor" +61 = "Palpitations" +62 = "Paresthesia of skin" +63 = "Problems swallowing or chewing (Dysphagia)" +64 = "Pruritus" +65 = "Rapid heart beat/Pulse (Tachycardia)" +66 = "Rashes or skin lesions" +67 = "Retention of urine" +68 = "Shortness of breath (Dyspnea)" +69 = "Skin lesion" +70 = "Skin rash" +71 = "Sleep disorder" +72 = "Sneezing" +73 = "Sore throat (Pain in throat)" +74 = "Speech disturbances" +75 = "Spontaneous bruising (Spontaneous ecchymoses)" +76 = "Sweating (hyperhidrosis)" +77 = "Swollen lymph nodes (Enlarged lymph nodes)" +78 = "Tinnitus" +79 = "Tremor" +80 = "Urinary incontinence" +81 = "Visual disturbances" +82 = "Wheezing" + +[[long]] +attribute = "preg_pregnant" +value = { field = "preg_pregnant", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "preg_pregnant", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "preg_postpartum" +value = { field = "preg_postpartum", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "preg_postpartum", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "preg_geswek" +attribute_status = { field = "preg_geswek", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "preg_geswek" + +[long.value_num.if] +all = [ + { preg_geswek = { "!=" = "UNK" } }, + { preg_geswek = { "!=" = "NI" } }, + { preg_geswek = { "!=" = "NASK" } }, + { preg_geswek = { "!=" = "NA" } }, + { preg_geswek = { "!=" = "" } }, +] + +[[long]] +attribute = "preg_recent1" +value = { field = "preg_recent1", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "preg_recent1", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "preg_delvdate" +attribute_status = { field = "preg_delvdate", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "preg_delvdate" + +[long.value.if] +all = [ + { preg_delvdate = { "!=" = "UNK" } }, + { preg_delvdate = { "!=" = "NI" } }, + { preg_delvdate = { "!=" = "NASK" } }, + { preg_delvdate = { "!=" = "NA" } }, + { preg_delvdate = { "!=" = "" } }, +] + +[[long]] +attribute = "preg_bboutc" +attribute_status = { field = "preg_bboutc", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "preg_bboutc" + +[long.value.values] +1 = "Livebirth (even if infant died after birth)" +2 = "Miscarriage (<22 weeks)" +3 = "Termination by choice" +4 = "Termination - ultrasound abnormality" +5 = "Termination - other/unknown reason" +6 = "Stillbirth (intra-uterine / intrapartum death from 22 gest weeks)" +7 = "Ectopic pregnancy" +99 = "Unknown" + +[[long]] +attribute = "preg_bboutc_gesweek" +attribute_status = { field = "preg_bboutc_gesweek", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "preg_bboutc_gesweek" + +[long.value_num.if] +all = [ + { preg_bboutc_gesweek = { "!=" = "UNK" } }, + { preg_bboutc_gesweek = { "!=" = "NI" } }, + { preg_bboutc_gesweek = { "!=" = "NASK" } }, + { preg_bboutc_gesweek = { "!=" = "NA" } }, + { preg_bboutc_gesweek = { "!=" = "" } }, +] + +[[long]] +attribute = "preg_brefed" +attribute_status = { field = "preg_brefed", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "preg_brefed" + +[long.value.values] +1 = "Yes-currently breastfeeding" +2 = "Yes-breastfeeding discontinued" +0 = "No" +99 = "Unknown" + +[[long]] +attribute = "preg_brefedduration" +attribute_status = { field = "preg_brefedduration", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "preg_brefedduration" + +[long.value_num.if] +all = [ + { preg_brefedduration = { "!=" = "UNK" } }, + { preg_brefedduration = { "!=" = "NI" } }, + { preg_brefedduration = { "!=" = "NASK" } }, + { preg_brefedduration = { "!=" = "NA" } }, + { preg_brefedduration = { "!=" = "" } }, +] + +[[long]] +attribute = "pregdet_labour" +value = { field = "pregdet_labour", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "pregdet_labour", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "preg_bbtest" +value = { field = "preg_bbtest", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "preg_bbtest", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "preg_bbresl" +value = { field = "preg_bbresl", values = { 1 = "Positive", 0 = "Negative", 99 = "Unknown" } } +attribute_status = { field = "preg_bbresl", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "infa_brtwei_g" +attribute_unit = "g" +ref = "presentation" + +[long.if] +all = [ + { infa_brtwei_g = { "!=" = "" }, can_skip = true }, + { infa_brtwei = { "!=" = "" }, can_skip = true }, + { infa_brtwei_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "infa_brtwei_g", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "infa_brtwei", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "infa_brtwei_g", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "infa_brtwei", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "infa_brtwei_lb" +attribute_unit = "lb" +ref = "presentation" + +[long.if] +all = [ + { infa_brtwei_lb = { "!=" = "" }, can_skip = true }, + { infa_brtwei = { "!=" = "" }, can_skip = true }, + { infa_brtwei_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "infa_brtwei_lb", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "infa_brtwei", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "infa_brtwei_lb", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "infa_brtwei", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "infa_outcome" +value = { field = "infa_outcome", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "infa_outcome", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "infa_brefed" +attribute_status = { field = "infa_brefed", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value] +field = "infa_brefed" + +[long.value.values] +1 = "Yes-currently breastfeeding" +2 = "Yes-breastfeeding discontinued" +0 = "No" +99 = "Unknown" + +[[long]] +attribute = "infa_brefedduration" +attribute_status = { field = "infa_brefedduration", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[long.value_num] +field = "infa_brefedduration" + +[long.value_num.if] +all = [ + { infa_brefedduration = { "!=" = "UNK" } }, + { infa_brefedduration = { "!=" = "NI" } }, + { infa_brefedduration = { "!=" = "NASK" } }, + { infa_brefedduration = { "!=" = "NA" } }, + { infa_brefedduration = { "!=" = "" } }, +] + +[[long]] +attribute = "infa_aprvac" +value = { field = "infa_aprvac", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "infa_aprvac", apply = { function = "attribute_status_fill" } } +ref = "presentation" + +[[long]] +attribute = "daily_date" +attribute_status = { field = "daily_date", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "daily_date" + +[long.value.if] +all = [ + { daily_date = { "!=" = "UNK" } }, + { daily_date = { "!=" = "NI" } }, + { daily_date = { "!=" = "NASK" } }, + { daily_date = { "!=" = "NA" } }, + { daily_date = { "!=" = "" } }, +] + +[[long]] +attribute = "asses_lvlcare" +attribute_status = { field = "asses_lvlcare", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "asses_lvlcare" + +[long.value.values] +1 = "Outpatient" +2 = "Admitted to normal ward for isolation only" +3 = "Admitted to normal ward for clinical care" +4 = "High dependency" +5 = "Intensive care admission" + +[[long]] +attribute = "vital_dailydata" +value = { field = "vital_dailydata", values = { 1 = "Yes", 0 = "No" } } +attribute_status = { field = "vital_dailydata", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "vital_highesttem_c" +attribute_unit = "°C" +ref = "daily" + +[long.if] +all = [ + { vital_highesttem_c = { "!=" = "" }, can_skip = true }, + { vital_highesttem = { "!=" = "" }, can_skip = true }, + { vital_highesttem_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "vital_highesttem_c" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "vital_highesttem" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "vital_highesttem_c" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "vital_highesttem" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "vital_highesttem_f" +attribute_unit = "°F" +ref = "daily" + +[long.if] +all = [ + { vital_highesttem_f = { "!=" = "" }, can_skip = true }, + { vital_highesttem = { "!=" = "" }, can_skip = true }, + { vital_highesttem_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "vital_highesttem_f" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "vital_highesttem" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "vital_highesttem_f" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "vital_highesttem" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "vital_hr" +attribute_status = { field = "vital_hr", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "vital_hr" + +[long.value_num.if] +all = [ + { vital_hr = { "!=" = "UNK" } }, + { vital_hr = { "!=" = "NI" } }, + { vital_hr = { "!=" = "NASK" } }, + { vital_hr = { "!=" = "NA" } }, + { vital_hr = { "!=" = "" } }, +] + +[[long]] +attribute = "vital_rr" +attribute_status = { field = "vital_rr", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "vital_rr" + +[long.value_num.if] +all = [ + { vital_rr = { "!=" = "UNK" } }, + { vital_rr = { "!=" = "NI" } }, + { vital_rr = { "!=" = "NASK" } }, + { vital_rr = { "!=" = "NA" } }, + { vital_rr = { "!=" = "" } }, +] + +[[long]] +attribute = "vital_systolicbp" +attribute_status = { field = "vital_systolicbp", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "vital_systolicbp" + +[long.value_num.if] +all = [ + { vital_systolicbp = { "!=" = "UNK" } }, + { vital_systolicbp = { "!=" = "NI" } }, + { vital_systolicbp = { "!=" = "NASK" } }, + { vital_systolicbp = { "!=" = "NA" } }, + { vital_systolicbp = { "!=" = "" } }, +] + +[[long]] +attribute = "vital_diastolicbp" +attribute_status = { field = "vital_diastolicbp", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "vital_diastolicbp" + +[long.value_num.if] +all = [ + { vital_diastolicbp = { "!=" = "UNK" } }, + { vital_diastolicbp = { "!=" = "NI" } }, + { vital_diastolicbp = { "!=" = "NASK" } }, + { vital_diastolicbp = { "!=" = "NA" } }, + { vital_diastolicbp = { "!=" = "" } }, +] + +[[long]] +attribute = "vital_meanbp" +attribute_status = { field = "vital_meanbp", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "vital_meanbp" + +[long.value_num.if] +all = [ + { vital_meanbp = { "!=" = "UNK" } }, + { vital_meanbp = { "!=" = "NI" } }, + { vital_meanbp = { "!=" = "NASK" } }, + { vital_meanbp = { "!=" = "NA" } }, + { vital_meanbp = { "!=" = "" } }, +] + +[[long]] +attribute = "vital_spo2room" +attribute_status = { field = "vital_spo2room", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "vital_spo2room" + +[long.value_num.if] +all = [ + { vital_spo2room = { "!=" = "UNK" } }, + { vital_spo2room = { "!=" = "NI" } }, + { vital_spo2room = { "!=" = "NASK" } }, + { vital_spo2room = { "!=" = "NA" } }, + { vital_spo2room = { "!=" = "" } }, +] + +[[long]] +attribute = "vital_spo2roomhow" +attribute_status = { field = "vital_spo2roomhow", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "vital_spo2roomhow" +values = { 1 = "Pulse Oximetry", 2 = "Arterial blood gas measurement", 88 = "Other", 99 = "Unknown" } + +[[long]] +attribute = "vital_o2supp" +value = { field = "vital_o2supp", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "vital_o2supp", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "vital_o2supp_type" +attribute_status = { field = "vital_o2supp_type", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "vital_o2supp_type" + +[long.value.values] +1 = "Nasal Prongs" +2 = "Face mask" +3 = "High flow nasal oxygen" +4 = "Non-invasive ventilation" +5 = "Invasive ventilation" +6 = "ECMO / ECLS" +99 = "Unknown" + +[[long]] +attribute = "vital_o2supp_spo2" +attribute_status = { field = "vital_o2supp_spo2", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "vital_o2supp_spo2" + +[long.value_num.if] +all = [ + { vital_o2supp_spo2 = { "!=" = "UNK" } }, + { vital_o2supp_spo2 = { "!=" = "NI" } }, + { vital_o2supp_spo2 = { "!=" = "NASK" } }, + { vital_o2supp_spo2 = { "!=" = "NA" } }, + { vital_o2supp_spo2 = { "!=" = "" } }, +] + +[[long]] +attribute = "vital_o2supp_spo2how" +attribute_status = { field = "vital_o2supp_spo2how", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "vital_o2supp_spo2how" +values = { 1 = "Pulse Oximetry", 2 = "Arterial blood gas measurement", 88 = "Other", 99 = "Unknown" } + +[[long]] +attribute = "vital_fio2spo2_02110" +attribute_unit = "Fraction, 0.21-1.0" +ref = "daily" + +[long.if] +all = [ + { vital_fio2spo2_02110 = { "!=" = "" }, can_skip = true }, + { vital_fio2spo2 = { "!=" = "" }, can_skip = true }, + { vital_fio2spo2_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "vital_fio2spo2_02110" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "vital_fio2spo2" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "vital_fio2spo2_02110" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "vital_fio2spo2" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "vital_fio2spo2_pcnt" +attribute_unit = "%" +ref = "daily" + +[long.if] +all = [ + { vital_fio2spo2_pcnt = { "!=" = "" }, can_skip = true }, + { vital_fio2spo2 = { "!=" = "" }, can_skip = true }, + { vital_fio2spo2_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "vital_fio2spo2_pcnt" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "vital_fio2spo2" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "vital_fio2spo2_pcnt" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "vital_fio2spo2" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "vital_fio2spo2_ltr" +attribute_unit = "Highest L/min" +ref = "daily" + +[long.if] +all = [ + { vital_fio2spo2_ltr = { "!=" = "" }, can_skip = true }, + { vital_fio2spo2 = { "!=" = "" }, can_skip = true }, + { vital_fio2spo2_units = 3 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "vital_fio2spo2_ltr" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "vital_fio2spo2" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "vital_fio2spo2_ltr" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "vital_fio2spo2" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "vital_capillaryr" +value = { field = "vital_capillaryr", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "vital_capillaryr", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "vital_avpu" +attribute_status = { field = "vital_avpu", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "vital_avpu" +values = { 1 = "Alert", 5 = "Confusion", 2 = "Verbal", 3 = "Pain", 4 = "Unresponsive" } + +[[long]] +attribute = "vital_gcs" +attribute_status = { field = "vital_gcs", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "vital_gcs" + +[long.value_num.if] +all = [ + { vital_gcs = { "!=" = "UNK" } }, + { vital_gcs = { "!=" = "NI" } }, + { vital_gcs = { "!=" = "NASK" } }, + { vital_gcs = { "!=" = "NA" } }, + { vital_gcs = { "!=" = "" } }, +] + +[[long]] +attribute = "vital_gcse" +attribute_status = { field = "vital_gcse", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "vital_gcse" +values = { 1 = "No response", 2 = "To pain", 3 = "To speech", 4 = "Spontaneous" } + +[[long]] +attribute = "vital_gcsv" +attribute_status = { field = "vital_gcsv", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "vital_gcsv" + +[long.value.values] +1 = "No response" +2 = "Incomprehensible sounds" +3 = "Inappropriate words" +4 = "Confused" +5 = "Oriented" + +[[long]] +attribute = "vital_gcsm" +attribute_status = { field = "vital_gcsm", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "vital_gcsm" + +[long.value.values] +1 = "No response" +2 = "Extension to pain" +3 = "Flexion to pain" +4 = "Withdraws from pain" +5 = "Localises pain" +6 = "Obeys commands" + +[[long]] +attribute = "vital_calcgcs" +attribute_status = { field = "vital_calcgcs", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "vital_calcgcs" + +[long.value_num.if] +all = [ + { vital_calcgcs = { "!=" = "UNK" } }, + { vital_calcgcs = { "!=" = "NI" } }, + { vital_calcgcs = { "!=" = "NASK" } }, + { vital_calcgcs = { "!=" = "NA" } }, + { vital_calcgcs = { "!=" = "" } }, +] + +[[long]] +attribute = "vital_rass" +attribute_status = { field = "vital_rass", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "vital_rass" + +[long.value_num.if] +all = [ + { vital_rass = { "!=" = "UNK" } }, + { vital_rass = { "!=" = "NI" } }, + { vital_rass = { "!=" = "NASK" } }, + { vital_rass = { "!=" = "NA" } }, + { vital_rass = { "!=" = "" } }, +] + +[[long]] +attribute = "vital_urineflow" +attribute_status = { field = "vital_urineflow", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "vital_urineflow" + +[long.value_num.if] +all = [ + { vital_urineflow = { "!=" = "UNK" } }, + { vital_urineflow = { "!=" = "NI" } }, + { vital_urineflow = { "!=" = "NASK" } }, + { vital_urineflow = { "!=" = "NA" } }, + { vital_urineflow = { "!=" = "" } }, +] + +[[long]] +attribute = "sympt_dailydata" +value = { field = "sympt_dailydata", values = { 1 = "Yes", 0 = "No" } } +attribute_status = { field = "sympt_dailydata", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_fever" +value = { field = "sympt_fever", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_fever", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_rigchill" +value = { field = "sympt_rigchill", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_rigchill", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_nightsweat" +value = { field = "sympt_nightsweat", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_nightsweat", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_coldtsweat" +value = { field = "sympt_coldtsweat", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_coldtsweat", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_excesssweat" +value = { field = "sympt_excesssweat", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_excesssweat", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_fatigue" +value = { field = "sympt_fatigue", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_fatigue", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_restlessne" +value = { field = "sympt_restlessne", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_restlessne", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_weak" +value = { field = "sympt_weak", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_weak", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_weight" +value = { field = "sympt_weight", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_weight", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_anosmia" +value = { field = "sympt_anosmia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_anosmia", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_ageusia" +value = { field = "sympt_ageusia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_ageusia", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_dizzy" +value = { field = "sympt_dizzy", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_dizzy", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_myalgia" +value = { field = "sympt_myalgia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_myalgia", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_myalgia_scal" +attribute_status = { field = "sympt_myalgia_scal", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "sympt_myalgia_scal" + +[long.value_num.if] +all = [ + { sympt_myalgia_scal = { "!=" = "UNK" } }, + { sympt_myalgia_scal = { "!=" = "NI" } }, + { sympt_myalgia_scal = { "!=" = "NASK" } }, + { sympt_myalgia_scal = { "!=" = "NA" } }, + { sympt_myalgia_scal = { "!=" = "" } }, +] + +[[long]] +attribute = "sympt_jointswell" +value = { field = "sympt_jointswell", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_jointswell", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_site" +value = { field = "sympt_jointswell_site___1", values = { 1 = "Shoulder" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_site" +value = { field = "sympt_jointswell_site___2", values = { 1 = "Elbow" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_site" +value = { field = "sympt_jointswell_site___3", values = { 1 = "Wrist" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_site" +value = { field = "sympt_jointswell_site___4", values = { 1 = "Small joints of hand" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_site" +value = { field = "sympt_jointswell_site___5", values = { 1 = "Knee" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_site" +value = { field = "sympt_jointswell_site___6", values = { 1 = "Ankle" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_site" +value = { field = "sympt_jointswell_site___7", values = { 1 = "Small joints of foot" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_site" +value = { field = "sympt_jointswell_site___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_site" +attribute_status = { field = "sympt_jointswell_site___unk", values = { 1 = "UNK" } } +if = { sympt_jointswell_site___unk = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_site" +attribute_status = { field = "sympt_jointswell_site___ni", values = { 1 = "NI" } } +if = { sympt_jointswell_site___ni = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_site" +attribute_status = { field = "sympt_jointswell_site___nask", values = { 1 = "NASK" } } +if = { sympt_jointswell_site___nask = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_site" +attribute_status = { field = "sympt_jointswell_site___na", values = { 1 = "NA" } } +if = { sympt_jointswell_site___na = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_site_shoulder" +value = { field = "sympt_jointswell_site_shoulder", values = { 1 = "1", 2 = "2", 99 = "Unknown" } } +attribute_status = { field = "sympt_jointswell_site_shoulder", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_site_elbow" +value = { field = "sympt_jointswell_site_elbow", values = { 1 = "1", 2 = "2", 99 = "Unknown" } } +attribute_status = { field = "sympt_jointswell_site_elbow", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_site_wrist" +value = { field = "sympt_jointswell_site_wrist", values = { 1 = "1", 2 = "2", 99 = "Unknown" } } +attribute_status = { field = "sympt_jointswell_site_wrist", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_site_knee" +value = { field = "sympt_jointswell_site_knee", values = { 1 = "1", 2 = "2", 99 = "Unknown" } } +attribute_status = { field = "sympt_jointswell_site_knee", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_site_ankle" +value = { field = "sympt_jointswell_site_ankle", values = { 1 = "1", 2 = "2", 99 = "Unknown" } } +attribute_status = { field = "sympt_jointswell_site_ankle", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_site_foot" +attribute_status = { field = "sympt_jointswell_site_foot", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "sympt_jointswell_site_foot" + +[long.value_num.if] +all = [ + { sympt_jointswell_site_foot = { "!=" = "UNK" } }, + { sympt_jointswell_site_foot = { "!=" = "NI" } }, + { sympt_jointswell_site_foot = { "!=" = "NASK" } }, + { sympt_jointswell_site_foot = { "!=" = "NA" } }, + { sympt_jointswell_site_foot = { "!=" = "" } }, +] + +[[long]] +attribute = "sympt_jointswell_hand" +value = { field = "sympt_jointswell_hand___1", values = { 1 = "MCP (metacarpophalangeal) joint" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_hand" +value = { field = "sympt_jointswell_hand___2", values = { 1 = "PIP (proximal interphalangeal) joint" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_hand" +value = { field = "sympt_jointswell_hand___3", values = { 1 = "DIP (distal interphalangeal) joint" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_hand" +value = { field = "sympt_jointswell_hand___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_hand" +attribute_status = { field = "sympt_jointswell_hand___unk", values = { 1 = "UNK" } } +if = { sympt_jointswell_hand___unk = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_hand" +attribute_status = { field = "sympt_jointswell_hand___ni", values = { 1 = "NI" } } +if = { sympt_jointswell_hand___ni = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_hand" +attribute_status = { field = "sympt_jointswell_hand___nask", values = { 1 = "NASK" } } +if = { sympt_jointswell_hand___nask = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_hand" +attribute_status = { field = "sympt_jointswell_hand___na", values = { 1 = "NA" } } +if = { sympt_jointswell_hand___na = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_hand_num" +attribute_status = { field = "sympt_jointswell_hand_num", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "sympt_jointswell_hand_num" + +[long.value_num.if] +all = [ + { sympt_jointswell_hand_num = { "!=" = "UNK" } }, + { sympt_jointswell_hand_num = { "!=" = "NI" } }, + { sympt_jointswell_hand_num = { "!=" = "NASK" } }, + { sympt_jointswell_hand_num = { "!=" = "NA" } }, + { sympt_jointswell_hand_num = { "!=" = "" } }, +] + +[[long]] +attribute = "sympt_jointswell_add" +value = { field = "sympt_jointswell_add___1", values = { 1 = "TMJ" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_add" +value = { field = "sympt_jointswell_add___2", values = { 1 = "Sternoclavicular (SC)" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_add" +value = { field = "sympt_jointswell_add___3", values = { 1 = "Acromioclavicular (AC)" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_add" +value = { field = "sympt_jointswell_add___4", values = { 1 = "Sacroiliac (SI)" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_add" +value = { field = "sympt_jointswell_add___5", values = { 1 = "Hip" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_add" +value = { field = "sympt_jointswell_add___6", values = { 1 = "Subtalar" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_add" +value = { field = "sympt_jointswell_add___7", values = { 1 = "Thoracic spine" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_add" +value = { field = "sympt_jointswell_add___8", values = { 1 = "Lumbar spine" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_add" +value = { field = "sympt_jointswell_add___88", values = { 1 = "Other (specify)" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_add" +attribute_status = { field = "sympt_jointswell_add___unk", values = { 1 = "UNK" } } +if = { sympt_jointswell_add___unk = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_add" +attribute_status = { field = "sympt_jointswell_add___ni", values = { 1 = "NI" } } +if = { sympt_jointswell_add___ni = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_add" +attribute_status = { field = "sympt_jointswell_add___nask", values = { 1 = "NASK" } } +if = { sympt_jointswell_add___nask = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_add" +attribute_status = { field = "sympt_jointswell_add___na", values = { 1 = "NA" } } +if = { sympt_jointswell_add___na = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_jointswell_add_oth" +attribute_status = { field = "sympt_jointswell_add_oth", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "sympt_jointswell_add_oth" + +[long.value.if] +all = [ + { sympt_jointswell_add_oth = { "!=" = "UNK" } }, + { sympt_jointswell_add_oth = { "!=" = "NI" } }, + { sympt_jointswell_add_oth = { "!=" = "NASK" } }, + { sympt_jointswell_add_oth = { "!=" = "NA" } }, + { sympt_jointswell_add_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "sympt_jointtender" +value = { field = "sympt_jointtender", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_jointtender", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_site" +value = { field = "sympt_jointtender_site___1", values = { 1 = "Shoulder" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_site" +value = { field = "sympt_jointtender_site___2", values = { 1 = "Elbow" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_site" +value = { field = "sympt_jointtender_site___3", values = { 1 = "Wrist" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_site" +value = { field = "sympt_jointtender_site___4", values = { 1 = "Small joints of hand" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_site" +value = { field = "sympt_jointtender_site___5", values = { 1 = "Knee" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_site" +value = { field = "sympt_jointtender_site___6", values = { 1 = "Ankle" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_site" +value = { field = "sympt_jointtender_site___7", values = { 1 = "Small joints of foot" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_site" +value = { field = "sympt_jointtender_site___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_site" +attribute_status = { field = "sympt_jointtender_site___unk", values = { 1 = "UNK" } } +if = { sympt_jointtender_site___unk = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_site" +attribute_status = { field = "sympt_jointtender_site___ni", values = { 1 = "NI" } } +if = { sympt_jointtender_site___ni = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_site" +attribute_status = { field = "sympt_jointtender_site___nask", values = { 1 = "NASK" } } +if = { sympt_jointtender_site___nask = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_site" +attribute_status = { field = "sympt_jointtender_site___na", values = { 1 = "NA" } } +if = { sympt_jointtender_site___na = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_site_shoulder" +value = { field = "sympt_jointtender_site_shoulder", values = { 1 = "1", 2 = "2", 99 = "Unknown" } } +attribute_status = { field = "sympt_jointtender_site_shoulder", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_site_elbow" +value = { field = "sympt_jointtender_site_elbow", values = { 1 = "1", 2 = "2", 99 = "Unknown" } } +attribute_status = { field = "sympt_jointtender_site_elbow", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_site_wrist" +value = { field = "sympt_jointtender_site_wrist", values = { 1 = "1", 2 = "2", 99 = "Unknown" } } +attribute_status = { field = "sympt_jointtender_site_wrist", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_site_knee" +value = { field = "sympt_jointtender_site_knee", values = { 1 = "1", 2 = "2", 99 = "Unknown" } } +attribute_status = { field = "sympt_jointtender_site_knee", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_site_ankle" +value = { field = "sympt_jointtender_site_ankle", values = { 1 = "1", 2 = "2", 99 = "Unknown" } } +attribute_status = { field = "sympt_jointtender_site_ankle", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_site_foot" +attribute_status = { field = "sympt_jointtender_site_foot", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "sympt_jointtender_site_foot" + +[long.value_num.if] +all = [ + { sympt_jointtender_site_foot = { "!=" = "UNK" } }, + { sympt_jointtender_site_foot = { "!=" = "NI" } }, + { sympt_jointtender_site_foot = { "!=" = "NASK" } }, + { sympt_jointtender_site_foot = { "!=" = "NA" } }, + { sympt_jointtender_site_foot = { "!=" = "" } }, +] + +[[long]] +attribute = "sympt_jointtender_hand" +value = { field = "sympt_jointtender_hand___1", values = { 1 = "MCP (metacarpophalangeal) joint" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_hand" +value = { field = "sympt_jointtender_hand___2", values = { 1 = "PIP (proximal interphalangeal) joint" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_hand" +value = { field = "sympt_jointtender_hand___3", values = { 1 = "DIP (distal interphalangeal) joint" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_hand" +value = { field = "sympt_jointtender_hand___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_hand" +attribute_status = { field = "sympt_jointtender_hand___unk", values = { 1 = "UNK" } } +if = { sympt_jointtender_hand___unk = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_hand" +attribute_status = { field = "sympt_jointtender_hand___ni", values = { 1 = "NI" } } +if = { sympt_jointtender_hand___ni = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_hand" +attribute_status = { field = "sympt_jointtender_hand___nask", values = { 1 = "NASK" } } +if = { sympt_jointtender_hand___nask = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_hand" +attribute_status = { field = "sympt_jointtender_hand___na", values = { 1 = "NA" } } +if = { sympt_jointtender_hand___na = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_hand_num" +attribute_status = { field = "sympt_jointtender_hand_num", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "sympt_jointtender_hand_num" + +[long.value_num.if] +all = [ + { sympt_jointtender_hand_num = { "!=" = "UNK" } }, + { sympt_jointtender_hand_num = { "!=" = "NI" } }, + { sympt_jointtender_hand_num = { "!=" = "NASK" } }, + { sympt_jointtender_hand_num = { "!=" = "NA" } }, + { sympt_jointtender_hand_num = { "!=" = "" } }, +] + +[[long]] +attribute = "sympt_jointtender_add" +value = { field = "sympt_jointtender_add___1", values = { 1 = "TMJ" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_add" +value = { field = "sympt_jointtender_add___2", values = { 1 = "Sternoclavicular (SC)" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_add" +value = { field = "sympt_jointtender_add___3", values = { 1 = "Acromioclavicular (AC)" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_add" +value = { field = "sympt_jointtender_add___4", values = { 1 = "Sacroiliac (SI)" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_add" +value = { field = "sympt_jointtender_add___5", values = { 1 = "Hip" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_add" +value = { field = "sympt_jointtender_add___6", values = { 1 = "Subtalar" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_add" +value = { field = "sympt_jointtender_add___7", values = { 1 = "Thoracic spine" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_add" +value = { field = "sympt_jointtender_add___8", values = { 1 = "Lumbar spine" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_add" +value = { field = "sympt_jointtender_add___88", values = { 1 = "Other (specify)" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_add" +attribute_status = { field = "sympt_jointtender_add___unk", values = { 1 = "UNK" } } +if = { sympt_jointtender_add___unk = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_add" +attribute_status = { field = "sympt_jointtender_add___ni", values = { 1 = "NI" } } +if = { sympt_jointtender_add___ni = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_add" +attribute_status = { field = "sympt_jointtender_add___nask", values = { 1 = "NASK" } } +if = { sympt_jointtender_add___nask = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_add" +attribute_status = { field = "sympt_jointtender_add___na", values = { 1 = "NA" } } +if = { sympt_jointtender_add___na = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_jointtender_add_oth" +attribute_status = { field = "sympt_jointtender_add_oth", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "sympt_jointtender_add_oth" + +[long.value.if] +all = [ + { sympt_jointtender_add_oth = { "!=" = "UNK" } }, + { sympt_jointtender_add_oth = { "!=" = "NI" } }, + { sympt_jointtender_add_oth = { "!=" = "NASK" } }, + { sympt_jointtender_add_oth = { "!=" = "NA" } }, + { sympt_jointtender_add_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "sympt_stissueswell" +value = { field = "sympt_stissueswell", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_stissueswell", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_arthralgia" +value = { field = "sympt_arthralgia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_arthralgia", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_arthralgia_scal" +attribute_status = { field = "sympt_arthralgia_scal", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "sympt_arthralgia_scal" + +[long.value_num.if] +all = [ + { sympt_arthralgia_scal = { "!=" = "UNK" } }, + { sympt_arthralgia_scal = { "!=" = "NI" } }, + { sympt_arthralgia_scal = { "!=" = "NASK" } }, + { sympt_arthralgia_scal = { "!=" = "NA" } }, + { sympt_arthralgia_scal = { "!=" = "" } }, +] + +[[long]] +attribute = "sympt_neurpain" +value = { field = "sympt_neurpain", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_neurpain", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_neurpain_scal" +attribute_status = { field = "sympt_neurpain_scal", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "sympt_neurpain_scal" + +[long.value_num.if] +all = [ + { sympt_neurpain_scal = { "!=" = "UNK" } }, + { sympt_neurpain_scal = { "!=" = "NI" } }, + { sympt_neurpain_scal = { "!=" = "NASK" } }, + { sympt_neurpain_scal = { "!=" = "NA" } }, + { sympt_neurpain_scal = { "!=" = "" } }, +] + +[[long]] +attribute = "sympt_dn4_pain" +value = { field = "sympt_dn4_pain", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_dn4_pain", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_dn4_q1_burning" +value = { field = "sympt_dn4_q1_burning", values = { 1 = "Yes", 0 = "No" } } +attribute_status = { field = "sympt_dn4_q1_burning", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_dn4_q1_cold" +value = { field = "sympt_dn4_q1_cold", values = { 1 = "Yes", 0 = "No" } } +attribute_status = { field = "sympt_dn4_q1_cold", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_dn4_q1_shock" +value = { field = "sympt_dn4_q1_shock", values = { 1 = "Yes", 0 = "No" } } +attribute_status = { field = "sympt_dn4_q1_shock", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_dn4_q2_tingling" +value = { field = "sympt_dn4_q2_tingling", values = { 1 = "Yes", 0 = "No" } } +attribute_status = { field = "sympt_dn4_q2_tingling", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_dn4_q2_pins" +value = { field = "sympt_dn4_q2_pins", values = { 1 = "Yes", 0 = "No" } } +attribute_status = { field = "sympt_dn4_q2_pins", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_dn4_q2_numb" +value = { field = "sympt_dn4_q2_numb", values = { 1 = "Yes", 0 = "No" } } +attribute_status = { field = "sympt_dn4_q2_numb", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_dn4_q2_itch" +value = { field = "sympt_dn4_q2_itch", values = { 1 = "Yes", 0 = "No" } } +attribute_status = { field = "sympt_dn4_q2_itch", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_dn4_q3_touch" +value = { field = "sympt_dn4_q3_touch", values = { 1 = "Yes", 0 = "No" } } +attribute_status = { field = "sympt_dn4_q3_touch", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_dn4_q3_pin" +value = { field = "sympt_dn4_q3_pin", values = { 1 = "Yes", 0 = "No" } } +attribute_status = { field = "sympt_dn4_q3_pin", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_dn4_q4_brush" +value = { field = "sympt_dn4_q4_brush", values = { 1 = "Yes", 0 = "No" } } +attribute_status = { field = "sympt_dn4_q4_brush", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_dn4_score" +attribute_status = { field = "sympt_dn4_score", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "sympt_dn4_score" + +[long.value_num.if] +all = [ + { sympt_dn4_score = { "!=" = "UNK" } }, + { sympt_dn4_score = { "!=" = "NI" } }, + { sympt_dn4_score = { "!=" = "NASK" } }, + { sympt_dn4_score = { "!=" = "NA" } }, + { sympt_dn4_score = { "!=" = "" } }, +] + +[[long]] +attribute = "sympt_dn4_result" +attribute_status = { field = "sympt_dn4_result", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "sympt_dn4_result" + +[long.value.if] +all = [ + { sympt_dn4_result = { "!=" = "UNK" } }, + { sympt_dn4_result = { "!=" = "NI" } }, + { sympt_dn4_result = { "!=" = "NASK" } }, + { sympt_dn4_result = { "!=" = "NA" } }, + { sympt_dn4_result = { "!=" = "" } }, +] + +[[long]] +attribute = "sympt_dn4_notes" +attribute_status = { field = "sympt_dn4_notes", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "sympt_dn4_notes" + +[long.value.if] +all = [ + { sympt_dn4_notes = { "!=" = "UNK" } }, + { sympt_dn4_notes = { "!=" = "NI" } }, + { sympt_dn4_notes = { "!=" = "NASK" } }, + { sympt_dn4_notes = { "!=" = "NA" } }, + { sympt_dn4_notes = { "!=" = "" } }, +] + +[[long]] +attribute = "sympt_cramps" +value = { field = "sympt_cramps", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_cramps", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_skinrash" +value = { field = "sympt_skinrash", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_skinrash", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_paresthesia" +value = { field = "sympt_paresthesia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_paresthesia", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_skinchange" +value = { field = "sympt_skinchange", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_skinchange", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_skinpallor" +value = { field = "sympt_skinpallor", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_skinpallor", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_pruritus" +value = { field = "sympt_pruritus", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_pruritus", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_mobilchg" +value = { field = "sympt_mobilchg", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_mobilchg", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_mobile" +attribute_status = { field = "sympt_mobile", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "sympt_mobile" +values = { 1 = "Fully ambulant", 2 = "Ambulant, but with some assistance", 3 = "Bedridden" } + +[[long]] +attribute = "sympt_sleepmore" +value = { field = "sympt_sleepmore", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_sleepmore", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_polydipsia" +value = { field = "sympt_polydipsia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_polydipsia", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_irregmenstruation" +value = { field = "sympt_irregmenstruation", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_irregmenstruation", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_backpain" +value = { field = "sympt_backpain", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_backpain", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_neckpain" +value = { field = "sympt_neckpain", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_neckpain", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_cough" +value = { field = "sympt_cough", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_cough", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_cough_type" +attribute_status = { field = "sympt_cough_type", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "sympt_cough_type" +values = { 1 = "Non Productive", 2 = "Productive", 3 = "Haemoptysis", 99 = "Unknown" } + +[[long]] +attribute = "sympt_coryza" +value = { field = "sympt_coryza", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_coryza", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_sorethroat" +value = { field = "sympt_sorethroat", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_sorethroat", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_rhinorrhoe" +value = { field = "sympt_rhinorrhoe", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_rhinorrhoe", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_wheezing" +value = { field = "sympt_wheezing", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_wheezing", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_shortbreat" +value = { field = "sympt_shortbreat", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_shortbreat", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_nasalcongestion" +value = { field = "sympt_nasalcongestion", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_nasalcongestion", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_chestpain" +value = { field = "sympt_chestpain", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_chestpain", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_sneez" +value = { field = "sympt_sneez", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_sneez", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_hiccups" +value = { field = "sympt_hiccups", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_hiccups", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_palpitations" +value = { field = "sympt_palpitations", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_palpitations", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_abdpain" +value = { field = "sympt_abdpain", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_abdpain", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_diarrhoea" +value = { field = "sympt_diarrhoea", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_diarrhoea", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_diarrhoea_num" +attribute_status = { field = "sympt_diarrhoea_num", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "sympt_diarrhoea_num" + +[long.value_num.if] +all = [ + { sympt_diarrhoea_num = { "!=" = "UNK" } }, + { sympt_diarrhoea_num = { "!=" = "NI" } }, + { sympt_diarrhoea_num = { "!=" = "NASK" } }, + { sympt_diarrhoea_num = { "!=" = "NA" } }, + { sympt_diarrhoea_num = { "!=" = "" } }, +] + +[[long]] +attribute = "sympt_consti" +value = { field = "sympt_consti", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_consti", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_vomit" +value = { field = "sympt_vomit", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_vomit", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_vomit2d" +value = { field = "sympt_vomit2d", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_vomit2d", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_vomitbld" +value = { field = "sympt_vomitbld", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_vomitbld", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_nausea" +value = { field = "sympt_nausea", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_nausea", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_anorexia" +value = { field = "sympt_anorexia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_anorexia", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_exsal" +value = { field = "sympt_exsal", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_exsal", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_diffswallow" +value = { field = "sympt_diffswallow", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_diffswallow", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_faecalincont" +value = { field = "sympt_faecalincont", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_faecalincont", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_urine" +value = { field = "sympt_urine", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_urine", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_urineincont" +value = { field = "sympt_urineincont", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_urineincont", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_polyuria" +value = { field = "sympt_polyuria", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_polyuria", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_dysuria" +value = { field = "sympt_dysuria", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_dysuria", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_dyspareunia" +value = { field = "sympt_dyspareunia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_dyspareunia", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_haemorrhag" +value = { field = "sympt_haemorrhag", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_haemorrhag", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_haemorrhag_sev" +value = { field = "sympt_haemorrhag_sev", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_haemorrhag_sev", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_haemorrhag_site" +value = { field = "sympt_haemorrhag_site___1", values = { 1 = "Skin" }, can_skip = true } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_haemorrhag_site" +value = { field = "sympt_haemorrhag_site___2", values = { 1 = "Petechiae" }, can_skip = true } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_haemorrhag_site" +value = { field = "sympt_haemorrhag_site___3", values = { 1 = "Nose" }, can_skip = true } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_haemorrhag_site" +value = { field = "sympt_haemorrhag_site___4", values = { 1 = "Gums" }, can_skip = true } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_haemorrhag_site" +value = { field = "sympt_haemorrhag_site___5", values = { 1 = "GI tract" }, can_skip = true } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_haemorrhag_site" +value = { field = "sympt_haemorrhag_site___6", values = { 1 = "Urinary tract" }, can_skip = true } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_haemorrhag_site" +value = { field = "sympt_haemorrhag_site___7", values = { 1 = "Vagina" }, can_skip = true } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_haemorrhag_site" +attribute_status = { field = "sympt_haemorrhag_site___unk", values = { 1 = "UNK" } } +if = { sympt_haemorrhag_site___unk = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_haemorrhag_site" +attribute_status = { field = "sympt_haemorrhag_site___ni", values = { 1 = "NI" } } +if = { sympt_haemorrhag_site___ni = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_haemorrhag_site" +attribute_status = { field = "sympt_haemorrhag_site___nask", values = { 1 = "NASK" } } +if = { sympt_haemorrhag_site___nask = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_haemorrhag_site" +attribute_status = { field = "sympt_haemorrhag_site___na", values = { 1 = "NA" } } +if = { sympt_haemorrhag_site___na = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_haemorrhag_site" +attribute_status = { field = "sympt_haemorrhag_site_otherl2", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "sympt_haemorrhag_site_otherl2" +can_skip = true + +[long.value.values] +1 = "Skin" +2 = "Petechiae" +3 = "Nose" +4 = "Gums" +5 = "GI tract" +6 = "Urinary tract" +7 = "Vagina" +8 = "Intracranial" +9 = "Intraspinal" +10 = "Intraocular" +11 = "Retroperitoneal" +12 = "Intra-articular" +13 = "Pericardial" +14 = "Intramuscular (with compartment syndrome)" +15 = "IV catheter site" + +[[long]] +attribute = "sympt_haemorrhag_site" +value = { field = "sympt_haemorrhag_site_otherl3", can_skip = true } +attribute_status = { field = "sympt_haemorrhag_site_otherl3", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_headache" +value = { field = "sympt_headache", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_headache", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_focdef" +value = { field = "sympt_focdef", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_focdef", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_photoph" +value = { field = "sympt_photoph", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_photoph", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_seizconv" +value = { field = "sympt_seizconv", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_seizconv", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_confusion" +value = { field = "sympt_confusion", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_confusion", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_paralysis" +value = { field = "sympt_paralysis", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_paralysis", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_irritable" +value = { field = "sympt_irritable", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_irritable", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_tremor" +value = { field = "sympt_tremor", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_tremor", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_diffwalk" +value = { field = "sympt_diffwalk", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_diffwalk", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_perschang" +value = { field = "sympt_perschang", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_perschang", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_abnmov" +value = { field = "sympt_abnmov", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_abnmov", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_abnmov_type" +value = { field = "sympt_abnmov_type___1", values = { 1 = "Chorea" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_abnmov_type" +value = { field = "sympt_abnmov_type___2", values = { 1 = "Athetosis" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_abnmov_type" +value = { field = "sympt_abnmov_type___3", values = { 1 = "Dystonia" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_abnmov_type" +value = { field = "sympt_abnmov_type___4", values = { 1 = "Hemiballismus" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_abnmov_type" +value = { field = "sympt_abnmov_type___5", values = { 1 = "Stereotypies" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_abnmov_type" +value = { field = "sympt_abnmov_type___6", values = { 1 = "Orolingual dyskinesia" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_abnmov_type" +value = { field = "sympt_abnmov_type___7", values = { 1 = "Tic" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sympt_abnmov_type" +attribute_status = { field = "sympt_abnmov_type___unk", values = { 1 = "UNK" } } +if = { sympt_abnmov_type___unk = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_abnmov_type" +attribute_status = { field = "sympt_abnmov_type___ni", values = { 1 = "NI" } } +if = { sympt_abnmov_type___ni = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_abnmov_type" +attribute_status = { field = "sympt_abnmov_type___nask", values = { 1 = "NASK" } } +if = { sympt_abnmov_type___nask = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_abnmov_type" +attribute_status = { field = "sympt_abnmov_type___na", values = { 1 = "NA" } } +if = { sympt_abnmov_type___na = 1 } +ref = "daily" + +[[long]] +attribute = "sympt_neurologic" +value = { field = "sympt_neurologic", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_neurologic", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_neurologic_spec" +attribute_status = { field = "sympt_neurologic_spec", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "sympt_neurologic_spec" + +[long.value.if] +all = [ + { sympt_neurologic_spec = { "!=" = "UNK" } }, + { sympt_neurologic_spec = { "!=" = "NI" } }, + { sympt_neurologic_spec = { "!=" = "NASK" } }, + { sympt_neurologic_spec = { "!=" = "NA" } }, + { sympt_neurologic_spec = { "!=" = "" } }, +] + +[[long]] +attribute = "sympt_itchyeye" +value = { field = "sympt_itchyeye", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_itchyeye", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_redeye" +value = { field = "sympt_redeye", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_redeye", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_paineyes" +value = { field = "sympt_paineyes", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_paineyes", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_eyelidedema" +value = { field = "sympt_eyelidedema", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_eyelidedema", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_eyedischarg" +value = { field = "sympt_eyedischarg", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_eyedischarg", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_hazyvision" +value = { field = "sympt_hazyvision", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_hazyvision", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_eyelightsensi" +value = { field = "sympt_eyelightsensi", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_eyelightsensi", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_visdist" +value = { field = "sympt_visdist", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_visdist", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_ocularoth" +value = { field = "sympt_ocularoth", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_ocularoth", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_ocularoth_spec" +attribute_status = { field = "sympt_ocularoth_spec", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "sympt_ocularoth_spec" + +[long.value.if] +all = [ + { sympt_ocularoth_spec = { "!=" = "UNK" } }, + { sympt_ocularoth_spec = { "!=" = "NI" } }, + { sympt_ocularoth_spec = { "!=" = "NASK" } }, + { sympt_ocularoth_spec = { "!=" = "NA" } }, + { sympt_ocularoth_spec = { "!=" = "" } }, +] + +[[long]] +attribute = "sympt_earpain" +value = { field = "sympt_earpain", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_earpain", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_tinnitus" +value = { field = "sympt_tinnitus", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_tinnitus", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_parot" +value = { field = "sympt_parot", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_parot", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_contcry" +value = { field = "sympt_contcry", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_contcry", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_feedingdiff" +value = { field = "sympt_feedingdiff", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sympt_feedingdiff", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sympt_unlisted" +attribute_status = { field = "sympt_unlisted_{n}item", apply = { function = "attribute_status_fill" } } +ref = "daily" +for = { n = { range = [ + 0, + 4, +] } } + +[long.value] +field = "sympt_unlisted_{n}item" +values = { 35 = "Fever", 54 = "Mucosal lesion", 69 = "Skin lesion" } +can_skip = true + +[[long]] +attribute = "sympt_unlisted" +attribute_status = { field = "sympt_unlisted_{n}otherl2", apply = { function = "attribute_status_fill" } } +ref = "daily" +for = { n = { range = [ + 0, + 4, +] } } + +[long.value] +field = "sympt_unlisted_{n}otherl2" +can_skip = true + +[long.value.values] +1 = "Abdominal pain" +2 = "Abnormal weight loss" +3 = "Alopecia (Nonscarring hair loss)" +4 = "Altered consciousness / Confusion (Disorientation)" +5 = "Anorexia" +6 = "Apnoea" +7 = "Ascites" +8 = "Bleeding (Haemorrhage)" +9 = "Bruising (Spontaneous ecchymoses)" +10 = "Can't feel one side of the body or face (Hemiplegia)" +11 = "Can't fully move or control movement (Paralytic syndrome)" +12 = "Cardiac arrhythmia" +13 = "Changes in menstruation (Irregular menstruation)" +14 = "Changes in skin texture" +15 = "Chest pain" +16 = "Chest pain on breathing" +17 = "Chills (without fever)" +18 = "Cognitive impairment (Unspecified intellectual disabilities)" +19 = "Conjunctivitis" +20 = "Constipation" +21 = "Convulsions" +22 = "Cough" +23 = "Diarrhea" +24 = "Difficulty eating or drinking (Dysphagia)" +25 = "Difficulty in walking" +26 = "Disorders of nose and nasal sinuses" +27 = "Disturbance in attention (Altered mental status)" +28 = "Dizziness/light headedness (Dizziness and giddiness)" +29 = "Dry skin (Xerosis cutis)" +30 = "Ear pain (Otalgia)" +31 = "Erectile dysfunction" +32 = "Fainting / blackouts (Syncope and collapse)" +33 = "Fecal incontinence" +34 = "Feeding difficulty" +35 = "Fever" +36 = "Gastrointestinal bleeding (Gastrointestinal hemorrhage)" +37 = "Headache" +38 = "Hepatomegaly" +39 = "Increased thirst (Polydipsia)" +40 = "Increased urination (polyuria)" +41 = "Irritability" +42 = "Itchy eye" +43 = "Jaundice" +44 = "Joint pain (Arthralgia)" +45 = "Keratitis" +46 = "Limb weakness / paralysis (Monoplegia)" +47 = "Localized edema" +48 = "Loss of appetite (Anorexia)" +49 = "Loss of smell (Anosmia)" +50 = "Loss of taste (Parageusia)" +51 = "Lymphadenitis" +52 = "Malaise and fatigue" +53 = "Mouth ulcers (Recurrent oral aphthae)" +54 = "Mucosal lesion" +55 = "Muscle aches (Myalgia)" +56 = "Muscle weakness" +57 = "Nasal congestion" +58 = "Nausea or vomiting" +59 = "Pain during urination (Dysuria)" +60 = "Pallor" +61 = "Palpitations" +62 = "Paresthesia of skin" +63 = "Problems swallowing or chewing (Dysphagia)" +64 = "Pruritus" +65 = "Rapid heart beat/Pulse (Tachycardia)" +66 = "Rashes or skin lesions" +67 = "Retention of urine" +68 = "Shortness of breath (Dyspnea)" +69 = "Skin lesion" +70 = "Skin rash" +71 = "Sleep disorder" +72 = "Sneezing" +73 = "Sore throat (Pain in throat)" +74 = "Speech disturbances" +75 = "Spontaneous bruising (Spontaneous ecchymoses)" +76 = "Sweating (hyperhidrosis)" +77 = "Swollen lymph nodes (Enlarged lymph nodes)" +78 = "Tinnitus" +79 = "Tremor" +80 = "Urinary incontinence" +81 = "Visual disturbances" +82 = "Wheezing" + +[[long]] +attribute = "sign_dailydata" +value = { field = "sign_dailydata", values = { 1 = "Yes", 0 = "No" } } +attribute_status = { field = "sign_dailydata", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_hypotherm" +value = { field = "sign_hypotherm", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_hypotherm", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_coldperiph" +value = { field = "sign_coldperiph", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_coldperiph", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_dehyrdation" +value = { field = "sign_dehyrdation", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_dehyrdation", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_dehyrdation_type" +value = { field = "sign_dehyrdation_type", values = { 1 = "Mild", 2 = "Moderate", 3 = "Severe" } } +attribute_status = { field = "sign_dehyrdation_type", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_oedema" +value = { field = "sign_oedema", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_oedema", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_oedema_site" +value = { field = "sign_oedema_site___1", values = { 1 = "Feet" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_oedema_site" +value = { field = "sign_oedema_site___2", values = { 1 = "Ankle" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_oedema_site" +value = { field = "sign_oedema_site___3", values = { 1 = "Legs (below knee)" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_oedema_site" +value = { field = "sign_oedema_site___4", values = { 1 = "Legs (above knees)" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_oedema_site" +value = { field = "sign_oedema_site___5", values = { 1 = "Scrotum/Labia" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_oedema_site" +value = { field = "sign_oedema_site___6", values = { 1 = "Sacrum" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_oedema_site" +value = { field = "sign_oedema_site___7", values = { 1 = "Abdomen" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_oedema_site" +value = { field = "sign_oedema_site___8", values = { 1 = "Neck" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_oedema_site" +value = { field = "sign_oedema_site___9", values = { 1 = "Face" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_oedema_site" +value = { field = "sign_oedema_site___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_oedema_site" +value = { field = "sign_oedema_site___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_oedema_site" +attribute_status = { field = "sign_oedema_site___unk", values = { 1 = "UNK" } } +if = { sign_oedema_site___unk = 1 } +ref = "daily" + +[[long]] +attribute = "sign_oedema_site" +attribute_status = { field = "sign_oedema_site___ni", values = { 1 = "NI" } } +if = { sign_oedema_site___ni = 1 } +ref = "daily" + +[[long]] +attribute = "sign_oedema_site" +attribute_status = { field = "sign_oedema_site___nask", values = { 1 = "NASK" } } +if = { sign_oedema_site___nask = 1 } +ref = "daily" + +[[long]] +attribute = "sign_oedema_site" +attribute_status = { field = "sign_oedema_site___na", values = { 1 = "NA" } } +if = { sign_oedema_site___na = 1 } +ref = "daily" + +[[long]] +attribute = "sign_oedema_site_oth" +attribute_status = { field = "sign_oedema_site_oth", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "sign_oedema_site_oth" + +[long.value.if] +all = [ + { sign_oedema_site_oth = { "!=" = "UNK" } }, + { sign_oedema_site_oth = { "!=" = "NI" } }, + { sign_oedema_site_oth = { "!=" = "NASK" } }, + { sign_oedema_site_oth = { "!=" = "NA" } }, + { sign_oedema_site_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "sign_lymph" +value = { field = "sign_lymph", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_lymph", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_lymph_pain" +value = { field = "sign_lymph_pain", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_lymph_pain", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_lymph_site" +value = { field = "sign_lymph_site___1", values = { 1 = "Axillary (arm pits)" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_lymph_site" +value = { field = "sign_lymph_site___2", values = { 1 = "Cervical (neck)" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_lymph_site" +value = { field = "sign_lymph_site___3", values = { 1 = "Inguinal (groin)" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_lymph_site" +value = { field = "sign_lymph_site___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_lymph_site" +value = { field = "sign_lymph_site___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_lymph_site" +attribute_status = { field = "sign_lymph_site___unk", values = { 1 = "UNK" } } +if = { sign_lymph_site___unk = 1 } +ref = "daily" + +[[long]] +attribute = "sign_lymph_site" +attribute_status = { field = "sign_lymph_site___ni", values = { 1 = "NI" } } +if = { sign_lymph_site___ni = 1 } +ref = "daily" + +[[long]] +attribute = "sign_lymph_site" +attribute_status = { field = "sign_lymph_site___nask", values = { 1 = "NASK" } } +if = { sign_lymph_site___nask = 1 } +ref = "daily" + +[[long]] +attribute = "sign_lymph_site" +attribute_status = { field = "sign_lymph_site___na", values = { 1 = "NA" } } +if = { sign_lymph_site___na = 1 } +ref = "daily" + +[[long]] +attribute = "sign_lymph_site_oth" +attribute_status = { field = "sign_lymph_site_oth", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "sign_lymph_site_oth" + +[long.value.if] +all = [ + { sign_lymph_site_oth = { "!=" = "UNK" } }, + { sign_lymph_site_oth = { "!=" = "NI" } }, + { sign_lymph_site_oth = { "!=" = "NASK" } }, + { sign_lymph_site_oth = { "!=" = "NA" } }, + { sign_lymph_site_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "sign_lowurine" +value = { field = "sign_lowurine", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_lowurine", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_bruise" +value = { field = "sign_bruise", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_bruise", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_alopecia" +value = { field = "sign_alopecia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_alopecia", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_dryskin" +value = { field = "sign_dryskin", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_dryskin", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_oralulcer" +value = { field = "sign_oralulcer", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_oralulcer", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_presinj" +value = { field = "sign_presinj", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_presinj", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_mastitis" +value = { field = "sign_mastitis", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_mastitis", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_bacsi" +value = { field = "sign_bacsi", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_bacsi", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_bacsi_spec" +value = { field = "sign_bacsi_spec___7", values = { 1 = "Deep tissue abscess" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_bacsi_spec" +value = { field = "sign_bacsi_spec___1", values = { 1 = "Folliculitis / cellulitis" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_bacsi_spec" +value = { field = "sign_bacsi_spec___2", values = { 1 = "Pneumonia" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_bacsi_spec" +value = { field = "sign_bacsi_spec___3", values = { 1 = "Gastroenteritis" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_bacsi_spec" +value = { field = "sign_bacsi_spec___4", values = { 1 = "CNS" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_bacsi_spec" +value = { field = "sign_bacsi_spec___5", values = { 1 = "Bacteraemia" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_bacsi_spec" +value = { field = "sign_bacsi_spec___6", values = { 1 = "Urinary tract" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_bacsi_spec" +value = { field = "sign_bacsi_spec___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_bacsi_spec" +attribute_status = { field = "sign_bacsi_spec___unk", values = { 1 = "UNK" } } +if = { sign_bacsi_spec___unk = 1 } +ref = "daily" + +[[long]] +attribute = "sign_bacsi_spec" +attribute_status = { field = "sign_bacsi_spec___ni", values = { 1 = "NI" } } +if = { sign_bacsi_spec___ni = 1 } +ref = "daily" + +[[long]] +attribute = "sign_bacsi_spec" +attribute_status = { field = "sign_bacsi_spec___nask", values = { 1 = "NASK" } } +if = { sign_bacsi_spec___nask = 1 } +ref = "daily" + +[[long]] +attribute = "sign_bacsi_spec" +attribute_status = { field = "sign_bacsi_spec___na", values = { 1 = "NA" } } +if = { sign_bacsi_spec___na = 1 } +ref = "daily" + +[[long]] +attribute = "sign_bacsi_oth" +attribute_status = { field = "sign_bacsi_oth", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "sign_bacsi_oth" + +[long.value.if] +all = [ + { sign_bacsi_oth = { "!=" = "UNK" } }, + { sign_bacsi_oth = { "!=" = "NI" } }, + { sign_bacsi_oth = { "!=" = "NASK" } }, + { sign_bacsi_oth = { "!=" = "NA" } }, + { sign_bacsi_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "sign_respdistress" +value = { field = "sign_respdistress", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_respdistress", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_chestindrw" +value = { field = "sign_chestindrw", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_chestindrw", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_tachypnoea" +value = { field = "sign_tachypnoea", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_tachypnoea", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_apnoea" +value = { field = "sign_apnoea", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_apnoea", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_rhinitis" +value = { field = "sign_rhinitis", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_rhinitis", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_phary" +value = { field = "sign_phary", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_phary", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_pharery" +value = { field = "sign_pharery", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_pharery", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_pharexu" +value = { field = "sign_pharexu", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_pharexu", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_tonsil" +value = { field = "sign_tonsil", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_tonsil", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_plueeff" +value = { field = "sign_plueeff", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_plueeff", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_tachycardia" +value = { field = "sign_tachycardia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_tachycardia", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_arrhythmia" +value = { field = "sign_arrhythmia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_arrhythmia", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_cyan" +value = { field = "sign_cyan", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_cyan", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_ascites" +value = { field = "sign_ascites", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_ascites", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_hepatomegally" +value = { field = "sign_hepatomegally", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_hepatomegally", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_splenomegaly" +value = { field = "sign_splenomegaly", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_splenomegaly", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_tenabd" +value = { field = "sign_tenabd", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_tenabd", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_jaund" +value = { field = "sign_jaund", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_jaund", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_melaena" +value = { field = "sign_melaena", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_melaena", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_haematochezia" +value = { field = "sign_haematochezia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_haematochezia", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_rectalbleed" +value = { field = "sign_rectalbleed", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_rectalbleed", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_feed" +value = { field = "sign_feed", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_feed", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_feed_route" +attribute_status = { field = "sign_feed_route", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "sign_feed_route" +values = { 1 = "Oral", 2 = "Feeding tube", 3 = "Breastfeeding", 99 = "Unknown" } + +[[long]] +attribute = "sign_feed_npo" +value = { field = "sign_feed_npo", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_feed_npo", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_anaemia" +value = { field = "sign_anaemia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_anaemia", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_sedated" +value = { field = "sign_sedated", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_sedated", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_focalneuro" +value = { field = "sign_focalneuro", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_focalneuro", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_focalneuro_type" +value = { field = "sign_focalneuro_type___1", values = { 1 = "Hemiparesis" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_focalneuro_type" +value = { field = "sign_focalneuro_type___2", values = { 1 = "Cranial nerve palsy" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_focalneuro_type" +value = { field = "sign_focalneuro_type___3", values = { 1 = "Aphasia" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_focalneuro_type" +value = { field = "sign_focalneuro_type___4", values = { 1 = "Visual field deficit" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_focalneuro_type" +value = { field = "sign_focalneuro_type___5", values = { 1 = "Movement disorder" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_focalneuro_type" +attribute_status = { field = "sign_focalneuro_type___unk", values = { 1 = "UNK" } } +if = { sign_focalneuro_type___unk = 1 } +ref = "daily" + +[[long]] +attribute = "sign_focalneuro_type" +attribute_status = { field = "sign_focalneuro_type___ni", values = { 1 = "NI" } } +if = { sign_focalneuro_type___ni = 1 } +ref = "daily" + +[[long]] +attribute = "sign_focalneuro_type" +attribute_status = { field = "sign_focalneuro_type___nask", values = { 1 = "NASK" } } +if = { sign_focalneuro_type___nask = 1 } +ref = "daily" + +[[long]] +attribute = "sign_focalneuro_type" +attribute_status = { field = "sign_focalneuro_type___na", values = { 1 = "NA" } } +if = { sign_focalneuro_type___na = 1 } +ref = "daily" + +[[long]] +attribute = "sign_focalneuro_type_mov" +value = { field = "sign_focalneuro_type_mov___1", values = { 1 = "Tremor" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_focalneuro_type_mov" +value = { field = "sign_focalneuro_type_mov___2", values = { 1 = "Chorea" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_focalneuro_type_mov" +value = { field = "sign_focalneuro_type_mov___3", values = { 1 = "Dystonia" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_focalneuro_type_mov" +value = { field = "sign_focalneuro_type_mov___4", values = { 1 = "Myoclonus" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_focalneuro_type_mov" +value = { field = "sign_focalneuro_type_mov___5", values = { 1 = "Rigidity" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_focalneuro_type_mov" +value = { field = "sign_focalneuro_type_mov___6", values = { 1 = "Ataxia" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_focalneuro_type_mov" +value = { field = "sign_focalneuro_type_mov___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_focalneuro_type_mov" +attribute_status = { field = "sign_focalneuro_type_mov___unk", values = { 1 = "UNK" } } +if = { sign_focalneuro_type_mov___unk = 1 } +ref = "daily" + +[[long]] +attribute = "sign_focalneuro_type_mov" +attribute_status = { field = "sign_focalneuro_type_mov___ni", values = { 1 = "NI" } } +if = { sign_focalneuro_type_mov___ni = 1 } +ref = "daily" + +[[long]] +attribute = "sign_focalneuro_type_mov" +attribute_status = { field = "sign_focalneuro_type_mov___nask", values = { 1 = "NASK" } } +if = { sign_focalneuro_type_mov___nask = 1 } +ref = "daily" + +[[long]] +attribute = "sign_focalneuro_type_mov" +attribute_status = { field = "sign_focalneuro_type_mov___na", values = { 1 = "NA" } } +if = { sign_focalneuro_type_mov___na = 1 } +ref = "daily" + +[[long]] +attribute = "sign_seizures" +value = { field = "sign_seizures", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_seizures", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_seizures_type" +value = { field = "sign_seizures_type___1", values = { 1 = "Clinical seizures" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_seizures_type" +value = { field = "sign_seizures_type___2", values = { 1 = "Non-convulsive status epilepticus" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_seizures_type" +value = { field = "sign_seizures_type___3", values = { 1 = "EEG-confirmed seizure activity" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_seizures_type" +value = { field = "sign_seizures_type___4", values = { 1 = "Refractory status epilepticus" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_seizures_type" +attribute_status = { field = "sign_seizures_type___unk", values = { 1 = "UNK" } } +if = { sign_seizures_type___unk = 1 } +ref = "daily" + +[[long]] +attribute = "sign_seizures_type" +attribute_status = { field = "sign_seizures_type___ni", values = { 1 = "NI" } } +if = { sign_seizures_type___ni = 1 } +ref = "daily" + +[[long]] +attribute = "sign_seizures_type" +attribute_status = { field = "sign_seizures_type___nask", values = { 1 = "NASK" } } +if = { sign_seizures_type___nask = 1 } +ref = "daily" + +[[long]] +attribute = "sign_seizures_type" +attribute_status = { field = "sign_seizures_type___na", values = { 1 = "NA" } } +if = { sign_seizures_type___na = 1 } +ref = "daily" + +[[long]] +attribute = "sign_raiseicp" +value = { field = "sign_raiseicp", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_raiseicp", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_raiseicp_type" +value = { field = "sign_raiseicp_type___1", values = { 1 = "Cushing response" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_raiseicp_type" +value = { field = "sign_raiseicp_type___2", values = { 1 = "Papilloedema" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_raiseicp_type" +value = { field = "sign_raiseicp_type___3", values = { 1 = "Fixed/dilated pupil(s)" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_raiseicp_type" +value = { field = "sign_raiseicp_type___4", values = { 1 = "Posturing" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_raiseicp_type" +attribute_status = { field = "sign_raiseicp_type___unk", values = { 1 = "UNK" } } +if = { sign_raiseicp_type___unk = 1 } +ref = "daily" + +[[long]] +attribute = "sign_raiseicp_type" +attribute_status = { field = "sign_raiseicp_type___ni", values = { 1 = "NI" } } +if = { sign_raiseicp_type___ni = 1 } +ref = "daily" + +[[long]] +attribute = "sign_raiseicp_type" +attribute_status = { field = "sign_raiseicp_type___nask", values = { 1 = "NASK" } } +if = { sign_raiseicp_type___nask = 1 } +ref = "daily" + +[[long]] +attribute = "sign_raiseicp_type" +attribute_status = { field = "sign_raiseicp_type___na", values = { 1 = "NA" } } +if = { sign_raiseicp_type___na = 1 } +ref = "daily" + +[[long]] +attribute = "sign_encephalopathy" +value = { field = "sign_encephalopathy", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_encephalopathy", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_encephalopathy_type" +value = { field = "sign_encephalopathy_type___1", values = { 1 = "Delirium (hyper/hypoactive)" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_encephalopathy_type" +value = { field = "sign_encephalopathy_type___2", values = { 1 = "Behavioural disturbance" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_encephalopathy_type" +value = { field = "sign_encephalopathy_type___3", values = { 1 = "Psychosis" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_encephalopathy_type" +value = { field = "sign_encephalopathy_type___4", values = { 1 = "Coma" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "sign_encephalopathy_type" +attribute_status = { field = "sign_encephalopathy_type___unk", values = { 1 = "UNK" } } +if = { sign_encephalopathy_type___unk = 1 } +ref = "daily" + +[[long]] +attribute = "sign_encephalopathy_type" +attribute_status = { field = "sign_encephalopathy_type___ni", values = { 1 = "NI" } } +if = { sign_encephalopathy_type___ni = 1 } +ref = "daily" + +[[long]] +attribute = "sign_encephalopathy_type" +attribute_status = { field = "sign_encephalopathy_type___nask", values = { 1 = "NASK" } } +if = { sign_encephalopathy_type___nask = 1 } +ref = "daily" + +[[long]] +attribute = "sign_encephalopathy_type" +attribute_status = { field = "sign_encephalopathy_type___na", values = { 1 = "NA" } } +if = { sign_encephalopathy_type___na = 1 } +ref = "daily" + +[[long]] +attribute = "sign_neckstiff" +value = { field = "sign_neckstiff", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_neckstiff", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_retroorbit" +value = { field = "sign_retroorbit", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_retroorbit", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_hemiplegia" +value = { field = "sign_hemiplegia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_hemiplegia", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_cogimpair" +value = { field = "sign_cogimpair", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_cogimpair", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_neurodist" +value = { field = "sign_neurodist", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_neurodist", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_speechdist" +value = { field = "sign_speechdist", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_speechdist", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_staepil" +value = { field = "sign_staepil", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_staepil", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_agitation" +value = { field = "sign_agitation", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_agitation", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_cerebesig" +value = { field = "sign_cerebesig", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_cerebesig", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_neurologic" +value = { field = "sign_neurologic", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_neurologic", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_neurologic_spec" +attribute_status = { field = "sign_neurologic_spec", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "sign_neurologic_spec" + +[long.value.if] +all = [ + { sign_neurologic_spec = { "!=" = "UNK" } }, + { sign_neurologic_spec = { "!=" = "NI" } }, + { sign_neurologic_spec = { "!=" = "NASK" } }, + { sign_neurologic_spec = { "!=" = "NA" } }, + { sign_neurologic_spec = { "!=" = "" } }, +] + +[[long]] +attribute = "sign_conjunhemor" +value = { field = "sign_conjunhemor", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_conjunhemor", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_conjunctiv" +value = { field = "sign_conjunctiv", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_conjunctiv", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_keratitis" +value = { field = "sign_keratitis", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_keratitis", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_newvision" +value = { field = "sign_newvision", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_newvision", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_sunkeyes" +value = { field = "sign_sunkeyes", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_sunkeyes", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_ocularoth" +value = { field = "sign_ocularoth", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_ocularoth", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_ocularoth_spec" +attribute_status = { field = "sign_ocularoth_spec", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "sign_ocularoth_spec" + +[long.value.if] +all = [ + { sign_ocularoth_spec = { "!=" = "UNK" } }, + { sign_ocularoth_spec = { "!=" = "NI" } }, + { sign_ocularoth_spec = { "!=" = "NASK" } }, + { sign_ocularoth_spec = { "!=" = "NA" } }, + { sign_ocularoth_spec = { "!=" = "" } }, +] + +[[long]] +attribute = "sign_nasalflar" +value = { field = "sign_nasalflar", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_nasalflar", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_grunt" +value = { field = "sign_grunt", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_grunt", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_ftt" +value = { field = "sign_ftt", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_ftt", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_hypotonia" +value = { field = "sign_hypotonia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_hypotonia", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_bulgefont" +value = { field = "sign_bulgefont", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "sign_bulgefont", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "sign_unlisted" +attribute_status = { field = "sign_unlisted_{n}item", apply = { function = "attribute_status_fill" } } +ref = "daily" +for = { n = { range = [ + 0, + 4, +] } } + +[long.value] +field = "sign_unlisted_{n}item" +values = { 35 = "Fever", 54 = "Mucosal lesion", 69 = "Skin lesion" } +can_skip = true + +[[long]] +attribute = "sign_unlisted" +attribute_status = { field = "sign_unlisted_{n}otherl2", apply = { function = "attribute_status_fill" } } +ref = "daily" +for = { n = { range = [ + 0, + 4, +] } } + +[long.value] +field = "sign_unlisted_{n}otherl2" +can_skip = true + +[long.value.values] +1 = "Abdominal pain" +2 = "Abnormal weight loss" +3 = "Alopecia (Nonscarring hair loss)" +4 = "Altered consciousness / Confusion (Disorientation)" +5 = "Anorexia" +6 = "Apnoea" +7 = "Ascites" +8 = "Bleeding (Haemorrhage)" +9 = "Bruising (Spontaneous ecchymoses)" +10 = "Can't feel one side of the body or face (Hemiplegia)" +11 = "Can't fully move or control movement (Paralytic syndrome)" +12 = "Cardiac arrhythmia" +13 = "Changes in menstruation (Irregular menstruation)" +14 = "Changes in skin texture" +15 = "Chest pain" +16 = "Chest pain on breathing" +17 = "Chills (without fever)" +18 = "Cognitive impairment (Unspecified intellectual disabilities)" +19 = "Conjunctivitis" +20 = "Constipation" +21 = "Convulsions" +22 = "Cough" +23 = "Diarrhea" +24 = "Difficulty eating or drinking (Dysphagia)" +25 = "Difficulty in walking" +26 = "Disorders of nose and nasal sinuses" +27 = "Disturbance in attention (Altered mental status)" +28 = "Dizziness/light headedness (Dizziness and giddiness)" +29 = "Dry skin (Xerosis cutis)" +30 = "Ear pain (Otalgia)" +31 = "Erectile dysfunction" +32 = "Fainting / blackouts (Syncope and collapse)" +33 = "Fecal incontinence" +34 = "Feeding difficulty" +35 = "Fever" +36 = "Gastrointestinal bleeding (Gastrointestinal hemorrhage)" +37 = "Headache" +38 = "Hepatomegaly" +39 = "Increased thirst (Polydipsia)" +40 = "Increased urination (polyuria)" +41 = "Irritability" +42 = "Itchy eye" +43 = "Jaundice" +44 = "Joint pain (Arthralgia)" +45 = "Keratitis" +46 = "Limb weakness / paralysis (Monoplegia)" +47 = "Localized edema" +48 = "Loss of appetite (Anorexia)" +49 = "Loss of smell (Anosmia)" +50 = "Loss of taste (Parageusia)" +51 = "Lymphadenitis" +52 = "Malaise and fatigue" +53 = "Mouth ulcers (Recurrent oral aphthae)" +54 = "Mucosal lesion" +55 = "Muscle aches (Myalgia)" +56 = "Muscle weakness" +57 = "Nasal congestion" +58 = "Nausea or vomiting" +59 = "Pain during urination (Dysuria)" +60 = "Pallor" +61 = "Palpitations" +62 = "Paresthesia of skin" +63 = "Problems swallowing or chewing (Dysphagia)" +64 = "Pruritus" +65 = "Rapid heart beat/Pulse (Tachycardia)" +66 = "Rashes or skin lesions" +67 = "Retention of urine" +68 = "Shortness of breath (Dyspnea)" +69 = "Skin lesion" +70 = "Skin rash" +71 = "Sleep disorder" +72 = "Sneezing" +73 = "Sore throat (Pain in throat)" +74 = "Speech disturbances" +75 = "Spontaneous bruising (Spontaneous ecchymoses)" +76 = "Sweating (hyperhidrosis)" +77 = "Swollen lymph nodes (Enlarged lymph nodes)" +78 = "Tinnitus" +79 = "Tremor" +80 = "Urinary incontinence" +81 = "Visual disturbances" +82 = "Wheezing" + +[[long]] +attribute = "lesion_dailydata" +value = { field = "lesion_dailydata", values = { 1 = "Yes", 0 = "No" } } +attribute_status = { field = "lesion_dailydata", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "lesion_dist" +attribute_status = { field = "lesion_dist", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "lesion_dist" + +[long.value.values] +1 = "Generalised" +2 = "Localised around the genitals" +3 = "Centrifugal-more on the extremities" +4 = "Centripetal-more on the trunk" +88 = "Other distribution" +99 = "Unknown distribution" + +[[long]] +attribute = "lesion_distoth" +attribute_status = { field = "lesion_distoth", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "lesion_distoth" + +[long.value.if] +all = [ + { lesion_distoth = { "!=" = "UNK" } }, + { lesion_distoth = { "!=" = "NI" } }, + { lesion_distoth = { "!=" = "NASK" } }, + { lesion_distoth = { "!=" = "NA" } }, + { lesion_distoth = { "!=" = "" } }, +] + +[[long]] +attribute = "lesion_morph" +attribute_status = { field = "lesion_morph", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "lesion_morph" + +[long.value.values] +1 = "Mostly discrete lesions" +2 = "Semi-confluent lesions" +3 = "Confluent lesions" +4 = "Mixed morphology" +99 = "Unknown" + +[[long]] +attribute = "lesion_morphsize" +attribute_status = { field = "lesion_morphsize", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "lesion_morphsize" +values = { 1 = "Less than 0.5cm", 2 = "0.5-0.99cm", 3 = "1-1.99cm", 4 = "2+ cm" } + +[[long]] +attribute = "lesion_skinles" +attribute_status = { field = "lesion_skinles", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "lesion_skinles" + +[long.value.values] +1 = "There are active skin lesions" +2 = "There are skin lesions and none of them are active (lesions in the process of healing & resolving, including scabbed lesions)" +3 = "All skin lesions have completely resolved (all scabs have fallen off with intact skin)" +4 = "No skin lesions have developed to date" + +[[long]] +attribute = "lesion_res" +value = { field = "lesion_res", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "lesion_res", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "lesion_mucos" +attribute_status = { field = "lesion_mucos", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "lesion_mucos" + +[long.value.values] +1 = "There are mucosal lesions" +2 = "There is a history of mucosal lesions but none at present (all have resolved and mucosa is healed)" +3 = "No mucosal lesions have developed to date" + +[[long]] +attribute = "lesion_orophar" +value = { field = "lesion_orophar", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "lesion_orophar", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "lesion_oropharles" +value = { field = "lesion_oropharles", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "lesion_oropharles", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "lesion_head" +value = { field = "lesion_head", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "lesion_head", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "lesion_head_type" +value = { field = "lesion_head_type___1", values = { 1 = "Vesicle" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_head_type" +value = { field = "lesion_head_type___2", values = { 1 = "Pustule" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_head_type" +value = { field = "lesion_head_type___3", values = { 1 = "Ulcerated lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_head_type" +value = { field = "lesion_head_type___4", values = { 1 = "Necrotising lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_head_type" +value = { field = "lesion_head_type___5", values = { 1 = "Fungating lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_head_type" +value = { field = "lesion_head_type___6", values = { 1 = "Haemorrhagic lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_head_type" +value = { field = "lesion_head_type___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_head_type" +attribute_status = { field = "lesion_head_type___unk", values = { 1 = "UNK" } } +if = { lesion_head_type___unk = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_head_type" +attribute_status = { field = "lesion_head_type___ni", values = { 1 = "NI" } } +if = { lesion_head_type___ni = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_head_type" +attribute_status = { field = "lesion_head_type___nask", values = { 1 = "NASK" } } +if = { lesion_head_type___nask = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_head_type" +attribute_status = { field = "lesion_head_type___na", values = { 1 = "NA" } } +if = { lesion_head_type___na = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_head_type_oth" +attribute_status = { field = "lesion_head_type_oth", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "lesion_head_type_oth" + +[long.value.if] +all = [ + { lesion_head_type_oth = { "!=" = "UNK" } }, + { lesion_head_type_oth = { "!=" = "NI" } }, + { lesion_head_type_oth = { "!=" = "NASK" } }, + { lesion_head_type_oth = { "!=" = "NA" } }, + { lesion_head_type_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "lesion_head_num" +attribute_status = { field = "lesion_head_num", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "lesion_head_num" + +[long.value.if] +all = [ + { lesion_head_num = { "!=" = "UNK" } }, + { lesion_head_num = { "!=" = "NI" } }, + { lesion_head_num = { "!=" = "NASK" } }, + { lesion_head_num = { "!=" = "NA" } }, + { lesion_head_num = { "!=" = "" } }, +] + +[[long]] +attribute = "lesion_ocular" +value = { field = "lesion_ocular", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "lesion_ocular", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "lesion_ocular_type" +value = { field = "lesion_ocular_type___1", values = { 1 = "Vesicle" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_ocular_type" +value = { field = "lesion_ocular_type___2", values = { 1 = "Pustule" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_ocular_type" +value = { field = "lesion_ocular_type___3", values = { 1 = "Ulcerated lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_ocular_type" +value = { field = "lesion_ocular_type___4", values = { 1 = "Necrotising lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_ocular_type" +value = { field = "lesion_ocular_type___5", values = { 1 = "Fungating lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_ocular_type" +value = { field = "lesion_ocular_type___6", values = { 1 = "Haemorrhagic lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_ocular_type" +value = { field = "lesion_ocular_type___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_ocular_type" +attribute_status = { field = "lesion_ocular_type___unk", values = { 1 = "UNK" } } +if = { lesion_ocular_type___unk = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_ocular_type" +attribute_status = { field = "lesion_ocular_type___ni", values = { 1 = "NI" } } +if = { lesion_ocular_type___ni = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_ocular_type" +attribute_status = { field = "lesion_ocular_type___nask", values = { 1 = "NASK" } } +if = { lesion_ocular_type___nask = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_ocular_type" +attribute_status = { field = "lesion_ocular_type___na", values = { 1 = "NA" } } +if = { lesion_ocular_type___na = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_ocular_type_oth" +attribute_status = { field = "lesion_ocular_type_oth", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "lesion_ocular_type_oth" + +[long.value.if] +all = [ + { lesion_ocular_type_oth = { "!=" = "UNK" } }, + { lesion_ocular_type_oth = { "!=" = "NI" } }, + { lesion_ocular_type_oth = { "!=" = "NASK" } }, + { lesion_ocular_type_oth = { "!=" = "NA" } }, + { lesion_ocular_type_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "lesion_ocular_num" +attribute_status = { field = "lesion_ocular_num", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "lesion_ocular_num" + +[long.value.if] +all = [ + { lesion_ocular_num = { "!=" = "UNK" } }, + { lesion_ocular_num = { "!=" = "NI" } }, + { lesion_ocular_num = { "!=" = "NASK" } }, + { lesion_ocular_num = { "!=" = "NA" } }, + { lesion_ocular_num = { "!=" = "" } }, +] + +[[long]] +attribute = "lesion_torso" +value = { field = "lesion_torso", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "lesion_torso", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "lesion_torso_type" +value = { field = "lesion_torso_type___1", values = { 1 = "Vesicle" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_torso_type" +value = { field = "lesion_torso_type___2", values = { 1 = "Pustule" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_torso_type" +value = { field = "lesion_torso_type___3", values = { 1 = "Ulcerated lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_torso_type" +value = { field = "lesion_torso_type___4", values = { 1 = "Necrotising lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_torso_type" +value = { field = "lesion_torso_type___5", values = { 1 = "Fungating lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_torso_type" +value = { field = "lesion_torso_type___6", values = { 1 = "Haemorrhagic lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_torso_type" +value = { field = "lesion_torso_type___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_torso_type" +attribute_status = { field = "lesion_torso_type___unk", values = { 1 = "UNK" } } +if = { lesion_torso_type___unk = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_torso_type" +attribute_status = { field = "lesion_torso_type___ni", values = { 1 = "NI" } } +if = { lesion_torso_type___ni = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_torso_type" +attribute_status = { field = "lesion_torso_type___nask", values = { 1 = "NASK" } } +if = { lesion_torso_type___nask = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_torso_type" +attribute_status = { field = "lesion_torso_type___na", values = { 1 = "NA" } } +if = { lesion_torso_type___na = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_torso_type_oth" +attribute_status = { field = "lesion_torso_type_oth", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "lesion_torso_type_oth" + +[long.value.if] +all = [ + { lesion_torso_type_oth = { "!=" = "UNK" } }, + { lesion_torso_type_oth = { "!=" = "NI" } }, + { lesion_torso_type_oth = { "!=" = "NASK" } }, + { lesion_torso_type_oth = { "!=" = "NA" } }, + { lesion_torso_type_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "lesion_torso_num" +attribute_status = { field = "lesion_torso_num", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "lesion_torso_num" + +[long.value.if] +all = [ + { lesion_torso_num = { "!=" = "UNK" } }, + { lesion_torso_num = { "!=" = "NI" } }, + { lesion_torso_num = { "!=" = "NASK" } }, + { lesion_torso_num = { "!=" = "NA" } }, + { lesion_torso_num = { "!=" = "" } }, +] + +[[long]] +attribute = "lesion_arms" +value = { field = "lesion_arms", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "lesion_arms", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "lesion_arms_type" +value = { field = "lesion_arms_type___1", values = { 1 = "Vesicle" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_arms_type" +value = { field = "lesion_arms_type___2", values = { 1 = "Pustule" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_arms_type" +value = { field = "lesion_arms_type___3", values = { 1 = "Ulcerated lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_arms_type" +value = { field = "lesion_arms_type___4", values = { 1 = "Necrotising lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_arms_type" +value = { field = "lesion_arms_type___5", values = { 1 = "Fungating lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_arms_type" +value = { field = "lesion_arms_type___6", values = { 1 = "Haemorrhagic lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_arms_type" +value = { field = "lesion_arms_type___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_arms_type" +attribute_status = { field = "lesion_arms_type___unk", values = { 1 = "UNK" } } +if = { lesion_arms_type___unk = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_arms_type" +attribute_status = { field = "lesion_arms_type___ni", values = { 1 = "NI" } } +if = { lesion_arms_type___ni = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_arms_type" +attribute_status = { field = "lesion_arms_type___nask", values = { 1 = "NASK" } } +if = { lesion_arms_type___nask = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_arms_type" +attribute_status = { field = "lesion_arms_type___na", values = { 1 = "NA" } } +if = { lesion_arms_type___na = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_arms_type_oth" +attribute_status = { field = "lesion_arms_type_oth", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "lesion_arms_type_oth" + +[long.value.if] +all = [ + { lesion_arms_type_oth = { "!=" = "UNK" } }, + { lesion_arms_type_oth = { "!=" = "NI" } }, + { lesion_arms_type_oth = { "!=" = "NASK" } }, + { lesion_arms_type_oth = { "!=" = "NA" } }, + { lesion_arms_type_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "lesion_arms_num" +attribute_status = { field = "lesion_arms_num", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "lesion_arms_num" + +[long.value.if] +all = [ + { lesion_arms_num = { "!=" = "UNK" } }, + { lesion_arms_num = { "!=" = "NI" } }, + { lesion_arms_num = { "!=" = "NASK" } }, + { lesion_arms_num = { "!=" = "NA" } }, + { lesion_arms_num = { "!=" = "" } }, +] + +[[long]] +attribute = "lesion_legs" +value = { field = "lesion_legs", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "lesion_legs", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "lesion_legs_type" +value = { field = "lesion_legs_type___1", values = { 1 = "Vesicle" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_legs_type" +value = { field = "lesion_legs_type___2", values = { 1 = "Pustule" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_legs_type" +value = { field = "lesion_legs_type___3", values = { 1 = "Ulcerated lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_legs_type" +value = { field = "lesion_legs_type___4", values = { 1 = "Necrotising lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_legs_type" +value = { field = "lesion_legs_type___5", values = { 1 = "Fungating lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_legs_type" +value = { field = "lesion_legs_type___6", values = { 1 = "Haemorrhagic lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_legs_type" +value = { field = "lesion_legs_type___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_legs_type" +attribute_status = { field = "lesion_legs_type___unk", values = { 1 = "UNK" } } +if = { lesion_legs_type___unk = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_legs_type" +attribute_status = { field = "lesion_legs_type___ni", values = { 1 = "NI" } } +if = { lesion_legs_type___ni = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_legs_type" +attribute_status = { field = "lesion_legs_type___nask", values = { 1 = "NASK" } } +if = { lesion_legs_type___nask = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_legs_type" +attribute_status = { field = "lesion_legs_type___na", values = { 1 = "NA" } } +if = { lesion_legs_type___na = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_legs_type_oth" +attribute_status = { field = "lesion_legs_type_oth", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "lesion_legs_type_oth" + +[long.value.if] +all = [ + { lesion_legs_type_oth = { "!=" = "UNK" } }, + { lesion_legs_type_oth = { "!=" = "NI" } }, + { lesion_legs_type_oth = { "!=" = "NASK" } }, + { lesion_legs_type_oth = { "!=" = "NA" } }, + { lesion_legs_type_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "lesion_legs_num" +attribute_status = { field = "lesion_legs_num", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "lesion_legs_num" + +[long.value.if] +all = [ + { lesion_legs_num = { "!=" = "UNK" } }, + { lesion_legs_num = { "!=" = "NI" } }, + { lesion_legs_num = { "!=" = "NASK" } }, + { lesion_legs_num = { "!=" = "NA" } }, + { lesion_legs_num = { "!=" = "" } }, +] + +[[long]] +attribute = "lesion_palm" +value = { field = "lesion_palm", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "lesion_palm", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "lesion_palm_type" +value = { field = "lesion_palm_type___1", values = { 1 = "Vesicle" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_palm_type" +value = { field = "lesion_palm_type___2", values = { 1 = "Pustule" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_palm_type" +value = { field = "lesion_palm_type___3", values = { 1 = "Ulcerated lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_palm_type" +value = { field = "lesion_palm_type___4", values = { 1 = "Necrotising lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_palm_type" +value = { field = "lesion_palm_type___5", values = { 1 = "Fungating lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_palm_type" +value = { field = "lesion_palm_type___6", values = { 1 = "Haemorrhagic lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_palm_type" +value = { field = "lesion_palm_type___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_palm_type" +attribute_status = { field = "lesion_palm_type___unk", values = { 1 = "UNK" } } +if = { lesion_palm_type___unk = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_palm_type" +attribute_status = { field = "lesion_palm_type___ni", values = { 1 = "NI" } } +if = { lesion_palm_type___ni = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_palm_type" +attribute_status = { field = "lesion_palm_type___nask", values = { 1 = "NASK" } } +if = { lesion_palm_type___nask = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_palm_type" +attribute_status = { field = "lesion_palm_type___na", values = { 1 = "NA" } } +if = { lesion_palm_type___na = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_palm_type_oth" +attribute_status = { field = "lesion_palm_type_oth", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "lesion_palm_type_oth" + +[long.value.if] +all = [ + { lesion_palm_type_oth = { "!=" = "UNK" } }, + { lesion_palm_type_oth = { "!=" = "NI" } }, + { lesion_palm_type_oth = { "!=" = "NASK" } }, + { lesion_palm_type_oth = { "!=" = "NA" } }, + { lesion_palm_type_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "lesion_palm_num" +attribute_status = { field = "lesion_palm_num", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "lesion_palm_num" + +[long.value.if] +all = [ + { lesion_palm_num = { "!=" = "UNK" } }, + { lesion_palm_num = { "!=" = "NI" } }, + { lesion_palm_num = { "!=" = "NASK" } }, + { lesion_palm_num = { "!=" = "NA" } }, + { lesion_palm_num = { "!=" = "" } }, +] + +[[long]] +attribute = "lesion_sole" +value = { field = "lesion_sole", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "lesion_sole", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "lesion_sole_type" +value = { field = "lesion_sole_type___1", values = { 1 = "Vesicle" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_sole_type" +value = { field = "lesion_sole_type___2", values = { 1 = "Pustule" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_sole_type" +value = { field = "lesion_sole_type___3", values = { 1 = "Ulcerated lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_sole_type" +value = { field = "lesion_sole_type___4", values = { 1 = "Necrotising lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_sole_type" +value = { field = "lesion_sole_type___5", values = { 1 = "Fungating lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_sole_type" +value = { field = "lesion_sole_type___6", values = { 1 = "Haemorrhagic lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_sole_type" +value = { field = "lesion_sole_type___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_sole_type" +attribute_status = { field = "lesion_sole_type___unk", values = { 1 = "UNK" } } +if = { lesion_sole_type___unk = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_sole_type" +attribute_status = { field = "lesion_sole_type___ni", values = { 1 = "NI" } } +if = { lesion_sole_type___ni = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_sole_type" +attribute_status = { field = "lesion_sole_type___nask", values = { 1 = "NASK" } } +if = { lesion_sole_type___nask = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_sole_type" +attribute_status = { field = "lesion_sole_type___na", values = { 1 = "NA" } } +if = { lesion_sole_type___na = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_sole_oth" +attribute_status = { field = "lesion_sole_oth", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "lesion_sole_oth" + +[long.value.if] +all = [ + { lesion_sole_oth = { "!=" = "UNK" } }, + { lesion_sole_oth = { "!=" = "NI" } }, + { lesion_sole_oth = { "!=" = "NASK" } }, + { lesion_sole_oth = { "!=" = "NA" } }, + { lesion_sole_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "lesion_sole_num" +attribute_status = { field = "lesion_sole_num", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "lesion_sole_num" + +[long.value.if] +all = [ + { lesion_sole_num = { "!=" = "UNK" } }, + { lesion_sole_num = { "!=" = "NI" } }, + { lesion_sole_num = { "!=" = "NASK" } }, + { lesion_sole_num = { "!=" = "NA" } }, + { lesion_sole_num = { "!=" = "" } }, +] + +[[long]] +attribute = "lesion_genit" +value = { field = "lesion_genit", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "lesion_genit", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "lesion_genit_type" +value = { field = "lesion_genit_type___1", values = { 1 = "Vesicle" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_genit_type" +value = { field = "lesion_genit_type___2", values = { 1 = "Pustule" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_genit_type" +value = { field = "lesion_genit_type___3", values = { 1 = "Ulcerated lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_genit_type" +value = { field = "lesion_genit_type___4", values = { 1 = "Necrotising lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_genit_type" +value = { field = "lesion_genit_type___5", values = { 1 = "Fungating lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_genit_type" +value = { field = "lesion_genit_type___6", values = { 1 = "Haemorrhagic lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_genit_type" +value = { field = "lesion_genit_type___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_genit_type" +attribute_status = { field = "lesion_genit_type___unk", values = { 1 = "UNK" } } +if = { lesion_genit_type___unk = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_genit_type" +attribute_status = { field = "lesion_genit_type___ni", values = { 1 = "NI" } } +if = { lesion_genit_type___ni = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_genit_type" +attribute_status = { field = "lesion_genit_type___nask", values = { 1 = "NASK" } } +if = { lesion_genit_type___nask = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_genit_type" +attribute_status = { field = "lesion_genit_type___na", values = { 1 = "NA" } } +if = { lesion_genit_type___na = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_genit_type_oth" +attribute_status = { field = "lesion_genit_type_oth", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "lesion_genit_type_oth" + +[long.value.if] +all = [ + { lesion_genit_type_oth = { "!=" = "UNK" } }, + { lesion_genit_type_oth = { "!=" = "NI" } }, + { lesion_genit_type_oth = { "!=" = "NASK" } }, + { lesion_genit_type_oth = { "!=" = "NA" } }, + { lesion_genit_type_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "lesion_genit_num" +attribute_status = { field = "lesion_genit_num", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "lesion_genit_num" + +[long.value.if] +all = [ + { lesion_genit_num = { "!=" = "UNK" } }, + { lesion_genit_num = { "!=" = "NI" } }, + { lesion_genit_num = { "!=" = "NASK" } }, + { lesion_genit_num = { "!=" = "NA" } }, + { lesion_genit_num = { "!=" = "" } }, +] + +[[long]] +attribute = "lesion_peri" +value = { field = "lesion_peri", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "lesion_peri", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "lesion_peri_type" +value = { field = "lesion_peri_type___1", values = { 1 = "Vesicle" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_peri_type" +value = { field = "lesion_peri_type___2", values = { 1 = "Pustule" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_peri_type" +value = { field = "lesion_peri_type___3", values = { 1 = "Ulcerated lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_peri_type" +value = { field = "lesion_peri_type___4", values = { 1 = "Necrotising lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_peri_type" +value = { field = "lesion_peri_type___5", values = { 1 = "Fungating lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_peri_type" +value = { field = "lesion_peri_type___6", values = { 1 = "Haemorrhagic lesions" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_peri_type" +value = { field = "lesion_peri_type___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_peri_type" +attribute_status = { field = "lesion_peri_type___unk", values = { 1 = "UNK" } } +if = { lesion_peri_type___unk = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_peri_type" +attribute_status = { field = "lesion_peri_type___ni", values = { 1 = "NI" } } +if = { lesion_peri_type___ni = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_peri_type" +attribute_status = { field = "lesion_peri_type___nask", values = { 1 = "NASK" } } +if = { lesion_peri_type___nask = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_peri_type" +attribute_status = { field = "lesion_peri_type___na", values = { 1 = "NA" } } +if = { lesion_peri_type___na = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_peri_type_oth" +attribute_status = { field = "lesion_peri_type_oth", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "lesion_peri_type_oth" + +[long.value.if] +all = [ + { lesion_peri_type_oth = { "!=" = "UNK" } }, + { lesion_peri_type_oth = { "!=" = "NI" } }, + { lesion_peri_type_oth = { "!=" = "NASK" } }, + { lesion_peri_type_oth = { "!=" = "NA" } }, + { lesion_peri_type_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "lesion_peri_num" +attribute_status = { field = "lesion_peri_num", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "lesion_peri_num" + +[long.value.if] +all = [ + { lesion_peri_num = { "!=" = "UNK" } }, + { lesion_peri_num = { "!=" = "NI" } }, + { lesion_peri_num = { "!=" = "NASK" } }, + { lesion_peri_num = { "!=" = "NA" } }, + { lesion_peri_num = { "!=" = "" } }, +] + +[[long]] +attribute = "lesion_mouth" +value = { field = "lesion_mouth", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "lesion_mouth", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "lesion_mouth_stat" +value = { field = "lesion_mouth_stat___1", values = { 1 = "Causing pain" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_mouth_stat" +value = { field = "lesion_mouth_stat___2", values = { 1 = "Bleeding or Discharge" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_mouth_stat" +value = { field = "lesion_mouth_stat___3", values = { 1 = "Ulceration" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_mouth_stat" +attribute_status = { field = "lesion_mouth_stat___unk", values = { 1 = "UNK" } } +if = { lesion_mouth_stat___unk = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_mouth_stat" +attribute_status = { field = "lesion_mouth_stat___ni", values = { 1 = "NI" } } +if = { lesion_mouth_stat___ni = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_mouth_stat" +attribute_status = { field = "lesion_mouth_stat___nask", values = { 1 = "NASK" } } +if = { lesion_mouth_stat___nask = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_mouth_stat" +attribute_status = { field = "lesion_mouth_stat___na", values = { 1 = "NA" } } +if = { lesion_mouth_stat___na = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_vagin" +value = { field = "lesion_vagin", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "lesion_vagin", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "lesion_vagin_stat" +value = { field = "lesion_vagin_stat___1", values = { 1 = "Causing pain" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_vagin_stat" +value = { field = "lesion_vagin_stat___2", values = { 1 = "Bleeding or Discharge" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_vagin_stat" +value = { field = "lesion_vagin_stat___3", values = { 1 = "Ulceration" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_vagin_stat" +attribute_status = { field = "lesion_vagin_stat___unk", values = { 1 = "UNK" } } +if = { lesion_vagin_stat___unk = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_vagin_stat" +attribute_status = { field = "lesion_vagin_stat___ni", values = { 1 = "NI" } } +if = { lesion_vagin_stat___ni = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_vagin_stat" +attribute_status = { field = "lesion_vagin_stat___nask", values = { 1 = "NASK" } } +if = { lesion_vagin_stat___nask = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_vagin_stat" +attribute_status = { field = "lesion_vagin_stat___na", values = { 1 = "NA" } } +if = { lesion_vagin_stat___na = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_rectum" +value = { field = "lesion_rectum", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "lesion_rectum", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "lesion_rectum_stat" +value = { field = "lesion_rectum_stat___1", values = { 1 = "Causing pain" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_rectum_stat" +value = { field = "lesion_rectum_stat___2", values = { 1 = "Bleeding or Discharge" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_rectum_stat" +value = { field = "lesion_rectum_stat___3", values = { 1 = "Ulceration" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_rectum_stat" +value = { field = "lesion_rectum_stat___4", values = { 1 = "Tenesmus" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_rectum_stat" +attribute_status = { field = "lesion_rectum_stat___unk", values = { 1 = "UNK" } } +if = { lesion_rectum_stat___unk = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_rectum_stat" +attribute_status = { field = "lesion_rectum_stat___ni", values = { 1 = "NI" } } +if = { lesion_rectum_stat___ni = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_rectum_stat" +attribute_status = { field = "lesion_rectum_stat___nask", values = { 1 = "NASK" } } +if = { lesion_rectum_stat___nask = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_rectum_stat" +attribute_status = { field = "lesion_rectum_stat___na", values = { 1 = "NA" } } +if = { lesion_rectum_stat___na = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_anorec" +value = { field = "lesion_anorec", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "lesion_anorec", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "lesion_penis" +value = { field = "lesion_penis", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "lesion_penis", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "lesion_penis_stat" +value = { field = "lesion_penis_stat___1", values = { 1 = "Causing pain" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_penis_stat" +value = { field = "lesion_penis_stat___2", values = { 1 = "Bleeding or Discharge" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_penis_stat" +value = { field = "lesion_penis_stat___3", values = { 1 = "Ulceration" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_penis_stat" +attribute_status = { field = "lesion_penis_stat___unk", values = { 1 = "UNK" } } +if = { lesion_penis_stat___unk = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_penis_stat" +attribute_status = { field = "lesion_penis_stat___ni", values = { 1 = "NI" } } +if = { lesion_penis_stat___ni = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_penis_stat" +attribute_status = { field = "lesion_penis_stat___nask", values = { 1 = "NASK" } } +if = { lesion_penis_stat___nask = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_penis_stat" +attribute_status = { field = "lesion_penis_stat___na", values = { 1 = "NA" } } +if = { lesion_penis_stat___na = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_othsite" +value = { field = "lesion_othsite", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "lesion_othsite", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "lesion_othsite_spec" +attribute_status = { field = "lesion_othsite_spec", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "lesion_othsite_spec" + +[long.value.if] +all = [ + { lesion_othsite_spec = { "!=" = "UNK" } }, + { lesion_othsite_spec = { "!=" = "NI" } }, + { lesion_othsite_spec = { "!=" = "NASK" } }, + { lesion_othsite_spec = { "!=" = "NA" } }, + { lesion_othsite_spec = { "!=" = "" } }, +] + +[[long]] +attribute = "lesion_othstat" +value = { field = "lesion_othstat___1", values = { 1 = "Causing pain" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_othstat" +value = { field = "lesion_othstat___2", values = { 1 = "Bleeding or Discharge" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_othstat" +value = { field = "lesion_othstat___3", values = { 1 = "Ulceration" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "lesion_othstat" +attribute_status = { field = "lesion_othstat___unk", values = { 1 = "UNK" } } +if = { lesion_othstat___unk = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_othstat" +attribute_status = { field = "lesion_othstat___ni", values = { 1 = "NI" } } +if = { lesion_othstat___ni = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_othstat" +attribute_status = { field = "lesion_othstat___nask", values = { 1 = "NASK" } } +if = { lesion_othstat___nask = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_othstat" +attribute_status = { field = "lesion_othstat___na", values = { 1 = "NA" } } +if = { lesion_othstat___na = 1 } +ref = "daily" + +[[long]] +attribute = "lesion_24hr" +value = { field = "lesion_24hr", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "lesion_24hr", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "lesion_sl" +attribute_status = { field = "lesion_sl", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "lesion_sl" + +[long.value.values] +0 = "None" +1 = "1" +2 = "2-5" +3 = "6-9" +4 = "10-24" +5 = "25-49" +6 = "50-99" +7 = "100-250" +8 = "251-1000" +9 = ">1000" + +[[long]] +attribute = "lesion_ml" +attribute_status = { field = "lesion_ml", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "lesion_ml" + +[long.value.values] +0 = "None" +1 = "1" +2 = "2-5" +3 = "6-9" +4 = "10-24" +5 = "25-49" +6 = "50-99" +7 = "100-250" +8 = "251-1000" +9 = ">1000" + +[[long]] +attribute = "lesion_slpain" +value = { field = "lesion_slpain", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "lesion_slpain", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "lesion_slpain_score" +attribute_status = { field = "lesion_slpain_score", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "lesion_slpain_score" + +[long.value_num.if] +all = [ + { lesion_slpain_score = { "!=" = "UNK" } }, + { lesion_slpain_score = { "!=" = "NI" } }, + { lesion_slpain_score = { "!=" = "NASK" } }, + { lesion_slpain_score = { "!=" = "NA" } }, + { lesion_slpain_score = { "!=" = "" } }, +] + +[[long]] +attribute = "lesion_mlpain" +value = { field = "lesion_mlpain", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "lesion_mlpain", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "lesion_mlpain_score" +attribute_status = { field = "lesion_mlpain_score", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "lesion_mlpain_score" + +[long.value_num.if] +all = [ + { lesion_mlpain_score = { "!=" = "UNK" } }, + { lesion_mlpain_score = { "!=" = "NI" } }, + { lesion_mlpain_score = { "!=" = "NASK" } }, + { lesion_mlpain_score = { "!=" = "NA" } }, + { lesion_mlpain_score = { "!=" = "" } }, +] + +[[long]] +attribute = "lesion_desc" +attribute_status = { field = "lesion_desc", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "lesion_desc" + +[long.value.if] +all = [ + { lesion_desc = { "!=" = "UNK" } }, + { lesion_desc = { "!=" = "NI" } }, + { lesion_desc = { "!=" = "NASK" } }, + { lesion_desc = { "!=" = "NA" } }, + { lesion_desc = { "!=" = "" } }, +] + +[[long]] +attribute = "treat_dailydata" +value = { field = "treat_dailydata", values = { 1 = "Yes", 0 = "No" } } +attribute_status = { field = "treat_dailydata", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "treat_fluid" +value = { field = "treat_fluid", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "treat_fluid", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "treat_fluid_oral" +value = { field = "treat_fluid_oral", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "treat_fluid_oral", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "treat_fluid_oralvol" +attribute_status = { field = "treat_fluid_oralvol", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "treat_fluid_oralvol" + +[long.value.if] +all = [ + { treat_fluid_oralvol = { "!=" = "UNK" } }, + { treat_fluid_oralvol = { "!=" = "NI" } }, + { treat_fluid_oralvol = { "!=" = "NASK" } }, + { treat_fluid_oralvol = { "!=" = "NA" } }, + { treat_fluid_oralvol = { "!=" = "" } }, +] + +[[long]] +attribute = "treat_fluid_parent" +value = { field = "treat_fluid_parent", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "treat_fluid_parent", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "treat_fluid_parent_type" +attribute_status = "VAL" +ref = "daily" + +[long.value] +field = "treat_fluid_parent_type___1" +values = { 1 = "0.18%-0.3% Sodium Chloride + 4% Glucose (Hypotonic saline with dextrose)" } +can_skip = true + +[[long]] +attribute = "treat_fluid_parent_type" +attribute_status = "VAL" +ref = "daily" + +[long.value] +field = "treat_fluid_parent_type___2" +values = { 1 = "0.45% Sodium Chloride (Half-normal saline)" } +can_skip = true + +[[long]] +attribute = "treat_fluid_parent_type" +attribute_status = "VAL" +ref = "daily" + +[long.value] +field = "treat_fluid_parent_type___3" +values = { 1 = "0.45% normal saline + 4% Glucose (Half-normal saline with dextrose)" } +can_skip = true + +[[long]] +attribute = "treat_fluid_parent_type" +attribute_status = "VAL" +ref = "daily" + +[long.value] +field = "treat_fluid_parent_type___4" +values = { 1 = "0.9% Sodium Chloride (Normal Saline)" } +can_skip = true + +[[long]] +attribute = "treat_fluid_parent_type" +attribute_status = "VAL" +ref = "daily" + +[long.value] +field = "treat_fluid_parent_type___5" +values = { 1 = "5% Glucose (Dextrose 5% in Water)" } +can_skip = true + +[[long]] +attribute = "treat_fluid_parent_type" +value = { field = "treat_fluid_parent_type___6", values = { 1 = "Albumin" }, can_skip = true } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "treat_fluid_parent_type" +value = { field = "treat_fluid_parent_type___7", values = { 1 = "Gelatins" }, can_skip = true } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "treat_fluid_parent_type" +value = { field = "treat_fluid_parent_type___8", values = { 1 = "Lactated Ringers(USP)" }, can_skip = true } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "treat_fluid_parent_type" +value = { field = "treat_fluid_parent_type___9", values = { 1 = "Plasmalyte" }, can_skip = true } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "treat_fluid_parent_type" +value = { field = "treat_fluid_parent_type___10", values = { 1 = "Ringers acetate" }, can_skip = true } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "treat_fluid_parent_type" +value = { field = "treat_fluid_parent_type___11", values = { 1 = "Starches" }, can_skip = true } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "treat_fluid_parent_type" +attribute_status = { field = "treat_fluid_parent_type___unk", values = { 1 = "UNK" } } +if = { treat_fluid_parent_type___unk = 1 } +ref = "daily" + +[[long]] +attribute = "treat_fluid_parent_type" +attribute_status = { field = "treat_fluid_parent_type___ni", values = { 1 = "NI" } } +if = { treat_fluid_parent_type___ni = 1 } +ref = "daily" + +[[long]] +attribute = "treat_fluid_parent_type" +attribute_status = { field = "treat_fluid_parent_type___nask", values = { 1 = "NASK" } } +if = { treat_fluid_parent_type___nask = 1 } +ref = "daily" + +[[long]] +attribute = "treat_fluid_parent_type" +attribute_status = { field = "treat_fluid_parent_type___na", values = { 1 = "NA" } } +if = { treat_fluid_parent_type___na = 1 } +ref = "daily" + +[[long]] +attribute = "treat_fluid_parent_type" +attribute_status = { field = "treat_fluid_parent_type_otherl2", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "treat_fluid_parent_type_otherl2" +can_skip = true + +[long.value.values] +1 = "0.18%-0.3% Sodium Chloride + 4% Glucose (Hypotonic saline with dextrose)" +2 = "0.45% Sodium Chloride (Half-normal saline)" +3 = "0.45% normal saline + 4% Glucose (Half-normal saline with dextrose)" +4 = "0.9% Sodium Chloride (Normal Saline)" +5 = "5% Glucose (Dextrose 5% in Water)" +6 = "Albumin" +7 = "Gelatins" +8 = "Lactated Ringers(USP)" +9 = "Plasmalyte" +10 = "Ringers acetate" +11 = "Starches" + +[[long]] +attribute = "treat_fluid_parent_type" +value = { field = "treat_fluid_parent_type_otherl3", can_skip = true } +attribute_status = { field = "treat_fluid_parent_type_otherl3", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "treat_fluid_cryst" +attribute_status = { field = "treat_fluid_cryst", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "treat_fluid_cryst" + +[long.value_num.if] +all = [ + { treat_fluid_cryst = { "!=" = "UNK" } }, + { treat_fluid_cryst = { "!=" = "NI" } }, + { treat_fluid_cryst = { "!=" = "NASK" } }, + { treat_fluid_cryst = { "!=" = "NA" } }, + { treat_fluid_cryst = { "!=" = "" } }, +] + +[[long]] +attribute = "treat_fluid_colloid" +attribute_status = { field = "treat_fluid_colloid", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "treat_fluid_colloid" + +[long.value_num.if] +all = [ + { treat_fluid_colloid = { "!=" = "UNK" } }, + { treat_fluid_colloid = { "!=" = "NI" } }, + { treat_fluid_colloid = { "!=" = "NASK" } }, + { treat_fluid_colloid = { "!=" = "NA" } }, + { treat_fluid_colloid = { "!=" = "" } }, +] + +[[long]] +attribute = "treat_blood" +value = { field = "treat_blood", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "treat_blood", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "treat_blood_type" +value = { field = "treat_blood_type___1", values = { 1 = "Platelets" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "treat_blood_type" +value = { field = "treat_blood_type___2", values = { 1 = "Cryoprecipitate" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "treat_blood_type" +value = { field = "treat_blood_type___3", values = { 1 = "Whole blood" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "treat_blood_type" +value = { field = "treat_blood_type___4", values = { 1 = "Frozen fresh plasma" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "treat_blood_type" +value = { field = "treat_blood_type___5", values = { 1 = "Fibrinogen concentrate" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "treat_blood_type" +value = { field = "treat_blood_type___6", values = { 1 = "Packed RBC (red cell concentrate)" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "treat_blood_type" +attribute_status = { field = "treat_blood_type___unk", values = { 1 = "UNK" } } +if = { treat_blood_type___unk = 1 } +ref = "daily" + +[[long]] +attribute = "treat_blood_type" +attribute_status = { field = "treat_blood_type___ni", values = { 1 = "NI" } } +if = { treat_blood_type___ni = 1 } +ref = "daily" + +[[long]] +attribute = "treat_blood_type" +attribute_status = { field = "treat_blood_type___nask", values = { 1 = "NASK" } } +if = { treat_blood_type___nask = 1 } +ref = "daily" + +[[long]] +attribute = "treat_blood_type" +attribute_status = { field = "treat_blood_type___na", values = { 1 = "NA" } } +if = { treat_blood_type___na = 1 } +ref = "daily" + +[[long]] +attribute = "treat_blood_plate" +attribute_status = { field = "treat_blood_plate", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "treat_blood_plate" + +[long.value.if] +all = [ + { treat_blood_plate = { "!=" = "UNK" } }, + { treat_blood_plate = { "!=" = "NI" } }, + { treat_blood_plate = { "!=" = "NASK" } }, + { treat_blood_plate = { "!=" = "NA" } }, + { treat_blood_plate = { "!=" = "" } }, +] + +[[long]] +attribute = "treat_blood_cryo" +attribute_status = { field = "treat_blood_cryo", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "treat_blood_cryo" + +[long.value.if] +all = [ + { treat_blood_cryo = { "!=" = "UNK" } }, + { treat_blood_cryo = { "!=" = "NI" } }, + { treat_blood_cryo = { "!=" = "NASK" } }, + { treat_blood_cryo = { "!=" = "NA" } }, + { treat_blood_cryo = { "!=" = "" } }, +] + +[[long]] +attribute = "treat_blood_whole" +attribute_status = { field = "treat_blood_whole", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "treat_blood_whole" + +[long.value.if] +all = [ + { treat_blood_whole = { "!=" = "UNK" } }, + { treat_blood_whole = { "!=" = "NI" } }, + { treat_blood_whole = { "!=" = "NASK" } }, + { treat_blood_whole = { "!=" = "NA" } }, + { treat_blood_whole = { "!=" = "" } }, +] + +[[long]] +attribute = "treat_blood_plasma" +attribute_status = { field = "treat_blood_plasma", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "treat_blood_plasma" + +[long.value.if] +all = [ + { treat_blood_plasma = { "!=" = "UNK" } }, + { treat_blood_plasma = { "!=" = "NI" } }, + { treat_blood_plasma = { "!=" = "NASK" } }, + { treat_blood_plasma = { "!=" = "NA" } }, + { treat_blood_plasma = { "!=" = "" } }, +] + +[[long]] +attribute = "treat_blood_fibrin" +attribute_status = { field = "treat_blood_fibrin", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "treat_blood_fibrin" + +[long.value.if] +all = [ + { treat_blood_fibrin = { "!=" = "UNK" } }, + { treat_blood_fibrin = { "!=" = "NI" } }, + { treat_blood_fibrin = { "!=" = "NASK" } }, + { treat_blood_fibrin = { "!=" = "NA" } }, + { treat_blood_fibrin = { "!=" = "" } }, +] + +[[long]] +attribute = "treat_blood_rcc" +attribute_status = { field = "treat_blood_rcc", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "treat_blood_rcc" + +[long.value.if] +all = [ + { treat_blood_rcc = { "!=" = "UNK" } }, + { treat_blood_rcc = { "!=" = "NI" } }, + { treat_blood_rcc = { "!=" = "NASK" } }, + { treat_blood_rcc = { "!=" = "NA" } }, + { treat_blood_rcc = { "!=" = "" } }, +] + +[[long]] +attribute = "treat_intravenim" +value = { field = "treat_intravenim", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "treat_intravenim", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "treat_plasmapher" +value = { field = "treat_plasmapher", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "treat_plasmapher", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "treat_antibiotic" +value = { field = "treat_antibiotic", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "treat_antibiotic", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "treat_steroids" +value = { field = "treat_steroids", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "treat_steroids", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "treat_other" +value = { field = "treat_other", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "treat_other", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "treat_other_spec" +attribute_status = { field = "treat_other_spec", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "treat_other_spec" + +[long.value.if] +all = [ + { treat_other_spec = { "!=" = "UNK" } }, + { treat_other_spec = { "!=" = "NI" } }, + { treat_other_spec = { "!=" = "NASK" } }, + { treat_other_spec = { "!=" = "NA" } }, + { treat_other_spec = { "!=" = "" } }, +] + +[[long]] +attribute = "treat_o2supp" +value = { field = "treat_o2supp", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "treat_o2supp", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "treat_nasalprongs" +value = { field = "treat_nasalprongs", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "treat_nasalprongs", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "treat_facemask" +value = { field = "treat_facemask", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "treat_facemask", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "treat_hfno" +value = { field = "treat_hfno", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "treat_hfno", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "treat_niv" +value = { field = "treat_niv", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "treat_niv", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "treat_niv_type" +value = { field = "treat_niv_type", values = { 1 = "CPAP", 2 = "BIPAP", 99 = "Unknown", 88 = "Other" } } +attribute_status = { field = "treat_niv_type", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "treat_niv_type_oth" +attribute_status = { field = "treat_niv_type_oth", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "treat_niv_type_oth" + +[long.value.if] +all = [ + { treat_niv_type_oth = { "!=" = "UNK" } }, + { treat_niv_type_oth = { "!=" = "NI" } }, + { treat_niv_type_oth = { "!=" = "NASK" } }, + { treat_niv_type_oth = { "!=" = "NA" } }, + { treat_niv_type_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "treat_imv" +value = { field = "treat_imv", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "treat_imv", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "treat_ecmo" +value = { field = "treat_ecmo", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "treat_ecmo", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "treat_ecmo_type" +attribute_status = { field = "treat_ecmo_type", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "treat_ecmo_type" +values = { 1 = "Veno-venous (VV)", 2 = "Veno-arterial (VA)", 99 = "Unknown" } + +[[long]] +attribute = "treat_prone" +value = { field = "treat_prone", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "treat_prone", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "treat_prone_when" +attribute_status = { field = "treat_prone_when", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "treat_prone_when" +values = { 1 = "During invasive ventilation", 2 = "Whilst self-ventilating", 99 = "Unknown" } + +[[long]] +attribute = "treat_pao2yn" +attribute_status = { field = "treat_pao2yn", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "treat_pao2yn" +values = { 1 = "Arterial", 2 = "Capillary", 3 = "Venous", 99 = "Unknown", 0 = "Not done" } + +[[long]] +attribute = "treat_pao2_kpa" +attribute_unit = "kPa" +ref = "daily" + +[long.if] +all = [ + { treat_pao2_kpa = { "!=" = "" }, can_skip = true }, + { treat_pao2 = { "!=" = "" }, can_skip = true }, + { treat_pao2_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "treat_pao2_kpa", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "treat_pao2", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "treat_pao2_kpa", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "treat_pao2", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "treat_pao2_mmhg" +attribute_unit = "mmHg" +ref = "daily" + +[long.if] +all = [ + { treat_pao2_mmhg = { "!=" = "" }, can_skip = true }, + { treat_pao2 = { "!=" = "" }, can_skip = true }, + { treat_pao2_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "treat_pao2_mmhg", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "treat_pao2", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "treat_pao2_mmhg", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "treat_pao2", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "treat_highfio_02110" +attribute_unit = "Fraction, 0.21-1.0" +ref = "daily" + +[long.if] +all = [ + { treat_highfio_02110 = { "!=" = "" }, can_skip = true }, + { treat_highfio = { "!=" = "" }, can_skip = true }, + { treat_highfio_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "treat_highfio_02110" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "treat_highfio" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "treat_highfio_02110" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "treat_highfio" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "treat_highfio_pcnt" +attribute_unit = "%" +ref = "daily" + +[long.if] +all = [ + { treat_highfio_pcnt = { "!=" = "" }, can_skip = true }, + { treat_highfio = { "!=" = "" }, can_skip = true }, + { treat_highfio_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "treat_highfio_pcnt" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "treat_highfio" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "treat_highfio_pcnt" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "treat_highfio" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "treat_o2supp_oth" +value = { field = "treat_o2supp_oth", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "treat_o2supp_oth", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "treat_o2supp_oth_spec" +attribute_status = { field = "treat_o2supp_oth_spec", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "treat_o2supp_oth_spec" + +[long.value.if] +all = [ + { treat_o2supp_oth_spec = { "!=" = "UNK" } }, + { treat_o2supp_oth_spec = { "!=" = "NI" } }, + { treat_o2supp_oth_spec = { "!=" = "NASK" } }, + { treat_o2supp_oth_spec = { "!=" = "NA" } }, + { treat_o2supp_oth_spec = { "!=" = "" } }, +] + +[[long]] +attribute = "critd_critcare" +value = { field = "critd_critcare", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "critd_critcare", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "critd_icu" +value = { field = "critd_icu", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "critd_icu", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "critd_neuromusc" +value = { field = "critd_neuromusc", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "critd_neuromusc", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "critd_nitricoxide" +value = { field = "critd_nitricoxide", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "critd_nitricoxide", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "critd_tracheostmy" +value = { field = "critd_tracheostmy", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "critd_tracheostmy", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "critd_rtt" +value = { field = "critd_rtt", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "critd_rtt", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "critd_rtt_typ" +value = { field = "critd_rtt_typ", values = { 1 = "Intermittent", 2 = "Continuous", 99 = "Unknown" } } +attribute_status = { field = "critd_rtt_typ", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "critd_vasopress" +value = { field = "critd_vasopress", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "critd_vasopress", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "critd_vasopress_reas" +value = { field = "critd_vasopress_reas___1", values = { 1 = "Shock" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "critd_vasopress_reas" +value = { field = "critd_vasopress_reas___2", values = { 1 = "Persistent hypotension" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "critd_vasopress_reas" +value = { field = "critd_vasopress_reas___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "critd_vasopress_reas" +value = { field = "critd_vasopress_reas___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "critd_vasopress_reas" +attribute_status = { field = "critd_vasopress_reas___unk", values = { 1 = "UNK" } } +if = { critd_vasopress_reas___unk = 1 } +ref = "daily" + +[[long]] +attribute = "critd_vasopress_reas" +attribute_status = { field = "critd_vasopress_reas___ni", values = { 1 = "NI" } } +if = { critd_vasopress_reas___ni = 1 } +ref = "daily" + +[[long]] +attribute = "critd_vasopress_reas" +attribute_status = { field = "critd_vasopress_reas___nask", values = { 1 = "NASK" } } +if = { critd_vasopress_reas___nask = 1 } +ref = "daily" + +[[long]] +attribute = "critd_vasopress_reas" +attribute_status = { field = "critd_vasopress_reas___na", values = { 1 = "NA" } } +if = { critd_vasopress_reas___na = 1 } +ref = "daily" + +[[long]] +attribute = "critd_vasopress_reasoth" +attribute_status = { field = "critd_vasopress_reasoth", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "critd_vasopress_reasoth" + +[long.value.if] +all = [ + { critd_vasopress_reasoth = { "!=" = "UNK" } }, + { critd_vasopress_reasoth = { "!=" = "NI" } }, + { critd_vasopress_reasoth = { "!=" = "NASK" } }, + { critd_vasopress_reasoth = { "!=" = "NA" } }, + { critd_vasopress_reasoth = { "!=" = "" } }, +] + +[[long]] +attribute = "critd_vasopress1" +value = { field = "critd_vasopress1", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "critd_vasopress1", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "critd_vasopress2" +value = { field = "critd_vasopress2", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "critd_vasopress2", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "critd_vasopress3" +value = { field = "critd_vasopress3", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "critd_vasopress3", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "critd_vasopress_type" +value = { field = "critd_vasopress_type___1", values = { 1 = "Dopamine (<5ug/kg/min)" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "critd_vasopress_type" +value = { field = "critd_vasopress_type___2", values = { 1 = "Dopamine (5-15ug/kg/min)" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "critd_vasopress_type" +value = { field = "critd_vasopress_type___3", values = { 1 = "Dopamine (>15ug/kg/min)" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "critd_vasopress_type" +attribute_status = "VAL" +ref = "daily" + +[long.value] +field = "critd_vasopress_type___4" +values = { 1 = "Norepinephrine (noradrenaline) < 0.1ug/kg/min" } + +[[long]] +attribute = "critd_vasopress_type" +attribute_status = "VAL" +ref = "daily" + +[long.value] +field = "critd_vasopress_type___5" +values = { 1 = "Norepinephrine (noradrenaline) > 0.1ug/kg/min" } + +[[long]] +attribute = "critd_vasopress_type" +value = { field = "critd_vasopress_type___6", values = { 1 = "Epinephrine (adrenaline)" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "critd_vasopress_type" +value = { field = "critd_vasopress_type___7", values = { 1 = "Dobutamine" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "critd_vasopress_type" +value = { field = "critd_vasopress_type___8", values = { 1 = "Milrinone" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "critd_vasopress_type" +value = { field = "critd_vasopress_type___9", values = { 1 = "Levosimendan" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "critd_vasopress_type" +value = { field = "critd_vasopress_type___10", values = { 1 = "Vasopressin" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "critd_vasopress_type" +value = { field = "critd_vasopress_type___11", values = { 1 = "Phenylephrine" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "critd_vasopress_type" +value = { field = "critd_vasopress_type___12", values = { 1 = "Terlipressin" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "critd_vasopress_type" +value = { field = "critd_vasopress_type___13", values = { 1 = "Angiotensin-II" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "critd_vasopress_type" +attribute_status = { field = "critd_vasopress_type___unk", values = { 1 = "UNK" } } +if = { critd_vasopress_type___unk = 1 } +ref = "daily" + +[[long]] +attribute = "critd_vasopress_type" +attribute_status = { field = "critd_vasopress_type___ni", values = { 1 = "NI" } } +if = { critd_vasopress_type___ni = 1 } +ref = "daily" + +[[long]] +attribute = "critd_vasopress_type" +attribute_status = { field = "critd_vasopress_type___nask", values = { 1 = "NASK" } } +if = { critd_vasopress_type___nask = 1 } +ref = "daily" + +[[long]] +attribute = "critd_vasopress_type" +attribute_status = { field = "critd_vasopress_type___na", values = { 1 = "NA" } } +if = { critd_vasopress_type___na = 1 } +ref = "daily" + +[[long]] +attribute = "critd_critcareunlst" +value = { field = "critd_critcareunlst", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "critd_critcareunlst", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "critd_critcareunlst_oth" +attribute_status = { field = "critd_critcareunlst_oth", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "critd_critcareunlst_oth" + +[long.value.if] +all = [ + { critd_critcareunlst_oth = { "!=" = "UNK" } }, + { critd_critcareunlst_oth = { "!=" = "NI" } }, + { critd_critcareunlst_oth = { "!=" = "NASK" } }, + { critd_critcareunlst_oth = { "!=" = "NA" } }, + { critd_critcareunlst_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_dailydata" +value = { field = "labs_dailydata", values = { 1 = "Yes", 0 = "No" } } +attribute_status = { field = "labs_dailydata", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "labs_haemo_gdl" +attribute_unit = "g/dL" +ref = "daily" + +[long.if] +all = [ + { labs_haemo_gdl = { "!=" = "" }, can_skip = true }, + { labs_haemo = { "!=" = "" }, can_skip = true }, + { labs_haemo_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "labs_haemo_gdl", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "labs_haemo", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "labs_haemo_gdl", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "labs_haemo", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "labs_haemo_gl" +attribute_unit = "g/L" +ref = "daily" + +[long.if] +all = [ + { labs_haemo_gl = { "!=" = "" }, can_skip = true }, + { labs_haemo = { "!=" = "" }, can_skip = true }, + { labs_haemo_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "labs_haemo_gl", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "labs_haemo", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "labs_haemo_gl", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "labs_haemo", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "labs_wbccount" +attribute_status = { field = "labs_wbccount", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "labs_wbccount" + +[long.value_num.if] +all = [ + { labs_wbccount = { "!=" = "UNK" } }, + { labs_wbccount = { "!=" = "NI" } }, + { labs_wbccount = { "!=" = "NASK" } }, + { labs_wbccount = { "!=" = "NA" } }, + { labs_wbccount = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_neutrophil_109l" +attribute_unit = "10^9/L" +ref = "daily" + +[long.if] +all = [ + { labs_neutrophil_109l = { "!=" = "" }, can_skip = true }, + { labs_neutrophil = { "!=" = "" }, can_skip = true }, + { labs_neutrophil_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "labs_neutrophil_109l" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "labs_neutrophil" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "labs_neutrophil_109l" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "labs_neutrophil" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "labs_neutrophil_pcnt" +attribute_unit = "%" +ref = "daily" + +[long.if] +all = [ + { labs_neutrophil_pcnt = { "!=" = "" }, can_skip = true }, + { labs_neutrophil = { "!=" = "" }, can_skip = true }, + { labs_neutrophil_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "labs_neutrophil_pcnt" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "labs_neutrophil" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "labs_neutrophil_pcnt" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "labs_neutrophil" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "labs_lymphocyte_109l" +attribute_unit = "10^9/L" +ref = "daily" + +[long.if] +all = [ + { labs_lymphocyte_109l = { "!=" = "" }, can_skip = true }, + { labs_lymphocyte = { "!=" = "" }, can_skip = true }, + { labs_lymphocyte_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "labs_lymphocyte_109l" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "labs_lymphocyte" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "labs_lymphocyte_109l" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "labs_lymphocyte" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "labs_lymphocyte_pcnt" +attribute_unit = "%" +ref = "daily" + +[long.if] +all = [ + { labs_lymphocyte_pcnt = { "!=" = "" }, can_skip = true }, + { labs_lymphocyte = { "!=" = "" }, can_skip = true }, + { labs_lymphocyte_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "labs_lymphocyte_pcnt" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "labs_lymphocyte" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "labs_lymphocyte_pcnt" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "labs_lymphocyte" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "labs_eosinophil_109l" +attribute_unit = "10^9/L" +ref = "daily" + +[long.if] +all = [ + { labs_eosinophil_109l = { "!=" = "" }, can_skip = true }, + { labs_eosinophil = { "!=" = "" }, can_skip = true }, + { labs_eosinophil_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "labs_eosinophil_109l" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "labs_eosinophil" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "labs_eosinophil_109l" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "labs_eosinophil" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "labs_eosinophil_pcnt" +attribute_unit = "%" +ref = "daily" + +[long.if] +all = [ + { labs_eosinophil_pcnt = { "!=" = "" }, can_skip = true }, + { labs_eosinophil = { "!=" = "" }, can_skip = true }, + { labs_eosinophil_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "labs_eosinophil_pcnt" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "labs_eosinophil" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "labs_eosinophil_pcnt" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "labs_eosinophil" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "labs_hematocrit_pcnt" +attribute_unit = "%" +ref = "daily" + +[long.if] +all = [ + { labs_hematocrit_pcnt = { "!=" = "" }, can_skip = true }, + { labs_hematocrit = { "!=" = "" }, can_skip = true }, + { labs_hematocrit_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "labs_hematocrit_pcnt" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "labs_hematocrit" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "labs_hematocrit_pcnt" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "labs_hematocrit" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "labs_hematocrit_ll" +attribute_unit = "L/L" +ref = "daily" + +[long.if] +all = [ + { labs_hematocrit_ll = { "!=" = "" }, can_skip = true }, + { labs_hematocrit = { "!=" = "" }, can_skip = true }, + { labs_hematocrit_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "labs_hematocrit_ll" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "labs_hematocrit" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "labs_hematocrit_ll" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "labs_hematocrit" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "labs_platelets_109l" +attribute_unit = "10^9/L" +ref = "daily" + +[long.if] +all = [ + { labs_platelets_109l = { "!=" = "" }, can_skip = true }, + { labs_platelets = { "!=" = "" }, can_skip = true }, + { labs_platelets_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "labs_platelets_109l" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "labs_platelets" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "labs_platelets_109l" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "labs_platelets" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "labs_platelets_103ul" +attribute_unit = "10^3/µL" +ref = "daily" + +[long.if] +all = [ + { labs_platelets_103ul = { "!=" = "" }, can_skip = true }, + { labs_platelets = { "!=" = "" }, can_skip = true }, + { labs_platelets_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "labs_platelets_103ul" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "labs_platelets" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "labs_platelets_103ul" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "labs_platelets" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "labs_erymeancorvol" +attribute_status = { field = "labs_erymeancorvol", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "labs_erymeancorvol" + +[long.value_num.if] +all = [ + { labs_erymeancorvol = { "!=" = "UNK" } }, + { labs_erymeancorvol = { "!=" = "NI" } }, + { labs_erymeancorvol = { "!=" = "NASK" } }, + { labs_erymeancorvol = { "!=" = "NA" } }, + { labs_erymeancorvol = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_erymeancorhgb_gl" +attribute_unit = "g/L" +ref = "daily" + +[long.if] +all = [ + { labs_erymeancorhgb_gl = { "!=" = "" }, can_skip = true }, + { labs_erymeancorhgb = { "!=" = "" }, can_skip = true }, + { labs_erymeancorhgb_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "labs_erymeancorhgb_gl" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "labs_erymeancorhgb" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "labs_erymeancorhgb_gl" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "labs_erymeancorhgb" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "labs_erymeancorhgb_gdl" +attribute_unit = "g/dL" +ref = "daily" + +[long.if] +all = [ + { labs_erymeancorhgb_gdl = { "!=" = "" }, can_skip = true }, + { labs_erymeancorhgb = { "!=" = "" }, can_skip = true }, + { labs_erymeancorhgb_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "labs_erymeancorhgb_gdl" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "labs_erymeancorhgb" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "labs_erymeancorhgb_gdl" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "labs_erymeancorhgb" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "labs_erymeancorhe" +attribute_status = { field = "labs_erymeancorhe", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "labs_erymeancorhe" + +[long.value_num.if] +all = [ + { labs_erymeancorhe = { "!=" = "UNK" } }, + { labs_erymeancorhe = { "!=" = "NI" } }, + { labs_erymeancorhe = { "!=" = "NASK" } }, + { labs_erymeancorhe = { "!=" = "NA" } }, + { labs_erymeancorhe = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_prothrombin" +attribute_status = { field = "labs_prothrombin", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "labs_prothrombin" + +[long.value_num.if] +all = [ + { labs_prothrombin = { "!=" = "UNK" } }, + { labs_prothrombin = { "!=" = "NI" } }, + { labs_prothrombin = { "!=" = "NASK" } }, + { labs_prothrombin = { "!=" = "NA" } }, + { labs_prothrombin = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_aptt" +attribute_status = { field = "labs_aptt", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "labs_aptt" + +[long.value_num.if] +all = [ + { labs_aptt = { "!=" = "UNK" } }, + { labs_aptt = { "!=" = "NI" } }, + { labs_aptt = { "!=" = "NASK" } }, + { labs_aptt = { "!=" = "NA" } }, + { labs_aptt = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_aptr" +attribute_status = { field = "labs_aptr", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "labs_aptr" + +[long.value_num.if] +all = [ + { labs_aptr = { "!=" = "UNK" } }, + { labs_aptr = { "!=" = "NI" } }, + { labs_aptr = { "!=" = "NASK" } }, + { labs_aptr = { "!=" = "NA" } }, + { labs_aptr = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_tqinr" +attribute_status = { field = "labs_tqinr", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "labs_tqinr" + +[long.value_num.if] +all = [ + { labs_tqinr = { "!=" = "UNK" } }, + { labs_tqinr = { "!=" = "NI" } }, + { labs_tqinr = { "!=" = "NASK" } }, + { labs_tqinr = { "!=" = "NA" } }, + { labs_tqinr = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_fibrinogen_gl" +attribute_unit = "g/L" +ref = "daily" + +[long.if] +all = [ + { labs_fibrinogen_gl = { "!=" = "" }, can_skip = true }, + { labs_fibrinogen = { "!=" = "" }, can_skip = true }, + { labs_fibrinogen_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "labs_fibrinogen_gl" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "labs_fibrinogen" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "labs_fibrinogen_gl" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "labs_fibrinogen" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "labs_fibrinogen_mgdl" +attribute_unit = "mg/dL" +ref = "daily" + +[long.if] +all = [ + { labs_fibrinogen_mgdl = { "!=" = "" }, can_skip = true }, + { labs_fibrinogen = { "!=" = "" }, can_skip = true }, + { labs_fibrinogen_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "labs_fibrinogen_mgdl" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "labs_fibrinogen" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "labs_fibrinogen_mgdl" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "labs_fibrinogen" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "labs_ddimer_mgl" +attribute_unit = "mg/L" +ref = "daily" + +[long.if] +all = [ + { labs_ddimer_mgl = { "!=" = "" }, can_skip = true }, + { labs_ddimer = { "!=" = "" }, can_skip = true }, + { labs_ddimer_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "labs_ddimer_mgl", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "labs_ddimer", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "labs_ddimer_mgl", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "labs_ddimer", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "labs_ddimer_ugl" +attribute_unit = "µg/L" +ref = "daily" + +[long.if] +all = [ + { labs_ddimer_ugl = { "!=" = "" }, can_skip = true }, + { labs_ddimer = { "!=" = "" }, can_skip = true }, + { labs_ddimer_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "labs_ddimer_ugl", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "labs_ddimer", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "labs_ddimer_ugl", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "labs_ddimer", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "labs_bilirubin_umoll" +attribute_unit = "µmol/L" +ref = "daily" + +[long.if] +all = [ + { labs_bilirubin_umoll = { "!=" = "" }, can_skip = true }, + { labs_bilirubin = { "!=" = "" }, can_skip = true }, + { labs_bilirubin_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "labs_bilirubin_umoll" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "labs_bilirubin" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "labs_bilirubin_umoll" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "labs_bilirubin" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "labs_bilirubin_mgdl" +attribute_unit = "mg/dL" +ref = "daily" + +[long.if] +all = [ + { labs_bilirubin_mgdl = { "!=" = "" }, can_skip = true }, + { labs_bilirubin = { "!=" = "" }, can_skip = true }, + { labs_bilirubin_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "labs_bilirubin_mgdl" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "labs_bilirubin" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "labs_bilirubin_mgdl" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "labs_bilirubin" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "labs_altsgpt" +attribute_status = { field = "labs_altsgpt", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "labs_altsgpt" + +[long.value_num.if] +all = [ + { labs_altsgpt = { "!=" = "UNK" } }, + { labs_altsgpt = { "!=" = "NI" } }, + { labs_altsgpt = { "!=" = "NASK" } }, + { labs_altsgpt = { "!=" = "NA" } }, + { labs_altsgpt = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_astsgot" +attribute_status = { field = "labs_astsgot", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "labs_astsgot" + +[long.value_num.if] +all = [ + { labs_astsgot = { "!=" = "UNK" } }, + { labs_astsgot = { "!=" = "NI" } }, + { labs_astsgot = { "!=" = "NASK" } }, + { labs_astsgot = { "!=" = "NA" } }, + { labs_astsgot = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_alp" +attribute_status = { field = "labs_alp", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "labs_alp" + +[long.value_num.if] +all = [ + { labs_alp = { "!=" = "UNK" } }, + { labs_alp = { "!=" = "NI" } }, + { labs_alp = { "!=" = "NASK" } }, + { labs_alp = { "!=" = "NA" } }, + { labs_alp = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_ggt" +attribute_status = { field = "labs_ggt", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "labs_ggt" + +[long.value_num.if] +all = [ + { labs_ggt = { "!=" = "UNK" } }, + { labs_ggt = { "!=" = "NI" } }, + { labs_ggt = { "!=" = "NASK" } }, + { labs_ggt = { "!=" = "NA" } }, + { labs_ggt = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_albumin_gl" +attribute_unit = "g/L" +ref = "daily" + +[long.if] +all = [ + { labs_albumin_gl = { "!=" = "" }, can_skip = true }, + { labs_albumin = { "!=" = "" }, can_skip = true }, + { labs_albumin_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "labs_albumin_gl", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "labs_albumin", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "labs_albumin_gl", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "labs_albumin", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "labs_albumin_mmoll" +attribute_unit = "mmol/L" +ref = "daily" + +[long.if] +all = [ + { labs_albumin_mmoll = { "!=" = "" }, can_skip = true }, + { labs_albumin = { "!=" = "" }, can_skip = true }, + { labs_albumin_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "labs_albumin_mmoll" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "labs_albumin" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "labs_albumin_mmoll" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "labs_albumin" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "labs_glucose_mmoll" +attribute_unit = "mmol/L" +ref = "daily" + +[long.if] +all = [ + { labs_glucose_mmoll = { "!=" = "" }, can_skip = true }, + { labs_glucose = { "!=" = "" }, can_skip = true }, + { labs_glucose_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "labs_glucose_mmoll" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "labs_glucose" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "labs_glucose_mmoll" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "labs_glucose" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "labs_glucose_mgdl" +attribute_unit = "mg/dL" +ref = "daily" + +[long.if] +all = [ + { labs_glucose_mgdl = { "!=" = "" }, can_skip = true }, + { labs_glucose = { "!=" = "" }, can_skip = true }, + { labs_glucose_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "labs_glucose_mgdl", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "labs_glucose", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "labs_glucose_mgdl" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "labs_glucose" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "labs_glucose_gl" +attribute_unit = "g/L" +ref = "daily" + +[long.if] +all = [ + { labs_glucose_gl = { "!=" = "" }, can_skip = true }, + { labs_glucose = { "!=" = "" }, can_skip = true }, + { labs_glucose_units = 3 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "labs_glucose_gl", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "labs_glucose", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "labs_glucose_gl", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "labs_glucose", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "labs_hba1c" +attribute_status = { field = "labs_hba1c", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "labs_hba1c" + +[long.value_num.if] +all = [ + { labs_hba1c = { "!=" = "UNK" } }, + { labs_hba1c = { "!=" = "NI" } }, + { labs_hba1c = { "!=" = "NASK" } }, + { labs_hba1c = { "!=" = "NA" } }, + { labs_hba1c = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_ureanitro_mmoll" +attribute_unit = "mmol/L" +ref = "daily" + +[long.if] +all = [ + { labs_ureanitro_mmoll = { "!=" = "" }, can_skip = true }, + { labs_ureanitro = { "!=" = "" }, can_skip = true }, + { labs_ureanitro_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "labs_ureanitro_mmoll" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "labs_ureanitro" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "labs_ureanitro_mmoll" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "labs_ureanitro" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "labs_ureanitro_mgdl" +attribute_unit = "mg/dL" +ref = "daily" + +[long.if] +all = [ + { labs_ureanitro_mgdl = { "!=" = "" }, can_skip = true }, + { labs_ureanitro = { "!=" = "" }, can_skip = true }, + { labs_ureanitro_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "labs_ureanitro_mgdl" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "labs_ureanitro" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "labs_ureanitro_mgdl" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "labs_ureanitro" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "labs_creatinine_umoll" +attribute_unit = "µmol/L" +ref = "daily" + +[long.if] +all = [ + { labs_creatinine_umoll = { "!=" = "" }, can_skip = true }, + { labs_creatinine = { "!=" = "" }, can_skip = true }, + { labs_creatinine_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "labs_creatinine_umoll" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "labs_creatinine" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "labs_creatinine_umoll" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "labs_creatinine" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "labs_creatinine_mgdl" +attribute_unit = "mg/dL" +ref = "daily" + +[long.if] +all = [ + { labs_creatinine_mgdl = { "!=" = "" }, can_skip = true }, + { labs_creatinine = { "!=" = "" }, can_skip = true }, + { labs_creatinine_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "labs_creatinine_mgdl" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "labs_creatinine" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "labs_creatinine_mgdl" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "labs_creatinine" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "labs_sodium" +attribute_status = { field = "labs_sodium", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "labs_sodium" + +[long.value_num.if] +all = [ + { labs_sodium = { "!=" = "UNK" } }, + { labs_sodium = { "!=" = "NI" } }, + { labs_sodium = { "!=" = "NASK" } }, + { labs_sodium = { "!=" = "NA" } }, + { labs_sodium = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_potassium" +attribute_status = { field = "labs_potassium", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "labs_potassium" + +[long.value_num.if] +all = [ + { labs_potassium = { "!=" = "UNK" } }, + { labs_potassium = { "!=" = "NI" } }, + { labs_potassium = { "!=" = "NASK" } }, + { labs_potassium = { "!=" = "NA" } }, + { labs_potassium = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_creatineki" +attribute_status = { field = "labs_creatineki", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "labs_creatineki" + +[long.value_num.if] +all = [ + { labs_creatineki = { "!=" = "UNK" } }, + { labs_creatineki = { "!=" = "NI" } }, + { labs_creatineki = { "!=" = "NASK" } }, + { labs_creatineki = { "!=" = "NA" } }, + { labs_creatineki = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_ldh" +attribute_status = { field = "labs_ldh", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "labs_ldh" + +[long.value_num.if] +all = [ + { labs_ldh = { "!=" = "UNK" } }, + { labs_ldh = { "!=" = "NI" } }, + { labs_ldh = { "!=" = "NASK" } }, + { labs_ldh = { "!=" = "NA" } }, + { labs_ldh = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_glomerular" +attribute_status = { field = "labs_glomerular", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "labs_glomerular" + +[long.value_num.if] +all = [ + { labs_glomerular = { "!=" = "UNK" } }, + { labs_glomerular = { "!=" = "NI" } }, + { labs_glomerular = { "!=" = "NASK" } }, + { labs_glomerular = { "!=" = "NA" } }, + { labs_glomerular = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_calcium_mmoll" +attribute_unit = "mmol/L" +ref = "daily" + +[long.if] +all = [ + { labs_calcium_mmoll = { "!=" = "" }, can_skip = true }, + { labs_calcium = { "!=" = "" }, can_skip = true }, + { labs_calcium_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "labs_calcium_mmoll" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "labs_calcium" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "labs_calcium_mmoll" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "labs_calcium" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "labs_calcium_meql" +attribute_unit = "mEq/L" +ref = "daily" + +[long.if] +all = [ + { labs_calcium_meql = { "!=" = "" }, can_skip = true }, + { labs_calcium = { "!=" = "" }, can_skip = true }, + { labs_calcium_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "labs_calcium_meql", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "labs_calcium", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "labs_calcium_meql" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "labs_calcium" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "labs_calcium_mgdl" +attribute_unit = "mg/dL" +ref = "daily" + +[long.if] +all = [ + { labs_calcium_mgdl = { "!=" = "" }, can_skip = true }, + { labs_calcium = { "!=" = "" }, can_skip = true }, + { labs_calcium_units = 3 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "labs_calcium_mgdl", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "labs_calcium", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "labs_calcium_mgdl" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "labs_calcium" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "labs_chlor_mmoll" +attribute_unit = "mmol/L" +ref = "daily" + +[long.if] +all = [ + { labs_chlor_mmoll = { "!=" = "" }, can_skip = true }, + { labs_chlor = { "!=" = "" }, can_skip = true }, + { labs_chlor_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "labs_chlor_mmoll", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "labs_chlor", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "labs_chlor_mmoll", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "labs_chlor", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "labs_chlor_mgdl" +attribute_unit = "mg/dL" +ref = "daily" + +[long.if] +all = [ + { labs_chlor_mgdl = { "!=" = "" }, can_skip = true }, + { labs_chlor = { "!=" = "" }, can_skip = true }, + { labs_chlor_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "labs_chlor_mgdl", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "labs_chlor", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "labs_chlor_mgdl", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "labs_chlor", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "labs_magn_mmoll" +attribute_unit = "mmol/L" +ref = "daily" + +[long.if] +all = [ + { labs_magn_mmoll = { "!=" = "" }, can_skip = true }, + { labs_magn = { "!=" = "" }, can_skip = true }, + { labs_magn_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "labs_magn_mmoll", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "labs_magn", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "labs_magn_mmoll", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "labs_magn", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "labs_magn_mgdl" +attribute_unit = "mg/dL" +ref = "daily" + +[long.if] +all = [ + { labs_magn_mgdl = { "!=" = "" }, can_skip = true }, + { labs_magn = { "!=" = "" }, can_skip = true }, + { labs_magn_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "labs_magn_mgdl", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "labs_magn", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "labs_magn_mgdl", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "labs_magn", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "labs_procalcito_ngml" +attribute_unit = "ng/mL" +ref = "daily" + +[long.if] +all = [ + { labs_procalcito_ngml = { "!=" = "" }, can_skip = true }, + { labs_procalcito = { "!=" = "" }, can_skip = true }, + { labs_procalcito_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "labs_procalcito_ngml" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "labs_procalcito" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "labs_procalcito_ngml" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "labs_procalcito" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "labs_procalcito_ugl" +attribute_unit = "µg/L" +ref = "daily" + +[long.if] +all = [ + { labs_procalcito_ugl = { "!=" = "" }, can_skip = true }, + { labs_procalcito = { "!=" = "" }, can_skip = true }, + { labs_procalcito_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "labs_procalcito_ugl" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "labs_procalcito" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "labs_procalcito_ugl" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "labs_procalcito" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "labs_crp_mgl" +attribute_unit = "mg/L" +ref = "daily" + +[long.if] +all = [ + { labs_crp_mgl = { "!=" = "" }, can_skip = true }, + { labs_crp = { "!=" = "" }, can_skip = true }, + { labs_crp_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "labs_crp_mgl", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "labs_crp", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "labs_crp_mgl", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "labs_crp", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "labs_crp_mgdl" +attribute_unit = "mg/dL" +ref = "daily" + +[long.if] +all = [ + { labs_crp_mgdl = { "!=" = "" }, can_skip = true }, + { labs_crp = { "!=" = "" }, can_skip = true }, + { labs_crp_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "labs_crp_mgdl", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "labs_crp", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "labs_crp_mgdl", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "labs_crp", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "labs_esr" +attribute_status = { field = "labs_esr", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "labs_esr" + +[long.value_num.if] +all = [ + { labs_esr = { "!=" = "UNK" } }, + { labs_esr = { "!=" = "NI" } }, + { labs_esr = { "!=" = "NASK" } }, + { labs_esr = { "!=" = "NA" } }, + { labs_esr = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_bloodgas_type" +attribute_status = { field = "labs_bloodgas_type", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "labs_bloodgas_type" +values = { 1 = "Arterial", 2 = "Capillary", 3 = "Venous", 99 = "Unknown" } + +[[long]] +attribute = "labs_lactate_mmoll" +attribute_unit = "mmol/L" +ref = "daily" + +[long.if] +all = [ + { labs_lactate_mmoll = { "!=" = "" }, can_skip = true }, + { labs_lactate = { "!=" = "" }, can_skip = true }, + { labs_lactate_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "labs_lactate_mmoll" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "labs_lactate" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "labs_lactate_mmoll" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "labs_lactate" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "labs_lactate_mgdl" +attribute_unit = "mg/dL" +ref = "daily" + +[long.if] +all = [ + { labs_lactate_mgdl = { "!=" = "" }, can_skip = true }, + { labs_lactate = { "!=" = "" }, can_skip = true }, + { labs_lactate_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "labs_lactate_mgdl", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "labs_lactate", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "labs_lactate_mgdl" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "labs_lactate" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "labs_paco2_mmhg" +attribute_unit = "mmHg" +ref = "daily" + +[long.if] +all = [ + { labs_paco2_mmhg = { "!=" = "" }, can_skip = true }, + { labs_paco2 = { "!=" = "" }, can_skip = true }, + { labs_paco2_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "labs_paco2_mmhg", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "labs_paco2", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "labs_paco2_mmhg", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "labs_paco2", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "labs_paco2_kpa" +attribute_unit = "kPa" +ref = "daily" + +[long.if] +all = [ + { labs_paco2_kpa = { "!=" = "" }, can_skip = true }, + { labs_paco2 = { "!=" = "" }, can_skip = true }, + { labs_paco2_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "labs_paco2_kpa", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "labs_paco2", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "labs_paco2_kpa", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "labs_paco2", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "labs_ph" +attribute_status = { field = "labs_ph", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "labs_ph" + +[long.value_num.if] +all = [ + { labs_ph = { "!=" = "UNK" } }, + { labs_ph = { "!=" = "NI" } }, + { labs_ph = { "!=" = "NASK" } }, + { labs_ph = { "!=" = "NA" } }, + { labs_ph = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_hco3" +attribute_status = { field = "labs_hco3", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "labs_hco3" + +[long.value_num.if] +all = [ + { labs_hco3 = { "!=" = "UNK" } }, + { labs_hco3 = { "!=" = "NI" } }, + { labs_hco3 = { "!=" = "NASK" } }, + { labs_hco3 = { "!=" = "NA" } }, + { labs_hco3 = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_baseexcess" +attribute_status = { field = "labs_baseexcess", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "labs_baseexcess" + +[long.value_num.if] +all = [ + { labs_baseexcess = { "!=" = "UNK" } }, + { labs_baseexcess = { "!=" = "NI" } }, + { labs_baseexcess = { "!=" = "NASK" } }, + { labs_baseexcess = { "!=" = "NA" } }, + { labs_baseexcess = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_cd4_celmm" +attribute_unit = "cells/mm^3" +ref = "daily" + +[long.if] +all = [ + { labs_cd4_celmm = { "!=" = "" }, can_skip = true }, + { labs_cd4 = { "!=" = "" }, can_skip = true }, + { labs_cd4_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "labs_cd4_celmm", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "labs_cd4", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "labs_cd4_celmm", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "labs_cd4", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "labs_cd4_106cell" +attribute_unit = "10^6 cells/L" +ref = "daily" + +[long.if] +all = [ + { labs_cd4_106cell = { "!=" = "" }, can_skip = true }, + { labs_cd4 = { "!=" = "" }, can_skip = true }, + { labs_cd4_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "labs_cd4_106cell", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "labs_cd4", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "labs_cd4_106cell", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "labs_cd4", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "labs_cd4_celul" +attribute_unit = "cells/µL" +ref = "daily" + +[long.if] +all = [ + { labs_cd4_celul = { "!=" = "" }, can_skip = true }, + { labs_cd4 = { "!=" = "" }, can_skip = true }, + { labs_cd4_units = 3 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "labs_cd4_celul", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "labs_cd4", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "labs_cd4_celul", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "labs_cd4", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "labs_preg" +value = { field = "labs_preg", values = { 1 = "Positive", 0 = "Negative", 99 = "Unknown" } } +attribute_status = { field = "labs_preg", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "labs_tropi_ngl" +attribute_unit = "ng/L" +ref = "daily" + +[long.if] +all = [ + { labs_tropi_ngl = { "!=" = "" }, can_skip = true }, + { labs_tropi = { "!=" = "" }, can_skip = true }, + { labs_tropi_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "labs_tropi_ngl", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "labs_tropi", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "labs_tropi_ngl", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "labs_tropi", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "labs_tropi_ngml" +attribute_unit = "ng/mL" +ref = "daily" + +[long.if] +all = [ + { labs_tropi_ngml = { "!=" = "" }, can_skip = true }, + { labs_tropi = { "!=" = "" }, can_skip = true }, + { labs_tropi_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "labs_tropi_ngml", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "labs_tropi", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "labs_tropi_ngml", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "labs_tropi", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "labs_ferritin" +attribute_status = { field = "labs_ferritin", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "labs_ferritin" + +[long.value_num.if] +all = [ + { labs_ferritin = { "!=" = "UNK" } }, + { labs_ferritin = { "!=" = "NI" } }, + { labs_ferritin = { "!=" = "NASK" } }, + { labs_ferritin = { "!=" = "NA" } }, + { labs_ferritin = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_uric_umoll" +attribute_unit = "µmol/L" +ref = "daily" + +[long.if] +all = [ + { labs_uric_umoll = { "!=" = "" }, can_skip = true }, + { labs_uric = { "!=" = "" }, can_skip = true }, + { labs_uric_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "labs_uric_umoll", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "labs_uric", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "labs_uric_umoll", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "labs_uric", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "labs_uric_mgdl" +attribute_unit = "mg/dL" +ref = "daily" + +[long.if] +all = [ + { labs_uric_mgdl = { "!=" = "" }, can_skip = true }, + { labs_uric = { "!=" = "" }, can_skip = true }, + { labs_uric_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "labs_uric_mgdl", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "labs_uric", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "labs_uric_mgdl", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "labs_uric", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "labs_il6" +attribute_status = { field = "labs_il6", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "labs_il6" + +[long.value_num.if] +all = [ + { labs_il6 = { "!=" = "UNK" } }, + { labs_il6 = { "!=" = "NI" } }, + { labs_il6 = { "!=" = "NASK" } }, + { labs_il6 = { "!=" = "NA" } }, + { labs_il6 = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_protein_gdl" +attribute_unit = "g/dL" +ref = "daily" + +[long.if] +all = [ + { labs_protein_gdl = { "!=" = "" }, can_skip = true }, + { labs_protein = { "!=" = "" }, can_skip = true }, + { labs_protein_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "labs_protein_gdl", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "labs_protein", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "labs_protein_gdl", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "labs_protein", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "labs_protein_gl" +attribute_unit = "g/L" +ref = "daily" + +[long.if] +all = [ + { labs_protein_gl = { "!=" = "" }, can_skip = true }, + { labs_protein = { "!=" = "" }, can_skip = true }, + { labs_protein_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "labs_protein_gl", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "labs_protein", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "labs_protein_gl", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "labs_protein", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "labs_amylase" +attribute_status = { field = "labs_amylase", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "labs_amylase" + +[long.value_num.if] +all = [ + { labs_amylase = { "!=" = "UNK" } }, + { labs_amylase = { "!=" = "NI" } }, + { labs_amylase = { "!=" = "NASK" } }, + { labs_amylase = { "!=" = "NA" } }, + { labs_amylase = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_lipase" +attribute_status = { field = "labs_lipase", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "labs_lipase" + +[long.value_num.if] +all = [ + { labs_lipase = { "!=" = "UNK" } }, + { labs_lipase = { "!=" = "NI" } }, + { labs_lipase = { "!=" = "NASK" } }, + { labs_lipase = { "!=" = "NA" } }, + { labs_lipase = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_csf_pres" +attribute_status = { field = "labs_csf_pres", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "labs_csf_pres" + +[long.value_num.if] +all = [ + { labs_csf_pres = { "!=" = "UNK" } }, + { labs_csf_pres = { "!=" = "NI" } }, + { labs_csf_pres = { "!=" = "NASK" } }, + { labs_csf_pres = { "!=" = "NA" } }, + { labs_csf_pres = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_csf_app" +attribute_status = { field = "labs_csf_app", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "labs_csf_app" + +[long.value.values] +1 = "Clear / colourless" +2 = "Turbid / cloudy" +3 = "Xanthochromic" +4 = "Blood stained" +99 = "Unknown" +88 = "Other" + +[[long]] +attribute = "labs_csf_appoth" +attribute_status = { field = "labs_csf_appoth", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "labs_csf_appoth" + +[long.value.if] +all = [ + { labs_csf_appoth = { "!=" = "UNK" } }, + { labs_csf_appoth = { "!=" = "NI" } }, + { labs_csf_appoth = { "!=" = "NASK" } }, + { labs_csf_appoth = { "!=" = "NA" } }, + { labs_csf_appoth = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_csf_mm3" +attribute_status = { field = "labs_csf_mm3", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "labs_csf_mm3" + +[long.value_num.if] +all = [ + { labs_csf_mm3 = { "!=" = "UNK" } }, + { labs_csf_mm3 = { "!=" = "NI" } }, + { labs_csf_mm3 = { "!=" = "NASK" } }, + { labs_csf_mm3 = { "!=" = "NA" } }, + { labs_csf_mm3 = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_csf_wbc" +attribute_status = { field = "labs_csf_wbc", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "labs_csf_wbc" + +[long.value_num.if] +all = [ + { labs_csf_wbc = { "!=" = "UNK" } }, + { labs_csf_wbc = { "!=" = "NI" } }, + { labs_csf_wbc = { "!=" = "NASK" } }, + { labs_csf_wbc = { "!=" = "NA" } }, + { labs_csf_wbc = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_csf_rbc" +attribute_status = { field = "labs_csf_rbc", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "labs_csf_rbc" + +[long.value_num.if] +all = [ + { labs_csf_rbc = { "!=" = "UNK" } }, + { labs_csf_rbc = { "!=" = "NI" } }, + { labs_csf_rbc = { "!=" = "NASK" } }, + { labs_csf_rbc = { "!=" = "NA" } }, + { labs_csf_rbc = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_csf_glu" +attribute_status = { field = "labs_csf_glu", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "labs_csf_glu" + +[long.value_num.if] +all = [ + { labs_csf_glu = { "!=" = "UNK" } }, + { labs_csf_glu = { "!=" = "NI" } }, + { labs_csf_glu = { "!=" = "NASK" } }, + { labs_csf_glu = { "!=" = "NA" } }, + { labs_csf_glu = { "!=" = "" } }, +] + +[[long]] +attribute = "labs_csf_pro" +attribute_status = { field = "labs_csf_pro", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "labs_csf_pro" + +[long.value_num.if] +all = [ + { labs_csf_pro = { "!=" = "UNK" } }, + { labs_csf_pro = { "!=" = "NI" } }, + { labs_csf_pro = { "!=" = "NASK" } }, + { labs_csf_pro = { "!=" = "NA" } }, + { labs_csf_pro = { "!=" = "" } }, +] + +[[long]] +attribute = "lab_csf_lactate" +attribute_status = { field = "lab_csf_lactate", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "lab_csf_lactate" + +[long.value_num.if] +all = [ + { lab_csf_lactate = { "!=" = "UNK" } }, + { lab_csf_lactate = { "!=" = "NI" } }, + { lab_csf_lactate = { "!=" = "NASK" } }, + { lab_csf_lactate = { "!=" = "NA" } }, + { lab_csf_lactate = { "!=" = "" } }, +] + +[[long]] +attribute = "lab_csf_gram" +value = { field = "lab_csf_gram", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "lab_csf_gram", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "lab_csf_gram_result" +attribute_status = { field = "lab_csf_gram_result", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "lab_csf_gram_result" + +[long.value.values] +1 = "No organisms seen" +2 = "Gram-positive organisms" +3 = "Gram-negative organisms" +4 = "Mixed organisms" +99 = "Unknown" + +[[long]] +attribute = "labs_csf_other" +value = { field = "labs_csf_other", values = { 1 = "Yes", 0 = "No" } } +attribute_status = { field = "labs_csf_other", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "labs_csf_other_spec" +attribute_status = { field = "labs_csf_other_spec", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "labs_csf_other_spec" + +[long.value.if] +all = [ + { labs_csf_other_spec = { "!=" = "UNK" } }, + { labs_csf_other_spec = { "!=" = "NI" } }, + { labs_csf_other_spec = { "!=" = "NASK" } }, + { labs_csf_other_spec = { "!=" = "NA" } }, + { labs_csf_other_spec = { "!=" = "" } }, +] + +[[long]] +attribute = "imagi_dailydata" +value = { field = "imagi_dailydata", values = { 1 = "Yes", 0 = "No" } } +attribute_status = { field = "imagi_dailydata", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "imagi_xray" +value = { field = "imagi_xray", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "imagi_xray", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "imagi_xray_date" +attribute_status = { field = "imagi_xray_date", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "imagi_xray_date" + +[long.value.if] +all = [ + { imagi_xray_date = { "!=" = "UNK" } }, + { imagi_xray_date = { "!=" = "NI" } }, + { imagi_xray_date = { "!=" = "NASK" } }, + { imagi_xray_date = { "!=" = "NA" } }, + { imagi_xray_date = { "!=" = "" } }, +] + +[[long]] +attribute = "imagi_xray_result" +attribute_status = { field = "imagi_xray_result", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "imagi_xray_result" +values = { 1 = "Normal or no acute change", 5 = "Abnormal or acute change", 99 = "Unknown" } + +[[long]] +attribute = "imagi_xray_newinfilt" +attribute_status = { field = "imagi_xray_newinfilt", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "imagi_xray_newinfilt" +values = { 1 = "Yes, bilateral", 2 = "Yes, unilateral", 0 = "No", 99 = "Unknown" } + +[[long]] +attribute = "imagi_xray_infiltyp" +value = { field = "imagi_xray_infiltyp___1", values = { 1 = "Viral pneumonitis" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "imagi_xray_infiltyp" +value = { field = "imagi_xray_infiltyp___2", values = { 1 = "Bacterial pneumonia" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "imagi_xray_infiltyp" +value = { field = "imagi_xray_infiltyp___3", values = { 1 = "Pulmonary oedema" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "imagi_xray_infiltyp" +value = { field = "imagi_xray_infiltyp___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "imagi_xray_infiltyp" +attribute_status = { field = "imagi_xray_infiltyp___unk", values = { 1 = "UNK" } } +if = { imagi_xray_infiltyp___unk = 1 } +ref = "daily" + +[[long]] +attribute = "imagi_xray_infiltyp" +attribute_status = { field = "imagi_xray_infiltyp___ni", values = { 1 = "NI" } } +if = { imagi_xray_infiltyp___ni = 1 } +ref = "daily" + +[[long]] +attribute = "imagi_xray_infiltyp" +attribute_status = { field = "imagi_xray_infiltyp___nask", values = { 1 = "NASK" } } +if = { imagi_xray_infiltyp___nask = 1 } +ref = "daily" + +[[long]] +attribute = "imagi_xray_infiltyp" +attribute_status = { field = "imagi_xray_infiltyp___na", values = { 1 = "NA" } } +if = { imagi_xray_infiltyp___na = 1 } +ref = "daily" + +[[long]] +attribute = "imagi_xray_pleueff" +value = { field = "imagi_xray_pleueff", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "imagi_xray_pleueff", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "imagi_xray_resultpleu" +value = { field = "imagi_xray_resultpleu", values = { 1 = "Unilateral", 2 = "Bilateral" } } +attribute_status = { field = "imagi_xray_resultpleu", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "imagi_xray_resultpleusite" +value = { field = "imagi_xray_resultpleusite___1", values = { 1 = "Right" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "imagi_xray_resultpleusite" +value = { field = "imagi_xray_resultpleusite___2", values = { 1 = "Left" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "imagi_xray_resultpleusite" +attribute_status = { field = "imagi_xray_resultpleusite___unk", values = { 1 = "UNK" } } +if = { imagi_xray_resultpleusite___unk = 1 } +ref = "daily" + +[[long]] +attribute = "imagi_xray_resultpleusite" +attribute_status = { field = "imagi_xray_resultpleusite___ni", values = { 1 = "NI" } } +if = { imagi_xray_resultpleusite___ni = 1 } +ref = "daily" + +[[long]] +attribute = "imagi_xray_resultpleusite" +attribute_status = { field = "imagi_xray_resultpleusite___nask", values = { 1 = "NASK" } } +if = { imagi_xray_resultpleusite___nask = 1 } +ref = "daily" + +[[long]] +attribute = "imagi_xray_resultpleusite" +attribute_status = { field = "imagi_xray_resultpleusite___na", values = { 1 = "NA" } } +if = { imagi_xray_resultpleusite___na = 1 } +ref = "daily" + +[[long]] +attribute = "imagi_ctchest" +value = { field = "imagi_ctchest", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "imagi_ctchest", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "imagi_ctchest_result" +attribute_status = { field = "imagi_ctchest_result", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "imagi_ctchest_result" +values = { 1 = "Normal or no acute change", 5 = "Abnormal or acute change", 99 = "Unknown" } + +[[long]] +attribute = "imagi_ctchest_infiltra" +attribute_status = { field = "imagi_ctchest_infiltra", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "imagi_ctchest_infiltra" +values = { 1 = "Yes, bilateral", 2 = "Yes, unilateral", 0 = "No", 99 = "Unknown" } + +[[long]] +attribute = "imagi_ctchest_infiltyp" +value = { field = "imagi_ctchest_infiltyp___1", values = { 1 = "Viral pneumonitis" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "imagi_ctchest_infiltyp" +value = { field = "imagi_ctchest_infiltyp___2", values = { 1 = "Bacterial pneumonia" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "imagi_ctchest_infiltyp" +value = { field = "imagi_ctchest_infiltyp___3", values = { 1 = "Pulmonary oedema" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "imagi_ctchest_infiltyp" +value = { field = "imagi_ctchest_infiltyp___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "imagi_ctchest_infiltyp" +attribute_status = { field = "imagi_ctchest_infiltyp___unk", values = { 1 = "UNK" } } +if = { imagi_ctchest_infiltyp___unk = 1 } +ref = "daily" + +[[long]] +attribute = "imagi_ctchest_infiltyp" +attribute_status = { field = "imagi_ctchest_infiltyp___ni", values = { 1 = "NI" } } +if = { imagi_ctchest_infiltyp___ni = 1 } +ref = "daily" + +[[long]] +attribute = "imagi_ctchest_infiltyp" +attribute_status = { field = "imagi_ctchest_infiltyp___nask", values = { 1 = "NASK" } } +if = { imagi_ctchest_infiltyp___nask = 1 } +ref = "daily" + +[[long]] +attribute = "imagi_ctchest_infiltyp" +attribute_status = { field = "imagi_ctchest_infiltyp___na", values = { 1 = "NA" } } +if = { imagi_ctchest_infiltyp___na = 1 } +ref = "daily" + +[[long]] +attribute = "imagi_ctchest_pleueff" +value = { field = "imagi_ctchest_pleueff", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "imagi_ctchest_pleueff", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "imagi_ctchest_resultpleudet" +value = { field = "imagi_ctchest_resultpleudet", values = { 1 = "Unilateral", 2 = "Bilateral" } } +attribute_status = { field = "imagi_ctchest_resultpleudet", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "imagi_ctbrain" +value = { field = "imagi_ctbrain", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "imagi_ctbrain", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "imagi_ctbrain_date" +attribute_status = { field = "imagi_ctbrain_date", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "imagi_ctbrain_date" + +[long.value.if] +all = [ + { imagi_ctbrain_date = { "!=" = "UNK" } }, + { imagi_ctbrain_date = { "!=" = "NI" } }, + { imagi_ctbrain_date = { "!=" = "NASK" } }, + { imagi_ctbrain_date = { "!=" = "NA" } }, + { imagi_ctbrain_date = { "!=" = "" } }, +] + +[[long]] +attribute = "imagi_ctbrain_find" +value = { field = "imagi_ctbrain_find___1", values = { 1 = "Cerebral oedema" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "imagi_ctbrain_find" +value = { field = "imagi_ctbrain_find___2", values = { 1 = "Midline shift" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "imagi_ctbrain_find" +value = { field = "imagi_ctbrain_find___3", values = { 1 = "Hydrocephalus" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "imagi_ctbrain_find" +value = { field = "imagi_ctbrain_find___4", values = { 1 = "Intracranial hemorrhage" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "imagi_ctbrain_find" +value = { field = "imagi_ctbrain_find___5", values = { 1 = "Infarction" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "imagi_ctbrain_find" +attribute_status = { field = "imagi_ctbrain_find___unk", values = { 1 = "UNK" } } +if = { imagi_ctbrain_find___unk = 1 } +ref = "daily" + +[[long]] +attribute = "imagi_ctbrain_find" +attribute_status = { field = "imagi_ctbrain_find___ni", values = { 1 = "NI" } } +if = { imagi_ctbrain_find___ni = 1 } +ref = "daily" + +[[long]] +attribute = "imagi_ctbrain_find" +attribute_status = { field = "imagi_ctbrain_find___nask", values = { 1 = "NASK" } } +if = { imagi_ctbrain_find___nask = 1 } +ref = "daily" + +[[long]] +attribute = "imagi_ctbrain_find" +attribute_status = { field = "imagi_ctbrain_find___na", values = { 1 = "NA" } } +if = { imagi_ctbrain_find___na = 1 } +ref = "daily" + +[[long]] +attribute = "imagi_ctbrain_shift" +attribute_status = { field = "imagi_ctbrain_shift", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "imagi_ctbrain_shift" + +[long.value_num.if] +all = [ + { imagi_ctbrain_shift = { "!=" = "UNK" } }, + { imagi_ctbrain_shift = { "!=" = "NI" } }, + { imagi_ctbrain_shift = { "!=" = "NASK" } }, + { imagi_ctbrain_shift = { "!=" = "NA" } }, + { imagi_ctbrain_shift = { "!=" = "" } }, +] + +[[long]] +attribute = "imagi_ctbrain_hemoloc" +attribute_status = { field = "imagi_ctbrain_hemoloc", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "imagi_ctbrain_hemoloc" + +[long.value.if] +all = [ + { imagi_ctbrain_hemoloc = { "!=" = "UNK" } }, + { imagi_ctbrain_hemoloc = { "!=" = "NI" } }, + { imagi_ctbrain_hemoloc = { "!=" = "NASK" } }, + { imagi_ctbrain_hemoloc = { "!=" = "NA" } }, + { imagi_ctbrain_hemoloc = { "!=" = "" } }, +] + +[[long]] +attribute = "imagi_mrib" +value = { field = "imagi_mrib", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "imagi_mrib", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "imagi_mrib_date" +attribute_status = { field = "imagi_mrib_date", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "imagi_mrib_date" + +[long.value.if] +all = [ + { imagi_mrib_date = { "!=" = "UNK" } }, + { imagi_mrib_date = { "!=" = "NI" } }, + { imagi_mrib_date = { "!=" = "NASK" } }, + { imagi_mrib_date = { "!=" = "NA" } }, + { imagi_mrib_date = { "!=" = "" } }, +] + +[[long]] +attribute = "imagi_mrib_find" +value = { field = "imagi_mrib_find___1", values = { 1 = "Cerebral oedema" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "imagi_mrib_find" +value = { field = "imagi_mrib_find___2", values = { 1 = "Hydrocephalus" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "imagi_mrib_find" +value = { field = "imagi_mrib_find___3", values = { 1 = "Intracranial hemorrhage" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "imagi_mrib_find" +value = { field = "imagi_mrib_find___4", values = { 1 = "Infarction" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "imagi_mrib_find" +value = { field = "imagi_mrib_find___5", values = { 1 = "Leptomeningeal enhancement" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "imagi_mrib_find" +value = { field = "imagi_mrib_find___6", values = { 1 = "Encephalitic pattern" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "imagi_mrib_find" +attribute_status = { field = "imagi_mrib_find___unk", values = { 1 = "UNK" } } +if = { imagi_mrib_find___unk = 1 } +ref = "daily" + +[[long]] +attribute = "imagi_mrib_find" +attribute_status = { field = "imagi_mrib_find___ni", values = { 1 = "NI" } } +if = { imagi_mrib_find___ni = 1 } +ref = "daily" + +[[long]] +attribute = "imagi_mrib_find" +attribute_status = { field = "imagi_mrib_find___nask", values = { 1 = "NASK" } } +if = { imagi_mrib_find___nask = 1 } +ref = "daily" + +[[long]] +attribute = "imagi_mrib_find" +attribute_status = { field = "imagi_mrib_find___na", values = { 1 = "NA" } } +if = { imagi_mrib_find___na = 1 } +ref = "daily" + +[[long]] +attribute = "imagi_mrib_pattern" +attribute_status = { field = "imagi_mrib_pattern", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "imagi_mrib_pattern" + +[long.value.values] +1 = "Temporal lobe" +2 = "Brainstem" +3 = "Cerebellar" +4 = "Basal ganglia" +5 = "Diffuse" +88 = "Other" +99 = "Unknown" + +[[long]] +attribute = "imagi_eeg" +value = { field = "imagi_eeg", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "imagi_eeg", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "imagi_eeg_date" +attribute_status = { field = "imagi_eeg_date", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "imagi_eeg_date" + +[long.value.if] +all = [ + { imagi_eeg_date = { "!=" = "UNK" } }, + { imagi_eeg_date = { "!=" = "NI" } }, + { imagi_eeg_date = { "!=" = "NASK" } }, + { imagi_eeg_date = { "!=" = "NA" } }, + { imagi_eeg_date = { "!=" = "" } }, +] + +[[long]] +attribute = "imagi_eeg_find" +attribute_status = { field = "imagi_eeg_find", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "imagi_eeg_find" + +[long.value.if] +all = [ + { imagi_eeg_find = { "!=" = "UNK" } }, + { imagi_eeg_find = { "!=" = "NI" } }, + { imagi_eeg_find = { "!=" = "NASK" } }, + { imagi_eeg_find = { "!=" = "NA" } }, + { imagi_eeg_find = { "!=" = "" } }, +] + +[[long]] +attribute = "imagi_ultrasound" +value = { field = "imagi_ultrasound", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "imagi_ultrasound", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "imagi_ultrasound_date" +attribute_status = { field = "imagi_ultrasound_date", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "imagi_ultrasound_date" + +[long.value.if] +all = [ + { imagi_ultrasound_date = { "!=" = "UNK" } }, + { imagi_ultrasound_date = { "!=" = "NI" } }, + { imagi_ultrasound_date = { "!=" = "NASK" } }, + { imagi_ultrasound_date = { "!=" = "NA" } }, + { imagi_ultrasound_date = { "!=" = "" } }, +] + +[[long]] +attribute = "imagi_ultrasound_site" +attribute_status = { field = "imagi_ultrasound_site", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "imagi_ultrasound_site" + +[long.value.values] +1 = "Chest only" +2 = "Abdomen only" +3 = "Chest and abdomen" +4 = "Cranial" +5 = "Joints" +99 = "Unknown" + +[[long]] +attribute = "imagi_ultrasound_findi" +attribute_status = { field = "imagi_ultrasound_findi", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "imagi_ultrasound_findi" +values = { 1 = "Normal or no acute change", 5 = "Abnormal or acute change", 99 = "Unknown" } + +[[long]] +attribute = "imagi_ultrasound_cranfind" +value = { field = "imagi_ultrasound_cranfind___1", values = { 1 = "Ventriculomegaly/Hydrocephalus" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "imagi_ultrasound_cranfind" +value = { field = "imagi_ultrasound_cranfind___2", values = { 1 = "Intraventricular hemorrhage (IVH)" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "imagi_ultrasound_cranfind" +value = { field = "imagi_ultrasound_cranfind___3", values = { 1 = "Parenchymal hemorrhage" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "imagi_ultrasound_cranfind" +value = { field = "imagi_ultrasound_cranfind___4", values = { 1 = "Cerebral oedema" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "imagi_ultrasound_cranfind" +value = { field = "imagi_ultrasound_cranfind___5", values = { 1 = "Periventricular leukomalacia" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "imagi_ultrasound_cranfind" +value = { field = "imagi_ultrasound_cranfind___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "daily" + +[[long]] +attribute = "imagi_ultrasound_cranfind" +attribute_status = { field = "imagi_ultrasound_cranfind___unk", values = { 1 = "UNK" } } +if = { imagi_ultrasound_cranfind___unk = 1 } +ref = "daily" + +[[long]] +attribute = "imagi_ultrasound_cranfind" +attribute_status = { field = "imagi_ultrasound_cranfind___ni", values = { 1 = "NI" } } +if = { imagi_ultrasound_cranfind___ni = 1 } +ref = "daily" + +[[long]] +attribute = "imagi_ultrasound_cranfind" +attribute_status = { field = "imagi_ultrasound_cranfind___nask", values = { 1 = "NASK" } } +if = { imagi_ultrasound_cranfind___nask = 1 } +ref = "daily" + +[[long]] +attribute = "imagi_ultrasound_cranfind" +attribute_status = { field = "imagi_ultrasound_cranfind___na", values = { 1 = "NA" } } +if = { imagi_ultrasound_cranfind___na = 1 } +ref = "daily" + +[[long]] +attribute = "imagi_ultrasound_cranfind_ivh" +attribute_status = { field = "imagi_ultrasound_cranfind_ivh", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "imagi_ultrasound_cranfind_ivh" +values = { 1 = "Grade I", 2 = "Grade II", 3 = "Grade III", 4 = "Grade IV", 99 = "Unknown" } + +[[long]] +attribute = "imagi_ultrasound_asc" +value = { field = "imagi_ultrasound_asc", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "imagi_ultrasound_asc", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "imagi_ultrasound_ascsit" +value = { field = "imagi_ultrasound_ascsit", values = { 1 = "Small", 2 = "Moderate", 3 = "Severe" } } +attribute_status = { field = "imagi_ultrasound_ascsit", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "imagi_ultrasound_consoli" +value = { field = "imagi_ultrasound_consoli", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "imagi_ultrasound_consoli", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "imagi_ultrasound_pleff" +value = { field = "imagi_ultrasound_pleff", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "imagi_ultrasound_pleff", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "imagi_ultrasound_plefr" +attribute_status = { field = "imagi_ultrasound_plefr", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "imagi_ultrasound_plefr" + +[long.value_num.if] +all = [ + { imagi_ultrasound_plefr = { "!=" = "UNK" } }, + { imagi_ultrasound_plefr = { "!=" = "NI" } }, + { imagi_ultrasound_plefr = { "!=" = "NASK" } }, + { imagi_ultrasound_plefr = { "!=" = "NA" } }, + { imagi_ultrasound_plefr = { "!=" = "" } }, +] + +[[long]] +attribute = "imagi_ultrasound_plefl" +attribute_status = { field = "imagi_ultrasound_plefl", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "imagi_ultrasound_plefl" + +[long.value_num.if] +all = [ + { imagi_ultrasound_plefl = { "!=" = "UNK" } }, + { imagi_ultrasound_plefl = { "!=" = "NI" } }, + { imagi_ultrasound_plefl = { "!=" = "NASK" } }, + { imagi_ultrasound_plefl = { "!=" = "NA" } }, + { imagi_ultrasound_plefl = { "!=" = "" } }, +] + +[[long]] +attribute = "imagi_ultrasound_peric" +value = { field = "imagi_ultrasound_peric", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "imagi_ultrasound_peric", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "imagi_ultrasound_perics" +attribute_status = { field = "imagi_ultrasound_perics", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "imagi_ultrasound_perics" + +[long.value_num.if] +all = [ + { imagi_ultrasound_perics = { "!=" = "UNK" } }, + { imagi_ultrasound_perics = { "!=" = "NI" } }, + { imagi_ultrasound_perics = { "!=" = "NASK" } }, + { imagi_ultrasound_perics = { "!=" = "NA" } }, + { imagi_ultrasound_perics = { "!=" = "" } }, +] + +[[long]] +attribute = "imagi_liversize" +attribute_status = { field = "imagi_liversize", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "imagi_liversize" + +[long.value_num.if] +all = [ + { imagi_liversize = { "!=" = "UNK" } }, + { imagi_liversize = { "!=" = "NI" } }, + { imagi_liversize = { "!=" = "NASK" } }, + { imagi_liversize = { "!=" = "NA" } }, + { imagi_liversize = { "!=" = "" } }, +] + +[[long]] +attribute = "imagi_gallbladder" +attribute_status = { field = "imagi_gallbladder", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value_num] +field = "imagi_gallbladder" + +[long.value_num.if] +all = [ + { imagi_gallbladder = { "!=" = "UNK" } }, + { imagi_gallbladder = { "!=" = "NI" } }, + { imagi_gallbladder = { "!=" = "NASK" } }, + { imagi_gallbladder = { "!=" = "NA" } }, + { imagi_gallbladder = { "!=" = "" } }, +] + +[[long]] +attribute = "imagi_ultrasound_unlisted" +value = { field = "imagi_ultrasound_unlisted", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "imagi_ultrasound_unlisted", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[[long]] +attribute = "imagi_ultrasound_unlistedoth" +attribute_status = { field = "imagi_ultrasound_unlistedoth", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "imagi_ultrasound_unlistedoth" + +[long.value.if] +all = [ + { imagi_ultrasound_unlistedoth = { "!=" = "UNK" } }, + { imagi_ultrasound_unlistedoth = { "!=" = "NI" } }, + { imagi_ultrasound_unlistedoth = { "!=" = "NASK" } }, + { imagi_ultrasound_unlistedoth = { "!=" = "NA" } }, + { imagi_ultrasound_unlistedoth = { "!=" = "" } }, +] + +[[long]] +attribute = "imagi_ecg" +attribute_status = { field = "imagi_ecg", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "imagi_ecg" +values = { 1 = "Yes-normal", 2 = "Yes-abnormal", 0 = "No", 99 = "Unknown" } + +[[long]] +attribute = "imagi_ecg_spec" +attribute_status = { field = "imagi_ecg_spec", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "imagi_ecg_spec" + +[long.value.if] +all = [ + { imagi_ecg_spec = { "!=" = "UNK" } }, + { imagi_ecg_spec = { "!=" = "NI" } }, + { imagi_ecg_spec = { "!=" = "NASK" } }, + { imagi_ecg_spec = { "!=" = "NA" } }, + { imagi_ecg_spec = { "!=" = "" } }, +] + +[[long]] +attribute = "imagi_ecg_date" +attribute_status = { field = "imagi_ecg_date", apply = { function = "attribute_status_fill" } } +ref = "daily" + +[long.value] +field = "imagi_ecg_date" + +[long.value.if] +all = [ + { imagi_ecg_date = { "!=" = "UNK" } }, + { imagi_ecg_date = { "!=" = "NI" } }, + { imagi_ecg_date = { "!=" = "NASK" } }, + { imagi_ecg_date = { "!=" = "NA" } }, + { imagi_ecg_date = { "!=" = "" } }, +] + +[[long]] +attribute = "medi_medtype" +attribute_status = { field = "medi_medtype", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_medtype" + +[long.value.values] +1 = "Analgesic" +2 = "Antibiotic" +4 = "Antifungal" +7 = "Antipruritic" +8 = "Antiviral" +10 = "Corticosteroid" +16 = "Topical antibiotic" + +[[long]] +attribute = "medi_medtype" +attribute_status = { field = "medi_medtype_otherl2", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_medtype_otherl2" +can_skip = true + +[long.value.values] +1 = "Analgesic" +2 = "Antibiotic" +3 = "Anticoagulant" +4 = "Antifungal" +5 = "Antihistamine" +6 = "Antiprotozoal" +7 = "Antipruritic" +8 = "Antiviral" +9 = "Convalescent plasma" +10 = "Corticosteroid" +11 = "Diuretics" +12 = "Immunomodulator" +13 = "Immunosuppressive drugs (non-steroid)" +14 = "Inotropes / vasopressor" +15 = "Intravenous immunoglobulin" +16 = "Topical antibiotic" +17 = "Local anaesthetic" +18 = "Antidepressants and Anxiolytics" +19 = "Antiepileptics" +20 = "Antifibrinolytic" +21 = "Antimalarial" + +[[long]] +attribute = "medi_medtype" +value = { field = "medi_medtype_otherl3", can_skip = true } +attribute_status = { field = "medi_medtype_otherl3", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[[long]] +attribute = "medi_treat" +value = { field = "medi_treat", values = { 1 = "Yes", 0 = "No" } } +attribute_status = { field = "medi_treat", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[[long]] +attribute = "medi_antiviralagent" +attribute_status = { field = "medi_antiviralagent", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_antiviralagent" +values = { 5 = "Brincidofovir", 7 = "Cidofovir", 30 = "Tecovirimat" } + +[[long]] +attribute = "medi_antiviralagent" +attribute_status = { field = "medi_antiviralagent_otherl2", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_antiviralagent_otherl2" +can_skip = true + +[long.value.values] +1 = "Aciclovir" +2 = "Amantadine" +3 = "Atazanavir" +4 = "Baloxavir marboxil" +5 = "Brincidofovir" +6 = "Bulevirtide" +7 = "Cidofovir" +8 = "Darunavir" +9 = "Dolutegravir" +10 = "Efavirenz" +11 = "Emtricitabine" +12 = "Famciclovir" +13 = "Favipiravir" +14 = "Fluoxetine" +15 = "Ganciclovir" +16 = "Lamivudine" +17 = "Laninamivir" +18 = "Lopinavir/Ritonavir" +19 = "Molnupiravir" +20 = "Nirmatrelvir/Retonavir (Paxlovid)" +21 = "Oseltamivir (Tamiflu)" +22 = "Penciclovir" +23 = "Peramivir" +24 = "Pleconaril" +25 = "Pocapavir" +26 = "Raltegravir" +27 = "Remdesivir" +28 = "Ribavirin" +29 = "Rimantadine" +30 = "Tecovirimat" +31 = "Tenofovir Disoproxil" +32 = "Tenofovir alafenamide" +33 = "Umifenovir" +34 = "Valaciclovir" +35 = "Valganciclovir" +36 = "Zalcitabine" +37 = "Zanamivir" +38 = "Zidovudine" + +[[long]] +attribute = "medi_antiviralagent" +value = { field = "medi_antiviralagent_otherl3", can_skip = true } +attribute_status = { field = "medi_antiviralagent_otherl3", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[[long]] +attribute = "medi_antibioagent" +attribute_status = { field = "medi_antibioagent", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_antibioagent" + +[long.value.values] +1 = "Amikacin" +2 = "Amoxicillin" +3 = "Amoxicillin/Beta-lactamase inhibitor" +5 = "Ampicillin" +6 = "Ampicillin/Beta-lactamase inhibitor" +8 = "Azithromycin" +13 = "Benzylpenicillin" +19 = "Cefalexin" +21 = "Cefazolin" +24 = "Cefepime" +28 = "Cefotaxime" +33 = "Ceftaroline Fosamil" +34 = "Ceftazidime" +38 = "Ceftobiprole Medocaril" +39 = "Ceftriaxone" +40 = "Cefuroxime" +47 = "Ciprofloxacin" +48 = "Clarithromycin" +49 = "Clindamycin" +58 = "Doxycycline" +60 = "Ertapenem" +61 = "Erythromycin" +63 = "Flucloxacillin" +64 = "Fluconazole" +65 = "Fosfomycin" +69 = "Gentamicin" +71 = "Imipenem/Cilastatin" +72 = "Isoniazid" +74 = "Levofloxacin" +76 = "Linezolid" +78 = "Meropenem" +81 = "Metronidazole" +84 = "Moxifloxacin" +91 = "Nitrofurantoin" +98 = "Piperacillin/Beta-lactamase inhibitor" +100 = "Pivmecillinam" +107 = "Rifampicin" +109 = "Rifaximin" +115 = "Sulfamethoxazole" +116 = "Sulfamethoxazole/Trimethoprim" +124 = "Tigecycline" +125 = "Tobramycin" +126 = "Trimethoprim" +128 = "Vancomycin" + +[[long]] +attribute = "medi_antibioagent" +attribute_status = { field = "medi_antibioagent_otherl2", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_antibioagent_otherl2" +can_skip = true + +[long.value.values] +1 = "Amikacin" +2 = "Amoxicillin" +3 = "Amoxicillin/Beta-lactamase inhibitor" +4 = "Amphotericin" +5 = "Ampicillin" +6 = "Ampicillin/Beta-lactamase inhibitor" +7 = "Atovaquone" +8 = "Azithromycin" +9 = "Aztreonam" +10 = "Bacampicillin" +11 = "Bacitracin" +12 = "Benzathine phenoxymethylpenicillin" +13 = "Benzylpenicillin" +14 = "Capreomycin" +15 = "Carbenicillin indanyl sodium" +16 = "Caspofungin" +17 = "Cefaclor" +18 = "Cefadroxil" +19 = "Cefalexin" +20 = "Cefamandole" +21 = "Cefazolin" +22 = "Cefdinir" +23 = "Cefditoren" +24 = "Cefepime" +25 = "Cefixime" +26 = "Cefmetazole" +27 = "Cefoperazone" +28 = "Cefotaxime" +29 = "Cefotetan" +30 = "Cefoxitin" +31 = "Cefpodoxime Proxetil" +32 = "Cefprozil" +33 = "Ceftaroline Fosamil" +34 = "Ceftazidime" +35 = "Ceftazidime/beta-lactamase inhibitor" +36 = "Ceftibuten" +37 = "Ceftizoxime" +38 = "Ceftobiprole Medocaril" +39 = "Ceftriaxone" +40 = "Cefuroxime" +41 = "Cephalexin" +42 = "Cephalothin" +43 = "Cephapirin" +44 = "Cephradine" +45 = "Chloramphenicol" +46 = "Cinoxacin" +47 = "Ciprofloxacin" +48 = "Clarithromycin" +49 = "Clindamycin" +50 = "Cloxacillin" +51 = "Colistin" +52 = "Cycloserine" +53 = "Daptomycin" +54 = "Demeclocycline" +55 = "Dicloxacillin" +56 = "Dirithromycin" +57 = "Doripenem" +58 = "Doxycycline" +59 = "Enoxacin" +60 = "Ertapenem" +61 = "Erythromycin" +62 = "Ethambutol" +63 = "Flucloxacillin" +64 = "Fluconazole" +65 = "Fosfomycin" +66 = "Fusidic acid" +67 = "Gatifloxacin" +68 = "Gemifloxacin" +69 = "Gentamicin" +70 = "Grepafloxacin" +71 = "Imipenem/Cilastatin" +72 = "Isoniazid" +73 = "Kanamycin" +74 = "Levofloxacin" +75 = "Lincomycin" +76 = "Linezolid" +77 = "Lomefloxacin" +78 = "Meropenem" +79 = "Methenamine hippurate" +80 = "Methicillin" +81 = "Metronidazole" +82 = "Mezlocillin" +83 = "Minocycline" +84 = "Moxifloxacin" +85 = "Nafcillin" +86 = "Nalidixic Acid" +87 = "Neomycin" +89 = "Netilmicin" +90 = "Nitrofural" +91 = "Nitrofurantoin" +92 = "Norfloxacin" +93 = "Novobiocin" +94 = "Ofloxacin" +95 = "Oxacillin" +96 = "Oxytetracycline" +97 = "Piperacillin" +98 = "Piperacillin/Beta-lactamase inhibitor" +100 = "Pivmecillinam" +101 = "Plazomicin" +102 = "Polymyxin B" +103 = "Procaine benzylpenicillin" +104 = "Pyrazinamide" +105 = "Quinupristin/Dalfopristin" +106 = "Retapamulin" +107 = "Rifampicin" +108 = "Rifapentine" +109 = "Rifaximin" +110 = "Roxithromycin" +111 = "Sparfloxacin" +112 = "Spectinomycin" +113 = "Streptomycin" +114 = "Sulfadiazine" +115 = "Sulfamethoxazole" +116 = "Sulfamethoxazole/Trimethoprim" +117 = "Sulfisoxazole" +118 = "Teicoplanin" +119 = "Telavancin" +120 = "Telithromycin" +121 = "Tetracycline" +122 = "Ticarcillin" +123 = "Ticarcillin/Beta-lactamase inhibitor" +124 = "Tigecycline" +125 = "Tobramycin" +126 = "Trimethoprim" +127 = "Trovafloxacin" +128 = "Vancomycin" +129 = "Voriconazole" +130 = "Xibornol" + +[[long]] +attribute = "medi_antibioagent" +value = { field = "medi_antibioagent_otherl3", can_skip = true } +attribute_status = { field = "medi_antibioagent_otherl3", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[[long]] +attribute = "medi_topicantibiotgent" +attribute_status = { field = "medi_topicantibiotgent", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_topicantibiotgent" + +[long.value.values] +1 = "Penicillins" +2 = "Cephalosporins" +3 = "Tetracyclines" +4 = "Aminoglycosides" +5 = "Macrolides" +6 = "Sulfonamides and trimethoprim" +7 = "Quinolones" +99 = "Unknown" +88 = "Other" + +[[long]] +attribute = "medi_corticost" +attribute_status = { field = "medi_corticost", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_corticost" + +[long.value.values] +5 = "Dexamethasone" +8 = "Hydrocortisone" +9 = "Methylprednisolone" +11 = "Prednisolone" +12 = "Prednisone" + +[[long]] +attribute = "medi_corticost" +attribute_status = { field = "medi_corticost_otherl2", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_corticost_otherl2" +can_skip = true + +[long.value.values] +1 = "Beclomethasone" +2 = "Betamethasone" +3 = "Budesonide" +4 = "Cortisone" +5 = "Dexamethasone" +6 = "Fludrocortisone" +7 = "Fluticasone" +8 = "Hydrocortisone" +9 = "Methylprednisolone" +10 = "Mometasone" +11 = "Prednisolone" +12 = "Prednisone" +13 = "Triamcinolone" + +[[long]] +attribute = "medi_corticost" +value = { field = "medi_corticost_otherl3", can_skip = true } +attribute_status = { field = "medi_corticost_otherl3", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[[long]] +attribute = "medi_anticoaguagent" +attribute_status = { field = "medi_anticoaguagent", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_anticoaguagent" + +[long.value.values] +1 = "Acetylsalicylic Acid (Aspirin)" +3 = "Apixaban" +6 = "Clopidogrel" +7 = "Dabigatran Etexilate" +11 = "Enoxaparin" +13 = "Heparin" +15 = "Rivaroxaban" +17 = "Ticagrelor" +21 = "Warfarin" + +[[long]] +attribute = "medi_anticoaguagent" +attribute_status = { field = "medi_anticoaguagent_otherl2", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_anticoaguagent_otherl2" +can_skip = true + +[long.value.values] +1 = "Acetylsalicylic Acid (Aspirin)" +2 = "Alteplase" +3 = "Apixaban" +4 = "Argatroban" +5 = "Bivalirudin" +6 = "Clopidogrel" +7 = "Dabigatran Etexilate" +8 = "Dalteparin" +9 = "Desirudin" +10 = "Edoxaban" +11 = "Enoxaparin" +12 = "Fondaparinux" +13 = "Heparin" +14 = "Lepirudin" +15 = "Rivaroxaban" +16 = "Streptokinase" +17 = "Ticagrelor" +18 = "Ticlopidine" +19 = "Tinzaparin" +20 = "Urokinase" +21 = "Warfarin" + +[[long]] +attribute = "medi_anticoaguagent" +value = { field = "medi_anticoaguagent_otherl3", can_skip = true } +attribute_status = { field = "medi_anticoaguagent_otherl3", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[[long]] +attribute = "medi_anticoaguagent_ind" +attribute_status = { field = "medi_anticoaguagent_ind", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_anticoaguagent_ind" + +[long.value.values] +1 = "Therapeutic (treatment of DVT/PE)" +2 = "Enhanced prophylaxis for infection with pathogen of interest" +3 = "Routine inpatient prophylaxis" +99 = "Unknown" + +[[long]] +attribute = "medi_antifungagent" +attribute_status = { field = "medi_antifungagent", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_antifungagent" +values = { 1 = "Amphotericin B", 4 = "Fluconazole", 6 = "Liposomal amphotericin" } + +[[long]] +attribute = "medi_antifungagent" +attribute_status = { field = "medi_antifungagent_otherl2", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_antifungagent_otherl2" +can_skip = true + +[long.value.values] +1 = "Amphotericin B" +2 = "Clotrimazole" +3 = "Econazole" +4 = "Fluconazole" +5 = "Ketoconazole" +6 = "Liposomal amphotericin" +7 = "Miconazole" +8 = "Nystatin" +9 = "Terbinafine" + +[[long]] +attribute = "medi_antifungagent" +value = { field = "medi_antifungagent_otherl3", can_skip = true } +attribute_status = { field = "medi_antifungagent_otherl3", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[[long]] +attribute = "medi_inotropesvasopressor" +attribute_status = { field = "medi_inotropesvasopressor", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_inotropesvasopressor" + +[long.value.values] +1 = "Vasopressin" +2 = "Phenylephrine" +3 = "Epinephrine" +4 = "Norepinephrine" +5 = "Dopamine" +6 = "Angiotensin-II" +7 = "Terlipressin" +88 = "Other" + +[[long]] +attribute = "medi_analgesic" +attribute_status = { field = "medi_analgesic", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_analgesic" + +[long.value.values] +1 = "Paracetamol" +2 = "NSAIDs" +3 = "Opiates (Tramadol, Codeine, Morphine)" +4 = "Ketamine" +99 = "Unknown" +88 = "Other" + +[[long]] +attribute = "medi_antipruritic" +attribute_status = { field = "medi_antipruritic", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_antipruritic" + +[long.value.values] +1 = "Hydrocortisone" +2 = "Calamine" +3 = "Antihistamines" +4 = "Hydroxyzine" +99 = "Unknown" +88 = "Other" + +[[long]] +attribute = "medi_antifibrinolytic" +attribute_status = { field = "medi_antifibrinolytic", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_antifibrinolytic" +values = { 1 = "Tranexamic acid", 2 = "Aminocaproic acid", 88 = "Other" } + +[[long]] +attribute = "medi_antifibrinolytic_oth" +attribute_status = { field = "medi_antifibrinolytic_oth", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_antifibrinolytic_oth" + +[long.value.if] +all = [ + { medi_antifibrinolytic_oth = { "!=" = "UNK" } }, + { medi_antifibrinolytic_oth = { "!=" = "NI" } }, + { medi_antifibrinolytic_oth = { "!=" = "NASK" } }, + { medi_antifibrinolytic_oth = { "!=" = "NA" } }, + { medi_antifibrinolytic_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "medi_immunosupp" +attribute_status = { field = "medi_immunosupp", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_immunosupp" + +[long.value.values] +2 = "Adalimumab (Humira)" +5 = "Azathioprine" +8 = "Ciclosporin" +9 = "Etanercept" +11 = "Infliximab" +14 = "Methotrexate" +15 = "Mycophenolate Mofetil" +16 = "Mycophenolic Acid" +19 = "Rituximab" +20 = "Sarilumab" +23 = "Tacrolimus" +25 = "Tocilizumab" + +[[long]] +attribute = "medi_immunosupp" +attribute_status = { field = "medi_immunosupp_otherl2", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_immunosupp_otherl2" +can_skip = true + +[long.value.values] +1 = "Abatacept" +2 = "Adalimumab (Humira)" +3 = "Alemtuzumab" +4 = "Anakinra" +5 = "Azathioprine" +6 = "Basiliximab" +7 = "Belatacept" +8 = "Ciclosporin" +9 = "Etanercept" +10 = "Everolimus" +11 = "Infliximab" +12 = "Leflunomide" +13 = "Mercaptopurine" +14 = "Methotrexate" +15 = "Mycophenolate Mofetil" +16 = "Mycophenolic Acid" +17 = "Natalizumab" +18 = "Nivolumab" +19 = "Rituximab" +20 = "Sarilumab" +21 = "Secukinumab" +22 = "Sirolimus" +23 = "Tacrolimus" +24 = "Thalidomide" +25 = "Tocilizumab" +26 = "Ustekinumab" +27 = "Vedolizumab" + +[[long]] +attribute = "medi_immunosupp" +value = { field = "medi_immunosupp_otherl3", can_skip = true } +attribute_status = { field = "medi_immunosupp_otherl3", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[[long]] +attribute = "medi_ivig" +attribute_status = { field = "medi_ivig", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_ivig" +values = { 1 = "Polyclonal immunoglobulin", 2 = "Specific immunoglobulin", 99 = "Unknown", 88 = "Other" } + +[[long]] +attribute = "medi_ivig_oth" +attribute_status = { field = "medi_ivig_oth", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_ivig_oth" + +[long.value.if] +all = [ + { medi_ivig_oth = { "!=" = "UNK" } }, + { medi_ivig_oth = { "!=" = "NI" } }, + { medi_ivig_oth = { "!=" = "NASK" } }, + { medi_ivig_oth = { "!=" = "NA" } }, + { medi_ivig_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "medi_antimalarial" +attribute_status = { field = "medi_antimalarial", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_antimalarial" + +[long.value.values] +1 = "Artemether-Lumefantrine (Coartem, Riamet)" +2 = "Chloroquine (Aralen, Resochin)" +3 = "Hydroxychloroquine (Plaquenil)" +4 = "Quinine (Qualaquin)" +5 = "Primaquine" +6 = "Sulfadoxine" +7 = "Pyrimethamine (Fansidar)" +8 = "Artesunate" +88 = "Other" + +[[long]] +attribute = "medi_route" +attribute_status = { field = "medi_route", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_route" + +[long.value.values] +1 = "Oral" +2 = "Subcutaneous" +3 = "Inhaled" +4 = "IV" +5 = "Topical" +99 = "Unknown" +88 = "Other" + +[[long]] +attribute = "medi_route_oth" +attribute_status = { field = "medi_route_oth", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_route_oth" + +[long.value.if] +all = [ + { medi_route_oth = { "!=" = "UNK" } }, + { medi_route_oth = { "!=" = "NI" } }, + { medi_route_oth = { "!=" = "NASK" } }, + { medi_route_oth = { "!=" = "NA" } }, + { medi_route_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "medi_route_infusion" +value = { field = "medi_route_infusion", values = { 1 = "Yes", 2 = "No", 99 = "Unknown" } } +attribute_status = { field = "medi_route_infusion", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[[long]] +attribute = "medi_localanest" +attribute_status = { field = "medi_localanest", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_localanest" +values = { 1 = "Lidocaine", 2 = "Bupivacaine", 3 = "Ropivacaine", 88 = "Other" } + +[[long]] +attribute = "medi_localanest_other" +attribute_status = { field = "medi_localanest_other", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_localanest_other" + +[long.value.if] +all = [ + { medi_localanest_other = { "!=" = "UNK" } }, + { medi_localanest_other = { "!=" = "NI" } }, + { medi_localanest_other = { "!=" = "NASK" } }, + { medi_localanest_other = { "!=" = "NA" } }, + { medi_localanest_other = { "!=" = "" } }, +] + +[[long]] +attribute = "medi_medstartdate" +attribute_status = { field = "medi_medstartdate", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_medstartdate" + +[long.value.if] +all = [ + { medi_medstartdate = { "!=" = "UNK" } }, + { medi_medstartdate = { "!=" = "NI" } }, + { medi_medstartdate = { "!=" = "NASK" } }, + { medi_medstartdate = { "!=" = "NA" } }, + { medi_medstartdate = { "!=" = "" } }, +] + +[[long]] +attribute = "medi_medongoing" +value = { field = "medi_medongoing", values = { 1 = "Yes", 2 = "No", 99 = "Unknown" } } +attribute_status = { field = "medi_medongoing", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[[long]] +attribute = "medi_medenddate" +attribute_status = { field = "medi_medenddate", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_medenddate" + +[long.value.if] +all = [ + { medi_medenddate = { "!=" = "UNK" } }, + { medi_medenddate = { "!=" = "NI" } }, + { medi_medenddate = { "!=" = "NASK" } }, + { medi_medenddate = { "!=" = "NA" } }, + { medi_medenddate = { "!=" = "" } }, +] + +[[long]] +attribute = "medi_numdays" +attribute_status = { field = "medi_numdays", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value_num] +field = "medi_numdays" + +[long.value_num.if] +all = [ + { medi_numdays = { "!=" = "UNK" } }, + { medi_numdays = { "!=" = "NI" } }, + { medi_numdays = { "!=" = "NASK" } }, + { medi_numdays = { "!=" = "NA" } }, + { medi_numdays = { "!=" = "" } }, +] + +[[long]] +attribute = "medi_stopreason" +attribute_status = { field = "medi_stopreason", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_stopreason" + +[long.value.values] +1 = "Improvements" +2 = "Deterioration" +3 = "Death" +4 = "Other adverse events" +99 = "Unknown" +88 = "Other" + +[[long]] +attribute = "medi_stopreason_oth" +attribute_status = { field = "medi_stopreason_oth", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_stopreason_oth" + +[long.value.if] +all = [ + { medi_stopreason_oth = { "!=" = "UNK" } }, + { medi_stopreason_oth = { "!=" = "NI" } }, + { medi_stopreason_oth = { "!=" = "NASK" } }, + { medi_stopreason_oth = { "!=" = "NA" } }, + { medi_stopreason_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "medi_frequency" +attribute_status = { field = "medi_frequency", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_frequency" + +[long.value.if] +all = [ + { medi_frequency = { "!=" = "UNK" } }, + { medi_frequency = { "!=" = "NI" } }, + { medi_frequency = { "!=" = "NASK" } }, + { medi_frequency = { "!=" = "NA" } }, + { medi_frequency = { "!=" = "" } }, +] + +[[long]] +attribute = "medi_dose" +attribute_status = { field = "medi_dose", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value_num] +field = "medi_dose" + +[long.value_num.if] +all = [ + { medi_dose = { "!=" = "UNK" } }, + { medi_dose = { "!=" = "NI" } }, + { medi_dose = { "!=" = "NASK" } }, + { medi_dose = { "!=" = "NA" } }, + { medi_dose = { "!=" = "" } }, +] + +[long.attribute_unit] +combinedType = "firstNonNull" + +[[long.attribute_unit.fields]] +field = "medi_units_oth" +if = { medi_units = 88 } + +[[long.attribute_unit.fields]] +field = "medi_units" + +[long.attribute_unit.fields.values] +1 = "mg" +2 = "g" +3 = "µg" +4 = "IU" +5 = "mg/kg" +6 = "mg/day" +7 = "mL" +8 = "mL/h" +9 = "%" +10 = "tablets" +88 = "Other" + +[[long]] +attribute = "medi_numdoses" +attribute_status = { field = "medi_numdoses", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value_num] +field = "medi_numdoses" + +[long.value_num.if] +all = [ + { medi_numdoses = { "!=" = "UNK" } }, + { medi_numdoses = { "!=" = "NI" } }, + { medi_numdoses = { "!=" = "NASK" } }, + { medi_numdoses = { "!=" = "NA" } }, + { medi_numdoses = { "!=" = "" } }, +] + +[[long]] +attribute = "medi_offlab" +value = { field = "medi_offlab", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "medi_offlab", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[[long]] +attribute = "medi_offlab_spec1" +attribute_status = { field = "medi_offlab_spec1", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_offlab_spec1" + +[long.value.if] +all = [ + { medi_offlab_spec1 = { "!=" = "UNK" } }, + { medi_offlab_spec1 = { "!=" = "NI" } }, + { medi_offlab_spec1 = { "!=" = "NASK" } }, + { medi_offlab_spec1 = { "!=" = "NA" } }, + { medi_offlab_spec1 = { "!=" = "" } }, +] + +[[long]] +attribute = "medi_investig" +value = { field = "medi_investig", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "medi_investig", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[[long]] +attribute = "medi_investig_type" +attribute_status = { field = "medi_investig_type", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_investig_type" + +[long.value.values] +1 = "Administered under standard of care" +2 = "Administered under Monitored Emergency Use of Unregistered and Investigational Interventions (MEURI) or Expanded Access Protocols (EAPs)" +3 = "Administered under randomized clinical trial" +88 = "Other" +99 = "Unknown" + +[[long]] +attribute = "medi_investig_type_oth" +attribute_status = { field = "medi_investig_type_oth", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_investig_type_oth" + +[long.value.if] +all = [ + { medi_investig_type_oth = { "!=" = "UNK" } }, + { medi_investig_type_oth = { "!=" = "NI" } }, + { medi_investig_type_oth = { "!=" = "NASK" } }, + { medi_investig_type_oth = { "!=" = "NA" } }, + { medi_investig_type_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "medi_adverse" +value = { field = "medi_adverse", values = { 1 = "Yes", 2 = "No", 99 = "Unknown" } } +attribute_status = { field = "medi_adverse", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[[long]] +attribute = "medi_adverse_spec" +attribute_status = { field = "medi_adverse_spec", apply = { function = "attribute_status_fill" } } +ref = "medication" + +[long.value] +field = "medi_adverse_spec" + +[long.value.if] +all = [ + { medi_adverse_spec = { "!=" = "UNK" } }, + { medi_adverse_spec = { "!=" = "NI" } }, + { medi_adverse_spec = { "!=" = "NASK" } }, + { medi_adverse_spec = { "!=" = "NA" } }, + { medi_adverse_spec = { "!=" = "" } }, +] + +[[long]] +attribute = "test_collectiondate" +attribute_status = { field = "test_collectiondate", apply = { function = "attribute_status_fill" } } +ref = "pathogen_testing" + +[long.value] +field = "test_collectiondate" + +[long.value.if] +all = [ + { test_collectiondate = { "!=" = "UNK" } }, + { test_collectiondate = { "!=" = "NI" } }, + { test_collectiondate = { "!=" = "NASK" } }, + { test_collectiondate = { "!=" = "NA" } }, + { test_collectiondate = { "!=" = "" } }, +] + +[[long]] +attribute = "test_biospecimentype" +attribute_status = { field = "test_biospecimentype", apply = { function = "attribute_status_fill" } } +ref = "pathogen_testing" + +[long.value] +field = "test_biospecimentype" + +[long.value.values] +2 = "BAL (Bronchoalveolar Lavage)" +3 = "Blood" +7 = "Combined nasal/NP + throat swab" +8 = "ETA (Endotracheal aspirate)" +12 = "Nasal/NP swab" +15 = "Sputum" +17 = "Throat swab" + +[[long]] +attribute = "test_biospecimentype" +attribute_status = { field = "test_biospecimentype_otherl2", apply = { function = "attribute_status_fill" } } +ref = "pathogen_testing" + +[long.value] +field = "test_biospecimentype_otherl2" +can_skip = true + +[long.value.values] +1 = "Amniotic fluid" +2 = "BAL (Bronchoalveolar Lavage)" +3 = "Blood" +4 = "Breast milk" +5 = "Buccal swab" +6 = "CSF (Cerebrospinal Fluid)" +7 = "Combined nasal/NP + throat swab" +8 = "ETA (Endotracheal aspirate)" +9 = "Eye swab" +10 = "Faeces/rectal swab" +11 = "Lesion/crust (skin) swab" +12 = "Nasal/NP swab" +13 = "Neonate-blood" +14 = "Semen" +15 = "Sputum" +16 = "Stool sample" +17 = "Throat swab" +18 = "Urethral swab" +19 = "Urine" +20 = "Vaginal swab" + +[[long]] +attribute = "test_biospecimentype" +value = { field = "test_biospecimentype_otherl3", can_skip = true } +attribute_status = { field = "test_biospecimentype_otherl3", apply = { function = "attribute_status_fill" } } +ref = "pathogen_testing" + +[[long]] +attribute = "test_pathtested" +attribute_status = { field = "test_pathtested", apply = { function = "attribute_status_fill" } } +ref = "pathogen_testing" + +[long.value] +field = "test_pathtested" + +[long.value.values] +183 = "Influenza A H1N1" +184 = "Influenza A H5N1" +185 = "Influenza A H5N8" +186 = "Influenza A H7N7" +187 = "Influenza A H7N9" +188 = "Influenza A virus" +189 = "Influenza B virus" +190 = "Influenza virus" +234 = "Mpox virus" +293 = "SARS-CoV-2" + +[[long]] +attribute = "test_pathtested" +attribute_status = { field = "test_pathtested_otherl2", apply = { function = "attribute_status_fill" } } +ref = "pathogen_testing" + +[long.value] +field = "test_pathtested_otherl2" +can_skip = true + +[long.value.values] +1 = "Achromobacter" +2 = "Achromobacter xylosoxidans" +3 = "Acinetobacter" +4 = "Acinetobacter anitratus" +5 = "Acinetobacter baumannii" +6 = "Acinetobacter calcoaceticus" +7 = "Acinetobacter calcoaceticus-baumannii complex" +8 = "Acinetobacter johnsonii" +9 = "Acremonium" +10 = "Actinomyces israelii" +11 = "Adenoviridae" +12 = "Aeromonas" +13 = "Aggregatibacter" +14 = "Anaerobic bacteria" +15 = "Ancylostoma duodenale" +16 = "Andes orthohantavirus" +17 = "Arenaviridae" +18 = "Ascaris lumbricoides" +19 = "Aspergillus" +20 = "Aspergillus flavus" +21 = "Aspergillus fumigatus" +22 = "Aspergillus fumigatus complex" +23 = "Aspergillus niger" +24 = "Aspergillus terreus" +25 = "Aspergillus versicolor" +26 = "Astroviridae" +27 = "Avian Influenza A H5N1" +28 = "Avian Influenza A H7N9" +29 = "Bacillus" +30 = "Bacillus anthracis" +31 = "Bacillus cereus" +32 = "Bacteroides fragilis" +33 = "Bacteroides thetaiotaomicron" +34 = "Blastocystis hominis" +35 = "Blastomyces dermatitidis" +36 = "Bocavirus (Genus)" +37 = "Bordetella pertussis" +38 = "Brugia malayi" +39 = "Bunyaviridae (Family)" +40 = "Burkholderia" +41 = "Burkholderia cenocepacia" +42 = "Burkholderia cepacia" +43 = "Burkholderia pseudomallei" +44 = "Caliciviridae (Family)" +45 = "Campylobacter" +46 = "Candida" +47 = "Candida albicans" +48 = "Candida auris" +49 = "Candida dubliniensis" +50 = "Candida glabrata" +51 = "Candida inconspicua" +52 = "Candida orthopsilosis" +53 = "Candida parapsilosis" +54 = "Candida tropicalis" +55 = "Chlamydia" +56 = "Chlamydophila pneumoniae" +57 = "Chryseobacterium indologenes" +58 = "Citrobacter" +59 = "Citrobacter braakii" +60 = "Citrobacter freundii" +61 = "Citrobacter koseri" +62 = "Clavispora lusitaniae" +63 = "Clonorchis sinensis" +64 = "Clostridium botulinum" +65 = "Clostridium difficile" +66 = "Clostridium difficile (toxin positive)" +67 = "Clostridium tetani" +68 = "Coagulase negative Staphylococcus" +69 = "Coccidioides" +70 = "Coccidioides immitis" +71 = "Coliform bacteria" +72 = "Coronaviridae (Family)" +73 = "Corynebacterium" +74 = "Corynebacterium amycolatum" +75 = "Corynebacterium pseudodiphtheriticum" +76 = "Corynebacterium pseudotuberculosis" +77 = "Corynebacterium striatum" +78 = "Corynebacterium ulcerans" +79 = "Corynebacterium xerosis" +80 = "Crimean-Congo Hemorrhagic Fever virus (CCHF)" +81 = "Cryptococcus" +82 = "Cryptococcus gattii" +84 = "Cryptococcus neoformans" +85 = "Cryptosporidium" +86 = "Cryptosporidium hominis" +87 = "Cryptosporidium parvum" +89 = "Curvularia lunata" +90 = "Cyclospora" +91 = "Cyclospora cayetanensis" +92 = "Cytomegalovirus" +93 = "Delftia" +94 = "Delftia acidovorans" +95 = "Deltavirus" +96 = "Dengue virus" +97 = "Dermabacter" +98 = "Diphtheroid" +100 = "Diphyllobothrium latum" +101 = "Dracunculus medinensis" +102 = "Ebola virus" +103 = "Echinococcus granulosus" +104 = "Eggerthella" +105 = "Elizabethkingia" +106 = "Entamoeba" +107 = "Entamoeba dispar" +108 = "Entamoeba histolytica" +109 = "Enteric bacteria" +110 = "Enterobacter" +111 = "Enterobacter aerogenes" +112 = "Enterobacter asburiae" +113 = "Enterobacter bugandensis" +114 = "Enterobacter cloacae" +115 = "Enterobacter cloacae complex" +116 = "Enterobacter hormaechei" +117 = "Enterobacter kobei" +118 = "Enterobacteriaceae" +119 = "Enterobius vermicularis" +120 = "Enterococcus" +121 = "Enterococcus avium" +122 = "Enterococcus faecalis" +123 = "Enterococcus faecium" +124 = "Enterococcus raffinosus" +125 = "Enterovirus (genus Enterovirus)" +126 = "Epidermophyton" +127 = "Escherichia" +128 = "Escherichia coli" +129 = "Exophiala dermatitidis" +130 = "Falciformispora senegalensis (formerly Leptosphaeria senegalensis)" +131 = "Filoviridae (Family)" +132 = "Flaviviridae (Family)" +133 = "Francisella tularensis" +134 = "Fungi" +135 = "Fusarium" +136 = "Fusobacterium nucleatum" +137 = "Genus Marburgvirus" +138 = "Giardia" +139 = "Giardia intestinalis" +140 = "Giardia lamblia" +141 = "Gram-Negative Bacillus" +142 = "Gram-Positive Bacillus" +143 = "Gram-Positive Coccus" +144 = "Granulicatella adiacens" +145 = "Haemophilus" +146 = "Haemophilus ducreyi" +147 = "Haemophilus influenzae" +148 = "Haemophilus parainfluenzae" +149 = "Hafnia alvei" +150 = "Hantavirus" +151 = "Helicobacter pylori" +152 = "Hendra virus" +153 = "Hepadnaviridae" +154 = "Hepatitis A virus" +155 = "Hepatitis B virus" +156 = "Hepatitis C virus" +157 = "Hepatitis D virus" +158 = "Hepatitis E virus" +159 = "Herpesviridae" +160 = "Histoplasma" +161 = "Histoplasma capsulatum" +162 = "Human Herpesvirus 1 (HHV1, Herpes simplex virus 1, HSV1)" +163 = "Human Herpesvirus 2 (HHV2, Herpes Simplex virus 2, HSV2)" +164 = "Human Herpesvirus 3 (Varicella-zoster virus, VZV)" +165 = "Human Herpesvirus 4 (Epstein-Barr virus, EBV)" +166 = "Human Herpesvirus 5 (Cytomegalovirus humanbeta5, hCMV)" +167 = "Human Herpesvirus 6 (Roseola infantum virus)" +168 = "Human Immunodeficiency Virus (HIV)" +169 = "Human Immunodeficiency virus type 1 (HIV-1)" +170 = "Human Immunodeficiency virus type 2 (HIV-2)" +171 = "Human Metapneumovirus (hMPV)" +172 = "Human Parainfluenza virus" +173 = "Human Parainfluenza virus 1" +174 = "Human Parainfluenza virus 2" +175 = "Human Parainfluenza virus 3" +176 = "Human Parainfluenza virus 4" +177 = "Human Parvovirus b19" +178 = "Human Respiratory Syncytial virus (RSV)" +179 = "Human bocavirus" +180 = "Human coronavirus" +181 = "Hymenolepis diminuta" +182 = "Hymenolepis nana" +183 = "Influenza A H1N1" +184 = "Influenza A H5N1" +185 = "Influenza A H5N8" +186 = "Influenza A H7N7" +187 = "Influenza A H7N9" +188 = "Influenza A virus" +189 = "Influenza B virus" +190 = "Influenza virus" +191 = "Isospora belli" +192 = "Japanese encephalitis virus (JEV)" +193 = "Junin virus" +194 = "Klebsiella" +195 = "Klebsiella aerogenes" +196 = "Klebsiella oxytoca" +197 = "Klebsiella pneumoniae" +198 = "Klebsiella pneumoniae, ESBL" +199 = "Klebsiella variicola" +200 = "Lacticaseibacillus rhamnosus" +201 = "Lassa virus" +202 = "Legionella" +203 = "Legionella pneumophila" +204 = "Leishmania" +205 = "Leishmania Viannia" +206 = "Leishmania braziliensis" +207 = "Leishmania braziliensis complex" +208 = "Leishmania donovani complex" +209 = "Leptospira interrogans" +210 = "Lichthiemia" +211 = "Listeria monocytogenes" +212 = "Lomentospora prolificans (Scedosporium prlificans)" +213 = "Lujo virus" +214 = "Lymphocytic choriomeningitis virus (LCMV)" +215 = "MERS-CoV" +216 = "Machupo virus" +217 = "Madurella" +218 = "Malassezia pachydermatis" +219 = "Measles morbillivirus" +220 = "Metapneumovirus" +221 = "Methicillin resistant Staphylococcus aureus (MRSA)" +222 = "Methicillin susceptible Staphylococcus aureus (MSSA)" +223 = "Meyerozyma guilliermondii" +224 = "Micrococcus" +225 = "Micrococcus luteus" +226 = "Microsporidia" +227 = "Microsporum" +228 = "Middle East Respiratory Syndrome Coronavirus" +229 = "Mirabilis" +230 = "Moraxella" +231 = "Moraxella catarrhalis" +232 = "Morganella" +233 = "Morganella morganii" +234 = "Mpox virus" +235 = "Mucor" +236 = "Mumps virus" +237 = "Mycobacterium" +238 = "Mycobacterium leprae" +239 = "Mycobacterium tuberculosis" +240 = "Mycobacterium, non-tuberculosis" +241 = "Mycoplasma agalactiae" +242 = "Mycoplasma pneumoniae" +243 = "Necator americanus" +244 = "Neisseria meningitidis" +245 = "Neotestudina rosatii (Zopfia rosatii)" +246 = "Nipah virus" +247 = "Nocardia asteroides" +248 = "Nocardia brasiliensis" +249 = "Norovirus" +250 = "Onchocerca volvulus" +251 = "Orthomyxoviridae (influenza viruses)" +252 = "Papillomavirus" +253 = "Papoviridae" +254 = "Paracoccidioides" +255 = "Paragonimus westermani" +256 = "Paramyxoviridae" +257 = "Parvoviridae" +258 = "Penicillium" +259 = "Pichia kudriavzeveii" +260 = "Picornaviridae" +261 = "Plasmodium" +262 = "Plasmodium falciparum" +263 = "Plasmodium malariae" +264 = "Plasmodium ovale" +265 = "Plasmodium vivax" +266 = "Pneumocystis" +267 = "Pneumocystis jirovecii" +268 = "Prion diseases" +269 = "Propionibacterium" +270 = "Propionibacterium acnes" +271 = "Proteus" +272 = "Proteus mirabilis" +273 = "Proteus vulgaris" +274 = "Providencia rettgeri" +275 = "Providencia stuartii" +276 = "Pseudomonas" +277 = "Pseudomonas aeruginosa" +278 = "Pseudomonas fluorescens" +279 = "Pseudomonas putida" +280 = "Rabies virus" +281 = "Raoultella" +282 = "Raoultella ornithinolytica" +283 = "Raoultella planticola" +284 = "Respiratory Syncytial Virus (RSV)" +285 = "Retroviridae" +286 = "Rhabdoviridae" +287 = "Rhizomucor" +288 = "Rhizopus" +289 = "Rift Valley fever virus" +290 = "Ross River virus" +291 = "Rotavirus" +292 = "Rubella virus" +293 = "SARS-CoV-2" +294 = "SARS-CoV-2 Beta - B.1.351" +295 = "SARS-CoV-2 Delta - B.1.617.2" +296 = "SARS-CoV-2 Eta - B.1.525" +297 = "SARS-CoV-2 Gamma - P.1" +298 = "SARS-CoV-2 Iota - B.1.526" +299 = "SARS-CoV-2 Kappa - B.1.617.1" +300 = "SARS-CoV-2 Omicron" +301 = "SARS-CoV-2 Omicron - B.1.1.529" +302 = "SARS-CoV-2 Omicron - B.1.1.529.2 BA.2" +303 = "SARS-CoV-2 Omicron - B.1.1.529.5 BA.5" +304 = "SARS-CoV-2 Theta- P.3" +305 = "SARS-CoV-2 Zeta - P.2" +306 = "SARS-CoV-2 Alpha - B.1.1.7" +307 = "SARS-CoV-2 Antigen" +308 = "SARS-CoV-2 IgG Antibody" +309 = "SARS-CoV-2 IgG/IgM Antibody" +310 = "SARS-CoV-2 IgM Antibody" +311 = "Saccharomyces cerevisiae" +312 = "Salmonella" +313 = "Salmonella hirschfeldii" +314 = "Sapovirus" +315 = "Scedosporium" +316 = "Schistosoma" +317 = "Schistosoma guineensis" +318 = "Schistosoma haematobium" +319 = "Schistosoma intercalatum" +320 = "Schistosoma japonicum" +321 = "Schistosoma mansoni" +322 = "Schistosoma mekongi" +323 = "Serratia" +324 = "Serratia liquefaciens" +325 = "Serratia marcescens" +326 = "Serratia ureilytica" +327 = "Severe Acute Respiratory Syndrome Coronavirus 2" +328 = "Severe Acute Respiratory Syndrome-Related Coronavirus" +329 = "SFTS virus" +330 = "Shigella" +331 = "Shigella boydii" +332 = "Shigella dysenteriae" +333 = "Shigella flexneri" +334 = "Shigella sonnei" +335 = "Simplexvirus (Genus)" +336 = "Sphingomonas paucimobilis" +337 = "Sporothrix schenckii" +338 = "Staphylococcus" +339 = "Staphylococcus aureus" +340 = "Staphylococcus capitis" +341 = "Staphylococcus caprae" +342 = "Staphylococcus cohnii" +343 = "Staphylococcus epidermidis" +344 = "Staphylococcus haemolyticus" +345 = "Staphylococcus hominis" +346 = "Staphylococcus hominis hominis" +347 = "Staphylococcus lugdunensis" +348 = "Staphylococcus pettenkoferi" +349 = "Staphylococcus saprophyticus" +350 = "Staphylococcus simulans" +351 = "Staphylococcus warneri" +352 = "Stenotrophomonas" +353 = "Stenotrophomonas maltophilia" +354 = "Streptococcus" +355 = "Streptococcus alpha-hemolytic" +356 = "Streptococcus anginosus" +357 = "Streptococcus anginosus group" +358 = "Streptococcus beta-hemolytic" +359 = "Streptococcus constellatus" +360 = "Streptococcus dysgalactiae" +361 = "Streptococcus gallolyticus" +362 = "Streptococcus intermedius" +363 = "Streptococcus mitis" +364 = "Streptococcus oralis" +365 = "Streptococcus parasanguinis" +366 = "Streptococcus pneumoniae" +367 = "Streptococcus pyogenes" +368 = "Streptococcus salivarius" +369 = "Streptococcus sanguinis" +370 = "Streptococcus viridans" +371 = "Streptococcus viridans group" +372 = "Strongyloides stercoralis" +373 = "Taenia saginata" +374 = "Taenia solium" +375 = "Talaromyces marneffei" +376 = "Togoviridae" +377 = "Toxocara canis" +378 = "Toxoplasma" +379 = "Toxoplasma gondii" +380 = "Trichinella spiralis" +381 = "Trichomonas" +382 = "Trichomonas vaginalis" +383 = "Trichophyton" +384 = "Trichosporon asahii" +385 = "Trichuris trichiura" +386 = "Trypanosoma" +387 = "Trypanosoma brucei gambiense" +388 = "Trypanosoma brucei rhodesiense" +389 = "Trypanosoma cruzi" +390 = "Vancomycin resistant Enterococcus (VRE)" +391 = "Vibrio cholerae" +392 = "Vibrio parahaemolyticus" +393 = "Vibrio vulnificus" +394 = "West Nile virus" +395 = "Wuchereria bancrofti" +396 = "Yeast" +397 = "Yersinia pestis" +398 = "Zika virus" +399 = "Chikungunya virus" +400 = "Oropouche virus" +401 = "Zaire ebolavirus (ZEBOV)" +402 = "Sudan ebolavirus (SUDV)" +403 = "Reston ebolavirus (RESTV)" +404 = "Taï Forest ebolavirus (TAFV)" +405 = "Bundibugyo ebolavirus (BDBV)" +406 = "Dengue virus, type 1" +407 = "Dengue virus, type 2" +408 = "Dengue virus, type 3" +409 = "Dengue virus, type 4" +410 = "Tick-borne encephalitis (TBE) virus" +411 = "Yellow fever virus" + +[[long]] +attribute = "test_pathtested" +value = { field = "test_pathtested_otherl3", can_skip = true } +attribute_status = { field = "test_pathtested_otherl3", apply = { function = "attribute_status_fill" } } +ref = "pathogen_testing" + +[[long]] +attribute = "test_timing" +attribute_status = { field = "test_timing", apply = { function = "attribute_status_fill" } } +ref = "pathogen_testing" + +[long.value] +field = "test_timing" + +[long.value.values] +1 = "First (early/acute phase sample)" +2 = "Second (later/convalescent phase sample)" +99 = "Unknown" + +[[long]] +attribute = "test_labtestmethod" +attribute_status = { field = "test_labtestmethod", apply = { function = "attribute_status_fill" } } +ref = "pathogen_testing" + +[long.value] +field = "test_labtestmethod" + +[long.value.values] +1 = "PCR (NAAT)" +3 = "Culture" +6 = "RDT" +7 = "Serology(ELISA)" +8 = "Other NAAT" +99 = "Unknown" + +[[long]] +attribute = "test_marker" +value = { field = "test_marker___1", values = { 1 = "NS1 Ag" } } +attribute_status = "VAL" +ref = "pathogen_testing" + +[[long]] +attribute = "test_marker" +value = { field = "test_marker___2", values = { 1 = "IgG" } } +attribute_status = "VAL" +ref = "pathogen_testing" + +[[long]] +attribute = "test_marker" +value = { field = "test_marker___3", values = { 1 = "IgM" } } +attribute_status = "VAL" +ref = "pathogen_testing" + +[[long]] +attribute = "test_marker" +value = { field = "test_marker___6", values = { 1 = "IgA" } } +attribute_status = "VAL" +ref = "pathogen_testing" + +[[long]] +attribute = "test_marker" +value = { field = "test_marker___4", values = { 1 = "Viral load / serotype (PCR/NAAT)" } } +attribute_status = "VAL" +ref = "pathogen_testing" + +[[long]] +attribute = "test_marker" +value = { field = "test_marker___5", values = { 1 = "Not applicable" } } +attribute_status = "VAL" +ref = "pathogen_testing" + +[[long]] +attribute = "test_marker" +value = { field = "test_marker___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "pathogen_testing" + +[[long]] +attribute = "test_marker" +attribute_status = { field = "test_marker___unk", values = { 1 = "UNK" } } +if = { test_marker___unk = 1 } +ref = "pathogen_testing" + +[[long]] +attribute = "test_marker" +attribute_status = { field = "test_marker___ni", values = { 1 = "NI" } } +if = { test_marker___ni = 1 } +ref = "pathogen_testing" + +[[long]] +attribute = "test_marker" +attribute_status = { field = "test_marker___nask", values = { 1 = "NASK" } } +if = { test_marker___nask = 1 } +ref = "pathogen_testing" + +[[long]] +attribute = "test_marker" +attribute_status = { field = "test_marker___na", values = { 1 = "NA" } } +if = { test_marker___na = 1 } +ref = "pathogen_testing" + +[[long]] +attribute = "test_naat" +attribute_status = { field = "test_naat", apply = { function = "attribute_status_fill" } } +ref = "pathogen_testing" + +[long.value] +field = "test_naat" +values = { 1 = "RT-PCR", 2 = "LAMP", 3 = "TMA / TMP", 88 = "Other", 99 = "Unknown" } + +[[long]] +attribute = "test_naat_other" +attribute_status = { field = "test_naat_other", apply = { function = "attribute_status_fill" } } +ref = "pathogen_testing" + +[long.value] +field = "test_naat_other" + +[long.value.if] +all = [ + { test_naat_other = { "!=" = "UNK" } }, + { test_naat_other = { "!=" = "NI" } }, + { test_naat_other = { "!=" = "NASK" } }, + { test_naat_other = { "!=" = "NA" } }, + { test_naat_other = { "!=" = "" } }, +] + +[[long]] +attribute = "test_result" +attribute_status = { field = "test_result", apply = { function = "attribute_status_fill" } } +ref = "pathogen_testing" + +[long.value] +field = "test_result" +values = { 1 = "Detected", 0 = "Not detected", 2 = "Equivocal", 99 = "Unknown" } + +[[long]] +attribute = "test_denguetyp" +value = { field = "test_denguetyp", values = { 1 = "DENV1", 2 = "DENV2", 3 = "DENV3", 4 = "DENV4" } } +attribute_status = { field = "test_denguetyp", apply = { function = "attribute_status_fill" } } +ref = "pathogen_testing" + +[[long]] +attribute = "test_fluresist" +value = { field = "test_fluresist", values = { 1 = "Yes", 0 = "No", 3 = "Not Tested", 99 = "Unknown" } } +attribute_status = { field = "test_fluresist", apply = { function = "attribute_status_fill" } } +ref = "pathogen_testing" + +[[long]] +attribute = "test_ctvalue" +attribute_status = { field = "test_ctvalue", apply = { function = "attribute_status_fill" } } +ref = "pathogen_testing" + +[long.value_num] +field = "test_ctvalue" + +[long.value_num.if] +all = [ + { test_ctvalue = { "!=" = "UNK" } }, + { test_ctvalue = { "!=" = "NI" } }, + { test_ctvalue = { "!=" = "NASK" } }, + { test_ctvalue = { "!=" = "NA" } }, + { test_ctvalue = { "!=" = "" } }, +] + +[[long]] +attribute = "test_vload" +attribute_status = { field = "test_vload", apply = { function = "attribute_status_fill" } } +ref = "pathogen_testing" + +[long.value_num] +field = "test_vload" + +[long.value_num.if] +all = [ + { test_vload = { "!=" = "UNK" } }, + { test_vload = { "!=" = "NI" } }, + { test_vload = { "!=" = "NASK" } }, + { test_vload = { "!=" = "NA" } }, + { test_vload = { "!=" = "" } }, +] + +[[long]] +attribute = "test_marker_quantvalue" +attribute_status = { field = "test_marker_quantvalue", apply = { function = "attribute_status_fill" } } +ref = "pathogen_testing" + +[long.value_num] +field = "test_marker_quantvalue" + +[long.value_num.if] +all = [ + { test_marker_quantvalue = { "!=" = "UNK" } }, + { test_marker_quantvalue = { "!=" = "NI" } }, + { test_marker_quantvalue = { "!=" = "NASK" } }, + { test_marker_quantvalue = { "!=" = "NA" } }, + { test_marker_quantvalue = { "!=" = "" } }, +] + +[[long]] +attribute = "test_genrep" +value = { field = "test_genrep", values = { 1 = "Yes", 0 = "No" } } +attribute_status = { field = "test_genrep", apply = { function = "attribute_status_fill" } } +ref = "pathogen_testing" + +[[long]] +attribute = "test_genrep_db" +attribute_status = { field = "test_genrep_db", apply = { function = "attribute_status_fill" } } +ref = "pathogen_testing" + +[long.value] +field = "test_genrep_db" +values = { 2 = "EMBL - European Bioinformatics Institute(EBI)", 3 = "GenBank" } + +[[long]] +attribute = "test_genrep_db" +attribute_status = { field = "test_genrep_db_otherl2", apply = { function = "attribute_status_fill" } } +ref = "pathogen_testing" + +[long.value] +field = "test_genrep_db_otherl2" +can_skip = true + +[long.value.values] +1 = "DNA Data Bank of Japan (DDBJ)" +2 = "EMBL - European Bioinformatics Institute(EBI)" +3 = "GenBank" + +[[long]] +attribute = "test_genrep_db" +value = { field = "test_genrep_db_otherl3", can_skip = true } +attribute_status = { field = "test_genrep_db_otherl3", apply = { function = "attribute_status_fill" } } +ref = "pathogen_testing" + +[[long]] +attribute = "test_genrep_ref" +attribute_status = { field = "test_genrep_ref", apply = { function = "attribute_status_fill" } } +ref = "pathogen_testing" + +[long.value] +field = "test_genrep_ref" + +[long.value.if] +all = [ + { test_genrep_ref = { "!=" = "UNK" } }, + { test_genrep_ref = { "!=" = "NI" } }, + { test_genrep_ref = { "!=" = "NASK" } }, + { test_genrep_ref = { "!=" = "NA" } }, + { test_genrep_ref = { "!=" = "" } }, +] + +[[long]] +attribute = "photo_date" +attribute_status = { field = "photo_date", apply = { function = "attribute_status_fill" } } +ref = "photographs" + +[long.value] +field = "photo_date" + +[long.value.if] +all = [ + { photo_date = { "!=" = "UNK" } }, + { photo_date = { "!=" = "NI" } }, + { photo_date = { "!=" = "NASK" } }, + { photo_date = { "!=" = "NA" } }, + { photo_date = { "!=" = "" } }, +] + +[[long]] +attribute = "photo_type" +attribute_status = { field = "photo_type", apply = { function = "attribute_status_fill" } } +ref = "photographs" + +[long.value] +field = "photo_type" +values = { 1 = "Skin lesion", 2 = "Mucosal lesion", 99 = "Unknown", 88 = "Other" } + +[[long]] +attribute = "photo_site" +attribute_status = { field = "photo_site", apply = { function = "attribute_status_fill" } } +ref = "photographs" + +[long.value] +field = "photo_site" + +[long.value.values] +1 = "Head, neck or face" +2 = "Inside of mouth" +3 = "Front torso" +4 = "Back torso" +5 = "Right arm or hand" +6 = "Left arm or hand" +7 = "Peri-anal" +8 = "Pubic region" +9 = "Right leg or foot" +10 = "Left leg or foot" +99 = "Unknown" +88 = "Other" + +[[long]] +attribute = "photo_site_oth" +attribute_status = { field = "photo_site_oth", apply = { function = "attribute_status_fill" } } +ref = "photographs" + +[long.value] +field = "photo_site_oth" + +[long.value.if] +all = [ + { photo_site_oth = { "!=" = "UNK" } }, + { photo_site_oth = { "!=" = "NI" } }, + { photo_site_oth = { "!=" = "NASK" } }, + { photo_site_oth = { "!=" = "NA" } }, + { photo_site_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "photo_sampleyn" +value = { field = "photo_sampleyn", values = { 1 = "Yes", 2 = "No", 99 = "Unknown" } } +attribute_status = { field = "photo_sampleyn", apply = { function = "attribute_status_fill" } } +ref = "photographs" + +[[long]] +attribute = "photo_sampleid" +attribute_status = { field = "photo_sampleid", apply = { function = "attribute_status_fill" } } +ref = "photographs" + +[long.value] +field = "photo_sampleid" + +[long.value.if] +all = [ + { photo_sampleid = { "!=" = "UNK" } }, + { photo_sampleid = { "!=" = "NI" } }, + { photo_sampleid = { "!=" = "NASK" } }, + { photo_sampleid = { "!=" = "NA" } }, + { photo_sampleid = { "!=" = "" } }, +] + +[[long]] +attribute = "photo_desc" +attribute_status = { field = "photo_desc", apply = { function = "attribute_status_fill" } } +ref = "photographs" + +[long.value] +field = "photo_desc" + +[long.value.if] +all = [ + { photo_desc = { "!=" = "UNK" } }, + { photo_desc = { "!=" = "NI" } }, + { photo_desc = { "!=" = "NASK" } }, + { photo_desc = { "!=" = "NA" } }, + { photo_desc = { "!=" = "" } }, +] + +[[long]] +attribute = "compl_strokecva" +value = { field = "compl_strokecva", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_strokecva", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_severeneuro" +value = { field = "compl_severeneuro", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_severeneuro", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_encephalopathy" +value = { field = "compl_encephalopathy", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_encephalopathy", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_seizure" +value = { field = "compl_seizure", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_seizure", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_focalneuro" +value = { field = "compl_focalneuro", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_focalneuro", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_encephalitis" +value = { field = "compl_encephalitis", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_encephalitis", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_meningitis" +value = { field = "compl_meningitis", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_meningitis", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_hearloss" +value = { field = "compl_hearloss", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_hearloss", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_gbs" +value = { field = "compl_gbs", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_gbs", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_cnsinf" +value = { field = "compl_cnsinf", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_cnsinf", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_atm" +value = { field = "compl_atm", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_atm", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_afm" +value = { field = "compl_afm", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_afm", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_perneur" +value = { field = "compl_perneur", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_perneur", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_adem" +value = { field = "compl_adem", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_adem", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_refstatus" +value = { field = "compl_refstatus", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_refstatus", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_newseiz_persist" +value = { field = "compl_newseiz_persist", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_newseiz_persist", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_raised_icp" +value = { field = "compl_raised_icp", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_raised_icp", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_cerebral_edema" +value = { field = "compl_cerebral_edema", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_cerebral_edema", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_hydrocephalus" +value = { field = "compl_hydrocephalus", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_hydrocephalus", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_intracranial_hem" +value = { field = "compl_intracranial_hem", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_intracranial_hem", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_brain_herniation" +value = { field = "compl_brain_herniation", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_brain_herniation", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_coma_persistent" +value = { field = "compl_coma_persistent", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_coma_persistent", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_focal_persist" +value = { field = "compl_focal_persist", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_focal_persist", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_movement_disorder" +value = { field = "compl_movement_disorder", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_movement_disorder", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_myocardial" +value = { field = "compl_myocardial", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_myocardial", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_cardiacisc" +value = { field = "compl_cardiacisc", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_cardiacisc", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_endocardit" +value = { field = "compl_endocardit", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_endocardit", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_cardiomyop" +value = { field = "compl_cardiomyop", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_cardiomyop", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_chf" +value = { field = "compl_chf", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_chf", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_cardiarrhy" +value = { field = "compl_cardiarrhy", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_cardiarrhy", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_cardiarrest" +value = { field = "compl_cardiarrest", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_cardiarrest", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_myocarditis" +value = { field = "compl_myocarditis", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_myocarditis", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_pericarditis" +value = { field = "compl_pericarditis", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_pericarditis", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_pneum" +value = { field = "compl_pneum", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_pneum", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_pneum_etio" +value = { field = "compl_pneum_etio", values = { 1 = "Yes", 2 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_pneum_etio", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_pneum_type" +value = { field = "compl_pneum_type", values = { 1 = "Viral", 2 = "Bacterial", 3 = "Fungal" } } +attribute_status = { field = "compl_pneum_type", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_pneum_acq" +attribute_status = { field = "compl_pneum_acq", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "compl_pneum_acq" +values = { 1 = "Community acquired", 2 = "Hospital acquired", 3 = "Ventilator acquired", 99 = "Unknown" } + +[[long]] +attribute = "compl_pneumothor" +value = { field = "compl_pneumothor", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_pneumothor", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_pleuraleff" +value = { field = "compl_pleuraleff", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_pleuraleff", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_copneumoni" +value = { field = "compl_copneumoni", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_copneumoni", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_bronchioli" +value = { field = "compl_bronchioli", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_bronchioli", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_ards" +value = { field = "compl_ards", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_ards", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_ascite" +value = { field = "compl_ascite", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_ascite", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_pancreatit" +value = { field = "compl_pancreatit", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_pancreatit", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_acutehepat" +value = { field = "compl_acutehepat", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_acutehepat", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_severeliver" +value = { field = "compl_severeliver", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_severeliver", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_hepaticenc" +value = { field = "compl_hepaticenc", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_hepaticenc", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_jaundice" +value = { field = "compl_jaundice", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_jaundice", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_liverdysfu" +value = { field = "compl_liverdysfu", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_liverdysfu", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_thrombemb" +value = { field = "compl_thrombemb", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_thrombemb", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_thrombemb_pe" +value = { field = "compl_thrombemb_pe", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_thrombemb_pe", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_thrombemb_dvt" +value = { field = "compl_thrombemb_dvt", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_thrombemb_dvt", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_thrombemb_oth" +value = { field = "compl_thrombemb_oth", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_thrombemb_oth", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_thrombemb_spec" +attribute_status = { field = "compl_thrombemb_spec", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "compl_thrombemb_spec" + +[long.value.if] +all = [ + { compl_thrombemb_spec = { "!=" = "UNK" } }, + { compl_thrombemb_spec = { "!=" = "NI" } }, + { compl_thrombemb_spec = { "!=" = "NASK" } }, + { compl_thrombemb_spec = { "!=" = "NA" } }, + { compl_thrombemb_spec = { "!=" = "" } }, +] + +[[long]] +attribute = "compl_severebleed" +value = { field = "compl_severebleed", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_severebleed", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_severebleed_site" +value = { field = "compl_severebleed_site___1", values = { 1 = "Skin" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "compl_severebleed_site" +value = { field = "compl_severebleed_site___7", values = { 1 = "Petechiae" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "compl_severebleed_site" +value = { field = "compl_severebleed_site___2", values = { 1 = "Nose" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "compl_severebleed_site" +value = { field = "compl_severebleed_site___3", values = { 1 = "Gums" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "compl_severebleed_site" +value = { field = "compl_severebleed_site___4", values = { 1 = "GI tract" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "compl_severebleed_site" +value = { field = "compl_severebleed_site___5", values = { 1 = "Urinary tract" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "compl_severebleed_site" +value = { field = "compl_severebleed_site___6", values = { 1 = "Vagina" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "compl_severebleed_site" +value = { field = "compl_severebleed_site___88", values = { 1 = "Other(s)" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "compl_severebleed_site" +value = { field = "compl_severebleed_site___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "compl_severebleed_site" +attribute_status = { field = "compl_severebleed_site___unk", values = { 1 = "UNK" } } +if = { compl_severebleed_site___unk = 1 } +ref = "outcome" + +[[long]] +attribute = "compl_severebleed_site" +attribute_status = { field = "compl_severebleed_site___ni", values = { 1 = "NI" } } +if = { compl_severebleed_site___ni = 1 } +ref = "outcome" + +[[long]] +attribute = "compl_severebleed_site" +attribute_status = { field = "compl_severebleed_site___nask", values = { 1 = "NASK" } } +if = { compl_severebleed_site___nask = 1 } +ref = "outcome" + +[[long]] +attribute = "compl_severebleed_site" +attribute_status = { field = "compl_severebleed_site___na", values = { 1 = "NA" } } +if = { compl_severebleed_site___na = 1 } +ref = "outcome" + +[[long]] +attribute = "compl_severebleed_site_oth" +attribute_status = { field = "compl_severebleed_site_oth", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "compl_severebleed_site_oth" + +[long.value.if] +all = [ + { compl_severebleed_site_oth = { "!=" = "UNK" } }, + { compl_severebleed_site_oth = { "!=" = "NI" } }, + { compl_severebleed_site_oth = { "!=" = "NASK" } }, + { compl_severebleed_site_oth = { "!=" = "NA" } }, + { compl_severebleed_site_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "compl_anaemia" +value = { field = "compl_anaemia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_anaemia", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_coagulatio" +value = { field = "compl_coagulatio", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_coagulatio", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_acuterenal" +value = { field = "compl_acuterenal", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_acuterenal", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_uti" +value = { field = "compl_uti", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_uti", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_urineret" +value = { field = "compl_urineret", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_urineret", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_urineret_spec" +attribute_status = { field = "compl_urineret_spec", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "compl_urineret_spec" + +[long.value.if] +all = [ + { compl_urineret_spec = { "!=" = "UNK" } }, + { compl_urineret_spec = { "!=" = "NI" } }, + { compl_urineret_spec = { "!=" = "NASK" } }, + { compl_urineret_spec = { "!=" = "NA" } }, + { compl_urineret_spec = { "!=" = "" } }, +] + +[[long]] +attribute = "compl_ent" +value = { field = "compl_ent", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_ent", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_deepneck" +value = { field = "compl_deepneck", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_deepneck", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_rhabdomyol" +value = { field = "compl_rhabdomyol", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_rhabdomyol", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_myositis" +value = { field = "compl_myositis", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_myositis", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_cellulitis" +value = { field = "compl_cellulitis", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_cellulitis", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_cellulitis_site" +value = { field = "compl_cellulitis_site___1", values = { 1 = "Skin" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "compl_cellulitis_site" +value = { field = "compl_cellulitis_site___2", values = { 1 = "Nose" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "compl_cellulitis_site" +value = { field = "compl_cellulitis_site___3", values = { 1 = "Gums" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "compl_cellulitis_site" +value = { field = "compl_cellulitis_site___4", values = { 1 = "GI tract" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "compl_cellulitis_site" +value = { field = "compl_cellulitis_site___5", values = { 1 = "Urinary tract" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "compl_cellulitis_site" +value = { field = "compl_cellulitis_site___6", values = { 1 = "Vagina" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "compl_cellulitis_site" +value = { field = "compl_cellulitis_site___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "compl_cellulitis_site" +value = { field = "compl_cellulitis_site___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "compl_cellulitis_site" +attribute_status = { field = "compl_cellulitis_site___unk", values = { 1 = "UNK" } } +if = { compl_cellulitis_site___unk = 1 } +ref = "outcome" + +[[long]] +attribute = "compl_cellulitis_site" +attribute_status = { field = "compl_cellulitis_site___ni", values = { 1 = "NI" } } +if = { compl_cellulitis_site___ni = 1 } +ref = "outcome" + +[[long]] +attribute = "compl_cellulitis_site" +attribute_status = { field = "compl_cellulitis_site___nask", values = { 1 = "NASK" } } +if = { compl_cellulitis_site___nask = 1 } +ref = "outcome" + +[[long]] +attribute = "compl_cellulitis_site" +attribute_status = { field = "compl_cellulitis_site___na", values = { 1 = "NA" } } +if = { compl_cellulitis_site___na = 1 } +ref = "outcome" + +[[long]] +attribute = "compl_cellulitis_site_oth" +attribute_status = { field = "compl_cellulitis_site_oth", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "compl_cellulitis_site_oth" + +[long.value.if] +all = [ + { compl_cellulitis_site_oth = { "!=" = "UNK" } }, + { compl_cellulitis_site_oth = { "!=" = "NI" } }, + { compl_cellulitis_site_oth = { "!=" = "NASK" } }, + { compl_cellulitis_site_oth = { "!=" = "NA" } }, + { compl_cellulitis_site_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "compl_skabscess" +value = { field = "compl_skabscess", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_skabscess", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_eschar" +value = { field = "compl_eschar", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_eschar", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_scar" +value = { field = "compl_scar", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_scar", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_nec" +value = { field = "compl_nec", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_nec", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_eyeinf" +value = { field = "compl_eyeinf", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_eyeinf", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_cornealsubepi" +value = { field = "compl_cornealsubepi", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_cornealsubepi", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_cornealstroma" +value = { field = "compl_cornealstroma", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_cornealstroma", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_bacteraemi" +value = { field = "compl_bacteraemi", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_bacteraemi", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_hyperglyce" +value = { field = "compl_hyperglyce", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_hyperglyce", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_hypoglycem" +value = { field = "compl_hypoglycem", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_hypoglycem", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_shock" +value = { field = "compl_shock", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_shock", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_reshock" +value = { field = "compl_reshock", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_reshock", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_reshockep" +value = { field = "compl_reshockep", values = { 1 = "1", 2 = "2", 3 = "3", 4 = "4+", 99 = "Unknown" } } +attribute_status = { field = "compl_reshockep", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_sepsis" +value = { field = "compl_sepsis", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_sepsis", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_hypothermia" +value = { field = "compl_hypothermia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_hypothermia", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_ndiab" +value = { field = "compl_ndiab", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_ndiab", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_plarthalgia" +value = { field = "compl_plarthalgia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "compl_plarthalgia", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "compl_unlisted" +attribute_status = { field = "compl_unlisted_{n}item", apply = { function = "attribute_status_fill" } } +ref = "outcome" +for = { n = { range = [ + 0, + 4, +] } } + +[long.value] +field = "compl_unlisted_{n}item" +can_skip = true + +[long.value.values] +1 = "Acute Respiratory Distress Syndrome (ARDS)" +2 = "Bacteremia" +3 = "Myocardial Infarction" +4 = "Neurological finding" +5 = "Pneumonia" +6 = "Pulmonary Embolism" +7 = "Septic Shock" +8 = "Acquired coagulation disorder" +9 = "Acute renal failure syndrome" +10 = "Bleeding" +11 = "Cardiac Arrest" +12 = "Cardioembolic stroke" +13 = "Cardiogenic Shock" +14 = "Cerebellar stroke" +15 = "Decompensation" +16 = "Deep venous thrombosis" +17 = "Disseminated Intravascular Coagulation (DIC)" +18 = "Empyema" +19 = "Encephalitis" +20 = "Haemorrhagic stroke" +21 = "Hospital acquired pneumonia" +22 = "Ischemic encephalopathy" +23 = "Ischemic stroke" +24 = "Large liver" +25 = "Meningitis" +26 = "Multisystem inflammatory syndrome in adults" +27 = "Multisystem inflammatory syndrome in children" +28 = "Pneumothorax" +29 = "Recurrent gastrointestinal bleeding" +30 = "Recurrent urinary tract infection" +31 = "Sepsis" +32 = "Thrombotic stroke" +33 = "Transient cerebral ischemia" +34 = "Transient hypotension" +35 = "Ventilator-Associated Pneumonia" + +[[long]] +attribute = "compl_unlisted" +attribute_status = { field = "compl_unlisted_{n}otherl2", apply = { function = "attribute_status_fill" } } +ref = "outcome" +for = { n = { range = [ + 0, + 4, +] } } + +[long.value] +field = "compl_unlisted_{n}otherl2" +can_skip = true + +[long.value.values] +1 = "Acute Respiratory Distress Syndrome (ARDS)" +2 = "Bacteremia" +3 = "Myocardial Infarction" +4 = "Neurological finding" +5 = "Pneumonia" +6 = "Pulmonary Embolism" +7 = "Septic Shock" +8 = "Acquired coagulation disorder" +9 = "Acute renal failure syndrome" +10 = "Bleeding" +11 = "Cardiac Arrest" +12 = "Cardioembolic stroke" +13 = "Cardiogenic Shock" +14 = "Cerebellar stroke" +15 = "Decompensation" +16 = "Deep venous thrombosis" +17 = "Disseminated Intravascular Coagulation (DIC)" +18 = "Empyema" +19 = "Encephalitis" +20 = "Haemorrhagic stroke" +21 = "Hospital acquired pneumonia" +22 = "Ischemic encephalopathy" +23 = "Ischemic stroke" +24 = "Large liver" +25 = "Meningitis" +26 = "Multisystem inflammatory syndrome in adults" +27 = "Multisystem inflammatory syndrome in children" +28 = "Pneumothorax" +29 = "Recurrent gastrointestinal bleeding" +30 = "Recurrent urinary tract infection" +31 = "Sepsis" +32 = "Thrombotic stroke" +33 = "Transient cerebral ischemia" +34 = "Transient hypotension" +35 = "Ventilator-Associated Pneumonia" + +[[long]] +attribute = "inter_ivfluid" +value = { field = "inter_ivfluid", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_ivfluid", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_ivfluid_type" +attribute_status = { field = "inter_ivfluid_type", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "inter_ivfluid_type" + +[long.value.values] +1 = "0.18%-0.3% Sodium Chloride + 4% Glucose (Hypotonic saline with dextrose)" +2 = "0.45% Sodium Chloride (Half-normal saline)" +3 = "0.45% normal saline + 4% Glucose (Half-normal saline with dextrose)" +4 = "0.9% Sodium Chloride (Normal Saline)" +5 = "5% Glucose (Dextrose 5% in Water)" +6 = "Albumin" +7 = "Gelatins" +8 = "Lactated Ringers(USP)" +9 = "Plasmalyte" +10 = "Ringers acetate" +11 = "Starches" + +[[long]] +attribute = "inter_ivfluid_type" +attribute_status = { field = "inter_ivfluid_type_otherl2", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "inter_ivfluid_type_otherl2" +can_skip = true + +[long.value.values] +1 = "0.18%-0.3% Sodium Chloride + 4% Glucose (Hypotonic saline with dextrose)" +2 = "0.45% Sodium Chloride (Half-normal saline)" +3 = "0.45% normal saline + 4% Glucose (Half-normal saline with dextrose)" +4 = "0.9% Sodium Chloride (Normal Saline)" +5 = "5% Glucose (Dextrose 5% in Water)" +6 = "Albumin" +7 = "Gelatins" +8 = "Lactated Ringers(USP)" +9 = "Plasmalyte" +10 = "Ringers acetate" +11 = "Starches" + +[[long]] +attribute = "inter_ivfluid_type" +value = { field = "inter_ivfluid_type_otherl3", can_skip = true } +attribute_status = { field = "inter_ivfluid_type_otherl3", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_ivfluid_cryst" +attribute_status = { field = "inter_ivfluid_cryst", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "inter_ivfluid_cryst" + +[long.value_num.if] +all = [ + { inter_ivfluid_cryst = { "!=" = "UNK" } }, + { inter_ivfluid_cryst = { "!=" = "NI" } }, + { inter_ivfluid_cryst = { "!=" = "NASK" } }, + { inter_ivfluid_cryst = { "!=" = "NA" } }, + { inter_ivfluid_cryst = { "!=" = "" } }, +] + +[[long]] +attribute = "inter_ivfluid_colloid" +attribute_status = { field = "inter_ivfluid_colloid", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "inter_ivfluid_colloid" + +[long.value_num.if] +all = [ + { inter_ivfluid_colloid = { "!=" = "UNK" } }, + { inter_ivfluid_colloid = { "!=" = "NI" } }, + { inter_ivfluid_colloid = { "!=" = "NASK" } }, + { inter_ivfluid_colloid = { "!=" = "NA" } }, + { inter_ivfluid_colloid = { "!=" = "" } }, +] + +[[long]] +attribute = "inter_ivfluid_reas" +value = { field = "inter_ivfluid_reas___1", values = { 1 = "Shock" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "inter_ivfluid_reas" +value = { field = "inter_ivfluid_reas___2", values = { 1 = "High/rising haematocrit" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "inter_ivfluid_reas" +value = { field = "inter_ivfluid_reas___3", values = { 1 = "Anorexia" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "inter_ivfluid_reas" +value = { field = "inter_ivfluid_reas___4", values = { 1 = "Persistent vomiting" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "inter_ivfluid_reas" +value = { field = "inter_ivfluid_reas___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "inter_ivfluid_reas" +attribute_status = { field = "inter_ivfluid_reas___unk", values = { 1 = "UNK" } } +if = { inter_ivfluid_reas___unk = 1 } +ref = "outcome" + +[[long]] +attribute = "inter_ivfluid_reas" +attribute_status = { field = "inter_ivfluid_reas___ni", values = { 1 = "NI" } } +if = { inter_ivfluid_reas___ni = 1 } +ref = "outcome" + +[[long]] +attribute = "inter_ivfluid_reas" +attribute_status = { field = "inter_ivfluid_reas___nask", values = { 1 = "NASK" } } +if = { inter_ivfluid_reas___nask = 1 } +ref = "outcome" + +[[long]] +attribute = "inter_ivfluid_reas" +attribute_status = { field = "inter_ivfluid_reas___na", values = { 1 = "NA" } } +if = { inter_ivfluid_reas___na = 1 } +ref = "outcome" + +[[long]] +attribute = "inter_ivfluid_reas_oth" +attribute_status = { field = "inter_ivfluid_reas_oth", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "inter_ivfluid_reas_oth" + +[long.value.if] +all = [ + { inter_ivfluid_reas_oth = { "!=" = "UNK" } }, + { inter_ivfluid_reas_oth = { "!=" = "NI" } }, + { inter_ivfluid_reas_oth = { "!=" = "NASK" } }, + { inter_ivfluid_reas_oth = { "!=" = "NA" } }, + { inter_ivfluid_reas_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "inter_ivfluid_venacc" +value = { field = "inter_ivfluid_venacc___1", values = { 1 = "Peripheral" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "inter_ivfluid_venacc" +value = { field = "inter_ivfluid_venacc___2", values = { 1 = "Intra-osseous" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "inter_ivfluid_venacc" +value = { field = "inter_ivfluid_venacc___3", values = { 1 = "Central" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "inter_ivfluid_venacc" +value = { field = "inter_ivfluid_venacc___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "inter_ivfluid_venacc" +value = { field = "inter_ivfluid_venacc___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "inter_ivfluid_venacc" +attribute_status = { field = "inter_ivfluid_venacc___unk", values = { 1 = "UNK" } } +if = { inter_ivfluid_venacc___unk = 1 } +ref = "outcome" + +[[long]] +attribute = "inter_ivfluid_venacc" +attribute_status = { field = "inter_ivfluid_venacc___ni", values = { 1 = "NI" } } +if = { inter_ivfluid_venacc___ni = 1 } +ref = "outcome" + +[[long]] +attribute = "inter_ivfluid_venacc" +attribute_status = { field = "inter_ivfluid_venacc___nask", values = { 1 = "NASK" } } +if = { inter_ivfluid_venacc___nask = 1 } +ref = "outcome" + +[[long]] +attribute = "inter_ivfluid_venacc" +attribute_status = { field = "inter_ivfluid_venacc___na", values = { 1 = "NA" } } +if = { inter_ivfluid_venacc___na = 1 } +ref = "outcome" + +[[long]] +attribute = "inter_ivfluid_venacc_oth" +attribute_status = { field = "inter_ivfluid_venacc_oth", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "inter_ivfluid_venacc_oth" + +[long.value.if] +all = [ + { inter_ivfluid_venacc_oth = { "!=" = "UNK" } }, + { inter_ivfluid_venacc_oth = { "!=" = "NI" } }, + { inter_ivfluid_venacc_oth = { "!=" = "NASK" } }, + { inter_ivfluid_venacc_oth = { "!=" = "NA" } }, + { inter_ivfluid_venacc_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "inter_ivfluid_start" +attribute_status = { field = "inter_ivfluid_start", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "inter_ivfluid_start" + +[long.value.if] +all = [ + { inter_ivfluid_start = { "!=" = "UNK" } }, + { inter_ivfluid_start = { "!=" = "NI" } }, + { inter_ivfluid_start = { "!=" = "NASK" } }, + { inter_ivfluid_start = { "!=" = "NA" } }, + { inter_ivfluid_start = { "!=" = "" } }, +] + +[[long]] +attribute = "inter_ivfluid_end" +attribute_status = { field = "inter_ivfluid_end", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "inter_ivfluid_end" + +[long.value.if] +all = [ + { inter_ivfluid_end = { "!=" = "UNK" } }, + { inter_ivfluid_end = { "!=" = "NI" } }, + { inter_ivfluid_end = { "!=" = "NASK" } }, + { inter_ivfluid_end = { "!=" = "NA" } }, + { inter_ivfluid_end = { "!=" = "" } }, +] + +[[long]] +attribute = "inter_enteralfeed" +value = { field = "inter_enteralfeed", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_enteralfeed", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_bpt" +value = { field = "inter_bpt", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_bpt", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_bpt_type" +value = { field = "inter_bpt_type___1", values = { 1 = "Platelets" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "inter_bpt_type" +value = { field = "inter_bpt_type___2", values = { 1 = "Cryoprecipitate" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "inter_bpt_type" +value = { field = "inter_bpt_type___3", values = { 1 = "Whole blood" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "inter_bpt_type" +value = { field = "inter_bpt_type___4", values = { 1 = "Frozen fresh plasma" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "inter_bpt_type" +value = { field = "inter_bpt_type___5", values = { 1 = "Fibrinogen concentrate" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "inter_bpt_type" +value = { field = "inter_bpt_type___6", values = { 1 = "Packed RBC (red cell concentrate)" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "inter_bpt_type" +attribute_status = { field = "inter_bpt_type___unk", values = { 1 = "UNK" } } +if = { inter_bpt_type___unk = 1 } +ref = "outcome" + +[[long]] +attribute = "inter_bpt_type" +attribute_status = { field = "inter_bpt_type___ni", values = { 1 = "NI" } } +if = { inter_bpt_type___ni = 1 } +ref = "outcome" + +[[long]] +attribute = "inter_bpt_type" +attribute_status = { field = "inter_bpt_type___nask", values = { 1 = "NASK" } } +if = { inter_bpt_type___nask = 1 } +ref = "outcome" + +[[long]] +attribute = "inter_bpt_type" +attribute_status = { field = "inter_bpt_type___na", values = { 1 = "NA" } } +if = { inter_bpt_type___na = 1 } +ref = "outcome" + +[[long]] +attribute = "inter_bpt_plate" +attribute_status = { field = "inter_bpt_plate", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "inter_bpt_plate" + +[long.value_num.if] +all = [ + { inter_bpt_plate = { "!=" = "UNK" } }, + { inter_bpt_plate = { "!=" = "NI" } }, + { inter_bpt_plate = { "!=" = "NASK" } }, + { inter_bpt_plate = { "!=" = "NA" } }, + { inter_bpt_plate = { "!=" = "" } }, +] + +[[long]] +attribute = "inter_bpt_cryo" +attribute_status = { field = "inter_bpt_cryo", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "inter_bpt_cryo" + +[long.value_num.if] +all = [ + { inter_bpt_cryo = { "!=" = "UNK" } }, + { inter_bpt_cryo = { "!=" = "NI" } }, + { inter_bpt_cryo = { "!=" = "NASK" } }, + { inter_bpt_cryo = { "!=" = "NA" } }, + { inter_bpt_cryo = { "!=" = "" } }, +] + +[[long]] +attribute = "inter_bpt_rbc" +attribute_status = { field = "inter_bpt_rbc", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "inter_bpt_rbc" + +[long.value_num.if] +all = [ + { inter_bpt_rbc = { "!=" = "UNK" } }, + { inter_bpt_rbc = { "!=" = "NI" } }, + { inter_bpt_rbc = { "!=" = "NASK" } }, + { inter_bpt_rbc = { "!=" = "NA" } }, + { inter_bpt_rbc = { "!=" = "" } }, +] + +[[long]] +attribute = "inter_bpt_ffp" +attribute_status = { field = "inter_bpt_ffp", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "inter_bpt_ffp" + +[long.value_num.if] +all = [ + { inter_bpt_ffp = { "!=" = "UNK" } }, + { inter_bpt_ffp = { "!=" = "NI" } }, + { inter_bpt_ffp = { "!=" = "NASK" } }, + { inter_bpt_ffp = { "!=" = "NA" } }, + { inter_bpt_ffp = { "!=" = "" } }, +] + +[[long]] +attribute = "inter_bpt_fibrin" +attribute_status = { field = "inter_bpt_fibrin", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "inter_bpt_fibrin" + +[long.value_num.if] +all = [ + { inter_bpt_fibrin = { "!=" = "UNK" } }, + { inter_bpt_fibrin = { "!=" = "NI" } }, + { inter_bpt_fibrin = { "!=" = "NASK" } }, + { inter_bpt_fibrin = { "!=" = "NA" } }, + { inter_bpt_fibrin = { "!=" = "" } }, +] + +[[long]] +attribute = "inter_bpt_rcc" +attribute_status = { field = "inter_bpt_rcc", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "inter_bpt_rcc" + +[long.value_num.if] +all = [ + { inter_bpt_rcc = { "!=" = "UNK" } }, + { inter_bpt_rcc = { "!=" = "NI" } }, + { inter_bpt_rcc = { "!=" = "NASK" } }, + { inter_bpt_rcc = { "!=" = "NA" } }, + { inter_bpt_rcc = { "!=" = "" } }, +] + +[[long]] +attribute = "inter_ivimmunogl" +value = { field = "inter_ivimmunogl", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_ivimmunogl", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_diuretics" +value = { field = "inter_diuretics", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_diuretics", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_nacetylcys" +value = { field = "inter_nacetylcys", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_nacetylcys", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_fluiddrain" +value = { field = "inter_fluiddrain", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_fluiddrain", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_fluiddrain_reas" +attribute_status = { field = "inter_fluiddrain_reas", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "inter_fluiddrain_reas" +values = { 1 = "Ascites", 2 = "Pleural effusion", 3 = "Pericardial effusion", 4 = "Joint effusion" } + +[[long]] +attribute = "inter_plasmaex" +value = { field = "inter_plasmaex", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_plasmaex", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_plasmaex_days" +attribute_status = { field = "inter_plasmaex_days", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "inter_plasmaex_days" + +[long.value_num.if] +all = [ + { inter_plasmaex_days = { "!=" = "UNK" } }, + { inter_plasmaex_days = { "!=" = "NI" } }, + { inter_plasmaex_days = { "!=" = "NASK" } }, + { inter_plasmaex_days = { "!=" = "NA" } }, + { inter_plasmaex_days = { "!=" = "" } }, +] + +[[long]] +attribute = "inter_csf" +attribute_status = { field = "inter_csf", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "inter_csf" + +[long.value.values] +1 = "Extraventricular drain (EVD)" +2 = "Lumbar drain" +3 = "Ventriculoperitoneal shunt" +0 = "None" + +[[long]] +attribute = "inter_icp" +value = { field = "inter_icp", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_icp", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_icp_type" +attribute_status = { field = "inter_icp_type", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "inter_icp_type" + +[long.value.values] +1 = "Intraventricular catheter (EVD-based)" +2 = "Intraparenchymal monitor (bolt)" +3 = "Subdural monitor" +4 = "Epidural monitor" +99 = "Unknown" + +[[long]] +attribute = "inter_icp_peak" +attribute_status = { field = "inter_icp_peak", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "inter_icp_peak" + +[long.value_num.if] +all = [ + { inter_icp_peak = { "!=" = "UNK" } }, + { inter_icp_peak = { "!=" = "NI" } }, + { inter_icp_peak = { "!=" = "NASK" } }, + { inter_icp_peak = { "!=" = "NA" } }, + { inter_icp_peak = { "!=" = "" } }, +] + +[[long]] +attribute = "inter_icp_duration" +attribute_status = { field = "inter_icp_duration", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "inter_icp_duration" + +[long.value_num.if] +all = [ + { inter_icp_duration = { "!=" = "UNK" } }, + { inter_icp_duration = { "!=" = "NI" } }, + { inter_icp_duration = { "!=" = "NASK" } }, + { inter_icp_duration = { "!=" = "NA" } }, + { inter_icp_duration = { "!=" = "" } }, +] + +[[long]] +attribute = "inter_vteproph" +value = { field = "inter_vteproph", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_vteproph", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_stressulcer" +value = { field = "inter_stressulcer", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_stressulcer", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_osmotherapy" +value = { field = "inter_osmotherapy", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_osmotherapy", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_osmotherapy_type" +value = { field = "inter_osmotherapy_type___1", values = { 1 = "3% hypertonic saline" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "inter_osmotherapy_type" +value = { field = "inter_osmotherapy_type___2", values = { 1 = "7.5% saline" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "inter_osmotherapy_type" +value = { field = "inter_osmotherapy_type___3", values = { 1 = "23.4% saline" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "inter_osmotherapy_type" +value = { field = "inter_osmotherapy_type___4", values = { 1 = "Mannitol" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "inter_osmotherapy_type" +attribute_status = { field = "inter_osmotherapy_type___unk", values = { 1 = "UNK" } } +if = { inter_osmotherapy_type___unk = 1 } +ref = "outcome" + +[[long]] +attribute = "inter_osmotherapy_type" +attribute_status = { field = "inter_osmotherapy_type___ni", values = { 1 = "NI" } } +if = { inter_osmotherapy_type___ni = 1 } +ref = "outcome" + +[[long]] +attribute = "inter_osmotherapy_type" +attribute_status = { field = "inter_osmotherapy_type___nask", values = { 1 = "NASK" } } +if = { inter_osmotherapy_type___nask = 1 } +ref = "outcome" + +[[long]] +attribute = "inter_osmotherapy_type" +attribute_status = { field = "inter_osmotherapy_type___na", values = { 1 = "NA" } } +if = { inter_osmotherapy_type___na = 1 } +ref = "outcome" + +[[long]] +attribute = "inter_isolation" +value = { field = "inter_isolation", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_isolation", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_isolation_date" +attribute_status = { field = "inter_isolation_date", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "inter_isolation_date" + +[long.value.if] +all = [ + { inter_isolation_date = { "!=" = "UNK" } }, + { inter_isolation_date = { "!=" = "NI" } }, + { inter_isolation_date = { "!=" = "NASK" } }, + { inter_isolation_date = { "!=" = "NA" } }, + { inter_isolation_date = { "!=" = "" } }, +] + +[[long]] +attribute = "inter_surg" +value = { field = "inter_surg", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_surg", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_surg_type" +attribute_status = { field = "inter_surg_type", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "inter_surg_type" + +[long.value.if] +all = [ + { inter_surg_type = { "!=" = "UNK" } }, + { inter_surg_type = { "!=" = "NI" } }, + { inter_surg_type = { "!=" = "NASK" } }, + { inter_surg_type = { "!=" = "NA" } }, + { inter_surg_type = { "!=" = "" } }, +] + +[[long]] +attribute = "inter_surg_date" +attribute_status = { field = "inter_surg_date", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "inter_surg_date" + +[long.value.if] +all = [ + { inter_surg_date = { "!=" = "UNK" } }, + { inter_surg_date = { "!=" = "NI" } }, + { inter_surg_date = { "!=" = "NASK" } }, + { inter_surg_date = { "!=" = "NA" } }, + { inter_surg_date = { "!=" = "" } }, +] + +[[long]] +attribute = "inter_surg_sec" +value = { field = "inter_surg_sec", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_surg_sec", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_surg_secdate" +attribute_status = { field = "inter_surg_secdate", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "inter_surg_secdate" + +[long.value.if] +all = [ + { inter_surg_secdate = { "!=" = "UNK" } }, + { inter_surg_secdate = { "!=" = "NI" } }, + { inter_surg_secdate = { "!=" = "NASK" } }, + { inter_surg_secdate = { "!=" = "NA" } }, + { inter_surg_secdate = { "!=" = "" } }, +] + +[[long]] +attribute = "inter_other" +value = { field = "inter_other", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_other", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_other_spec" +attribute_status = { field = "inter_other_spec", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "inter_other_spec" + +[long.value.if] +all = [ + { inter_other_spec = { "!=" = "UNK" } }, + { inter_other_spec = { "!=" = "NI" } }, + { inter_other_spec = { "!=" = "NASK" } }, + { inter_other_spec = { "!=" = "NA" } }, + { inter_other_spec = { "!=" = "" } }, +] + +[[long]] +attribute = "inter_suppleo2" +value = { field = "inter_suppleo2", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_suppleo2", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_suppleo2_ongoing" +value = { field = "inter_suppleo2_ongoing", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_suppleo2_ongoing", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_suppleo2_dur" +attribute_status = { field = "inter_suppleo2_dur", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "inter_suppleo2_dur" + +[long.value_num.if] +all = [ + { inter_suppleo2_dur = { "!=" = "UNK" } }, + { inter_suppleo2_dur = { "!=" = "NI" } }, + { inter_suppleo2_dur = { "!=" = "NASK" } }, + { inter_suppleo2_dur = { "!=" = "NA" } }, + { inter_suppleo2_dur = { "!=" = "" } }, +] + +[[long]] +attribute = "inter_suppleo2_flow" +attribute_status = { field = "inter_suppleo2_flow", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "inter_suppleo2_flow" + +[long.value.values] +1 = "<2 L/min" +2 = "2-5 L/min" +3 = "6-10 L/min" +4 = "11-15 L/min" +5 = ">15 L/min" +99 = "Unknown" + +[[long]] +attribute = "inter_nasalprongs" +value = { field = "inter_nasalprongs", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_nasalprongs", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_nasalprongs_ongoing" +value = { field = "inter_nasalprongs_ongoing", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_nasalprongs_ongoing", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_nasalprongs_dur" +attribute_status = { field = "inter_nasalprongs_dur", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "inter_nasalprongs_dur" + +[long.value_num.if] +all = [ + { inter_nasalprongs_dur = { "!=" = "UNK" } }, + { inter_nasalprongs_dur = { "!=" = "NI" } }, + { inter_nasalprongs_dur = { "!=" = "NASK" } }, + { inter_nasalprongs_dur = { "!=" = "NA" } }, + { inter_nasalprongs_dur = { "!=" = "" } }, +] + +[[long]] +attribute = "inter_facemask" +value = { field = "inter_facemask", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_facemask", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_facemask_ongoing" +value = { field = "inter_facemask_ongoing", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_facemask_ongoing", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_facemask_dur" +attribute_status = { field = "inter_facemask_dur", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "inter_facemask_dur" + +[long.value_num.if] +all = [ + { inter_facemask_dur = { "!=" = "UNK" } }, + { inter_facemask_dur = { "!=" = "NI" } }, + { inter_facemask_dur = { "!=" = "NASK" } }, + { inter_facemask_dur = { "!=" = "NA" } }, + { inter_facemask_dur = { "!=" = "" } }, +] + +[[long]] +attribute = "inter_hfno" +value = { field = "inter_hfno", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_hfno", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_hfno_ongoing" +value = { field = "inter_hfno_ongoing", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_hfno_ongoing", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_hfno_dur" +attribute_status = { field = "inter_hfno_dur", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "inter_hfno_dur" + +[long.value_num.if] +all = [ + { inter_hfno_dur = { "!=" = "UNK" } }, + { inter_hfno_dur = { "!=" = "NI" } }, + { inter_hfno_dur = { "!=" = "NASK" } }, + { inter_hfno_dur = { "!=" = "NA" } }, + { inter_hfno_dur = { "!=" = "" } }, +] + +[[long]] +attribute = "inter_nivent" +value = { field = "inter_nivent", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_nivent", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_nivent_type" +attribute_status = { field = "inter_nivent_type", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "inter_nivent_type" +values = { 1 = "CPAP", 2 = "BIPAP", 99 = "Unknown", 88 = "Other" } + +[[long]] +attribute = "inter_nivent_typ_oth" +attribute_status = { field = "inter_nivent_typ_oth", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "inter_nivent_typ_oth" + +[long.value.if] +all = [ + { inter_nivent_typ_oth = { "!=" = "UNK" } }, + { inter_nivent_typ_oth = { "!=" = "NI" } }, + { inter_nivent_typ_oth = { "!=" = "NASK" } }, + { inter_nivent_typ_oth = { "!=" = "NA" } }, + { inter_nivent_typ_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "inter_nivent_ongoing" +value = { field = "inter_nivent_ongoing", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_nivent_ongoing", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_nivent_dur" +attribute_status = { field = "inter_nivent_dur", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "inter_nivent_dur" + +[long.value_num.if] +all = [ + { inter_nivent_dur = { "!=" = "UNK" } }, + { inter_nivent_dur = { "!=" = "NI" } }, + { inter_nivent_dur = { "!=" = "NASK" } }, + { inter_nivent_dur = { "!=" = "NA" } }, + { inter_nivent_dur = { "!=" = "" } }, +] + +[[long]] +attribute = "inter_invent" +value = { field = "inter_invent", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_invent", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_invent_ongoing" +value = { field = "inter_invent_ongoing", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_invent_ongoing", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_paco2" +attribute_status = { field = "inter_paco2", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "inter_paco2" + +[long.value_num.if] +all = [ + { inter_paco2 = { "!=" = "UNK" } }, + { inter_paco2 = { "!=" = "NI" } }, + { inter_paco2 = { "!=" = "NASK" } }, + { inter_paco2 = { "!=" = "NA" } }, + { inter_paco2 = { "!=" = "" } }, +] + +[[long]] +attribute = "inter_hypervent" +value = { field = "inter_hypervent", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_hypervent", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_invent_dur" +attribute_status = { field = "inter_invent_dur", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "inter_invent_dur" + +[long.value_num.if] +all = [ + { inter_invent_dur = { "!=" = "UNK" } }, + { inter_invent_dur = { "!=" = "NI" } }, + { inter_invent_dur = { "!=" = "NASK" } }, + { inter_invent_dur = { "!=" = "NA" } }, + { inter_invent_dur = { "!=" = "" } }, +] + +[[long]] +attribute = "inter_ecmo" +value = { field = "inter_ecmo", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_ecmo", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_ecmo_typ" +attribute_status = { field = "inter_ecmo_typ", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "inter_ecmo_typ" +values = { 1 = "Veno-venous (VV)", 2 = "Veno-arterial (VA)", 99 = "Unknown" } + +[[long]] +attribute = "inter_ecmo_ongoing" +value = { field = "inter_ecmo_ongoing", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_ecmo_ongoing", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_ecmo_dur" +attribute_status = { field = "inter_ecmo_dur", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "inter_ecmo_dur" + +[long.value_num.if] +all = [ + { inter_ecmo_dur = { "!=" = "UNK" } }, + { inter_ecmo_dur = { "!=" = "NI" } }, + { inter_ecmo_dur = { "!=" = "NASK" } }, + { inter_ecmo_dur = { "!=" = "NA" } }, + { inter_ecmo_dur = { "!=" = "" } }, +] + +[[long]] +attribute = "inter_prone" +value = { field = "inter_prone", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_prone", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_prone_when" +attribute_status = { field = "inter_prone_when", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "inter_prone_when" +values = { 1 = "During invasive ventilation", 2 = "Whilst self-ventilating", 99 = "Unknown" } + +[[long]] +attribute = "inter_prone_awake" +value = { field = "inter_prone_awake", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_prone_awake", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_othersuppleo2" +value = { field = "inter_othersuppleo2", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "inter_othersuppleo2", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "inter_othersuppleo2_spec" +attribute_status = { field = "inter_othersuppleo2_spec", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "inter_othersuppleo2_spec" + +[long.value.if] +all = [ + { inter_othersuppleo2_spec = { "!=" = "UNK" } }, + { inter_othersuppleo2_spec = { "!=" = "NI" } }, + { inter_othersuppleo2_spec = { "!=" = "NASK" } }, + { inter_othersuppleo2_spec = { "!=" = "NA" } }, + { inter_othersuppleo2_spec = { "!=" = "" } }, +] + +[[long]] +attribute = "crito_critcare" +value = { field = "crito_critcare", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "crito_critcare", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "crito_icu" +value = { field = "crito_icu", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "crito_icu", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "crito_icu_ongoing" +value = { field = "crito_icu_ongoing", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "crito_icu_ongoing", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "crito_icu_date" +attribute_status = { field = "crito_icu_date", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "crito_icu_date" + +[long.value.if] +all = [ + { crito_icu_date = { "!=" = "UNK" } }, + { crito_icu_date = { "!=" = "NI" } }, + { crito_icu_date = { "!=" = "NASK" } }, + { crito_icu_date = { "!=" = "NA" } }, + { crito_icu_date = { "!=" = "" } }, +] + +[[long]] +attribute = "crito_icu_disdate" +attribute_status = { field = "crito_icu_disdate", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "crito_icu_disdate" + +[long.value.if] +all = [ + { crito_icu_disdate = { "!=" = "UNK" } }, + { crito_icu_disdate = { "!=" = "NI" } }, + { crito_icu_disdate = { "!=" = "NASK" } }, + { crito_icu_disdate = { "!=" = "NA" } }, + { crito_icu_disdate = { "!=" = "" } }, +] + +[[long]] +attribute = "crito_icu_dur" +attribute_status = { field = "crito_icu_dur", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "crito_icu_dur" + +[long.value_num.if] +all = [ + { crito_icu_dur = { "!=" = "UNK" } }, + { crito_icu_dur = { "!=" = "NI" } }, + { crito_icu_dur = { "!=" = "NASK" } }, + { crito_icu_dur = { "!=" = "NA" } }, + { crito_icu_dur = { "!=" = "" } }, +] + +[[long]] +attribute = "crito_icu_readm" +value = { field = "crito_icu_readm", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "crito_icu_readm", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "crito_icu_findate" +attribute_status = { field = "crito_icu_findate", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "crito_icu_findate" + +[long.value.if] +all = [ + { crito_icu_findate = { "!=" = "UNK" } }, + { crito_icu_findate = { "!=" = "NI" } }, + { crito_icu_findate = { "!=" = "NASK" } }, + { crito_icu_findate = { "!=" = "NA" } }, + { crito_icu_findate = { "!=" = "" } }, +] + +[[long]] +attribute = "crito_icu_findur" +attribute_status = { field = "crito_icu_findur", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "crito_icu_findur" + +[long.value_num.if] +all = [ + { crito_icu_findur = { "!=" = "UNK" } }, + { crito_icu_findur = { "!=" = "NI" } }, + { crito_icu_findur = { "!=" = "NASK" } }, + { crito_icu_findur = { "!=" = "NA" } }, + { crito_icu_findur = { "!=" = "" } }, +] + +[[long]] +attribute = "crito_neuromuscu" +value = { field = "crito_neuromuscu", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "crito_neuromuscu", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "crito_neuromuscu_reas" +attribute_status = { field = "crito_neuromuscu_reas", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "crito_neuromuscu_reas" +values = { 1 = "Paralysis used for ICP control", 2 = "To improve ventilator synchrony", 88 = "Other" } + +[[long]] +attribute = "crito_neuromuscu_dur" +attribute_status = { field = "crito_neuromuscu_dur", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "crito_neuromuscu_dur" + +[long.value_num.if] +all = [ + { crito_neuromuscu_dur = { "!=" = "UNK" } }, + { crito_neuromuscu_dur = { "!=" = "NI" } }, + { crito_neuromuscu_dur = { "!=" = "NASK" } }, + { crito_neuromuscu_dur = { "!=" = "NA" } }, + { crito_neuromuscu_dur = { "!=" = "" } }, +] + +[[long]] +attribute = "crito_neurosed" +value = { field = "crito_neurosed", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "crito_neurosed", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "crito_neurosed_type" +value = { field = "crito_neurosed_type", values = { 1 = "Propofol infusion", 2 = "Midazolam infusion" } } +attribute_status = { field = "crito_neurosed_type", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "crito_neurosed_dur" +attribute_status = { field = "crito_neurosed_dur", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "crito_neurosed_dur" + +[long.value_num.if] +all = [ + { crito_neurosed_dur = { "!=" = "UNK" } }, + { crito_neurosed_dur = { "!=" = "NI" } }, + { crito_neurosed_dur = { "!=" = "NASK" } }, + { crito_neurosed_dur = { "!=" = "NA" } }, + { crito_neurosed_dur = { "!=" = "" } }, +] + +[[long]] +attribute = "crito_barbcoma" +value = { field = "crito_barbcoma", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "crito_barbcoma", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "crito_barbcoma_type" +attribute_status = { field = "crito_barbcoma_type", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "crito_barbcoma_type" +values = { 1 = "Thiopentone/pentobarbital infusion", 88 = "Other" } + +[[long]] +attribute = "crito_barbcoma_dur" +attribute_status = { field = "crito_barbcoma_dur", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "crito_barbcoma_dur" + +[long.value_num.if] +all = [ + { crito_barbcoma_dur = { "!=" = "UNK" } }, + { crito_barbcoma_dur = { "!=" = "NI" } }, + { crito_barbcoma_dur = { "!=" = "NASK" } }, + { crito_barbcoma_dur = { "!=" = "NA" } }, + { crito_barbcoma_dur = { "!=" = "" } }, +] + +[[long]] +attribute = "crito_nitricoxid" +value = { field = "crito_nitricoxid", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "crito_nitricoxid", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "crito_tracheosto" +value = { field = "crito_tracheosto", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "crito_tracheosto", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "crito_rtt" +value = { field = "crito_rtt", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "crito_rtt", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "crito_rtt_ongoing" +value = { field = "crito_rtt_ongoing", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "crito_rtt_ongoing", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "crito_rtt_dur" +attribute_status = { field = "crito_rtt_dur", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "crito_rtt_dur" + +[long.value_num.if] +all = [ + { crito_rtt_dur = { "!=" = "UNK" } }, + { crito_rtt_dur = { "!=" = "NI" } }, + { crito_rtt_dur = { "!=" = "NASK" } }, + { crito_rtt_dur = { "!=" = "NA" } }, + { crito_rtt_dur = { "!=" = "" } }, +] + +[[long]] +attribute = "crito_inotropesv" +value = { field = "crito_inotropesv", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "crito_inotropesv", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "crito_inotropesv_ongoing" +value = { field = "crito_inotropesv_ongoing", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "crito_inotropesv_ongoing", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "crito_inotropesv_type" +attribute_status = { field = "crito_inotropesv_type", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "crito_inotropesv_type" + +[long.value.values] +1 = "Dopamine < 5ug/kg/min OR dobutamine OR milrinone OR levosimendan" +2 = "Dopamine 5-15ug/kg/min OR epinephrine(adrenaline) / norepinephrine(noradrenaline) <=0.1ug/kg/min OR vasopressin OR phenylephrine" +3 = "Dopamine >15ug/kg/min OR epinephrine(adrenaline) / norepinephrine(noradrenaline) >0 .1ug/kg/min" + +[[long]] +attribute = "crito_inotropesv_dur" +attribute_status = { field = "crito_inotropesv_dur", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "crito_inotropesv_dur" + +[long.value.if] +all = [ + { crito_inotropesv_dur = { "!=" = "UNK" } }, + { crito_inotropesv_dur = { "!=" = "NI" } }, + { crito_inotropesv_dur = { "!=" = "NASK" } }, + { crito_inotropesv_dur = { "!=" = "NA" } }, + { crito_inotropesv_dur = { "!=" = "" } }, +] + +[[long]] +attribute = "crito_critcareunlst" +value = { field = "crito_critcareunlst", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "crito_critcareunlst", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "crito_critcareunlst_oth" +attribute_status = { field = "crito_critcareunlst_oth", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "crito_critcareunlst_oth" + +[long.value.if] +all = [ + { crito_critcareunlst_oth = { "!=" = "UNK" } }, + { crito_critcareunlst_oth = { "!=" = "NI" } }, + { crito_critcareunlst_oth = { "!=" = "NASK" } }, + { crito_critcareunlst_oth = { "!=" = "NA" } }, + { crito_critcareunlst_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "diagn_primary" +value = { field = "diagn_primary", values = { 5 = "Bacterial infection", 33 = "Mpox" } } +attribute_status = { field = "diagn_primary", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "diagn_primary" +attribute_status = { field = "diagn_primary_otherl2", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "diagn_primary_otherl2" +can_skip = true + +[long.value.values] +1 = "Adenovirus" +2 = "Andes virus infection (hantavirus)" +3 = "Argentine haemorrhagic fever (Junin virus)" +4 = "Avian influenza A H7N9/ H5N1/ H5N8/ H7N7" +5 = "Bacterial infection" +6 = "Bolivian haemorrhagic fever (Machupo virus)" +7 = "COVID-19 (SARS-CoV-2)" +8 = "Chickenpox (Varicella)" +9 = "Crimean Congo haemorrhagic fever (CCHF)" +10 = "Dengue" +11 = "Ebola virus disease (EVD)" +12 = "Enterovirus" +13 = "Exposure to CBRN agent" +14 = "Exposure to Harmful Energy" +16 = "Hepatitis" +17 = "Herpes simplex virus infection (HSV)" +18 = "Human immunodeficiency virus infection (HIV infection)" +19 = "Influenza A H1N1" +20 = "Influenza A H5N1" +21 = "Influenza A H5N8" +22 = "Influenza A H7N7" +23 = "Influenza A H7N9" +24 = "Influenza A virus" +25 = "Influenza B virus" +26 = "Influenza virus" +27 = "Japanese encephalitis" +28 = "Lassa fever" +29 = "Lujo virus disease" +30 = "Marburg virus disease (MVD)" +31 = "Measles" +32 = "Middle East respiratory syndrome (MERS)" +33 = "Mpox" +34 = "Nipah" +35 = "Oropouche" +36 = "Pneumonic plague (Yersinia pestis)" +37 = "Respiratory syncytial virus infection (RSV)" +38 = "Severe Acute paediatric hepatitis" +39 = "Severe acute respiratory syndrome (SARS-not COVID-19)" +40 = "Severe fever with thrombocytopaenia syndrome (SFTS) (Bandavirus disease)" +41 = "Undefined influenza" +42 = "Rift Valley Fever" +43 = "Community acquired pneumonia" +44 = "Hospital acquired pneumonia" +45 = "Influenza like Illness" +46 = "Viral ARI" +47 = "Chikungunya" +48 = "Zika" +49 = "Malaria" +50 = "Chapare haemorrhagic fever" + +[[long]] +attribute = "diagn_primary" +value = { field = "diagn_primary_otherl3", can_skip = true } +attribute_status = { field = "diagn_primary_otherl3", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "diagn_primary_type" +value = { field = "diagn_primary_type___1", values = { 1 = "Clinical diagnosis" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "diagn_primary_type" +value = { field = "diagn_primary_type___2", values = { 1 = "Lab-confirmed" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "diagn_primary_type" +attribute_status = "VAL" +ref = "outcome" + +[long.value] +field = "diagn_primary_type___3" +values = { 1 = "Radiologically confirmed (e.g., chest X-ray, CT)" } + +[[long]] +attribute = "diagn_primary_type" +value = { field = "diagn_primary_type___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "diagn_primary_type" +value = { field = "diagn_primary_type___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "diagn_primary_type" +attribute_status = { field = "diagn_primary_type___unk", values = { 1 = "UNK" } } +if = { diagn_primary_type___unk = 1 } +ref = "outcome" + +[[long]] +attribute = "diagn_primary_type" +attribute_status = { field = "diagn_primary_type___ni", values = { 1 = "NI" } } +if = { diagn_primary_type___ni = 1 } +ref = "outcome" + +[[long]] +attribute = "diagn_primary_type" +attribute_status = { field = "diagn_primary_type___nask", values = { 1 = "NASK" } } +if = { diagn_primary_type___nask = 1 } +ref = "outcome" + +[[long]] +attribute = "diagn_primary_type" +attribute_status = { field = "diagn_primary_type___na", values = { 1 = "NA" } } +if = { diagn_primary_type___na = 1 } +ref = "outcome" + +[[long]] +attribute = "diagn_secondary" +value = { field = "diagn_secondary", values = { 5 = "Bacterial infection", 33 = "Mpox" } } +attribute_status = { field = "diagn_secondary", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "diagn_secondary" +attribute_status = { field = "diagn_secondary_otherl2", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "diagn_secondary_otherl2" +can_skip = true + +[long.value.values] +1 = "Adenovirus" +2 = "Andes virus infection (hantavirus)" +3 = "Argentine haemorrhagic fever (Junin virus)" +4 = "Avian influenza A H7N9/ H5N1/ H5N8/ H7N7" +5 = "Bacterial infection" +6 = "Bolivian haemorrhagic fever (Machupo virus)" +7 = "COVID-19 (SARS-CoV-2)" +8 = "Chickenpox (Varicella)" +9 = "Crimean Congo haemorrhagic fever (CCHF)" +10 = "Dengue" +11 = "Ebola virus disease (EVD)" +12 = "Enterovirus" +13 = "Exposure to CBRN agent" +14 = "Exposure to Harmful Energy" +16 = "Hepatitis" +17 = "Herpes simplex virus infection (HSV)" +18 = "Human immunodeficiency virus infection (HIV infection)" +19 = "Influenza A H1N1" +20 = "Influenza A H5N1" +21 = "Influenza A H5N8" +22 = "Influenza A H7N7" +23 = "Influenza A H7N9" +24 = "Influenza A virus" +25 = "Influenza B virus" +26 = "Influenza virus" +27 = "Japanese encephalitis" +28 = "Lassa fever" +29 = "Lujo virus disease" +30 = "Marburg virus disease (MVD)" +31 = "Measles" +32 = "Middle East respiratory syndrome (MERS)" +33 = "Mpox" +34 = "Nipah" +35 = "Oropouche" +36 = "Pneumonic plague (Yersinia pestis)" +37 = "Respiratory syncytial virus infection (RSV)" +38 = "Severe Acute paediatric hepatitis" +39 = "Severe acute respiratory syndrome (SARS-not COVID-19)" +40 = "Severe fever with thrombocytopaenia syndrome (SFTS) (Bandavirus disease)" +41 = "Undefined influenza" +42 = "Rift Valley Fever" +43 = "Community acquired pneumonia" +44 = "Hospital acquired pneumonia" +45 = "Influenza like Illness" +46 = "Viral ARI" +47 = "Chikungunya" +48 = "Zika" +49 = "Malaria" +50 = "Chapare haemorrhagic fever" + +[[long]] +attribute = "diagn_secondary" +value = { field = "diagn_secondary_otherl3", can_skip = true } +attribute_status = { field = "diagn_secondary_otherl3", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "diagn_secondary_type" +value = { field = "diagn_secondary_type___1", values = { 1 = "Clinical diagnosis" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "diagn_secondary_type" +value = { field = "diagn_secondary_type___2", values = { 1 = "Lab-confirmed" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "diagn_secondary_type" +attribute_status = "VAL" +ref = "outcome" + +[long.value] +field = "diagn_secondary_type___3" +values = { 1 = "Radiologically confirmed (e.g., chest X-ray, CT)" } + +[[long]] +attribute = "diagn_secondary_type" +value = { field = "diagn_secondary_type___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "diagn_secondary_type" +value = { field = "diagn_secondary_type___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "diagn_secondary_type" +attribute_status = { field = "diagn_secondary_type___unk", values = { 1 = "UNK" } } +if = { diagn_secondary_type___unk = 1 } +ref = "outcome" + +[[long]] +attribute = "diagn_secondary_type" +attribute_status = { field = "diagn_secondary_type___ni", values = { 1 = "NI" } } +if = { diagn_secondary_type___ni = 1 } +ref = "outcome" + +[[long]] +attribute = "diagn_secondary_type" +attribute_status = { field = "diagn_secondary_type___nask", values = { 1 = "NASK" } } +if = { diagn_secondary_type___nask = 1 } +ref = "outcome" + +[[long]] +attribute = "diagn_secondary_type" +attribute_status = { field = "diagn_secondary_type___na", values = { 1 = "NA" } } +if = { diagn_secondary_type___na = 1 } +ref = "outcome" + +[[long]] +attribute = "diagn_additional" +value = { field = "diagn_additional", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "diagn_additional", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "diagn_additional_list" +value = { field = "diagn_additional_list", values = { 5 = "Bacterial infection", 33 = "Mpox" } } +attribute_status = { field = "diagn_additional_list", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "diagn_additional_list" +attribute_status = { field = "diagn_additional_list_otherl2", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "diagn_additional_list_otherl2" +can_skip = true + +[long.value.values] +1 = "Adenovirus" +2 = "Andes virus infection (hantavirus)" +3 = "Argentine haemorrhagic fever (Junin virus)" +4 = "Avian influenza A H7N9/ H5N1/ H5N8/ H7N7" +5 = "Bacterial infection" +6 = "Bolivian haemorrhagic fever (Machupo virus)" +7 = "COVID-19 (SARS-CoV-2)" +8 = "Chickenpox (Varicella)" +9 = "Crimean Congo haemorrhagic fever (CCHF)" +10 = "Dengue" +11 = "Ebola virus disease (EVD)" +12 = "Enterovirus" +13 = "Exposure to CBRN agent" +14 = "Exposure to Harmful Energy" +16 = "Hepatitis" +17 = "Herpes simplex virus infection (HSV)" +18 = "Human immunodeficiency virus infection (HIV infection)" +19 = "Influenza A H1N1" +20 = "Influenza A H5N1" +21 = "Influenza A H5N8" +22 = "Influenza A H7N7" +23 = "Influenza A H7N9" +24 = "Influenza A virus" +25 = "Influenza B virus" +26 = "Influenza virus" +27 = "Japanese encephalitis" +28 = "Lassa fever" +29 = "Lujo virus disease" +30 = "Marburg virus disease (MVD)" +31 = "Measles" +32 = "Middle East respiratory syndrome (MERS)" +33 = "Mpox" +34 = "Nipah" +35 = "Oropouche" +36 = "Pneumonic plague (Yersinia pestis)" +37 = "Respiratory syncytial virus infection (RSV)" +38 = "Severe Acute paediatric hepatitis" +39 = "Severe acute respiratory syndrome (SARS-not COVID-19)" +40 = "Severe fever with thrombocytopaenia syndrome (SFTS) (Bandavirus disease)" +41 = "Undefined influenza" +42 = "Rift Valley Fever" +43 = "Community acquired pneumonia" +44 = "Hospital acquired pneumonia" +45 = "Influenza like Illness" +46 = "Viral ARI" +47 = "Chikungunya" +48 = "Zika" +49 = "Malaria" +50 = "Chapare haemorrhagic fever" + +[[long]] +attribute = "diagn_additional_list" +value = { field = "diagn_additional_list_otherl3", can_skip = true } +attribute_status = { field = "diagn_additional_list_otherl3", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "diagn_additional_type" +value = { field = "diagn_additional_type___1", values = { 1 = "Clinical diagnosis" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "diagn_additional_type" +value = { field = "diagn_additional_type___2", values = { 1 = "Lab-confirmed" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "diagn_additional_type" +attribute_status = "VAL" +ref = "outcome" + +[long.value] +field = "diagn_additional_type___3" +values = { 1 = "Radiologically confirmed (e.g., chest X-ray, CT)" } + +[[long]] +attribute = "diagn_additional_type" +value = { field = "diagn_additional_type___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "diagn_additional_type" +value = { field = "diagn_additional_type___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "diagn_additional_type" +attribute_status = { field = "diagn_additional_type___unk", values = { 1 = "UNK" } } +if = { diagn_additional_type___unk = 1 } +ref = "outcome" + +[[long]] +attribute = "diagn_additional_type" +attribute_status = { field = "diagn_additional_type___ni", values = { 1 = "NI" } } +if = { diagn_additional_type___ni = 1 } +ref = "outcome" + +[[long]] +attribute = "diagn_additional_type" +attribute_status = { field = "diagn_additional_type___nask", values = { 1 = "NASK" } } +if = { diagn_additional_type___nask = 1 } +ref = "outcome" + +[[long]] +attribute = "diagn_additional_type" +attribute_status = { field = "diagn_additional_type___na", values = { 1 = "NA" } } +if = { diagn_additional_type___na = 1 } +ref = "outcome" + +[[long]] +attribute = "diagn_additional2" +value = { field = "diagn_additional2", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "diagn_additional2", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "diagn_additional2_list" +value = { field = "diagn_additional2_list", values = { 5 = "Bacterial infection", 33 = "Mpox" } } +attribute_status = { field = "diagn_additional2_list", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "diagn_additional2_list" +attribute_status = { field = "diagn_additional2_list_otherl2", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "diagn_additional2_list_otherl2" +can_skip = true + +[long.value.values] +1 = "Adenovirus" +2 = "Andes virus infection (hantavirus)" +3 = "Argentine haemorrhagic fever (Junin virus)" +4 = "Avian influenza A H7N9/ H5N1/ H5N8/ H7N7" +5 = "Bacterial infection" +6 = "Bolivian haemorrhagic fever (Machupo virus)" +7 = "COVID-19 (SARS-CoV-2)" +8 = "Chickenpox (Varicella)" +9 = "Crimean Congo haemorrhagic fever (CCHF)" +10 = "Dengue" +11 = "Ebola virus disease (EVD)" +12 = "Enterovirus" +13 = "Exposure to CBRN agent" +14 = "Exposure to Harmful Energy" +16 = "Hepatitis" +17 = "Herpes simplex virus infection (HSV)" +18 = "Human immunodeficiency virus infection (HIV infection)" +19 = "Influenza A H1N1" +20 = "Influenza A H5N1" +21 = "Influenza A H5N8" +22 = "Influenza A H7N7" +23 = "Influenza A H7N9" +24 = "Influenza A virus" +25 = "Influenza B virus" +26 = "Influenza virus" +27 = "Japanese encephalitis" +28 = "Lassa fever" +29 = "Lujo virus disease" +30 = "Marburg virus disease (MVD)" +31 = "Measles" +32 = "Middle East respiratory syndrome (MERS)" +33 = "Mpox" +34 = "Nipah" +35 = "Oropouche" +36 = "Pneumonic plague (Yersinia pestis)" +37 = "Respiratory syncytial virus infection (RSV)" +38 = "Severe Acute paediatric hepatitis" +39 = "Severe acute respiratory syndrome (SARS-not COVID-19)" +40 = "Severe fever with thrombocytopaenia syndrome (SFTS) (Bandavirus disease)" +41 = "Undefined influenza" +42 = "Rift Valley Fever" +43 = "Community acquired pneumonia" +44 = "Hospital acquired pneumonia" +45 = "Influenza like Illness" +46 = "Viral ARI" +47 = "Chikungunya" +48 = "Zika" +49 = "Malaria" +50 = "Chapare haemorrhagic fever" + +[[long]] +attribute = "diagn_additional2_list" +value = { field = "diagn_additional2_list_otherl3", can_skip = true } +attribute_status = { field = "diagn_additional2_list_otherl3", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "diagn_additional2_type" +value = { field = "diagn_additional2_type___1", values = { 1 = "Clinical diagnosis" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "diagn_additional2_type" +value = { field = "diagn_additional2_type___2", values = { 1 = "Lab-confirmed" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "diagn_additional2_type" +attribute_status = "VAL" +ref = "outcome" + +[long.value] +field = "diagn_additional2_type___3" +values = { 1 = "Radiologically confirmed (e.g., chest X-ray, CT)" } + +[[long]] +attribute = "diagn_additional2_type" +value = { field = "diagn_additional2_type___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "diagn_additional2_type" +value = { field = "diagn_additional2_type___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "outcome" + +[[long]] +attribute = "diagn_additional2_type" +attribute_status = { field = "diagn_additional2_type___unk", values = { 1 = "UNK" } } +if = { diagn_additional2_type___unk = 1 } +ref = "outcome" + +[[long]] +attribute = "diagn_additional2_type" +attribute_status = { field = "diagn_additional2_type___ni", values = { 1 = "NI" } } +if = { diagn_additional2_type___ni = 1 } +ref = "outcome" + +[[long]] +attribute = "diagn_additional2_type" +attribute_status = { field = "diagn_additional2_type___nask", values = { 1 = "NASK" } } +if = { diagn_additional2_type___nask = 1 } +ref = "outcome" + +[[long]] +attribute = "diagn_additional2_type" +attribute_status = { field = "diagn_additional2_type___na", values = { 1 = "NA" } } +if = { diagn_additional2_type___na = 1 } +ref = "outcome" + +[[long]] +attribute = "diagn_mpox_clade" +attribute_status = { field = "diagn_mpox_clade", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "diagn_mpox_clade" + +[long.value.values] +1 = "Ia" +2 = "Ib" +3 = "I sub-type unknown" +4 = "IIa" +5 = "IIb" +6 = "II sub-type unknown" +7 = "Not done" +99 = "Unknown" +88 = "Other" + +[[long]] +attribute = "diagn_mpox_cladeoth" +attribute_status = { field = "diagn_mpox_cladeoth", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "diagn_mpox_cladeoth" + +[long.value.if] +all = [ + { diagn_mpox_cladeoth = { "!=" = "UNK" } }, + { diagn_mpox_cladeoth = { "!=" = "NI" } }, + { diagn_mpox_cladeoth = { "!=" = "NASK" } }, + { diagn_mpox_cladeoth = { "!=" = "NA" } }, + { diagn_mpox_cladeoth = { "!=" = "" } }, +] + +[[long]] +attribute = "diagn_ebola_type" +attribute_status = { field = "diagn_ebola_type", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "diagn_ebola_type" + +[long.value.values] +1 = "Zaire ebolavirus (ZEBOV)" +2 = "Sudan ebolavirus (SUDV)" +3 = "Reston ebolavirus (RESTV)" +4 = "Taï Forest ebolavirus (TAFV)" +5 = "Bundibugyo ebolavirus (BDBV)" +88 = "Other" +99 = "Unknown" + +[[long]] +attribute = "diagn_ebola_type_oth" +attribute_status = { field = "diagn_ebola_type_oth", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "diagn_ebola_type_oth" + +[long.value.if] +all = [ + { diagn_ebola_type_oth = { "!=" = "UNK" } }, + { diagn_ebola_type_oth = { "!=" = "NI" } }, + { diagn_ebola_type_oth = { "!=" = "NASK" } }, + { diagn_ebola_type_oth = { "!=" = "NA" } }, + { diagn_ebola_type_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "diagn_denguetyp" +value = { field = "diagn_denguetyp", values = { 1 = "DENV1", 2 = "DENV2", 3 = "DENV3", 4 = "DENV4" } } +attribute_status = { field = "diagn_denguetyp", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "diagn_dengueclass" +attribute_status = { field = "diagn_dengueclass", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "diagn_dengueclass" +values = { 1 = "Uncomplicated dengue", 2 = "Dengue with warning signs", 3 = "Severe dengue" } + +[[long]] +attribute = "diagn_dengueclass_dss" +value = { field = "diagn_dengueclass_dss", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "diagn_dengueclass_dss", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "diagn_dengueclass_sevbl" +value = { field = "diagn_dengueclass_sevbl", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "diagn_dengueclass_sevbl", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "diagn_dengueclass_sevorgimp" +value = { field = "diagn_dengueclass_sevorgimp", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "diagn_dengueclass_sevorgimp", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "diagn_hepatitis_type" +attribute_status = { field = "diagn_hepatitis_type", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "diagn_hepatitis_type" +values = { 1 = "A", 2 = "B", 3 = "C", 4 = "D", 5 = "E", 88 = "Other" } + +[[long]] +attribute = "diagn_hepatitis_type_oth" +attribute_status = { field = "diagn_hepatitis_type_oth", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "diagn_hepatitis_type_oth" + +[long.value.if] +all = [ + { diagn_hepatitis_type_oth = { "!=" = "UNK" } }, + { diagn_hepatitis_type_oth = { "!=" = "NI" } }, + { diagn_hepatitis_type_oth = { "!=" = "NASK" } }, + { diagn_hepatitis_type_oth = { "!=" = "NA" } }, + { diagn_hepatitis_type_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "diagn_chick_type" +attribute_status = { field = "diagn_chick_type", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "diagn_chick_type" + +[long.value.values] +1 = "Chikungunya (classical articular form + fever)" +2 = "Chikungunya with extra-articular manifestations" +3 = "Severe chikungunya" + +[[long]] +attribute = "diagn_bacte" +attribute_status = { field = "diagn_bacte", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "diagn_bacte" + +[long.value.if] +all = [ + { diagn_bacte = { "!=" = "UNK" } }, + { diagn_bacte = { "!=" = "NI" } }, + { diagn_bacte = { "!=" = "NASK" } }, + { diagn_bacte = { "!=" = "NA" } }, + { diagn_bacte = { "!=" = "" } }, +] + +[[long]] +attribute = "diagn_bacte_cont" +attribute_status = { field = "diagn_bacte_cont", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "diagn_bacte_cont" +values = { 1 = "Community acquired", 2 = "Hospital acquired", 99 = "Unknown" } + +[[long]] +attribute = "diagn_pathounlist" +attribute_status = { field = "diagn_pathounlist_{n}item", apply = { function = "attribute_status_fill" } } +ref = "outcome" +for = { n = { range = [ + 0, + 4, +] } } + +[long.value] +field = "diagn_pathounlist_{n}item" +can_skip = true + +[long.value.values] +1 = "Acremonium" +2 = "Adenoviridae" +3 = "Ancylostoma duodenale" +4 = "Andes orthohantavirus" +5 = "Arenaviridae" +6 = "Ascaris lumbricoides" +7 = "Aspergillus" +8 = "Aspergillus flavus" +9 = "Aspergillus fumigatus" +10 = "Aspergillus fumigatus complex" +11 = "Aspergillus niger" +12 = "Aspergillus terreus" +13 = "Aspergillus versicolor" +14 = "Astroviridae" +15 = "Avian Influenza A H5N1" +16 = "Avian Influenza A H7N9" +17 = "Blastocystis hominis" +18 = "Blastomyces dermatitidis" +19 = "Bocavirus (Genus)" +20 = "Brugia malayi" +21 = "Bunyaviridae (Family)" +22 = "Caliciviridae (Family)" +23 = "Candida" +24 = "Candida albicans" +25 = "Candida auris" +26 = "Candida dubliniensis" +27 = "Candida glabrata" +28 = "Candida inconspicua" +29 = "Candida orthopsilosis" +30 = "Candida parapsilosis" +31 = "Candida tropicalis" +32 = "Clavispora lusitaniae" +33 = "Clonorchis sinensis" +34 = "Coccidioides" +35 = "Coccidioides immitis" +36 = "Coronaviridae (Family)" +37 = "Crimean-Congo Hemorrhagic Fever virus (CCHF)" +38 = "Cryptococcus gattii" +39 = "Cryptococcus neoformans" +40 = "Cryptosporidium" +41 = "Cryptosporidium hominis" +42 = "Cryptosporidium parvum" +43 = "Curvularia lunata" +44 = "Cyclospora" +45 = "Cyclospora cayetanensis" +46 = "Cytomegalovirus" +47 = "Deltavirus" +48 = "Dengue virus" +49 = "Diphyllobothrium latum" +50 = "Dracunculus medinensis" +51 = "Ebola virus" +52 = "Echinococcus granulosus" +53 = "Entamoeba" +54 = "Entamoeba dispar" +55 = "Entamoeba histolytica" +56 = "Enterobius vermicularis" +57 = "Enterovirus (genus Enterovirus)" +58 = "Epidermophyton" +59 = "Exophiala dermatitidis" +60 = "Falciformispora senegalensis (formerly Leptosphaeria senegalensis)" +61 = "Filoviridae (Family)" +62 = "Flaviviridae (Family)" +63 = "Fungi" +64 = "Fusarium" +65 = "Genus Marburgvirus" +66 = "Giardia" +67 = "Giardia intestinalis" +68 = "Giardia lamblia" +69 = "Hantavirus" +70 = "Hendra virus" +71 = "Hepadnaviridae" +72 = "Hepatitis A virus" +73 = "Hepatitis B virus" +74 = "Hepatitis C virus" +75 = "Hepatitis D" +76 = "Hepatitis E virus" +77 = "Herpesviridae" +78 = "Histoplasma" +79 = "Histoplasma capsulatum" +80 = "Human Herpesvirus 1 (HHV1, Herpes simplex virus 1, HSV1)" +81 = "Human Herpesvirus 2 (HHV2, Herpes Simplex virus 2, HSV2)" +82 = "Human Herpesvirus 3 (Varicella-zoster virus, VZV)" +83 = "Human Herpesvirus 4 (Epstein-Barr virus, EBV)" +84 = "Human Herpesvirus 5 (Cytomegalovirus humanbeta5, hCMV)" +85 = "Human Herpesvirus 6 (Roseola infantum virus)" +86 = "Human Immunodeficiency Virus (HIV)" +87 = "Human Immunodeficiency virus type 1 (HIV-1)" +89 = "Human Immunodeficiency virus type 2 (HIV-2)" +90 = "Human Metapneumovirus (hMPV)" +91 = "Human Parainfluenza virus" +92 = "Human Parainfluenza virus 1" +93 = "Human Parainfluenza virus 2" +94 = "Human Parainfluenza virus 3" +95 = "Human Parainfluenza virus 4" +96 = "Human Parvovirus b19" +97 = "Human Respiratory Syncytial virus (RSV)" +98 = "Human bocavirus" +100 = "Human coronavirus" +101 = "Hymenolepis diminuta" +102 = "Hymenolepis nana" +103 = "Influenza A subtype H5N8" +104 = "Influenza A suptype H7N7" +105 = "Influenza A virus" +106 = "Influenza A virus subtype H1N1" +107 = "Influenza A virus subtype H5N1" +108 = "Influenza A virus subtype H7N9" +109 = "Influenza B virus" +110 = "Influenza virus" +111 = "Isospora belli" +112 = "Japanese encephalitis virus (JEV)" +113 = "Junin virus" +114 = "Lassa virus" +115 = "Leishmania" +116 = "Leishmania Viannia" +117 = "Leishmania braziliensis" +118 = "Leishmania braziliensis complex" +119 = "Leishmania donovani complex" +120 = "Lichthiemia" +121 = "Lomentospora prolificans (Scedosporium prlificans)" +122 = "Lujo virus" +123 = "Lymphocytic choriomeningitis virus (LCMV)" +124 = "MERS-CoV" +125 = "Machupo virus" +126 = "Madurella" +127 = "Malassezia pachydermatis" +128 = "Measles morbillivirus" +129 = "Metapneumovirus" +130 = "Meyerozyma guilliermondii" +131 = "Microsporidia" +132 = "Microsporum" +133 = "Middle East Respiratory Syndrome Coronavirus" +134 = "Mpox virus" +135 = "Mucor" +136 = "Mumps virus" +137 = "Necator americanus" +138 = "Neotestudina rosatii (Zopfia rosatii)" +139 = "Nipah virus" +140 = "Norovirus" +141 = "Onchocerca volvulus" +142 = "Orthomyxoviridae (influenza viruses)" +143 = "Papillomavirus" +144 = "Papoviridae" +145 = "Paracoccidioides" +146 = "Paragonimus westermani" +147 = "Paramyxoviridae" +148 = "Parvoviridae" +149 = "Penicillium" +150 = "Pichia kudriavzeveii" +151 = "Picornaviridae" +152 = "Plasmodium" +153 = "Plasmodium falciparum" +154 = "Plasmodium malariae" +155 = "Plasmodium ovale" +156 = "Plasmodium vivax" +157 = "Pneumocystis" +158 = "Pneumocystis jirovecii" +159 = "Prion diseases" +160 = "Rabies virus" +161 = "Respiratory Syncytial Virus (RSV)" +162 = "Retroviridae" +163 = "Rhabdoviridae" +164 = "Rhizomucor" +165 = "Rhizopus" +166 = "Rift Valley fever virus" +167 = "Ross River virus" +168 = "Rotavirus" +169 = "Rubella virus" +170 = "SARS-CoV-2" +171 = "SARS-CoV-2 Beta - B.1.351" +172 = "SARS-CoV-2 Delta - B.1.617.2" +173 = "SARS-CoV-2 Eta - B.1.525" +174 = "SARS-CoV-2 Gamma - P.1" +175 = "SARS-CoV-2 Iota - B.1.526" +176 = "SARS-CoV-2 Kappa - B.1.617.1" +177 = "SARS-CoV-2 Omicron" +178 = "SARS-CoV-2 Omicron - B.1.1.529" +179 = "SARS-CoV-2 Omicron - B.1.1.529.2 BA.2" +180 = "SARS-CoV-2 Omicron - B.1.1.529.5 BA.5" +181 = "SARS-CoV-2 Theta- P.3" +182 = "SARS-CoV-2 Zeta - P.2" +183 = "SARS-CoV-2 Alpha - B.1.1.7" +184 = "SARS-CoV-2 Antigen" +185 = "SARS-CoV-2 IgG Antibody" +186 = "SARS-CoV-2 IgG/IgM Antibody" +187 = "SARS-CoV-2 IgM Antibody" +188 = "Saccharomyces cerevisiae" +189 = "Sapovirus" +190 = "Scedosporium" +191 = "Schistosoma" +192 = "Schistosoma guineensis" +193 = "Schistosoma haematobium" +194 = "Schistosoma intercalatum" +195 = "Schistosoma japonicum" +196 = "Schistosoma mansoni" +197 = "Schistosoma mekongi" +198 = "Severe Acute Respiratory Syndrome Coronavirus 2" +199 = "Severe Acute Respiratory Syndrome-Related Coronavirus" +200 = "Severe fever with thrombocytopaenia syndrome (SFTS)" +201 = "Simplexvirus (Genus)" +202 = "Sporothrix schenckii" +203 = "Strongyloides stercoralis" +204 = "Taenia saginata" +205 = "Taenia solium" +206 = "Talaromyces marneffei" +207 = "Togoviridae" +208 = "Toxocara canis" +209 = "Toxoplasma" +210 = "Toxoplasma gondii" +211 = "Trichinella spiralis" +212 = "Trichomonas" +213 = "Trichomonas vaginalis" +214 = "Trichophyton" +215 = "Trichosporon asahii" +216 = "Trichuris trichiura" +217 = "Trypanosoma" +218 = "Trypanosoma brucei gambiense" +219 = "Trypanosoma brucei rhodesiense" +220 = "Trypanosoma cruzi" +221 = "West Nile virus" +222 = "Wuchereria bancrofti" +223 = "Yeast" +224 = "Zika virus" + +[[long]] +attribute = "diagn_pathounlist" +attribute_status = { field = "diagn_pathounlist_{n}otherl2", apply = { function = "attribute_status_fill" } } +ref = "outcome" +for = { n = { range = [ + 0, + 4, +] } } + +[long.value] +field = "diagn_pathounlist_{n}otherl2" +can_skip = true + +[long.value.values] +1 = "Acremonium" +2 = "Adenoviridae" +3 = "Ancylostoma duodenale" +4 = "Andes orthohantavirus" +5 = "Arenaviridae" +6 = "Ascaris lumbricoides" +7 = "Aspergillus" +8 = "Aspergillus flavus" +9 = "Aspergillus fumigatus" +10 = "Aspergillus fumigatus complex" +11 = "Aspergillus niger" +12 = "Aspergillus terreus" +13 = "Aspergillus versicolor" +14 = "Astroviridae" +15 = "Avian Influenza A H5N1" +16 = "Avian Influenza A H7N9" +17 = "Blastocystis hominis" +18 = "Blastomyces dermatitidis" +19 = "Bocavirus (Genus)" +20 = "Brugia malayi" +21 = "Bunyaviridae (Family)" +22 = "Caliciviridae (Family)" +23 = "Candida" +24 = "Candida albicans" +25 = "Candida auris" +26 = "Candida dubliniensis" +27 = "Candida glabrata" +28 = "Candida inconspicua" +29 = "Candida orthopsilosis" +30 = "Candida parapsilosis" +31 = "Candida tropicalis" +32 = "Clavispora lusitaniae" +33 = "Clonorchis sinensis" +34 = "Coccidioides" +35 = "Coccidioides immitis" +36 = "Coronaviridae (Family)" +37 = "Crimean-Congo Hemorrhagic Fever virus (CCHF)" +38 = "Cryptococcus gattii" +39 = "Cryptococcus neoformans" +40 = "Cryptosporidium" +41 = "Cryptosporidium hominis" +42 = "Cryptosporidium parvum" +43 = "Curvularia lunata" +44 = "Cyclospora" +45 = "Cyclospora cayetanensis" +46 = "Cytomegalovirus" +47 = "Deltavirus" +48 = "Dengue virus" +49 = "Diphyllobothrium latum" +50 = "Dracunculus medinensis" +51 = "Ebola virus" +52 = "Echinococcus granulosus" +53 = "Entamoeba" +54 = "Entamoeba dispar" +55 = "Entamoeba histolytica" +56 = "Enterobius vermicularis" +57 = "Enterovirus (genus Enterovirus)" +58 = "Epidermophyton" +59 = "Exophiala dermatitidis" +60 = "Falciformispora senegalensis (formerly Leptosphaeria senegalensis)" +61 = "Filoviridae (Family)" +62 = "Flaviviridae (Family)" +63 = "Fungi" +64 = "Fusarium" +65 = "Genus Marburgvirus" +66 = "Giardia" +67 = "Giardia intestinalis" +68 = "Giardia lamblia" +69 = "Hantavirus" +70 = "Hendra virus" +71 = "Hepadnaviridae" +72 = "Hepatitis A virus" +73 = "Hepatitis B virus" +74 = "Hepatitis C virus" +75 = "Hepatitis D" +76 = "Hepatitis E virus" +77 = "Herpesviridae" +78 = "Histoplasma" +79 = "Histoplasma capsulatum" +80 = "Human Herpesvirus 1 (HHV1, Herpes simplex virus 1, HSV1)" +81 = "Human Herpesvirus 2 (HHV2, Herpes Simplex virus 2, HSV2)" +82 = "Human Herpesvirus 3 (Varicella-zoster virus, VZV)" +83 = "Human Herpesvirus 4 (Epstein-Barr virus, EBV)" +84 = "Human Herpesvirus 5 (Cytomegalovirus humanbeta5, hCMV)" +85 = "Human Herpesvirus 6 (Roseola infantum virus)" +86 = "Human Immunodeficiency Virus (HIV)" +87 = "Human Immunodeficiency virus type 1 (HIV-1)" +89 = "Human Immunodeficiency virus type 2 (HIV-2)" +90 = "Human Metapneumovirus (hMPV)" +91 = "Human Parainfluenza virus" +92 = "Human Parainfluenza virus 1" +93 = "Human Parainfluenza virus 2" +94 = "Human Parainfluenza virus 3" +95 = "Human Parainfluenza virus 4" +96 = "Human Parvovirus b19" +97 = "Human Respiratory Syncytial virus (RSV)" +98 = "Human bocavirus" +100 = "Human coronavirus" +101 = "Hymenolepis diminuta" +102 = "Hymenolepis nana" +103 = "Influenza A subtype H5N8" +104 = "Influenza A suptype H7N7" +105 = "Influenza A virus" +106 = "Influenza A virus subtype H1N1" +107 = "Influenza A virus subtype H5N1" +108 = "Influenza A virus subtype H7N9" +109 = "Influenza B virus" +110 = "Influenza virus" +111 = "Isospora belli" +112 = "Japanese encephalitis virus (JEV)" +113 = "Junin virus" +114 = "Lassa virus" +115 = "Leishmania" +116 = "Leishmania Viannia" +117 = "Leishmania braziliensis" +118 = "Leishmania braziliensis complex" +119 = "Leishmania donovani complex" +120 = "Lichthiemia" +121 = "Lomentospora prolificans (Scedosporium prlificans)" +122 = "Lujo virus" +123 = "Lymphocytic choriomeningitis virus (LCMV)" +124 = "MERS-CoV" +125 = "Machupo virus" +126 = "Madurella" +127 = "Malassezia pachydermatis" +128 = "Measles morbillivirus" +129 = "Metapneumovirus" +130 = "Meyerozyma guilliermondii" +131 = "Microsporidia" +132 = "Microsporum" +133 = "Middle East Respiratory Syndrome Coronavirus" +134 = "Mpox virus" +135 = "Mucor" +136 = "Mumps virus" +137 = "Necator americanus" +138 = "Neotestudina rosatii (Zopfia rosatii)" +139 = "Nipah virus" +140 = "Norovirus" +141 = "Onchocerca volvulus" +142 = "Orthomyxoviridae (influenza viruses)" +143 = "Papillomavirus" +144 = "Papoviridae" +145 = "Paracoccidioides" +146 = "Paragonimus westermani" +147 = "Paramyxoviridae" +148 = "Parvoviridae" +149 = "Penicillium" +150 = "Pichia kudriavzeveii" +151 = "Picornaviridae" +152 = "Plasmodium" +153 = "Plasmodium falciparum" +154 = "Plasmodium malariae" +155 = "Plasmodium ovale" +156 = "Plasmodium vivax" +157 = "Pneumocystis" +158 = "Pneumocystis jirovecii" +159 = "Prion diseases" +160 = "Rabies virus" +161 = "Respiratory Syncytial Virus (RSV)" +162 = "Retroviridae" +163 = "Rhabdoviridae" +164 = "Rhizomucor" +165 = "Rhizopus" +166 = "Rift Valley fever virus" +167 = "Ross River virus" +168 = "Rotavirus" +169 = "Rubella virus" +170 = "SARS-CoV-2" +171 = "SARS-CoV-2 Beta - B.1.351" +172 = "SARS-CoV-2 Delta - B.1.617.2" +173 = "SARS-CoV-2 Eta - B.1.525" +174 = "SARS-CoV-2 Gamma - P.1" +175 = "SARS-CoV-2 Iota - B.1.526" +176 = "SARS-CoV-2 Kappa - B.1.617.1" +177 = "SARS-CoV-2 Omicron" +178 = "SARS-CoV-2 Omicron - B.1.1.529" +179 = "SARS-CoV-2 Omicron - B.1.1.529.2 BA.2" +180 = "SARS-CoV-2 Omicron - B.1.1.529.5 BA.5" +181 = "SARS-CoV-2 Theta- P.3" +182 = "SARS-CoV-2 Zeta - P.2" +183 = "SARS-CoV-2 Alpha - B.1.1.7" +184 = "SARS-CoV-2 Antigen" +185 = "SARS-CoV-2 IgG Antibody" +186 = "SARS-CoV-2 IgG/IgM Antibody" +187 = "SARS-CoV-2 IgM Antibody" +188 = "Saccharomyces cerevisiae" +189 = "Sapovirus" +190 = "Scedosporium" +191 = "Schistosoma" +192 = "Schistosoma guineensis" +193 = "Schistosoma haematobium" +194 = "Schistosoma intercalatum" +195 = "Schistosoma japonicum" +196 = "Schistosoma mansoni" +197 = "Schistosoma mekongi" +198 = "Severe Acute Respiratory Syndrome Coronavirus 2" +199 = "Severe Acute Respiratory Syndrome-Related Coronavirus" +200 = "Severe fever with thrombocytopaenia syndrome (SFTS)" +201 = "Simplexvirus (Genus)" +202 = "Sporothrix schenckii" +203 = "Strongyloides stercoralis" +204 = "Taenia saginata" +205 = "Taenia solium" +206 = "Talaromyces marneffei" +207 = "Togoviridae" +208 = "Toxocara canis" +209 = "Toxoplasma" +210 = "Toxoplasma gondii" +211 = "Trichinella spiralis" +212 = "Trichomonas" +213 = "Trichomonas vaginalis" +214 = "Trichophyton" +215 = "Trichosporon asahii" +216 = "Trichuris trichiura" +217 = "Trypanosoma" +218 = "Trypanosoma brucei gambiense" +219 = "Trypanosoma brucei rhodesiense" +220 = "Trypanosoma cruzi" +221 = "West Nile virus" +222 = "Wuchereria bancrofti" +223 = "Yeast" +224 = "Zika virus" + +[[long]] +attribute = "diagn_pathounlist_cont" +attribute_status = { field = "diagn_pathounlist_cont", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "diagn_pathounlist_cont" +values = { 1 = "Community acquired", 2 = "Hospital acquired", 99 = "Unknown" } + +[[long]] +attribute = "joint_date" +attribute_status = { field = "joint_date", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "joint_date" + +[long.value.if] +all = [ + { joint_date = { "!=" = "UNK" } }, + { joint_date = { "!=" = "NI" } }, + { joint_date = { "!=" = "NASK" } }, + { joint_date = { "!=" = "NA" } }, + { joint_date = { "!=" = "" } }, +] + +[[long]] +attribute = "joint_tjt" +value = { field = "joint_tjt", values = { 1 = "Yes", 0 = "No" } } +attribute_status = { field = "joint_tjt", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "joint_tjt_shoulder" +value = { field = "joint_tjt_shoulder", values = { 0 = "0", 1 = "1", 2 = "2", 99 = "Unknown" } } +attribute_status = { field = "joint_tjt_shoulder", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "joint_tjt_elbow" +value = { field = "joint_tjt_elbow", values = { 0 = "0", 1 = "1", 2 = "2", 99 = "Unknown" } } +attribute_status = { field = "joint_tjt_elbow", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "joint_tjt_wrist" +value = { field = "joint_tjt_wrist", values = { 0 = "0", 1 = "1", 2 = "2", 99 = "Unknown" } } +attribute_status = { field = "joint_tjt_wrist", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "joint_tjt_mcp" +attribute_status = { field = "joint_tjt_mcp", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "joint_tjt_mcp" + +[long.value.values] +0 = "0" +1 = "1" +2 = "2" +3 = "3" +4 = "4" +5 = "5" +6 = "6" +7 = "7" +8 = "8" +9 = "9" +10 = "10" +99 = "Unknown" + +[[long]] +attribute = "joint_tjt_pip" +attribute_status = { field = "joint_tjt_pip", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "joint_tjt_pip" + +[long.value.values] +0 = "0" +1 = "1" +2 = "2" +3 = "3" +4 = "4" +5 = "5" +6 = "6" +7 = "7" +8 = "8" +9 = "9" +10 = "10" +99 = "Unknown" + +[[long]] +attribute = "joint_tjt_knee" +value = { field = "joint_tjt_knee", values = { 0 = "0", 1 = "1", 2 = "2", 99 = "Unknown" } } +attribute_status = { field = "joint_tjt_knee", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "joint_tjt_ankle" +value = { field = "joint_tjt_ankle", values = { 0 = "0", 1 = "1", 2 = "2", 99 = "Unknown" } } +attribute_status = { field = "joint_tjt_ankle", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "joint_tjt_calc28" +attribute_status = { field = "joint_tjt_calc28", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "joint_tjt_calc28" + +[long.value_num.if] +all = [ + { joint_tjt_calc28 = { "!=" = "UNK" } }, + { joint_tjt_calc28 = { "!=" = "NI" } }, + { joint_tjt_calc28 = { "!=" = "NASK" } }, + { joint_tjt_calc28 = { "!=" = "NA" } }, + { joint_tjt_calc28 = { "!=" = "" } }, +] + +[[long]] +attribute = "joint_tjt_calc30" +attribute_status = { field = "joint_tjt_calc30", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "joint_tjt_calc30" + +[long.value_num.if] +all = [ + { joint_tjt_calc30 = { "!=" = "UNK" } }, + { joint_tjt_calc30 = { "!=" = "NI" } }, + { joint_tjt_calc30 = { "!=" = "NASK" } }, + { joint_tjt_calc30 = { "!=" = "NA" } }, + { joint_tjt_calc30 = { "!=" = "" } }, +] + +[[long]] +attribute = "joint_sjt" +value = { field = "joint_sjt", values = { 1 = "Yes", 0 = "No" } } +attribute_status = { field = "joint_sjt", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "joint_sjt_shoulder" +value = { field = "joint_sjt_shoulder", values = { 0 = "0", 1 = "1", 2 = "2", 99 = "Unknown" } } +attribute_status = { field = "joint_sjt_shoulder", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "joint_sjt_elbow" +value = { field = "joint_sjt_elbow", values = { 0 = "0", 1 = "1", 2 = "2", 99 = "Unknown" } } +attribute_status = { field = "joint_sjt_elbow", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "joint_sjt_wrist" +value = { field = "joint_sjt_wrist", values = { 0 = "0", 1 = "1", 2 = "2", 99 = "Unknown" } } +attribute_status = { field = "joint_sjt_wrist", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "joint_sjt_mcp" +attribute_status = { field = "joint_sjt_mcp", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "joint_sjt_mcp" + +[long.value.values] +0 = "0" +1 = "1" +2 = "2" +3 = "3" +4 = "4" +5 = "5" +6 = "6" +7 = "7" +8 = "8" +9 = "9" +10 = "10" +99 = "Unknown" + +[[long]] +attribute = "joint_sjt_pip" +attribute_status = { field = "joint_sjt_pip", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "joint_sjt_pip" + +[long.value.values] +0 = "0" +1 = "1" +2 = "2" +3 = "3" +4 = "4" +5 = "5" +6 = "6" +7 = "7" +8 = "8" +9 = "9" +10 = "10" +99 = "Unknown" + +[[long]] +attribute = "joint_sjt_knee" +value = { field = "joint_sjt_knee", values = { 0 = "0", 1 = "1", 2 = "2", 99 = "Unknown" } } +attribute_status = { field = "joint_sjt_knee", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "joint_sjt_calc28" +attribute_status = { field = "joint_sjt_calc28", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "joint_sjt_calc28" + +[long.value_num.if] +all = [ + { joint_sjt_calc28 = { "!=" = "UNK" } }, + { joint_sjt_calc28 = { "!=" = "NI" } }, + { joint_sjt_calc28 = { "!=" = "NASK" } }, + { joint_sjt_calc28 = { "!=" = "NA" } }, + { joint_sjt_calc28 = { "!=" = "" } }, +] + +[[long]] +attribute = "joint_crp" +attribute_status = { field = "joint_crp", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "joint_crp" + +[long.value_num.if] +all = [ + { joint_crp = { "!=" = "UNK" } }, + { joint_crp = { "!=" = "NI" } }, + { joint_crp = { "!=" = "NASK" } }, + { joint_crp = { "!=" = "NA" } }, + { joint_crp = { "!=" = "" } }, +] + +[[long]] +attribute = "joint_vas" +attribute_status = { field = "joint_vas", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "joint_vas" + +[long.value_num.if] +all = [ + { joint_vas = { "!=" = "UNK" } }, + { joint_vas = { "!=" = "NI" } }, + { joint_vas = { "!=" = "NASK" } }, + { joint_vas = { "!=" = "NA" } }, + { joint_vas = { "!=" = "" } }, +] + +[[long]] +attribute = "joint_stiff" +attribute_status = { field = "joint_stiff", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "joint_stiff" + +[long.value.values] +0 = "0 — No stiffness" +1 = "1" +2 = "2" +3 = "3" +4 = "4" +5 = "5" +6 = "6" +7 = "7" +8 = "8" +9 = "9" +10 = "10 — Worst stiffness" + +[[long]] +attribute = "joint_nrs" +attribute_status = { field = "joint_nrs", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "joint_nrs" + +[long.value.if] +all = [ + { joint_nrs = { "!=" = "UNK" } }, + { joint_nrs = { "!=" = "NI" } }, + { joint_nrs = { "!=" = "NASK" } }, + { joint_nrs = { "!=" = "NA" } }, + { joint_nrs = { "!=" = "" } }, +] + +[[long]] +attribute = "joint_calc_das28" +attribute_status = { field = "joint_calc_das28", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "joint_calc_das28" + +[long.value_num.if] +all = [ + { joint_calc_das28 = { "!=" = "UNK" } }, + { joint_calc_das28 = { "!=" = "NI" } }, + { joint_calc_das28 = { "!=" = "NASK" } }, + { joint_calc_das28 = { "!=" = "NA" } }, + { joint_calc_das28 = { "!=" = "" } }, +] + +[[long]] +attribute = "joint_calc_chikdas" +attribute_status = { field = "joint_calc_chikdas", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value_num] +field = "joint_calc_chikdas" + +[long.value_num.if] +all = [ + { joint_calc_chikdas = { "!=" = "UNK" } }, + { joint_calc_chikdas = { "!=" = "NI" } }, + { joint_calc_chikdas = { "!=" = "NASK" } }, + { joint_calc_chikdas = { "!=" = "NA" } }, + { joint_calc_chikdas = { "!=" = "" } }, +] + +[[long]] +attribute = "outco_selfcare" +attribute_status = { field = "outco_selfcare", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "outco_selfcare" +values = { 1 = "Same as before illness", 2 = "Worse", 3 = "Better", 99 = "Unknown" } + +[[long]] +attribute = "outco_oxyth" +value = { field = "outco_oxyth", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "outco_oxyth", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "outco_carerel" +value = { field = "outco_carerel", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "outco_carerel", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "outco_carenonrel" +value = { field = "outco_carenonrel", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "outco_carenonrel", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "outco_carefordif" +value = { field = "outco_carefordif", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "outco_carefordif", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "outco_transfersite" +value = { field = "outco_transfersite", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "outco_transfersite", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "outco_transfersite_pin" +attribute_status = { field = "outco_transfersite_pin", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "outco_transfersite_pin" + +[long.value.if] +all = [ + { outco_transfersite_pin = { "!=" = "UNK" } }, + { outco_transfersite_pin = { "!=" = "NI" } }, + { outco_transfersite_pin = { "!=" = "NASK" } }, + { outco_transfersite_pin = { "!=" = "NA" } }, + { outco_transfersite_pin = { "!=" = "" } }, +] + +[[long]] +attribute = "outco_ceiling" +value = { field = "outco_ceiling", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "outco_ceiling", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[[long]] +attribute = "outco_ceiling_descri" +attribute_status = { field = "outco_ceiling_descri", apply = { function = "attribute_status_fill" } } +ref = "outcome" + +[long.value] +field = "outco_ceiling_descri" + +[long.value.if] +all = [ + { outco_ceiling_descri = { "!=" = "UNK" } }, + { outco_ceiling_descri = { "!=" = "NI" } }, + { outco_ceiling_descri = { "!=" = "NASK" } }, + { outco_ceiling_descri = { "!=" = "NA" } }, + { outco_ceiling_descri = { "!=" = "" } }, +] + +[[long]] +attribute = "preg_date" +attribute_status = { field = "preg_date", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value] +field = "preg_date" + +[long.value.if] +all = [ + { preg_date = { "!=" = "UNK" } }, + { preg_date = { "!=" = "NI" } }, + { preg_date = { "!=" = "NASK" } }, + { preg_date = { "!=" = "NA" } }, + { preg_date = { "!=" = "" } }, +] + +[[long]] +attribute = "pregdet_medirep" +value = { field = "pregdet_medirep", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "pregdet_medirep", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "pregdet_edd" +attribute_status = { field = "pregdet_edd", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value] +field = "pregdet_edd" + +[long.value.if] +all = [ + { pregdet_edd = { "!=" = "UNK" } }, + { pregdet_edd = { "!=" = "NI" } }, + { pregdet_edd = { "!=" = "NASK" } }, + { pregdet_edd = { "!=" = "NA" } }, + { pregdet_edd = { "!=" = "" } }, +] + +[[long]] +attribute = "pregdet_lmp" +attribute_status = { field = "pregdet_lmp", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value] +field = "pregdet_lmp" + +[long.value.if] +all = [ + { pregdet_lmp = { "!=" = "UNK" } }, + { pregdet_lmp = { "!=" = "NI" } }, + { pregdet_lmp = { "!=" = "NASK" } }, + { pregdet_lmp = { "!=" = "NA" } }, + { pregdet_lmp = { "!=" = "" } }, +] + +[[long]] +attribute = "pregdet_parity" +attribute_status = { field = "pregdet_parity", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value_num] +field = "pregdet_parity" + +[long.value_num.if] +all = [ + { pregdet_parity = { "!=" = "UNK" } }, + { pregdet_parity = { "!=" = "NI" } }, + { pregdet_parity = { "!=" = "NASK" } }, + { pregdet_parity = { "!=" = "NA" } }, + { pregdet_parity = { "!=" = "" } }, +] + +[[long]] +attribute = "pregdet_gravidity" +attribute_status = { field = "pregdet_gravidity", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value_num] +field = "pregdet_gravidity" + +[long.value_num.if] +all = [ + { pregdet_gravidity = { "!=" = "UNK" } }, + { pregdet_gravidity = { "!=" = "NI" } }, + { pregdet_gravidity = { "!=" = "NASK" } }, + { pregdet_gravidity = { "!=" = "NA" } }, + { pregdet_gravidity = { "!=" = "" } }, +] + +[[long]] +attribute = "pregdet_prevcs" +attribute_status = { field = "pregdet_prevcs", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value_num] +field = "pregdet_prevcs" + +[long.value_num.if] +all = [ + { pregdet_prevcs = { "!=" = "UNK" } }, + { pregdet_prevcs = { "!=" = "NI" } }, + { pregdet_prevcs = { "!=" = "NASK" } }, + { pregdet_prevcs = { "!=" = "NA" } }, + { pregdet_prevcs = { "!=" = "" } }, +] + +[[long]] +attribute = "pregdet_fetnum" +attribute_status = { field = "pregdet_fetnum", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value_num] +field = "pregdet_fetnum" + +[long.value_num.if] +all = [ + { pregdet_fetnum = { "!=" = "UNK" } }, + { pregdet_fetnum = { "!=" = "NI" } }, + { pregdet_fetnum = { "!=" = "NASK" } }, + { pregdet_fetnum = { "!=" = "NA" } }, + { pregdet_fetnum = { "!=" = "" } }, +] + +[[long]] +attribute = "preg_comor" +value = { field = "preg_comor", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "preg_comor", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "preg_diabetes" +value = { field = "preg_diabetes", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "preg_diabetes", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "preg_obesity" +value = { field = "preg_obesity", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "preg_obesity", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "preg_hypertension" +value = { field = "preg_hypertension", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "preg_hypertension", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "preg_sicklecell" +value = { field = "preg_sicklecell", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "preg_sicklecell", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "preg_renal" +value = { field = "preg_renal", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "preg_renal", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "preg_immsup" +value = { field = "preg_immsup", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "preg_immsup", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "preg_immcom" +value = { field = "preg_immcom", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "preg_immcom", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "preg_othcomor" +value = { field = "preg_othcomor", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "preg_othcomor", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "preg_othcomor_spec" +attribute_status = { field = "preg_othcomor_spec", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value] +field = "preg_othcomor_spec" + +[long.value.if] +all = [ + { preg_othcomor_spec = { "!=" = "UNK" } }, + { preg_othcomor_spec = { "!=" = "NI" } }, + { preg_othcomor_spec = { "!=" = "NASK" } }, + { preg_othcomor_spec = { "!=" = "NA" } }, + { preg_othcomor_spec = { "!=" = "" } }, +] + +[[long]] +attribute = "preg_smoking" +attribute_status = { field = "preg_smoking", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value] +field = "preg_smoking" + +[long.value.values] +1 = "Current smoker" +2 = "Former smoker (stopped PRIOR TO pregnancy)" +3 = "Former smoker (stopped DURING pregnancy)" +0 = "Never smoked" + +[[long]] +attribute = "preg_substance" +value = { field = "preg_substance", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "preg_substance", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "pregcomp_mat" +value = { field = "pregcomp_mat", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "pregcomp_mat", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "pregcomp_preecl" +value = { field = "pregcomp_preecl", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "pregcomp_preecl", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "pregcomp_preecl_week" +attribute_status = { field = "pregcomp_preecl_week", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value_num] +field = "pregcomp_preecl_week" + +[long.value_num.if] +all = [ + { pregcomp_preecl_week = { "!=" = "UNK" } }, + { pregcomp_preecl_week = { "!=" = "NI" } }, + { pregcomp_preecl_week = { "!=" = "NASK" } }, + { pregcomp_preecl_week = { "!=" = "NA" } }, + { pregcomp_preecl_week = { "!=" = "" } }, +] + +[[long]] +attribute = "pregcomp_ecl" +value = { field = "pregcomp_ecl", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "pregcomp_ecl", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "pregcomp_ecl_week" +attribute_status = { field = "pregcomp_ecl_week", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value_num] +field = "pregcomp_ecl_week" + +[long.value_num.if] +all = [ + { pregcomp_ecl_week = { "!=" = "UNK" } }, + { pregcomp_ecl_week = { "!=" = "NI" } }, + { pregcomp_ecl_week = { "!=" = "NASK" } }, + { pregcomp_ecl_week = { "!=" = "NA" } }, + { pregcomp_ecl_week = { "!=" = "" } }, +] + +[[long]] +attribute = "pregcomp_hellp" +value = { field = "pregcomp_hellp", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "pregcomp_hellp", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "pregcomp_hellp_week" +attribute_status = { field = "pregcomp_hellp_week", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value_num] +field = "pregcomp_hellp_week" + +[long.value_num.if] +all = [ + { pregcomp_hellp_week = { "!=" = "UNK" } }, + { pregcomp_hellp_week = { "!=" = "NI" } }, + { pregcomp_hellp_week = { "!=" = "NASK" } }, + { pregcomp_hellp_week = { "!=" = "NA" } }, + { pregcomp_hellp_week = { "!=" = "" } }, +] + +[[long]] +attribute = "pregcomp_gdm" +value = { field = "pregcomp_gdm", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "pregcomp_gdm", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "pregcomp_gdm_week" +attribute_status = { field = "pregcomp_gdm_week", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value_num] +field = "pregcomp_gdm_week" + +[long.value_num.if] +all = [ + { pregcomp_gdm_week = { "!=" = "UNK" } }, + { pregcomp_gdm_week = { "!=" = "NI" } }, + { pregcomp_gdm_week = { "!=" = "NASK" } }, + { pregcomp_gdm_week = { "!=" = "NA" } }, + { pregcomp_gdm_week = { "!=" = "" } }, +] + +[[long]] +attribute = "pregcomp_pih" +value = { field = "pregcomp_pih", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "pregcomp_pih", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "pregcomp_pih_week" +attribute_status = { field = "pregcomp_pih_week", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value_num] +field = "pregcomp_pih_week" + +[long.value_num.if] +all = [ + { pregcomp_pih_week = { "!=" = "UNK" } }, + { pregcomp_pih_week = { "!=" = "NI" } }, + { pregcomp_pih_week = { "!=" = "NASK" } }, + { pregcomp_pih_week = { "!=" = "NA" } }, + { pregcomp_pih_week = { "!=" = "" } }, +] + +[[long]] +attribute = "pregcomp_utbleed" +value = { field = "pregcomp_utbleed", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "pregcomp_utbleed", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "pregcomp_utbleed_week" +attribute_status = { field = "pregcomp_utbleed_week", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value_num] +field = "pregcomp_utbleed_week" + +[long.value_num.if] +all = [ + { pregcomp_utbleed_week = { "!=" = "UNK" } }, + { pregcomp_utbleed_week = { "!=" = "NI" } }, + { pregcomp_utbleed_week = { "!=" = "NASK" } }, + { pregcomp_utbleed_week = { "!=" = "NA" } }, + { pregcomp_utbleed_week = { "!=" = "" } }, +] + +[[long]] +attribute = "pregcomp_malaria" +value = { field = "pregcomp_malaria", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "pregcomp_malaria", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "pregcomp_malaria_week" +attribute_status = { field = "pregcomp_malaria_week", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value_num] +field = "pregcomp_malaria_week" + +[long.value_num.if] +all = [ + { pregcomp_malaria_week = { "!=" = "UNK" } }, + { pregcomp_malaria_week = { "!=" = "NI" } }, + { pregcomp_malaria_week = { "!=" = "NASK" } }, + { pregcomp_malaria_week = { "!=" = "NA" } }, + { pregcomp_malaria_week = { "!=" = "" } }, +] + +[[long]] +attribute = "pregcomp_oth" +value = { field = "pregcomp_oth", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "pregcomp_oth", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "pregcomp_othspec" +attribute_status = { field = "pregcomp_othspec", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value] +field = "pregcomp_othspec" + +[long.value.if] +all = [ + { pregcomp_othspec = { "!=" = "UNK" } }, + { pregcomp_othspec = { "!=" = "NI" } }, + { pregcomp_othspec = { "!=" = "NASK" } }, + { pregcomp_othspec = { "!=" = "NA" } }, + { pregcomp_othspec = { "!=" = "" } }, +] + +[[long]] +attribute = "pregcomp_placfetab" +value = { field = "pregcomp_placfetab", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "pregcomp_placfetab", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "pregcomp_lowaf" +value = { field = "pregcomp_lowaf", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "pregcomp_lowaf", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "pregcomp_lowaf_week" +attribute_status = { field = "pregcomp_lowaf_week", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value_num] +field = "pregcomp_lowaf_week" + +[long.value_num.if] +all = [ + { pregcomp_lowaf_week = { "!=" = "UNK" } }, + { pregcomp_lowaf_week = { "!=" = "NI" } }, + { pregcomp_lowaf_week = { "!=" = "NASK" } }, + { pregcomp_lowaf_week = { "!=" = "NA" } }, + { pregcomp_lowaf_week = { "!=" = "" } }, +] + +[[long]] +attribute = "pregcomp_highaf" +value = { field = "pregcomp_highaf", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "pregcomp_highaf", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "pregcomp_highaf_week" +attribute_status = { field = "pregcomp_highaf_week", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value_num] +field = "pregcomp_highaf_week" + +[long.value_num.if] +all = [ + { pregcomp_highaf_week = { "!=" = "UNK" } }, + { pregcomp_highaf_week = { "!=" = "NI" } }, + { pregcomp_highaf_week = { "!=" = "NASK" } }, + { pregcomp_highaf_week = { "!=" = "NA" } }, + { pregcomp_highaf_week = { "!=" = "" } }, +] + +[[long]] +attribute = "pregcomp_pprevia" +value = { field = "pregcomp_pprevia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "pregcomp_pprevia", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "pregcomp_pprevia_week" +attribute_status = { field = "pregcomp_pprevia_week", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value_num] +field = "pregcomp_pprevia_week" + +[long.value_num.if] +all = [ + { pregcomp_pprevia_week = { "!=" = "UNK" } }, + { pregcomp_pprevia_week = { "!=" = "NI" } }, + { pregcomp_pprevia_week = { "!=" = "NASK" } }, + { pregcomp_pprevia_week = { "!=" = "NA" } }, + { pregcomp_pprevia_week = { "!=" = "" } }, +] + +[[long]] +attribute = "pregcomp_plowlying" +value = { field = "pregcomp_plowlying", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "pregcomp_plowlying", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "pregcomp_plowlying_week" +attribute_status = { field = "pregcomp_plowlying_week", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value_num] +field = "pregcomp_plowlying_week" + +[long.value_num.if] +all = [ + { pregcomp_plowlying_week = { "!=" = "UNK" } }, + { pregcomp_plowlying_week = { "!=" = "NI" } }, + { pregcomp_plowlying_week = { "!=" = "NASK" } }, + { pregcomp_plowlying_week = { "!=" = "NA" } }, + { pregcomp_plowlying_week = { "!=" = "" } }, +] + +[[long]] +attribute = "pregcomp_pinsuff" +value = { field = "pregcomp_pinsuff", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "pregcomp_pinsuff", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "pregcomp_pinsuff_week" +attribute_status = { field = "pregcomp_pinsuff_week", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value_num] +field = "pregcomp_pinsuff_week" + +[long.value_num.if] +all = [ + { pregcomp_pinsuff_week = { "!=" = "UNK" } }, + { pregcomp_pinsuff_week = { "!=" = "NI" } }, + { pregcomp_pinsuff_week = { "!=" = "NASK" } }, + { pregcomp_pinsuff_week = { "!=" = "NA" } }, + { pregcomp_pinsuff_week = { "!=" = "" } }, +] + +[[long]] +attribute = "pregcomp_iugr" +value = { field = "pregcomp_iugr", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "pregcomp_iugr", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "pregcomp_iugr_week" +attribute_status = { field = "pregcomp_iugr_week", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value_num] +field = "pregcomp_iugr_week" + +[long.value_num.if] +all = [ + { pregcomp_iugr_week = { "!=" = "UNK" } }, + { pregcomp_iugr_week = { "!=" = "NI" } }, + { pregcomp_iugr_week = { "!=" = "NASK" } }, + { pregcomp_iugr_week = { "!=" = "NA" } }, + { pregcomp_iugr_week = { "!=" = "" } }, +] + +[[long]] +attribute = "pregcomp_othpyn" +value = { field = "pregcomp_othpyn", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "pregcomp_othpyn", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "pregcomp_othpspec" +attribute_status = { field = "pregcomp_othpspec", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value] +field = "pregcomp_othpspec" + +[long.value.if] +all = [ + { pregcomp_othpspec = { "!=" = "UNK" } }, + { pregcomp_othpspec = { "!=" = "NI" } }, + { pregcomp_othpspec = { "!=" = "NASK" } }, + { pregcomp_othpspec = { "!=" = "NA" } }, + { pregcomp_othpspec = { "!=" = "" } }, +] + +[[long]] +attribute = "pregmed_immunosup" +value = { field = "pregmed_immunosup", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "pregmed_immunosup", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "pregmed_immunosup_num" +attribute_status = { field = "pregmed_immunosup_num", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value_num] +field = "pregmed_immunosup_num" + +[long.value_num.if] +all = [ + { pregmed_immunosup_num = { "!=" = "UNK" } }, + { pregmed_immunosup_num = { "!=" = "NI" } }, + { pregmed_immunosup_num = { "!=" = "NASK" } }, + { pregmed_immunosup_num = { "!=" = "NA" } }, + { pregmed_immunosup_num = { "!=" = "" } }, +] + +[[long]] +attribute = "pregmed_immunosup_name" +attribute_status = { field = "pregmed_immunosup_name", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value] +field = "pregmed_immunosup_name" + +[long.value.if] +all = [ + { pregmed_immunosup_name = { "!=" = "UNK" } }, + { pregmed_immunosup_name = { "!=" = "NI" } }, + { pregmed_immunosup_name = { "!=" = "NASK" } }, + { pregmed_immunosup_name = { "!=" = "NA" } }, + { pregmed_immunosup_name = { "!=" = "" } }, +] + +[[long]] +attribute = "pregmed_otheryn" +value = { field = "pregmed_otheryn", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "pregmed_otheryn", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "pregmed_othernum" +attribute_status = { field = "pregmed_othernum", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value_num] +field = "pregmed_othernum" + +[long.value_num.if] +all = [ + { pregmed_othernum = { "!=" = "UNK" } }, + { pregmed_othernum = { "!=" = "NI" } }, + { pregmed_othernum = { "!=" = "NASK" } }, + { pregmed_othernum = { "!=" = "NA" } }, + { pregmed_othernum = { "!=" = "" } }, +] + +[[long]] +attribute = "pregmed_othername" +attribute_status = { field = "pregmed_othername", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value] +field = "pregmed_othername" + +[long.value.if] +all = [ + { pregmed_othername = { "!=" = "UNK" } }, + { pregmed_othername = { "!=" = "NI" } }, + { pregmed_othername = { "!=" = "NASK" } }, + { pregmed_othername = { "!=" = "NA" } }, + { pregmed_othername = { "!=" = "" } }, +] + +[[long]] +attribute = "pregmed_antvacc" +value = { field = "pregmed_antvacc___1", values = { 1 = "COVID-19" } } +attribute_status = "VAL" +ref = "pregnancy" + +[[long]] +attribute = "pregmed_antvacc" +value = { field = "pregmed_antvacc___2", values = { 1 = "Hepatitis B" } } +attribute_status = "VAL" +ref = "pregnancy" + +[[long]] +attribute = "pregmed_antvacc" +value = { field = "pregmed_antvacc___3", values = { 1 = "Yellow fever" } } +attribute_status = "VAL" +ref = "pregnancy" + +[[long]] +attribute = "pregmed_antvacc" +value = { field = "pregmed_antvacc___4", values = { 1 = "Chickenpox" } } +attribute_status = "VAL" +ref = "pregnancy" + +[[long]] +attribute = "pregmed_antvacc" +value = { field = "pregmed_antvacc___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "pregnancy" + +[[long]] +attribute = "pregmed_antvacc" +attribute_status = { field = "pregmed_antvacc___unk", values = { 1 = "UNK" } } +if = { pregmed_antvacc___unk = 1 } +ref = "pregnancy" + +[[long]] +attribute = "pregmed_antvacc" +attribute_status = { field = "pregmed_antvacc___ni", values = { 1 = "NI" } } +if = { pregmed_antvacc___ni = 1 } +ref = "pregnancy" + +[[long]] +attribute = "pregmed_antvacc" +attribute_status = { field = "pregmed_antvacc___nask", values = { 1 = "NASK" } } +if = { pregmed_antvacc___nask = 1 } +ref = "pregnancy" + +[[long]] +attribute = "pregmed_antvacc" +attribute_status = { field = "pregmed_antvacc___na", values = { 1 = "NA" } } +if = { pregmed_antvacc___na = 1 } +ref = "pregnancy" + +[[long]] +attribute = "pregmed_antvacc_oth" +attribute_status = { field = "pregmed_antvacc_oth", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value] +field = "pregmed_antvacc_oth" + +[long.value.if] +all = [ + { pregmed_antvacc_oth = { "!=" = "UNK" } }, + { pregmed_antvacc_oth = { "!=" = "NI" } }, + { pregmed_antvacc_oth = { "!=" = "NASK" } }, + { pregmed_antvacc_oth = { "!=" = "NA" } }, + { pregmed_antvacc_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "pregtest_yn" +value = { field = "pregtest_yn", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "pregtest_yn", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "pregtest_type" +value = { field = "pregtest_type___1", values = { 1 = "Amniotic fluid" } } +attribute_status = "VAL" +ref = "pregnancy" + +[[long]] +attribute = "pregtest_type" +value = { field = "pregtest_type___2", values = { 1 = "Placenta" } } +attribute_status = "VAL" +ref = "pregnancy" + +[[long]] +attribute = "pregtest_type" +value = { field = "pregtest_type___3", values = { 1 = "Cord blood" } } +attribute_status = "VAL" +ref = "pregnancy" + +[[long]] +attribute = "pregtest_type" +value = { field = "pregtest_type___4", values = { 1 = "Vaginal swab" } } +attribute_status = "VAL" +ref = "pregnancy" + +[[long]] +attribute = "pregtest_type" +value = { field = "pregtest_type___5", values = { 1 = "Faecal/rectal swab" } } +attribute_status = "VAL" +ref = "pregnancy" + +[[long]] +attribute = "pregtest_type" +value = { field = "pregtest_type___6", values = { 1 = "Pregnancy tissue" } } +attribute_status = "VAL" +ref = "pregnancy" + +[[long]] +attribute = "pregtest_type" +value = { field = "pregtest_type___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "pregnancy" + +[[long]] +attribute = "pregtest_type" +value = { field = "pregtest_type___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "pregnancy" + +[[long]] +attribute = "pregtest_type" +attribute_status = { field = "pregtest_type___unk", values = { 1 = "UNK" } } +if = { pregtest_type___unk = 1 } +ref = "pregnancy" + +[[long]] +attribute = "pregtest_type" +attribute_status = { field = "pregtest_type___ni", values = { 1 = "NI" } } +if = { pregtest_type___ni = 1 } +ref = "pregnancy" + +[[long]] +attribute = "pregtest_type" +attribute_status = { field = "pregtest_type___nask", values = { 1 = "NASK" } } +if = { pregtest_type___nask = 1 } +ref = "pregnancy" + +[[long]] +attribute = "pregtest_type" +attribute_status = { field = "pregtest_type___na", values = { 1 = "NA" } } +if = { pregtest_type___na = 1 } +ref = "pregnancy" + +[[long]] +attribute = "pregtest_desc" +attribute_status = { field = "pregtest_desc", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value] +field = "pregtest_desc" + +[long.value.if] +all = [ + { pregtest_desc = { "!=" = "UNK" } }, + { pregtest_desc = { "!=" = "NI" } }, + { pregtest_desc = { "!=" = "NASK" } }, + { pregtest_desc = { "!=" = "NA" } }, + { pregtest_desc = { "!=" = "" } }, +] + +[[long]] +attribute = "pregout_bboutc" +attribute_status = { field = "pregout_bboutc", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value] +field = "pregout_bboutc" + +[long.value.values] +1 = "Livebirth (even if infant died after birth)" +2 = "Miscarriage (<22 weeks)" +3 = "Termination by choice" +4 = "Termination - ultrasound abnormality" +5 = "Termination - other/unknown reason" +6 = "Stillbirth (intra-uterine / intrapartum death from 22 gest weeks)" +7 = "Ectopic pregnancy" +8 = "Ongoing" +99 = "Unknown" + +[[long]] +attribute = "pregout_weeks" +attribute_status = { field = "pregout_weeks", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value_num] +field = "pregout_weeks" + +[long.value_num.if] +all = [ + { pregout_weeks = { "!=" = "UNK" } }, + { pregout_weeks = { "!=" = "NI" } }, + { pregout_weeks = { "!=" = "NASK" } }, + { pregout_weeks = { "!=" = "NA" } }, + { pregout_weeks = { "!=" = "" } }, +] + +[[long]] +attribute = "pregout_bbtest" +value = { field = "pregout_bbtest", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "pregout_bbtest", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "pregout_bbresl" +value = { field = "pregout_bbresl", values = { 1 = "Positive", 0 = "Negative", 99 = "Unknown" } } +attribute_status = { field = "pregout_bbresl", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "pregout_bboutc_termreas" +attribute_status = { field = "pregout_bboutc_termreas", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value] +field = "pregout_bboutc_termreas" + +[long.value.if] +all = [ + { pregout_bboutc_termreas = { "!=" = "UNK" } }, + { pregout_bboutc_termreas = { "!=" = "NI" } }, + { pregout_bboutc_termreas = { "!=" = "NASK" } }, + { pregout_bboutc_termreas = { "!=" = "NA" } }, + { pregout_bboutc_termreas = { "!=" = "" } }, +] + +[[long]] +attribute = "pregout_bboutc_stillb" +value = { field = "pregout_bboutc_stillb", values = { 1 = "Macerated", 2 = "Fresh", 99 = "Unknown" } } +attribute_status = { field = "pregout_bboutc_stillb", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "pregout_matdeath" +value = { field = "pregout_matdeath", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "pregout_matdeath", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "pregout_matdeath_age" +attribute_status = { field = "pregout_matdeath_age", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value_num] +field = "pregout_matdeath_age" + +[long.value_num.if] +all = [ + { pregout_matdeath_age = { "!=" = "UNK" } }, + { pregout_matdeath_age = { "!=" = "NI" } }, + { pregout_matdeath_age = { "!=" = "NASK" } }, + { pregout_matdeath_age = { "!=" = "NA" } }, + { pregout_matdeath_age = { "!=" = "" } }, +] + +[[long]] +attribute = "pregout_matdeath_cause" +attribute_status = { field = "pregout_matdeath_cause", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value] +field = "pregout_matdeath_cause" + +[long.value.if] +all = [ + { pregout_matdeath_cause = { "!=" = "UNK" } }, + { pregout_matdeath_cause = { "!=" = "NI" } }, + { pregout_matdeath_cause = { "!=" = "NASK" } }, + { pregout_matdeath_cause = { "!=" = "NA" } }, + { pregout_matdeath_cause = { "!=" = "" } }, +] + +[[long]] +attribute = "pregout_matdeath_place" +attribute_status = { field = "pregout_matdeath_place", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value] +field = "pregout_matdeath_place" +values = { 1 = "At home", 2 = "Hospital/medical facility", 99 = "Unknown" } + +[[long]] +attribute = "pregout_matdeath_time" +attribute_status = { field = "pregout_matdeath_time", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value] +field = "pregout_matdeath_time" + +[long.value.values] +1 = "Pre-delivery" +2 = "During delivery" +3 = "Post-delivery (within 40 days)" +99 = "Unknown" + +[[long]] +attribute = "pregout_othdet" +attribute_status = { field = "pregout_othdet", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value] +field = "pregout_othdet" + +[long.value.if] +all = [ + { pregout_othdet = { "!=" = "UNK" } }, + { pregout_othdet = { "!=" = "NI" } }, + { pregout_othdet = { "!=" = "NASK" } }, + { pregout_othdet = { "!=" = "NA" } }, + { pregout_othdet = { "!=" = "" } }, +] + +[[long]] +attribute = "pregout_nbornincl" +value = { field = "pregout_nbornincl", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "pregout_nbornincl", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[[long]] +attribute = "pregout_nborpin" +attribute_status = { field = "pregout_nborpin", apply = { function = "attribute_status_fill" } } +ref = "pregnancy" + +[long.value] +field = "pregout_nborpin" + +[long.value.if] +all = [ + { pregout_nborpin = { "!=" = "UNK" } }, + { pregout_nborpin = { "!=" = "NI" } }, + { pregout_nborpin = { "!=" = "NASK" } }, + { pregout_nborpin = { "!=" = "NA" } }, + { pregout_nborpin = { "!=" = "" } }, +] + +[[long]] +attribute = "nborn_sex" +value = { field = "nborn_sex", values = { 1 = "Male", 2 = "Female", 99 = "Unknown", 88 = "Other" } } +attribute_status = { field = "nborn_sex", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_modedel" +attribute_status = { field = "nborn_modedel", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value] +field = "nborn_modedel" + +[long.value.values] +1 = "Vaginal" +2 = "Assisted vaginal" +3 = "Elective caesarean (before labour, before rupture of membranes)" +4 = "Emergency caesarean (after labour and/or rupture of membranes)" + +[[long]] +attribute = "nborn_placedel" +attribute_status = { field = "nborn_placedel", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value] +field = "nborn_placedel" +values = { 1 = "At home", 2 = "Hospital/medical facility", 99 = "Unknown" } + +[[long]] +attribute = "nborn_ga" +attribute_status = { field = "nborn_ga", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value_num] +field = "nborn_ga" + +[long.value_num.if] +all = [ + { nborn_ga = { "!=" = "UNK" } }, + { nborn_ga = { "!=" = "NI" } }, + { nborn_ga = { "!=" = "NASK" } }, + { nborn_ga = { "!=" = "NA" } }, + { nborn_ga = { "!=" = "" } }, +] + +[[long]] +attribute = "nborn_gamethod" +value = { field = "nborn_gamethod", values = { 1 = "LMP", 2 = "EDD", 99 = "Unknown" } } +attribute_status = { field = "nborn_gamethod", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_birthweight_g" +attribute_unit = "g" +ref = "neonate" + +[long.if] +all = [ + { nborn_birthweight_g = { "!=" = "" }, can_skip = true }, + { nborn_birthweight = { "!=" = "" }, can_skip = true }, + { nborn_birthweight_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "nborn_birthweight_g" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "nborn_birthweight" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "nborn_birthweight_g" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "nborn_birthweight" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "nborn_birthweight_lb" +attribute_unit = "lb" +ref = "neonate" + +[long.if] +all = [ + { nborn_birthweight_lb = { "!=" = "" }, can_skip = true }, + { nborn_birthweight = { "!=" = "" }, can_skip = true }, + { nborn_birthweight_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "nborn_birthweight_lb" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "nborn_birthweight" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "nborn_birthweight_lb" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "nborn_birthweight" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "nborn_length_cm" +attribute_unit = "cm" +ref = "neonate" + +[long.if] +all = [ + { nborn_length_cm = { "!=" = "" }, can_skip = true }, + { nborn_length = { "!=" = "" }, can_skip = true }, + { nborn_length_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "nborn_length_cm", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "nborn_length", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "nborn_length_cm", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "nborn_length", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "nborn_length_in" +attribute_unit = "in" +ref = "neonate" + +[long.if] +all = [ + { nborn_length_in = { "!=" = "" }, can_skip = true }, + { nborn_length = { "!=" = "" }, can_skip = true }, + { nborn_length_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "nborn_length_in", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "nborn_length", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "nborn_length_in", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "nborn_length", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "nborn_infhc_cm" +attribute_unit = "cm" +ref = "neonate" + +[long.if] +all = [ + { nborn_infhc_cm = { "!=" = "" }, can_skip = true }, + { nborn_infhc = { "!=" = "" }, can_skip = true }, + { nborn_infhc_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "nborn_infhc_cm", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "nborn_infhc", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "nborn_infhc_cm", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "nborn_infhc", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "nborn_infhc_in" +attribute_unit = "in" +ref = "neonate" + +[long.if] +all = [ + { nborn_infhc_in = { "!=" = "" }, can_skip = true }, + { nborn_infhc = { "!=" = "" }, can_skip = true }, + { nborn_infhc_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" +fields = [ + { field = "nborn_infhc_in", apply = { function = "values_strip_missing" }, can_skip = true }, + { field = "nborn_infhc", apply = { function = "values_strip_missing" }, can_skip = true }, +] + +[long.attribute_status] +combinedType = "firstNonNull" +fields = [ + { field = "nborn_infhc_in", apply = { function = "attribute_status_fill" }, can_skip = true }, + { field = "nborn_infhc", apply = { function = "attribute_status_fill" }, can_skip = true }, +] + +[[long]] +attribute = "nborn_apgar" +attribute_status = { field = "nborn_apgar", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value_num] +field = "nborn_apgar" + +[long.value_num.if] +all = [ + { nborn_apgar = { "!=" = "UNK" } }, + { nborn_apgar = { "!=" = "NI" } }, + { nborn_apgar = { "!=" = "NASK" } }, + { nborn_apgar = { "!=" = "NA" } }, + { nborn_apgar = { "!=" = "" } }, +] + +[[long]] +attribute = "nborn_resusc" +value = { field = "nborn_resusc", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_resusc", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_resuscdet" +attribute_status = { field = "nborn_resuscdet", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value] +field = "nborn_resuscdet" + +[long.value.if] +all = [ + { nborn_resuscdet = { "!=" = "UNK" } }, + { nborn_resuscdet = { "!=" = "NI" } }, + { nborn_resuscdet = { "!=" = "NASK" } }, + { nborn_resuscdet = { "!=" = "NA" } }, + { nborn_resuscdet = { "!=" = "" } }, +] + +[[long]] +attribute = "nborn_nicu" +attribute_status = { field = "nborn_nicu", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value] +field = "nborn_nicu" + +[long.value.values] +1 = "Yes, related to pathogen of interest" +2 = "Yes, not related to pathogen of interest" +3 = "No, due to non-availability of NICUs" +0 = "No" +4 = "Not applicable" +99 = "Unknown" + +[[long]] +attribute = "nborn_hospdur" +attribute_status = { field = "nborn_hospdur", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value_num] +field = "nborn_hospdur" + +[long.value_num.if] +all = [ + { nborn_hospdur = { "!=" = "UNK" } }, + { nborn_hospdur = { "!=" = "NI" } }, + { nborn_hospdur = { "!=" = "NASK" } }, + { nborn_hospdur = { "!=" = "NA" } }, + { nborn_hospdur = { "!=" = "" } }, +] + +[[long]] +attribute = "nborn_outc" +attribute_status = { field = "nborn_outc", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value] +field = "nborn_outc" + +[long.value.values] +1 = "Discharged healthy" +2 = "Discharged with complications/sequelae" +3 = "Still in neonatal ward" +4 = "Referred to other hospital" +5 = "Death" +99 = "Unknown" +6 = "Not applicable" + +[[long]] +attribute = "nborn_compyn" +value = { field = "nborn_compyn", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_compyn", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_compsel" +value = { field = "nborn_compsel___1", values = { 1 = "Respiratory distress syndrome" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_compsel" +value = { field = "nborn_compsel___2", values = { 1 = "Intraventricular haemorrhage" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_compsel" +value = { field = "nborn_compsel___3", values = { 1 = "Necrotising enterocolitis" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_compsel" +value = { field = "nborn_compsel___4", values = { 1 = "Neonatal encephalopathy" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_compsel" +value = { field = "nborn_compsel___5", values = { 1 = "Chronic lung disease" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_compsel" +value = { field = "nborn_compsel___6", values = { 1 = "Severe jaundice requiring phototherapy" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_compsel" +value = { field = "nborn_compsel___7", values = { 1 = "Major congenital anomaly" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_compsel" +value = { field = "nborn_compsel___8", values = { 1 = "Severe infection/sepsis" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_compsel" +value = { field = "nborn_compsel___9", values = { 1 = "Meningitis" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_compsel" +value = { field = "nborn_compsel___10", values = { 1 = "Exchange transfusion" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_compsel" +value = { field = "nborn_compsel___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_compsel" +value = { field = "nborn_compsel___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_compsel" +attribute_status = { field = "nborn_compsel___unk", values = { 1 = "UNK" } } +if = { nborn_compsel___unk = 1 } +ref = "neonate" + +[[long]] +attribute = "nborn_compsel" +attribute_status = { field = "nborn_compsel___ni", values = { 1 = "NI" } } +if = { nborn_compsel___ni = 1 } +ref = "neonate" + +[[long]] +attribute = "nborn_compsel" +attribute_status = { field = "nborn_compsel___nask", values = { 1 = "NASK" } } +if = { nborn_compsel___nask = 1 } +ref = "neonate" + +[[long]] +attribute = "nborn_compsel" +attribute_status = { field = "nborn_compsel___na", values = { 1 = "NA" } } +if = { nborn_compsel___na = 1 } +ref = "neonate" + +[[long]] +attribute = "nborn_compoth" +attribute_status = { field = "nborn_compoth", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value] +field = "nborn_compoth" + +[long.value.if] +all = [ + { nborn_compoth = { "!=" = "UNK" } }, + { nborn_compoth = { "!=" = "NI" } }, + { nborn_compoth = { "!=" = "NASK" } }, + { nborn_compoth = { "!=" = "NA" } }, + { nborn_compoth = { "!=" = "" } }, +] + +[[long]] +attribute = "nborn_death" +value = { field = "nborn_death", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_death", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_deathage_days" +attribute_unit = "Days" +ref = "neonate" + +[long.if] +all = [ + { nborn_deathage_days = { "!=" = "" }, can_skip = true }, + { nborn_deathage = { "!=" = "" }, can_skip = true }, + { nborn_deathage_units = 1 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "nborn_deathage_days" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "nborn_deathage" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "nborn_deathage_days" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "nborn_deathage" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "nborn_deathage_months" +attribute_unit = "Months" +ref = "neonate" + +[long.if] +all = [ + { nborn_deathage_months = { "!=" = "" }, can_skip = true }, + { nborn_deathage = { "!=" = "" }, can_skip = true }, + { nborn_deathage_units = 2 }, +] + +[long.value_num] +combinedType = "firstNonNull" + +[[long.value_num.fields]] +field = "nborn_deathage_months" +apply = { function = "values_strip_missing" } +can_skip = true + +[[long.value_num.fields]] +field = "nborn_deathage" +apply = { function = "values_strip_missing" } +can_skip = true + +[long.attribute_status] +combinedType = "firstNonNull" + +[[long.attribute_status.fields]] +field = "nborn_deathage_months" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long.attribute_status.fields]] +field = "nborn_deathage" +apply = { function = "attribute_status_fill" } +can_skip = true + +[[long]] +attribute = "nborn_deathcause" +attribute_status = { field = "nborn_deathcause", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value] +field = "nborn_deathcause" + +[long.value.if] +all = [ + { nborn_deathcause = { "!=" = "UNK" } }, + { nborn_deathcause = { "!=" = "NI" } }, + { nborn_deathcause = { "!=" = "NASK" } }, + { nborn_deathcause = { "!=" = "NA" } }, + { nborn_deathcause = { "!=" = "" } }, +] + +[[long]] +attribute = "nborn_birthdefectyn" +value = { field = "nborn_birthdefectyn", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_birthdefectyn", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_birthdefectnum" +attribute_status = { field = "nborn_birthdefectnum", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value_num] +field = "nborn_birthdefectnum" + +[long.value_num.if] +all = [ + { nborn_birthdefectnum = { "!=" = "UNK" } }, + { nborn_birthdefectnum = { "!=" = "NI" } }, + { nborn_birthdefectnum = { "!=" = "NASK" } }, + { nborn_birthdefectnum = { "!=" = "NA" } }, + { nborn_birthdefectnum = { "!=" = "" } }, +] + +[[long]] +attribute = "nborn_birthdefect1" +attribute_status = { field = "nborn_birthdefect1", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value] +field = "nborn_birthdefect1" + +[long.value.if] +all = [ + { nborn_birthdefect1 = { "!=" = "UNK" } }, + { nborn_birthdefect1 = { "!=" = "NI" } }, + { nborn_birthdefect1 = { "!=" = "NASK" } }, + { nborn_birthdefect1 = { "!=" = "NA" } }, + { nborn_birthdefect1 = { "!=" = "" } }, +] + +[[long]] +attribute = "nborn_birthdefect1_date" +attribute_status = { field = "nborn_birthdefect1_date", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value] +field = "nborn_birthdefect1_date" + +[long.value.if] +all = [ + { nborn_birthdefect1_date = { "!=" = "UNK" } }, + { nborn_birthdefect1_date = { "!=" = "NI" } }, + { nborn_birthdefect1_date = { "!=" = "NASK" } }, + { nborn_birthdefect1_date = { "!=" = "NA" } }, + { nborn_birthdefect1_date = { "!=" = "" } }, +] + +[[long]] +attribute = "nborn_birthdefect2" +attribute_status = { field = "nborn_birthdefect2", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value] +field = "nborn_birthdefect2" + +[long.value.if] +all = [ + { nborn_birthdefect2 = { "!=" = "UNK" } }, + { nborn_birthdefect2 = { "!=" = "NI" } }, + { nborn_birthdefect2 = { "!=" = "NASK" } }, + { nborn_birthdefect2 = { "!=" = "NA" } }, + { nborn_birthdefect2 = { "!=" = "" } }, +] + +[[long]] +attribute = "nborn_birthdefect2_date" +attribute_status = { field = "nborn_birthdefect2_date", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value] +field = "nborn_birthdefect2_date" + +[long.value.if] +all = [ + { nborn_birthdefect2_date = { "!=" = "UNK" } }, + { nborn_birthdefect2_date = { "!=" = "NI" } }, + { nborn_birthdefect2_date = { "!=" = "NASK" } }, + { nborn_birthdefect2_date = { "!=" = "NA" } }, + { nborn_birthdefect2_date = { "!=" = "" } }, +] + +[[long]] +attribute = "nborn_birthdefect3" +attribute_status = { field = "nborn_birthdefect3", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value] +field = "nborn_birthdefect3" + +[long.value.if] +all = [ + { nborn_birthdefect3 = { "!=" = "UNK" } }, + { nborn_birthdefect3 = { "!=" = "NI" } }, + { nborn_birthdefect3 = { "!=" = "NASK" } }, + { nborn_birthdefect3 = { "!=" = "NA" } }, + { nborn_birthdefect3 = { "!=" = "" } }, +] + +[[long]] +attribute = "nborn_birthdefect3_date" +attribute_status = { field = "nborn_birthdefect3_date", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value] +field = "nborn_birthdefect3_date" + +[long.value.if] +all = [ + { nborn_birthdefect3_date = { "!=" = "UNK" } }, + { nborn_birthdefect3_date = { "!=" = "NI" } }, + { nborn_birthdefect3_date = { "!=" = "NASK" } }, + { nborn_birthdefect3_date = { "!=" = "NA" } }, + { nborn_birthdefect3_date = { "!=" = "" } }, +] + +[[long]] +attribute = "nborn_lesion" +value = { field = "nborn_lesion", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_lesion", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_lesion_age" +attribute_status = { field = "nborn_lesion_age", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value_num] +field = "nborn_lesion_age" + +[long.value_num.if] +all = [ + { nborn_lesion_age = { "!=" = "UNK" } }, + { nborn_lesion_age = { "!=" = "NI" } }, + { nborn_lesion_age = { "!=" = "NASK" } }, + { nborn_lesion_age = { "!=" = "NA" } }, + { nborn_lesion_age = { "!=" = "" } }, +] + +[[long]] +attribute = "nborn_lesion_num" +attribute_status = { field = "nborn_lesion_num", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value] +field = "nborn_lesion_num" + +[long.value.values] +1 = "Mild (< 25 skin lesions)" +2 = "Moderate (25-99 skin lesions)" +3 = "Severe (100-250 skin lesions)" +4 = "Very severe (> 250 skin lesions)" +99 = "Unknown" + +[[long]] +attribute = "nborn_lesion_site" +value = { field = "nborn_lesion_site___1", values = { 1 = "Head/face/neck" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_lesion_site" +value = { field = "nborn_lesion_site___2", values = { 1 = "Inside of mouth" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_lesion_site" +value = { field = "nborn_lesion_site___3", values = { 1 = "Torso" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_lesion_site" +value = { field = "nborn_lesion_site___4", values = { 1 = "Arms and/or hands" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_lesion_site" +value = { field = "nborn_lesion_site___5", values = { 1 = "Legs and/or feet" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_lesion_site" +value = { field = "nborn_lesion_site___6", values = { 1 = "External genitalia" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_lesion_site" +value = { field = "nborn_lesion_site___7", values = { 1 = "Perianal" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_lesion_site" +value = { field = "nborn_lesion_site___8", values = { 1 = "Vaginal canal" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_lesion_site" +value = { field = "nborn_lesion_site___9", values = { 1 = "Rectum" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_lesion_site" +value = { field = "nborn_lesion_site___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_lesion_site" +attribute_status = { field = "nborn_lesion_site___unk", values = { 1 = "UNK" } } +if = { nborn_lesion_site___unk = 1 } +ref = "neonate" + +[[long]] +attribute = "nborn_lesion_site" +attribute_status = { field = "nborn_lesion_site___ni", values = { 1 = "NI" } } +if = { nborn_lesion_site___ni = 1 } +ref = "neonate" + +[[long]] +attribute = "nborn_lesion_site" +attribute_status = { field = "nborn_lesion_site___nask", values = { 1 = "NASK" } } +if = { nborn_lesion_site___nask = 1 } +ref = "neonate" + +[[long]] +attribute = "nborn_lesion_site" +attribute_status = { field = "nborn_lesion_site___na", values = { 1 = "NA" } } +if = { nborn_lesion_site___na = 1 } +ref = "neonate" + +[[long]] +attribute = "nborn_lesion_site_oth" +attribute_status = { field = "nborn_lesion_site_oth", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value] +field = "nborn_lesion_site_oth" + +[long.value.if] +all = [ + { nborn_lesion_site_oth = { "!=" = "UNK" } }, + { nborn_lesion_site_oth = { "!=" = "NI" } }, + { nborn_lesion_site_oth = { "!=" = "NASK" } }, + { nborn_lesion_site_oth = { "!=" = "NA" } }, + { nborn_lesion_site_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "nborn_lesion_type" +value = { field = "nborn_lesion_type___1", values = { 1 = "Vesicle" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_lesion_type" +value = { field = "nborn_lesion_type___2", values = { 1 = "Pustule" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_lesion_type" +value = { field = "nborn_lesion_type___3", values = { 1 = "Ulcerated lesion" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_lesion_type" +value = { field = "nborn_lesion_type___4", values = { 1 = "Crusted/scabbed mature lesion" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_lesion_type" +attribute_status = "VAL" +ref = "neonate" + +[long.value] +field = "nborn_lesion_type___5" +values = { 1 = "Residual evidence of resolved lesions (scar/discoloration)" } + +[[long]] +attribute = "nborn_lesion_type" +value = { field = "nborn_lesion_type___6", values = { 1 = "Haemorrhagic / bleeding lesions" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_lesion_type" +attribute_status = { field = "nborn_lesion_type___unk", values = { 1 = "UNK" } } +if = { nborn_lesion_type___unk = 1 } +ref = "neonate" + +[[long]] +attribute = "nborn_lesion_type" +attribute_status = { field = "nborn_lesion_type___ni", values = { 1 = "NI" } } +if = { nborn_lesion_type___ni = 1 } +ref = "neonate" + +[[long]] +attribute = "nborn_lesion_type" +attribute_status = { field = "nborn_lesion_type___nask", values = { 1 = "NASK" } } +if = { nborn_lesion_type___nask = 1 } +ref = "neonate" + +[[long]] +attribute = "nborn_lesion_type" +attribute_status = { field = "nborn_lesion_type___na", values = { 1 = "NA" } } +if = { nborn_lesion_type___na = 1 } +ref = "neonate" + +[[long]] +attribute = "nborn_sympt" +value = { field = "nborn_sympt", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_sympt", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_fever" +value = { field = "nborn_fever", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_fever", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_cough" +value = { field = "nborn_cough", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_cough", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_wheezing" +value = { field = "nborn_wheezing", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_wheezing", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_rhinorrhoe" +value = { field = "nborn_rhinorrhoe", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_rhinorrhoe", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_respdistress" +value = { field = "nborn_respdistress", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_respdistress", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_tachypnoea" +value = { field = "nborn_tachypnoea", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_tachypnoea", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_nasalflar" +value = { field = "nborn_nasalflar", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_nasalflar", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_grunt" +value = { field = "nborn_grunt", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_grunt", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_apnoea" +value = { field = "nborn_apnoea", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_apnoea", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_nasalcongestion" +value = { field = "nborn_nasalcongestion", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_nasalcongestion", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_vomit" +value = { field = "nborn_vomit", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_vomit", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_diarrhoea" +value = { field = "nborn_diarrhoea", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_diarrhoea", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_consti" +value = { field = "nborn_consti", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_consti", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_lowurine" +value = { field = "nborn_lowurine", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_lowurine", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_jaund" +value = { field = "nborn_jaund", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_jaund", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_skinpallor" +value = { field = "nborn_skinpallor", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_skinpallor", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_ftt" +value = { field = "nborn_ftt", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_ftt", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_hypotonia" +value = { field = "nborn_hypotonia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_hypotonia", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_bulgefont" +value = { field = "nborn_bulgefont", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_bulgefont", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_hypotherm" +value = { field = "nborn_hypotherm", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_hypotherm", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_feedingdiff" +value = { field = "nborn_feedingdiff", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_feedingdiff", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_hepatomegally" +value = { field = "nborn_hepatomegally", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_hepatomegally", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_anaemia" +value = { field = "nborn_anaemia", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_anaemia", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_seizconv" +value = { field = "nborn_seizconv", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_seizconv", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_keratitis" +value = { field = "nborn_keratitis", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_keratitis", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_conjunctiv" +value = { field = "nborn_conjunctiv", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_conjunctiv", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_ocularother" +value = { field = "nborn_ocularother", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_ocularother", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_ocularother_spec" +attribute_status = { field = "nborn_ocularother_spec", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value] +field = "nborn_ocularother_spec" + +[long.value.if] +all = [ + { nborn_ocularother_spec = { "!=" = "UNK" } }, + { nborn_ocularother_spec = { "!=" = "NI" } }, + { nborn_ocularother_spec = { "!=" = "NASK" } }, + { nborn_ocularother_spec = { "!=" = "NA" } }, + { nborn_ocularother_spec = { "!=" = "" } }, +] + +[[long]] +attribute = "nborn_lymph" +attribute_status = { field = "nborn_lymph", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value] +field = "nborn_lymph" +values = { 1 = "Yes-painful", 2 = "Yes-not painful", 0 = "No", 99 = "Unknown" } + +[[long]] +attribute = "nborn_lymph_site" +value = { field = "nborn_lymph_site___1", values = { 1 = "Axillary (arm pits)" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_lymph_site" +value = { field = "nborn_lymph_site___2", values = { 1 = "Cervical (neck)" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_lymph_site" +value = { field = "nborn_lymph_site___3", values = { 1 = "Inguinal (groin)" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_lymph_site" +value = { field = "nborn_lymph_site___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_lymph_site" +value = { field = "nborn_lymph_site___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_lymph_site" +attribute_status = { field = "nborn_lymph_site___unk", values = { 1 = "UNK" } } +if = { nborn_lymph_site___unk = 1 } +ref = "neonate" + +[[long]] +attribute = "nborn_lymph_site" +attribute_status = { field = "nborn_lymph_site___ni", values = { 1 = "NI" } } +if = { nborn_lymph_site___ni = 1 } +ref = "neonate" + +[[long]] +attribute = "nborn_lymph_site" +attribute_status = { field = "nborn_lymph_site___nask", values = { 1 = "NASK" } } +if = { nborn_lymph_site___nask = 1 } +ref = "neonate" + +[[long]] +attribute = "nborn_lymph_site" +attribute_status = { field = "nborn_lymph_site___na", values = { 1 = "NA" } } +if = { nborn_lymph_site___na = 1 } +ref = "neonate" + +[[long]] +attribute = "nborn_lymph_site_oth" +attribute_status = { field = "nborn_lymph_site_oth", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value] +field = "nborn_lymph_site_oth" + +[long.value.if] +all = [ + { nborn_lymph_site_oth = { "!=" = "UNK" } }, + { nborn_lymph_site_oth = { "!=" = "NI" } }, + { nborn_lymph_site_oth = { "!=" = "NASK" } }, + { nborn_lymph_site_oth = { "!=" = "NA" } }, + { nborn_lymph_site_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "nborn_haemorrhag" +value = { field = "nborn_haemorrhag", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_haemorrhag", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_haemorrhag_site" +value = { field = "nborn_haemorrhag_site___1", values = { 1 = "Skin" }, can_skip = true } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_haemorrhag_site" +value = { field = "nborn_haemorrhag_site___2", values = { 1 = "Petechiae" }, can_skip = true } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_haemorrhag_site" +value = { field = "nborn_haemorrhag_site___3", values = { 1 = "Nose" }, can_skip = true } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_haemorrhag_site" +value = { field = "nborn_haemorrhag_site___4", values = { 1 = "Gums" }, can_skip = true } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_haemorrhag_site" +value = { field = "nborn_haemorrhag_site___5", values = { 1 = "GI tract" }, can_skip = true } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_haemorrhag_site" +value = { field = "nborn_haemorrhag_site___6", values = { 1 = "Urinary tract" }, can_skip = true } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_haemorrhag_site" +value = { field = "nborn_haemorrhag_site___7", values = { 1 = "Vagina" }, can_skip = true } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_haemorrhag_site" +attribute_status = { field = "nborn_haemorrhag_site___unk", values = { 1 = "UNK" } } +if = { nborn_haemorrhag_site___unk = 1 } +ref = "neonate" + +[[long]] +attribute = "nborn_haemorrhag_site" +attribute_status = { field = "nborn_haemorrhag_site___ni", values = { 1 = "NI" } } +if = { nborn_haemorrhag_site___ni = 1 } +ref = "neonate" + +[[long]] +attribute = "nborn_haemorrhag_site" +attribute_status = { field = "nborn_haemorrhag_site___nask", values = { 1 = "NASK" } } +if = { nborn_haemorrhag_site___nask = 1 } +ref = "neonate" + +[[long]] +attribute = "nborn_haemorrhag_site" +attribute_status = { field = "nborn_haemorrhag_site___na", values = { 1 = "NA" } } +if = { nborn_haemorrhag_site___na = 1 } +ref = "neonate" + +[[long]] +attribute = "nborn_haemorrhag_site" +attribute_status = { field = "nborn_haemorrhag_site_otherl2", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value] +field = "nborn_haemorrhag_site_otherl2" +can_skip = true + +[long.value.values] +1 = "Skin" +2 = "Petechiae" +3 = "Nose" +4 = "Gums" +5 = "GI tract" +6 = "Urinary tract" +7 = "Vagina" +8 = "Intracranial" +9 = "Intraspinal" +10 = "Intraocular" +11 = "Retroperitoneal" +12 = "Intra-articular" +13 = "Pericardial" +14 = "Intramuscular (with compartment syndrome)" +15 = "IV catheter site" + +[[long]] +attribute = "nborn_haemorrhag_site" +value = { field = "nborn_haemorrhag_site_otherl3", can_skip = true } +attribute_status = { field = "nborn_haemorrhag_site_otherl3", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_haemorrhag_site_oth" +attribute_status = { field = "nborn_haemorrhag_site_oth", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value] +field = "nborn_haemorrhag_site_oth" + +[long.value.if] +all = [ + { nborn_haemorrhag_site_oth = { "!=" = "UNK" } }, + { nborn_haemorrhag_site_oth = { "!=" = "NI" } }, + { nborn_haemorrhag_site_oth = { "!=" = "NASK" } }, + { nborn_haemorrhag_site_oth = { "!=" = "NA" } }, + { nborn_haemorrhag_site_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "nborn_other" +value = { field = "nborn_other", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_other", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_other_spec" +attribute_status = { field = "nborn_other_spec", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value] +field = "nborn_other_spec" + +[long.value.if] +all = [ + { nborn_other_spec = { "!=" = "UNK" } }, + { nborn_other_spec = { "!=" = "NI" } }, + { nborn_other_spec = { "!=" = "NASK" } }, + { nborn_other_spec = { "!=" = "NA" } }, + { nborn_other_spec = { "!=" = "" } }, +] + +[[long]] +attribute = "nborn_imaging" +attribute_status = { field = "nborn_imaging", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value] +field = "nborn_imaging" +values = { 1 = "Cranial ultrasound", 2 = "MRI", 88 = "Other", 0 = "None" } + +[[long]] +attribute = "nborn_imaging_oth" +attribute_status = { field = "nborn_imaging_oth", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value] +field = "nborn_imaging_oth" + +[long.value.if] +all = [ + { nborn_imaging_oth = { "!=" = "UNK" } }, + { nborn_imaging_oth = { "!=" = "NI" } }, + { nborn_imaging_oth = { "!=" = "NASK" } }, + { nborn_imaging_oth = { "!=" = "NA" } }, + { nborn_imaging_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "nborn_imaging_res" +value = { field = "nborn_imaging_res", values = { 1 = "Normal findings", 2 = "Abnormal findings" } } +attribute_status = { field = "nborn_imaging_res", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_imaging_res_det" +attribute_status = { field = "nborn_imaging_res_det", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value] +field = "nborn_imaging_res_det" + +[long.value.if] +all = [ + { nborn_imaging_res_det = { "!=" = "UNK" } }, + { nborn_imaging_res_det = { "!=" = "NI" } }, + { nborn_imaging_res_det = { "!=" = "NASK" } }, + { nborn_imaging_res_det = { "!=" = "NA" } }, + { nborn_imaging_res_det = { "!=" = "" } }, +] + +[[long]] +attribute = "nborn_conginfectyn" +value = { field = "nborn_conginfectyn", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_conginfectyn", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_conginfecttype" +value = { field = "nborn_conginfecttype___1", values = { 1 = "CMV" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_conginfecttype" +value = { field = "nborn_conginfecttype___2", values = { 1 = "Syphilis" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_conginfecttype" +value = { field = "nborn_conginfecttype___3", values = { 1 = "Toxoplasmosis" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_conginfecttype" +value = { field = "nborn_conginfecttype___4", values = { 1 = "HIV" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_conginfecttype" +value = { field = "nborn_conginfecttype___5", values = { 1 = "HCV" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_conginfecttype" +value = { field = "nborn_conginfecttype___6", values = { 1 = "HBV" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_conginfecttype" +value = { field = "nborn_conginfecttype___7", values = { 1 = "HSV-1" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_conginfecttype" +value = { field = "nborn_conginfecttype___8", values = { 1 = "HSV-2" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_conginfecttype" +value = { field = "nborn_conginfecttype___99", values = { 1 = "Unknown" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_conginfecttype" +value = { field = "nborn_conginfecttype___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "neonate" + +[[long]] +attribute = "nborn_conginfecttype" +attribute_status = { field = "nborn_conginfecttype___unk", values = { 1 = "UNK" } } +if = { nborn_conginfecttype___unk = 1 } +ref = "neonate" + +[[long]] +attribute = "nborn_conginfecttype" +attribute_status = { field = "nborn_conginfecttype___ni", values = { 1 = "NI" } } +if = { nborn_conginfecttype___ni = 1 } +ref = "neonate" + +[[long]] +attribute = "nborn_conginfecttype" +attribute_status = { field = "nborn_conginfecttype___nask", values = { 1 = "NASK" } } +if = { nborn_conginfecttype___nask = 1 } +ref = "neonate" + +[[long]] +attribute = "nborn_conginfecttype" +attribute_status = { field = "nborn_conginfecttype___na", values = { 1 = "NA" } } +if = { nborn_conginfecttype___na = 1 } +ref = "neonate" + +[[long]] +attribute = "nborn_conginfectother" +attribute_status = { field = "nborn_conginfectother", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value] +field = "nborn_conginfectother" + +[long.value.if] +all = [ + { nborn_conginfectother = { "!=" = "UNK" } }, + { nborn_conginfectother = { "!=" = "NI" } }, + { nborn_conginfectother = { "!=" = "NASK" } }, + { nborn_conginfectother = { "!=" = "NA" } }, + { nborn_conginfectother = { "!=" = "" } }, +] + +[[long]] +attribute = "nborn_breastfed" +value = { field = "nborn_breastfed", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_breastfed", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_breastfed_status" +attribute_status = { field = "nborn_breastfed_status", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value] +field = "nborn_breastfed_status" +values = { 1 = "Currently breastfed", 0 = "Breastfeeding discontinued" } + +[[long]] +attribute = "nborn_breastfed_dur" +attribute_status = { field = "nborn_breastfed_dur", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value_num] +field = "nborn_breastfed_dur" + +[long.value_num.if] +all = [ + { nborn_breastfed_dur = { "!=" = "UNK" } }, + { nborn_breastfed_dur = { "!=" = "NI" } }, + { nborn_breastfed_dur = { "!=" = "NASK" } }, + { nborn_breastfed_dur = { "!=" = "NA" } }, + { nborn_breastfed_dur = { "!=" = "" } }, +] + +[[long]] +attribute = "nborn_labtestyn" +value = { field = "nborn_labtestyn", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_labtestyn", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_specimen" +attribute_status = { field = "nborn_specimen", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value] +field = "nborn_specimen" + +[long.value.values] +1 = "Amniotic fluid" +2 = "Cord blood during pregnancy" +3 = "Cord blood after delivery" +4 = "Placental sample during pregnancy" +5 = "Placental sample after delivery" +6 = "Skin lesion" +7 = "Blood" +8 = "Nasopharyngeal swab" +9 = "Urine" +88 = "Other" + +[[long]] +attribute = "nborn_specimenother" +attribute_status = { field = "nborn_specimenother", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value] +field = "nborn_specimenother" + +[long.value.if] +all = [ + { nborn_specimenother = { "!=" = "UNK" } }, + { nborn_specimenother = { "!=" = "NI" } }, + { nborn_specimenother = { "!=" = "NASK" } }, + { nborn_specimenother = { "!=" = "NA" } }, + { nborn_specimenother = { "!=" = "" } }, +] + +[[long]] +attribute = "nborn_labmethod" +attribute_status = { field = "nborn_labmethod", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value] +field = "nborn_labmethod" +values = { 1 = "PCR", 2 = "Ortho PCR", 3 = "Serology", 999 = "Other" } + +[[long]] +attribute = "nborn_pcrres" +value = { field = "nborn_pcrres", values = { 1 = "Positive", 0 = "Negative" } } +attribute_status = { field = "nborn_pcrres", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_pcrct" +attribute_status = { field = "nborn_pcrct", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value_num] +field = "nborn_pcrct" + +[long.value_num.if] +all = [ + { nborn_pcrct = { "!=" = "UNK" } }, + { nborn_pcrct = { "!=" = "NI" } }, + { nborn_pcrct = { "!=" = "NASK" } }, + { nborn_pcrct = { "!=" = "NA" } }, + { nborn_pcrct = { "!=" = "" } }, +] + +[[long]] +attribute = "nborn_motherincl" +value = { field = "nborn_motherincl", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "nborn_motherincl", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[[long]] +attribute = "nborn_motherpin" +attribute_status = { field = "nborn_motherpin", apply = { function = "attribute_status_fill" } } +ref = "neonate" + +[long.value] +field = "nborn_motherpin" + +[long.value.if] +all = [ + { nborn_motherpin = { "!=" = "UNK" } }, + { nborn_motherpin = { "!=" = "NI" } }, + { nborn_motherpin = { "!=" = "NASK" } }, + { nborn_motherpin = { "!=" = "NA" } }, + { nborn_motherpin = { "!=" = "" } }, +] + +[[long]] +attribute = "follow_date" +attribute_status = { field = "follow_date", apply = { function = "attribute_status_fill" } } +ref = "follow_up" + +[long.value] +field = "follow_date" + +[long.value.if] +all = [ + { follow_date = { "!=" = "UNK" } }, + { follow_date = { "!=" = "NI" } }, + { follow_date = { "!=" = "NASK" } }, + { follow_date = { "!=" = "NA" } }, + { follow_date = { "!=" = "" } }, +] + +[[long]] +attribute = "follow_outcome" +attribute_status = { field = "follow_outcome", apply = { function = "attribute_status_fill" } } +ref = "follow_up" + +[long.value] +field = "follow_outcome" + +[long.value.values] +3 = "Death" +4 = "Discharged alive - medical grounds" +5 = "Discharged alive - patient's preference" +6 = "Early withdrawal" +7 = "Loss to follow-up" +12 = "Still hospitalised" +13 = "Transfer to other facility" + +[[long]] +attribute = "follow_outcome" +attribute_status = { field = "follow_outcome_otherl2", apply = { function = "attribute_status_fill" } } +ref = "follow_up" + +[long.value] +field = "follow_outcome_otherl2" +can_skip = true + +[long.value.values] +1 = "All lesions are completely resolved and no serious complications" +2 = "All lesions are no longer active and no serious complications" +3 = "Death" +4 = "Discharged alive - medical grounds" +5 = "Discharged alive - patient's preference" +6 = "Early withdrawal" +7 = "Loss to follow-up" +8 = "No lesions ever developed and no serious complications" +9 = "One or more lesion(s) are active and no serious complications" +10 = "Palliative Care" +11 = "Serious complication and/or re-hospitalisation due to infection with pathogen of interest" +12 = "Still hospitalised" +13 = "Transfer to other facility" + +[[long]] +attribute = "follow_outcome" +value = { field = "follow_outcome_otherl3", can_skip = true } +attribute_status = { field = "follow_outcome_otherl3", apply = { function = "attribute_status_fill" } } +ref = "follow_up" + +[[long]] +attribute = "follow_outcome_date" +attribute_status = { field = "follow_outcome_date", apply = { function = "attribute_status_fill" } } +ref = "follow_up" + +[long.value] +field = "follow_outcome_date" + +[long.value.if] +all = [ + { follow_outcome_date = { "!=" = "UNK" } }, + { follow_outcome_date = { "!=" = "NI" } }, + { follow_outcome_date = { "!=" = "NASK" } }, + { follow_outcome_date = { "!=" = "NA" } }, + { follow_outcome_date = { "!=" = "" } }, +] + +[[long]] +attribute = "follow_outcome_reas" +attribute_status = { field = "follow_outcome_reas", apply = { function = "attribute_status_fill" } } +ref = "follow_up" + +[long.value] +field = "follow_outcome_reas" + +[long.value.if] +all = [ + { follow_outcome_reas = { "!=" = "UNK" } }, + { follow_outcome_reas = { "!=" = "NI" } }, + { follow_outcome_reas = { "!=" = "NASK" } }, + { follow_outcome_reas = { "!=" = "NA" } }, + { follow_outcome_reas = { "!=" = "" } }, +] + +[[long]] +attribute = "follow_skindamage" +value = { field = "follow_skindamage", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "follow_skindamage", apply = { function = "attribute_status_fill" } } +ref = "follow_up" + +[[long]] +attribute = "follow_skindamage_type" +value = { field = "follow_skindamage_type___1", values = { 1 = "Atrophic scars" } } +attribute_status = "VAL" +ref = "follow_up" + +[[long]] +attribute = "follow_skindamage_type" +value = { field = "follow_skindamage_type___2", values = { 1 = "Hypertrophic scars" } } +attribute_status = "VAL" +ref = "follow_up" + +[[long]] +attribute = "follow_skindamage_type" +value = { field = "follow_skindamage_type___3", values = { 1 = "Deformities" } } +attribute_status = "VAL" +ref = "follow_up" + +[[long]] +attribute = "follow_skindamage_type" +value = { field = "follow_skindamage_type___4", values = { 1 = "Hypopigmentation" } } +attribute_status = "VAL" +ref = "follow_up" + +[[long]] +attribute = "follow_skindamage_type" +value = { field = "follow_skindamage_type___5", values = { 1 = "Hyperpigmentation" } } +attribute_status = "VAL" +ref = "follow_up" + +[[long]] +attribute = "follow_skindamage_type" +value = { field = "follow_skindamage_type___6", values = { 1 = "Contractures" } } +attribute_status = "VAL" +ref = "follow_up" + +[[long]] +attribute = "follow_skindamage_type" +value = { field = "follow_skindamage_type___88", values = { 1 = "Other" } } +attribute_status = "VAL" +ref = "follow_up" + +[[long]] +attribute = "follow_skindamage_type" +attribute_status = { field = "follow_skindamage_type___unk", values = { 1 = "UNK" } } +if = { follow_skindamage_type___unk = 1 } +ref = "follow_up" + +[[long]] +attribute = "follow_skindamage_type" +attribute_status = { field = "follow_skindamage_type___ni", values = { 1 = "NI" } } +if = { follow_skindamage_type___ni = 1 } +ref = "follow_up" + +[[long]] +attribute = "follow_skindamage_type" +attribute_status = { field = "follow_skindamage_type___nask", values = { 1 = "NASK" } } +if = { follow_skindamage_type___nask = 1 } +ref = "follow_up" + +[[long]] +attribute = "follow_skindamage_type" +attribute_status = { field = "follow_skindamage_type___na", values = { 1 = "NA" } } +if = { follow_skindamage_type___na = 1 } +ref = "follow_up" + +[[long]] +attribute = "follow_skindamage_type_oth" +attribute_status = { field = "follow_skindamage_type_oth", apply = { function = "attribute_status_fill" } } +ref = "follow_up" + +[long.value] +field = "follow_skindamage_type_oth" + +[long.value.if] +all = [ + { follow_skindamage_type_oth = { "!=" = "UNK" } }, + { follow_skindamage_type_oth = { "!=" = "NI" } }, + { follow_skindamage_type_oth = { "!=" = "NASK" } }, + { follow_skindamage_type_oth = { "!=" = "NA" } }, + { follow_skindamage_type_oth = { "!=" = "" } }, +] + +[[long]] +attribute = "follow_seque" +value = { field = "follow_seque", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "follow_seque", apply = { function = "attribute_status_fill" } } +ref = "follow_up" + +[[long]] +attribute = "follow_seque_type" +value = { field = "follow_seque_type___1", values = { 1 = "Blindness" }, can_skip = true } +attribute_status = "VAL" +ref = "follow_up" + +[[long]] +attribute = "follow_seque_type" +value = { field = "follow_seque_type___3", values = { 1 = "Decreased vision" }, can_skip = true } +attribute_status = "VAL" +ref = "follow_up" + +[[long]] +attribute = "follow_seque_type" +value = { field = "follow_seque_type___4", values = { 1 = "Depression" }, can_skip = true } +attribute_status = "VAL" +ref = "follow_up" + +[[long]] +attribute = "follow_seque_type" +value = { field = "follow_seque_type___5", values = { 1 = "Dyspareunia" }, can_skip = true } +attribute_status = "VAL" +ref = "follow_up" + +[[long]] +attribute = "follow_seque_type" +value = { field = "follow_seque_type___9", values = { 1 = "Rectal stricture" }, can_skip = true } +attribute_status = "VAL" +ref = "follow_up" + +[[long]] +attribute = "follow_seque_type" +value = { field = "follow_seque_type___12", values = { 1 = "Urethral stricture" }, can_skip = true } +attribute_status = "VAL" +ref = "follow_up" + +[[long]] +attribute = "follow_seque_type" +value = { field = "follow_seque_type___13", values = { 1 = "Vaginal stricture" }, can_skip = true } +attribute_status = "VAL" +ref = "follow_up" + +[[long]] +attribute = "follow_seque_type" +attribute_status = { field = "follow_seque_type___unk", values = { 1 = "UNK" } } +if = { follow_seque_type___unk = 1 } +ref = "follow_up" + +[[long]] +attribute = "follow_seque_type" +attribute_status = { field = "follow_seque_type___ni", values = { 1 = "NI" } } +if = { follow_seque_type___ni = 1 } +ref = "follow_up" + +[[long]] +attribute = "follow_seque_type" +attribute_status = { field = "follow_seque_type___nask", values = { 1 = "NASK" } } +if = { follow_seque_type___nask = 1 } +ref = "follow_up" + +[[long]] +attribute = "follow_seque_type" +attribute_status = { field = "follow_seque_type___na", values = { 1 = "NA" } } +if = { follow_seque_type___na = 1 } +ref = "follow_up" + +[[long]] +attribute = "follow_seque_type" +attribute_status = { field = "follow_seque_type_otherl2", apply = { function = "attribute_status_fill" } } +ref = "follow_up" + +[long.value] +field = "follow_seque_type_otherl2" +can_skip = true + +[long.value.values] +1 = "Blindness" +2 = "Cardiovascular Effects" +3 = "Decreased vision" +4 = "Depression" +5 = "Dyspareunia" +6 = "Immunological Consequence" +7 = "Neurological Complications" +8 = "Psychological Impacts" +9 = "Rectal stricture" +10 = "Respiratory Complications" +11 = "Systemic Effects" +12 = "Urethral stricture" +13 = "Vaginal stricture" + +[[long]] +attribute = "follow_seque_type" +value = { field = "follow_seque_type_otherl3", can_skip = true } +attribute_status = { field = "follow_seque_type_otherl3", apply = { function = "attribute_status_fill" } } +ref = "follow_up" + +[[long]] +attribute = "follow_barthel" +value = { field = "follow_barthel", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "follow_barthel", apply = { function = "attribute_status_fill" } } +ref = "follow_up" + +[[long]] +attribute = "follow_barthel_feeding" +attribute_status = { field = "follow_barthel_feeding", apply = { function = "attribute_status_fill" } } +ref = "follow_up" + +[long.value] +field = "follow_barthel_feeding" + +[long.value.values] +1 = "Independent" +2 = "Needs some help" +3 = "Needs extensive help" +4 = "Unable to feed oneself" + +[[long]] +attribute = "follow_barthel_bathing" +attribute_status = { field = "follow_barthel_bathing", apply = { function = "attribute_status_fill" } } +ref = "follow_up" + +[long.value] +field = "follow_barthel_bathing" + +[long.value.values] +1 = "Independent" +2 = "Needs some help" +3 = "Needs extensive help" +4 = "Unable to bathe oneself" + +[[long]] +attribute = "follow_barthel_grooming" +attribute_status = { field = "follow_barthel_grooming", apply = { function = "attribute_status_fill" } } +ref = "follow_up" + +[long.value] +field = "follow_barthel_grooming" + +[long.value.values] +1 = "Independent" +2 = "Needs some help" +3 = "Needs extensive help" +4 = "Unable to groom oneself" + +[[long]] +attribute = "follow_barthel_dressing" +attribute_status = { field = "follow_barthel_dressing", apply = { function = "attribute_status_fill" } } +ref = "follow_up" + +[long.value] +field = "follow_barthel_dressing" + +[long.value.values] +1 = "Independent" +2 = "Needs some help" +3 = "Needs extensive help" +4 = "Unable to dress oneself" + +[[long]] +attribute = "follow_barthel_bowel" +attribute_status = { field = "follow_barthel_bowel", apply = { function = "attribute_status_fill" } } +ref = "follow_up" + +[long.value] +field = "follow_barthel_bowel" +values = { 1 = "Continent", 2 = "Occasional incontinence", 3 = "Frequent incontinence", 4 = "Incontinent" } + +[[long]] +attribute = "follow_barthel_bladder" +attribute_status = { field = "follow_barthel_bladder", apply = { function = "attribute_status_fill" } } +ref = "follow_up" + +[long.value] +field = "follow_barthel_bladder" +values = { 1 = "Continent", 2 = "Occasional incontinence", 3 = "Frequent incontinence", 4 = "Incontinent" } + +[[long]] +attribute = "follow_barthel_toilet" +attribute_status = { field = "follow_barthel_toilet", apply = { function = "attribute_status_fill" } } +ref = "follow_up" + +[long.value] +field = "follow_barthel_toilet" + +[long.value.values] +1 = "Independent" +2 = "Needs some help" +3 = "Needs extensive help" +4 = "Unable to use the toilet" + +[[long]] +attribute = "follow_barthel_transfer" +attribute_status = { field = "follow_barthel_transfer", apply = { function = "attribute_status_fill" } } +ref = "follow_up" + +[long.value] +field = "follow_barthel_transfer" +values = { 1 = "Independent", 2 = "Needs some help", 3 = "Needs extensive help", 4 = "Unable to transfer" } + +[[long]] +attribute = "follow_barthel_walking" +attribute_status = { field = "follow_barthel_walking", apply = { function = "attribute_status_fill" } } +ref = "follow_up" + +[long.value] +field = "follow_barthel_walking" + +[long.value.values] +1 = "Independent" +2 = "Needs some help" +3 = "Uses a wheelchair independently" +4 = "Unable to walk" + +[[long]] +attribute = "follow_barthel_stairs" +attribute_status = { field = "follow_barthel_stairs", apply = { function = "attribute_status_fill" } } +ref = "follow_up" + +[long.value] +field = "follow_barthel_stairs" +values = { 1 = "Independent", 2 = "Needs some help", 3 = "Unable to use stairs" } + +[[long]] +attribute = "withd_date" +attribute_status = { field = "withd_date", apply = { function = "attribute_status_fill" } } +ref = "withdrawal" + +[long.value] +field = "withd_date" + +[long.value.if] +all = [ + { withd_date = { "!=" = "UNK" } }, + { withd_date = { "!=" = "NI" } }, + { withd_date = { "!=" = "NASK" } }, + { withd_date = { "!=" = "NA" } }, + { withd_date = { "!=" = "" } }, +] + +[[long]] +attribute = "withd_reas" +attribute_status = { field = "withd_reas", apply = { function = "attribute_status_fill" } } +ref = "withdrawal" + +[long.value] +field = "withd_reas" + +[long.value.if] +all = [ + { withd_reas = { "!=" = "UNK" } }, + { withd_reas = { "!=" = "NI" } }, + { withd_reas = { "!=" = "NASK" } }, + { withd_reas = { "!=" = "NA" } }, + { withd_reas = { "!=" = "" } }, +] + +[[long]] +attribute = "withd_active" +value = { field = "withd_active", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "withd_active", apply = { function = "attribute_status_fill" } } +ref = "withdrawal" + +[[long]] +attribute = "withd_datacoll" +value = { field = "withd_datacoll", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "withd_datacoll", apply = { function = "attribute_status_fill" } } +ref = "withdrawal" + +[[long]] +attribute = "withd_datasample" +value = { field = "withd_datasample", values = { 1 = "Yes", 0 = "No", 99 = "Unknown" } } +attribute_status = { field = "withd_datasample", apply = { function = "attribute_status_fill" } } +ref = "withdrawal" diff --git a/src/arc/__init__.py b/src/arc/__init__.py index 485f44a..d3ec452 100644 --- a/src/arc/__init__.py +++ b/src/arc/__init__.py @@ -1 +1 @@ -__version__ = "0.1.1" +__version__ = "0.2.0"