diff --git a/omod/src/main/webapp/resources/jsonforms/HMIS-HIV-003-HivCareArtCard-ClinicalAssessmentPage.json b/omod/src/main/webapp/resources/jsonforms/HMIS-HIV-003-HivCareArtCard-ClinicalAssessmentPage.json index 2fca90f5..d822c179 100644 --- a/omod/src/main/webapp/resources/jsonforms/HMIS-HIV-003-HivCareArtCard-ClinicalAssessmentPage.json +++ b/omod/src/main/webapp/resources/jsonforms/HMIS-HIV-003-HivCareArtCard-ClinicalAssessmentPage.json @@ -584,7 +584,7 @@ "rendering": "date", "concept": "dce02eca-30ab-102d-86b0-7a5022ba4115", "calculate": { - "calculateExpression": "resolve(api.getLatestObs(patient.id, 'dce02eca-30ab-102d-86b0-7a5022ba4115')).then(obs => obs.valueDateTime)" + "calculateExpression": "resolve(api.getLatestObs(patient.id, 'dce02eca-30ab-102d-86b0-7a5022ba4115')).then(obs => obs?.valueDateTime)" }, "conceptMappings": [], "answers": [] @@ -602,7 +602,7 @@ "rendering": "text", "concept": "67e9ec2f-4c72-408b-8122-3706909d77ec", "calculate": { - "calculateExpression": "resolve(api.getLatestObs(patient.id, '67e9ec2f-4c72-408b-8122-3706909d77ec')).then(obs => obs.valueString)" + "calculateExpression": "resolve(api.getLatestObs(patient.id, '67e9ec2f-4c72-408b-8122-3706909d77ec')).then(obs => obs?.valueString)" }, "conceptMappings": [], "answers": [] @@ -620,7 +620,7 @@ "rendering": "date", "concept": "dd2adde2-30ab-102d-86b0-7a5022ba4115", "calculate": { - "calculateExpression": "resolve(api.getLatestObs(patient.id, 'dd2adde2-30ab-102d-86b0-7a5022ba4115')).then(obs => obs.valueDateTime)" + "calculateExpression": "resolve(api.getLatestObs(patient.id, 'dd2adde2-30ab-102d-86b0-7a5022ba4115')).then(obs => obs?.valueDateTime)" }, "conceptMappings": [], "answers": [] @@ -676,7 +676,7 @@ "rendering": "date", "concept": "483939c7-79ba-4ca4-8c3e-346488c97fc7", "calculate": { - "calculateExpression": "resolve(api.getLatestObs(patient.id, '483939c7-79ba-4ca4-8c3e-346488c97fc7')).then(obs => obs.valueDateTime)" + "calculateExpression": "resolve(api.getLatestObs(patient.id, '483939c7-79ba-4ca4-8c3e-346488c97fc7')).then(obs => obs?.valueDateTime)" }, "conceptMappings": [], "answers": [] @@ -693,7 +693,7 @@ "rendering": "date", "concept": "813e21e7-4ccb-4fe9-aaab-3c0e40b6e356", "calculate": { - "calculateExpression": "resolve(api.getLatestObs(patient.id, '813e21e7-4ccb-4fe9-aaab-3c0e40b6e356')).then(obs => obs.valueDateTime)" + "calculateExpression": "resolve(api.getLatestObs(patient.id, '813e21e7-4ccb-4fe9-aaab-3c0e40b6e356')).then(obs => obs?.valueDateTime)" }, "conceptMappings": [], "answers": []