Skip to content

Instantly share code, notes, and snippets.

@denniskigen
Created February 25, 2020 19:34
Show Gist options
  • Save denniskigen/53375291fead3e14e3129d484f880562 to your computer and use it in GitHub Desktop.
Save denniskigen/53375291fead3e14e3129d484f880562 to your computer and use it in GitHub Desktop.
{
"name": "component_oncology-lab-results-v1.0",
"uuid": "xxxx",
"processor": "EncounterFormProcessor",
"pages": [
{
"label": "Test Results",
"sections": [
{
"label": "Prior VIA",
"isExpanded": "true",
"questions": [
{
"label": "Prior VIA:",
"type": "obs",
"required": "true",
"id": "priorviatest",
"questionOptions": {
"concept": "cf33d31f-b96b-4437-a6b8-ff5f43855f9b",
"rendering": "select",
"answers": [
{
"concept": "a899b42e-1350-11df-a1f1-0026b9348838",
"label": "No"
},
{
"concept": "a899b35c-1350-11df-a1f1-0026b9348838",
"label": "Yes"
}
]
},
"validators": []
},
{
"label": "Prior VIA result:",
"id": "priorviaresult",
"type": "obs",
"historicalExpression": "HD.getObject('prevEnc').getValue('f165c64a-9354-4145-9b06-4ee437630218')",
"questionOptions": {
"concept": "f165c64a-9354-4145-9b06-4ee437630218",
"rendering": "select",
"answers": [
{
"concept": "a896f3a6-1350-11df-a1f1-0026b9348838",
"label": "Positive"
},
{
"concept": "a896d2cc-1350-11df-a1f1-0026b9348838",
"label": "Negative"
}
],
"showDate": "true",
"shownDateOptions": {
"validators": [
{
"type": "date"
},
{
"type": "js_expression",
"failsWhenExpression": "isEmpty(priorviaresult) && isEmpty(myValue)",
"message": "Date result is required."
}
],
"hide": {
"hideWhenExpression": "isEmpty(priorviaresult)"
}
}
},
"validators": [],
"hide": {
"hideWhenExpression": "priorviatest !== 'a899b35c-1350-11df-a1f1-0026b9348838'"
}
}
]
},
{
"label": "Chemistry Lab Tests",
"isExpanded": "true",
"questions": [
{
"type": "obs",
"label": "Creatinine mmol/L:",
"id": "creatinine_test",
"questionOptions": {
"concept": "a897e450-1350-11df-a1f1-0026b9348838",
"rendering": "number",
"showDate": "true",
"max": "11050",
"min": "0",
"shownDateOptions": {
"validators": [
{
"type": "date"
},
{
"type": "js_expression",
"failsWhenExpression": "!isEmpty(creatinine_test) && isEmpty(myValue)",
"message": "Date is result is required."
}
],
"hde": {
"hideWhenExpression": "isEmpty(creatinine_test)"
}
}
},
"validators": []
},
{
"type": "obs",
"label": "SGPT(ALT):",
"id": "sgptalt_test",
"questionOptions": {
"concept": "a896ca48-1350-11df-a1f1-0026b9348838",
"rendering": "number",
"max": "3500",
"min": "0",
"showDate": "true",
"shownDateOptions": {
"validators": [
{
"type": "date"
},
{
"type": "js_expression",
"failsWhenExpression": "!isEmpty(sgptalt_test) && isEmpty(myValue)",
"message": "Date is result is required."
}
],
"hide": {
"hideWhenExpression": "isEmpty(sgptalt_test)"
}
}
},
"validators": []
},
{
"type": "obs",
"label": "AST:",
"id": "ast_test",
"questionOptions": {
"concept": "a896c8ae-1350-11df-a1f1-0026b9348838",
"rendering": "number",
"max": "3500",
"min": "0",
"showDate": "true"
},
"validators": [
{
"type": "date"
}
]
},
{
"label": "RBS mmol/L:",
"id": "rbs_test",
"type": "obs",
"questionOptions": {
"concept": "a898418e-1350-11df-a1f1-0026b9348838",
"answers": [],
"rendering": "number",
"max": "50",
"min": "0",
"showDate": "true",
"shownDateOptions": {
"validators": [
{
"type": "date"
},
{
"type": "js_expression",
"failsWhenExpression": "!isEmpty(rbs_test) && isEmpty(myValue)",
"message": "Date is result is required."
}
],
"hde": {
"hideWhenExpression": "isEmpty(rbs_test)"
}
}
}
},
{
"label": "FBS mmol/L:",
"id": "fbs_test",
"type": "obs",
"questionOptions": {
"concept": "a8b018fe-1350-11df-a1f1-0026b9348838",
"answers": [],
"rendering": "number",
"max": "50",
"min": "0",
"showDate": "true",
"shownDateOptions": {
"validators": [
{
"type": "date"
},
{
"type": "js_expression",
"failsWhenExpression": "!isEmpty(fbs_test) && isEmpty(myValue)",
"message": "Date is result is required."
}
],
"hde": {
"hideWhenExpression": "isEmpty(fbs_test)"
}
}
}
},
{
"label": "HbA1C %:",
"id": "a1c_test",
"type": "obs",
"questionOptions": {
"concept": "a8af7520-1350-11df-a1f1-0026b9348838",
"answers": [],
"rendering": "number",
"max": "20",
"min": "0",
"showDate": "true",
"shownDateOptions": {
"validators": [
{
"type": "date"
},
{
"type": "js_expression",
"failsWhenExpression": "!isEmpty(a1c_test) && isEmpty(myValue)",
"message": "Date is result is required."
}
],
"hde": {
"hideWhenExpression": "isEmpty(a1c_test)"
}
}
}
},
{
"label": "LDL mmol/L:",
"id": "ldl_test",
"type": "obs",
"questionOptions": {
"concept": "a898e74c-1350-11df-a1f1-0026b9348838",
"answers": [],
"rendering": "number",
"max": "75",
"min": "0",
"showDate": "true",
"shownDateOptions": {
"validators": [
{
"type": "date"
},
{
"type": "js_expression",
"failsWhenExpression": "!isEmpty(ldl_test) && isEmpty(myValue)",
"message": "Date is result is required."
}
],
"hde": {
"hideWhenExpression": "isEmpty(ldl_test)"
}
}
}
},
{
"label": "HDL mmol/L:",
"id": "hdl_test",
"type": "obs",
"questionOptions": {
"concept": "a898e602-1350-11df-a1f1-0026b9348838",
"answers": [],
"rendering": "number",
"max": "15",
"min": "0",
"showDate": "true",
"shownDateOptions": {
"validators": [
{
"type": "date"
},
{
"type": "js_expression",
"failsWhenExpression": "!isEmpty(hdl_test) && isEmpty(myValue)",
"message": "Date is result is required."
}
],
"hde": {
"hideWhenExpression": "isEmpty(hdl_test)"
}
}
}
},
{
"label": "TG mmol/L:",
"id": "tg_test",
"type": "obs",
"questionOptions": {
"concept": "a898e8a0-1350-11df-a1f1-0026b9348838",
"answers": [],
"rendering": "number",
"max": "55",
"min": "0",
"showDate": "true",
"shownDateOptions": {
"validators": [
{
"type": "date"
},
{
"type": "js_expression",
"failsWhenExpression": "!isEmpty(tg_test) && isEmpty(myValue)",
"message": "Date is result is required."
}
],
"hde": {
"hideWhenExpression": "isEmpty(tg_test)"
}
}
}
},
{
"label": "Cholesterol mmol/L:",
"id": "chol_test",
"type": "obs",
"questionOptions": {
"concept": "a898e4b8-1350-11df-a1f1-0026b9348838",
"answers": [],
"rendering": "number",
"max": "100",
"min": "0",
"showDate": "true",
"shownDateOptions": {
"validators": [
{
"type": "date"
},
{
"type": "js_expression",
"failsWhenExpression": "!isEmpty(chol_test) && isEmpty(myValue)",
"message": "Date is result is required."
}
],
"hde": {
"hideWhenExpression": "isEmpty(chol_test)"
}
}
}
},
{
"label": "Microalbumin test, Urine mg/L:",
"id": "microAlb_test",
"type": "obs",
"questionOptions": {
"concept": "7129af13-e39a-43b0-9923-6d1de22c9c5e",
"answers": [],
"rendering": "number",
"max": "300",
"min": "30",
"showDate": "true",
"shownDateOptions": {
"validators": [
{
"type": "date"
},
{
"type": "js_expression",
"failsWhenExpression": "!isEmpty(microAlb_test) && isEmpty(myValue)",
"message": "Date is result is required."
}
],
"hde": {
"hideWhenExpression": "isEmpty(microAlb_test)"
}
}
}
},
{
"label": "Urea mmol/L:",
"id": "urea_test",
"type": "obs",
"questionOptions": {
"concept": "a8982550-1350-11df-a1f1-0026b9348838",
"answers": [],
"rendering": "number",
"max": "330",
"min": "0",
"showDate": "true",
"shownDateOptions": {
"validators": [
{
"type": "date"
},
{
"type": "js_expression",
"failsWhenExpression": "!isEmpty(urea_test) && isEmpty(myValue)",
"message": "Date is result is required."
}
],
"hde": {
"hideWhenExpression": "isEmpty(urea_test)"
}
}
}
}
]
},
{
"label": "CBC",
"isExpanded": "true",
"questions": [
{
"label": "RBC 10^6/µL:",
"id": "rbc_test",
"questionOptions": {
"concept": "a896df7e-1350-11df-a1f1-0026b9348838",
"rendering": "number",
"max": "100",
"min": "0",
"placeholder": "Indicate here RBC value"
},
"type": "obs",
"validators": []
},
{
"label": "Hgb g/dL:",
"id": "hgbgdl_test",
"questionOptions": {
"concept": "a8908a16-1350-11df-a1f1-0026b9348838",
"rendering": "number",
"max": "50",
"min": "0",
"placeholder": "Indicate here Hgb value"
},
"type": "obs",
"validators": []
},
{
"label": "MCV fL:",
"id": "mcv_test",
"questionOptions": {
"concept": "a898201e-1350-11df-a1f1-0026b9348838",
"rendering": "number",
"max": "500",
"min": "0",
"placeholder": "Indicate here MCV value"
},
"type": "obs",
"validators": []
},
{
"label": "MCH pg:",
"id": "mch_test",
"questionOptions": {
"concept": "a898f426-1350-11df-a1f1-0026b9348838",
"rendering": "number",
"max": "100",
"min": "0",
"placeholder": "Indicate here MCH value"
},
"type": "obs",
"validators": []
},
{
"label": "MCHC g/dL:",
"id": "mchc_test",
"questionOptions": {
"concept": "a898f2e6-1350-11df-a1f1-0026b9348838",
"rendering": "number",
"max": "100",
"min": "0",
"placeholder": "Indicate here MCHC value"
},
"type": "obs",
"validators": []
},
{
"label": "RDW %:",
"id": "rdw_test",
"questionOptions": {
"concept": "a898f19c-1350-11df-a1f1-0026b9348838",
"rendering": "number",
"max": "50",
"min": "0",
"placeholder": "Indicate here RDW value"
},
"type": "obs",
"validators": []
},
{
"type": "obs",
"label": "Platelets 10^3/µL:",
"id": "platelets_test",
"questionOptions": {
"concept": "a8970954-1350-11df-a1f1-0026b9348838",
"rendering": "number",
"max": "1500",
"min": "0",
"placeholder": "Indicate here platelets value"
},
"validators": []
},
{
"label": "WBC mm3:",
"id": "testWBCmm",
"questionOptions": {
"concept": "a896dea2-1350-11df-a1f1-0026b9348838",
"max": "500",
"min": "0",
"rendering": "number",
"placeholder": "Indicate here WBC value"
},
"type": "obs",
"validators": []
},
{
"label": "ANC mm3:",
"id": "ancmm_test",
"questionOptions": {
"concept": "a89c5224-1350-11df-a1f1-0026b9348838",
"rendering": "number",
"max": "500",
"min": "0",
"placeholder": "Indicate here ANC value"
},
"type": "obs",
"validators": []
}
]
},
{
"label": "UEC",
"isExpanded": "true",
"questions": [
{
"label": "Urea mmol/L:",
"id": "ureaTest",
"questionOptions": {
"concept": "a8af843e-1350-11df-a1f1-0026b9348838",
"rendering": "number",
"max": "100",
"min": "0",
"placeholder": "Indicate here urea value"
},
"type": "obs",
"validators": []
},
{
"label": "Creatinine U/L:",
"id": "cktestul",
"questionOptions": {
"concept": "a897e450-1350-11df-a1f1-0026b9348838",
"rendering": "number",
"max": "1150",
"min": "0",
"placeholder": "Indicate here creatinine value"
},
"type": "obs",
"validators": []
},
{
"label": "Sodium mmol/Lm3:",
"id": "sodium",
"questionOptions": {
"concept": "a899f5ec-1350-11df-a1f1-0026b9348838",
"max": "2000",
"min": "0",
"rendering": "number",
"placeholder": "Indicate here sodium value"
},
"type": "obs",
"validators": []
},
{
"label": "Potassium mmol/L:",
"type": "obs",
"id": "potassiummol/L",
"questionOptions": {
"concept": "a89a7418-1350-11df-a1f1-0026b9348838",
"rendering": "number",
"max": "50",
"min": "0",
"placeholder": "Indicate here potassium value"
},
"validators": []
},
{
"label": "Chloride mmol/L:",
"id": "chlorideTest",
"questionOptions": {
"concept": "a89a7544-1350-11df-a1f1-0026b9348838",
"rendering": "number",
"max": "600",
"min": "0",
"placeholder": "Indicate here chloride value"
},
"type": "obs",
"validators": []
}
]
},
{
"label": "CD4",
"questions": [
{
"type": "obs",
"id": "cd4_test",
"questionOptions": {
"concept": "a8a8bb18-1350-11df-a1f1-0026b9348838",
"showDate": "true",
"rendering": "number",
"shownDateOptions": {
"validators": [
{
"type": "date"
},
{
"type": "js_expression",
"failsWhenExpression": "!isEmpty(cd4_test) && isEmpty(myValue)",
"message": "Date is result is required."
}
],
"hide": {
"hideWhenExpression": "isEmpty(cd4_test)"
}
}
},
"label": "CD4 Count:",
"validators": []
},
{
"type": "obs",
"label": "CD4 %:",
"id": "cd4percent_test",
"questionOptions": {
"rendering": "number",
"max": "100",
"min": "0",
"showDate": "true",
"concept": "a8970a26-1350-11df-a1f1-0026b9348838",
"shownDateOptions": {
"validators": [
{
"type": "date"
},
{
"type": "js_expression",
"failsWhenExpression": "!isEmpty(cd4percent_test) && isEmpty(myValue)",
"message": "Date is result is required."
}
],
"hide": {
"hideWhenExpression": "isEmpty(cd4percent_test)"
}
}
},
"validators": []
}
]
},
{
"label": "Viral Load",
"isExpanded": "true",
"questions": [
{
"type": "obs",
"label": "Viral load:",
"id": "viralLoad_test",
"questionOptions": {
"concept": "a8982474-1350-11df-a1f1-0026b9348838",
"rendering": "number",
"max": "10000000",
"min": "0",
"showDate": "true",
"shownDateOptions": {
"validators": [
{
"type": "date"
},
{
"type": "js_expression",
"failsWhenExpression": "!isEmpty(viralLoad_test) && isEmpty(myValue)",
"message": "Viral load date is required."
}
],
"hide": {
"hideWhenExpression": "isEmpty(viralLoad_test)"
}
}
},
"validators": []
}
]
},
{
"label": "HIV Test",
"isExpanded": "true",
"questions": [
{
"label": "Rapid HIV:",
"type": "obs",
"id": "hivRapid",
"questionOptions": {
"concept": "a8999dfe-1350-11df-a1f1-0026b9348838",
"rendering": "select",
"answers": [
{
"concept": "a896f3a6-1350-11df-a1f1-0026b9348838",
"label": "Positive"
},
{
"concept": "a896d2cc-1350-11df-a1f1-0026b9348838",
"label": "Negative"
},
{
"concept": "a89a7ae4-1350-11df-a1f1-0026b9348838",
"label": "Indeterminate"
},
{
"concept": "a89c3d8e-1350-11df-a1f1-0026b9348838",
"label": "Poor sample quality"
},
{
"concept": "a899b50a-1350-11df-a1f1-0026b9348838",
"label": "Unknown"
},
{
"concept": "a899ea48-1350-11df-a1f1-0026b9348838",
"label": "Not done"
}
],
"showDate": "true",
"shownDateOptions": {
"validators": [
{
"type": "date"
},
{
"type": "js_expression",
"failsWhenExpression": "!isEmpty(hivRapid) && isEmpty(myValue)",
"message": "Date result is required."
}
],
"hide": {
"hideWhenExpression": "isEmpty(hivRapid)"
}
}
},
"validators": []
},
{
"label": "HIV Long Eliza:",
"type": "obs",
"questionOptions": {
"id": "longEliza",
"concept": "a8999fb6-1350-11df-a1f1-0026b9348838",
"answers": [
{
"concept": "a896f3a6-1350-11df-a1f1-0026b9348838",
"label": "Positive"
},
{
"concept": "a896d2cc-1350-11df-a1f1-0026b9348838",
"label": "Negative"
},
{
"concept": "a89a7ae4-1350-11df-a1f1-0026b9348838",
"label": "Indeterminate"
},
{
"concept": "a89c3d8e-1350-11df-a1f1-0026b9348838",
"label": "Poor sample quality"
},
{
"concept": "a899b50a-1350-11df-a1f1-0026b9348838",
"label": "Unknown"
},
{
"concept": "a899ea48-1350-11df-a1f1-0026b9348838",
"label": "Not done"
}
],
"showDate": "true",
"rendering": "select",
"shownDateOptions": {
"validators": [
{
"type": "date"
},
{
"type": "js_expression",
"failsWhenExpression": "!isEmpty(longEliza) && isEmpty(myValue)",
"message": "Date result is required."
}
],
"hide": {
"hideWhenExpression": "isEmpty(longEliza)"
}
}
},
"validators": []
},
{
"label": "HIV DNA PCR:",
"type": "obs",
"questionOptions": {
"id": "hivPcr",
"concept": "a898fe80-1350-11df-a1f1-0026b9348838",
"answers": [
{
"concept": "a896f3a6-1350-11df-a1f1-0026b9348838",
"label": "Positive"
},
{
"concept": "a896d2cc-1350-11df-a1f1-0026b9348838",
"label": "Negative"
},
{
"concept": "a89a7ae4-1350-11df-a1f1-0026b9348838",
"label": "Indeterminate"
},
{
"concept": "a89c3d8e-1350-11df-a1f1-0026b9348838",
"label": "Poor sample quality"
},
{
"concept": "a899ea48-1350-11df-a1f1-0026b9348838",
"label": "Not done"
}
],
"showDate": "true",
"rendering": "select",
"shownDateOptions": {
"validators": [
{
"type": "date"
},
{
"type": "js_expression",
"failsWhenExpression": "!isEmpty(hivPcr) && isEmpty(myValue)",
"message": "Date result is required."
}
],
"hide": {
"hideWhenExpression": "isEmpty(hivPcr)"
}
}
},
"validators": []
}
]
},
{
"label": "Other Test Results",
"questions": [
{
"label": "Total PSA:",
"type": "obs",
"id": "tPsa",
"questionOptions": {
"concept": "4704ab75-f5f5-428c-92f3-495362688c31",
"rendering": "number",
"min": "0",
"placeholder": "Indicate here total PSA value"
},
"validators": []
},
{
"label": "Carcinoembryonic antigen test (CEA):",
"type": "obs",
"id": "ceaTest",
"questionOptions": {
"concept": "82e187d0-d86d-4de6-9c66-9d3a0af465c9",
"rendering": "number",
"min": "0",
"placeholder": "Indicate here CEA value"
},
"validators": []
},
{
"label": "Carbohydrate antigen 19-9:",
"type": "obs",
"id": "caTest",
"questionOptions": {
"concept": "6ac0afd9-bdb7-4997-a2dc-f0a03b4b07f5",
"rendering": "number",
"min": "0",
"placeholder": "Indicate here CA 19-9 value"
},
"validators": []
}
]
},
{
"label": "HBE Results",
"isExpanded": "true",
"questions": [
{
"label": "Hemoglobin F%:",
"id": "hemoglobinF",
"type": "obs",
"questionOptions": {
"rendering": "number",
"concept": "5c439bb4-4b25-4e3a-8e03-ce1c8f9c1f52",
"max": "100",
"min": "0",
"placeholder": "Indicate here hemoglobin F% value"
},
"validators": []
},
{
"label": "Hemoglobin A%:",
"id": "hemoglobinA",
"type": "obs",
"questionOptions": {
"rendering": "number",
"concept": "bc67ddf5-9aef-435e-8f03-7f817e4b98a6",
"max": "100",
"min": "0",
"placeholder": "Indicate here hemoglobin A% value"
},
"validators": []
},
{
"label": "Hemoglobin S%:",
"id": "hemoglobinS",
"type": "obs",
"questionOptions": {
"rendering": "number",
"concept": "14b96fb0-83ac-420d-8295-b72e0331f4e2",
"max": "100",
"min": "0",
"placeholder": "Indicate here hemoglobin S% value"
},
"validators": []
},
{
"label": "Hemoglobin A2/C%:",
"id": "hemoglobinA2",
"type": "obs",
"questionOptions": {
"rendering": "number",
"concept": "c66b2f4c-87af-4de5-93a9-209141f167e4",
"max": "100",
"min": "0",
"placeholder": "Indicate here hemoglobin A2/C% value"
},
"validators": []
}
]
},
{
"label": "Retic Count",
"questions": [
{
"label": "Reticulocytes (%):",
"type": "obs",
"id": "reticCount",
"questionOptions": {
"concept": "a89c4fcc-1350-11df-a1f1-0026b9348838",
"max": "100",
"min": "0",
"rendering": "number",
"placeholder": "Indicate here reticulocytes % value"
},
"validators": []
}
]
},
{
"label": "Hepatic Function",
"isExpanded": "true",
"questions": [
{
"label": "Serum total bilirubin µmol/L:",
"type": "obs",
"id": "serumtotalBil",
"questionOptions": {
"concept": "a896cb2e-1350-11df-a1f1-0026b9348838",
"max": "2150",
"min": "0",
"rendering": "number",
"placeholder": "Indicate here serum total bilirubin value"
},
"validators": []
},
{
"label": "Serum direct bilirubin µmol/L:",
"type": "obs",
"id": "serumdirectbilirubin",
"questionOptions": {
"concept": "a89c3834-1350-11df-a1f1-0026b9348838",
"max": "2150",
"min": "0",
"rendering": "number",
"placeholder": "Indicate here serum direct bilirubin value"
},
"validators": []
},
{
"label": "Gamma-glutamyl transferase IU/L:",
"id": "gammaGlutamyl",
"questionOptions": {
"concept": "a8af72fa-1350-11df-a1f1-0026b9348838",
"rendering": "number",
"max": "500",
"min": "0",
"placeholder": "Indicate here GGT value"
},
"type": "obs",
"validators": []
},
{
"label": "Serum glutamic-oxaloacetic transaminase U/L:",
"type": "obs",
"id": "serumGlutamicOxaloactic",
"questionOptions": {
"concept": "a896c8ae-1350-11df-a1f1-0026b9348838",
"max": "3500",
"min": "0",
"rendering": "number",
"placeholder": "Indicate here AST value"
},
"validators": []
},
{
"label": "Serum glutamic-pyruvic transaminase U/L:",
"type": "obs",
"id": "serumGlutamicPyruvic",
"questionOptions": {
"concept": "a896ca48-1350-11df-a1f1-0026b9348838",
"max": "3500",
"min": "0",
"rendering": "number",
"placeholder": "Indicate here ALT value"
},
"validators": []
},
{
"label": "Serum total protein g/L:",
"type": "obs",
"id": "serumtotalprotein",
"questionOptions": {
"concept": "a896ff54-1350-11df-a1f1-0026b9348838",
"max": "750",
"min": "0",
"rendering": "number",
"placeholder": "Indicate here serum total protein value"
},
"validators": []
},
{
"label": "Serum albumin g/L:",
"id": "serumA",
"questionOptions": {
"concept": "a8981d8a-1350-11df-a1f1-0026b9348838",
"rendering": "number",
"max": "300",
"min": "0",
"placeholder": "Indicate here serum albumin value"
},
"type": "obs",
"validators": []
},
{
"label": "Serum alkaline phosphate U/L:",
"type": "obs",
"id": "serumAlkalinephos",
"questionOptions": {
"concept": "a897e018-1350-11df-a1f1-0026b9348838",
"max": "6000",
"min": "0",
"rendering": "number",
"placeholder": "Indicate here serum alkaline phosphate value"
},
"validators": []
},
{
"label": "Serum lactate dehydrogenase U/L:",
"id": "serumLactate",
"questionOptions": {
"concept": "a898ef08-1350-11df-a1f1-0026b9348838",
"rendering": "number",
"max": "5000",
"min": "0",
"placeholder": "Indicate here LDH value"
},
"type": "obs",
"validators": []
}
]
},
{
"label": "Urinalysis",
"questions": [
{
"label": "Urinalysis:",
"type": "obsGroup",
"questionOptions": {
"id": "urinalysis",
"concept": "a8a0aa9a-1350-11df-a1f1-0026b9348838",
"rendering": "group"
},
"questions": [
{
"label": "Pus cells:",
"id": "puscells_test",
"type": "obs",
"questionOptions": {
"concept": "a8a0a91e-1350-11df-a1f1-0026b9348838",
"rendering": "select",
"answers": [
{
"concept": "a896d2cc-1350-11df-a1f1-0026b9348838",
"label": "Negative"
},
{
"concept": "a896f3a6-1350-11df-a1f1-0026b9348838",
"label": "Positive(+)"
},
{
"concept": "a8a18fdc-1350-11df-a1f1-0026b9348838",
"label": "Strong positive (++)"
},
{
"concept": "a8a1909a-1350-11df-a1f1-0026b9348838",
"label": "Stronger positive (+++)"
}
]
}
},
{
"label": "Protein:",
"type": "obs",
"id": "protein_test",
"questionOptions": {
"concept": "a8a47ca6-1350-11df-a1f1-0026b9348838",
"rendering": "select",
"answers": [
{
"concept": "a896d2cc-1350-11df-a1f1-0026b9348838",
"label": "Negative"
},
{
"concept": "a896f3a6-1350-11df-a1f1-0026b9348838",
"label": "Positive(+)"
},
{
"concept": "a8a18fdc-1350-11df-a1f1-0026b9348838",
"label": "Strong positive (++)"
},
{
"concept": "a8a1909a-1350-11df-a1f1-0026b9348838",
"label": "Stronger positive (+++)"
}
]
},
"validators": []
},
{
"label": "Leucocytes:",
"type": "obs",
"id": "leucocytes_test",
"questionOptions": {
"concept": "a8b0f3e6-1350-11df-a1f1-0026b9348838",
"rendering": "select",
"answers": [
{
"concept": "a896d2cc-1350-11df-a1f1-0026b9348838",
"label": "Negative"
},
{
"concept": "a896f3a6-1350-11df-a1f1-0026b9348838",
"label": "Positive(+)"
},
{
"concept": "a8a18fdc-1350-11df-a1f1-0026b9348838",
"label": "Strong positive (++)"
},
{
"concept": "a8a1909a-1350-11df-a1f1-0026b9348838",
"label": "Stronger positive (+++)"
}
]
},
"validators": []
},
{
"label": "Ketone:",
"type": "obs",
"id": "ketone_test",
"questionOptions": {
"concept": "b72fa772-19a9-4386-8185-6491ab97e97e",
"rendering": "select",
"answers": [
{
"concept": "a896d2cc-1350-11df-a1f1-0026b9348838",
"label": "Negative"
},
{
"concept": "a896f3a6-1350-11df-a1f1-0026b9348838",
"label": "Positive(+)"
},
{
"concept": "a8a18fdc-1350-11df-a1f1-0026b9348838",
"label": "Strong positive (++)"
},
{
"concept": "a8a1909a-1350-11df-a1f1-0026b9348838",
"label": "Stronger positive (+++)"
}
]
},
"validators": []
},
{
"label": "Glucose:",
"id": "sugar_test",
"type": "obs",
"questionOptions": {
"concept": "a8a47d5a-1350-11df-a1f1-0026b9348838",
"rendering": "select",
"answers": [
{
"concept": "a896d2cc-1350-11df-a1f1-0026b9348838",
"label": "Negative"
},
{
"concept": "a896f3a6-1350-11df-a1f1-0026b9348838",
"label": "Positive(+)"
},
{
"concept": "a8a18fdc-1350-11df-a1f1-0026b9348838",
"label": "Strong positive (++)"
},
{
"concept": "a8a1909a-1350-11df-a1f1-0026b9348838",
"label": "Stronger positive (+++)"
}
]
},
"validators": []
},
{
"label": "Nitrites:",
"id": "nitrites_test",
"type": "obs",
"questionOptions": {
"concept": "6ab44394-80a5-40cd-9649-32f1839e94cd",
"rendering": "select",
"answers": [
{
"concept": "a896d2cc-1350-11df-a1f1-0026b9348838",
"label": "Negative"
},
{
"concept": "a896f3a6-1350-11df-a1f1-0026b9348838",
"label": "Positive(+)"
},
{
"concept": "a8a18fdc-1350-11df-a1f1-0026b9348838",
"label": "Strong positive (++)"
},
{
"concept": "a8a1909a-1350-11df-a1f1-0026b9348838",
"label": "Stronger positive (+++)"
}
]
},
"validators": []
}
]
}
]
},
{
"label": "SPEP",
"questions": [
{
"label": "Serum albumin g/L:",
"id": "serumAlbumin",
"questionOptions": {
"concept": "a8981d8a-1350-11df-a1f1-0026b9348838",
"rendering": "number",
"max": "300",
"min": "0",
"placeholder": "Indicate here serum albumin value"
},
"type": "obs",
"validators": []
},
{
"label": "Serum, alpha-1 globulin g/L:",
"id": "serumA1",
"questionOptions": {
"concept": "4ab89dc6-d7bb-48cd-9c7f-95ba4f4991ce",
"max": "9",
"min": "0",
"rendering": "number",
"placeholder": "Indicate here serum, alpha-1 globulin value"
},
"type": "obs",
"validators": []
},
{
"label": "Serum, alpha-2 globulin g/L:",
"type": "obs",
"id": "serumA2",
"questionOptions": {
"concept": "d96ebe6d-fa84-4eb4-ab1e-af12060c3395",
"rendering": "number",
"max": "20",
"min": "0",
"placeholder": "Indicate here serum, alpha-2 globulin value"
},
"validators": []
},
{
"label": "Serum, beta globulin g/L:",
"id": "serumBg",
"questionOptions": {
"concept": "3550ebc6-3ecd-4b36-87b3-4962c3ddfc2b",
"rendering": "number",
"max": "20",
"min": "0",
"placeholder": "Indicate here serum, beta globulin value"
},
"type": "obs",
"validators": []
},
{
"label": "Serum, gamma globulin g/L:",
"id": "serumGg",
"questionOptions": {
"concept": "843a2259-b9b3-47d1-adfc-dcb835834c73",
"rendering": "number",
"max": "20",
"min": "0",
"placeholder": "Indicate here serum, gamma globulin value"
},
"type": "obs",
"validators": []
},
{
"label": "Serum, M protein:",
"id": "serumMp",
"questionOptions": {
"concept": "4d92bcc4-02b1-48dd-b1de-08c5c5a17977",
"rendering": "number",
"min": "0",
"placeholder": "Indicate here serum, M protein value"
},
"type": "obs",
"validators": []
}
]
},
{
"label": "UPEP",
"questions": [
{
"label": "Urine, alpha-1 globulin g/L:",
"id": "urineA1",
"questionOptions": {
"concept": "8df2da09-2ff9-4a9c-9ec8-a78cf141aa3f",
"rendering": "number",
"min": "0",
"placeholder": "Indicate here urine, alpha-1 globulin value"
},
"type": "obs",
"validators": []
},
{
"label": "Urine, alpha-2 globulin g/L:",
"id": "urineA2",
"questionOptions": {
"concept": "5e86f307-6424-441c-8c69-72131fa27b0f",
"min": "0",
"rendering": "number",
"placeholder": "Indicate here urine, alpha-2 globulin value"
},
"type": "obs",
"validators": []
},
{
"label": "Urine, beta globulin g/L:",
"type": "obs",
"id": "urineBg",
"questionOptions": {
"concept": "a7927a28-f329-435b-a0d4-18ba1f54e01f",
"rendering": "number",
"min": "0",
"placeholder": "Indicate here urine, beta globulin value"
},
"validators": []
},
{
"label": "Urine, gamma globulin g/L:",
"id": "urineGg",
"questionOptions": {
"concept": "f1161c47-dd9a-443a-a857-565dac63946f",
"rendering": "number",
"min": "0",
"placeholder": "Indicate here urine, gamma globulin value"
},
"type": "obs",
"validators": []
},
{
"label": "Urinary albumin g/L:",
"id": "urinaryA",
"questionOptions": {
"concept": "a8981e66-1350-11df-a1f1-0026b9348838",
"rendering": "number",
"min": "0",
"placeholder": "Indicate here urinary albumin value"
},
"type": "obs",
"validators": []
},
{
"label": "Urine, M protein g/L:",
"id": "urineM",
"questionOptions": {
"concept": "d94918ee-97a1-4ee2-879d-b03c9710c5e6",
"rendering": "number",
"min": "0",
"placeholder": "Indicate here urine, M protein value"
},
"type": "obs",
"validators": []
}
]
},
{
"label": "Serum Free Light Chain",
"questions": [
{
"label": "Kappa light chains mg/L:",
"id": "kappaLc",
"questionOptions": {
"concept": "23da2409-b12c-4845-bb80-ca6a471aa2e8",
"rendering": "number",
"min": "0",
"placeholder": "Indicate here kappa light chains value"
},
"type": "obs",
"validators": []
},
{
"label": "Lambda light chains mg/L:",
"id": "lambdaLc",
"questionOptions": {
"concept": "48c6eb0f-5a6e-4b76-acf2-c0fa36635bfe",
"min": "0",
"rendering": "number",
"placeholder": "Indicate here lambda light chains value"
},
"type": "obs",
"validators": []
},
{
"label": "Kappa/lambda ratio:",
"type": "obs",
"id": "kappaLambda",
"questionOptions": {
"concept": "a0ac0e50-3df8-4feb-a397-c483f7a7f4c6",
"rendering": "number",
"min": "0",
"placeholder": "Indicate here kappa/lambda ratio value"
},
"validators": []
}
]
},
{
"label": "Lung Biopsy Results",
"isExpanded": "true",
"questions": [
{
"label": "Lung biopsy results:",
"id": "lungBiopsy",
"type": "obs",
"questionOptions": {
"concept": "e707128f-bc4d-43be-b83d-5ddc8cb2d0b6",
"rendering": "select",
"answers": [
{
"concept": "18e540f5-ad54-41d8-b3aa-5b45e8d6d821",
"label": "Malignant"
},
{
"concept": "b69866ec-51ee-45cf-8fcb-0ef481615f87",
"label": "Non Cancer respiratory disease"
},
{
"concept": "2f04e722-6a90-4455-9e07-9e724b2794a7",
"label": "Lung cancer metastatic"
},
{
"concept": "a89c36a4-1350-11df-a1f1-0026b9348838",
"label": "Chronic obstructive pulmonary disease"
},
{
"concept": "a890a96a-1350-11df-a1f1-0026b9348838",
"label": "Tuberculosis"
},
{
"concept": "9907a504-2673-433c-bbf8-2f0bfe46ffac",
"label": "Aspiogilosis"
},
{
"concept": "68db4ee1-10e0-4101-8961-b860e709ea33",
"label": "Granuloma"
},
{
"concept": "a8aaf3e2-1350-11df-a1f1-0026b9348838",
"label": "Other specify"
}
],
"showDate": "true",
"shownDateOptions": {
"validators": [
{
"type": "date"
},
{
"type": "js_expression",
"failsWhenExpression": "!isEmpty(lungBiopsy) && isEmpty(myValue)",
"message": "Date for result is required."
}
],
"hide": {
"hideWhenExpression": "isEmpty(lungBiopsy)"
}
}
}
}
]
},
{
"label": "Lung Imaging Results",
"isExpanded": "true",
"questions": [
{
"label": "X-ray Chest:",
"id": "xrayChest",
"type": "obs",
"questionOptions": {
"concept": "a8908192-1350-11df-a1f1-0026b9348838",
"rendering": "select",
"answers": [
{
"concept": "a899e7b4-1350-11df-a1f1-0026b9348838",
"label": "Normal"
},
{
"concept": "a899e890-1350-11df-a1f1-0026b9348838",
"label": "Abnormal"
}
],
"showDate": "true",
"shownDateOptions": {
"validators": [
{
"type": "date"
},
{
"type": "js_expression",
"failsWhenExpression": "!isEmpty(xrayChest) && isEmpty(myValue)",
"message": "Date for result is required."
}
],
"hide": {
"hideWhenExpression": "isEmpty(xrayChest)"
}
}
}
},
{
"label": "CT scan findings:",
"id": "ctfindings",
"type": "obs",
"questionOptions": {
"concept": "a8908192-1350-11df-a1f1-0026b9348838",
"rendering": "select",
"answers": [
{
"concept": "a899e7b4-1350-11df-a1f1-0026b9348838",
"label": "Normal"
},
{
"concept": "9f548128-de1d-4703-9fb5-8a1abf43f445",
"label": "Lung mass"
},
{
"concept": "a8a4bebe-1350-11df-a1f1-0026b9348838",
"label": "Mediastial mass"
},
{
"concept": "a89a76fc-1350-11df-a1f1-0026b9348838",
"label": "Pleural mass"
},
{
"concept": "a8aaf3e2-1350-11df-a1f1-0026b9348838",
"label": "Other specify"
}
]
}
},
{
"label": "Laterality:",
"id": "laterality",
"type": "obs",
"questionOptions": {
"concept": "6dfef7ac-10eb-4acb-886a-df040ffdc956",
"rendering": "select",
"answers": [
{
"concept": "a8a69234-1350-11df-a1f1-0026b9348838",
"label": "Left"
},
{
"concept": "a8a69554-1350-11df-a1f1-0026b9348838",
"label": "Right"
},
{
"concept": "a8a4b04a-1350-11df-a1f1-0026b9348838",
"label": "Bilateral"
}
]
},
"validators": [],
"hide": {
"hideWhenExpression": "ctfindings !=='9f548128-de1d-4703-9fb5-8a1abf43f445'"
}
},
{
"label": "Other imaging findings:",
"type": "obs",
"id": "otherImagings",
"historicalExpression": "_.isEmpty(HD.getObject('prevEnc').getValue('8ebe1a3c-bcf9-4fd2-b289-ccaf20d7acf5')) ? undefined : HD.getObject('prevEnc').getValue('8ebe1a3c-bcf9-4fd2-b289-ccaf20d7acf5')",
"questionOptions": {
"concept": "8ebe1a3c-bcf9-4fd2-b289-ccaf20d7acf5",
"rendering": "text"
},
"validators": [],
"hide": {
"hideWhenExpression": "ctfindings !=='a8aaf3e2-1350-11df-a1f1-0026b9348838'"
}
},
{
"label": "Imaging workup date:",
"id": "imageDate",
"questionOptions": {
"concept": "a7567a7b-4d4b-494b-ab28-c5771be92eca",
"rendering": "date"
},
"type": "obs",
"validators": [
{
"type": "date"
}
],
"hide": {
"hideWhenExpression": "isEmpty(ctfindings)"
}
},
{
"label": "Imaging results description:",
"type": "obs",
"id": "imageDescr",
"questionOptions": {
"concept": "a6b0eeb0-4cb3-4342-b4ff-5ca094ddb225",
"rendering": "textarea",
"rows": 6
},
"validators": []
}
]
},
{
"label": "Previous Investigations",
"isExpanded": "true",
"questions": [
{
"label": "Previous tuberculosis test done, Detailed:",
"type": "obsGroup",
"questionOptions": {
"id": "previousTBtest",
"concept": "0ec57a3f-aaeb-4baf-b41e-9673d84bf400",
"rendering": "repeating"
},
"questions": [
{
"label": "Previous TB investigation done:",
"id": "previousTest",
"type": "obs",
"required": "true",
"questionOptions": {
"concept": "a8a0d498-1350-11df-a1f1-0026b9348838",
"rendering": "select",
"answers": [
{
"concept": "a899e0ac-1350-11df-a1f1-0026b9348838",
"label": "None"
},
{
"concept": "a8908192-1350-11df-a1f1-0026b9348838",
"label": "Chest X-ray"
},
{
"concept": "9364c765-eeec-4b03-b938-ea7874560d88",
"label": "Gene-Expert"
},
{
"concept": "8b24a5d6-6020-4711-8aa6-b4051dfc3a68",
"label": "Sputum for AAFBS"
},
{
"concept": "a8aaf3e2-1350-11df-a1f1-0026b9348838",
"label": "Other"
}
]
},
"validators": []
},
{
"label": "Other previous test:",
"type": "obs",
"id": "otherTest",
"questionOptions": {
"concept": "6f5207f4-6785-433b-943e-c2d03e7d3ea7",
"placeholder": "Indicate here other laboratory test done",
"rendering": "text",
"showDate": "true",
"shownDateOptions": {
"validators": [
{
"type": "date"
},
{
"type": "js_expression",
"failsWhenExpression": "!isEmpty(otherTest) && isEmpty(myValue)",
"message": "Result date is required."
}
],
"hide": {
"hideWhenExpression": "isEmpty(otherTest)"
}
}
},
"validators": [],
"hide": {
"hideWhenExpression": "previousTest !== 'a8aaf3e2-1350-11df-a1f1-0026b9348838'"
}
},
{
"label": "Sputum AAFBS results:",
"id": "sputumAFB",
"type": "obs",
"questionOptions": {
"concept": "a8945d4e-1350-11df-a1f1-0026b9348838",
"rendering": "select",
"answers": [
{
"concept": "a899ea48-1350-11df-a1f1-0026b9348838",
"label": "Not done"
},
{
"concept": "a896d2cc-1350-11df-a1f1-0026b9348838",
"label": "Negative"
},
{
"concept": "a896f3a6-1350-11df-a1f1-0026b9348838",
"label": "Positive"
}
],
"showDate": "true",
"shownDateOptions": {
"validators": [
{
"type": "date"
},
{
"type": "js_expression",
"failsWhenExpression": "!isEmpty(sputumAFB) && isEmpty(myValue)",
"message": "Result date is required."
}
],
"hide": {
"hideWhenExpression": " !arrayContains(['a896d2cc-1350-11df-a1f1-0026b9348838','a896f3a6-1350-11df-a1f1-0026b9348838'], sputumAFB)"
}
}
},
"validators": [],
"hide": {
"hideWhenExpression": "previousTest !== '8b24a5d6-6020-4711-8aa6-b4051dfc3a68'"
}
},
{
"label": "Gene-Expert results:",
"id": "geneResults",
"type": "obs",
"questionOptions": {
"concept": "741517cf-8bac-4755-b289-8dd2a2df7962",
"rendering": "select",
"answers": [
{
"concept": "a899ea48-1350-11df-a1f1-0026b9348838",
"label": "Not done"
},
{
"concept": "a896d2cc-1350-11df-a1f1-0026b9348838",
"label": "Negative"
},
{
"concept": "a896f3a6-1350-11df-a1f1-0026b9348838",
"label": "Positive"
}
],
"showDate": "true",
"shownDateOptions": {
"validators": [
{
"type": "date"
},
{
"type": "js_expression",
"failsWhenExpression": "!isEmpty(geneResults) && isEmpty(myValue)",
"message": "Result date is required."
}
],
"hide": {
"hideWhenExpression": " !arrayContains(['a896d2cc-1350-11df-a1f1-0026b9348838','a896f3a6-1350-11df-a1f1-0026b9348838'], geneResults)"
}
}
},
"validators": [],
"hide": {
"hideWhenExpression": "previousTest !== '9364c765-eeec-4b03-b938-ea7874560d88'"
}
},
{
"label": "X-Ray results:",
"id": "xrayResults",
"type": "obs",
"questionOptions": {
"concept": "a8908192-1350-11df-a1f1-0026b9348838",
"rendering": "select",
"answers": [
{
"concept": "a899ea48-1350-11df-a1f1-0026b9348838",
"label": "Not done"
},
{
"concept": "a899e7b4-1350-11df-a1f1-0026b9348838",
"label": "Normal"
},
{
"concept": "a899e890-1350-11df-a1f1-0026b9348838",
"label": "Abnormal"
}
],
"showDate": "true",
"shownDateOptions": {
"validators": [
{
"type": "date"
},
{
"type": "js_expression",
"failsWhenExpression": "!isEmpty(xrayResults) && isEmpty(myValue)",
"message": "Result date is required."
}
],
"hide": {
"hideWhenExpression": " !arrayContains(['a899e7b4-1350-11df-a1f1-0026b9348838','a899e890-1350-11df-a1f1-0026b9348838'], xrayResults)"
}
}
},
"validators": [],
"hide": {
"hideWhenExpression": "previousTest !== 'a8908192-1350-11df-a1f1-0026b9348838'"
}
}
]
}
]
},
{
"label": "Screening Results",
"isExpanded": "true",
"questions": [
{
"label": "Sample type:",
"id": "sampleType",
"type": "obs",
"questionOptions": {
"concept": "32fd65f2-881a-4074-9185-9dda5c870f57",
"rendering": "select",
"answers": [
{
"concept": "516ef4e4-ffaf-4838-8d07-ea610c403689",
"label": "Dry blood spot (DBS)"
},
{
"concept": "75c83479-81dc-434f-b943-cc89ce971185",
"label": "Ethylenediamine tetraacetic acid (EDTA)"
}
]
}
},
{
"label": "Isoelectric focusing (IEF):",
"id": "IsoFoc",
"type": "obs",
"questionOptions": {
"concept": "cb231af0-a4d1-4599-864d-6d10ff23faad",
"rendering": "select",
"answers": [
{
"concept": "f464720e-9f71-4143-b974-4f4151656504",
"label": "AA"
},
{
"concept": "ce5e1a2b-1ec8-4746-9041-025ac152c296",
"label": "AS"
},
{
"concept": "a0923828-fa8d-404e-9920-ea316eee86d2",
"label": "SS"
},
{
"concept": "856646ab-4920-4218-8c6a-ee1722af979d",
"label": "AC"
},
{
"concept": "6f3713db-fefc-4981-a661-a49ff7a5ddae",
"label": "FS"
}
]
},
"validators": [],
"hide": {
"hideWhenExpression": "isEmpty(sampleType) || sampleType !== '516ef4e4-ffaf-4838-8d07-ea610c403689'"
}
},
{
"label": "Hemotype SC:",
"id": "hemotypeSc",
"type": "obs",
"questionOptions": {
"concept": "d7ecbd28-feaa-4cd7-b610-88469b579cc5",
"rendering": "select",
"answers": [
{
"concept": "f464720e-9f71-4143-b974-4f4151656504",
"label": "AA"
},
{
"concept": "ce5e1a2b-1ec8-4746-9041-025ac152c296",
"label": "AS"
},
{
"concept": "a0923828-fa8d-404e-9920-ea316eee86d2",
"label": "SS"
},
{
"concept": "856646ab-4920-4218-8c6a-ee1722af979d",
"label": "AC"
},
{
"concept": "6f3713db-fefc-4981-a661-a49ff7a5ddae",
"label": "FS"
}
]
},
"validators": [],
"hide": {
"hideWhenExpression": "isEmpty(sampleType) || sampleType !== '75c83479-81dc-434f-b943-cc89ce971185'"
}
},
{
"label": "HgB Electrophoresis:",
"id": "hgbElectro",
"type": "obs",
"questionOptions": {
"concept": "790f70c0-0ff8-4d75-a949-c857a4672987",
"rendering": "select",
"answers": [
{
"concept": "f464720e-9f71-4143-b974-4f4151656504",
"label": "AA"
},
{
"concept": "ce5e1a2b-1ec8-4746-9041-025ac152c296",
"label": "AS"
},
{
"concept": "a0923828-fa8d-404e-9920-ea316eee86d2",
"label": "SS"
},
{
"concept": "856646ab-4920-4218-8c6a-ee1722af979d",
"label": "AC"
},
{
"concept": "6f3713db-fefc-4981-a661-a49ff7a5ddae",
"label": "FS"
}
]
},
"validators": [],
"hide": {
"hideWhenExpression": "isEmpty(sampleType) || sampleType !== '75c83479-81dc-434f-b943-cc89ce971185'"
}
},
{
"label": "Hemoglobin F%:",
"id": "hgBF",
"type": "obs",
"questionOptions": {
"rendering": "number",
"concept": "5c439bb4-4b25-4e3a-8e03-ce1c8f9c1f52",
"max": "100",
"min": "0",
"placeholder": "Indicate here hemoglobin F% value"
},
"validators": [],
"hide": {
"hideWhenExpression": "isEmpty(hgbElectro)"
}
},
{
"label": "Hemoglobin A%:",
"id": "hgBA",
"type": "obs",
"questionOptions": {
"rendering": "number",
"concept": "bc67ddf5-9aef-435e-8f03-7f817e4b98a6",
"max": "100",
"min": "0",
"placeholder": "Indicate here hemoglobin A% value"
},
"validators": [],
"hide": {
"hideWhenExpression": "isEmpty(hgbElectro)"
}
},
{
"label": "Hemoglobin S%:",
"id": "hgBS",
"type": "obs",
"questionOptions": {
"rendering": "number",
"concept": "14b96fb0-83ac-420d-8295-b72e0331f4e2",
"max": "100",
"min": "0",
"placeholder": "Indicate here hemoglobin S% value"
},
"validators": [],
"hide": {
"hideWhenExpression": "isEmpty(hgbElectro)"
}
},
{
"label": "Hemoglobin A2/C%:",
"id": "hgBA2",
"type": "obs",
"questionOptions": {
"rendering": "number",
"concept": "c66b2f4c-87af-4de5-93a9-209141f167e4",
"max": "100",
"min": "0",
"placeholder": "Indicate here hemoglobin A2/C% value"
},
"validators": [],
"hide": {
"hideWhenExpression": "isEmpty(hgbElectro)"
}
}
]
},
{
"label": "Lab Results, Notes",
"isExpanded": "true",
"questions": [
{
"label": "Labs results, Notes:",
"type": "obs",
"id": "labresultsText",
"questionOptions": {
"concept": "6f5207f4-6785-433b-943e-c2d03e7d3ea7",
"rendering": "textarea",
"rows": 11
}
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment