From d5b803a21e1822b1f50c7e127dfeab8a370be522 Mon Sep 17 00:00:00 2001 From: delcroip Date: Tue, 7 Apr 2026 15:23:43 +0200 Subject: [PATCH] rename emcare to Ccc --- README.md | 2 +- input/cql/Cccb1014symptoms2mp.cql | 42 + ...b1016signs2mp.cql => Cccb1016signs2mp.cql} | 48 +- ...b1821signs2mm.cql => Cccb1821signs2mm.cql} | 58 +- input/cql/Cccb1821symptoms2mm.cql | 23 + ...tstests.cql => Cccb22assessmentstests.cql} | 46 +- input/cql/Cccb22breastfeeding.cql | 27 + input/cql/Cccb22fluidtest.cql | 61 + ...toryrate.cql => Cccb22respiratoryrate.cql} | 16 +- input/cql/Cccb22secondtemperature.cql | 27 + ...ification.cql => Cccb23classification.cql} | 206 +- ...icationm.cql => Cccb23classificationm.cql} | 36 +- ...measurements.cql => Cccb6measurements.cql} | 12 +- ...angersigns.cql => Cccb7ltidangersigns.cql} | 14 +- input/cql/{emcarebase.cql => Cccbase.cql} | 32 +- ...ements.cql => Ccccombineddataelements.cql} | 32 +- input/cql/Ccccondition.cql | 70 + input/cql/{emcaredt01.cql => Cccdt01.cql} | 78 +- input/cql/Cccobservation-valueset.cql | 41 + input/cql/Cccobservation.cql | 152 ++ input/cql/CccobservationValueset.cql | 41 + input/cql/Cccobservation_valueset.cql | 41 + .../{emcaretreatment.cql => Ccctreatment.cql} | 132 +- input/cql/Cccvalueset.cql | 137 ++ input/cql/{emcarezscore.cql => Ccczscore.cql} | 34 +- input/cql/emcareb1014symptoms2mp.cql | 42 - input/cql/emcareb1821symptoms2mm.cql | 23 - input/cql/emcareb22breastfeeding.cql | 27 - input/cql/emcareb22fluidtest.cql | 61 - input/cql/emcareb22secondtemperature.cql | 27 - input/cql/emcarecondition.cql | 70 - input/cql/emcareobservation-valueset.cql | 41 - input/cql/emcareobservation.cql | 152 -- input/cql/emcareobservationValueset.cql | 41 - input/cql/emcareobservation_valueset.cql | 41 - input/cql/emcarevalueset.cql | 137 -- input/l2/readme.md | 8 +- ....2m.p.map => Ccc.b10-14.symptoms.2m.p.map} | 380 ++-- ...gns.2m.p.map => Ccc.b10-16.signs.2m.p.map} | 1668 ++++++++-------- ...gns.2m.m.map => Ccc.b18-21.signs.2m.m.map} | 668 +++---- ....2m.m.map => Ccc.b18-21.symptoms.2m.m.map} | 88 +- ...tests.map => Ccc.b22.assessmentstests.map} | 908 ++++----- ...tfeeding.map => Ccc.b22.breastfeeding.map} | 268 +-- ...est.map => Ccc.b22.bronchodilatortest.map} | 224 +-- ...22.fluidtest.map => Ccc.b22.fluidtest.map} | 102 +- ....hemoglobin.map => Ccc.b22.hemoglobin.map} | 40 +- ...ryrate.map => Ccc.b22.respiratoryrate.map} | 98 +- ...ture.map => Ccc.b22.secondtemperature.map} | 60 +- ...ion.m.map => Ccc.b23.classification.m.map} | 244 +-- ...ication.map => Ccc.b23.classification.map} | 940 ++++----- ...asurements.map => Ccc.b6.measurements.map} | 248 +-- ...ersigns.map => Ccc.b7.lti-dangersigns.map} | 294 +-- ...emcare.treatment.map => Ccc.treatment.map} | 2 +- ...stration.p.map => Ccca.registration.p.map} | 140 +- ...stration.e.map => Cccb.registration.e.map} | 46 +- .../ActivityEmcare.b10-14.symptoms.2m.p.md | 38 +- .../ActivityEmcare.b10-16.signs.2m.p.md | 122 +- .../ActivityEmcare.b18-21.signs.2m.m.md | 54 +- .../ActivityEmcare.b18-21.symptoms.2m.m.md | 10 +- .../ActivityEmcare.b22.assessmentstests.md | 2 +- .../ActivityEmcare.b22.breastfeeding.md | 26 +- .../ActivityEmcare.b22.bronchodilatortest.md | 16 +- .../ActivityEmcare.b22.fluidtest.md | 12 +- .../ActivityEmcare.b22.hemoglobin.md | 6 +- .../ActivityEmcare.b22.respiratoryrate.md | 12 +- .../ActivityEmcare.b22.secondtemperature.md | 8 +- .../ActivityEmcare.b23.classification.m.md | 28 +- .../ActivityEmcare.b23.classification.md | 98 +- .../ActivityEmcare.b6.measurements.md | 28 +- .../ActivityEmcare.b7.lti-dangersigns.md | 18 +- input/pagecontent/ActivityEmcare.treatment.md | 2 +- .../ActivityEmcarea.registration.p.md | 4 +- .../ActivityEmcareb.registration.e.md | 4 +- .../ActivityEmcareb1016signs2mp.md | 30 +- .../ActivityEmcareb1821signs2mm.md | 14 +- .../ActivityEmcareb1821symptoms2mm.md | 2 +- .../ActivityEmcareb22assessmentstests.md | 42 +- .../pagecontent/ActivityEmcareb22fluidtest.md | 6 +- .../ActivityEmcareb22respiratoryrate.md | 6 +- .../ActivityEmcareb23classification.md | 176 +- .../ActivityEmcareb23classificationm.md | 24 +- .../ActivityEmcareb7ltidangersigns.md | 2 +- .../ActivityEmcarecombineddataelements.md | 8 +- input/pagecontent/PlanDefinitionIndex.md | 2 +- ...ydefinition-Ccc.b10-14.symptoms.2m.p.json} | 8 +- ...vitydefinition-Ccc.b10-16.signs.2m.p.json} | 8 +- ...vitydefinition-Ccc.b18-21.signs.2m.m.json} | 8 +- ...ydefinition-Ccc.b18-21.symptoms.2m.m.json} | 8 +- ...ydefinition-Ccc.b22.assessmentstests.json} | 8 +- ...ivitydefinition-Ccc.b22.breastfeeding.json | 73 + ...definition-Ccc.b22.bronchodilatortest.json | 73 + ...activitydefinition-Ccc.b22.fluidtest.json} | 8 +- ...activitydefinition-Ccc.b22.hemoglobin.json | 73 + ...itydefinition-Ccc.b22.respiratoryrate.json | 73 + ...ydefinition-Ccc.b22.secondtemperature.json | 73 + ...vitydefinition-Ccc.b23.classification.json | 73 + ...tydefinition-Ccc.b23.classification.m.json | 73 + ...ctivitydefinition-Ccc.b6.measurements.json | 73 + ...vitydefinition-Ccc.b7.lti-dangersigns.json | 73 + ... => activitydefinition-Ccc.treatment.json} | 8 +- ...ctivitydefinition-Ccca.registration.p.json | 73 + ...ctivitydefinition-Cccb.registration.e.json | 73 + ...efinition-emcare.b10-14.symptoms.2m.p.json | 73 - ...efinition-emcare.b18-21.symptoms.2m.m.json | 73 - ...efinition-emcare.b22.assessmentstests.json | 73 - ...inition-emcare.b22.bronchodilatortest.json | 73 - ...definition-emcare.b22.respiratoryrate.json | 73 - ...finition-emcare.b22.secondtemperature.json | 73 - ...ydefinition-emcare.b23.classification.json | 73 - ...efinition-emcare.b23.classification.m.json | 73 - ...ydefinition-emcare.b7.lti-dangersigns.json | 73 - ...vitydefinition-emcarea.registration.p.json | 73 - ...vitydefinition-emcareb.registration.e.json | 73 - ...system-emcare.json => codesystem-Ccc.json} | 768 ++++---- ... => library-Ccc.b10-14.symptoms.2m.p.json} | 14 +- ...son => library-Ccc.b10-16.signs.2m.p.json} | 12 +- ...son => library-Ccc.b18-21.signs.2m.m.json} | 22 +- ... => library-Ccc.b18-21.symptoms.2m.m.json} | 12 +- ... => library-Ccc.b22.assessmentstests.json} | 16 +- ...son => library-Ccc.b22.breastfeeding.json} | 12 +- ...st.json => library-Ccc.b22.fluidtest.json} | 16 +- ...n => library-Ccc.b22.respiratoryrate.json} | 12 +- ...=> library-Ccc.b22.secondtemperature.json} | 12 +- ...on => library-Ccc.b23.classification.json} | 58 +- ... => library-Ccc.b23.classification.m.json} | 12 +- ....json => library-Ccc.b6.measurements.json} | 12 +- ...on => library-Ccc.b7.lti-dangersigns.json} | 12 +- ... => library-Ccc.combineddataelements.json} | 18 +- ...atment.json => library-Ccc.treatment.json} | 132 +- ...y-emcarebase.json => library-Cccbase.json} | 10 +- ...alueset.json => library-Ccccondition.json} | 8 +- ...y-emcaredt01.json => library-Cccdt01.json} | 36 +- ...n => library-Cccobservation-valueset.json} | 8 +- ...ition.json => library-Cccobservation.json} | 8 +- ...ervation.json => library-Cccvalueset.json} | 8 +- ...carezscore.json => library-Ccczscore.json} | 16 +- ...on-emcare.json => plandefinition-Ccc.json} | 104 +- ...=> profiles-Ccc-communicationrequest.json} | 10 +- ...ition.json => profiles-Ccc-condition.json} | 8 +- ...unter.json => profiles-Ccc-encounter.json} | 10 +- ...patient.json => profiles-Ccc-patient.json} | 12 +- ...n.json => profiles-Ccc-relatedperson.json} | 10 +- ...estionnaire-Ccc.b10-14.symptoms.2m.p.json} | 136 +- ... questionnaire-Ccc.b10-16.signs.2m.p.json} | 426 ++--- ... questionnaire-Ccc.b18-21.signs.2m.m.json} | 296 +-- ...estionnaire-Ccc.b18-21.symptoms.2m.m.json} | 40 +- ...estionnaire-Ccc.b22.assessmentstests.json} | 276 +-- ... questionnaire-Ccc.b22.breastfeeding.json} | 82 +- ...tionnaire-Ccc.b22.bronchodilatortest.json} | 44 +- ...n => questionnaire-Ccc.b22.fluidtest.json} | 86 +- ... => questionnaire-Ccc.b22.hemoglobin.json} | 20 +- ...uestionnaire-Ccc.b22.respiratoryrate.json} | 46 +- ...stionnaire-Ccc.b22.secondtemperature.json} | 30 +- ...questionnaire-Ccc.b23.classification.json} | 640 +++---- ...estionnaire-Ccc.b23.classification.m.json} | 150 +- ...=> questionnaire-Ccc.b6.measurements.json} | 124 +- ...questionnaire-Ccc.b7.lti-dangersigns.json} | 132 +- ....json => questionnaire-Ccc.treatment.json} | 492 ++--- ...=> questionnaire-Ccca.registration.p.json} | 210 +-- ...=> questionnaire-Cccb.registration.e.json} | 80 +- ...=> structuredefinition-Ccc-condition.json} | 10 +- ... structuredefinition-Ccc-observation.json} | 10 +- ...n => structuredefinition-Ccc-patient.json} | 10 +- ...tructuremap-Ccc.b10-14.symptoms.2m.p.json} | 388 ++-- ...> structuremap-Ccc.b10-16.signs.2m.p.json} | 1676 ++++++++--------- ...> structuremap-Ccc.b18-21.signs.2m.m.json} | 676 +++---- ...tructuremap-Ccc.b18-21.symptoms.2m.m.json} | 96 +- ...tructuremap-Ccc.b22.assessmentstests.json} | 924 ++++----- ...> structuremap-Ccc.b22.breastfeeding.json} | 284 +-- ...ucturemap-Ccc.b22.bronchodilatortest.json} | 232 +-- ...on => structuremap-Ccc.b22.fluidtest.json} | 110 +- ...n => structuremap-Ccc.b22.hemoglobin.json} | 48 +- ...structuremap-Ccc.b22.respiratoryrate.json} | 106 +- ...ructuremap-Ccc.b22.secondtemperature.json} | 68 +- ... structuremap-Ccc.b23.classification.json} | 1168 ++++++------ ...tructuremap-Ccc.b23.classification.m.json} | 304 +-- ... => structuremap-Ccc.b6.measurements.json} | 256 +-- ... structuremap-Ccc.b7.lti-dangersigns.json} | 302 +-- ...t.json => structuremap-Ccc.treatment.json} | 8 +- ... => structuremap-Ccca.registration.p.json} | 148 +- ... => structuremap-Cccb.registration.e.json} | 56 +- ...dition.json => valueset-Ccccondition.json} | 118 +- ... => valueset-Cccobservation-valueset.json} | 62 +- ...tion.json => valueset-Cccobservation.json} | 284 +-- ...n => valueset-Cccobservationvalueset.json} | 62 +- .../valueset/valueset-abilitytoswallow.json | 8 +- input/resources/valueset/valueset-add-pb.json | 12 +- .../valueset/valueset-agreedisagree.json | 2 +- .../valueset/valueset-appetite-test.json | 10 +- .../valueset/valueset-bioparent-status.json | 14 +- .../valueset-breastfeed-assessment.json | 12 +- .../valueset-child-last-hiv-status.json | 16 +- .../valueset-child-vaccination-status.json | 12 +- .../valueset/valueset-child-vaccines.json | 26 +- .../valueset-consultation-status.json | 6 +- .../valueset/valueset-consultation-type.json | 6 +- .../valueset/valueset-difficulty-feeding.json | 2 +- .../valueset/valueset-dob-estimator.json | 8 +- .../valueset/valueset-feeding-problem.json | 8 +- .../valueset/valueset-hiv-prevalence.json | 8 +- .../valueset/valueset-hiv-status.json | 12 +- ...valueset-inhaled-bronchodilator-trial.json | 12 +- .../valueset/valueset-is-recorded.json | 14 +- .../valueset-malaria-microscopy-species.json | 4 +- .../valueset-malaria-rdt-species.json | 16 +- .../valueset-malaria-risk-region-2.json | 10 +- .../valueset/valueset-malaria-test-type.json | 10 +- .../valueset/valueset-malaria-test.json | 10 +- .../valueset-measured-temperature.json | 2 +- .../valueset/valueset-milk-given.json | 8 +- .../valueset/valueset-milk-preparation.json | 8 +- .../valueset/valueset-more-than-14d.json | 6 +- .../valueset/valueset-more-than-7d.json | 6 +- .../valueset/valueset-movements.json | 2 +- .../valueset-mucus-membrane-pallor.json | 10 +- .../valueset-number-of-convulsions.json | 6 +- .../valueset/valueset-observation.json | 364 ++-- .../valueset/valueset-oral-fluid-test.json | 14 +- .../valueset/valueset-oral-sores.json | 12 +- .../valueset/valueset-oxygen-saturation.json | 6 +- .../valueset/valueset-palmar-pallor.json | 10 +- .../valueset-reason-consultation.json | 6 +- .../valueset-relationship-to-client.json | 14 +- .../valueset/valueset-replacement-milk.json | 8 +- .../valueset/valueset-sex-of-the-client.json | 8 +- .../valueset/valueset-skin-pb-location.json | 10 +- .../resources/valueset/valueset-skin-pb.json | 28 +- .../valueset/valueset-skin-pinch-abdomen.json | 10 +- .../valueset-temperature-measurement.json | 2 +- .../valueset/valueset-throatproblem.json | 8 +- .../valueset/valueset-underweight.json | 8 +- .../valueset/valueset-utensils-cleaned.json | 8 +- .../valueset/valueset-visit-type.json | 6 +- .../valueset/valueset-vital-status.json | 8 +- .../valueset/valueset-weight-status.json | 10 +- input/resources/valueset/valueset-yesno.json | 2 +- input/resources/valueset/valueset-yesnox.json | 4 +- inputPlanDefinitionIndex.md | 2 +- manual/cql/{emcarebase.cql => Cccbase.cql} | 28 +- .../cql/{emcarezscore.cql => Ccczscore.cql} | 34 +- ...y-emcarebase.json => library-Cccbase.json} | 10 +- ...carezscore.json => library-Ccczscore.json} | 14 +- 242 files changed, 11991 insertions(+), 11991 deletions(-) create mode 100644 input/cql/Cccb1014symptoms2mp.cql rename input/cql/{emcareb1016signs2mp.cql => Cccb1016signs2mp.cql} (57%) rename input/cql/{emcareb1821signs2mm.cql => Cccb1821signs2mm.cql} (60%) create mode 100644 input/cql/Cccb1821symptoms2mm.cql rename input/cql/{emcareb22assessmentstests.cql => Cccb22assessmentstests.cql} (63%) create mode 100644 input/cql/Cccb22breastfeeding.cql create mode 100644 input/cql/Cccb22fluidtest.cql rename input/cql/{emcareb22respiratoryrate.cql => Cccb22respiratoryrate.cql} (59%) create mode 100644 input/cql/Cccb22secondtemperature.cql rename input/cql/{emcareb23classification.cql => Cccb23classification.cql} (61%) rename input/cql/{emcareb23classificationm.cql => Cccb23classificationm.cql} (70%) rename input/cql/{emcareb6measurements.cql => Cccb6measurements.cql} (69%) rename input/cql/{emcareb7ltidangersigns.cql => Cccb7ltidangersigns.cql} (57%) rename input/cql/{emcarebase.cql => Cccbase.cql} (93%) rename input/cql/{emcarecombineddataelements.cql => Ccccombineddataelements.cql} (70%) create mode 100644 input/cql/Ccccondition.cql rename input/cql/{emcaredt01.cql => Cccdt01.cql} (53%) create mode 100644 input/cql/Cccobservation-valueset.cql create mode 100644 input/cql/Cccobservation.cql create mode 100644 input/cql/CccobservationValueset.cql create mode 100644 input/cql/Cccobservation_valueset.cql rename input/cql/{emcaretreatment.cql => Ccctreatment.cql} (77%) create mode 100644 input/cql/Cccvalueset.cql rename input/cql/{emcarezscore.cql => Ccczscore.cql} (83%) delete mode 100644 input/cql/emcareb1014symptoms2mp.cql delete mode 100644 input/cql/emcareb1821symptoms2mm.cql delete mode 100644 input/cql/emcareb22breastfeeding.cql delete mode 100644 input/cql/emcareb22fluidtest.cql delete mode 100644 input/cql/emcareb22secondtemperature.cql delete mode 100644 input/cql/emcarecondition.cql delete mode 100644 input/cql/emcareobservation-valueset.cql delete mode 100644 input/cql/emcareobservation.cql delete mode 100644 input/cql/emcareobservationValueset.cql delete mode 100644 input/cql/emcareobservation_valueset.cql delete mode 100644 input/cql/emcarevalueset.cql rename input/mapping/{emcare.b10-14.symptoms.2m.p.map => Ccc.b10-14.symptoms.2m.p.map} (71%) rename input/mapping/{emcare.b10-16.signs.2m.p.map => Ccc.b10-16.signs.2m.p.map} (68%) rename input/mapping/{emcare.b18-21.signs.2m.m.map => Ccc.b18-21.signs.2m.m.map} (70%) rename input/mapping/{emcare.b18-21.symptoms.2m.m.map => Ccc.b18-21.symptoms.2m.m.map} (71%) rename input/mapping/{emcare.b22.assessmentstests.map => Ccc.b22.assessmentstests.map} (66%) rename input/mapping/{emcare.b22.breastfeeding.map => Ccc.b22.breastfeeding.map} (69%) rename input/mapping/{emcare.b22.bronchodilatortest.map => Ccc.b22.bronchodilatortest.map} (67%) rename input/mapping/{emcare.b22.fluidtest.map => Ccc.b22.fluidtest.map} (72%) rename input/mapping/{emcare.b22.hemoglobin.map => Ccc.b22.hemoglobin.map} (72%) rename input/mapping/{emcare.b22.respiratoryrate.map => Ccc.b22.respiratoryrate.map} (72%) rename input/mapping/{emcare.b22.secondtemperature.map => Ccc.b22.secondtemperature.map} (71%) rename input/mapping/{emcare.b23.classification.m.map => Ccc.b23.classification.m.map} (80%) rename input/mapping/{emcare.b23.classification.map => Ccc.b23.classification.map} (79%) rename input/mapping/{emcare.b6.measurements.map => Ccc.b6.measurements.map} (73%) rename input/mapping/{emcare.b7.lti-dangersigns.map => Ccc.b7.lti-dangersigns.map} (71%) rename input/mapping/{emcare.treatment.map => Ccc.treatment.map} (81%) rename input/mapping/{emcarea.registration.p.map => Ccca.registration.p.map} (54%) rename input/mapping/{emcareb.registration.e.map => Cccb.registration.e.map} (65%) rename input/resources/activitydefinition/{activitydefinition-emcare.b18-21.signs.2m.m.json => activitydefinition-Ccc.b10-14.symptoms.2m.p.json} (92%) rename input/resources/activitydefinition/{activitydefinition-emcare.b22.hemoglobin.json => activitydefinition-Ccc.b10-16.signs.2m.p.json} (92%) rename input/resources/activitydefinition/{activitydefinition-emcare.b6.measurements.json => activitydefinition-Ccc.b18-21.signs.2m.m.json} (92%) rename input/resources/activitydefinition/{activitydefinition-emcare.b22.breastfeeding.json => activitydefinition-Ccc.b18-21.symptoms.2m.m.json} (92%) rename input/resources/activitydefinition/{activitydefinition-emcare.b10-16.signs.2m.p.json => activitydefinition-Ccc.b22.assessmentstests.json} (92%) create mode 100644 input/resources/activitydefinition/activitydefinition-Ccc.b22.breastfeeding.json create mode 100644 input/resources/activitydefinition/activitydefinition-Ccc.b22.bronchodilatortest.json rename input/resources/activitydefinition/{activitydefinition-emcare.b22.fluidtest.json => activitydefinition-Ccc.b22.fluidtest.json} (92%) create mode 100644 input/resources/activitydefinition/activitydefinition-Ccc.b22.hemoglobin.json create mode 100644 input/resources/activitydefinition/activitydefinition-Ccc.b22.respiratoryrate.json create mode 100644 input/resources/activitydefinition/activitydefinition-Ccc.b22.secondtemperature.json create mode 100644 input/resources/activitydefinition/activitydefinition-Ccc.b23.classification.json create mode 100644 input/resources/activitydefinition/activitydefinition-Ccc.b23.classification.m.json create mode 100644 input/resources/activitydefinition/activitydefinition-Ccc.b6.measurements.json create mode 100644 input/resources/activitydefinition/activitydefinition-Ccc.b7.lti-dangersigns.json rename input/resources/activitydefinition/{activitydefinition-emcare.treatment.json => activitydefinition-Ccc.treatment.json} (93%) create mode 100644 input/resources/activitydefinition/activitydefinition-Ccca.registration.p.json create mode 100644 input/resources/activitydefinition/activitydefinition-Cccb.registration.e.json delete mode 100644 input/resources/activitydefinition/activitydefinition-emcare.b10-14.symptoms.2m.p.json delete mode 100644 input/resources/activitydefinition/activitydefinition-emcare.b18-21.symptoms.2m.m.json delete mode 100644 input/resources/activitydefinition/activitydefinition-emcare.b22.assessmentstests.json delete mode 100644 input/resources/activitydefinition/activitydefinition-emcare.b22.bronchodilatortest.json delete mode 100644 input/resources/activitydefinition/activitydefinition-emcare.b22.respiratoryrate.json delete mode 100644 input/resources/activitydefinition/activitydefinition-emcare.b22.secondtemperature.json delete mode 100644 input/resources/activitydefinition/activitydefinition-emcare.b23.classification.json delete mode 100644 input/resources/activitydefinition/activitydefinition-emcare.b23.classification.m.json delete mode 100644 input/resources/activitydefinition/activitydefinition-emcare.b7.lti-dangersigns.json delete mode 100644 input/resources/activitydefinition/activitydefinition-emcarea.registration.p.json delete mode 100644 input/resources/activitydefinition/activitydefinition-emcareb.registration.e.json rename input/resources/codesystem/{codesystem-emcare.json => codesystem-Ccc.json} (79%) rename input/resources/library/{library-emcare.b10-14.symptoms.2m.p.json => library-Ccc.b10-14.symptoms.2m.p.json} (71%) rename input/resources/library/{library-emcare.b10-16.signs.2m.p.json => library-Ccc.b10-16.signs.2m.p.json} (94%) rename input/resources/library/{library-emcare.b18-21.signs.2m.m.json => library-Ccc.b18-21.signs.2m.m.json} (83%) rename input/resources/library/{library-emcare.b18-21.symptoms.2m.m.json => library-Ccc.b18-21.symptoms.2m.m.json} (64%) rename input/resources/library/{library-emcare.b22.assessmentstests.json => library-Ccc.b22.assessmentstests.json} (86%) rename input/resources/library/{library-emcare.b22.breastfeeding.json => library-Ccc.b22.breastfeeding.json} (69%) rename input/resources/library/{library-emcare.b22.fluidtest.json => library-Ccc.b22.fluidtest.json} (69%) rename input/resources/library/{library-emcare.b22.respiratoryrate.json => library-Ccc.b22.respiratoryrate.json} (79%) rename input/resources/library/{library-emcare.b22.secondtemperature.json => library-Ccc.b22.secondtemperature.json} (67%) rename input/resources/library/{library-emcare.b23.classification.json => library-Ccc.b23.classification.json} (89%) rename input/resources/library/{library-emcare.b23.classification.m.json => library-Ccc.b23.classification.m.json} (92%) rename input/resources/library/{library-emcare.b6.measurements.json => library-Ccc.b6.measurements.json} (81%) rename input/resources/library/{library-emcare.b7.lti-dangersigns.json => library-Ccc.b7.lti-dangersigns.json} (77%) rename input/resources/library/{library-emcare.combineddataelements.json => library-Ccc.combineddataelements.json} (90%) rename input/resources/library/{library-emcare.treatment.json => library-Ccc.treatment.json} (62%) rename input/resources/library/{library-emcarebase.json => library-Cccbase.json} (99%) rename input/resources/library/{library-emcarevalueset.json => library-Ccccondition.json} (63%) rename input/resources/library/{library-emcaredt01.json => library-Cccdt01.json} (82%) rename input/resources/library/{library-emcareobservation-valueset.json => library-Cccobservation-valueset.json} (95%) rename input/resources/library/{library-emcarecondition.json => library-Cccobservation.json} (62%) rename input/resources/library/{library-emcareobservation.json => library-Cccvalueset.json} (61%) rename input/resources/library/{library-emcarezscore.json => library-Ccczscore.json} (96%) rename input/resources/plandefinition/{plandefinition-emcare.json => plandefinition-Ccc.json} (81%) rename input/resources/profiles/{profiles-emcare-communicationrequest.json => profiles-Ccc-communicationrequest.json} (56%) rename input/resources/profiles/{profiles-emcare-condition.json => profiles-Ccc-condition.json} (60%) rename input/resources/profiles/{profiles-emcare-encounter.json => profiles-Ccc-encounter.json} (60%) rename input/resources/profiles/{profiles-emcare-patient.json => profiles-Ccc-patient.json} (93%) rename input/resources/profiles/{profiles-emcare-relatedperson.json => profiles-Ccc-relatedperson.json} (58%) rename input/resources/questionnaire/{questionnaire-emcare.b10-14.symptoms.2m.p.json => questionnaire-Ccc.b10-14.symptoms.2m.p.json} (86%) rename input/resources/questionnaire/{questionnaire-emcare.b10-16.signs.2m.p.json => questionnaire-Ccc.b10-16.signs.2m.p.json} (87%) rename input/resources/questionnaire/{questionnaire-emcare.b18-21.signs.2m.m.json => questionnaire-Ccc.b18-21.signs.2m.m.json} (86%) rename input/resources/questionnaire/{questionnaire-emcare.b18-21.symptoms.2m.m.json => questionnaire-Ccc.b18-21.symptoms.2m.m.json} (91%) rename input/resources/questionnaire/{questionnaire-emcare.b22.assessmentstests.json => questionnaire-Ccc.b22.assessmentstests.json} (82%) rename input/resources/questionnaire/{questionnaire-emcare.b22.breastfeeding.json => questionnaire-Ccc.b22.breastfeeding.json} (83%) rename input/resources/questionnaire/{questionnaire-emcare.b22.bronchodilatortest.json => questionnaire-Ccc.b22.bronchodilatortest.json} (86%) rename input/resources/questionnaire/{questionnaire-emcare.b22.fluidtest.json => questionnaire-Ccc.b22.fluidtest.json} (83%) rename input/resources/questionnaire/{questionnaire-emcare.b22.hemoglobin.json => questionnaire-Ccc.b22.hemoglobin.json} (88%) rename input/resources/questionnaire/{questionnaire-emcare.b22.respiratoryrate.json => questionnaire-Ccc.b22.respiratoryrate.json} (84%) rename input/resources/questionnaire/{questionnaire-emcare.b22.secondtemperature.json => questionnaire-Ccc.b22.secondtemperature.json} (82%) rename input/resources/questionnaire/{questionnaire-emcare.b23.classification.json => questionnaire-Ccc.b23.classification.json} (92%) rename input/resources/questionnaire/{questionnaire-emcare.b23.classification.m.json => questionnaire-Ccc.b23.classification.m.json} (93%) rename input/resources/questionnaire/{questionnaire-emcare.b6.measurements.json => questionnaire-Ccc.b6.measurements.json} (85%) rename input/resources/questionnaire/{questionnaire-emcare.b7.lti-dangersigns.json => questionnaire-Ccc.b7.lti-dangersigns.json} (86%) rename input/resources/questionnaire/{questionnaire-emcare.treatment.json => questionnaire-Ccc.treatment.json} (88%) rename input/resources/questionnaire/{questionnaire-emcarea.registration.p.json => questionnaire-Ccca.registration.p.json} (85%) rename input/resources/questionnaire/{questionnaire-emcareb.registration.e.json => questionnaire-Cccb.registration.e.json} (86%) rename input/resources/structuredefinition/{structuredefinition-emcare-condition.json => structuredefinition-Ccc-condition.json} (82%) rename input/resources/structuredefinition/{structuredefinition-emcare-observation.json => structuredefinition-Ccc-observation.json} (68%) rename input/resources/structuredefinition/{structuredefinition-emcare-patient.json => structuredefinition-Ccc-patient.json} (95%) rename input/resources/structuremap/{structuremap-emcare.b10-14.symptoms.2m.p.json => structuremap-Ccc.b10-14.symptoms.2m.p.json} (89%) rename input/resources/structuremap/{structuremap-emcare.b10-16.signs.2m.p.json => structuremap-Ccc.b10-16.signs.2m.p.json} (90%) rename input/resources/structuremap/{structuremap-emcare.b18-21.signs.2m.m.json => structuremap-Ccc.b18-21.signs.2m.m.json} (89%) rename input/resources/structuremap/{structuremap-emcare.b18-21.symptoms.2m.m.json => structuremap-Ccc.b18-21.symptoms.2m.m.json} (88%) rename input/resources/structuremap/{structuremap-emcare.b22.assessmentstests.json => structuremap-Ccc.b22.assessmentstests.json} (89%) rename input/resources/structuremap/{structuremap-emcare.b22.breastfeeding.json => structuremap-Ccc.b22.breastfeeding.json} (88%) rename input/resources/structuremap/{structuremap-emcare.b22.bronchodilatortest.json => structuremap-Ccc.b22.bronchodilatortest.json} (88%) rename input/resources/structuremap/{structuremap-emcare.b22.fluidtest.json => structuremap-Ccc.b22.fluidtest.json} (88%) rename input/resources/structuremap/{structuremap-emcare.b22.hemoglobin.json => structuremap-Ccc.b22.hemoglobin.json} (87%) rename input/resources/structuremap/{structuremap-emcare.b22.respiratoryrate.json => structuremap-Ccc.b22.respiratoryrate.json} (88%) rename input/resources/structuremap/{structuremap-emcare.b22.secondtemperature.json => structuremap-Ccc.b22.secondtemperature.json} (87%) rename input/resources/structuremap/{structuremap-emcare.b23.classification.json => structuremap-Ccc.b23.classification.json} (94%) rename input/resources/structuremap/{structuremap-emcare.b23.classification.m.json => structuremap-Ccc.b23.classification.m.json} (92%) rename input/resources/structuremap/{structuremap-emcare.b6.measurements.json => structuremap-Ccc.b6.measurements.json} (89%) rename input/resources/structuremap/{structuremap-emcare.b7.lti-dangersigns.json => structuremap-Ccc.b7.lti-dangersigns.json} (89%) rename input/resources/structuremap/{structuremap-emcare.treatment.json => structuremap-Ccc.treatment.json} (76%) rename input/resources/structuremap/{structuremap-emcarea.registration.p.json => structuremap-Ccca.registration.p.json} (86%) rename input/resources/structuremap/{structuremap-emcareb.registration.e.json => structuremap-Cccb.registration.e.json} (86%) rename input/resources/valueset/{valueset-emcarecondition.json => valueset-Ccccondition.json} (70%) rename input/resources/valueset/{valueset-emcareobservationvalueset.json => valueset-Cccobservation-valueset.json} (86%) rename input/resources/valueset/{valueset-emcareobservation.json => valueset-Cccobservation.json} (86%) rename input/resources/valueset/{valueset-emcareobservation-valueset.json => valueset-Cccobservationvalueset.json} (86%) rename manual/cql/{emcarebase.cql => Cccbase.cql} (94%) rename manual/cql/{emcarezscore.cql => Ccczscore.cql} (85%) rename manual/resources/library/{library-emcarebase.json => library-Cccbase.json} (85%) rename manual/resources/library/{library-emcarezscore.json => library-Ccczscore.json} (88%) diff --git a/README.md b/README.md index 6beb33d3..8bdb2318 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# smart-emcare +# smart-Ccc Emergency Care - a digital platform/reference mobile application that is able to rapidly share WHO guidelines for child and newborn health and facilitate implementation in humanitarian settings. ## build from l2 diff --git a/input/cql/Cccb1014symptoms2mp.cql b/input/cql/Cccb1014symptoms2mp.cql new file mode 100644 index 00000000..384c23a4 --- /dev/null +++ b/input/cql/Cccb1014symptoms2mp.cql @@ -0,0 +1,42 @@ +/* +@author: Patrick Delcroix +@description: This library is part of the project Ccc +*/ +library Cccb1014symptoms2mp version '1.0.1.rc12.build.457' +using FHIR version '4.0.1' +include FHIRHelpers version '4.0.1' called FHIRHelpers +include Cccbase version '1.0.1.rc12.build.457' called Base +include Cccobservation version '1.0.1.rc12.build.457' called obs +include Cccvalueset version '1.0.1.rc12.build.457' called val +include Ccccombineddataelements version '1.0.1.rc12.build.457' called c + + + + +context Patient + + +/* +none : Danger Signs + c."Ccc.b.g.de01" +*/ +define "none": + c."Ccc.b.g.de01" + +/* +none : Ccc.B12S1.DE01 + c."fever" +*/ +define "none": + c."fever" + +/* +none : AgeInMonths + AgeInMonths() +*/ +define "none": + AgeInMonths() + +/* alias age : ageinmonths*/ +define "age": + "ageinmonths" diff --git a/input/cql/emcareb1016signs2mp.cql b/input/cql/Cccb1016signs2mp.cql similarity index 57% rename from input/cql/emcareb1016signs2mp.cql rename to input/cql/Cccb1016signs2mp.cql index 8008e321..312245d2 100644 --- a/input/cql/emcareb1016signs2mp.cql +++ b/input/cql/Cccb1016signs2mp.cql @@ -1,14 +1,14 @@ /* @author: Patrick Delcroix -@description: This library is part of the project EmCare +@description: This library is part of the project Ccc */ -library emcareb1016signs2mp version '1.0.1.rc12.build.457' +library Cccb1016signs2mp version '1.0.1.rc12.build.457' using FHIR version '4.0.1' include FHIRHelpers version '4.0.1' called FHIRHelpers -include emcarebase version '1.0.1.rc12.build.457' called Base -include emcareobservation version '1.0.1.rc12.build.457' called obs -include emcarevalueset version '1.0.1.rc12.build.457' called val -include emcarecombineddataelements version '1.0.1.rc12.build.457' called clas +include Cccbase version '1.0.1.rc12.build.457' called Base +include Cccobservation version '1.0.1.rc12.build.457' called obs +include Cccvalueset version '1.0.1.rc12.build.457' called val +include Ccccombineddataelements version '1.0.1.rc12.build.457' called clas @@ -18,10 +18,10 @@ context Patient /* none : Danger Signs - Coalesce(clas."emcare.b.g.de01", false) + Coalesce(clas."Ccc.b.g.de01", false) */ define "none": - Coalesce(clas."emcare.b.g.de01", false) + Coalesce(clas."Ccc.b.g.de01", false) /* none : AgeInMonths @@ -39,42 +39,42 @@ none : Cough o"Cough" */ define "none": - Base.GetObsValue('EmCare.B10S1.DE05') + Base.GetObsValue('Ccc.B10S1.DE05') /* none : Difficulty Breathing o"Difficulty Breathing" */ define "none": - Base.GetObsValue('EmCare.B10S1.DE01') + Base.GetObsValue('Ccc.B10S1.DE01') /* none : Oral Fluid Test failed "Oral Fluid Test Results" = "Completely Unable to Drink or Vomits Immediately / Everything" or "Unable to Perform Oral Fluid Test"=true */ define "none": - Base.GetObsValue('EmCare.B22.DE08&EmCare.B22.DE14a') = true or Base.GetObsValue('EmCare.B22.DE14')=true + Base.GetObsValue('Ccc.B22.DE08&Ccc.B22.DE14a') = true or Base.GetObsValue('Ccc.B22.DE14')=true /* none : Diarrhoea o"Diarrhoea" */ define "none": - Base.GetObsValue('EmCare.B11S1.DE01') + Base.GetObsValue('Ccc.B11S1.DE01') /* none : Not able to drink or breastfeed o"Not able to drink or breastfeed" */ define "none": - Base.GetObsValue('EmCare.B7.DE09') + Base.GetObsValue('Ccc.B7.DE09') /* none : Unconscious or Lethargic - HasObs('EmCare.B7.DE08') = true or HasObs('EmCare.B7.DE08a') = true + HasObs('Ccc.B7.DE08') = true or HasObs('Ccc.B7.DE08a') = true */ define "none": - Base.HasObs('EmCare.B7.DE08') = true or Base.HasObs('EmCare.B7.DE08a') = true + Base.HasObs('Ccc.B7.DE08') = true or Base.HasObs('Ccc.B7.DE08a') = true /* none : Fever @@ -88,49 +88,49 @@ none : Ear Problem o"Ear Problem" */ define "none": - Base.GetObsValue('EmCare.B13S1.DE01') + Base.GetObsValue('Ccc.B13S1.DE01') /* none : Eye Problem o"Eye Problem" */ define "none": - Base.GetObsValue('EmCare.B14S1.DE03') + Base.GetObsValue('Ccc.B14S1.DE03') /* none : Skin Problem o"Skin Problem" */ define "none": - Base.GetObsValue('EmCare.B14S1.DE01') + Base.GetObsValue('Ccc.B14S1.DE01') /* none : Ear discharge o"Ear discharge" */ define "none": - Base.GetObsValue('EmCare.B13S1.DE03') + Base.GetObsValue('Ccc.B13S1.DE03') /* none : Ear discharge for how long? o"Ear discharge for how long?" */ define "none": - Base.GetObsValue('EmCare.B13S1.DE04') + Base.GetObsValue('Ccc.B13S1.DE04') /* none : Itchy Skin o"Itchy Skin" */ define "none": - Base.GetObsValue('EmCare.B14S1.DE02') + Base.GetObsValue('Ccc.B14S1.DE02') /* none : Respiratory Rate profile o"Respiratory Rate (breaths per minute)" */ define "none": - Base.GetObsValue('EmCare.B22.DE01') + Base.GetObsValue('Ccc.B22.DE01') /* none : force-collection @@ -144,11 +144,11 @@ none : Respiratory Rate Second Count Profile o"Respiratory Rate Second Count (breaths per minute)" */ define "none": - Base.GetObsValue('EmCare.B22.DE04') + Base.GetObsValue('Ccc.B22.DE04') /* none : Fast Breathing profile o"Fast Breathing" */ define "none": - Base.GetObsValue('EmCare.B22.DE07') + Base.GetObsValue('Ccc.B22.DE07') diff --git a/input/cql/emcareb1821signs2mm.cql b/input/cql/Cccb1821signs2mm.cql similarity index 60% rename from input/cql/emcareb1821signs2mm.cql rename to input/cql/Cccb1821signs2mm.cql index 64fcc7b1..19c975d9 100644 --- a/input/cql/emcareb1821signs2mm.cql +++ b/input/cql/Cccb1821signs2mm.cql @@ -1,15 +1,15 @@ /* @author: Patrick Delcroix -@description: This library is part of the project EmCare +@description: This library is part of the project Ccc */ -library emcareb1821signs2mm version '1.0.1.rc12.build.457' +library Cccb1821signs2mm version '1.0.1.rc12.build.457' using FHIR version '4.0.1' include FHIRHelpers version '4.0.1' called FHIRHelpers -include emcarebase version '1.0.1.rc12.build.457' called Base -include emcareobservation version '1.0.1.rc12.build.457' called obs -include emcarevalueset version '1.0.1.rc12.build.457' called val -include emcarezscore version '1.0.1.rc12.build.457' called Z -include emcarecombineddataelements version '1.0.1.rc12.build.457' called c +include Cccbase version '1.0.1.rc12.build.457' called Base +include Cccobservation version '1.0.1.rc12.build.457' called obs +include Cccvalueset version '1.0.1.rc12.build.457' called val +include Ccczscore version '1.0.1.rc12.build.457' called Z +include Ccccombineddataelements version '1.0.1.rc12.build.457' called c @@ -50,48 +50,48 @@ define "none": AgeInDays() /* -none : EmCare.B20S1.DE01 +none : Ccc.B20S1.DE01 o"Diarrhoea" */ define "none": - Base.GetObsValue('EmCare.B11S1.DE01') + Base.GetObsValue('Ccc.B11S1.DE01') -/* alias diarrhoea : emcare.b20s1.de01*/ +/* alias diarrhoea : Ccc.b20s1.de01*/ define "diarrhoea": - "emcare.b20s1.de01" + "Ccc.b20s1.de01" /* -none : EmCare.A.DE31 +none : Ccc.A.DE31 Base."Biological Mother Vital Status" */ define "none": Base."Biological Mother Vital Status" -/* alias biological mother vital status : emcare.a.de31*/ +/* alias biological mother vital status : Ccc.a.de31*/ define "biological mother vital status": - "emcare.a.de31" + "Ccc.a.de31" /* -none : EmCare.B21S1.DE01 +none : Ccc.B21S1.DE01 o"Breastfed" */ define "none": - Base.GetObsValue('EmCare.B21S1.DE06') + Base.GetObsValue('Ccc.B21S1.DE06') -/* alias breastfed : emcare.b21s1.de01*/ +/* alias breastfed : Ccc.b21s1.de01*/ define "breastfed": - "emcare.b21s1.de01" + "Ccc.b21s1.de01" /* -none : EmCare.B18S1.DE02 +none : Ccc.B18S1.DE02 o"Difficulty with Feeding" */ define "none": - Base.GetObsValue('EmCare.B18S1.DE02') + Base.GetObsValue('Ccc.B18S1.DE02') -/* alias difficulty with feeding : emcare.b18s1.de02*/ +/* alias difficulty with feeding : Ccc.b18s1.de02*/ define "difficulty with feeding": - "emcare.b18s1.de02" + "Ccc.b18s1.de02" /* none : YI_sever_but_dhey @@ -116,22 +116,22 @@ define "yi severe classification": "yi_sever" /* -none : EmCare.B7.DE03 +none : Ccc.B7.DE03 o"Convulsion(s) in this Illness" */ define "none": - Base.GetObsValue('EmCare.B7.DE03') + Base.GetObsValue('Ccc.B7.DE03') -/* alias convulsion(s) in this illness : emcare.b7.de03*/ +/* alias convulsion(s) in this illness : Ccc.b7.de03*/ define "convulsion(s) in this illness": - "emcare.b7.de03" + "Ccc.b7.de03" /* none : Respiratory Rate profile o"Respiratory Rate (breaths per minute)" */ define "none": - Base.GetObsValue('EmCare.B22.DE01') + Base.GetObsValue('Ccc.B22.DE01') /* none : force-collection @@ -145,11 +145,11 @@ none : Respiratory Rate Second Count Profile o"Respiratory Rate Second Count (breaths per minute)" */ define "none": - Base.GetObsValue('EmCare.B22.DE04') + Base.GetObsValue('Ccc.B22.DE04') /* none : Fast Breathing profile o"Fast Breathing" */ define "none": - Base.GetObsValue('EmCare.B22.DE07') + Base.GetObsValue('Ccc.B22.DE07') diff --git a/input/cql/Cccb1821symptoms2mm.cql b/input/cql/Cccb1821symptoms2mm.cql new file mode 100644 index 00000000..c2b8cbb6 --- /dev/null +++ b/input/cql/Cccb1821symptoms2mm.cql @@ -0,0 +1,23 @@ +/* +@author: Patrick Delcroix +@description: This library is part of the project Ccc +*/ +library Cccb1821symptoms2mm version '1.0.1.rc12.build.457' +using FHIR version '4.0.1' +include FHIRHelpers version '4.0.1' called FHIRHelpers +include Cccbase version '1.0.1.rc12.build.457' called Base +include Cccobservation version '1.0.1.rc12.build.457' called obs +include Cccvalueset version '1.0.1.rc12.build.457' called val + + + + +context Patient + + +/* +none : Convulsing Now + o"Convulsing Now" +*/ +define "none": + Base.GetObsValue('Ccc.B7.DE02') diff --git a/input/cql/emcareb22assessmentstests.cql b/input/cql/Cccb22assessmentstests.cql similarity index 63% rename from input/cql/emcareb22assessmentstests.cql rename to input/cql/Cccb22assessmentstests.cql index da0b0961..d448853d 100644 --- a/input/cql/emcareb22assessmentstests.cql +++ b/input/cql/Cccb22assessmentstests.cql @@ -1,14 +1,14 @@ /* @author: Patrick Delcroix -@description: This library is part of the project EmCare +@description: This library is part of the project Ccc */ -library emcareb22assessmentstests version '1.0.1.rc12.build.457' +library Cccb22assessmentstests version '1.0.1.rc12.build.457' using FHIR version '4.0.1' include FHIRHelpers version '4.0.1' called FHIRHelpers -include emcarebase version '1.0.1.rc12.build.457' called Base -include emcareobservation version '1.0.1.rc12.build.457' called obs -include emcarevalueset version '1.0.1.rc12.build.457' called val -include emcarecombineddataelements version '1.0.1.rc12.build.457' called c +include Cccbase version '1.0.1.rc12.build.457' called Base +include Cccobservation version '1.0.1.rc12.build.457' called obs +include Cccvalueset version '1.0.1.rc12.build.457' called val +include Ccccombineddataelements version '1.0.1.rc12.build.457' called c @@ -46,7 +46,7 @@ none : a-RespiratoryRate ("Cough" = true or "Difficulty Breathing" = true or "AgeInMonths"<2) and o"Fast Breathing" is null */ define "none": - (Base.GetObsValue('EmCare.B10S1.DE05') = true or Base.GetObsValue('EmCare.B10S1.DE01') = true or "ageinmonths"<2) and Base.GetObsValue('EmCare.B22.DE07') is null + (Base.GetObsValue('Ccc.B10S1.DE05') = true or Base.GetObsValue('Ccc.B10S1.DE01') = true or "ageinmonths"<2) and Base.GetObsValue('Ccc.B22.DE07') is null /* alias applicability-respiratoryrate : a-respiratoryrate*/ define "applicability-respiratoryrate": @@ -57,7 +57,7 @@ none : a-BronchodilatorTest ("Cough" = true or "Difficulty Breathing" = true) and "Wheezing" = true and (o"Fast Breathing" = true or "Chest Indrawing" = true) and c."danger signs" != true and "Stridor in a calm child"= false and "Oxygen Saturation" >= 90 '%' */ define "none": - (Base.GetObsValue('EmCare.B10S1.DE05') = true or Base.GetObsValue('EmCare.B10S1.DE01') = true) and Base.GetObsValue('EmCare.B10S2.DE05') = true and (Base.GetObsValue('EmCare.B22.DE07') = true or Base.GetObsValue('EmCare.B10S2.DE03') = true) and Coalesce(c."danger signs",false)!=true and Base.GetObsValue('EmCare.B10S2.DE04')= false and Base.GetObsValue('EmCare.B10S2.DE07') >= 90 '%' + (Base.GetObsValue('Ccc.B10S1.DE05') = true or Base.GetObsValue('Ccc.B10S1.DE01') = true) and Base.GetObsValue('Ccc.B10S2.DE05') = true and (Base.GetObsValue('Ccc.B22.DE07') = true or Base.GetObsValue('Ccc.B10S2.DE03') = true) and Coalesce(c."danger signs",false)!=true and Base.GetObsValue('Ccc.B10S2.DE04')= false and Base.GetObsValue('Ccc.B10S2.DE07') >= 90 '%' /* alias applicability-bronchodilatortest : a-bronchodilatortest*/ define "applicability-bronchodilatortest": @@ -68,7 +68,7 @@ none : a-Hemoglobin "Palmar pallor" = "Some palmar pallor" or "Palmar Pallor" = "Severe Palmar Pallor" or "Mucous membrane pallor" = "Some mucous membrane pallor" or "Mucous membrane pallor" = "Severe mucous membrane pallor" */ define "none": - Base.HasObsValueCode('EmCare.B15S2.DE01', 'EmCare.B15S2.DE03') or Base.HasObsValueCode('EmCare.B15S2.DE01', 'EmCare.B15S2.DE02') or Base.HasObsValueCode('EmCare.B15S2.DE09', 'EmCare.B15S2.DE11') or Base.HasObsValueCode('EmCare.B15S2.DE09', 'EmCare.B15S2.DE10') + Base.HasObsValueCode('Ccc.B15S2.DE01', 'Ccc.B15S2.DE03') or Base.HasObsValueCode('Ccc.B15S2.DE01', 'Ccc.B15S2.DE02') or Base.HasObsValueCode('Ccc.B15S2.DE09', 'Ccc.B15S2.DE11') or Base.HasObsValueCode('Ccc.B15S2.DE09', 'Ccc.B15S2.DE10') /* alias applicability-hemoglobin : a-hemoglobin*/ define "applicability-hemoglobin": @@ -79,7 +79,7 @@ none : a-SecondTemperature c."psbi other than temperature" != true and AgeInMonths()<2 and "Axillary Temperature (degrees Celcius)" > 38.5 'Cel' */ define "none": - Coalesce(c."psbi other than temperature",false)!=true and AgeInMonths()<2 and Base.GetObsValue('EmCare.B6.DE01') > 38.5 'Cel' + Coalesce(c."psbi other than temperature",false)!=true and AgeInMonths()<2 and Base.GetObsValue('Ccc.B6.DE01') > 38.5 'Cel' /* alias applicability-secondtemperature : a-secondtemperature*/ define "applicability-secondtemperature": @@ -90,7 +90,7 @@ none : a-FluidTest ("Not able to drink or breastfeed" = true or "Vomiting Everything" = true or "Diarrhoea" = true) and o"Oral Fluid Test Results" is null */ define "none": - ("not able to drink or breastfeed" = true or "vomiting everything" = true or Base.GetObsValue('EmCare.B11S1.DE01') = true) and Base.GetObsValue('EmCare.B22.DE08') is null + ("not able to drink or breastfeed" = true or "vomiting everything" = true or Base.GetObsValue('Ccc.B11S1.DE01') = true) and Base.GetObsValue('Ccc.B22.DE08') is null /* alias applicability-fluidtest : a-fluidtest*/ define "applicability-fluidtest": @@ -101,28 +101,28 @@ none : Respiratory Rate profile o"Respiratory Rate (breaths per minute)" */ define "none": - Base.GetObsValue('EmCare.B22.DE01') + Base.GetObsValue('Ccc.B22.DE01') /* none : Respiratory Rate Second Count Profile o"Respiratory Rate Second Count (breaths per minute)" */ define "none": - Base.GetObsValue('EmCare.B22.DE04') + Base.GetObsValue('Ccc.B22.DE04') /* none : Fast Breathing profile o"Fast Breathing" */ define "none": - Base.GetObsValue('EmCare.B22.DE07') + Base.GetObsValue('Ccc.B22.DE07') /* none : oftrp o"Unable to Perform Oral Fluid Test" */ define "none": - Base.GetObsValue('EmCare.B22.DE14') + Base.GetObsValue('Ccc.B22.DE14') /* alias unable to perform oral fluid test profile : oftrp*/ define "unable to perform oral fluid test profile": @@ -140,23 +140,23 @@ define "danger signs": "ds" /* -none : EmCare.B7.DE09 +none : Ccc.B7.DE09 Coalesce(o"Not able to drink or breastfeed",false) */ define "none": - Coalesce(Base.GetObsValue('EmCare.B7.DE09'),false) + Coalesce(Base.GetObsValue('Ccc.B7.DE09'),false) -/* alias not able to drink or breastfeed : emcare.b7.de09*/ +/* alias not able to drink or breastfeed : Ccc.b7.de09*/ define "not able to drink or breastfeed": - "emcare.b7.de09" + "Ccc.b7.de09" /* -none : EmCare.B7.DE10 +none : Ccc.B7.DE10 Coalesce(o"Vomiting Everything",false) */ define "none": - Coalesce(Base.GetObsValue('EmCare.B7.DE10'),false) + Coalesce(Base.GetObsValue('Ccc.B7.DE10'),false) -/* alias vomiting everything : emcare.b7.de10*/ +/* alias vomiting everything : Ccc.b7.de10*/ define "vomiting everything": - "emcare.b7.de10" + "Ccc.b7.de10" diff --git a/input/cql/Cccb22breastfeeding.cql b/input/cql/Cccb22breastfeeding.cql new file mode 100644 index 00000000..fe52fd49 --- /dev/null +++ b/input/cql/Cccb22breastfeeding.cql @@ -0,0 +1,27 @@ +/* +@author: Patrick Delcroix +@description: This library is part of the project Ccc +*/ +library Cccb22breastfeeding version '1.0.1.rc12.build.457' +using FHIR version '4.0.1' +include FHIRHelpers version '4.0.1' called FHIRHelpers +include Cccbase version '1.0.1.rc12.build.457' called Base +include Cccobservation version '1.0.1.rc12.build.457' called obs +include Cccvalueset version '1.0.1.rc12.build.457' called val + + + + +context Patient + + +/* +none : AgeInMonths + AgeInMonths() +*/ +define "none": + AgeInMonths() + +/* alias age : ageinmonths*/ +define "age": + "ageinmonths" diff --git a/input/cql/Cccb22fluidtest.cql b/input/cql/Cccb22fluidtest.cql new file mode 100644 index 00000000..76f47c8f --- /dev/null +++ b/input/cql/Cccb22fluidtest.cql @@ -0,0 +1,61 @@ +/* +@author: Patrick Delcroix +@description: This library is part of the project Ccc +*/ +library Cccb22fluidtest version '1.0.1.rc12.build.457' +using FHIR version '4.0.1' +include FHIRHelpers version '4.0.1' called FHIRHelpers +include Cccbase version '1.0.1.rc12.build.457' called Base +include Cccobservation version '1.0.1.rc12.build.457' called obs +include Cccvalueset version '1.0.1.rc12.build.457' called val +include Ccccombineddataelements version '1.0.1.rc12.build.457' called c + + + + +context Patient + + +/* +none : oftrp + o"Unable to Perform Oral Fluid Test" +*/ +define "none": + Base.GetObsValue('Ccc.B22.DE14') + +/* alias unable to perform oral fluid test profile : oftrp*/ +define "unable to perform oral fluid test profile": + "oftrp" + +/* +none : DS + Coalesce(c."danger signs",false) +*/ +define "none": + Coalesce(c."danger signs",false) + +/* alias danger signs : ds*/ +define "danger signs": + "ds" + +/* +none : Ccc.B7.DE09 + Coalesce(o"Not able to drink or breastfeed",false) +*/ +define "none": + Coalesce(Base.GetObsValue('Ccc.B7.DE09'),false) + +/* alias not able to drink or breastfeed : Ccc.b7.de09*/ +define "not able to drink or breastfeed": + "Ccc.b7.de09" + +/* +none : Ccc.B7.DE10 + Coalesce(o"Vomiting Everything",false) +*/ +define "none": + Coalesce(Base.GetObsValue('Ccc.B7.DE10'),false) + +/* alias vomiting everything : Ccc.b7.de10*/ +define "vomiting everything": + "Ccc.b7.de10" diff --git a/input/cql/emcareb22respiratoryrate.cql b/input/cql/Cccb22respiratoryrate.cql similarity index 59% rename from input/cql/emcareb22respiratoryrate.cql rename to input/cql/Cccb22respiratoryrate.cql index b23c9736..009d045c 100644 --- a/input/cql/emcareb22respiratoryrate.cql +++ b/input/cql/Cccb22respiratoryrate.cql @@ -1,13 +1,13 @@ /* @author: Patrick Delcroix -@description: This library is part of the project EmCare +@description: This library is part of the project Ccc */ -library emcareb22respiratoryrate version '1.0.1.rc12.build.457' +library Cccb22respiratoryrate version '1.0.1.rc12.build.457' using FHIR version '4.0.1' include FHIRHelpers version '4.0.1' called FHIRHelpers -include emcarebase version '1.0.1.rc12.build.457' called Base -include emcareobservation version '1.0.1.rc12.build.457' called obs -include emcarevalueset version '1.0.1.rc12.build.457' called val +include Cccbase version '1.0.1.rc12.build.457' called Base +include Cccobservation version '1.0.1.rc12.build.457' called obs +include Cccvalueset version '1.0.1.rc12.build.457' called val @@ -31,7 +31,7 @@ none : Respiratory Rate profile o"Respiratory Rate (breaths per minute)" */ define "none": - Base.GetObsValue('EmCare.B22.DE01') + Base.GetObsValue('Ccc.B22.DE01') /* none : force-collection @@ -45,11 +45,11 @@ none : Respiratory Rate Second Count Profile o"Respiratory Rate Second Count (breaths per minute)" */ define "none": - Base.GetObsValue('EmCare.B22.DE04') + Base.GetObsValue('Ccc.B22.DE04') /* none : Fast Breathing profile o"Fast Breathing" */ define "none": - Base.GetObsValue('EmCare.B22.DE07') + Base.GetObsValue('Ccc.B22.DE07') diff --git a/input/cql/Cccb22secondtemperature.cql b/input/cql/Cccb22secondtemperature.cql new file mode 100644 index 00000000..9b37f19f --- /dev/null +++ b/input/cql/Cccb22secondtemperature.cql @@ -0,0 +1,27 @@ +/* +@author: Patrick Delcroix +@description: This library is part of the project Ccc +*/ +library Cccb22secondtemperature version '1.0.1.rc12.build.457' +using FHIR version '4.0.1' +include FHIRHelpers version '4.0.1' called FHIRHelpers +include Cccbase version '1.0.1.rc12.build.457' called Base +include Cccobservation version '1.0.1.rc12.build.457' called obs +include Cccvalueset version '1.0.1.rc12.build.457' called val + + + + +context Patient + + +/* +none : AgeInMonths + AgeInMonths() +*/ +define "none": + AgeInMonths() + +/* alias age : ageinmonths*/ +define "age": + "ageinmonths" diff --git a/input/cql/emcareb23classification.cql b/input/cql/Cccb23classification.cql similarity index 61% rename from input/cql/emcareb23classification.cql rename to input/cql/Cccb23classification.cql index 378e904a..e9d1b16f 100644 --- a/input/cql/emcareb23classification.cql +++ b/input/cql/Cccb23classification.cql @@ -1,15 +1,15 @@ /* @author: Patrick Delcroix -@description: This library is part of the project EmCare +@description: This library is part of the project Ccc */ -library emcareb23classification version '1.0.1.rc12.build.457' +library Cccb23classification version '1.0.1.rc12.build.457' using FHIR version '4.0.1' include FHIRHelpers version '4.0.1' called FHIRHelpers -include emcarebase version '1.0.1.rc12.build.457' called Base -include emcareobservation version '1.0.1.rc12.build.457' called obs -include emcarevalueset version '1.0.1.rc12.build.457' called val -include emcarezscore version '1.0.1.rc12.build.457' called Z -include emcarecombineddataelements version '1.0.1.rc12.build.457' called C +include Cccbase version '1.0.1.rc12.build.457' called Base +include Cccobservation version '1.0.1.rc12.build.457' called obs +include Cccvalueset version '1.0.1.rc12.build.457' called val +include Ccczscore version '1.0.1.rc12.build.457' called Z +include Ccccombineddataelements version '1.0.1.rc12.build.457' called C @@ -25,83 +25,83 @@ define "none": C."child" /* -none : EmCare.B6.DE06 +none : Ccc.B6.DE06 o"Weight (Kg)" */ define "none": - Base.GetObsValue('EmCare.B6.DE06') + Base.GetObsValue('Ccc.B6.DE06') -/* alias weight : emcare.b6.de06*/ +/* alias weight : Ccc.b6.de06*/ define "weight": - "emcare.b6.de06" + "Ccc.b6.de06" /* -none : EmCare.B6.DE08-old +none : Ccc.B6.DE08-old o"Weight (Kg)" */ define "none": - Base.GetObsValue('EmCare.B6.DE06') + Base.GetObsValue('Ccc.B6.DE06') -/* alias profile weight : emcare.b6.de08-old*/ +/* alias profile weight : Ccc.b6.de08-old*/ define "profile weight": - "emcare.b6.de08-old" + "Ccc.b6.de08-old" /* -none : EmCare.B6.DE08 +none : Ccc.B6.DE08 o"Weight (Kg)" */ define "none": - Base.GetObsValue('EmCare.B6.DE06') + Base.GetObsValue('Ccc.B6.DE06') -/* alias estimated weight : emcare.b6.de08*/ +/* alias estimated weight : Ccc.b6.de08*/ define "estimated weight": - "emcare.b6.de08" + "Ccc.b6.de08" /* none : DL-G-CL1-07 C."age >= 2 months to <60 months" and ("Cough" = true or "Difficulty Breathing" = true) and (C."danger signs" = true or "Stridor in a calm child" = true or Coalesce("Oxygen Saturation", 95 '%') < 90 '%') */ define "none": - C."age >= 2 months to <60 months" and (Base.GetObsValue('EmCare.B10S1.DE05') = true or Base.GetObsValue('EmCare.B10S1.DE01') = true) and (C."danger signs" = true or Base.GetObsValue('EmCare.B10S2.DE04') = true or Coalesce(Base.GetObsValue('EmCare.B10S2.DE07'), 95 '%') < 90 '%') + C."age >= 2 months to <60 months" and (Base.GetObsValue('Ccc.B10S1.DE05') = true or Base.GetObsValue('Ccc.B10S1.DE01') = true) and (C."danger signs" = true or Base.GetObsValue('Ccc.B10S2.DE04') = true or Coalesce(Base.GetObsValue('Ccc.B10S2.DE07'), 95 '%') < 90 '%') /* alias severe pneumonia or very severe disease : dl-g-cl1-07*/ define "severe pneumonia or very severe disease": "dl-g-cl1-07" /* -none : EmCare.B23.DE04 +none : Ccc.B23.DE04 Coalesce("Oxygen Saturation", 95 '%') < 90 '%' */ define "none": - Coalesce(Base.GetObsValue('EmCare.B10S2.DE07'), 95 '%') < 90 '%' + Coalesce(Base.GetObsValue('Ccc.B10S2.DE07'), 95 '%') < 90 '%' /* -none : EmCare.B23.DE05 +none : Ccc.B23.DE05 "Wheezing" = true */ define "none": - Base.GetObsValue('EmCare.B10S2.DE05') = true + Base.GetObsValue('Ccc.B10S2.DE05') = true /* -none : EmCare.B23.DE08 +none : Ccc.B23.DE08 "Cough for how long?" = "14 days or more" or "Difficulty breathing for how long?" = "14 days or more" or "Recurrent Wheeze" = true */ define "none": - Base.HasObsValueCode('EmCare.B10S1.DE06', 'EmCare.B10S1.DE08') or Base.HasObsValueCode('EmCare.B10S1.DE02', 'EmCare.B10S1.DE08') or Base.GetObsValue('EmCare.B10S2.DE06') = true + Base.HasObsValueCode('Ccc.B10S1.DE06', 'Ccc.B10S1.DE08') or Base.HasObsValueCode('Ccc.B10S1.DE02', 'Ccc.B10S1.DE08') or Base.GetObsValue('Ccc.B10S2.DE06') = true /* none : Measles in last 3 months - HasCondHistory('EmCare.B23.DE27',94) = true or HasCondHistory('EmCare.B23.DE28',94) = true or HasCondHistory('EmCare.B23.DE29',94) =true or o"Measles within the last 3 months"=true + HasCondHistory('Ccc.B23.DE27',94) = true or HasCondHistory('Ccc.B23.DE28',94) = true or HasCondHistory('Ccc.B23.DE29',94) =true or o"Measles within the last 3 months"=true */ define "none": - Base.HasCondHistory('EmCare.B23.DE27',94) = true or Base.HasCondHistory('EmCare.B23.DE28',94) = true or Base.HasCondHistory('EmCare.B23.DE29',94) =true or Base.GetObsValue('EmCare.B14S2.DE11')=true + Base.HasCondHistory('Ccc.B23.DE27',94) = true or Base.HasCondHistory('Ccc.B23.DE28',94) = true or Base.HasCondHistory('Ccc.B23.DE29',94) =true or Base.GetObsValue('Ccc.B14S2.DE11')=true /* none : DL-G-CL1-14 C."age >= 2 months to <60 months" and ("Cough"= true or o"Difficulty Breathing" = true) and (o"Fast breathing" = true or o"Chest indrawing" = true) and ("Severe Pneumonia or Very Severe Disease" !=true ) */ define "none": - C."age >= 2 months to <60 months" and (Base.GetObsValue('EmCare.B10S1.DE05')= true or Base.GetObsValue('EmCare.B10S1.DE01') = true) and (Base.GetObsValue('EmCare.B22.DE07') = true or Base.GetObsValue('EmCare.B10S2.DE03') = true) and (Coalesce("severe pneumonia or very severe disease",false)!=true ) + C."age >= 2 months to <60 months" and (Base.GetObsValue('Ccc.B10S1.DE05')= true or Base.GetObsValue('Ccc.B10S1.DE01') = true) and (Base.GetObsValue('Ccc.B22.DE07') = true or Base.GetObsValue('Ccc.B10S2.DE03') = true) and (Coalesce("severe pneumonia or very severe disease",false)!=true ) /* alias pneumonia : dl-g-cl1-14*/ define "pneumonia": @@ -112,7 +112,7 @@ none : DL-G-CL1-19 C."age >= 2 months to <60 months" and ("Cough"= true or "Difficulty Breathing" = true) and "Severe Pneumonia or Very Severe Disease"!= true and "Pneumonia"!=true */ define "none": - C."age >= 2 months to <60 months" and (Base.GetObsValue('EmCare.B10S1.DE05')= true or Base.GetObsValue('EmCare.B10S1.DE01') = true) and Coalesce("severe pneumonia or very severe disease",false)!=true and Coalesce("pneumonia",false)!=true + C."age >= 2 months to <60 months" and (Base.GetObsValue('Ccc.B10S1.DE05')= true or Base.GetObsValue('Ccc.B10S1.DE01') = true) and Coalesce("severe pneumonia or very severe disease",false)!=true and Coalesce("pneumonia",false)!=true /* alias cough or cold : dl-g-cl1-19*/ define "cough or cold": @@ -145,7 +145,7 @@ none : DL-G-CL1-30 C."age >= 2 months to <60 months" and "Diarrhoea" = true and "Severe Dehydration"!=true and "Some Dehydration"!=true */ define "none": - C."age >= 2 months to <60 months" and Base.GetObsValue('EmCare.B11S1.DE01') = true and Coalesce("severe dehydration",false)!=true and Coalesce("some dehydration",false)!=true + C."age >= 2 months to <60 months" and Base.GetObsValue('Ccc.B11S1.DE01') = true and Coalesce("severe dehydration",false)!=true and Coalesce("some dehydration",false)!=true /* alias no dehydration : dl-g-cl1-30*/ define "no dehydration": @@ -156,7 +156,7 @@ none : DL-G-CL1-31 C."age >= 2 months to <60 months" and "Diarrhoea" = true and ("Severe Dehydration"=true or "Some Dehydration"=true) and "Diarrhoea for how long?" = "14 days or more" */ define "none": - C."age >= 2 months to <60 months" and Base.GetObsValue('EmCare.B11S1.DE01') = true and ("severe dehydration"=true or "some dehydration"=true) and Base.HasObsValueCode('EmCare.B11S1.DE02', 'EmCare.B10S1.DE08') + C."age >= 2 months to <60 months" and Base.GetObsValue('Ccc.B11S1.DE01') = true and ("severe dehydration"=true or "some dehydration"=true) and Base.HasObsValueCode('Ccc.B11S1.DE02', 'Ccc.B10S1.DE08') /* alias severe persistent diarrhoea : dl-g-cl1-31*/ define "severe persistent diarrhoea": @@ -167,7 +167,7 @@ none : DL-G-CL1-32 C."age >= 2 months to <60 months" and "Diarrhoea" = true and "No Dehydration"=true and "Diarrhoea for how long?" = "14 days or more" */ define "none": - C."age >= 2 months to <60 months" and Base.GetObsValue('EmCare.B11S1.DE01') = true and "no dehydration"=true and Base.HasObsValueCode('EmCare.B11S1.DE02', 'EmCare.B10S1.DE08') + C."age >= 2 months to <60 months" and Base.GetObsValue('Ccc.B11S1.DE01') = true and "no dehydration"=true and Base.HasObsValueCode('Ccc.B11S1.DE02', 'Ccc.B10S1.DE08') /* alias persistent diarrhoea : dl-g-cl1-32*/ define "persistent diarrhoea": @@ -178,7 +178,7 @@ none : DL-G-CL1-33 C."age >= 2 months to <60 months" and "Diarrhoea" = true and "Blood in the stool in this Illness" = true and "Axillary Temperature (degrees Celcius)" < 38.5 'Cel' */ define "none": - C."age >= 2 months to <60 months" and Base.GetObsValue('EmCare.B11S1.DE01') = true and Base.GetObsValue('EmCare.B11S1.DE05') = true and Base.GetObsValue('EmCare.B6.DE01') < 38.5 'Cel' + C."age >= 2 months to <60 months" and Base.GetObsValue('Ccc.B11S1.DE01') = true and Base.GetObsValue('Ccc.B11S1.DE05') = true and Base.GetObsValue('Ccc.B6.DE01') < 38.5 'Cel' /* alias dysentery : dl-g-cl1-33*/ define "dysentery": @@ -189,7 +189,7 @@ none : DL-I-CL1-01 C."age >= 2 months to <60 months" and "Diarrhoea" = true and "Blood in the stool in this Illness" = true and "Axillary Temperature (degrees Celcius)" >= 38.5 'Cel' */ define "none": - C."age >= 2 months to <60 months" and Base.GetObsValue('EmCare.B11S1.DE01') = true and Base.GetObsValue('EmCare.B11S1.DE05') = true and Base.GetObsValue('EmCare.B6.DE01') >= 38.5 'Cel' + C."age >= 2 months to <60 months" and Base.GetObsValue('Ccc.B11S1.DE01') = true and Base.GetObsValue('Ccc.B11S1.DE05') = true and Base.GetObsValue('Ccc.B6.DE01') >= 38.5 'Cel' /* alias possible shigella : dl-i-cl1-01*/ define "possible shigella": @@ -200,7 +200,7 @@ none : DL-I-CL1-05 C."age >= 2 months to <60 months" and C."fever" = true and o"Throat problem" = true and ("Not able to drink or breastfeed" = true or "Ability to swallow" = "Unable to swallow" or "Specify Throat problem" = "Membrane on throat") */ define "none": - C."age >= 2 months to <60 months" and C."fever" = true and Base.GetObsValue('EmCare.B17S1.DE01') = true and (Base.GetObsValue('EmCare.B7.DE09') = true or Base.HasObsValueCode('EmCare.B17S1.DE07', 'EmCare.B17S1.DE10') or Base.HasObsValueCode('EmCare.B17S1.DE02', 'EmCare.B17S1.DE05')) + C."age >= 2 months to <60 months" and C."fever" = true and Base.GetObsValue('Ccc.B17S1.DE01') = true and (Base.GetObsValue('Ccc.B7.DE09') = true or Base.HasObsValueCode('Ccc.B17S1.DE07', 'Ccc.B17S1.DE10') or Base.HasObsValueCode('Ccc.B17S1.DE02', 'Ccc.B17S1.DE05')) /* alias throat abscess or possible diptheria : dl-i-cl1-05*/ define "throat abscess or possible diptheria": @@ -211,7 +211,7 @@ none : DL-I-CL1-06 C."age >= 2 months to <60 months" and (C."fever" = true or "Ability to swallow" = "Difficulty in swallowing" ) and "Throat problem" = true and ("Not able to drink or breastfeed" = true or "Ability to swallow" = "Unable to swallow" or "Specify Throat problem" = "Membrane on throat") and (ToInteger("Enlarged lymph nodes on front of neck" = true )+ToInteger("Specify Throat problem" = "Red (congested) throat")+ToInteger("Specify Throat problem" = "Exudate on Throat"))>1 and "Throat Abscess or Possible Diptheria"!=true */ define "none": - C."age >= 2 months to <60 months" and (C."fever" = true or Base.HasObsValueCode('EmCare.B17S1.DE07', 'EmCare.B17S1.DE09') ) and Base.GetObsValue('EmCare.B17S1.DE01') = true and (Base.GetObsValue('EmCare.B7.DE09') = true or Base.HasObsValueCode('EmCare.B17S1.DE07', 'EmCare.B17S1.DE10') or Base.HasObsValueCode('EmCare.B17S1.DE02', 'EmCare.B17S1.DE05')) and (ToInteger(Coalesce(Base.GetObsValue('EmCare.B17S1.DE06') = true ,false))+ToInteger(Coalesce(Base.HasObsValueCode('EmCare.B17S1.DE02', 'EmCare.B17S1.DE03'),false))+ToInteger(Coalesce(Base.HasObsValueCode('EmCare.B17S1.DE02', 'EmCare.B17S1.DE04'),false)))>1 and Coalesce("throat abscess or possible diptheria",false)!=true + C."age >= 2 months to <60 months" and (C."fever" = true or Base.HasObsValueCode('Ccc.B17S1.DE07', 'Ccc.B17S1.DE09') ) and Base.GetObsValue('Ccc.B17S1.DE01') = true and (Base.GetObsValue('Ccc.B7.DE09') = true or Base.HasObsValueCode('Ccc.B17S1.DE07', 'Ccc.B17S1.DE10') or Base.HasObsValueCode('Ccc.B17S1.DE02', 'Ccc.B17S1.DE05')) and (ToInteger(Coalesce(Base.GetObsValue('Ccc.B17S1.DE06') = true ,false))+ToInteger(Coalesce(Base.HasObsValueCode('Ccc.B17S1.DE02', 'Ccc.B17S1.DE03'),false))+ToInteger(Coalesce(Base.HasObsValueCode('Ccc.B17S1.DE02', 'Ccc.B17S1.DE04'),false)))>1 and Coalesce("throat abscess or possible diptheria",false)!=true /* alias streptococcal sore throat : dl-i-cl1-06*/ define "streptococcal sore throat": @@ -222,7 +222,7 @@ none : DL-I-CL1-07 C."age >= 2 months to <60 months" and ("Ability to swallow" = "Difficulty in swallowing" or "Enlarged lymph nodes on front of neck" = true or "Specify Throat problem" = "Red (congested) throat" or "Specify Throat problem" = "Exudate on Throat" ) and "Throat problem" = true and "Throat Abscess or Possible Diptheria"!=true and "Streptococcal Sore Throat"!=true */ define "none": - C."age >= 2 months to <60 months" and (Base.HasObsValueCode('EmCare.B17S1.DE07', 'EmCare.B17S1.DE09') or Base.GetObsValue('EmCare.B17S1.DE06') = true or Base.HasObsValueCode('EmCare.B17S1.DE02', 'EmCare.B17S1.DE03') or Base.HasObsValueCode('EmCare.B17S1.DE02', 'EmCare.B17S1.DE04') ) and Base.GetObsValue('EmCare.B17S1.DE01') = true and Coalesce("throat abscess or possible diptheria",false)!=true and Coalesce("streptococcal sore throat",false)!=true + C."age >= 2 months to <60 months" and (Base.HasObsValueCode('Ccc.B17S1.DE07', 'Ccc.B17S1.DE09') or Base.GetObsValue('Ccc.B17S1.DE06') = true or Base.HasObsValueCode('Ccc.B17S1.DE02', 'Ccc.B17S1.DE03') or Base.HasObsValueCode('Ccc.B17S1.DE02', 'Ccc.B17S1.DE04') ) and Base.GetObsValue('Ccc.B17S1.DE01') = true and Coalesce("throat abscess or possible diptheria",false)!=true and Coalesce("streptococcal sore throat",false)!=true /* alias non-streptococcal sore throat : dl-i-cl1-07*/ define "non-streptococcal sore throat": @@ -233,7 +233,7 @@ none : DL-I-CL1-09 C."age >= 2 months to <60 months" and "Throat problem" = true and "Throat Abscess or Possible Diptheria"!=true and "Streptococcal Sore Throat"!=true and "Non-Streptococcal Sore Throat"!=true */ define "none": - C."age >= 2 months to <60 months" and Base.GetObsValue('EmCare.B17S1.DE01') = true and Coalesce("throat abscess or possible diptheria",false)!=true and Coalesce("streptococcal sore throat",false)!=true and Coalesce("non-streptococcal sore throat",false)!=true + C."age >= 2 months to <60 months" and Base.GetObsValue('Ccc.B17S1.DE01') = true and Coalesce("throat abscess or possible diptheria",false)!=true and Coalesce("streptococcal sore throat",false)!=true and Coalesce("non-streptococcal sore throat",false)!=true /* alias no throat problem : dl-i-cl1-09*/ define "no throat problem": @@ -244,7 +244,7 @@ none : DL-G-CL1-73 C."age >= 2 months to <60 months" and "Ear Problem" = true and "Tender swelling behind the ear" = true */ define "none": - C."age >= 2 months to <60 months" and Base.GetObsValue('EmCare.B13S1.DE01') = true and Base.GetObsValue('EmCare.B13S2.DE01') = true + C."age >= 2 months to <60 months" and Base.GetObsValue('Ccc.B13S1.DE01') = true and Base.GetObsValue('Ccc.B13S2.DE01') = true /* alias mastoiditis : dl-g-cl1-73*/ define "mastoiditis": @@ -255,7 +255,7 @@ none : DL-G-CL1-74-76 C."age >= 2 months to <60 months" and "Ear Problem" = true */ define "none": - C."age >= 2 months to <60 months" and Base.GetObsValue('EmCare.B13S1.DE01') = true + C."age >= 2 months to <60 months" and Base.GetObsValue('Ccc.B13S1.DE01') = true /* alias acute ear infection : dl-g-cl1-74-76*/ define "acute ear infection": @@ -266,25 +266,25 @@ none : DL-I-CL1-11-12 C."age >= 2 months to <60 months" and "Ear Problem" = true and "Pus Seen Draining from the Ear" = true */ define "none": - C."age >= 2 months to <60 months" and Base.GetObsValue('EmCare.B13S1.DE01') = true and Base.GetObsValue('EmCare.B13S2.DE02') = true + C."age >= 2 months to <60 months" and Base.GetObsValue('Ccc.B13S1.DE01') = true and Base.GetObsValue('Ccc.B13S2.DE02') = true /* alias chronic ear infection : dl-i-cl1-11-12*/ define "chronic ear infection": "dl-i-cl1-11-12" /* -none : EmCare.B23.DE32a +none : Ccc.B23.DE32a "Ear Pain" = true or C."fever" = true */ define "none": - Base.GetObsValue('EmCare.B13S1.DE02') = true or C."fever" = true + Base.GetObsValue('Ccc.B13S1.DE02') = true or C."fever" = true /* none : DL-G-CL1-79 C."age >= 2 months to <60 months" and "Ear Problem" = true and "Chronic Ear Infection"!=true and "Mastoiditis"!=true and "Acute Ear Infection"!=true */ define "none": - C."age >= 2 months to <60 months" and Base.GetObsValue('EmCare.B13S1.DE01') = true and Coalesce("chronic ear infection",false)!=true and Coalesce("mastoiditis",false)!=true and Coalesce("acute ear infection",false)!=true + C."age >= 2 months to <60 months" and Base.GetObsValue('Ccc.B13S1.DE01') = true and Coalesce("chronic ear infection",false)!=true and Coalesce("mastoiditis",false)!=true and Coalesce("acute ear infection",false)!=true /* alias no ear infection : dl-g-cl1-79*/ define "no ear infection": @@ -295,7 +295,7 @@ none : DL-G-CL1-34 C."age >= 2 months to <60 months" and C."fever" = true and (C."danger signs" = true or "Stiff Neck" = true) */ define "none": - C."age >= 2 months to <60 months" and C."fever" = true and (C."danger signs" = true or Base.GetObsValue('EmCare.B12S2.DE01') = true) + C."age >= 2 months to <60 months" and C."fever" = true and (C."danger signs" = true or Base.GetObsValue('Ccc.B12S2.DE01') = true) /* alias very severe febrile disease : dl-g-cl1-34*/ define "very severe febrile disease": @@ -313,15 +313,15 @@ define "fever: possible bacterial infection": "dl-i-cl1-03" /* -none : EmCare.B23.DE26a +none : Ccc.B23.DE26a "Fever for how long?" = "7 Days or more" and "Has Fever been present every day since the Fever started?" = true */ define "none": - Base.HasObsValueCode('EmCare.B12S1.DE03', 'EmCare.B12S1.DE05') and Base.GetObsValue('EmCare.B12S1.DE06') = true + Base.HasObsValueCode('Ccc.B12S1.DE03', 'Ccc.B12S1.DE05') and Base.GetObsValue('Ccc.B12S1.DE06') = true -/* alias fever present every day for 7 days or more : emcare.b23.de26a*/ +/* alias fever present every day for 7 days or more : Ccc.b23.de26a*/ define "fever present every day for 7 days or more": - "emcare.b23.de26a" + "Ccc.b23.de26a" /* none : DL-I-CL1-26 @@ -350,7 +350,7 @@ none : DL-G-CL1-69-70 C."age >= 2 months to <60 months" and C."fever" = true and "Severe Complicated Measles"!=true and ("Pus Draining from Eye" = true or "Oral Sores or Mouth Ulcers" = "Mouth Sores or Mouth Ulcers - Not Deep and Extensive" ) */ define "none": - C."age >= 2 months to <60 months" and C."fever" = true and Coalesce("severe complicated measles",false)!=true and (Base.GetObsValue('EmCare.B14S2.DE02') = true or Base.HasObsValueCode('EmCare.B14S2.DE38', 'EmCare.B14S2.DE42') ) + C."age >= 2 months to <60 months" and C."fever" = true and Coalesce("severe complicated measles",false)!=true and (Base.GetObsValue('Ccc.B14S2.DE02') = true or Base.HasObsValueCode('Ccc.B14S2.DE38', 'Ccc.B14S2.DE42') ) /* alias measles with eye or mouth complication : dl-g-cl1-69-70*/ define "measles with eye or mouth complication": @@ -361,7 +361,7 @@ none : DL-G-CL1-71 C."age >= 2 months to <60 months" and C."fever" = true and ("Cough" = true or "Runny nose" = true or "Red eyes" = true) and "Severe Complicated Measles"!=true and "Measles with Eye or Mouth Complication"!=true and "Measles Rash" = true and "Generalised or Localised Skin Problem" = "Generalised Skin Problem" */ define "none": - C."age >= 2 months to <60 months" and C."fever" = true and (Base.GetObsValue('EmCare.B10S1.DE05') = true or Base.GetObsValue('EmCare.B12S2.DE05') = true or Base.GetObsValue('EmCare.B14S2.DE01') = true) and Coalesce("severe complicated measles",false)!=true and Coalesce("measles with eye or mouth complication",false)!=true and Base.GetObsValue('EmCare.B14S2.DE10') = true and Base.GetObsValue('EmCare.B14S2.DE06&EmCare.B14S2.DE07') = true + C."age >= 2 months to <60 months" and C."fever" = true and (Base.GetObsValue('Ccc.B10S1.DE05') = true or Base.GetObsValue('Ccc.B12S2.DE05') = true or Base.GetObsValue('Ccc.B14S2.DE01') = true) and Coalesce("severe complicated measles",false)!=true and Coalesce("measles with eye or mouth complication",false)!=true and Base.GetObsValue('Ccc.B14S2.DE10') = true and Base.GetObsValue('Ccc.B14S2.DE06&Ccc.B14S2.DE07') = true /* alias possible measles : dl-g-cl1-71*/ define "possible measles": @@ -372,7 +372,7 @@ none : DL-G-CL1-109 C."age >= 2 months to <60 months" and ("Palmar Pallor" = "Severe Palmar Pallor" or "Mucous membrane pallor" = "Severe mucous membrane pallor" or "Hemoglobin (Hb) g/dL" < 7 'g/dL' ) */ define "none": - C."age >= 2 months to <60 months" and (Base.HasObsValueCode('EmCare.B15S2.DE01', 'EmCare.B15S2.DE02') or Base.HasObsValueCode('EmCare.B15S2.DE09', 'EmCare.B15S2.DE10') or Base.GetObsValue('EmCare.B22.DE81') < 7 'g/dL' ) + C."age >= 2 months to <60 months" and (Base.HasObsValueCode('Ccc.B15S2.DE01', 'Ccc.B15S2.DE02') or Base.HasObsValueCode('Ccc.B15S2.DE09', 'Ccc.B15S2.DE10') or Base.GetObsValue('Ccc.B22.DE81') < 7 'g/dL' ) /* alias severe anaemia : dl-g-cl1-109*/ define "severe anaemia": @@ -383,7 +383,7 @@ none : DL-G-CL1-110 C."age >= 2 months to <60 months" and ("Palmar Pallor" = "Some Palmar Pallor" or "Mucous membrane pallor" = "Some mucous membrane pallor" or ("Hemoglobin (Hb) g/dL" >= 7 'g/dL' and "Hemoglobin (Hb) g/dL" < 11 'g/dL' )) and "Severe Anaemia"!=true */ define "none": - C."age >= 2 months to <60 months" and (Base.HasObsValueCode('EmCare.B15S2.DE01', 'EmCare.B15S2.DE03') or Base.HasObsValueCode('EmCare.B15S2.DE09', 'EmCare.B15S2.DE11') or (Base.GetObsValue('EmCare.B22.DE81') >= 7 'g/dL' and Base.GetObsValue('EmCare.B22.DE81') < 11 'g/dL' )) and Coalesce("severe anaemia",false)!=true + C."age >= 2 months to <60 months" and (Base.HasObsValueCode('Ccc.B15S2.DE01', 'Ccc.B15S2.DE03') or Base.HasObsValueCode('Ccc.B15S2.DE09', 'Ccc.B15S2.DE11') or (Base.GetObsValue('Ccc.B22.DE81') >= 7 'g/dL' and Base.GetObsValue('Ccc.B22.DE81') < 11 'g/dL' )) and Coalesce("severe anaemia",false)!=true /* alias anaemia : dl-g-cl1-110*/ define "anaemia": @@ -394,7 +394,7 @@ none : DL-G-CL1-111 C."age >= 2 months to <60 months" and "Palmar Pallor" = "No Palmar Pallor" and "Mucous membrane pallor" = "No mucous membrane pallor" and ("Hemoglobin (Hb) g/dL" >= 11 'g/dL' or "Hemoglobin Test Not Available"= true) */ define "none": - C."age >= 2 months to <60 months" and Base.HasObsValueCode('EmCare.B15S2.DE01', 'EmCare.B15S2.DE04') and Base.HasObsValueCode('EmCare.B15S2.DE09', 'EmCare.B15S2.DE12') and (Base.GetObsValue('EmCare.B22.DE81') >= 11 'g/dL' or Base.GetObsValue('EmCare.B22.DE82')= true) + C."age >= 2 months to <60 months" and Base.HasObsValueCode('Ccc.B15S2.DE01', 'Ccc.B15S2.DE04') and Base.HasObsValueCode('Ccc.B15S2.DE09', 'Ccc.B15S2.DE12') and (Base.GetObsValue('Ccc.B22.DE81') >= 11 'g/dL' or Base.GetObsValue('Ccc.B22.DE82')= true) /* alias no anaemia : dl-g-cl1-111*/ define "no anaemia": @@ -405,7 +405,7 @@ none : DL-G-CL1-80 C."age >= 2 months to <60 months" and "Eye Problem" = true and "Pus Draining from Eye" = true and ("Severe Complicated Measles"!=true and "Measles with Eye or Mouth Complication"!=true) */ define "none": - C."age >= 2 months to <60 months" and Base.GetObsValue('EmCare.B14S1.DE03') = true and Base.GetObsValue('EmCare.B14S2.DE02') = true and (Coalesce("severe complicated measles",false)!=true and Coalesce("measles with eye or mouth complication",false)!=true) + C."age >= 2 months to <60 months" and Base.GetObsValue('Ccc.B14S1.DE03') = true and Base.GetObsValue('Ccc.B14S2.DE02') = true and (Coalesce("severe complicated measles",false)!=true and Coalesce("measles with eye or mouth complication",false)!=true) /* alias eye infection : dl-g-cl1-80*/ define "eye infection": @@ -416,22 +416,22 @@ none : DL-G-CL1-83 C."age >= 2 months to <60 months" and "Eye Problem" = true and o"Clouding of the Cornea" = true and "Severe Complicated Measles"!=true */ define "none": - C."age >= 2 months to <60 months" and Base.GetObsValue('EmCare.B14S1.DE03') = true and Base.GetObsValue('EmCare.B14S2.DE03') = true and Coalesce("severe complicated measles",false)!=true + C."age >= 2 months to <60 months" and Base.GetObsValue('Ccc.B14S1.DE03') = true and Base.GetObsValue('Ccc.B14S2.DE03') = true and Coalesce("severe complicated measles",false)!=true /* alias clouding of the cornea : dl-g-cl1-83*/ define "clouding of the cornea": "dl-g-cl1-83" -/* alias new or not previously treated : emcare.b23.de36*/ +/* alias new or not previously treated : Ccc.b23.de36*/ define "new or not previously treated": - "emcare.b23.de36" + "Ccc.b23.de36" /* none : DL-G-CL1-88 C."age >= 2 months to <60 months" and "Skin Problem" = true and "Itchy Skin" = true and "Type of Skin Problem"= v"Papular Urticaria or Papular Pruritic Eruptions" */ define "none": - C."age >= 2 months to <60 months" and Base.GetObsValue('EmCare.B14S1.DE01') = true and Base.GetObsValue('EmCare.B14S1.DE02') = true and Base.GetObsValue('EmCare.B14S2.DE13&EmCare.B14S2.DE18') = true + C."age >= 2 months to <60 months" and Base.GetObsValue('Ccc.B14S1.DE01') = true and Base.GetObsValue('Ccc.B14S1.DE02') = true and Base.GetObsValue('Ccc.B14S2.DE13&Ccc.B14S2.DE18') = true /* alias papular urticaria or papular pruritic eruptions : dl-g-cl1-88*/ define "papular urticaria or papular pruritic eruptions": @@ -442,29 +442,29 @@ none : DL-G-CL1-90 C."age >= 2 months to <60 months" and "Skin Problem" = true and "Type of Skin Problem"= v"Ringworm (Tinea)" */ define "none": - C."age >= 2 months to <60 months" and Base.GetObsValue('EmCare.B14S1.DE01') = true and Base.GetObsValue('EmCare.B14S2.DE13&EmCare.B14S2.DE19') = true + C."age >= 2 months to <60 months" and Base.GetObsValue('Ccc.B14S1.DE01') = true and Base.GetObsValue('Ccc.B14S2.DE13&Ccc.B14S2.DE19') = true /* alias ringworm (tinea) : dl-g-cl1-90*/ define "ringworm (tinea)": "dl-g-cl1-90" /* -none : EmCare.B23.DE43a +none : Ccc.B23.DE43a o"Scalp Infection (tinea capitis)" = true */ define "none": - Base.GetObsValue('EmCare.B14S2.DE19a') = true + Base.GetObsValue('Ccc.B14S2.DE19a') = true -/* alias scalp infection (tinea capitis) : emcare.b23.de43a*/ +/* alias scalp infection (tinea capitis) : Ccc.b23.de43a*/ define "scalp infection (tinea capitis)": - "emcare.b23.de43a" + "Ccc.b23.de43a" /* none : DL-G-CL1-91 C."age >= 2 months to <60 months" and "Skin Problem" = true and "Itchy Skin" = true and "Type of Skin Problem"= v"Scabies" */ define "none": - C."age >= 2 months to <60 months" and Base.GetObsValue('EmCare.B14S1.DE01') = true and Base.GetObsValue('EmCare.B14S1.DE02') = true and Base.GetObsValue('EmCare.B14S2.DE13&EmCare.B14S2.DE21') = true + C."age >= 2 months to <60 months" and Base.GetObsValue('Ccc.B14S1.DE01') = true and Base.GetObsValue('Ccc.B14S1.DE02') = true and Base.GetObsValue('Ccc.B14S2.DE13&Ccc.B14S2.DE21') = true /* alias scabies : dl-g-cl1-91*/ define "scabies": @@ -475,21 +475,21 @@ none : DL-G-CL1-93 C."age >= 2 months to <60 months" and "Skin Problem" = true and "Itchy Skin" = true and "Generalised or Localised Skin Problem" = "Generalised Skin Problem" and "Blisters, Sores or Pustules" = true and "Type of Skin Problem"= v"Chickenpox" */ define "none": - C."age >= 2 months to <60 months" and Base.GetObsValue('EmCare.B14S1.DE01') = true and Base.GetObsValue('EmCare.B14S1.DE02') = true and Base.GetObsValue('EmCare.B14S2.DE06&EmCare.B14S2.DE07') = true and Base.GetObsValue('EmCare.B14S2.DE12') = true and Base.GetObsValue('EmCare.B14S2.DE13&EmCare.B14S2.DE22') = true + C."age >= 2 months to <60 months" and Base.GetObsValue('Ccc.B14S1.DE01') = true and Base.GetObsValue('Ccc.B14S1.DE02') = true and Base.GetObsValue('Ccc.B14S2.DE06&Ccc.B14S2.DE07') = true and Base.GetObsValue('Ccc.B14S2.DE12') = true and Base.GetObsValue('Ccc.B14S2.DE13&Ccc.B14S2.DE22') = true /* alias chickenpox : dl-g-cl1-93*/ define "chickenpox": "dl-g-cl1-93" /* -none : EmCare.B23.DE46A +none : Ccc.B23.DE46A "Severe rash"= true */ define "none": - Base.GetObsValue('EmCare.B14S2.DE22A')= true + Base.GetObsValue('Ccc.B14S2.DE22A')= true /* -none : EmCare.B23.DE46 +none : Ccc.B23.DE46 "Pneumonia"=true */ define "none": @@ -500,146 +500,146 @@ none : DL-G-CL1-95 C."age >= 2 months to <60 months" and "Skin Problem" = true and "Generalised or Localised Skin Problem" = "Localised Skin Problem" and "Blisters, Sores or Pustules" = true and "Type of Skin Problem"= v"Herpes Zoster" */ define "none": - C."age >= 2 months to <60 months" and Base.GetObsValue('EmCare.B14S1.DE01') = true and Base.GetObsValue('EmCare.B14S2.DE06&EmCare.B14S2.DE08') = true and Base.GetObsValue('EmCare.B14S2.DE12') = true and Base.GetObsValue('EmCare.B14S2.DE13&EmCare.B14S2.DE23') = true + C."age >= 2 months to <60 months" and Base.GetObsValue('Ccc.B14S1.DE01') = true and Base.GetObsValue('Ccc.B14S2.DE06&Ccc.B14S2.DE08') = true and Base.GetObsValue('Ccc.B14S2.DE12') = true and Base.GetObsValue('Ccc.B14S2.DE13&Ccc.B14S2.DE23') = true /* alias herpes zoster : dl-g-cl1-95*/ define "herpes zoster": "dl-g-cl1-95" /* -none : EmCare.B23.DE48 +none : Ccc.B23.DE48 "Eye Involvement" = true */ define "none": - Base.GetObsValue('EmCare.B14S2.DE24') = true + Base.GetObsValue('Ccc.B14S2.DE24') = true /* -none : EmCare.B23.DE48a +none : Ccc.B23.DE48a "Disseminated Herpes Zoster" = true */ define "none": - Base.GetObsValue('EmCare.B14S2.DE23a') = true + Base.GetObsValue('Ccc.B14S2.DE23a') = true /* none : DL-G-CL1-98 C."age >= 2 months to <60 months" and "Skin Problem" = true and "Blisters, Sores or Pustules" = true and "Type of Skin Problem"= v"Impetigo" */ define "none": - C."age >= 2 months to <60 months" and Base.GetObsValue('EmCare.B14S1.DE01') = true and Base.GetObsValue('EmCare.B14S2.DE12') = true and Base.GetObsValue('EmCare.B14S2.DE13&EmCare.B14S2.DE25') = true + C."age >= 2 months to <60 months" and Base.GetObsValue('Ccc.B14S1.DE01') = true and Base.GetObsValue('Ccc.B14S2.DE12') = true and Base.GetObsValue('Ccc.B14S2.DE13&Ccc.B14S2.DE25') = true /* alias impetigo : dl-g-cl1-98*/ define "impetigo": "dl-g-cl1-98" /* -none : EmCare.B23.DE50 +none : Ccc.B23.DE50 "Skin infection extends to muscle" = true or "Measured Temperature" = true */ define "none": - Base.GetObsValue('EmCare.B14S2.DE30') = true or Base.GetObsValue('EmCare.B6.DE01A') = true + Base.GetObsValue('Ccc.B14S2.DE30') = true or Base.GetObsValue('Ccc.B6.DE01A') = true /* -none : EmCare.B23.DE50a +none : Ccc.B23.DE50a "Extensive impetigo lesions" = true */ define "none": - Base.GetObsValue('EmCare.B14S2.DE30b') = true + Base.GetObsValue('Ccc.B14S2.DE30b') = true /* none : DL-G-CL1-99 C."age >= 2 months to <60 months" and "Skin Problem" = true and "Type of Skin Problem"= v"Molluscum Contagiosum" */ define "none": - C."age >= 2 months to <60 months" and Base.GetObsValue('EmCare.B14S1.DE01') = true and Base.GetObsValue('EmCare.B14S2.DE13&EmCare.B14S2.DE31') = true + C."age >= 2 months to <60 months" and Base.GetObsValue('Ccc.B14S1.DE01') = true and Base.GetObsValue('Ccc.B14S2.DE13&Ccc.B14S2.DE31') = true /* alias molluscum contagiosum : dl-g-cl1-99*/ define "molluscum contagiosum": "dl-g-cl1-99" /* -none : EmCare.B23.DE52a +none : Ccc.B23.DE52a "Extensive molluscum lesions" = true or "Molluscum lesions close to the eye"=true */ define "none": - Base.GetObsValue('EmCare.B14S2.DE31a') = true or Base.GetObsValue('EmCare.B14S2.DE31b')=true + Base.GetObsValue('Ccc.B14S2.DE31a') = true or Base.GetObsValue('Ccc.B14S2.DE31b')=true /* none : DL-G-CL1-100 C."age >= 2 months to <60 months" and "Skin Problem" = true and "Generalised or Localised Skin Problem" = "Localised Skin Problem" and "Type of Skin Problem"= v"Warts" */ define "none": - C."age >= 2 months to <60 months" and Base.GetObsValue('EmCare.B14S1.DE01') = true and Base.GetObsValue('EmCare.B14S2.DE06&EmCare.B14S2.DE08') = true and Base.GetObsValue('EmCare.B14S2.DE13&EmCare.B14S2.DE32') = true + C."age >= 2 months to <60 months" and Base.GetObsValue('Ccc.B14S1.DE01') = true and Base.GetObsValue('Ccc.B14S2.DE06&Ccc.B14S2.DE08') = true and Base.GetObsValue('Ccc.B14S2.DE13&Ccc.B14S2.DE32') = true /* alias warts : dl-g-cl1-100*/ define "warts": "dl-g-cl1-100" /* -none : EmCare.B23.DE53a +none : Ccc.B23.DE53a "Extensive Warts" = true */ define "none": - Base.GetObsValue('EmCare.B14S2.DE32a') = true + Base.GetObsValue('Ccc.B14S2.DE32a') = true /* none : DL-G-CL1-102 C."age >= 2 months to <60 months" and "Skin Problem" = true and "Generalised or Localised Skin Problem" = "Localised Skin Problem" and "Blisters, Sores or Pustules" = false and "Type of Skin Problem"= v"Seborrhoeic Dermatitis" */ define "none": - C."age >= 2 months to <60 months" and Base.GetObsValue('EmCare.B14S1.DE01') = true and Base.GetObsValue('EmCare.B14S2.DE06&EmCare.B14S2.DE08') = true and Base.GetObsValue('EmCare.B14S2.DE12') = false and Base.GetObsValue('EmCare.B14S2.DE13&EmCare.B14S2.DE33') = true + C."age >= 2 months to <60 months" and Base.GetObsValue('Ccc.B14S1.DE01') = true and Base.GetObsValue('Ccc.B14S2.DE06&Ccc.B14S2.DE08') = true and Base.GetObsValue('Ccc.B14S2.DE12') = false and Base.GetObsValue('Ccc.B14S2.DE13&Ccc.B14S2.DE33') = true /* alias seborrhoeic dermatitis : dl-g-cl1-102*/ define "seborrhoeic dermatitis": "dl-g-cl1-102" /* -none : EmCare.B23.DE55 +none : Ccc.B23.DE55 o"Severe Seborrhoeic Dermatitis" = true */ define "none": - Base.GetObsValue('EmCare.B14S2.DE34') = true + Base.GetObsValue('Ccc.B14S2.DE34') = true /* none : DL-G-CL1-103 C."age >= 2 months to <60 months" and "Skin Problem" = true and "Type of Skin Problem"= v"Fixed Drug Reaction" */ define "none": - C."age >= 2 months to <60 months" and Base.GetObsValue('EmCare.B14S1.DE01') = true and Base.GetObsValue('EmCare.B14S2.DE13&EmCare.B14S2.DE35') = true + C."age >= 2 months to <60 months" and Base.GetObsValue('Ccc.B14S1.DE01') = true and Base.GetObsValue('Ccc.B14S2.DE13&Ccc.B14S2.DE35') = true /* none : DL-G-CL1-104 C."age >= 2 months to <60 months" and "Skin Problem" = true and "Type of Skin Problem"= v"Eczema" */ define "none": - C."age >= 2 months to <60 months" and Base.GetObsValue('EmCare.B14S1.DE01') = true and Base.GetObsValue('EmCare.B14S2.DE13&EmCare.B14S2.DE36') = true + C."age >= 2 months to <60 months" and Base.GetObsValue('Ccc.B14S1.DE01') = true and Base.GetObsValue('Ccc.B14S2.DE13&Ccc.B14S2.DE36') = true /* -none : EmCare.B23.DE57a +none : Ccc.B23.DE57a o"Severe acute moist or weeping eczema" = true */ define "none": - Base.GetObsValue('EmCare.B14S2.DE36b') = true + Base.GetObsValue('Ccc.B14S2.DE36b') = true /* -none : EmCare.B23.DE57b +none : Ccc.B23.DE57b o"Secondary bacterial infection of eczema" = true */ define "none": - Base.GetObsValue('EmCare.B14S2.DE36a') = true + Base.GetObsValue('Ccc.B14S2.DE36a') = true /* -none : EmCare.B23.DE57c +none : Ccc.B23.DE57c o"Secondary herpes infection of eczema (eczema herpeticum)" = true */ define "none": - Base.GetObsValue('EmCare.B14S2.DE36c') = true + Base.GetObsValue('Ccc.B14S2.DE36c') = true /* none : DL-G-CL1-105 C."age >= 2 months to <60 months" and "Skin Problem" = true and "Generalised or Localised Skin Problem" = "Generalised Skin Problem" and "Blisters, Sores or Pustules" = true and "Type of Skin Problem"= v"Steven Johnson Syndrome (SJS)" */ define "none": - C."age >= 2 months to <60 months" and Base.GetObsValue('EmCare.B14S1.DE01') = true and Base.GetObsValue('EmCare.B14S2.DE06&EmCare.B14S2.DE07') = true and Base.GetObsValue('EmCare.B14S2.DE12') = true and Base.GetObsValue('EmCare.B14S2.DE13&EmCare.B14S2.DE37') = true + C."age >= 2 months to <60 months" and Base.GetObsValue('Ccc.B14S1.DE01') = true and Base.GetObsValue('Ccc.B14S2.DE06&Ccc.B14S2.DE07') = true and Base.GetObsValue('Ccc.B14S2.DE12') = true and Base.GetObsValue('Ccc.B14S2.DE13&Ccc.B14S2.DE37') = true /* alias steven johnson syndrome (sjs) : dl-g-cl1-105*/ define "steven johnson syndrome (sjs)": @@ -650,25 +650,25 @@ none : DL-G-CL1-106 C."age >= 2 months to <60 months" and C."fever" = true and ("Oral Sores or Mouth Ulcers" = "Mouth Sores or Mouth Ulcers - Not Deep and Extensive" or "Oral Sores or Mouth Ulcers" = "Mouth Sores or Mouth Ulcers - Deep and Extensive" ) */ define "none": - C."age >= 2 months to <60 months" and C."fever" = true and (Base.HasObsValueCode('EmCare.B14S2.DE38', 'EmCare.B14S2.DE42') or Base.HasObsValueCode('EmCare.B14S2.DE38', 'EmCare.B14S2.DE41') ) + C."age >= 2 months to <60 months" and C."fever" = true and (Base.HasObsValueCode('Ccc.B14S2.DE38', 'Ccc.B14S2.DE42') or Base.HasObsValueCode('Ccc.B14S2.DE38', 'Ccc.B14S2.DE41') ) /* alias mouth sores or ulcer : dl-g-cl1-106*/ define "mouth sores or ulcer": "dl-g-cl1-106" /* -none : EmCare.B23.DE60 +none : Ccc.B23.DE60 "Oral Sores or Mouth Ulcers" = "Mouth Sores or Mouth Ulcers - Deep and Extensive" */ define "none": - Base.HasObsValueCode('EmCare.B14S2.DE38', 'EmCare.B14S2.DE41') + Base.HasObsValueCode('Ccc.B14S2.DE38', 'Ccc.B14S2.DE41') /* none : DL-G-CL1-108 C."age >= 2 months to <60 months" and C."fever" = true and "Oral Sores or Mouth Ulcers"= v"Oral Thrush" */ define "none": - C."age >= 2 months to <60 months" and C."fever" = true and Base.HasObsValueCode('EmCare.B14S2.DE38', 'EmCare.B14S2.DE40') + C."age >= 2 months to <60 months" and C."fever" = true and Base.HasObsValueCode('Ccc.B14S2.DE38', 'Ccc.B14S2.DE40') /* alias oral thrush : dl-g-cl1-108*/ define "oral thrush": @@ -701,7 +701,7 @@ none : DL-I-CL1-34 o"Weight (Kg)" is null and ((AgeInMonths()> 6 and "MUAC (mm)" < 12.5 'cm' ) or (AgeInMonths()<= 6 and "MUAC cannot be measured"=true)) */ define "none": - Base.GetObsValue('EmCare.B6.DE06') is null and ((AgeInMonths()> 6 and Base.GetObsValue('EmCare.B6.DE17') < 12.5 'cm' ) or (AgeInMonths()<= 6 and Base.GetObsValue('EmCare.B6.DE17a')=true)) + Base.GetObsValue('Ccc.B6.DE06') is null and ((AgeInMonths()> 6 and Base.GetObsValue('Ccc.B6.DE17') < 12.5 'cm' ) or (AgeInMonths()<= 6 and Base.GetObsValue('Ccc.B6.DE17a')=true)) /* alias low muac or visual report of wasting : dl-i-cl1-34*/ define "low muac or visual report of wasting": diff --git a/input/cql/emcareb23classificationm.cql b/input/cql/Cccb23classificationm.cql similarity index 70% rename from input/cql/emcareb23classificationm.cql rename to input/cql/Cccb23classificationm.cql index c0604739..de9eaceb 100644 --- a/input/cql/emcareb23classificationm.cql +++ b/input/cql/Cccb23classificationm.cql @@ -1,15 +1,15 @@ /* @author: Patrick Delcroix -@description: This library is part of the project EmCare +@description: This library is part of the project Ccc */ -library emcareb23classificationm version '1.0.1.rc12.build.457' +library Cccb23classificationm version '1.0.1.rc12.build.457' using FHIR version '4.0.1' include FHIRHelpers version '4.0.1' called FHIRHelpers -include emcarebase version '1.0.1.rc12.build.457' called Base -include emcareobservation version '1.0.1.rc12.build.457' called obs -include emcarevalueset version '1.0.1.rc12.build.457' called val -include emcarezscore version '1.0.1.rc12.build.457' called Z -include emcarecombineddataelements version '1.0.1.rc12.build.457' called C +include Cccbase version '1.0.1.rc12.build.457' called Base +include Cccobservation version '1.0.1.rc12.build.457' called obs +include Cccvalueset version '1.0.1.rc12.build.457' called val +include Ccczscore version '1.0.1.rc12.build.457' called Z +include Ccccombineddataelements version '1.0.1.rc12.build.457' called C @@ -36,7 +36,7 @@ none : Measured Temperature (second measurement) o"Measured Temperature (second measurement)" */ define "none": - Base.GetObsValue('EmCare.B22.DE50') + Base.GetObsValue('Ccc.B22.DE50') /* alias possible serious bacterial infection or very severe disease : dl-g-cl2-04-08*/ define "possible serious bacterial infection or very severe disease": @@ -47,7 +47,7 @@ none : DL-G-CL2-10 "Fast Breathing" = "Yes" and "ageinmonths"<2 and "ageindays">=7 */ define "none": - Base.GetObsValue('EmCare.B22.DE07') = true and "ageinmonths"<2 and "ageindays">=7 + Base.GetObsValue('Ccc.B22.DE07') = true and "ageinmonths"<2 and "ageindays">=7 /* alias pneumonia : dl-g-cl2-10*/ define "pneumonia": @@ -58,7 +58,7 @@ none : DL-G-CL2-11 "ageinmonths"<2 and ("Umbilicus Red or Pus Draining" or "Skin Pustules") */ define "none": - "ageinmonths"<2 and (Base.GetObsValue('EmCare.B18S2.DE12') or Base.GetObsValue('EmCare.B18S2.DE13')) + "ageinmonths"<2 and (Base.GetObsValue('Ccc.B18S2.DE12') or Base.GetObsValue('Ccc.B18S2.DE13')) /* alias local infection : dl-g-cl2-11*/ define "local infection": @@ -76,14 +76,14 @@ none : DL-G-CL2-26 "ageindays"<7 and "Weight Status" = v"Very Low Weight for Age" */ define "none": - "ageindays"<7 and Base.HasObsValueCode('EmCare.B21S2.DE01', 'EmCare.B21S2.DE02') + "ageindays"<7 and Base.HasObsValueCode('Ccc.B21S2.DE01', 'Ccc.B21S2.DE02') /* none : DL-G-CL2-13-14 "Yellow Skin" = true */ define "none": - Base.GetObsValue('EmCare.B19S2.DE01') = true + Base.GetObsValue('Ccc.B19S2.DE01') = true /* alias severe jaundice : dl-g-cl2-13-14*/ define "severe jaundice": @@ -101,14 +101,14 @@ none : DL-G-CL2-15-43 "Yellow Palms or Yellow Soles" = false */ define "none": - Base.GetObsValue('EmCare.B19S2.DE02') = false + Base.GetObsValue('Ccc.B19S2.DE02') = false /* none : DL-G-CL2-17 "Yellow Skin" = false and "Yellow Palms or Yellow Soles" = false */ define "none": - Base.GetObsValue('EmCare.B19S2.DE01') = false and Base.GetObsValue('EmCare.B19S2.DE02') = false + Base.GetObsValue('Ccc.B19S2.DE01') = false and Base.GetObsValue('Ccc.B19S2.DE02') = false /* none : DL-G-CL2-18 @@ -137,7 +137,7 @@ none : DL-G-CL2-25 "Diarrhoea" = true and "Severe Dehydration"!=true and "Some Dehydration"!=true */ define "none": - Base.GetObsValue('EmCare.B11S1.DE01') = true and Coalesce("severe dehydration",false)!=true and Coalesce("some dehydration",false)!=true + Base.GetObsValue('Ccc.B11S1.DE01') = true and Coalesce("severe dehydration",false)!=true and Coalesce("some dehydration",false)!=true /* alias no dehydration : dl-g-cl2-25*/ define "no dehydration": @@ -148,14 +148,14 @@ none : DL-G-CL2-32 "Weight Status" = "Low Weight for Age" */ define "none": - Base.HasObsValueCode('EmCare.B21S2.DE01', 'EmCare.B21S2.DE03') + Base.HasObsValueCode('Ccc.B21S2.DE01', 'Ccc.B21S2.DE03') /* none : DL-G-CL2-42 "Ulcers or White Patches in Mouth" = true */ define "none": - Base.GetObsValue('EmCare.B21S2.DE30') = true + Base.GetObsValue('Ccc.B21S2.DE30') = true /* none : DL-I-CL2-04-42 @@ -173,4 +173,4 @@ none : DL-G-CL2-50 "Weight Status" = v"Normal Weight for Age" and "Feeding Problem and / or Low Weight for Age"!= true */ define "none": - Base.HasObsValueCode('EmCare.B21S2.DE01', 'EmCare.B21S2.DE04') and Coalesce("feeding problem and / or low weight for age",false)!=true + Base.HasObsValueCode('Ccc.B21S2.DE01', 'Ccc.B21S2.DE04') and Coalesce("feeding problem and / or low weight for age",false)!=true diff --git a/input/cql/emcareb6measurements.cql b/input/cql/Cccb6measurements.cql similarity index 69% rename from input/cql/emcareb6measurements.cql rename to input/cql/Cccb6measurements.cql index 6d2829ad..2979788d 100644 --- a/input/cql/emcareb6measurements.cql +++ b/input/cql/Cccb6measurements.cql @@ -1,14 +1,14 @@ /* @author: Patrick Delcroix -@description: This library is part of the project EmCare +@description: This library is part of the project Ccc */ -library emcareb6measurements version '1.0.1.rc12.build.457' +library Cccb6measurements version '1.0.1.rc12.build.457' using FHIR version '4.0.1' include FHIRHelpers version '4.0.1' called FHIRHelpers -include emcarebase version '1.0.1.rc12.build.457' called Base -include emcareobservation version '1.0.1.rc12.build.457' called obs -include emcarevalueset version '1.0.1.rc12.build.457' called val -include emcarezscore version '1.0.1.rc12.build.457' called Z +include Cccbase version '1.0.1.rc12.build.457' called Base +include Cccobservation version '1.0.1.rc12.build.457' called obs +include Cccvalueset version '1.0.1.rc12.build.457' called val +include Ccczscore version '1.0.1.rc12.build.457' called Z diff --git a/input/cql/emcareb7ltidangersigns.cql b/input/cql/Cccb7ltidangersigns.cql similarity index 57% rename from input/cql/emcareb7ltidangersigns.cql rename to input/cql/Cccb7ltidangersigns.cql index 83f1bc65..2e6bb3c9 100644 --- a/input/cql/emcareb7ltidangersigns.cql +++ b/input/cql/Cccb7ltidangersigns.cql @@ -1,14 +1,14 @@ /* @author: Patrick Delcroix -@description: This library is part of the project EmCare +@description: This library is part of the project Ccc */ -library emcareb7ltidangersigns version '1.0.1.rc12.build.457' +library Cccb7ltidangersigns version '1.0.1.rc12.build.457' using FHIR version '4.0.1' include FHIRHelpers version '4.0.1' called FHIRHelpers -include emcarebase version '1.0.1.rc12.build.457' called Base -include emcareobservation version '1.0.1.rc12.build.457' called obs -include emcarevalueset version '1.0.1.rc12.build.457' called val -include emcarecombineddataelements version '1.0.1.rc12.build.457' called c +include Cccbase version '1.0.1.rc12.build.457' called Base +include Cccobservation version '1.0.1.rc12.build.457' called obs +include Cccvalueset version '1.0.1.rc12.build.457' called val +include Ccccombineddataelements version '1.0.1.rc12.build.457' called c @@ -28,7 +28,7 @@ none : oftrp o"Unable to Perform Oral Fluid Test" */ define "none": - Base.GetObsValue('EmCare.B22.DE14') + Base.GetObsValue('Ccc.B22.DE14') /* alias unable to perform oral fluid test profile : oftrp*/ define "unable to perform oral fluid test profile": diff --git a/input/cql/emcarebase.cql b/input/cql/Cccbase.cql similarity index 93% rename from input/cql/emcarebase.cql rename to input/cql/Cccbase.cql index 0c6b804e..365191ea 100644 --- a/input/cql/emcarebase.cql +++ b/input/cql/Cccbase.cql @@ -1,9 +1,9 @@ /*nter" @author: Patrick Delcroix -@description: This library is part of the project EmCare Project, its allows standardisation for the observation processing +@description: This library is part of the project Ccc Project, its allows standardisation for the observation processing */ -library emcarebase version '1.0.1.rc12.build.156' +library Cccbase version '1.0.1.rc12.build.156' using FHIR version '4.0.1' @@ -11,7 +11,7 @@ include FHIRHelpers version '4.0.1' parameter "encounterid" String //parameter "Encounter" Encounter$ -codesystem "RoleCodeSystem" : 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' +codesystem "RoleCodeSystem" : 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' code "Mother": 'MTH' from "RoleCodeSystem" context Patient @@ -45,16 +45,16 @@ define getEncounters: define getEncounter: singleton from getEncounters -define function EmCareExtensions(element Patient, id String): +define function CccExtensions(element Patient, id String): element.extension E where E.url = ('https://smart.who.int/ccc/StructureDefinition/' + id) return E -define function EmCareExtension(element Patient, id String): - singleton from EmCareExtensions(element, id) +define function CccExtension(element Patient, id String): + singleton from CccExtensions(element, id) define getPrimaryCareGiverReference: - EmCareExtension(Patient, 'primarycaregiver').value + CccExtension(Patient, 'primarycaregiver').value define getPrimaryCareGiver: [RelatedPerson] RP where RP.id = Last(Split(getPrimaryCareGiverReference.reference, '/')) @@ -64,10 +64,10 @@ define isMotherPrimaryCareGiver: getPrimaryCareGiver is not null and Exists(getPrimaryCareGiver.relationship r where r ~ "Mother") define "Biological Mother Vital Status": - EmCareExtension(Patient, 'motherVitalStatus').value + CccExtension(Patient, 'motherVitalStatus').value define "Biological Father Vital Status": - EmCareExtension(Patient, 'fatherVitalStatus').value + CccExtension(Patient, 'fatherVitalStatus').value // person accompanying the child is a participant with a null type define getRelatedPersonReferenceAccompanyingTheChild: Coalesce(First(getEncounter.participant P where not exists(P.type) ).individual, getPrimaryCareGiverReference) @@ -90,7 +90,7 @@ define "Person accompanying child today's Relationship to Client": define function getValue(O Observation): case when O is null then null - when O.value is CodeableConcept then Coalesce(First(O.value.coding C where C.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes'), First(O.value.coding)) + when O.value is CodeableConcept then Coalesce(First(O.value.coding C where C.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes'), First(O.value.coding)) else O.value end @@ -133,7 +133,7 @@ define function HasObservationCodeDuringEncounterDone(id System.Code, valueCode and O.value is FHIR.CodeableConcept and O.value ~ valueCode) -//Exists([Observation] O where O.status in { 'final', 'amended', 'corrected'} and O.value is FHIR.CodeableConcept and Exists( O.value.coding C where C is FHIR.Coding and C.code = FHIR.code {value: 'EmCare.B20S2.DE04'}) )" +//Exists([Observation] O where O.status in { 'final', 'amended', 'corrected'} and O.value is FHIR.CodeableConcept and Exists( O.value.coding C where C is FHIR.Coding and C.code = FHIR.code {value: 'Ccc.B20S2.DE04'}) )" /* define function GetObservationDuringEncounterNotFound(idlist List): @@ -176,16 +176,16 @@ define function GetObsValue(id System.String, codesystem System.String): getValue(GetObservationDuringEncounter(coding(id, codesystem))) define function GetObsValue(id System.String): - getValue(GetObservationDuringEncounter(coding(id, 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes'))) + getValue(GetObservationDuringEncounter(coding(id, 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes'))) define function HasObsValueCode(id System.String, value System.Code): - HasObservationCodeDuringEncounterDone(coding(id, 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes') , value ) + HasObservationCodeDuringEncounterDone(coding(id, 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes') , value ) define function HasObsValueCode(id System.String, value System.String): - HasObservationCodeDuringEncounterDone(coding(id, 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes') , coding(value, 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes') ) + HasObservationCodeDuringEncounterDone(coding(id, 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes') , coding(value, 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes') ) define function HasObsValueCode(id System.Code, value System.String): - HasObservationCodeDuringEncounterDone(id , coding(value, 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes') ) + HasObservationCodeDuringEncounterDone(id , coding(value, 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes') ) // ************************ HasObs ************************/ /* @@ -278,7 +278,7 @@ define function coding(s FHIR.code, url System.String): define function coding(s System.String): System.Code { code: s , - system: 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' + system: 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' } diff --git a/input/cql/emcarecombineddataelements.cql b/input/cql/Ccccombineddataelements.cql similarity index 70% rename from input/cql/emcarecombineddataelements.cql rename to input/cql/Ccccombineddataelements.cql index c1cd852e..eecb1c79 100644 --- a/input/cql/emcarecombineddataelements.cql +++ b/input/cql/Ccccombineddataelements.cql @@ -1,13 +1,13 @@ /* @author: Patrick Delcroix -@description: This library is part of the project EmCare +@description: This library is part of the project Ccc */ -library emcarecombineddataelements version '1.0.1.rc12.build.457' +library Ccccombineddataelements version '1.0.1.rc12.build.457' using FHIR version '4.0.1' include FHIRHelpers version '4.0.1' called FHIRHelpers -include emcarebase version '1.0.1.rc12.build.457' called Base -include emcareobservation version '1.0.1.rc12.build.457' called obs -include emcarevalueset version '1.0.1.rc12.build.457' called val +include Cccbase version '1.0.1.rc12.build.457' called Base +include Cccobservation version '1.0.1.rc12.build.457' called obs +include Cccvalueset version '1.0.1.rc12.build.457' called val @@ -71,26 +71,26 @@ define "age >= 24 hours": "nnb" /* -none : EmCare.B.G.DE01 +none : Ccc.B.G.DE01 "child" */ define "none": "child" -/* alias danger signs : emcare.b.g.de01*/ +/* alias danger signs : Ccc.b.g.de01*/ define "danger signs": - "emcare.b.g.de01" + "Ccc.b.g.de01" -/* alias severe classification up to assessments and tests excluding severe dehydration : emcare.b.g.de05*/ +/* alias severe classification up to assessments and tests excluding severe dehydration : Ccc.b.g.de05*/ define "severe classification up to assessments and tests excluding severe dehydration": - "emcare.b.g.de05" + "Ccc.b.g.de05" /* none : DL-G-CL1-23-30 "Diarrhoea" = true */ define "none": - Base.GetObsValue('EmCare.B11S1.DE01') = true + Base.GetObsValue('Ccc.B11S1.DE01') = true /* alias severe dehydration : dl-g-cl1-23-30*/ define "severe dehydration": @@ -101,7 +101,7 @@ none : DL-G-CL1-24-32 "Diarrhoea" = true and "Severe Dehydration"!=true */ define "none": - Base.GetObsValue('EmCare.B11S1.DE01') = true and Coalesce("severe dehydration",false)!=true + Base.GetObsValue('Ccc.B11S1.DE01') = true and Coalesce("severe dehydration",false)!=true /* alias some dehydration : dl-g-cl1-24-32*/ define "some dehydration": @@ -136,12 +136,12 @@ define "none": AgeInMonths()<2 /* -none : EmCare.B12S1.DE01 +none : Ccc.B12S1.DE01 "Measured temperature" = "High" or "Measured temperature" = "Very High" or "Hot to Touch" = true or "Fever Reported" = true */ define "none": - Base.HasObsValueCode('EmCare.B6.DE01A', 'High') or Base.HasObsValueCode('EmCare.B6.DE01A', '2') or Base.GetObsValue('EmCare.B6.DE05') = true or Base.GetObsValue('EmCare.B12S1.DE02') = true + Base.HasObsValueCode('Ccc.B6.DE01A', 'High') or Base.HasObsValueCode('Ccc.B6.DE01A', '2') or Base.GetObsValue('Ccc.B6.DE05') = true or Base.GetObsValue('Ccc.B12S1.DE02') = true -/* alias fever : emcare.b12s1.de01*/ +/* alias fever : Ccc.b12s1.de01*/ define "fever": - "emcare.b12s1.de01" + "Ccc.b12s1.de01" diff --git a/input/cql/Ccccondition.cql b/input/cql/Ccccondition.cql new file mode 100644 index 00000000..4b18ef1c --- /dev/null +++ b/input/cql/Ccccondition.cql @@ -0,0 +1,70 @@ +/* +@author: Patrick Delcroix +@description: This library is part of the project Ccc +*/ +library Ccccondition version '1.0.1.rc12.build.457' +using FHIR version '4.0.1' +include FHIRHelpers version '4.0.1' called FHIRHelpers + + + + +codesystem "Ccc" : 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' + + +code "possible serious bacterial infection or very severe disease": 'Ccc.B23.DE83' from "Ccc" display 'possible serious bacterial infection or very severe disease' +code "pneumonia": 'Ccc.B23.DE06' from "Ccc" display 'pneumonia' +code "local infection": 'Ccc.B23.DE85' from "Ccc" display 'local infection' +code "infection unlikely": 'Ccc.B23.DE86' from "Ccc" display 'infection unlikely' +code "very low weight for age": 'Ccc.B23.DE106' from "Ccc" display 'very low weight for age' +code "severe jaundice": 'Ccc.B23.DE87' from "Ccc" display 'severe jaundice' +code "jaundice": 'Ccc.B23.DE88' from "Ccc" display 'jaundice' +code "no jaundice": 'Ccc.B23.DE89' from "Ccc" display 'no jaundice' +code "severe dehydration": 'Ccc.B23.DE13' from "Ccc" display 'severe dehydration' +code "some dehydration": 'Ccc.B23.DE14' from "Ccc" display 'some dehydration' +code "no dehydration": 'Ccc.B23.DE15' from "Ccc" display 'no dehydration' +code "feeding problem and / or low weight for age": 'Ccc.B23.DE94' from "Ccc" display 'feeding problem and / or low weight for age' +code "no feeding problem": 'Ccc.B23.DE98' from "Ccc" display 'no feeding problem' +code "add other classifications": 'collector' from "Ccc" display 'add other classifications' +code "very severe disease": 'Ccc.B23.DE01' from "Ccc" display 'very severe disease' +code "severe pneumonia or very severe disease": 'Ccc.B23.DE03' from "Ccc" display 'severe pneumonia or very severe disease' +code "cough or cold": 'Ccc.B23.DE10' from "Ccc" display 'cough or cold' +code "severe persistent diarrhoea": 'Ccc.B23.DE16' from "Ccc" display 'severe persistent diarrhoea' +code "persistent diarrhoea": 'Ccc.B23.DE17' from "Ccc" display 'persistent diarrhoea' +code "dysentery": 'Ccc.B23.DE18' from "Ccc" display 'dysentery' +code "possible shigella": 'Ccc.B23.DE18.a' from "Ccc" display 'possible shigella' +code "throat abscess or possible diptheria": 'Ccc.B23.DE100' from "Ccc" display 'throat abscess or possible diptheria' +code "streptococcal sore throat": 'Ccc.B23.DE6101' from "Ccc" display 'streptococcal sore throat' +code "non-streptococcal sore throat": 'Ccc.B23.DE6102' from "Ccc" display 'non-streptococcal sore throat' +code "no throat problem": 'Ccc.B23.DE6103' from "Ccc" display 'no throat problem' +code "mastoiditis": 'Ccc.B23.DE30' from "Ccc" display 'mastoiditis' +code "acute ear infection": 'Ccc.B23.DE31' from "Ccc" display 'acute ear infection' +code "chronic ear infection": 'Ccc.B23.DE32' from "Ccc" display 'chronic ear infection' +code "no ear infection": 'Ccc.B23.DE33' from "Ccc" display 'no ear infection' +code "very severe febrile disease": 'Ccc.B23.DE19' from "Ccc" display 'very severe febrile disease' +code "fever: possible bacterial infection": 'Ccc.B23.DE104' from "Ccc" display 'fever: possible bacterial infection' +code "fever: bacterial infection unlikely": 'Ccc.B23.DE105' from "Ccc" display 'fever: bacterial infection unlikely' +code "severe complicated measles": 'Ccc.B23.DE27' from "Ccc" display 'severe complicated measles' +code "measles with eye or mouth complication": 'Ccc.B23.DE28' from "Ccc" display 'measles with eye or mouth complication' +code "possible measles": 'Ccc.B23.DE29' from "Ccc" display 'possible measles' +code "severe anaemia": 'Ccc.B23.DE62' from "Ccc" display 'severe anaemia' +code "anaemia": 'Ccc.B23.DE63' from "Ccc" display 'anaemia' +code "no anaemia": 'Ccc.B23.DE64' from "Ccc" display 'no anaemia' +code "eye infection": 'Ccc.B23.DE34' from "Ccc" display 'eye infection' +code "clouding of the cornea": 'Ccc.B23.DE35' from "Ccc" display 'clouding of the cornea' +code "papular urticaria or papular pruritic eruptions": 'Ccc.B23.DE41' from "Ccc" display 'papular urticaria or papular pruritic eruptions' +code "ringworm (tinea)": 'Ccc.B23.DE42' from "Ccc" display 'ringworm (tinea)' +code "scabies": 'Ccc.B23.DE44' from "Ccc" display 'scabies' +code "chickenpox": 'Ccc.B23.DE45' from "Ccc" display 'chickenpox' +code "herpes zoster": 'Ccc.B23.DE47' from "Ccc" display 'herpes zoster' +code "impetigo": 'Ccc.B23.DE49' from "Ccc" display 'impetigo' +code "molluscum contagiosum": 'Ccc.B23.DE52' from "Ccc" display 'molluscum contagiosum' +code "warts": 'Ccc.B23.DE53' from "Ccc" display 'warts' +code "seborrhoeic dermatitis": 'Ccc.B23.DE54' from "Ccc" display 'seborrhoeic dermatitis' +code "fixed drug reaction": 'Ccc.B23.DE56' from "Ccc" display 'fixed drug reaction' +code "eczema": 'Ccc.B23.DE57' from "Ccc" display 'eczema' +code "steven johnson syndrome (sjs)": 'Ccc.B23.DE58' from "Ccc" display 'steven johnson syndrome (sjs)' +code "mouth sores or ulcer": 'Ccc.B23.DE59' from "Ccc" display 'mouth sores or ulcer' +code "oral thrush": 'Ccc.B23.DE61' from "Ccc" display 'oral thrush' +code "low weight for age": 'Ccc.B23.DE107' from "Ccc" display 'low weight for age' +code "low muac or visual report of wasting": 'Ccc.B23.DE108' from "Ccc" display 'low muac or visual report of wasting' diff --git a/input/cql/emcaredt01.cql b/input/cql/Cccdt01.cql similarity index 53% rename from input/cql/emcaredt01.cql rename to input/cql/Cccdt01.cql index 86f3691a..b0f83bc9 100644 --- a/input/cql/emcaredt01.cql +++ b/input/cql/Cccdt01.cql @@ -1,14 +1,14 @@ /* @author: Patrick Delcroix -@description: This library is part of the project EmCare +@description: This library is part of the project Ccc */ -library emcaredt01 version '1.0.1.rc12.build.457' +library Cccdt01 version '1.0.1.rc12.build.457' using FHIR version '4.0.1' include FHIRHelpers version '4.0.1' called FHIRHelpers -include emcarebase version '1.0.1.rc12.build.457' called Base -include emcareobservation version '1.0.1.rc12.build.457' called obs -include emcarevalueset version '1.0.1.rc12.build.457' called val -include emcarecombineddataelements version '1.0.1.rc12.build.457' called clas +include Cccbase version '1.0.1.rc12.build.457' called Base +include Cccobservation version '1.0.1.rc12.build.457' called obs +include Cccvalueset version '1.0.1.rc12.build.457' called val +include Ccccombineddataelements version '1.0.1.rc12.build.457' called clas @@ -17,122 +17,122 @@ context Patient /* -none : EmCareDT02 +none : CccDT02 AgeInYears() < 5 */ define "none": AgeInYears() < 5 -/* alias register the child in the encounter : emcaredt02*/ +/* alias register the child in the encounter : Cccdt02*/ define "register the child in the encounter": - "emcaredt02" + "Cccdt02" /* -none : EmCareDT04 +none : CccDT04 AgeInYears() < 5 */ define "none": AgeInYears() < 5 -/* alias evaluate dangersigns : emcaredt04*/ +/* alias evaluate dangersigns : Cccdt04*/ define "evaluate dangersigns": - "emcaredt04" + "Cccdt04" /* -none : EmCareDT03 +none : CccDT03 AgeInYears() < 5 */ define "none": AgeInYears() < 5 -/* alias determine basic anthropometric and others measurement : emcaredt03*/ +/* alias determine basic anthropometric and others measurement : Cccdt03*/ define "determine basic anthropometric and others measurement": - "emcaredt03" + "Cccdt03" /* -none : EmCareDT05 +none : CccDT05 AgeInMonths() < 2 */ define "none": AgeInMonths() < 2 -/* alias assess sick child for symptoms 2 m : emcaredt05*/ +/* alias assess sick child for symptoms 2 m : Cccdt05*/ define "assess sick child for symptoms 2 m": - "emcaredt05" + "Cccdt05" /* -none : EmCareDT06 +none : CccDT06 clas."age >= 2 months to <60 months" */ define "none": clas."age >= 2 months to <60 months" -/* alias assess sick child for symptoms 2p : emcaredt06*/ +/* alias assess sick child for symptoms 2p : Cccdt06*/ define "assess sick child for symptoms 2p": - "emcaredt06" + "Cccdt06" /* -none : EmCareDT07 +none : CccDT07 AgeInMonths() < 2 */ define "none": AgeInMonths() < 2 -/* alias assess sick child for signs 2 m : emcaredt07*/ +/* alias assess sick child for signs 2 m : Cccdt07*/ define "assess sick child for signs 2 m": - "emcaredt07" + "Cccdt07" /* -none : EmCareDT08 +none : CccDT08 clas."age >= 2 months to <60 months" */ define "none": clas."age >= 2 months to <60 months" -/* alias assess sick child for signs 2p : emcaredt08*/ +/* alias assess sick child for signs 2p : Cccdt08*/ define "assess sick child for signs 2p": - "emcaredt08" + "Cccdt08" /* -none : EmCareDT09 +none : CccDT09 clas."age >= 2 months to <60 months" */ define "none": clas."age >= 2 months to <60 months" -/* alias propose classification : emcaredt09*/ +/* alias propose classification : Cccdt09*/ define "propose classification": - "emcaredt09" + "Cccdt09" /* -none : EmCareDT10 +none : CccDT10 AgeInYears() < 5 */ define "none": AgeInYears() < 5 -/* alias do test : emcaredt10*/ +/* alias do test : Cccdt10*/ define "do test": - "emcaredt10" + "Cccdt10" /* -none : EmCareDT11 +none : CccDT11 AgeInYears() < 5 */ define "none": AgeInYears() < 5 -/* alias provide treatment : emcaredt11*/ +/* alias provide treatment : Cccdt11*/ define "provide treatment": - "emcaredt11" + "Cccdt11" /* -none : EmCareDT12 +none : CccDT12 AgeInMonths() < 2 */ define "none": AgeInMonths() < 2 -/* alias propose classification 2m : emcaredt12*/ +/* alias propose classification 2m : Cccdt12*/ define "propose classification 2m": - "emcaredt12" + "Cccdt12" diff --git a/input/cql/Cccobservation-valueset.cql b/input/cql/Cccobservation-valueset.cql new file mode 100644 index 00000000..ac97513a --- /dev/null +++ b/input/cql/Cccobservation-valueset.cql @@ -0,0 +1,41 @@ +/* +@author: Patrick Delcroix +@description: This library is part of the project Ccc +*/ +library Cccobservation-valueset version '1.0.1.rc12.build.156' +using FHIR version '4.0.1' +include FHIRHelpers version '4.0.1' called FHIRHelpers + + + + +codesystem "Ccc" : 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' + + +code "generalised skin problem": 'Ccc.B14S2.DE07' from "Ccc" display 'generalised skin problem' +code "localised skin problem": 'Ccc.B14S2.DE08' from "Ccc" display 'localised skin problem' +code "no problem": 'Ccc.B14S2.DE09' from "Ccc" display 'no problem' +code "papular urticaria or papular pruritic eruptions": 'Ccc.B14S2.DE18' from "Ccc" display 'papular urticaria or papular pruritic eruptions' +code "ringworm (tinea)": 'Ccc.B14S2.DE19' from "Ccc" display 'ringworm (tinea)' +code "scabies": 'Ccc.B14S2.DE21' from "Ccc" display 'scabies' +code "chickenpox": 'Ccc.B14S2.DE22' from "Ccc" display 'chickenpox' +code "herpes zoster": 'Ccc.B14S2.DE23' from "Ccc" display 'herpes zoster' +code "impetigo": 'Ccc.B14S2.DE25' from "Ccc" display 'impetigo' +code "molluscum contagiosum": 'Ccc.B14S2.DE31' from "Ccc" display 'molluscum contagiosum' +code "warts": 'Ccc.B14S2.DE32' from "Ccc" display 'warts' +code "seborrhoeic dermatitis": 'Ccc.B14S2.DE33' from "Ccc" display 'seborrhoeic dermatitis' +code "fixed drug reaction": 'Ccc.B14S2.DE35' from "Ccc" display 'fixed drug reaction' +code "eczema": 'Ccc.B14S2.DE36' from "Ccc" display 'eczema' +code "steven johnson syndrome (sjs)": 'Ccc.B14S2.DE37' from "Ccc" display 'steven johnson syndrome (sjs)' +code "skin problem": 'Ccc.B14S2.DE44' from "Ccc" display 'skin problem' +code "oral sores or mouth ulcers": 'Ccc.B14S2.DE45' from "Ccc" display 'oral sores or mouth ulcers' +code "eye problem": 'Ccc.B14S2.DE46' from "Ccc" display 'eye problem' +code "no - do not add a skin or mouth or eye problem": 'Ccc.B14S2.DE47' from "Ccc" display 'no - do not add a skin or mouth or eye problem' +code "no breastmilk at all": 'Ccc.B21S2.DE29' from "Ccc" display 'no breastmilk at all' +code "inappropriate replacement milk": 'Ccc.B21S2.DE11' from "Ccc" display 'inappropriate replacement milk' +code "appropriate replacement milk": 'Ccc.B21S2.DE10' from "Ccc" display 'appropriate replacement milk' +code "chest indrawing (post inhaled bronchodilator trial)": 'Ccc.B22.DE18' from "Ccc" display 'chest indrawing (post inhaled bronchodilator trial)' +code "respiratory rate (post inhaled bronchodilator trial)": 'Ccc.B22.DE19' from "Ccc" display 'respiratory rate (post inhaled bronchodilator trial)' +code "fast breathing (post inhaled bronchodilator trial)": 'Ccc.B22.DE20' from "Ccc" display 'fast breathing (post inhaled bronchodilator trial)' +code "no fast breathing and no chest indrawing (post inhaled bronchodilator trial)": 'Ccc.B22.DE21' from "Ccc" display 'no fast breathing and no chest indrawing (post inhaled bronchodilator trial)' +code "inhaled bronchodilator trial not feasible or available": 'Ccc.B22.DE22' from "Ccc" display 'inhaled bronchodilator trial not feasible or available' diff --git a/input/cql/Cccobservation.cql b/input/cql/Cccobservation.cql new file mode 100644 index 00000000..d73aa52d --- /dev/null +++ b/input/cql/Cccobservation.cql @@ -0,0 +1,152 @@ +/* +@author: Patrick Delcroix +@description: This library is part of the project Ccc +*/ +library Cccobservation version '1.0.1.rc12.build.457' +using FHIR version '4.0.1' +include FHIRHelpers version '4.0.1' called FHIRHelpers + + + + +codesystem "Ccc" : 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' + + +code "is the child sick today?": 'Ccc.B3.DE05' from "Ccc" display 'is the child sick today?' +code "convulsing now": 'Ccc.B7.DE02' from "Ccc" display 'convulsing now' +code "continue to assess sick child": 'Ccc.B7-B8-B9.DE01' from "Ccc" display 'continue to assess sick child' +code "convulsion(s) in this illness": 'Ccc.B7.DE03' from "Ccc" display 'convulsion(s) in this illness' +code "unconscious or lethargic": 'Ccc.B7.DE08b' from "Ccc" display 'unconscious or lethargic' +code "unconscious": 'Ccc.B7.DE08' from "Ccc" display 'unconscious' +code "lethargic": 'Ccc.B7.DE08a' from "Ccc" display 'lethargic' +code "not able to drink or breastfeed": 'Ccc.B7.DE09' from "Ccc" display 'not able to drink or breastfeed' +code "vomiting everything": 'Ccc.B7.DE10' from "Ccc" display 'vomiting everything' +code "axillary temperature (degrees celcius)": 'Ccc.B6.DE01' from "Ccc" display 'axillary temperature (degrees celcius)' +code "thermometer not available": 'Ccc.B6.DE04' from "Ccc" display 'thermometer not available' +code "hot to touch": 'Ccc.B6.DE05' from "Ccc" display 'hot to touch' +code "measured temperature": 'Ccc.B6.DE01A' from "Ccc" display 'measured temperature' +code "weight (kg)": 'Ccc.B6.DE06' from "Ccc" display 'weight (kg)' +code "estimated weight": 'Ccc.B6.DE08' from "Ccc" display 'estimated weight' +code "height": 'Ccc.B6.DE09' from "Ccc" display 'height' +code "height cannot be measured": 'Ccc.B6.DE11' from "Ccc" display 'height cannot be measured' +code "length": 'Ccc.B6.DE12' from "Ccc" display 'length' +code "weight for age (wfa) z scores": 'Ccc.B6.DE16' from "Ccc" display 'weight for age (wfa) z scores' +code "muac (mm)": 'Ccc.B6.DE17' from "Ccc" display 'muac (mm)' +code "muac cannot be measured": 'Ccc.B6.DE17a' from "Ccc" display 'muac cannot be measured' +code "visually assess for whether underweight (for drug dose calculation)": 'Ccc.B6.DE18' from "Ccc" display 'visually assess for whether underweight (for drug dose calculation)' +code "difficulty with feeding": 'Ccc.B18S1.DE02' from "Ccc" display 'difficulty with feeding' +code "diarrhoea": 'Ccc.B11S1.DE01' from "Ccc" display 'diarrhoea' +code "breastfed": 'Ccc.B21S1.DE06' from "Ccc" display 'breastfed' +code "severe chest indrawing": 'Ccc.B18S2.DE07' from "Ccc" display 'severe chest indrawing' +code "movements": 'Ccc.B18S2.DE08' from "Ccc" display 'movements' +code "umbilicus red or pus draining": 'Ccc.B18S2.DE12' from "Ccc" display 'umbilicus red or pus draining' +code "skin pustules": 'Ccc.B18S2.DE13' from "Ccc" display 'skin pustules' +code "yellow skin": 'Ccc.B19S2.DE01' from "Ccc" display 'yellow skin' +code "yellow palms or yellow soles": 'Ccc.B19S2.DE02' from "Ccc" display 'yellow palms or yellow soles' +code "when did the jaundice first appear?": 'Ccc.B19S2.DE04' from "Ccc" display 'when did the jaundice first appear?' +code "sunken eyes": 'Ccc.B11S2.DE01' from "Ccc" display 'sunken eyes' +code "skin pinch of abdomen": 'Ccc.B11S2.DE02' from "Ccc" display 'skin pinch of abdomen' +code "restless and irritable": 'Ccc.B11S2.DE06' from "Ccc" display 'restless and irritable' +code "weight status": 'Ccc.B21S2.DE01' from "Ccc" display 'weight status' +code "breastfed how many times in 24 hours?": 'Ccc.B21S2.DE05' from "Ccc" display 'breastfed how many times in 24 hours?' +code "sufficient feeds": 'Ccc.B21S2.DE06' from "Ccc" display 'sufficient feeds' +code "young infant receives food or fluids other than breast milk": 'Ccc.B21S2.DE08' from "Ccc" display 'young infant receives food or fluids other than breast milk' +code "what milk is being given as a replacement feed?": 'Ccc.B21S2.DE09' from "Ccc" display 'what milk is being given as a replacement feed?' +code "how many replacement feeds during the day and night (24 hours)?": 'Ccc.B21S2.DE12' from "Ccc" display 'how many replacement feeds during the day and night (24 hours)?' +code "sufficient replacement feeds (in 24 hours)": 'Ccc.B21S2.DE13' from "Ccc" display 'sufficient replacement feeds (in 24 hours)' +code "how much milk is given at each feed (ml)?": 'Ccc.B21S2.DE15' from "Ccc" display 'how much milk is given at each feed (ml)?' +code "sufficient replacement feeds": 'Ccc.B21S2.DE16' from "Ccc" display 'sufficient replacement feeds' +code "how is the milk prepared?": 'Ccc.B21S2.DE18' from "Ccc" display 'how is the milk prepared?' +code "how is the milk given?": 'Ccc.B21S2.DE21' from "Ccc" display 'how is the milk given?' +code "how are the feeding utensils cleaned?": 'Ccc.B21S2.DE24' from "Ccc" display 'how are the feeding utensils cleaned?' +code "do you give any breastmilk at all?": 'Ccc.B21S2.DE27' from "Ccc" display 'do you give any breastmilk at all?' +code "ulcers or white patches in mouth": 'Ccc.B21S2.DE30' from "Ccc" display 'ulcers or white patches in mouth' +code "unable to check if ulcers or white patches in mouth": 'Ccc.B21S2.DE31' from "Ccc" display 'unable to check if ulcers or white patches in mouth' +code "cough": 'Ccc.B10S1.DE05' from "Ccc" display 'cough' +code "cough for how long?": 'Ccc.B10S1.DE06' from "Ccc" display 'cough for how long?' +code "difficulty breathing": 'Ccc.B10S1.DE01' from "Ccc" display 'difficulty breathing' +code "difficulty breathing for how long?": 'Ccc.B10S1.DE02' from "Ccc" display 'difficulty breathing for how long?' +code "diarrhoea for how long?": 'Ccc.B11S1.DE02' from "Ccc" display 'diarrhoea for how long?' +code "blood in the stool in this illness": 'Ccc.B11S1.DE05' from "Ccc" display 'blood in the stool in this illness' +code "fever reported": 'Ccc.B12S1.DE02' from "Ccc" display 'fever reported' +code "fever for how long?": 'Ccc.B12S1.DE03' from "Ccc" display 'fever for how long?' +code "fever": 'Ccc.B.G.DE06' from "Ccc" display 'fever' +code "has fever been present every day since the fever started?": 'Ccc.B12S1.DE06' from "Ccc" display 'has fever been present every day since the fever started?' +code "ear problem": 'Ccc.B13S1.DE01' from "Ccc" display 'ear problem' +code "ear pain": 'Ccc.B13S1.DE02' from "Ccc" display 'ear pain' +code "ear discharge": 'Ccc.B13S1.DE03' from "Ccc" display 'ear discharge' +code "ear discharge for how long?": 'Ccc.B13S1.DE04' from "Ccc" display 'ear discharge for how long?' +code "eye problem": 'Ccc.B14S1.DE03' from "Ccc" display 'eye problem' +code "skin problem": 'Ccc.B14S1.DE01' from "Ccc" display 'skin problem' +code "itchy skin": 'Ccc.B14S1.DE02' from "Ccc" display 'itchy skin' +code "chest indrawing": 'Ccc.B10S2.DE03' from "Ccc" display 'chest indrawing' +code "stridor in a calm child": 'Ccc.B10S2.DE04' from "Ccc" display 'stridor in a calm child' +code "wheezing": 'Ccc.B10S2.DE05' from "Ccc" display 'wheezing' +code "recurrent wheeze": 'Ccc.B10S2.DE06' from "Ccc" display 'recurrent wheeze' +code "oxygen saturation": 'Ccc.B10S2.DE07' from "Ccc" display 'oxygen saturation' +code "throat problem": 'Ccc.B17S1.DE01' from "Ccc" display 'throat problem' +code "specify throat problem": 'Ccc.B17S1.DE02' from "Ccc" display 'specify throat problem' +code "enlarged lymph nodes on front of neck": 'Ccc.B17S1.DE06' from "Ccc" display 'enlarged lymph nodes on front of neck' +code "ability to swallow": 'Ccc.B17S1.DE07' from "Ccc" display 'ability to swallow' +code "tender swelling behind the ear": 'Ccc.B13S2.DE01' from "Ccc" display 'tender swelling behind the ear' +code "pus seen draining from the ear": 'Ccc.B13S2.DE02' from "Ccc" display 'pus seen draining from the ear' +code "pus seen draining from the ear for how long?": 'Ccc.B13S2.DE03' from "Ccc" display 'pus seen draining from the ear for how long?' +code "stiff neck": 'Ccc.B12S2.DE01' from "Ccc" display 'stiff neck' +code "runny nose": 'Ccc.B12S2.DE05' from "Ccc" display 'runny nose' +code "red eyes": 'Ccc.B14S2.DE01' from "Ccc" display 'red eyes' +code "pus draining from eye": 'Ccc.B14S2.DE02' from "Ccc" display 'pus draining from eye' +code "clouding of the cornea": 'Ccc.B14S2.DE03' from "Ccc" display 'clouding of the cornea' +code "is clouding of the cornea a new problem": 'Ccc.B14S2.DE04' from "Ccc" display 'is clouding of the cornea a new problem' +code "has clouding of the cornea previously been treated": 'Ccc.B14S2.DE05' from "Ccc" display 'has clouding of the cornea previously been treated' +code "generalised or localised skin problem": 'Ccc.B14S2.DE06' from "Ccc" display 'generalised or localised skin problem' +code "measles rash": 'Ccc.B14S2.DE10' from "Ccc" display 'measles rash' +code "measles within the last 3 months": 'Ccc.B14S2.DE11' from "Ccc" display 'measles within the last 3 months' +code "blisters, sores or pustules": 'Ccc.B14S2.DE12' from "Ccc" display 'blisters, sores or pustules' +code "type of skin problem": 'Ccc.B14S2.DE13' from "Ccc" display 'type of skin problem' +code "scalp infection (tinea capitis)": 'Ccc.B14S2.DE19a' from "Ccc" display 'scalp infection (tinea capitis)' +code "severe rash": 'Ccc.B14S2.DE22A' from "Ccc" display 'severe rash' +code "disseminated herpes zoster": 'Ccc.B14S2.DE23a' from "Ccc" display 'disseminated herpes zoster' +code "eye involvement": 'Ccc.B14S2.DE24' from "Ccc" display 'eye involvement' +code "skin infection extends to muscle": 'Ccc.B14S2.DE30' from "Ccc" display 'skin infection extends to muscle' +code "extensive impetigo lesions": 'Ccc.B14S2.DE30b' from "Ccc" display 'extensive impetigo lesions' +code "extensive molluscum lesions": 'Ccc.B14S2.DE31a' from "Ccc" display 'extensive molluscum lesions' +code "molluscum lesions close to the eye": 'Ccc.B14S2.DE31b' from "Ccc" display 'molluscum lesions close to the eye' +code "extensive warts": 'Ccc.B14S2.DE32a' from "Ccc" display 'extensive warts' +code "severe seborrhoeic dermatitis": 'Ccc.B14S2.DE34' from "Ccc" display 'severe seborrhoeic dermatitis' +code "secondary bacterial infection of eczema": 'Ccc.B14S2.DE36a' from "Ccc" display 'secondary bacterial infection of eczema' +code "severe acute moist or weeping eczema": 'Ccc.B14S2.DE36b' from "Ccc" display 'severe acute moist or weeping eczema' +code "secondary herpes infection of eczema (eczema herpeticum)": 'Ccc.B14S2.DE36c' from "Ccc" display 'secondary herpes infection of eczema (eczema herpeticum)' +code "oral sores or mouth ulcers": 'Ccc.B14S2.DE38' from "Ccc" display 'oral sores or mouth ulcers' +code "add a skin or mouth or eye problem": 'Ccc.B14S2.DE43' from "Ccc" display 'add a skin or mouth or eye problem' +code "palmar pallor": 'Ccc.B15S2.DE01' from "Ccc" display 'palmar pallor' +code "mucous membrane pallor": 'Ccc.B15S2.DE09' from "Ccc" display 'mucous membrane pallor' +code "oral fluid test results": 'Ccc.B22.DE08' from "Ccc" display 'oral fluid test results' +code "unable to perform oral fluid test": 'Ccc.B22.DE14' from "Ccc" display 'unable to perform oral fluid test' +code "completely unable to drink or vomits immediately / everything": 'Ccc.B22.DE14a' from "Ccc" display 'completely unable to drink or vomits immediately / everything' +code "has the child had anything to drink today?": 'Ccc.B22.DE15' from "Ccc" display 'has the child had anything to drink today?' +code "how did the child last drink": 'Ccc.B22.DE16' from "Ccc" display 'how did the child last drink' +code "respiratory rate (breaths per minute)": 'Ccc.B22.DE01' from "Ccc" display 'respiratory rate (breaths per minute)' +code "unable to perform respiratory rate at this time": 'Ccc.B22.DE02' from "Ccc" display 'unable to perform respiratory rate at this time' +code "respiratory rate second count (breaths per minute)": 'Ccc.B22.DE04' from "Ccc" display 'respiratory rate second count (breaths per minute)' +code "respiratory rate second count not possible": 'Ccc.B22.DE05' from "Ccc" display 'respiratory rate second count not possible' +code "fast breathing": 'Ccc.B22.DE07' from "Ccc" display 'fast breathing' +code "inhaled bronchodilator trial results": 'Ccc.B22.DE17' from "Ccc" display 'inhaled bronchodilator trial results' +code "inhaled bronchodilator trial not feasible or available": 'Ccc.B22.DE22' from "Ccc" display 'inhaled bronchodilator trial not feasible or available' +code "no fast breathing and no chest indrawing (post inhaled bronchodilator trial)": 'Ccc.B22.DE21' from "Ccc" display 'no fast breathing and no chest indrawing (post inhaled bronchodilator trial)' +code "breastfeeding assessment not possible": 'Ccc.B22.DE41' from "Ccc" display 'breastfeeding assessment not possible' +code "breastfed in the previous hour": 'Ccc.B22.DE28' from "Ccc" display 'breastfed in the previous hour' +code "mother able to wait until young infant is willing to breastfeed again": 'Ccc.B22.DE29' from "Ccc" display 'mother able to wait until young infant is willing to breastfeed again' +code "mother reports difficulty breastfeeding": 'Ccc.B22.DE30' from "Ccc" display 'mother reports difficulty breastfeeding' +code "chin touching breast": 'Ccc.B22.DE31' from "Ccc" display 'chin touching breast' +code "mouth wide open": 'Ccc.B22.DE32' from "Ccc" display 'mouth wide open' +code "lower lip turned outwards": 'Ccc.B22.DE33' from "Ccc" display 'lower lip turned outwards' +code "more areola visible above than below the mouth": 'Ccc.B22.DE34' from "Ccc" display 'more areola visible above than below the mouth' +code "slow deep sucks, sometimes pausing": 'Ccc.B22.DE35' from "Ccc" display 'slow deep sucks, sometimes pausing' +code "breastfeeding assessment results": 'Ccc.B22.DE36' from "Ccc" display 'breastfeeding assessment results' +code "difficulty breastfeeding reported": 'Ccc.B22.DE42' from "Ccc" display 'difficulty breastfeeding reported' +code "difficulty breastfeeding observed": 'Ccc.B22.DE44' from "Ccc" display 'difficulty breastfeeding observed' +code "hemoglobin (hb) g/dl": 'Ccc.B22.DE81' from "Ccc" display 'hemoglobin (hb) g/dl' +code "hemoglobin test not available": 'Ccc.B22.DE82' from "Ccc" display 'hemoglobin test not available' +code "axillary temperature (second measurement)": 'Ccc.B22.DE47' from "Ccc" display 'axillary temperature (second measurement)' +code "second temperature measurement not feasible": 'Ccc.B22.DE46' from "Ccc" display 'second temperature measurement not feasible' +code "measured temperature (second measurement)": 'Ccc.B22.DE50' from "Ccc" display 'measured temperature (second measurement)' diff --git a/input/cql/CccobservationValueset.cql b/input/cql/CccobservationValueset.cql new file mode 100644 index 00000000..2ff303f7 --- /dev/null +++ b/input/cql/CccobservationValueset.cql @@ -0,0 +1,41 @@ +/* +@author: Patrick Delcroix +@description: This library is part of the project Ccc +*/ +library CccobservationValueset version '1.0.1.rc12.build.457' +using FHIR version '4.0.1' +include FHIRHelpers version '4.0.1' called FHIRHelpers + + + + +codesystem "Ccc" : 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' + + +code "generalised skin problem": 'Ccc.B14S2.DE07' from "Ccc" display 'generalised skin problem' +code "localised skin problem": 'Ccc.B14S2.DE08' from "Ccc" display 'localised skin problem' +code "no problem": 'Ccc.B14S2.DE09' from "Ccc" display 'no problem' +code "papular urticaria or papular pruritic eruptions": 'Ccc.B14S2.DE18' from "Ccc" display 'papular urticaria or papular pruritic eruptions' +code "ringworm (tinea)": 'Ccc.B14S2.DE19' from "Ccc" display 'ringworm (tinea)' +code "scabies": 'Ccc.B14S2.DE21' from "Ccc" display 'scabies' +code "chickenpox": 'Ccc.B14S2.DE22' from "Ccc" display 'chickenpox' +code "herpes zoster": 'Ccc.B14S2.DE23' from "Ccc" display 'herpes zoster' +code "impetigo": 'Ccc.B14S2.DE25' from "Ccc" display 'impetigo' +code "molluscum contagiosum": 'Ccc.B14S2.DE31' from "Ccc" display 'molluscum contagiosum' +code "warts": 'Ccc.B14S2.DE32' from "Ccc" display 'warts' +code "seborrhoeic dermatitis": 'Ccc.B14S2.DE33' from "Ccc" display 'seborrhoeic dermatitis' +code "fixed drug reaction": 'Ccc.B14S2.DE35' from "Ccc" display 'fixed drug reaction' +code "eczema": 'Ccc.B14S2.DE36' from "Ccc" display 'eczema' +code "steven johnson syndrome (sjs)": 'Ccc.B14S2.DE37' from "Ccc" display 'steven johnson syndrome (sjs)' +code "skin problem": 'Ccc.B14S2.DE44' from "Ccc" display 'skin problem' +code "oral sores or mouth ulcers": 'Ccc.B14S2.DE45' from "Ccc" display 'oral sores or mouth ulcers' +code "eye problem": 'Ccc.B14S2.DE46' from "Ccc" display 'eye problem' +code "no - do not add a skin or mouth or eye problem": 'Ccc.B14S2.DE47' from "Ccc" display 'no - do not add a skin or mouth or eye problem' +code "no breastmilk at all": 'Ccc.B21S2.DE29' from "Ccc" display 'no breastmilk at all' +code "inappropriate replacement milk": 'Ccc.B21S2.DE11' from "Ccc" display 'inappropriate replacement milk' +code "appropriate replacement milk": 'Ccc.B21S2.DE10' from "Ccc" display 'appropriate replacement milk' +code "chest indrawing (post inhaled bronchodilator trial)": 'Ccc.B22.DE18' from "Ccc" display 'chest indrawing (post inhaled bronchodilator trial)' +code "respiratory rate (post inhaled bronchodilator trial)": 'Ccc.B22.DE19' from "Ccc" display 'respiratory rate (post inhaled bronchodilator trial)' +code "fast breathing (post inhaled bronchodilator trial)": 'Ccc.B22.DE20' from "Ccc" display 'fast breathing (post inhaled bronchodilator trial)' +code "no fast breathing and no chest indrawing (post inhaled bronchodilator trial)": 'Ccc.B22.DE21' from "Ccc" display 'no fast breathing and no chest indrawing (post inhaled bronchodilator trial)' +code "inhaled bronchodilator trial not feasible or available": 'Ccc.B22.DE22' from "Ccc" display 'inhaled bronchodilator trial not feasible or available' diff --git a/input/cql/Cccobservation_valueset.cql b/input/cql/Cccobservation_valueset.cql new file mode 100644 index 00000000..793eea70 --- /dev/null +++ b/input/cql/Cccobservation_valueset.cql @@ -0,0 +1,41 @@ +/* +@author: Patrick Delcroix +@description: This library is part of the project Ccc +*/ +library Cccobservation_valueset version '1.0.1.rc12.build.144' +using FHIR version '4.0.1' +include FHIRHelpers version '4.0.1' called FHIRHelpers + + + + +codesystem "Ccc" : 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' + + +code "generalised skin problem": 'Ccc.B14S2.DE07' from "Ccc" display 'generalised skin problem' +code "localised skin problem": 'Ccc.B14S2.DE08' from "Ccc" display 'localised skin problem' +code "no problem": 'Ccc.B14S2.DE09' from "Ccc" display 'no problem' +code "papular urticaria or papular pruritic eruptions": 'Ccc.B14S2.DE18' from "Ccc" display 'papular urticaria or papular pruritic eruptions' +code "ringworm (tinea)": 'Ccc.B14S2.DE19' from "Ccc" display 'ringworm (tinea)' +code "scabies": 'Ccc.B14S2.DE21' from "Ccc" display 'scabies' +code "chickenpox": 'Ccc.B14S2.DE22' from "Ccc" display 'chickenpox' +code "herpes zoster": 'Ccc.B14S2.DE23' from "Ccc" display 'herpes zoster' +code "impetigo": 'Ccc.B14S2.DE25' from "Ccc" display 'impetigo' +code "molluscum contagiosum": 'Ccc.B14S2.DE31' from "Ccc" display 'molluscum contagiosum' +code "warts": 'Ccc.B14S2.DE32' from "Ccc" display 'warts' +code "seborrhoeic dermatitis": 'Ccc.B14S2.DE33' from "Ccc" display 'seborrhoeic dermatitis' +code "fixed drug reaction": 'Ccc.B14S2.DE35' from "Ccc" display 'fixed drug reaction' +code "eczema": 'Ccc.B14S2.DE36' from "Ccc" display 'eczema' +code "steven johnson syndrome (sjs)": 'Ccc.B14S2.DE37' from "Ccc" display 'steven johnson syndrome (sjs)' +code "skin problem": 'Ccc.B14S2.DE44' from "Ccc" display 'skin problem' +code "oral sores or mouth ulcers": 'Ccc.B14S2.DE45' from "Ccc" display 'oral sores or mouth ulcers' +code "eye problem": 'Ccc.B14S2.DE46' from "Ccc" display 'eye problem' +code "no - do not add a skin or mouth or eye problem": 'Ccc.B14S2.DE47' from "Ccc" display 'no - do not add a skin or mouth or eye problem' +code "no breastmilk at all": 'Ccc.B21S2.DE29' from "Ccc" display 'no breastmilk at all' +code "inappropriate replacement milk": 'Ccc.B21S2.DE11' from "Ccc" display 'inappropriate replacement milk' +code "appropriate replacement milk": 'Ccc.B21S2.DE10' from "Ccc" display 'appropriate replacement milk' +code "chest indrawing (post inhaled bronchodilator trial)": 'Ccc.B22.DE18' from "Ccc" display 'chest indrawing (post inhaled bronchodilator trial)' +code "respiratory rate (post inhaled bronchodilator trial)": 'Ccc.B22.DE19' from "Ccc" display 'respiratory rate (post inhaled bronchodilator trial)' +code "fast breathing (post inhaled bronchodilator trial)": 'Ccc.B22.DE20' from "Ccc" display 'fast breathing (post inhaled bronchodilator trial)' +code "no fast breathing and no chest indrawing (post inhaled bronchodilator trial)": 'Ccc.B22.DE21' from "Ccc" display 'no fast breathing and no chest indrawing (post inhaled bronchodilator trial)' +code "inhaled bronchodilator trial not feasible or available": 'Ccc.B22.DE22' from "Ccc" display 'inhaled bronchodilator trial not feasible or available' diff --git a/input/cql/emcaretreatment.cql b/input/cql/Ccctreatment.cql similarity index 77% rename from input/cql/emcaretreatment.cql rename to input/cql/Ccctreatment.cql index c6a9d9dc..bd11746e 100644 --- a/input/cql/emcaretreatment.cql +++ b/input/cql/Ccctreatment.cql @@ -1,14 +1,14 @@ /* @author: Patrick Delcroix -@description: This library is part of the project EmCare +@description: This library is part of the project Ccc */ -library emcaretreatment version '1.0.1.rc12.build.457' +library Ccctreatment version '1.0.1.rc12.build.457' using FHIR version '4.0.1' include FHIRHelpers version '4.0.1' called FHIRHelpers -include emcarebase version '1.0.1.rc12.build.457' called Base -include emcareobservation version '1.0.1.rc12.build.457' called obs -include emcarevalueset version '1.0.1.rc12.build.457' called val -include emcarecondition version '1.0.1.rc12.build.457' called cond +include Cccbase version '1.0.1.rc12.build.457' called Base +include Cccobservation version '1.0.1.rc12.build.457' called obs +include Cccvalueset version '1.0.1.rc12.build.457' called val +include Ccccondition version '1.0.1.rc12.build.457' called cond @@ -24,420 +24,420 @@ define "none": AgeInMonths() /* -none : load-EmCare.C10.IT.DE01 +none : load-Ccc.C10.IT.DE01 HasCond(cond."very severe disease") */ define "none": Base.HasCond(cond."very severe disease") /* -none : load-EmCare.C10.IT.DE02 +none : load-Ccc.C10.IT.DE02 HasCond(cond."severe pneumonia or very severe disease") */ define "none": Base.HasCond(cond."severe pneumonia or very severe disease") /* -none : load-EmCare.C10.IT.DE03 +none : load-Ccc.C10.IT.DE03 HasCond(cond."pneumonia") and AgeInMonths()>=2 */ define "none": Base.HasCond(cond."pneumonia") and AgeInMonths()>=2 /* -none : load-EmCare.C10.IT.DE04 +none : load-Ccc.C10.IT.DE04 HasCond(cond."cough or cold") */ define "none": Base.HasCond(cond."cough or cold") /* -none : load-EmCare.C10.IT.DE05 +none : load-Ccc.C10.IT.DE05 HasCond(cond."severe dehydration") and AgeInMonths()>=2 */ define "none": Base.HasCond(cond."severe dehydration") and AgeInMonths()>=2 /* -none : load-EmCare.C10.IT.DE06 +none : load-Ccc.C10.IT.DE06 HasCond(cond."some dehydration") and AgeInMonths()>=2 */ define "none": Base.HasCond(cond."some dehydration") and AgeInMonths()>=2 /* -none : load-EmCare.C10.IT.DE07 +none : load-Ccc.C10.IT.DE07 HasCond(cond."no dehydration") and AgeInMonths()>=2 */ define "none": Base.HasCond(cond."no dehydration") and AgeInMonths()>=2 /* -none : load-EmCare.C10.IT.DE08 +none : load-Ccc.C10.IT.DE08 HasCond(cond."severe persistent diarrhoea") */ define "none": Base.HasCond(cond."severe persistent diarrhoea") /* -none : load-EmCare.C10.IT.DE09 +none : load-Ccc.C10.IT.DE09 HasCond(cond."persistent diarrhoea") */ define "none": Base.HasCond(cond."persistent diarrhoea") /* -none : load-EmCare.C10.IT.DE10 +none : load-Ccc.C10.IT.DE10 HasCond(cond."possible shigella") */ define "none": Base.HasCond(cond."possible shigella") /* -none : load-EmCare.C10.IT.DE11 +none : load-Ccc.C10.IT.DE11 HasCond(cond."dysentery") */ define "none": Base.HasCond(cond."dysentery") /* -none : load-EmCare.C10.IT.DE12 +none : load-Ccc.C10.IT.DE12 HasCond(cond."throat abscess or possible diptheria") */ define "none": Base.HasCond(cond."throat abscess or possible diptheria") /* -none : load-EmCare.C10.IT.DE13 +none : load-Ccc.C10.IT.DE13 HasCond(cond."streptococcal sore throat") */ define "none": Base.HasCond(cond."streptococcal sore throat") /* -none : load-EmCare.C10.IT.DE14 +none : load-Ccc.C10.IT.DE14 HasCond(cond."non-streptococcal sore throat") */ define "none": Base.HasCond(cond."non-streptococcal sore throat") /* -none : load-EmCare.C10.IT.DE15 +none : load-Ccc.C10.IT.DE15 HasCond(cond."no throat problem") */ define "none": Base.HasCond(cond."no throat problem") /* -none : load-EmCare.C10.IT.DE16 +none : load-Ccc.C10.IT.DE16 HasCond(cond."mastoiditis") */ define "none": Base.HasCond(cond."mastoiditis") /* -none : load-EmCare.C10.IT.DE17 +none : load-Ccc.C10.IT.DE17 HasCond(cond."acute ear infection") */ define "none": Base.HasCond(cond."acute ear infection") /* -none : load-EmCare.C10.IT.DE18 +none : load-Ccc.C10.IT.DE18 HasCond(cond."chronic ear infection") */ define "none": Base.HasCond(cond."chronic ear infection") /* -none : load-EmCare.C10.IT.DE19 +none : load-Ccc.C10.IT.DE19 HasCond(cond."no ear infection") */ define "none": Base.HasCond(cond."no ear infection") /* -none : load-EmCare.C10.IT.DE20 +none : load-Ccc.C10.IT.DE20 HasCond(cond."very severe febrile disease") */ define "none": Base.HasCond(cond."very severe febrile disease") /* -none : load-EmCare.C10.IT.DE21 +none : load-Ccc.C10.IT.DE21 HasCond(cond."fever: possible bacterial infection") */ define "none": Base.HasCond(cond."fever: possible bacterial infection") /* -none : load-EmCare.C10.IT.DE22 +none : load-Ccc.C10.IT.DE22 HasCond(cond."fever: bacterial infection unlikely") */ define "none": Base.HasCond(cond."fever: bacterial infection unlikely") /* -none : load-EmCare.C10.IT.DE23 +none : load-Ccc.C10.IT.DE23 HasCond(cond."severe complicated measles") */ define "none": Base.HasCond(cond."severe complicated measles") /* -none : load-EmCare.C10.IT.DE24 +none : load-Ccc.C10.IT.DE24 HasCond(cond."measles with eye or mouth complication") */ define "none": Base.HasCond(cond."measles with eye or mouth complication") /* -none : load-EmCare.C10.IT.DE25 +none : load-Ccc.C10.IT.DE25 HasCond(cond."possible measles") */ define "none": Base.HasCond(cond."possible measles") /* -none : load-EmCare.C10.IT.DE42 +none : load-Ccc.C10.IT.DE42 HasCond(cond."severe anaemia") */ define "none": Base.HasCond(cond."severe anaemia") /* -none : load-EmCare.C10.IT.DE43 +none : load-Ccc.C10.IT.DE43 HasCond(cond."anaemia") */ define "none": Base.HasCond(cond."anaemia") /* -none : load-EmCare.C10.IT.DE44 +none : load-Ccc.C10.IT.DE44 HasCond(cond."no anaemia") */ define "none": Base.HasCond(cond."no anaemia") /* -none : load-EmCare.C10.IT.DE26 +none : load-Ccc.C10.IT.DE26 HasCond(cond."eye infection") */ define "none": Base.HasCond(cond."eye infection") /* -none : load-EmCare.C10.IT.DE27 +none : load-Ccc.C10.IT.DE27 HasCond(cond."clouding of the cornea") */ define "none": Base.HasCond(cond."clouding of the cornea") /* -none : load-EmCare.C10.IT.DE28 +none : load-Ccc.C10.IT.DE28 HasCond(cond."papular urticaria or papular pruritic eruptions") */ define "none": Base.HasCond(cond."papular urticaria or papular pruritic eruptions") /* -none : load-EmCare.C10.IT.DE29 +none : load-Ccc.C10.IT.DE29 HasCond(cond."ringworm (tinea)") */ define "none": Base.HasCond(cond."ringworm (tinea)") /* -none : load-EmCare.C10.IT.DE30 +none : load-Ccc.C10.IT.DE30 HasCond(cond."scabies") */ define "none": Base.HasCond(cond."scabies") /* -none : load-EmCare.C10.IT.DE31 +none : load-Ccc.C10.IT.DE31 HasCond(cond."chickenpox") */ define "none": Base.HasCond(cond."chickenpox") /* -none : load-EmCare.C10.IT.DE32 +none : load-Ccc.C10.IT.DE32 HasCond(cond."herpes zoster") */ define "none": Base.HasCond(cond."herpes zoster") /* -none : load-EmCare.C10.IT.DE33 +none : load-Ccc.C10.IT.DE33 HasCond(cond."impetigo") */ define "none": Base.HasCond(cond."impetigo") /* -none : load-EmCare.C10.IT.DE34 +none : load-Ccc.C10.IT.DE34 HasCond(cond."molluscum contagiosum") */ define "none": Base.HasCond(cond."molluscum contagiosum") /* -none : load-EmCare.C10.IT.DE35 +none : load-Ccc.C10.IT.DE35 HasCond(cond."warts") */ define "none": Base.HasCond(cond."warts") /* -none : load-EmCare.C10.IT.DE36 +none : load-Ccc.C10.IT.DE36 HasCond(cond."seborrhoeic dermatitis") */ define "none": Base.HasCond(cond."seborrhoeic dermatitis") /* -none : load-EmCare.C10.IT.DE37 +none : load-Ccc.C10.IT.DE37 HasCond(cond."fixed drug reaction") */ define "none": Base.HasCond(cond."fixed drug reaction") /* -none : load-EmCare.C10.IT.DE38 +none : load-Ccc.C10.IT.DE38 HasCond(cond."eczema") */ define "none": Base.HasCond(cond."eczema") /* -none : load-EmCare.C10.IT.DE39 +none : load-Ccc.C10.IT.DE39 HasCond(cond."steven johnson syndrome (sjs)") */ define "none": Base.HasCond(cond."steven johnson syndrome (sjs)") /* -none : load-EmCare.C10.IT.DE40 +none : load-Ccc.C10.IT.DE40 HasCond(cond."mouth sores or ulcer") */ define "none": Base.HasCond(cond."mouth sores or ulcer") /* -none : load-EmCare.C10.IT.DE41 +none : load-Ccc.C10.IT.DE41 HasCond(cond."oral thrush") */ define "none": Base.HasCond(cond."oral thrush") /* -none : load-EmCare.C10.IT.DE45 +none : load-Ccc.C10.IT.DE45 HasCond(cond."very low weight for age") and AgeInMonths()>=2 */ define "none": Base.HasCond(cond."very low weight for age") and AgeInMonths()>=2 /* -none : load-EmCare.C10.IT.DE46 +none : load-Ccc.C10.IT.DE46 HasCond(cond."low weight for age") and AgeInMonths()>=2 */ define "none": Base.HasCond(cond."low weight for age") and AgeInMonths()>=2 /* -none : load-EmCare.C10.IT.DE47 +none : load-Ccc.C10.IT.DE47 HasCond(cond."low muac or visual report of wasting") */ define "none": Base.HasCond(cond."low muac or visual report of wasting") /* -none : load-EmCare.C10.IT.DE48 +none : load-Ccc.C10.IT.DE48 HasCond(cond."possible serious bacterial infection or very severe disease") and AgeInMonths()<2 */ define "none": Base.HasCond(cond."possible serious bacterial infection or very severe disease") and AgeInMonths()<2 /* -none : load-EmCare.C10.IT.DE49 +none : load-Ccc.C10.IT.DE49 HasCond(cond."pneumonia") and AgeInMonths()<2 */ define "none": Base.HasCond(cond."pneumonia") and AgeInMonths()<2 /* -none : load-EmCare.C10.IT.DE50 +none : load-Ccc.C10.IT.DE50 HasCond(cond."local infection") and AgeInMonths()<2 */ define "none": Base.HasCond(cond."local infection") and AgeInMonths()<2 /* -none : load-EmCare.C10.IT.DE51 +none : load-Ccc.C10.IT.DE51 HasCond(cond."infection unlikely") and AgeInMonths()<2 */ define "none": Base.HasCond(cond."infection unlikely") and AgeInMonths()<2 /* -none : load-EmCare.C10.IT.DE52 +none : load-Ccc.C10.IT.DE52 HasCond(cond."severe jaundice") and AgeInMonths()<2 */ define "none": Base.HasCond(cond."severe jaundice") and AgeInMonths()<2 /* -none : load-EmCare.C10.IT.DE53 +none : load-Ccc.C10.IT.DE53 HasCond(cond."jaundice") and AgeInMonths()<2 */ define "none": Base.HasCond(cond."jaundice") and AgeInMonths()<2 /* -none : load-EmCare.C10.IT.DE54 +none : load-Ccc.C10.IT.DE54 HasCond(cond."no jaundice") and AgeInMonths()<2 */ define "none": Base.HasCond(cond."no jaundice") and AgeInMonths()<2 /* -none : load-EmCare.C10.IT.DE55 +none : load-Ccc.C10.IT.DE55 HasCond(cond."severe dehydration") and AgeInMonths()<2 */ define "none": Base.HasCond(cond."severe dehydration") and AgeInMonths()<2 /* -none : load-EmCare.C10.IT.DE56 +none : load-Ccc.C10.IT.DE56 HasCond(cond."some dehydration") and AgeInMonths()<2 */ define "none": Base.HasCond(cond."some dehydration") and AgeInMonths()<2 /* -none : load-EmCare.C10.IT.DE57 +none : load-Ccc.C10.IT.DE57 HasCond(cond."no dehydration") and AgeInMonths()<2 */ define "none": Base.HasCond(cond."no dehydration") and AgeInMonths()<2 /* -none : load-EmCare.C10.IT.DE58 +none : load-Ccc.C10.IT.DE58 HasCond(cond."very low weight for age") and AgeInMonths()<2 */ define "none": Base.HasCond(cond."very low weight for age") and AgeInMonths()<2 /* -none : load-EmCare.C10.IT.DE59 +none : load-Ccc.C10.IT.DE59 HasCond(cond."no feeding problem") and AgeInMonths()<2 */ define "none": Base.HasCond(cond."no feeding problem") and AgeInMonths()<2 /* -none : load-EmCare.C10.IT.DE60 +none : load-Ccc.C10.IT.DE60 HasCond(cond."feeding problem and / or low weight for age") and AgeInMonths()<2 */ define "none": diff --git a/input/cql/Cccvalueset.cql b/input/cql/Cccvalueset.cql new file mode 100644 index 00000000..7092e8f6 --- /dev/null +++ b/input/cql/Cccvalueset.cql @@ -0,0 +1,137 @@ +/* +@author: Patrick Delcroix +@description: This library is part of the project Ccc +*/ +library Cccvalueset version '1.0.1.rc12.build.457' +using FHIR version '4.0.1' +include FHIRHelpers version '4.0.1' called FHIRHelpers + + + + +codesystem "Ccc" : 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' + + +code "female": 'Ccc.A.DE17' from "Ccc" display 'female' +code "male": 'Ccc.A.DE18' from "Ccc" display 'male' +code "not specified": 'Ccc.A.DE19' from "Ccc" display 'not specified' +code "estimated age in years/months for child (2 months or older)": 'Ccc.A.DE13' from "Ccc" display 'estimated age in years/months for child (2 months or older)' +code "estimated age in weeks/days for young infant (under 2 months old)": 'Ccc.A.DE14' from "Ccc" display 'estimated age in weeks/days for young infant (under 2 months old)' +code "estimated date of birth": 'Ccc.A.DE15' from "Ccc" display 'estimated date of birth' +code "mother": 'Ccc.A.DE25' from "Ccc" display 'mother' +code "father": 'Ccc.A.DE26' from "Ccc" display 'father' +code "sibling": 'Ccc.A.DE27' from "Ccc" display 'sibling' +code "extended family": 'Ccc.A.DE28' from "Ccc" display 'extended family' +code "legal guardian": 'Ccc.A.DE29' from "Ccc" display 'legal guardian' +code "not related": 'Ccc.A.DE30' from "Ccc" display 'not related' +code "dead": 'Ccc.A.DE46' from "Ccc" display 'dead' +code "alive": 'Ccc.A.DE34' from "Ccc" display 'alive' +code "planned": 'Ccc.B2.DE02' from "Ccc" display 'planned' +code "unplanned": 'Ccc.B2.DE03' from "Ccc" display 'unplanned' +code "sick child": 'Ccc.B3.DE03' from "Ccc" display 'sick child' +code "routine visit (well child/infant)": 'Ccc.B3.DE04' from "Ccc" display 'routine visit (well child/infant)' +code "yes": 'yes' from "Ccc" display 'yes' +code "no": 'no' from "Ccc" display 'no' +code "unknown": 'Ccc.A.DE33' from "Ccc" display 'unknown' +code "agree": 'agree' from "Ccc" display 'agree' +code "disagree": 'disagree' from "Ccc" display 'disagree' +code "initial visit": 'Ccc.B3.DE07' from "Ccc" display 'initial visit' +code "follow up": 'Ccc.B3.DE08' from "Ccc" display 'follow up' +code "7 days or more": 'Ccc.B12S1.DE05' from "Ccc" display '7 days or more' +code "less than 7 days": 'Ccc.B12S1.DE04' from "Ccc" display 'less than 7 days' +code "14 days or more": 'Ccc.B10S1.DE08' from "Ccc" display '14 days or more' +code "less than 14 days": 'Ccc.B10S1.DE07' from "Ccc" display 'less than 14 days' +code "oxygen saturation not measured": 'Ccc.B10S2.DE09' from "Ccc" display 'oxygen saturation not measured' +code "two or more convulsions": 'Ccc.B7.DE06' from "Ccc" display 'two or more convulsions' +code "one convulsion": 'Ccc.B7.DE05' from "Ccc" display 'one convulsion' +code "low": 'Low' from "Ccc" display 'low' +code "normal": 'Normal' from "Ccc" display 'normal' +code "high": 'High' from "Ccc" display 'high' +code "very high": '2' from "Ccc" display 'very high' +code "skin pinch goes back very slowly (more than 2 seconds)": 'Ccc.B20S2.DE03' from "Ccc" display 'skin pinch goes back very slowly (more than 2 seconds)' +code "skin pinch goes back slowly (2 seconds or fewer, but not immediately)": 'Ccc.B20S2.DE04' from "Ccc" display 'skin pinch goes back slowly (2 seconds or fewer, but not immediately)' +code "skin pinch goes back normally (immediately)": 'Ccc.B20S2.DE05' from "Ccc" display 'skin pinch goes back normally (immediately)' +code "mouth sores or mouth ulcers - deep and extensive": 'Ccc.B14S2.DE41' from "Ccc" display 'mouth sores or mouth ulcers - deep and extensive' +code "mouth sores or mouth ulcers - not deep and extensive": 'Ccc.B14S2.DE42' from "Ccc" display 'mouth sores or mouth ulcers - not deep and extensive' +code "oral thrush": 'Ccc.B14S2.DE40' from "Ccc" display 'oral thrush' +code "no oral sores or mouth ulcers": 'Ccc.B14S2.DE39' from "Ccc" display 'no oral sores or mouth ulcers' +code "severe palmar pallor": 'Ccc.B15S2.DE02' from "Ccc" display 'severe palmar pallor' +code "some palmar pallor": 'Ccc.B15S2.DE03' from "Ccc" display 'some palmar pallor' +code "no palmar pallor": 'Ccc.B15S2.DE04' from "Ccc" display 'no palmar pallor' +code "not able to feed at all": 'Ccc.B18S1.DE03' from "Ccc" display 'not able to feed at all' +code "not feeding well": 'Ccc.B18S1.DE04' from "Ccc" display 'not feeding well' +code "feeding well": 'Ccc.B18S1.DE05' from "Ccc" display 'feeding well' +code "moves on his or her own or moves spontaneously or without stimulation": 'Ccc.B18S2.DE11' from "Ccc" display 'moves on his or her own or moves spontaneously or without stimulation' +code "movement only when stimulated but then stops": 'Ccc.B18S2.DE10' from "Ccc" display 'movement only when stimulated but then stops' +code "no movement at all": 'Ccc.B18S2.DE09' from "Ccc" display 'no movement at all' +code "within less than 24 hours of birth": 'Ccc.B19S2.DE05' from "Ccc" display 'within less than 24 hours of birth' +code "24 hours or more after birth": 'Ccc.B19S2.DE06' from "Ccc" display '24 hours or more after birth' +code "unknown when jaundice first appeared": 'Ccc.B19S2.DE07' from "Ccc" display 'unknown when jaundice first appeared' +code "very low weight for age": 'Ccc.B21S2.DE02' from "Ccc" display 'very low weight for age' +code "low weight for age": 'Ccc.B21S2.DE03' from "Ccc" display 'low weight for age' +code "normal weight for age": 'Ccc.B21S2.DE04' from "Ccc" display 'normal weight for age' +code "breastmilk also given": 'Ccc.B21S2.DE28' from "Ccc" display 'breastmilk also given' +code "end consultation": 'Ccc.B7-B8-B9.DE03' from "Ccc" display 'end consultation' +code "stabilised, continue consultation": 'Ccc.B7-B8-B9.DE02' from "Ccc" display 'stabilised, continue consultation' +code "mother hiv positive": 'Ccc.B21S1.DE02' from "Ccc" display 'mother hiv positive' +code "mother hiv negative": 'Ccc.B21S1.DE03' from "Ccc" display 'mother hiv negative' +code "mother hiv status - unknown or not tested": 'Ccc.B21S1.DE04' from "Ccc" display 'mother hiv status - unknown or not tested' +code "mother hiv status - decline to answer": 'Ccc.B21S1.DE05' from "Ccc" display 'mother hiv status - decline to answer' +code "correct and hygienic feed preparation": 'Ccc.B21S2.DE19' from "Ccc" display 'correct and hygienic feed preparation' +code "incorrect or unhygienic feed preparation": 'Ccc.B21S2.DE20' from "Ccc" display 'incorrect or unhygienic feed preparation' +code "cup": 'Ccc.B21S2.DE22' from "Ccc" display 'cup' +code "bottle": 'Ccc.B21S2.DE23' from "Ccc" display 'bottle' +code "feeding utensils not cleaned hygienically": 'Ccc.B21S2.DE26' from "Ccc" display 'feeding utensils not cleaned hygienically' +code "feeding utensils cleaned hygienically": 'Ccc.B21S2.DE25' from "Ccc" display 'feeding utensils cleaned hygienically' +code "yes, date documented, but not here": 'Ccc.B17.DE06' from "Ccc" display 'yes, date documented, but not here' +code "no, but last dose given less than 1 month ago": 'Ccc.B17.DE07' from "Ccc" display 'no, but last dose given less than 1 month ago' +code "no, but last dose given between 1 and 6 months ago": 'Ccc.B17.DE08' from "Ccc" display 'no, but last dose given between 1 and 6 months ago' +code "no, but last dose given more than 6 months ago": 'Ccc.B17.DE09' from "Ccc" display 'no, but last dose given more than 6 months ago' +code "no, do not know when last dose was given": 'Ccc.B17.DE10' from "Ccc" display 'no, do not know when last dose was given' +code "high hiv risk": 'Ccc.B17.DE23' from "Ccc" display 'high hiv risk' +code "low hiv risk": 'Ccc.B17.DE24' from "Ccc" display 'low hiv risk' +code "child hiv positive - virological": 'Ccc.B17.DE31' from "Ccc" display 'child hiv positive - virological' +code "child hiv positive - serological": 'Ccc.B17.DE32' from "Ccc" display 'child hiv positive - serological' +code "child hiv positive - unknown type of test": 'Ccc.B17.DE33' from "Ccc" display 'child hiv positive - unknown type of test' +code "child hiv negative": 'Ccc.B17.DE34' from "Ccc" display 'child hiv negative' +code "child hiv status - unknown or not tested": 'Ccc.B17.DE35' from "Ccc" display 'child hiv status - unknown or not tested' +code "child hiv status - decline to answer": 'Ccc.B17.DE36' from "Ccc" display 'child hiv status - decline to answer' +code "no, incomplete vaccination": 'Ccc.B17.DE47' from "Ccc" display 'no, incomplete vaccination' +code "no, the child has never received any vaccinations to date": 'Ccc.B17.DE48' from "Ccc" display 'no, the child has never received any vaccinations to date' +code "bcg": 'Ccc.B17.DE51' from "Ccc" display 'bcg' +code "opv": 'Ccc.B17.DE52' from "Ccc" display 'opv' +code "hep b": 'Ccc.B17.DE53' from "Ccc" display 'hep b' +code "dpt": 'Ccc.B17.DE54' from "Ccc" display 'dpt' +code "dpt 18 month booster": 'Ccc.B17.DE55' from "Ccc" display 'dpt 18 month booster' +code "hib": 'Ccc.B17.DE56' from "Ccc" display 'hib' +code "rtv": 'Ccc.B17.DE57' from "Ccc" display 'rtv' +code "pcv": 'Ccc.B17.DE58' from "Ccc" display 'pcv' +code "pcv booster 1 for confirmed hiv infection": 'Ccc.B17.DE59' from "Ccc" display 'pcv booster 1 for confirmed hiv infection' +code "pcv booster 2 for confirmed hiv infection": 'Ccc.B17.DE60' from "Ccc" display 'pcv booster 2 for confirmed hiv infection' +code "measles": 'Ccc.B17.DE61' from "Ccc" display 'measles' +code "completely unable to drink": 'Ccc.B22.DE09' from "Ccc" display 'completely unable to drink' +code "vomits immediately / everything": 'Ccc.B22.DE10' from "Ccc" display 'vomits immediately / everything' +code "drinks poorly": 'Ccc.B22.DE11' from "Ccc" display 'drinks poorly' +code "drinks eagerly / thirstily": 'Ccc.B22.DE12' from "Ccc" display 'drinks eagerly / thirstily' +code "drinks normally": 'Ccc.B22.DE13' from "Ccc" display 'drinks normally' +code "able to finish rutf": 'Ccc.B22.DE24' from "Ccc" display 'able to finish rutf' +code "unable to finish rutf": 'Ccc.B22.DE25' from "Ccc" display 'unable to finish rutf' +code "rutf not available": 'Ccc.B22.DE26' from "Ccc" display 'rutf not available' +code "not well attached to breast": 'Ccc.B22.DE37' from "Ccc" display 'not well attached to breast' +code "good attachment": 'Ccc.B22.DE38' from "Ccc" display 'good attachment' +code "not sucking effectively": 'Ccc.B22.DE39' from "Ccc" display 'not sucking effectively' +code "sucking effectively": 'Ccc.B22.DE40' from "Ccc" display 'sucking effectively' +code "no species reported": 'Ccc.B22.DE75' from "Ccc" display 'no species reported' +code "red (congested) throat": 'Ccc.B17S1.DE03' from "Ccc" display 'red (congested) throat' +code "exudate on throat": 'Ccc.B17S1.DE04' from "Ccc" display 'exudate on throat' +code "membrane on throat": 'Ccc.B17S1.DE05' from "Ccc" display 'membrane on throat' +code "none of the listed throat problems observed": 'none' from "Ccc" display 'none of the listed throat problems observed' +code "yes, without difficulty": 'Ccc.B17S1.DE08' from "Ccc" display 'yes, without difficulty' +code "difficulty in swallowing": 'Ccc.B17S1.DE09' from "Ccc" display 'difficulty in swallowing' +code "unable to swallow": 'Ccc.B17S1.DE10' from "Ccc" display 'unable to swallow' +code "does not appear to be underweight": 'Ccc.B6.DE19' from "Ccc" display 'does not appear to be underweight' +code "appears to be underweight": 'Ccc.B6.DE20' from "Ccc" display 'appears to be underweight' +code "appears to be severely underweight": 'Ccc.B6.DE21' from "Ccc" display 'appears to be severely underweight' +code "severe mucous membrane pallor": 'Ccc.B15S2.DE10' from "Ccc" display 'severe mucous membrane pallor' +code "some mucous membrane pallor": 'Ccc.B15S2.DE11' from "Ccc" display 'some mucous membrane pallor' +code "no mucous membrane pallor": 'Ccc.B15S2.DE12' from "Ccc" display 'no mucous membrane pallor' diff --git a/input/cql/emcarezscore.cql b/input/cql/Ccczscore.cql similarity index 83% rename from input/cql/emcarezscore.cql rename to input/cql/Ccczscore.cql index 49cfc737..f16b5dbd 100644 --- a/input/cql/emcarezscore.cql +++ b/input/cql/Ccczscore.cql @@ -1,47 +1,47 @@ /* @author: Patrick Delcroix -@description: This library is part of the project EmCare +@description: This library is part of the project Ccc */ -library emcarezscore version '1.0.1.rc12.build.156' +library Ccczscore version '1.0.1.rc12.build.156' using FHIR version '4.0.1' include FHIRHelpers version '4.0.1' called FHIRHelpers -include emcarebase version '1.0.1.rc12.build.156' called Base +include Cccbase version '1.0.1.rc12.build.156' called Base include WeightForAge version '1.0.0' called wfa include WeightForLength version '1.0.0' called wfl include WeightForHeight version '1.0.0' called wfh -//codesystem "EmCare" : 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' +//codesystem "Ccc" : 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' -//code "Weight": 'EmCare.B6.DE06' from "EmCare" display 'Weight' -//code "Estimated Weight": 'EmCare.B6.DE08' from "EmCare" display 'Estimated Weight' -//code "MUAC": 'EmCare.B6.DE17' from "EmCare" display 'MUAC' -//code "Length": 'EmCare.B6.DE12' from "EmCare" display 'Length' -//code "Height": 'EmCare.B6.DE09' from "EmCare" display 'Height' +//code "Weight": 'Ccc.B6.DE06' from "Ccc" display 'Weight' +//code "Estimated Weight": 'Ccc.B6.DE08' from "Ccc" display 'Estimated Weight' +//code "MUAC": 'Ccc.B6.DE17' from "Ccc" display 'MUAC' +//code "Length": 'Ccc.B6.DE12' from "Ccc" display 'Length' +//code "Height": 'Ccc.B6.DE09' from "Ccc" display 'Height' parameter "encounterid" String context Patient define "Weight": - Base.coding('EmCare.B6.DE06') + Base.coding('Ccc.B6.DE06') define "Estimated Weight": - Base.coding('EmCare.B6.DE08') + Base.coding('Ccc.B6.DE08') define "MUAC": - Base.coding('EmCare.B6.DE17') + Base.coding('Ccc.B6.DE17') define "Length": - Base.coding('EmCare.B6.DE12') + Base.coding('Ccc.B6.DE12') define "Height": - Base.coding('EmCare.B6.DE09') + Base.coding('Ccc.B6.DE09') define "Visually assess": - Base.coding('EmCare.B6.DE18') + Base.coding('Ccc.B6.DE18') define "Underweight": - Base.coding('EmCare.B6.DE20') + Base.coding('Ccc.B6.DE20') define "Severely Underweight": - Base.coding('EmCare.B6.DE21') + Base.coding('Ccc.B6.DE21') /* pastweight : Previous Weight*/ define "pastweight": diff --git a/input/cql/emcareb1014symptoms2mp.cql b/input/cql/emcareb1014symptoms2mp.cql deleted file mode 100644 index a08f8d1e..00000000 --- a/input/cql/emcareb1014symptoms2mp.cql +++ /dev/null @@ -1,42 +0,0 @@ -/* -@author: Patrick Delcroix -@description: This library is part of the project EmCare -*/ -library emcareb1014symptoms2mp version '1.0.1.rc12.build.457' -using FHIR version '4.0.1' -include FHIRHelpers version '4.0.1' called FHIRHelpers -include emcarebase version '1.0.1.rc12.build.457' called Base -include emcareobservation version '1.0.1.rc12.build.457' called obs -include emcarevalueset version '1.0.1.rc12.build.457' called val -include emcarecombineddataelements version '1.0.1.rc12.build.457' called c - - - - -context Patient - - -/* -none : Danger Signs - c."emcare.b.g.de01" -*/ -define "none": - c."emcare.b.g.de01" - -/* -none : EmCare.B12S1.DE01 - c."fever" -*/ -define "none": - c."fever" - -/* -none : AgeInMonths - AgeInMonths() -*/ -define "none": - AgeInMonths() - -/* alias age : ageinmonths*/ -define "age": - "ageinmonths" diff --git a/input/cql/emcareb1821symptoms2mm.cql b/input/cql/emcareb1821symptoms2mm.cql deleted file mode 100644 index 56c6007b..00000000 --- a/input/cql/emcareb1821symptoms2mm.cql +++ /dev/null @@ -1,23 +0,0 @@ -/* -@author: Patrick Delcroix -@description: This library is part of the project EmCare -*/ -library emcareb1821symptoms2mm version '1.0.1.rc12.build.457' -using FHIR version '4.0.1' -include FHIRHelpers version '4.0.1' called FHIRHelpers -include emcarebase version '1.0.1.rc12.build.457' called Base -include emcareobservation version '1.0.1.rc12.build.457' called obs -include emcarevalueset version '1.0.1.rc12.build.457' called val - - - - -context Patient - - -/* -none : Convulsing Now - o"Convulsing Now" -*/ -define "none": - Base.GetObsValue('EmCare.B7.DE02') diff --git a/input/cql/emcareb22breastfeeding.cql b/input/cql/emcareb22breastfeeding.cql deleted file mode 100644 index ddaf7fa1..00000000 --- a/input/cql/emcareb22breastfeeding.cql +++ /dev/null @@ -1,27 +0,0 @@ -/* -@author: Patrick Delcroix -@description: This library is part of the project EmCare -*/ -library emcareb22breastfeeding version '1.0.1.rc12.build.457' -using FHIR version '4.0.1' -include FHIRHelpers version '4.0.1' called FHIRHelpers -include emcarebase version '1.0.1.rc12.build.457' called Base -include emcareobservation version '1.0.1.rc12.build.457' called obs -include emcarevalueset version '1.0.1.rc12.build.457' called val - - - - -context Patient - - -/* -none : AgeInMonths - AgeInMonths() -*/ -define "none": - AgeInMonths() - -/* alias age : ageinmonths*/ -define "age": - "ageinmonths" diff --git a/input/cql/emcareb22fluidtest.cql b/input/cql/emcareb22fluidtest.cql deleted file mode 100644 index f48e810d..00000000 --- a/input/cql/emcareb22fluidtest.cql +++ /dev/null @@ -1,61 +0,0 @@ -/* -@author: Patrick Delcroix -@description: This library is part of the project EmCare -*/ -library emcareb22fluidtest version '1.0.1.rc12.build.457' -using FHIR version '4.0.1' -include FHIRHelpers version '4.0.1' called FHIRHelpers -include emcarebase version '1.0.1.rc12.build.457' called Base -include emcareobservation version '1.0.1.rc12.build.457' called obs -include emcarevalueset version '1.0.1.rc12.build.457' called val -include emcarecombineddataelements version '1.0.1.rc12.build.457' called c - - - - -context Patient - - -/* -none : oftrp - o"Unable to Perform Oral Fluid Test" -*/ -define "none": - Base.GetObsValue('EmCare.B22.DE14') - -/* alias unable to perform oral fluid test profile : oftrp*/ -define "unable to perform oral fluid test profile": - "oftrp" - -/* -none : DS - Coalesce(c."danger signs",false) -*/ -define "none": - Coalesce(c."danger signs",false) - -/* alias danger signs : ds*/ -define "danger signs": - "ds" - -/* -none : EmCare.B7.DE09 - Coalesce(o"Not able to drink or breastfeed",false) -*/ -define "none": - Coalesce(Base.GetObsValue('EmCare.B7.DE09'),false) - -/* alias not able to drink or breastfeed : emcare.b7.de09*/ -define "not able to drink or breastfeed": - "emcare.b7.de09" - -/* -none : EmCare.B7.DE10 - Coalesce(o"Vomiting Everything",false) -*/ -define "none": - Coalesce(Base.GetObsValue('EmCare.B7.DE10'),false) - -/* alias vomiting everything : emcare.b7.de10*/ -define "vomiting everything": - "emcare.b7.de10" diff --git a/input/cql/emcareb22secondtemperature.cql b/input/cql/emcareb22secondtemperature.cql deleted file mode 100644 index c3f4da01..00000000 --- a/input/cql/emcareb22secondtemperature.cql +++ /dev/null @@ -1,27 +0,0 @@ -/* -@author: Patrick Delcroix -@description: This library is part of the project EmCare -*/ -library emcareb22secondtemperature version '1.0.1.rc12.build.457' -using FHIR version '4.0.1' -include FHIRHelpers version '4.0.1' called FHIRHelpers -include emcarebase version '1.0.1.rc12.build.457' called Base -include emcareobservation version '1.0.1.rc12.build.457' called obs -include emcarevalueset version '1.0.1.rc12.build.457' called val - - - - -context Patient - - -/* -none : AgeInMonths - AgeInMonths() -*/ -define "none": - AgeInMonths() - -/* alias age : ageinmonths*/ -define "age": - "ageinmonths" diff --git a/input/cql/emcarecondition.cql b/input/cql/emcarecondition.cql deleted file mode 100644 index 8dfff5e3..00000000 --- a/input/cql/emcarecondition.cql +++ /dev/null @@ -1,70 +0,0 @@ -/* -@author: Patrick Delcroix -@description: This library is part of the project EmCare -*/ -library emcarecondition version '1.0.1.rc12.build.457' -using FHIR version '4.0.1' -include FHIRHelpers version '4.0.1' called FHIRHelpers - - - - -codesystem "EmCare" : 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' - - -code "possible serious bacterial infection or very severe disease": 'EmCare.B23.DE83' from "EmCare" display 'possible serious bacterial infection or very severe disease' -code "pneumonia": 'EmCare.B23.DE06' from "EmCare" display 'pneumonia' -code "local infection": 'EmCare.B23.DE85' from "EmCare" display 'local infection' -code "infection unlikely": 'EmCare.B23.DE86' from "EmCare" display 'infection unlikely' -code "very low weight for age": 'EmCare.B23.DE106' from "EmCare" display 'very low weight for age' -code "severe jaundice": 'EmCare.B23.DE87' from "EmCare" display 'severe jaundice' -code "jaundice": 'EmCare.B23.DE88' from "EmCare" display 'jaundice' -code "no jaundice": 'EmCare.B23.DE89' from "EmCare" display 'no jaundice' -code "severe dehydration": 'EmCare.B23.DE13' from "EmCare" display 'severe dehydration' -code "some dehydration": 'EmCare.B23.DE14' from "EmCare" display 'some dehydration' -code "no dehydration": 'EmCare.B23.DE15' from "EmCare" display 'no dehydration' -code "feeding problem and / or low weight for age": 'EmCare.B23.DE94' from "EmCare" display 'feeding problem and / or low weight for age' -code "no feeding problem": 'EmCare.B23.DE98' from "EmCare" display 'no feeding problem' -code "add other classifications": 'collector' from "EmCare" display 'add other classifications' -code "very severe disease": 'EmCare.B23.DE01' from "EmCare" display 'very severe disease' -code "severe pneumonia or very severe disease": 'EmCare.B23.DE03' from "EmCare" display 'severe pneumonia or very severe disease' -code "cough or cold": 'EmCare.B23.DE10' from "EmCare" display 'cough or cold' -code "severe persistent diarrhoea": 'EmCare.B23.DE16' from "EmCare" display 'severe persistent diarrhoea' -code "persistent diarrhoea": 'EmCare.B23.DE17' from "EmCare" display 'persistent diarrhoea' -code "dysentery": 'EmCare.B23.DE18' from "EmCare" display 'dysentery' -code "possible shigella": 'EmCare.B23.DE18.a' from "EmCare" display 'possible shigella' -code "throat abscess or possible diptheria": 'EmCare.B23.DE100' from "EmCare" display 'throat abscess or possible diptheria' -code "streptococcal sore throat": 'EmCare.B23.DE6101' from "EmCare" display 'streptococcal sore throat' -code "non-streptococcal sore throat": 'EmCare.B23.DE6102' from "EmCare" display 'non-streptococcal sore throat' -code "no throat problem": 'EmCare.B23.DE6103' from "EmCare" display 'no throat problem' -code "mastoiditis": 'EmCare.B23.DE30' from "EmCare" display 'mastoiditis' -code "acute ear infection": 'EmCare.B23.DE31' from "EmCare" display 'acute ear infection' -code "chronic ear infection": 'EmCare.B23.DE32' from "EmCare" display 'chronic ear infection' -code "no ear infection": 'EmCare.B23.DE33' from "EmCare" display 'no ear infection' -code "very severe febrile disease": 'EmCare.B23.DE19' from "EmCare" display 'very severe febrile disease' -code "fever: possible bacterial infection": 'EmCare.B23.DE104' from "EmCare" display 'fever: possible bacterial infection' -code "fever: bacterial infection unlikely": 'EmCare.B23.DE105' from "EmCare" display 'fever: bacterial infection unlikely' -code "severe complicated measles": 'EmCare.B23.DE27' from "EmCare" display 'severe complicated measles' -code "measles with eye or mouth complication": 'EmCare.B23.DE28' from "EmCare" display 'measles with eye or mouth complication' -code "possible measles": 'EmCare.B23.DE29' from "EmCare" display 'possible measles' -code "severe anaemia": 'EmCare.B23.DE62' from "EmCare" display 'severe anaemia' -code "anaemia": 'EmCare.B23.DE63' from "EmCare" display 'anaemia' -code "no anaemia": 'EmCare.B23.DE64' from "EmCare" display 'no anaemia' -code "eye infection": 'EmCare.B23.DE34' from "EmCare" display 'eye infection' -code "clouding of the cornea": 'EmCare.B23.DE35' from "EmCare" display 'clouding of the cornea' -code "papular urticaria or papular pruritic eruptions": 'EmCare.B23.DE41' from "EmCare" display 'papular urticaria or papular pruritic eruptions' -code "ringworm (tinea)": 'EmCare.B23.DE42' from "EmCare" display 'ringworm (tinea)' -code "scabies": 'EmCare.B23.DE44' from "EmCare" display 'scabies' -code "chickenpox": 'EmCare.B23.DE45' from "EmCare" display 'chickenpox' -code "herpes zoster": 'EmCare.B23.DE47' from "EmCare" display 'herpes zoster' -code "impetigo": 'EmCare.B23.DE49' from "EmCare" display 'impetigo' -code "molluscum contagiosum": 'EmCare.B23.DE52' from "EmCare" display 'molluscum contagiosum' -code "warts": 'EmCare.B23.DE53' from "EmCare" display 'warts' -code "seborrhoeic dermatitis": 'EmCare.B23.DE54' from "EmCare" display 'seborrhoeic dermatitis' -code "fixed drug reaction": 'EmCare.B23.DE56' from "EmCare" display 'fixed drug reaction' -code "eczema": 'EmCare.B23.DE57' from "EmCare" display 'eczema' -code "steven johnson syndrome (sjs)": 'EmCare.B23.DE58' from "EmCare" display 'steven johnson syndrome (sjs)' -code "mouth sores or ulcer": 'EmCare.B23.DE59' from "EmCare" display 'mouth sores or ulcer' -code "oral thrush": 'EmCare.B23.DE61' from "EmCare" display 'oral thrush' -code "low weight for age": 'EmCare.B23.DE107' from "EmCare" display 'low weight for age' -code "low muac or visual report of wasting": 'EmCare.B23.DE108' from "EmCare" display 'low muac or visual report of wasting' diff --git a/input/cql/emcareobservation-valueset.cql b/input/cql/emcareobservation-valueset.cql deleted file mode 100644 index 1d2e5787..00000000 --- a/input/cql/emcareobservation-valueset.cql +++ /dev/null @@ -1,41 +0,0 @@ -/* -@author: Patrick Delcroix -@description: This library is part of the project EmCare -*/ -library emcareobservation-valueset version '1.0.1.rc12.build.156' -using FHIR version '4.0.1' -include FHIRHelpers version '4.0.1' called FHIRHelpers - - - - -codesystem "EmCare" : 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' - - -code "generalised skin problem": 'EmCare.B14S2.DE07' from "EmCare" display 'generalised skin problem' -code "localised skin problem": 'EmCare.B14S2.DE08' from "EmCare" display 'localised skin problem' -code "no problem": 'EmCare.B14S2.DE09' from "EmCare" display 'no problem' -code "papular urticaria or papular pruritic eruptions": 'EmCare.B14S2.DE18' from "EmCare" display 'papular urticaria or papular pruritic eruptions' -code "ringworm (tinea)": 'EmCare.B14S2.DE19' from "EmCare" display 'ringworm (tinea)' -code "scabies": 'EmCare.B14S2.DE21' from "EmCare" display 'scabies' -code "chickenpox": 'EmCare.B14S2.DE22' from "EmCare" display 'chickenpox' -code "herpes zoster": 'EmCare.B14S2.DE23' from "EmCare" display 'herpes zoster' -code "impetigo": 'EmCare.B14S2.DE25' from "EmCare" display 'impetigo' -code "molluscum contagiosum": 'EmCare.B14S2.DE31' from "EmCare" display 'molluscum contagiosum' -code "warts": 'EmCare.B14S2.DE32' from "EmCare" display 'warts' -code "seborrhoeic dermatitis": 'EmCare.B14S2.DE33' from "EmCare" display 'seborrhoeic dermatitis' -code "fixed drug reaction": 'EmCare.B14S2.DE35' from "EmCare" display 'fixed drug reaction' -code "eczema": 'EmCare.B14S2.DE36' from "EmCare" display 'eczema' -code "steven johnson syndrome (sjs)": 'EmCare.B14S2.DE37' from "EmCare" display 'steven johnson syndrome (sjs)' -code "skin problem": 'EmCare.B14S2.DE44' from "EmCare" display 'skin problem' -code "oral sores or mouth ulcers": 'EmCare.B14S2.DE45' from "EmCare" display 'oral sores or mouth ulcers' -code "eye problem": 'EmCare.B14S2.DE46' from "EmCare" display 'eye problem' -code "no - do not add a skin or mouth or eye problem": 'EmCare.B14S2.DE47' from "EmCare" display 'no - do not add a skin or mouth or eye problem' -code "no breastmilk at all": 'EmCare.B21S2.DE29' from "EmCare" display 'no breastmilk at all' -code "inappropriate replacement milk": 'EmCare.B21S2.DE11' from "EmCare" display 'inappropriate replacement milk' -code "appropriate replacement milk": 'EmCare.B21S2.DE10' from "EmCare" display 'appropriate replacement milk' -code "chest indrawing (post inhaled bronchodilator trial)": 'EmCare.B22.DE18' from "EmCare" display 'chest indrawing (post inhaled bronchodilator trial)' -code "respiratory rate (post inhaled bronchodilator trial)": 'EmCare.B22.DE19' from "EmCare" display 'respiratory rate (post inhaled bronchodilator trial)' -code "fast breathing (post inhaled bronchodilator trial)": 'EmCare.B22.DE20' from "EmCare" display 'fast breathing (post inhaled bronchodilator trial)' -code "no fast breathing and no chest indrawing (post inhaled bronchodilator trial)": 'EmCare.B22.DE21' from "EmCare" display 'no fast breathing and no chest indrawing (post inhaled bronchodilator trial)' -code "inhaled bronchodilator trial not feasible or available": 'EmCare.B22.DE22' from "EmCare" display 'inhaled bronchodilator trial not feasible or available' diff --git a/input/cql/emcareobservation.cql b/input/cql/emcareobservation.cql deleted file mode 100644 index b2bfca6d..00000000 --- a/input/cql/emcareobservation.cql +++ /dev/null @@ -1,152 +0,0 @@ -/* -@author: Patrick Delcroix -@description: This library is part of the project EmCare -*/ -library emcareobservation version '1.0.1.rc12.build.457' -using FHIR version '4.0.1' -include FHIRHelpers version '4.0.1' called FHIRHelpers - - - - -codesystem "EmCare" : 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' - - -code "is the child sick today?": 'EmCare.B3.DE05' from "EmCare" display 'is the child sick today?' -code "convulsing now": 'EmCare.B7.DE02' from "EmCare" display 'convulsing now' -code "continue to assess sick child": 'EmCare.B7-B8-B9.DE01' from "EmCare" display 'continue to assess sick child' -code "convulsion(s) in this illness": 'EmCare.B7.DE03' from "EmCare" display 'convulsion(s) in this illness' -code "unconscious or lethargic": 'EmCare.B7.DE08b' from "EmCare" display 'unconscious or lethargic' -code "unconscious": 'EmCare.B7.DE08' from "EmCare" display 'unconscious' -code "lethargic": 'EmCare.B7.DE08a' from "EmCare" display 'lethargic' -code "not able to drink or breastfeed": 'EmCare.B7.DE09' from "EmCare" display 'not able to drink or breastfeed' -code "vomiting everything": 'EmCare.B7.DE10' from "EmCare" display 'vomiting everything' -code "axillary temperature (degrees celcius)": 'EmCare.B6.DE01' from "EmCare" display 'axillary temperature (degrees celcius)' -code "thermometer not available": 'EmCare.B6.DE04' from "EmCare" display 'thermometer not available' -code "hot to touch": 'EmCare.B6.DE05' from "EmCare" display 'hot to touch' -code "measured temperature": 'EmCare.B6.DE01A' from "EmCare" display 'measured temperature' -code "weight (kg)": 'EmCare.B6.DE06' from "EmCare" display 'weight (kg)' -code "estimated weight": 'EmCare.B6.DE08' from "EmCare" display 'estimated weight' -code "height": 'EmCare.B6.DE09' from "EmCare" display 'height' -code "height cannot be measured": 'EmCare.B6.DE11' from "EmCare" display 'height cannot be measured' -code "length": 'EmCare.B6.DE12' from "EmCare" display 'length' -code "weight for age (wfa) z scores": 'EmCare.B6.DE16' from "EmCare" display 'weight for age (wfa) z scores' -code "muac (mm)": 'EmCare.B6.DE17' from "EmCare" display 'muac (mm)' -code "muac cannot be measured": 'EmCare.B6.DE17a' from "EmCare" display 'muac cannot be measured' -code "visually assess for whether underweight (for drug dose calculation)": 'EmCare.B6.DE18' from "EmCare" display 'visually assess for whether underweight (for drug dose calculation)' -code "difficulty with feeding": 'EmCare.B18S1.DE02' from "EmCare" display 'difficulty with feeding' -code "diarrhoea": 'EmCare.B11S1.DE01' from "EmCare" display 'diarrhoea' -code "breastfed": 'EmCare.B21S1.DE06' from "EmCare" display 'breastfed' -code "severe chest indrawing": 'EmCare.B18S2.DE07' from "EmCare" display 'severe chest indrawing' -code "movements": 'EmCare.B18S2.DE08' from "EmCare" display 'movements' -code "umbilicus red or pus draining": 'EmCare.B18S2.DE12' from "EmCare" display 'umbilicus red or pus draining' -code "skin pustules": 'EmCare.B18S2.DE13' from "EmCare" display 'skin pustules' -code "yellow skin": 'EmCare.B19S2.DE01' from "EmCare" display 'yellow skin' -code "yellow palms or yellow soles": 'EmCare.B19S2.DE02' from "EmCare" display 'yellow palms or yellow soles' -code "when did the jaundice first appear?": 'EmCare.B19S2.DE04' from "EmCare" display 'when did the jaundice first appear?' -code "sunken eyes": 'EmCare.B11S2.DE01' from "EmCare" display 'sunken eyes' -code "skin pinch of abdomen": 'EmCare.B11S2.DE02' from "EmCare" display 'skin pinch of abdomen' -code "restless and irritable": 'EmCare.B11S2.DE06' from "EmCare" display 'restless and irritable' -code "weight status": 'EmCare.B21S2.DE01' from "EmCare" display 'weight status' -code "breastfed how many times in 24 hours?": 'EmCare.B21S2.DE05' from "EmCare" display 'breastfed how many times in 24 hours?' -code "sufficient feeds": 'EmCare.B21S2.DE06' from "EmCare" display 'sufficient feeds' -code "young infant receives food or fluids other than breast milk": 'EmCare.B21S2.DE08' from "EmCare" display 'young infant receives food or fluids other than breast milk' -code "what milk is being given as a replacement feed?": 'EmCare.B21S2.DE09' from "EmCare" display 'what milk is being given as a replacement feed?' -code "how many replacement feeds during the day and night (24 hours)?": 'EmCare.B21S2.DE12' from "EmCare" display 'how many replacement feeds during the day and night (24 hours)?' -code "sufficient replacement feeds (in 24 hours)": 'EmCare.B21S2.DE13' from "EmCare" display 'sufficient replacement feeds (in 24 hours)' -code "how much milk is given at each feed (ml)?": 'EmCare.B21S2.DE15' from "EmCare" display 'how much milk is given at each feed (ml)?' -code "sufficient replacement feeds": 'EmCare.B21S2.DE16' from "EmCare" display 'sufficient replacement feeds' -code "how is the milk prepared?": 'EmCare.B21S2.DE18' from "EmCare" display 'how is the milk prepared?' -code "how is the milk given?": 'EmCare.B21S2.DE21' from "EmCare" display 'how is the milk given?' -code "how are the feeding utensils cleaned?": 'EmCare.B21S2.DE24' from "EmCare" display 'how are the feeding utensils cleaned?' -code "do you give any breastmilk at all?": 'EmCare.B21S2.DE27' from "EmCare" display 'do you give any breastmilk at all?' -code "ulcers or white patches in mouth": 'EmCare.B21S2.DE30' from "EmCare" display 'ulcers or white patches in mouth' -code "unable to check if ulcers or white patches in mouth": 'EmCare.B21S2.DE31' from "EmCare" display 'unable to check if ulcers or white patches in mouth' -code "cough": 'EmCare.B10S1.DE05' from "EmCare" display 'cough' -code "cough for how long?": 'EmCare.B10S1.DE06' from "EmCare" display 'cough for how long?' -code "difficulty breathing": 'EmCare.B10S1.DE01' from "EmCare" display 'difficulty breathing' -code "difficulty breathing for how long?": 'EmCare.B10S1.DE02' from "EmCare" display 'difficulty breathing for how long?' -code "diarrhoea for how long?": 'EmCare.B11S1.DE02' from "EmCare" display 'diarrhoea for how long?' -code "blood in the stool in this illness": 'EmCare.B11S1.DE05' from "EmCare" display 'blood in the stool in this illness' -code "fever reported": 'EmCare.B12S1.DE02' from "EmCare" display 'fever reported' -code "fever for how long?": 'EmCare.B12S1.DE03' from "EmCare" display 'fever for how long?' -code "fever": 'EmCare.B.G.DE06' from "EmCare" display 'fever' -code "has fever been present every day since the fever started?": 'EmCare.B12S1.DE06' from "EmCare" display 'has fever been present every day since the fever started?' -code "ear problem": 'EmCare.B13S1.DE01' from "EmCare" display 'ear problem' -code "ear pain": 'EmCare.B13S1.DE02' from "EmCare" display 'ear pain' -code "ear discharge": 'EmCare.B13S1.DE03' from "EmCare" display 'ear discharge' -code "ear discharge for how long?": 'EmCare.B13S1.DE04' from "EmCare" display 'ear discharge for how long?' -code "eye problem": 'EmCare.B14S1.DE03' from "EmCare" display 'eye problem' -code "skin problem": 'EmCare.B14S1.DE01' from "EmCare" display 'skin problem' -code "itchy skin": 'EmCare.B14S1.DE02' from "EmCare" display 'itchy skin' -code "chest indrawing": 'EmCare.B10S2.DE03' from "EmCare" display 'chest indrawing' -code "stridor in a calm child": 'EmCare.B10S2.DE04' from "EmCare" display 'stridor in a calm child' -code "wheezing": 'EmCare.B10S2.DE05' from "EmCare" display 'wheezing' -code "recurrent wheeze": 'EmCare.B10S2.DE06' from "EmCare" display 'recurrent wheeze' -code "oxygen saturation": 'EmCare.B10S2.DE07' from "EmCare" display 'oxygen saturation' -code "throat problem": 'EmCare.B17S1.DE01' from "EmCare" display 'throat problem' -code "specify throat problem": 'EmCare.B17S1.DE02' from "EmCare" display 'specify throat problem' -code "enlarged lymph nodes on front of neck": 'EmCare.B17S1.DE06' from "EmCare" display 'enlarged lymph nodes on front of neck' -code "ability to swallow": 'EmCare.B17S1.DE07' from "EmCare" display 'ability to swallow' -code "tender swelling behind the ear": 'EmCare.B13S2.DE01' from "EmCare" display 'tender swelling behind the ear' -code "pus seen draining from the ear": 'EmCare.B13S2.DE02' from "EmCare" display 'pus seen draining from the ear' -code "pus seen draining from the ear for how long?": 'EmCare.B13S2.DE03' from "EmCare" display 'pus seen draining from the ear for how long?' -code "stiff neck": 'EmCare.B12S2.DE01' from "EmCare" display 'stiff neck' -code "runny nose": 'EmCare.B12S2.DE05' from "EmCare" display 'runny nose' -code "red eyes": 'EmCare.B14S2.DE01' from "EmCare" display 'red eyes' -code "pus draining from eye": 'EmCare.B14S2.DE02' from "EmCare" display 'pus draining from eye' -code "clouding of the cornea": 'EmCare.B14S2.DE03' from "EmCare" display 'clouding of the cornea' -code "is clouding of the cornea a new problem": 'EmCare.B14S2.DE04' from "EmCare" display 'is clouding of the cornea a new problem' -code "has clouding of the cornea previously been treated": 'EmCare.B14S2.DE05' from "EmCare" display 'has clouding of the cornea previously been treated' -code "generalised or localised skin problem": 'EmCare.B14S2.DE06' from "EmCare" display 'generalised or localised skin problem' -code "measles rash": 'EmCare.B14S2.DE10' from "EmCare" display 'measles rash' -code "measles within the last 3 months": 'EmCare.B14S2.DE11' from "EmCare" display 'measles within the last 3 months' -code "blisters, sores or pustules": 'EmCare.B14S2.DE12' from "EmCare" display 'blisters, sores or pustules' -code "type of skin problem": 'EmCare.B14S2.DE13' from "EmCare" display 'type of skin problem' -code "scalp infection (tinea capitis)": 'EmCare.B14S2.DE19a' from "EmCare" display 'scalp infection (tinea capitis)' -code "severe rash": 'EmCare.B14S2.DE22A' from "EmCare" display 'severe rash' -code "disseminated herpes zoster": 'EmCare.B14S2.DE23a' from "EmCare" display 'disseminated herpes zoster' -code "eye involvement": 'EmCare.B14S2.DE24' from "EmCare" display 'eye involvement' -code "skin infection extends to muscle": 'EmCare.B14S2.DE30' from "EmCare" display 'skin infection extends to muscle' -code "extensive impetigo lesions": 'EmCare.B14S2.DE30b' from "EmCare" display 'extensive impetigo lesions' -code "extensive molluscum lesions": 'EmCare.B14S2.DE31a' from "EmCare" display 'extensive molluscum lesions' -code "molluscum lesions close to the eye": 'EmCare.B14S2.DE31b' from "EmCare" display 'molluscum lesions close to the eye' -code "extensive warts": 'EmCare.B14S2.DE32a' from "EmCare" display 'extensive warts' -code "severe seborrhoeic dermatitis": 'EmCare.B14S2.DE34' from "EmCare" display 'severe seborrhoeic dermatitis' -code "secondary bacterial infection of eczema": 'EmCare.B14S2.DE36a' from "EmCare" display 'secondary bacterial infection of eczema' -code "severe acute moist or weeping eczema": 'EmCare.B14S2.DE36b' from "EmCare" display 'severe acute moist or weeping eczema' -code "secondary herpes infection of eczema (eczema herpeticum)": 'EmCare.B14S2.DE36c' from "EmCare" display 'secondary herpes infection of eczema (eczema herpeticum)' -code "oral sores or mouth ulcers": 'EmCare.B14S2.DE38' from "EmCare" display 'oral sores or mouth ulcers' -code "add a skin or mouth or eye problem": 'EmCare.B14S2.DE43' from "EmCare" display 'add a skin or mouth or eye problem' -code "palmar pallor": 'EmCare.B15S2.DE01' from "EmCare" display 'palmar pallor' -code "mucous membrane pallor": 'EmCare.B15S2.DE09' from "EmCare" display 'mucous membrane pallor' -code "oral fluid test results": 'EmCare.B22.DE08' from "EmCare" display 'oral fluid test results' -code "unable to perform oral fluid test": 'EmCare.B22.DE14' from "EmCare" display 'unable to perform oral fluid test' -code "completely unable to drink or vomits immediately / everything": 'EmCare.B22.DE14a' from "EmCare" display 'completely unable to drink or vomits immediately / everything' -code "has the child had anything to drink today?": 'EmCare.B22.DE15' from "EmCare" display 'has the child had anything to drink today?' -code "how did the child last drink": 'EmCare.B22.DE16' from "EmCare" display 'how did the child last drink' -code "respiratory rate (breaths per minute)": 'EmCare.B22.DE01' from "EmCare" display 'respiratory rate (breaths per minute)' -code "unable to perform respiratory rate at this time": 'EmCare.B22.DE02' from "EmCare" display 'unable to perform respiratory rate at this time' -code "respiratory rate second count (breaths per minute)": 'EmCare.B22.DE04' from "EmCare" display 'respiratory rate second count (breaths per minute)' -code "respiratory rate second count not possible": 'EmCare.B22.DE05' from "EmCare" display 'respiratory rate second count not possible' -code "fast breathing": 'EmCare.B22.DE07' from "EmCare" display 'fast breathing' -code "inhaled bronchodilator trial results": 'EmCare.B22.DE17' from "EmCare" display 'inhaled bronchodilator trial results' -code "inhaled bronchodilator trial not feasible or available": 'EmCare.B22.DE22' from "EmCare" display 'inhaled bronchodilator trial not feasible or available' -code "no fast breathing and no chest indrawing (post inhaled bronchodilator trial)": 'EmCare.B22.DE21' from "EmCare" display 'no fast breathing and no chest indrawing (post inhaled bronchodilator trial)' -code "breastfeeding assessment not possible": 'EmCare.B22.DE41' from "EmCare" display 'breastfeeding assessment not possible' -code "breastfed in the previous hour": 'EmCare.B22.DE28' from "EmCare" display 'breastfed in the previous hour' -code "mother able to wait until young infant is willing to breastfeed again": 'EmCare.B22.DE29' from "EmCare" display 'mother able to wait until young infant is willing to breastfeed again' -code "mother reports difficulty breastfeeding": 'EmCare.B22.DE30' from "EmCare" display 'mother reports difficulty breastfeeding' -code "chin touching breast": 'EmCare.B22.DE31' from "EmCare" display 'chin touching breast' -code "mouth wide open": 'EmCare.B22.DE32' from "EmCare" display 'mouth wide open' -code "lower lip turned outwards": 'EmCare.B22.DE33' from "EmCare" display 'lower lip turned outwards' -code "more areola visible above than below the mouth": 'EmCare.B22.DE34' from "EmCare" display 'more areola visible above than below the mouth' -code "slow deep sucks, sometimes pausing": 'EmCare.B22.DE35' from "EmCare" display 'slow deep sucks, sometimes pausing' -code "breastfeeding assessment results": 'EmCare.B22.DE36' from "EmCare" display 'breastfeeding assessment results' -code "difficulty breastfeeding reported": 'EmCare.B22.DE42' from "EmCare" display 'difficulty breastfeeding reported' -code "difficulty breastfeeding observed": 'EmCare.B22.DE44' from "EmCare" display 'difficulty breastfeeding observed' -code "hemoglobin (hb) g/dl": 'EmCare.B22.DE81' from "EmCare" display 'hemoglobin (hb) g/dl' -code "hemoglobin test not available": 'EmCare.B22.DE82' from "EmCare" display 'hemoglobin test not available' -code "axillary temperature (second measurement)": 'EmCare.B22.DE47' from "EmCare" display 'axillary temperature (second measurement)' -code "second temperature measurement not feasible": 'EmCare.B22.DE46' from "EmCare" display 'second temperature measurement not feasible' -code "measured temperature (second measurement)": 'EmCare.B22.DE50' from "EmCare" display 'measured temperature (second measurement)' diff --git a/input/cql/emcareobservationValueset.cql b/input/cql/emcareobservationValueset.cql deleted file mode 100644 index 95943747..00000000 --- a/input/cql/emcareobservationValueset.cql +++ /dev/null @@ -1,41 +0,0 @@ -/* -@author: Patrick Delcroix -@description: This library is part of the project EmCare -*/ -library emcareobservationValueset version '1.0.1.rc12.build.457' -using FHIR version '4.0.1' -include FHIRHelpers version '4.0.1' called FHIRHelpers - - - - -codesystem "EmCare" : 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' - - -code "generalised skin problem": 'EmCare.B14S2.DE07' from "EmCare" display 'generalised skin problem' -code "localised skin problem": 'EmCare.B14S2.DE08' from "EmCare" display 'localised skin problem' -code "no problem": 'EmCare.B14S2.DE09' from "EmCare" display 'no problem' -code "papular urticaria or papular pruritic eruptions": 'EmCare.B14S2.DE18' from "EmCare" display 'papular urticaria or papular pruritic eruptions' -code "ringworm (tinea)": 'EmCare.B14S2.DE19' from "EmCare" display 'ringworm (tinea)' -code "scabies": 'EmCare.B14S2.DE21' from "EmCare" display 'scabies' -code "chickenpox": 'EmCare.B14S2.DE22' from "EmCare" display 'chickenpox' -code "herpes zoster": 'EmCare.B14S2.DE23' from "EmCare" display 'herpes zoster' -code "impetigo": 'EmCare.B14S2.DE25' from "EmCare" display 'impetigo' -code "molluscum contagiosum": 'EmCare.B14S2.DE31' from "EmCare" display 'molluscum contagiosum' -code "warts": 'EmCare.B14S2.DE32' from "EmCare" display 'warts' -code "seborrhoeic dermatitis": 'EmCare.B14S2.DE33' from "EmCare" display 'seborrhoeic dermatitis' -code "fixed drug reaction": 'EmCare.B14S2.DE35' from "EmCare" display 'fixed drug reaction' -code "eczema": 'EmCare.B14S2.DE36' from "EmCare" display 'eczema' -code "steven johnson syndrome (sjs)": 'EmCare.B14S2.DE37' from "EmCare" display 'steven johnson syndrome (sjs)' -code "skin problem": 'EmCare.B14S2.DE44' from "EmCare" display 'skin problem' -code "oral sores or mouth ulcers": 'EmCare.B14S2.DE45' from "EmCare" display 'oral sores or mouth ulcers' -code "eye problem": 'EmCare.B14S2.DE46' from "EmCare" display 'eye problem' -code "no - do not add a skin or mouth or eye problem": 'EmCare.B14S2.DE47' from "EmCare" display 'no - do not add a skin or mouth or eye problem' -code "no breastmilk at all": 'EmCare.B21S2.DE29' from "EmCare" display 'no breastmilk at all' -code "inappropriate replacement milk": 'EmCare.B21S2.DE11' from "EmCare" display 'inappropriate replacement milk' -code "appropriate replacement milk": 'EmCare.B21S2.DE10' from "EmCare" display 'appropriate replacement milk' -code "chest indrawing (post inhaled bronchodilator trial)": 'EmCare.B22.DE18' from "EmCare" display 'chest indrawing (post inhaled bronchodilator trial)' -code "respiratory rate (post inhaled bronchodilator trial)": 'EmCare.B22.DE19' from "EmCare" display 'respiratory rate (post inhaled bronchodilator trial)' -code "fast breathing (post inhaled bronchodilator trial)": 'EmCare.B22.DE20' from "EmCare" display 'fast breathing (post inhaled bronchodilator trial)' -code "no fast breathing and no chest indrawing (post inhaled bronchodilator trial)": 'EmCare.B22.DE21' from "EmCare" display 'no fast breathing and no chest indrawing (post inhaled bronchodilator trial)' -code "inhaled bronchodilator trial not feasible or available": 'EmCare.B22.DE22' from "EmCare" display 'inhaled bronchodilator trial not feasible or available' diff --git a/input/cql/emcareobservation_valueset.cql b/input/cql/emcareobservation_valueset.cql deleted file mode 100644 index a1ec4c3e..00000000 --- a/input/cql/emcareobservation_valueset.cql +++ /dev/null @@ -1,41 +0,0 @@ -/* -@author: Patrick Delcroix -@description: This library is part of the project EmCare -*/ -library emcareobservation_valueset version '1.0.1.rc12.build.144' -using FHIR version '4.0.1' -include FHIRHelpers version '4.0.1' called FHIRHelpers - - - - -codesystem "EmCare" : 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' - - -code "generalised skin problem": 'EmCare.B14S2.DE07' from "EmCare" display 'generalised skin problem' -code "localised skin problem": 'EmCare.B14S2.DE08' from "EmCare" display 'localised skin problem' -code "no problem": 'EmCare.B14S2.DE09' from "EmCare" display 'no problem' -code "papular urticaria or papular pruritic eruptions": 'EmCare.B14S2.DE18' from "EmCare" display 'papular urticaria or papular pruritic eruptions' -code "ringworm (tinea)": 'EmCare.B14S2.DE19' from "EmCare" display 'ringworm (tinea)' -code "scabies": 'EmCare.B14S2.DE21' from "EmCare" display 'scabies' -code "chickenpox": 'EmCare.B14S2.DE22' from "EmCare" display 'chickenpox' -code "herpes zoster": 'EmCare.B14S2.DE23' from "EmCare" display 'herpes zoster' -code "impetigo": 'EmCare.B14S2.DE25' from "EmCare" display 'impetigo' -code "molluscum contagiosum": 'EmCare.B14S2.DE31' from "EmCare" display 'molluscum contagiosum' -code "warts": 'EmCare.B14S2.DE32' from "EmCare" display 'warts' -code "seborrhoeic dermatitis": 'EmCare.B14S2.DE33' from "EmCare" display 'seborrhoeic dermatitis' -code "fixed drug reaction": 'EmCare.B14S2.DE35' from "EmCare" display 'fixed drug reaction' -code "eczema": 'EmCare.B14S2.DE36' from "EmCare" display 'eczema' -code "steven johnson syndrome (sjs)": 'EmCare.B14S2.DE37' from "EmCare" display 'steven johnson syndrome (sjs)' -code "skin problem": 'EmCare.B14S2.DE44' from "EmCare" display 'skin problem' -code "oral sores or mouth ulcers": 'EmCare.B14S2.DE45' from "EmCare" display 'oral sores or mouth ulcers' -code "eye problem": 'EmCare.B14S2.DE46' from "EmCare" display 'eye problem' -code "no - do not add a skin or mouth or eye problem": 'EmCare.B14S2.DE47' from "EmCare" display 'no - do not add a skin or mouth or eye problem' -code "no breastmilk at all": 'EmCare.B21S2.DE29' from "EmCare" display 'no breastmilk at all' -code "inappropriate replacement milk": 'EmCare.B21S2.DE11' from "EmCare" display 'inappropriate replacement milk' -code "appropriate replacement milk": 'EmCare.B21S2.DE10' from "EmCare" display 'appropriate replacement milk' -code "chest indrawing (post inhaled bronchodilator trial)": 'EmCare.B22.DE18' from "EmCare" display 'chest indrawing (post inhaled bronchodilator trial)' -code "respiratory rate (post inhaled bronchodilator trial)": 'EmCare.B22.DE19' from "EmCare" display 'respiratory rate (post inhaled bronchodilator trial)' -code "fast breathing (post inhaled bronchodilator trial)": 'EmCare.B22.DE20' from "EmCare" display 'fast breathing (post inhaled bronchodilator trial)' -code "no fast breathing and no chest indrawing (post inhaled bronchodilator trial)": 'EmCare.B22.DE21' from "EmCare" display 'no fast breathing and no chest indrawing (post inhaled bronchodilator trial)' -code "inhaled bronchodilator trial not feasible or available": 'EmCare.B22.DE22' from "EmCare" display 'inhaled bronchodilator trial not feasible or available' diff --git a/input/cql/emcarevalueset.cql b/input/cql/emcarevalueset.cql deleted file mode 100644 index 47007239..00000000 --- a/input/cql/emcarevalueset.cql +++ /dev/null @@ -1,137 +0,0 @@ -/* -@author: Patrick Delcroix -@description: This library is part of the project EmCare -*/ -library emcarevalueset version '1.0.1.rc12.build.457' -using FHIR version '4.0.1' -include FHIRHelpers version '4.0.1' called FHIRHelpers - - - - -codesystem "EmCare" : 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' - - -code "female": 'EmCare.A.DE17' from "EmCare" display 'female' -code "male": 'EmCare.A.DE18' from "EmCare" display 'male' -code "not specified": 'EmCare.A.DE19' from "EmCare" display 'not specified' -code "estimated age in years/months for child (2 months or older)": 'EmCare.A.DE13' from "EmCare" display 'estimated age in years/months for child (2 months or older)' -code "estimated age in weeks/days for young infant (under 2 months old)": 'EmCare.A.DE14' from "EmCare" display 'estimated age in weeks/days for young infant (under 2 months old)' -code "estimated date of birth": 'EmCare.A.DE15' from "EmCare" display 'estimated date of birth' -code "mother": 'EmCare.A.DE25' from "EmCare" display 'mother' -code "father": 'EmCare.A.DE26' from "EmCare" display 'father' -code "sibling": 'EmCare.A.DE27' from "EmCare" display 'sibling' -code "extended family": 'EmCare.A.DE28' from "EmCare" display 'extended family' -code "legal guardian": 'EmCare.A.DE29' from "EmCare" display 'legal guardian' -code "not related": 'EmCare.A.DE30' from "EmCare" display 'not related' -code "dead": 'EmCare.A.DE46' from "EmCare" display 'dead' -code "alive": 'EmCare.A.DE34' from "EmCare" display 'alive' -code "planned": 'EmCare.B2.DE02' from "EmCare" display 'planned' -code "unplanned": 'EmCare.B2.DE03' from "EmCare" display 'unplanned' -code "sick child": 'EmCare.B3.DE03' from "EmCare" display 'sick child' -code "routine visit (well child/infant)": 'EmCare.B3.DE04' from "EmCare" display 'routine visit (well child/infant)' -code "yes": 'yes' from "EmCare" display 'yes' -code "no": 'no' from "EmCare" display 'no' -code "unknown": 'EmCare.A.DE33' from "EmCare" display 'unknown' -code "agree": 'agree' from "EmCare" display 'agree' -code "disagree": 'disagree' from "EmCare" display 'disagree' -code "initial visit": 'EmCare.B3.DE07' from "EmCare" display 'initial visit' -code "follow up": 'EmCare.B3.DE08' from "EmCare" display 'follow up' -code "7 days or more": 'EmCare.B12S1.DE05' from "EmCare" display '7 days or more' -code "less than 7 days": 'EmCare.B12S1.DE04' from "EmCare" display 'less than 7 days' -code "14 days or more": 'EmCare.B10S1.DE08' from "EmCare" display '14 days or more' -code "less than 14 days": 'EmCare.B10S1.DE07' from "EmCare" display 'less than 14 days' -code "oxygen saturation not measured": 'EmCare.B10S2.DE09' from "EmCare" display 'oxygen saturation not measured' -code "two or more convulsions": 'EmCare.B7.DE06' from "EmCare" display 'two or more convulsions' -code "one convulsion": 'EmCare.B7.DE05' from "EmCare" display 'one convulsion' -code "low": 'Low' from "EmCare" display 'low' -code "normal": 'Normal' from "EmCare" display 'normal' -code "high": 'High' from "EmCare" display 'high' -code "very high": '2' from "EmCare" display 'very high' -code "skin pinch goes back very slowly (more than 2 seconds)": 'EmCare.B20S2.DE03' from "EmCare" display 'skin pinch goes back very slowly (more than 2 seconds)' -code "skin pinch goes back slowly (2 seconds or fewer, but not immediately)": 'EmCare.B20S2.DE04' from "EmCare" display 'skin pinch goes back slowly (2 seconds or fewer, but not immediately)' -code "skin pinch goes back normally (immediately)": 'EmCare.B20S2.DE05' from "EmCare" display 'skin pinch goes back normally (immediately)' -code "mouth sores or mouth ulcers - deep and extensive": 'EmCare.B14S2.DE41' from "EmCare" display 'mouth sores or mouth ulcers - deep and extensive' -code "mouth sores or mouth ulcers - not deep and extensive": 'EmCare.B14S2.DE42' from "EmCare" display 'mouth sores or mouth ulcers - not deep and extensive' -code "oral thrush": 'EmCare.B14S2.DE40' from "EmCare" display 'oral thrush' -code "no oral sores or mouth ulcers": 'EmCare.B14S2.DE39' from "EmCare" display 'no oral sores or mouth ulcers' -code "severe palmar pallor": 'EmCare.B15S2.DE02' from "EmCare" display 'severe palmar pallor' -code "some palmar pallor": 'EmCare.B15S2.DE03' from "EmCare" display 'some palmar pallor' -code "no palmar pallor": 'EmCare.B15S2.DE04' from "EmCare" display 'no palmar pallor' -code "not able to feed at all": 'EmCare.B18S1.DE03' from "EmCare" display 'not able to feed at all' -code "not feeding well": 'EmCare.B18S1.DE04' from "EmCare" display 'not feeding well' -code "feeding well": 'EmCare.B18S1.DE05' from "EmCare" display 'feeding well' -code "moves on his or her own or moves spontaneously or without stimulation": 'EmCare.B18S2.DE11' from "EmCare" display 'moves on his or her own or moves spontaneously or without stimulation' -code "movement only when stimulated but then stops": 'EmCare.B18S2.DE10' from "EmCare" display 'movement only when stimulated but then stops' -code "no movement at all": 'EmCare.B18S2.DE09' from "EmCare" display 'no movement at all' -code "within less than 24 hours of birth": 'EmCare.B19S2.DE05' from "EmCare" display 'within less than 24 hours of birth' -code "24 hours or more after birth": 'EmCare.B19S2.DE06' from "EmCare" display '24 hours or more after birth' -code "unknown when jaundice first appeared": 'EmCare.B19S2.DE07' from "EmCare" display 'unknown when jaundice first appeared' -code "very low weight for age": 'EmCare.B21S2.DE02' from "EmCare" display 'very low weight for age' -code "low weight for age": 'EmCare.B21S2.DE03' from "EmCare" display 'low weight for age' -code "normal weight for age": 'EmCare.B21S2.DE04' from "EmCare" display 'normal weight for age' -code "breastmilk also given": 'EmCare.B21S2.DE28' from "EmCare" display 'breastmilk also given' -code "end consultation": 'EmCare.B7-B8-B9.DE03' from "EmCare" display 'end consultation' -code "stabilised, continue consultation": 'EmCare.B7-B8-B9.DE02' from "EmCare" display 'stabilised, continue consultation' -code "mother hiv positive": 'EmCare.B21S1.DE02' from "EmCare" display 'mother hiv positive' -code "mother hiv negative": 'EmCare.B21S1.DE03' from "EmCare" display 'mother hiv negative' -code "mother hiv status - unknown or not tested": 'EmCare.B21S1.DE04' from "EmCare" display 'mother hiv status - unknown or not tested' -code "mother hiv status - decline to answer": 'EmCare.B21S1.DE05' from "EmCare" display 'mother hiv status - decline to answer' -code "correct and hygienic feed preparation": 'EmCare.B21S2.DE19' from "EmCare" display 'correct and hygienic feed preparation' -code "incorrect or unhygienic feed preparation": 'EmCare.B21S2.DE20' from "EmCare" display 'incorrect or unhygienic feed preparation' -code "cup": 'EmCare.B21S2.DE22' from "EmCare" display 'cup' -code "bottle": 'EmCare.B21S2.DE23' from "EmCare" display 'bottle' -code "feeding utensils not cleaned hygienically": 'EmCare.B21S2.DE26' from "EmCare" display 'feeding utensils not cleaned hygienically' -code "feeding utensils cleaned hygienically": 'EmCare.B21S2.DE25' from "EmCare" display 'feeding utensils cleaned hygienically' -code "yes, date documented, but not here": 'EmCare.B17.DE06' from "EmCare" display 'yes, date documented, but not here' -code "no, but last dose given less than 1 month ago": 'EmCare.B17.DE07' from "EmCare" display 'no, but last dose given less than 1 month ago' -code "no, but last dose given between 1 and 6 months ago": 'EmCare.B17.DE08' from "EmCare" display 'no, but last dose given between 1 and 6 months ago' -code "no, but last dose given more than 6 months ago": 'EmCare.B17.DE09' from "EmCare" display 'no, but last dose given more than 6 months ago' -code "no, do not know when last dose was given": 'EmCare.B17.DE10' from "EmCare" display 'no, do not know when last dose was given' -code "high hiv risk": 'EmCare.B17.DE23' from "EmCare" display 'high hiv risk' -code "low hiv risk": 'EmCare.B17.DE24' from "EmCare" display 'low hiv risk' -code "child hiv positive - virological": 'EmCare.B17.DE31' from "EmCare" display 'child hiv positive - virological' -code "child hiv positive - serological": 'EmCare.B17.DE32' from "EmCare" display 'child hiv positive - serological' -code "child hiv positive - unknown type of test": 'EmCare.B17.DE33' from "EmCare" display 'child hiv positive - unknown type of test' -code "child hiv negative": 'EmCare.B17.DE34' from "EmCare" display 'child hiv negative' -code "child hiv status - unknown or not tested": 'EmCare.B17.DE35' from "EmCare" display 'child hiv status - unknown or not tested' -code "child hiv status - decline to answer": 'EmCare.B17.DE36' from "EmCare" display 'child hiv status - decline to answer' -code "no, incomplete vaccination": 'EmCare.B17.DE47' from "EmCare" display 'no, incomplete vaccination' -code "no, the child has never received any vaccinations to date": 'EmCare.B17.DE48' from "EmCare" display 'no, the child has never received any vaccinations to date' -code "bcg": 'EmCare.B17.DE51' from "EmCare" display 'bcg' -code "opv": 'EmCare.B17.DE52' from "EmCare" display 'opv' -code "hep b": 'EmCare.B17.DE53' from "EmCare" display 'hep b' -code "dpt": 'EmCare.B17.DE54' from "EmCare" display 'dpt' -code "dpt 18 month booster": 'EmCare.B17.DE55' from "EmCare" display 'dpt 18 month booster' -code "hib": 'EmCare.B17.DE56' from "EmCare" display 'hib' -code "rtv": 'EmCare.B17.DE57' from "EmCare" display 'rtv' -code "pcv": 'EmCare.B17.DE58' from "EmCare" display 'pcv' -code "pcv booster 1 for confirmed hiv infection": 'EmCare.B17.DE59' from "EmCare" display 'pcv booster 1 for confirmed hiv infection' -code "pcv booster 2 for confirmed hiv infection": 'EmCare.B17.DE60' from "EmCare" display 'pcv booster 2 for confirmed hiv infection' -code "measles": 'EmCare.B17.DE61' from "EmCare" display 'measles' -code "completely unable to drink": 'EmCare.B22.DE09' from "EmCare" display 'completely unable to drink' -code "vomits immediately / everything": 'EmCare.B22.DE10' from "EmCare" display 'vomits immediately / everything' -code "drinks poorly": 'EmCare.B22.DE11' from "EmCare" display 'drinks poorly' -code "drinks eagerly / thirstily": 'EmCare.B22.DE12' from "EmCare" display 'drinks eagerly / thirstily' -code "drinks normally": 'EmCare.B22.DE13' from "EmCare" display 'drinks normally' -code "able to finish rutf": 'EmCare.B22.DE24' from "EmCare" display 'able to finish rutf' -code "unable to finish rutf": 'EmCare.B22.DE25' from "EmCare" display 'unable to finish rutf' -code "rutf not available": 'EmCare.B22.DE26' from "EmCare" display 'rutf not available' -code "not well attached to breast": 'EmCare.B22.DE37' from "EmCare" display 'not well attached to breast' -code "good attachment": 'EmCare.B22.DE38' from "EmCare" display 'good attachment' -code "not sucking effectively": 'EmCare.B22.DE39' from "EmCare" display 'not sucking effectively' -code "sucking effectively": 'EmCare.B22.DE40' from "EmCare" display 'sucking effectively' -code "no species reported": 'EmCare.B22.DE75' from "EmCare" display 'no species reported' -code "red (congested) throat": 'EmCare.B17S1.DE03' from "EmCare" display 'red (congested) throat' -code "exudate on throat": 'EmCare.B17S1.DE04' from "EmCare" display 'exudate on throat' -code "membrane on throat": 'EmCare.B17S1.DE05' from "EmCare" display 'membrane on throat' -code "none of the listed throat problems observed": 'none' from "EmCare" display 'none of the listed throat problems observed' -code "yes, without difficulty": 'EmCare.B17S1.DE08' from "EmCare" display 'yes, without difficulty' -code "difficulty in swallowing": 'EmCare.B17S1.DE09' from "EmCare" display 'difficulty in swallowing' -code "unable to swallow": 'EmCare.B17S1.DE10' from "EmCare" display 'unable to swallow' -code "does not appear to be underweight": 'EmCare.B6.DE19' from "EmCare" display 'does not appear to be underweight' -code "appears to be underweight": 'EmCare.B6.DE20' from "EmCare" display 'appears to be underweight' -code "appears to be severely underweight": 'EmCare.B6.DE21' from "EmCare" display 'appears to be severely underweight' -code "severe mucous membrane pallor": 'EmCare.B15S2.DE10' from "EmCare" display 'severe mucous membrane pallor' -code "some mucous membrane pallor": 'EmCare.B15S2.DE11' from "EmCare" display 'some mucous membrane pallor' -code "no mucous membrane pallor": 'EmCare.B15S2.DE12' from "EmCare" display 'no mucous membrane pallor' diff --git a/input/l2/readme.md b/input/l2/readme.md index b4112c49..70f5a122 100644 --- a/input/l2/readme.md +++ b/input/l2/readme.md @@ -5,10 +5,10 @@ Specifically: |DAK Artifact|Version|Description|IG Artifact| |----|----|----|----| -|WHO-EmCare-CoreDataElements.xlsx|2022-01-04|Data Elements|Concepts, ValueSets, ConceptMaps, and Profiles| -|WHO-EmCare-DecisionTables.xlsx|2022-01-04|Decision Tables|PlanDefinitions, Libraries, and CQL source| -|WHO-EmCare-Measure.xlsx|N/A|Indicators|Measures| -|WHO-EmCare-TestCase.xlsx|N/A|Test cases|GuidanceResponse, Parameters, test cases data (in progress)| +|WHO-Ccc-CoreDataElements.xlsx|2022-01-04|Data Elements|Concepts, ValueSets, ConceptMaps, and Profiles| +|WHO-Ccc-DecisionTables.xlsx|2022-01-04|Decision Tables|PlanDefinitions, Libraries, and CQL source| +|WHO-Ccc-Measure.xlsx|N/A|Indicators|Measures| +|WHO-Ccc-TestCase.xlsx|N/A|Test cases|GuidanceResponse, Parameters, test cases data (in progress)| ## Data Elements diff --git a/input/mapping/emcare.b10-14.symptoms.2m.p.map b/input/mapping/Ccc.b10-14.symptoms.2m.p.map similarity index 71% rename from input/mapping/emcare.b10-14.symptoms.2m.p.map rename to input/mapping/Ccc.b10-14.symptoms.2m.p.map index 51e2fbd8..da78d654 100644 --- a/input/mapping/emcare.b10-14.symptoms.2m.p.map +++ b/input/mapping/Ccc.b10-14.symptoms.2m.p.map @@ -1,206 +1,206 @@ -map 'https://smart.who.int/ccc/StructureMap/emcare.b10-14.symptoms.2m.p' = 'emcare.b10-14.symptoms.2m.p' +map 'https://smart.who.int/ccc/StructureMap/Ccc.b10-14.symptoms.2m.p' = 'Ccc.b10-14.symptoms.2m.p' uses 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse' alias 'questionnaireResponse' as source uses 'http://hl7.org/fhir/StructureDefinition/Bundle' alias 'Bundle' as target uses 'https://smart.who.int/ccc/StructureDefinition/observation' alias 'Observation' as target -uses 'https://smart.who.int/ccc/StructureDefinition/emcareobservation' alias 'EmCare Observation' as produced +uses 'https://smart.who.int/ccc/StructureDefinition/Cccobservation' alias 'Ccc Observation' as produced group bundletrans(source src : questionnaireResponse,target bundle : Bundle){ src -> bundle.id = uuid() 'id'; src -> bundle.type = 'batch' 'type'; - src.item first as item where linkId = 'EmCare.B10S1.DE05' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B10S1.DE05' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb10s1de05(src, tgt) 'd130047c'; + src -> tgt then CccobservationCccb10s1de05(src, tgt) 'd130047c'; } '56a76d73'; } '79141fc8'; } '08fbbbd7'; - src.item first as item where linkId = 'EmCare.B10S1.DE06' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B10S1.DE06' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb10s1de06(src, tgt) '008a3623'; + src -> tgt then CccobservationCccb10s1de06(src, tgt) '008a3623'; } 'd784044d'; } '805abc9e'; } '446767cc'; - src.item first as item where linkId = 'EmCare.B10S1.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B10S1.DE01' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb10s1de01(src, tgt) '04d8e898'; + src -> tgt then CccobservationCccb10s1de01(src, tgt) '04d8e898'; } 'b2d824f5'; } '0d7d74bd'; } 'dd9bd984'; - src.item first as item where linkId = 'EmCare.B10S1.DE02' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B10S1.DE02' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb10s1de02(src, tgt) 'd90e5fb1'; + src -> tgt then CccobservationCccb10s1de02(src, tgt) 'd90e5fb1'; } '5cae2191'; } 'ab1692fb'; } '119f6765'; - src.item first as item where linkId = 'EmCare.B11S1.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B11S1.DE01' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb11s1de01(src, tgt) '43d4af59'; + src -> tgt then CccobservationCccb11s1de01(src, tgt) '43d4af59'; } 'bfd970ae'; } 'b8eb69b0'; } 'e1f73648'; - src.item first as item where linkId = 'EmCare.B11S1.DE02' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B11S1.DE02' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb11s1de02(src, tgt) '39c1737c'; + src -> tgt then CccobservationCccb11s1de02(src, tgt) '39c1737c'; } '891a881e'; } '6e6d1885'; } 'a9e046d7'; - src.item first as item where linkId = 'EmCare.B11S1.DE05' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B11S1.DE05' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb11s1de05(src, tgt) '1721269a'; + src -> tgt then CccobservationCccb11s1de05(src, tgt) '1721269a'; } 'c1e233d8'; } 'c6a3d5c5'; } 'e17a9583'; - src.item first as item where linkId = 'EmCare.B12S1.DE02' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B12S1.DE02' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb12s1de02(src, tgt) 'df55b281'; + src -> tgt then CccobservationCccb12s1de02(src, tgt) 'df55b281'; } '0a52cb1c'; } '1593137e'; } '744c4bf9'; - src.item first as item where linkId = 'EmCare.B12S1.DE03' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B12S1.DE03' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb12s1de03(src, tgt) 'fc6edbe7'; + src -> tgt then CccobservationCccb12s1de03(src, tgt) 'fc6edbe7'; } '5330779a'; } 'c692777e'; } '8d04eb57'; - src.item first as item where linkId = 'EmCare.B.G.DE06' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B.G.DE06' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcarebgde06(src, tgt) 'ca782de1'; + src -> tgt then CccobservationCccbgde06(src, tgt) 'ca782de1'; } '1b87f3fc'; } '9ac4a378'; } 'f72a0439'; - src.item first as item where linkId = 'EmCare.B12S1.DE06' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B12S1.DE06' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb12s1de06(src, tgt) 'ce301cb0'; + src -> tgt then CccobservationCccb12s1de06(src, tgt) 'ce301cb0'; } 'c80f2620'; } '27eb1328'; } 'e6da0780'; - src.item first as item where linkId = 'EmCare.B13S1.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B13S1.DE01' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb13s1de01(src, tgt) '0a3c13d2'; + src -> tgt then CccobservationCccb13s1de01(src, tgt) '0a3c13d2'; } '0ca270e1'; } '6e77deb0'; } 'b8334cd6'; - src.item first as item where linkId = 'EmCare.B13S1.DE02' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B13S1.DE02' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb13s1de02(src, tgt) 'cd788051'; + src -> tgt then CccobservationCccb13s1de02(src, tgt) 'cd788051'; } '2c880586'; } '50966861'; } '78170861'; - src.item first as item where linkId = 'EmCare.B13S1.DE03' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B13S1.DE03' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb13s1de03(src, tgt) '323bf4ac'; + src -> tgt then CccobservationCccb13s1de03(src, tgt) '323bf4ac'; } '681ae227'; } 'b8f4f3f5'; } 'e5a07dfd'; - src.item first as item where linkId = 'EmCare.B13S1.DE04' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B13S1.DE04' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb13s1de04(src, tgt) '28267d58'; + src -> tgt then CccobservationCccb13s1de04(src, tgt) '28267d58'; } '4ea18833'; } '82346f75'; } 'b63e24e4'; - src.item first as item where linkId = 'EmCare.B14S1.DE03' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S1.DE03' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb14s1de03(src, tgt) 'ab7fc76a'; + src -> tgt then CccobservationCccb14s1de03(src, tgt) 'ab7fc76a'; } '22d8b79e'; } '991ff5c6'; } '102c5ae9'; - src.item first as item where linkId = 'EmCare.B14S1.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S1.DE01' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb14s1de01(src, tgt) '6baaff63'; + src -> tgt then CccobservationCccb14s1de01(src, tgt) '6baaff63'; } 'f7186bc6'; } '19883e88'; } '90d2b417'; - src.item first as item where linkId = 'EmCare.B14S1.DE02' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S1.DE02' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb14s1de02(src, tgt) '49187687'; + src -> tgt then CccobservationCccb14s1de02(src, tgt) '49187687'; } '0063faef'; } '7df08969'; } '6f9d4b85'; } -group emcareobservationemcareb10s1de05(source src,target tgt){ +group CccobservationCccb10s1de05(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb10s1de05'; + 'id-Cccb10s1de05'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B10S1.DE05' - 'code-emcareb10s1de05'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B10S1.DE05' + 'code-Cccb10s1de05'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B10S1.DE05' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B10S1.DE05' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb10s1de05'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb10s1de05'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb10s1de05'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb10s1de05'; } 'bdab9370'; } 'f75f2b05'; } -group emcareobservationemcareb10s1de06(source src,target tgt){ +group CccobservationCccb10s1de06(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb10s1de06'; + 'id-Cccb10s1de06'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B10S1.DE06' - 'code-emcareb10s1de06'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B10S1.DE06' + 'code-Cccb10s1de06'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B10S1.DE06' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B10S1.DE06' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' 'd0a13fda'; @@ -210,55 +210,55 @@ group emcareobservationemcareb10s1de06(source src,target tgt){ } '156b25ae'; } -group emcareobservationemcareb10s1de01(source src,target tgt){ +group CccobservationCccb10s1de01(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb10s1de01'; + 'id-Cccb10s1de01'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B10S1.DE01' - 'code-emcareb10s1de01'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B10S1.DE01' + 'code-Cccb10s1de01'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B10S1.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B10S1.DE01' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb10s1de01'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb10s1de01'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb10s1de01'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb10s1de01'; } 'bdab9370'; } '1b302dc5'; } -group emcareobservationemcareb10s1de02(source src,target tgt){ +group CccobservationCccb10s1de02(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb10s1de02'; + 'id-Cccb10s1de02'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B10S1.DE02' - 'code-emcareb10s1de02'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B10S1.DE02' + 'code-Cccb10s1de02'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B10S1.DE02' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B10S1.DE02' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' 'd0a13fda'; @@ -268,55 +268,55 @@ group emcareobservationemcareb10s1de02(source src,target tgt){ } '84c804e5'; } -group emcareobservationemcareb11s1de01(source src,target tgt){ +group CccobservationCccb11s1de01(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb11s1de01'; + 'id-Cccb11s1de01'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B11S1.DE01' - 'code-emcareb11s1de01'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B11S1.DE01' + 'code-Cccb11s1de01'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B11S1.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B11S1.DE01' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb11s1de01'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb11s1de01'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb11s1de01'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb11s1de01'; } 'bdab9370'; } '7b8564b3'; } -group emcareobservationemcareb11s1de02(source src,target tgt){ +group CccobservationCccb11s1de02(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb11s1de02'; + 'id-Cccb11s1de02'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B11S1.DE02' - 'code-emcareb11s1de02'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B11S1.DE02' + 'code-Cccb11s1de02'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B11S1.DE02' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B11S1.DE02' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' 'd0a13fda'; @@ -326,83 +326,83 @@ group emcareobservationemcareb11s1de02(source src,target tgt){ } '78040096'; } -group emcareobservationemcareb11s1de05(source src,target tgt){ +group CccobservationCccb11s1de05(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb11s1de05'; + 'id-Cccb11s1de05'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B11S1.DE05' - 'code-emcareb11s1de05'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B11S1.DE05' + 'code-Cccb11s1de05'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B11S1.DE05' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B11S1.DE05' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb11s1de05'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb11s1de05'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb11s1de05'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb11s1de05'; } 'bdab9370'; } '999566e5'; } -group emcareobservationemcareb12s1de02(source src,target tgt){ +group CccobservationCccb12s1de02(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb12s1de02'; + 'id-Cccb12s1de02'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B12S1.DE02' - 'code-emcareb12s1de02'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B12S1.DE02' + 'code-Cccb12s1de02'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B12S1.DE02' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B12S1.DE02' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb12s1de02'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb12s1de02'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb12s1de02'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb12s1de02'; } 'bdab9370'; } '2980a862'; } -group emcareobservationemcareb12s1de03(source src,target tgt){ +group CccobservationCccb12s1de03(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb12s1de03'; + 'id-Cccb12s1de03'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B12S1.DE03' - 'code-emcareb12s1de03'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B12S1.DE03' + 'code-Cccb12s1de03'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B12S1.DE03' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B12S1.DE03' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' 'd0a13fda'; @@ -412,167 +412,167 @@ group emcareobservationemcareb12s1de03(source src,target tgt){ } '0684c220'; } -group emcareobservationemcarebgde06(source src,target tgt){ +group CccobservationCccbgde06(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcarebgde06'; + 'id-Cccbgde06'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B.G.DE06' - 'code-emcarebgde06'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B.G.DE06' + 'code-Cccbgde06'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B.G.DE06' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B.G.DE06' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcarebgde06'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcarebgde06'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccbgde06'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccbgde06'; } 'bdab9370'; } 'd670d189'; } -group emcareobservationemcareb12s1de06(source src,target tgt){ +group CccobservationCccb12s1de06(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb12s1de06'; + 'id-Cccb12s1de06'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B12S1.DE06' - 'code-emcareb12s1de06'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B12S1.DE06' + 'code-Cccb12s1de06'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B12S1.DE06' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B12S1.DE06' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb12s1de06'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb12s1de06'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb12s1de06'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb12s1de06'; } 'bdab9370'; } 'fcb16134'; } -group emcareobservationemcareb13s1de01(source src,target tgt){ +group CccobservationCccb13s1de01(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb13s1de01'; + 'id-Cccb13s1de01'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B13S1.DE01' - 'code-emcareb13s1de01'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B13S1.DE01' + 'code-Cccb13s1de01'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B13S1.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B13S1.DE01' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb13s1de01'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb13s1de01'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb13s1de01'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb13s1de01'; } 'bdab9370'; } '61c82b53'; } -group emcareobservationemcareb13s1de02(source src,target tgt){ +group CccobservationCccb13s1de02(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb13s1de02'; + 'id-Cccb13s1de02'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B13S1.DE02' - 'code-emcareb13s1de02'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B13S1.DE02' + 'code-Cccb13s1de02'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B13S1.DE02' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B13S1.DE02' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb13s1de02'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb13s1de02'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb13s1de02'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb13s1de02'; } 'bdab9370'; } 'f246fc63'; } -group emcareobservationemcareb13s1de03(source src,target tgt){ +group CccobservationCccb13s1de03(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb13s1de03'; + 'id-Cccb13s1de03'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B13S1.DE03' - 'code-emcareb13s1de03'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B13S1.DE03' + 'code-Cccb13s1de03'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B13S1.DE03' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B13S1.DE03' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb13s1de03'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb13s1de03'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb13s1de03'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb13s1de03'; } 'bdab9370'; } '1e1d8c32'; } -group emcareobservationemcareb13s1de04(source src,target tgt){ +group CccobservationCccb13s1de04(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb13s1de04'; + 'id-Cccb13s1de04'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B13S1.DE04' - 'code-emcareb13s1de04'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B13S1.DE04' + 'code-Cccb13s1de04'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B13S1.DE04' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B13S1.DE04' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' 'd0a13fda'; @@ -582,86 +582,86 @@ group emcareobservationemcareb13s1de04(source src,target tgt){ } '9fc99c98'; } -group emcareobservationemcareb14s1de03(source src,target tgt){ +group CccobservationCccb14s1de03(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb14s1de03'; + 'id-Cccb14s1de03'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S1.DE03' - 'code-emcareb14s1de03'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S1.DE03' + 'code-Cccb14s1de03'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B14S1.DE03' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S1.DE03' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb14s1de03'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb14s1de03'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb14s1de03'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb14s1de03'; } 'bdab9370'; } 'bc3a888b'; } -group emcareobservationemcareb14s1de01(source src,target tgt){ +group CccobservationCccb14s1de01(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb14s1de01'; + 'id-Cccb14s1de01'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S1.DE01' - 'code-emcareb14s1de01'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S1.DE01' + 'code-Cccb14s1de01'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B14S1.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S1.DE01' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb14s1de01'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb14s1de01'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb14s1de01'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb14s1de01'; } 'bdab9370'; } 'fb67ce2c'; } -group emcareobservationemcareb14s1de02(source src,target tgt){ +group CccobservationCccb14s1de02(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb14s1de02'; + 'id-Cccb14s1de02'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S1.DE02' - 'code-emcareb14s1de02'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S1.DE02' + 'code-Cccb14s1de02'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B14S1.DE02' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S1.DE02' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb14s1de02'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb14s1de02'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb14s1de02'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb14s1de02'; } 'bdab9370'; } '9802d7f8'; } diff --git a/input/mapping/emcare.b10-16.signs.2m.p.map b/input/mapping/Ccc.b10-16.signs.2m.p.map similarity index 68% rename from input/mapping/emcare.b10-16.signs.2m.p.map rename to input/mapping/Ccc.b10-16.signs.2m.p.map index 0d2f6f3f..ae984b7a 100644 --- a/input/mapping/emcare.b10-16.signs.2m.p.map +++ b/input/mapping/Ccc.b10-16.signs.2m.p.map @@ -1,903 +1,903 @@ -map 'https://smart.who.int/ccc/StructureMap/emcare.b10-16.signs.2m.p' = 'emcare.b10-16.signs.2m.p' +map 'https://smart.who.int/ccc/StructureMap/Ccc.b10-16.signs.2m.p' = 'Ccc.b10-16.signs.2m.p' uses 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse' alias 'questionnaireResponse' as source uses 'http://hl7.org/fhir/StructureDefinition/Bundle' alias 'Bundle' as target uses 'https://smart.who.int/ccc/StructureDefinition/observation' alias 'Observation' as target -uses 'https://smart.who.int/ccc/StructureDefinition/emcareobservation' alias 'EmCare Observation' as produced +uses 'https://smart.who.int/ccc/StructureDefinition/Cccobservation' alias 'Ccc Observation' as produced group bundletrans(source src : questionnaireResponse,target bundle : Bundle){ src -> bundle.id = uuid() 'id'; src -> bundle.type = 'batch' 'type'; - src.item first as item where linkId = 'EmCare.B10S2.DE03' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B10S2.DE03' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb10s2de03(src, tgt) '9be992ee'; + src -> tgt then CccobservationCccb10s2de03(src, tgt) '9be992ee'; } '36f7a9cc'; } '079b8b98'; } '366acbd3'; - src.item first as item where linkId = 'EmCare.B10S2.DE04' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B10S2.DE04' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb10s2de04(src, tgt) '22bcca4b'; + src -> tgt then CccobservationCccb10s2de04(src, tgt) '22bcca4b'; } '32ccd4c5'; } 'a7c78146'; } 'b19e39bf'; - src.item first as item where linkId = 'EmCare.B10S2.DE05' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B10S2.DE05' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb10s2de05(src, tgt) '1d8e3cbc'; + src -> tgt then CccobservationCccb10s2de05(src, tgt) '1d8e3cbc'; } 'bf103e1e'; } '76d6b934'; } '98782720'; - src.item first as item where linkId = 'EmCare.B10S2.DE06' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B10S2.DE06' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb10s2de06(src, tgt) 'c80bf08a'; + src -> tgt then CccobservationCccb10s2de06(src, tgt) 'c80bf08a'; } '1045a48d'; } '3d816032'; } '530045b2'; src.item first as itm1 where linkId = 'Oxygen_Saturation' then { - itm1.item first as item where linkId = 'EmCare.B10S2.DE07' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B10S2.DE07' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb10s2de07(src, tgt) '8ed85169'; + src -> tgt then CccobservationCccb10s2de07(src, tgt) '8ed85169'; } '115f4673'; } 'c898e9da'; } 'b4fdeee3'; } '92a14f88'; - src.item first as item where linkId = 'EmCare.B11S2.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B11S2.DE01' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb11s2de01(src, tgt) '571f12fb'; + src -> tgt then CccobservationCccb11s2de01(src, tgt) '571f12fb'; } 'df9369ca'; } 'b1634b07'; } 'bf55dba7'; - src.item first as item where linkId = 'EmCare.B11S2.DE02' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B11S2.DE02' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb11s2de02(src, tgt) '35df08c4'; + src -> tgt then CccobservationCccb11s2de02(src, tgt) '35df08c4'; } '52eb002b'; } 'c096f5b2'; } 'f35e6a90'; - src.item first as item where linkId = 'EmCare.B11S2.DE06' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B11S2.DE06' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb11s2de06(src, tgt) '048f10f9'; + src -> tgt then CccobservationCccb11s2de06(src, tgt) '048f10f9'; } '011caec9'; } '431cd0b3'; } '5a3f8e99'; - src.item first as item where linkId = 'EmCare.B17S1.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B17S1.DE01' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb17s1de01(src, tgt) '13df0b77'; + src -> tgt then CccobservationCccb17s1de01(src, tgt) '13df0b77'; } 'ebf73588'; } '4de1b457'; } 'eb36da14'; - src.item first as item where linkId = 'EmCare.B17S1.DE02' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B17S1.DE02' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb17s1de02(src, tgt) 'df66de05'; + src -> tgt then CccobservationCccb17s1de02(src, tgt) 'df66de05'; } 'cef4a910'; } '7a411b35'; } 'f5194f29'; - src.item first as item where linkId = 'EmCare.B17S1.DE06' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B17S1.DE06' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb17s1de06(src, tgt) '7dcc4fe7'; + src -> tgt then CccobservationCccb17s1de06(src, tgt) '7dcc4fe7'; } '57c20bc9'; } 'a315006a'; } '371f2fa4'; - src.item first as item where linkId = 'EmCare.B17S1.DE07' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B17S1.DE07' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb17s1de07(src, tgt) '6d9d7efe'; + src -> tgt then CccobservationCccb17s1de07(src, tgt) '6d9d7efe'; } '666ea04b'; } '555380a9'; } '6484a938'; - src.item first as item where linkId = 'EmCare.B13S2.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B13S2.DE01' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb13s2de01(src, tgt) '988862af'; + src -> tgt then CccobservationCccb13s2de01(src, tgt) '988862af'; } '6071237c'; } 'b8724cd8'; } '06c49c87'; - src.item first as item where linkId = 'EmCare.B13S2.DE02' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B13S2.DE02' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb13s2de02(src, tgt) 'f885cd9f'; + src -> tgt then CccobservationCccb13s2de02(src, tgt) 'f885cd9f'; } '56652867'; } 'd0f4b9f9'; } '530eefb8'; - src.item first as item where linkId = 'EmCare.B13S2.DE03' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B13S2.DE03' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb13s2de03(src, tgt) 'e686d739'; + src -> tgt then CccobservationCccb13s2de03(src, tgt) 'e686d739'; } 'c2d82e76'; } '1aafb16b'; } '9b54ee4f'; - src.item first as item where linkId = 'EmCare.B12S2.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B12S2.DE01' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb12s2de01(src, tgt) 'd9032a0e'; + src -> tgt then CccobservationCccb12s2de01(src, tgt) 'd9032a0e'; } '471ac9ec'; } '364c39dc'; } '387028ff'; - src.item first as item where linkId = 'EmCare.B12S2.DE05' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B12S2.DE05' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb12s2de05(src, tgt) 'b4d067ef'; + src -> tgt then CccobservationCccb12s2de05(src, tgt) 'b4d067ef'; } '260342c7'; } 'bd3ec4be'; } '325408a5'; - src.item first as item where linkId = 'EmCare.B14S2.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE01' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb14s2de01(src, tgt) '3c803bdc'; + src -> tgt then CccobservationCccb14s2de01(src, tgt) '3c803bdc'; } '8df3ea2e'; } 'f8052c53'; } '91d8a216'; - src.item first as item where linkId = 'EmCare.B14S2.DE02' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE02' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb14s2de02(src, tgt) 'e05b3a93'; + src -> tgt then CccobservationCccb14s2de02(src, tgt) 'e05b3a93'; } '0c924a74'; } '56da7549'; } '2aa25144'; - src.item first as item where linkId = 'EmCare.B14S2.DE03' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE03' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb14s2de03(src, tgt) '9ccb1879'; + src -> tgt then CccobservationCccb14s2de03(src, tgt) '9ccb1879'; } '017fcd3f'; } '05f51940'; } '7c588606'; - src.item first as item where linkId = 'EmCare.B14S2.DE04' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE04' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb14s2de04(src, tgt) '0e9ceef0'; + src -> tgt then CccobservationCccb14s2de04(src, tgt) '0e9ceef0'; } '083b89d9'; } '776651be'; } '9007e632'; - src.item first as item where linkId = 'EmCare.B14S2.DE05' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE05' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb14s2de05(src, tgt) '7f44dd5a'; + src -> tgt then CccobservationCccb14s2de05(src, tgt) '7f44dd5a'; } 'c001deab'; } '280ba472'; } 'c672d1b7'; - src where src.item.where(linkId='EmCare.B14S2.DE06').answer.where(value.code = 'EmCare.B14S2.DE07') then { - src.item first as item where linkId = 'EmCare.B14S2.DE06' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE06').answer.where(value.code = 'Ccc.B14S2.DE07') then { + src.item first as item where linkId = 'Ccc.B14S2.DE06' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de06emcareb14s2de07t(src,tgt) '37b45a1a'; + src then CccobservationCccb14s2de06Cccb14s2de07t(src,tgt) '37b45a1a'; } '971c989b'; } 'f56a8acb'; } 'f0e0c1c7'; } '2caf0a2d'; - src where src.item.where(linkId='EmCare.B14S2.DE06').exists() and src.item.where(linkId='EmCare.B14S2.DE06').answer.where(value.code = 'EmCare.B14S2.DE07').empty() then { - src.item first as item where linkId = 'EmCare.B14S2.DE06' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE06').exists() and src.item.where(linkId='Ccc.B14S2.DE06').answer.where(value.code = 'Ccc.B14S2.DE07').empty() then { + src.item first as item where linkId = 'Ccc.B14S2.DE06' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de06emcareb14s2de07f(src,tgt) 'ed6e13a0'; + src then CccobservationCccb14s2de06Cccb14s2de07f(src,tgt) 'ed6e13a0'; } '52c7fa66'; } '81854047'; } 'a9b43d6e'; } 'fed21ad9'; - src where src.item.where(linkId='EmCare.B14S2.DE06').answer.where(value.code = 'EmCare.B14S2.DE08') then { - src.item first as item where linkId = 'EmCare.B14S2.DE06' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE06').answer.where(value.code = 'Ccc.B14S2.DE08') then { + src.item first as item where linkId = 'Ccc.B14S2.DE06' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de06emcareb14s2de08t(src,tgt) '31d968a5'; + src then CccobservationCccb14s2de06Cccb14s2de08t(src,tgt) '31d968a5'; } '05db12b8'; } 'adbfce41'; } '89575f40'; } '294cc680'; - src where src.item.where(linkId='EmCare.B14S2.DE06').exists() and src.item.where(linkId='EmCare.B14S2.DE06').answer.where(value.code = 'EmCare.B14S2.DE08').empty() then { - src.item first as item where linkId = 'EmCare.B14S2.DE06' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE06').exists() and src.item.where(linkId='Ccc.B14S2.DE06').answer.where(value.code = 'Ccc.B14S2.DE08').empty() then { + src.item first as item where linkId = 'Ccc.B14S2.DE06' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de06emcareb14s2de08f(src,tgt) '1a79fb79'; + src then CccobservationCccb14s2de06Cccb14s2de08f(src,tgt) '1a79fb79'; } '3f5690dd'; } 'a36f6b02'; } '3d64a953'; } '37580d33'; - src where src.item.where(linkId='EmCare.B14S2.DE06').answer.where(value.code = 'EmCare.B14S2.DE09') then { - src.item first as item where linkId = 'EmCare.B14S2.DE06' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE06').answer.where(value.code = 'Ccc.B14S2.DE09') then { + src.item first as item where linkId = 'Ccc.B14S2.DE06' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de06emcareb14s2de09t(src,tgt) '28edea0e'; + src then CccobservationCccb14s2de06Cccb14s2de09t(src,tgt) '28edea0e'; } '7f261203'; } 'a883e98f'; } '158e3fbb'; } 'e1eb3d64'; - src where src.item.where(linkId='EmCare.B14S2.DE06').exists() and src.item.where(linkId='EmCare.B14S2.DE06').answer.where(value.code = 'EmCare.B14S2.DE09').empty() then { - src.item first as item where linkId = 'EmCare.B14S2.DE06' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE06').exists() and src.item.where(linkId='Ccc.B14S2.DE06').answer.where(value.code = 'Ccc.B14S2.DE09').empty() then { + src.item first as item where linkId = 'Ccc.B14S2.DE06' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de06emcareb14s2de09f(src,tgt) '838bc2fd'; + src then CccobservationCccb14s2de06Cccb14s2de09f(src,tgt) '838bc2fd'; } 'fe14ec44'; } 'e465613c'; } '7ec9bbca'; } 'ae01960a'; - src.item first as item where linkId = 'EmCare.B14S2.DE10' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE10' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb14s2de10(src, tgt) 'c7bb4c66'; + src -> tgt then CccobservationCccb14s2de10(src, tgt) 'c7bb4c66'; } 'f8c64c2f'; } 'b824f2ed'; } '76d01623'; - src.item first as item where linkId = 'EmCare.B14S2.DE11' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE11' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb14s2de11(src, tgt) '075dfab4'; + src -> tgt then CccobservationCccb14s2de11(src, tgt) '075dfab4'; } 'e7decefb'; } '258af3ea'; } '0a0c8d1d'; - src.item first as item where linkId = 'EmCare.B14S2.DE12' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE12' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb14s2de12(src, tgt) '5c4fb26d'; + src -> tgt then CccobservationCccb14s2de12(src, tgt) '5c4fb26d'; } '8b35df2f'; } '1def7e4a'; } '23fadae9'; - src where src.item.where(linkId='EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE18') then { - src.item first as item where linkId = 'EmCare.B14S2.DE13' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE18') then { + src.item first as item where linkId = 'Ccc.B14S2.DE13' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de13emcareb14s2de18t(src,tgt) '441e433a'; + src then CccobservationCccb14s2de13Cccb14s2de18t(src,tgt) '441e433a'; } 'c6a25fe8'; } '3ce60159'; } 'd174fa68'; } 'ac7d700b'; - src where src.item.where(linkId='EmCare.B14S2.DE13').exists() and src.item.where(linkId='EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE18').empty() then { - src.item first as item where linkId = 'EmCare.B14S2.DE13' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE13').exists() and src.item.where(linkId='Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE18').empty() then { + src.item first as item where linkId = 'Ccc.B14S2.DE13' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de13emcareb14s2de18f(src,tgt) '97a383dc'; + src then CccobservationCccb14s2de13Cccb14s2de18f(src,tgt) '97a383dc'; } '2dc8d6f1'; } 'e831d44b'; } '01b18454'; } '451ac430'; - src where src.item.where(linkId='EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE19') then { - src.item first as item where linkId = 'EmCare.B14S2.DE13' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE19') then { + src.item first as item where linkId = 'Ccc.B14S2.DE13' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de13emcareb14s2de19t(src,tgt) '176edab8'; + src then CccobservationCccb14s2de13Cccb14s2de19t(src,tgt) '176edab8'; } '6066f6c8'; } '983ce7ec'; } '19ed849e'; } '3852f24c'; - src where src.item.where(linkId='EmCare.B14S2.DE13').exists() and src.item.where(linkId='EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE19').empty() then { - src.item first as item where linkId = 'EmCare.B14S2.DE13' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE13').exists() and src.item.where(linkId='Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE19').empty() then { + src.item first as item where linkId = 'Ccc.B14S2.DE13' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de13emcareb14s2de19f(src,tgt) '817f40b1'; + src then CccobservationCccb14s2de13Cccb14s2de19f(src,tgt) '817f40b1'; } 'be332abb'; } '5233dec2'; } 'b6313d6e'; } 'a8b58d8a'; - src where src.item.where(linkId='EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE21') then { - src.item first as item where linkId = 'EmCare.B14S2.DE13' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE21') then { + src.item first as item where linkId = 'Ccc.B14S2.DE13' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de13emcareb14s2de21t(src,tgt) 'aa5b0432'; + src then CccobservationCccb14s2de13Cccb14s2de21t(src,tgt) 'aa5b0432'; } '0ec5642c'; } '0d215d93'; } '4854d5df'; } 'ae0dcf93'; - src where src.item.where(linkId='EmCare.B14S2.DE13').exists() and src.item.where(linkId='EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE21').empty() then { - src.item first as item where linkId = 'EmCare.B14S2.DE13' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE13').exists() and src.item.where(linkId='Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE21').empty() then { + src.item first as item where linkId = 'Ccc.B14S2.DE13' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de13emcareb14s2de21f(src,tgt) 'e4468f91'; + src then CccobservationCccb14s2de13Cccb14s2de21f(src,tgt) 'e4468f91'; } 'cd3aebda'; } '13f1b93a'; } 'c43d8495'; } '15560381'; - src where src.item.where(linkId='EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE22') then { - src.item first as item where linkId = 'EmCare.B14S2.DE13' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE22') then { + src.item first as item where linkId = 'Ccc.B14S2.DE13' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de13emcareb14s2de22t(src,tgt) 'ab612b0e'; + src then CccobservationCccb14s2de13Cccb14s2de22t(src,tgt) 'ab612b0e'; } '5f99713d'; } '0f879b99'; } '8071df60'; } 'c9c52b13'; - src where src.item.where(linkId='EmCare.B14S2.DE13').exists() and src.item.where(linkId='EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE22').empty() then { - src.item first as item where linkId = 'EmCare.B14S2.DE13' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE13').exists() and src.item.where(linkId='Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE22').empty() then { + src.item first as item where linkId = 'Ccc.B14S2.DE13' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de13emcareb14s2de22f(src,tgt) '123f16cb'; + src then CccobservationCccb14s2de13Cccb14s2de22f(src,tgt) '123f16cb'; } '6839cab1'; } 'cd6d3ddf'; } 'ab20fd0d'; } '1392af91'; - src where src.item.where(linkId='EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE23') then { - src.item first as item where linkId = 'EmCare.B14S2.DE13' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE23') then { + src.item first as item where linkId = 'Ccc.B14S2.DE13' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de13emcareb14s2de23t(src,tgt) 'a59d13f2'; + src then CccobservationCccb14s2de13Cccb14s2de23t(src,tgt) 'a59d13f2'; } '6fa9b4c3'; } 'a59cf8e8'; } 'd5f2929d'; } '0b62df00'; - src where src.item.where(linkId='EmCare.B14S2.DE13').exists() and src.item.where(linkId='EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE23').empty() then { - src.item first as item where linkId = 'EmCare.B14S2.DE13' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE13').exists() and src.item.where(linkId='Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE23').empty() then { + src.item first as item where linkId = 'Ccc.B14S2.DE13' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de13emcareb14s2de23f(src,tgt) '6596445b'; + src then CccobservationCccb14s2de13Cccb14s2de23f(src,tgt) '6596445b'; } '960ec6df'; } '388ca68d'; } '25b5d6b1'; } '87288d6a'; - src where src.item.where(linkId='EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE25') then { - src.item first as item where linkId = 'EmCare.B14S2.DE13' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE25') then { + src.item first as item where linkId = 'Ccc.B14S2.DE13' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de13emcareb14s2de25t(src,tgt) '072f0d04'; + src then CccobservationCccb14s2de13Cccb14s2de25t(src,tgt) '072f0d04'; } 'bdb49f20'; } '1ac2bcc1'; } '43511064'; } '6a58313a'; - src where src.item.where(linkId='EmCare.B14S2.DE13').exists() and src.item.where(linkId='EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE25').empty() then { - src.item first as item where linkId = 'EmCare.B14S2.DE13' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE13').exists() and src.item.where(linkId='Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE25').empty() then { + src.item first as item where linkId = 'Ccc.B14S2.DE13' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de13emcareb14s2de25f(src,tgt) '81e79970'; + src then CccobservationCccb14s2de13Cccb14s2de25f(src,tgt) '81e79970'; } '224b2fb2'; } '021a8b72'; } '368d9ecb'; } '8441e89f'; - src where src.item.where(linkId='EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE31') then { - src.item first as item where linkId = 'EmCare.B14S2.DE13' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE31') then { + src.item first as item where linkId = 'Ccc.B14S2.DE13' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de13emcareb14s2de31t(src,tgt) 'b35eaf3c'; + src then CccobservationCccb14s2de13Cccb14s2de31t(src,tgt) 'b35eaf3c'; } 'a1596adf'; } 'bab60838'; } '17feed2f'; } '4912861f'; - src where src.item.where(linkId='EmCare.B14S2.DE13').exists() and src.item.where(linkId='EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE31').empty() then { - src.item first as item where linkId = 'EmCare.B14S2.DE13' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE13').exists() and src.item.where(linkId='Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE31').empty() then { + src.item first as item where linkId = 'Ccc.B14S2.DE13' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de13emcareb14s2de31f(src,tgt) '0c07de59'; + src then CccobservationCccb14s2de13Cccb14s2de31f(src,tgt) '0c07de59'; } '8c4edf8a'; } 'f51215d7'; } '76689bf7'; } 'f8037952'; - src where src.item.where(linkId='EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE32') then { - src.item first as item where linkId = 'EmCare.B14S2.DE13' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE32') then { + src.item first as item where linkId = 'Ccc.B14S2.DE13' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de13emcareb14s2de32t(src,tgt) '304d4aab'; + src then CccobservationCccb14s2de13Cccb14s2de32t(src,tgt) '304d4aab'; } '6fe3eb64'; } '14dd9fb8'; } 'a671b882'; } '1c1c4815'; - src where src.item.where(linkId='EmCare.B14S2.DE13').exists() and src.item.where(linkId='EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE32').empty() then { - src.item first as item where linkId = 'EmCare.B14S2.DE13' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE13').exists() and src.item.where(linkId='Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE32').empty() then { + src.item first as item where linkId = 'Ccc.B14S2.DE13' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de13emcareb14s2de32f(src,tgt) '6f919233'; + src then CccobservationCccb14s2de13Cccb14s2de32f(src,tgt) '6f919233'; } '5708f6bd'; } '833ec3a9'; } 'cdb61927'; } '3a489200'; - src where src.item.where(linkId='EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE33') then { - src.item first as item where linkId = 'EmCare.B14S2.DE13' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE33') then { + src.item first as item where linkId = 'Ccc.B14S2.DE13' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de13emcareb14s2de33t(src,tgt) '0b3f6de9'; + src then CccobservationCccb14s2de13Cccb14s2de33t(src,tgt) '0b3f6de9'; } '980b8c8b'; } '94d31e8a'; } 'd37d7b65'; } 'd888db70'; - src where src.item.where(linkId='EmCare.B14S2.DE13').exists() and src.item.where(linkId='EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE33').empty() then { - src.item first as item where linkId = 'EmCare.B14S2.DE13' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE13').exists() and src.item.where(linkId='Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE33').empty() then { + src.item first as item where linkId = 'Ccc.B14S2.DE13' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de13emcareb14s2de33f(src,tgt) '8660b336'; + src then CccobservationCccb14s2de13Cccb14s2de33f(src,tgt) '8660b336'; } 'dd13171e'; } '3580783e'; } 'd31d16ef'; } 'e3f7e3de'; - src where src.item.where(linkId='EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE35') then { - src.item first as item where linkId = 'EmCare.B14S2.DE13' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE35') then { + src.item first as item where linkId = 'Ccc.B14S2.DE13' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de13emcareb14s2de35t(src,tgt) 'fdc56916'; + src then CccobservationCccb14s2de13Cccb14s2de35t(src,tgt) 'fdc56916'; } '83c3b9d5'; } '19244b4d'; } '97672cc7'; } '0ba97eaa'; - src where src.item.where(linkId='EmCare.B14S2.DE13').exists() and src.item.where(linkId='EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE35').empty() then { - src.item first as item where linkId = 'EmCare.B14S2.DE13' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE13').exists() and src.item.where(linkId='Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE35').empty() then { + src.item first as item where linkId = 'Ccc.B14S2.DE13' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de13emcareb14s2de35f(src,tgt) 'aca6e81a'; + src then CccobservationCccb14s2de13Cccb14s2de35f(src,tgt) 'aca6e81a'; } 'c68620da'; } 'be69b7d3'; } '12e78229'; } 'a1231c31'; - src where src.item.where(linkId='EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE36') then { - src.item first as item where linkId = 'EmCare.B14S2.DE13' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE36') then { + src.item first as item where linkId = 'Ccc.B14S2.DE13' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de13emcareb14s2de36t(src,tgt) 'ac250feb'; + src then CccobservationCccb14s2de13Cccb14s2de36t(src,tgt) 'ac250feb'; } 'e61326dd'; } '9cab4235'; } 'cc1e3733'; } 'fd0dd1e1'; - src where src.item.where(linkId='EmCare.B14S2.DE13').exists() and src.item.where(linkId='EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE36').empty() then { - src.item first as item where linkId = 'EmCare.B14S2.DE13' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE13').exists() and src.item.where(linkId='Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE36').empty() then { + src.item first as item where linkId = 'Ccc.B14S2.DE13' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de13emcareb14s2de36f(src,tgt) '6c995c67'; + src then CccobservationCccb14s2de13Cccb14s2de36f(src,tgt) '6c995c67'; } 'b2720395'; } '061de0de'; } 'e329544f'; } '6190a03e'; - src where src.item.where(linkId='EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE37') then { - src.item first as item where linkId = 'EmCare.B14S2.DE13' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE37') then { + src.item first as item where linkId = 'Ccc.B14S2.DE13' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de13emcareb14s2de37t(src,tgt) 'e70adb73'; + src then CccobservationCccb14s2de13Cccb14s2de37t(src,tgt) 'e70adb73'; } '4bc7d51a'; } 'cd87f1e7'; } '66356988'; } '1d47d233'; - src where src.item.where(linkId='EmCare.B14S2.DE13').exists() and src.item.where(linkId='EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE37').empty() then { - src.item first as item where linkId = 'EmCare.B14S2.DE13' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE13').exists() and src.item.where(linkId='Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE37').empty() then { + src.item first as item where linkId = 'Ccc.B14S2.DE13' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de13emcareb14s2de37f(src,tgt) '216b6583'; + src then CccobservationCccb14s2de13Cccb14s2de37f(src,tgt) '216b6583'; } '191d63ec'; } 'f1af8fee'; } '9b50cdfb'; } '1e5890e8'; - src.item first as item where linkId = 'EmCare.B14S2.DE19a' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE19a' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb14s2de19a(src, tgt) '001e9c80'; + src -> tgt then CccobservationCccb14s2de19a(src, tgt) '001e9c80'; } 'd2eb23fb'; } 'f21f5e42'; } '0b69df95'; - src.item first as item where linkId = 'EmCare.B14S2.DE22A' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE22A' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb14s2de22a(src, tgt) 'bccd876e'; + src -> tgt then CccobservationCccb14s2de22a(src, tgt) 'bccd876e'; } '95095060'; } '255ee6cb'; } 'd708ca5c'; - src.item first as item where linkId = 'EmCare.B14S2.DE23a' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE23a' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb14s2de23a(src, tgt) 'd2d3bcd4'; + src -> tgt then CccobservationCccb14s2de23a(src, tgt) 'd2d3bcd4'; } '990f2716'; } 'b0df7a91'; } 'c2f9a858'; - src.item first as item where linkId = 'EmCare.B14S2.DE24' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE24' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb14s2de24(src, tgt) 'fd1e1903'; + src -> tgt then CccobservationCccb14s2de24(src, tgt) 'fd1e1903'; } '8deeed15'; } '711ceb12'; } '2394e366'; - src.item first as item where linkId = 'EmCare.B14S2.DE30' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE30' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb14s2de30(src, tgt) '48133b0b'; + src -> tgt then CccobservationCccb14s2de30(src, tgt) '48133b0b'; } 'b13f149c'; } 'e8395f1e'; } 'a612d3de'; - src.item first as item where linkId = 'EmCare.B14S2.DE30b' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE30b' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb14s2de30b(src, tgt) 'e092d9f2'; + src -> tgt then CccobservationCccb14s2de30b(src, tgt) 'e092d9f2'; } '49fe0265'; } 'f83e6d8d'; } 'ee1ec67e'; - src.item first as item where linkId = 'EmCare.B14S2.DE31a' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE31a' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb14s2de31a(src, tgt) 'e36dddc9'; + src -> tgt then CccobservationCccb14s2de31a(src, tgt) 'e36dddc9'; } 'dd872982'; } 'ec36bfb0'; } '09b48cf7'; - src.item first as item where linkId = 'EmCare.B14S2.DE31b' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE31b' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb14s2de31b(src, tgt) 'a400e31e'; + src -> tgt then CccobservationCccb14s2de31b(src, tgt) 'a400e31e'; } '29aa3e32'; } '4d8d5769'; } '8023b5d8'; - src.item first as item where linkId = 'EmCare.B14S2.DE32a' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE32a' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb14s2de32a(src, tgt) 'ebc4362a'; + src -> tgt then CccobservationCccb14s2de32a(src, tgt) 'ebc4362a'; } '7b8431db'; } '63050b98'; } '7898f754'; - src.item first as item where linkId = 'EmCare.B14S2.DE34' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE34' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb14s2de34(src, tgt) '1b1e3f3d'; + src -> tgt then CccobservationCccb14s2de34(src, tgt) '1b1e3f3d'; } '92cdef51'; } '0f34721b'; } '5f2fd5be'; - src.item first as item where linkId = 'EmCare.B14S2.DE36a' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE36a' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb14s2de36a(src, tgt) '3a34cb4f'; + src -> tgt then CccobservationCccb14s2de36a(src, tgt) '3a34cb4f'; } 'cf05f31f'; } '62bf6f61'; } '9ab3add7'; - src.item first as item where linkId = 'EmCare.B14S2.DE36b' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE36b' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb14s2de36b(src, tgt) 'b4115e85'; + src -> tgt then CccobservationCccb14s2de36b(src, tgt) 'b4115e85'; } 'a80a9c42'; } '7cf10a5a'; } 'a41011e3'; - src.item first as item where linkId = 'EmCare.B14S2.DE36c' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE36c' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb14s2de36c(src, tgt) '714801e7'; + src -> tgt then CccobservationCccb14s2de36c(src, tgt) '714801e7'; } 'aed593a3'; } '10ad35b3'; } 'c7681e2f'; - src.item first as item where linkId = 'EmCare.B14S2.DE38' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE38' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb14s2de38(src, tgt) '695d29c8'; + src -> tgt then CccobservationCccb14s2de38(src, tgt) '695d29c8'; } 'dd9951a6'; } 'dbe4c0ed'; } '046ea4db'; - src where src.item.where(linkId='EmCare.B14S2.DE43').answer.where(value.code = 'EmCare.B14S2.DE44') then { - src.item first as item where linkId = 'EmCare.B14S2.DE43' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE44') then { + src.item first as item where linkId = 'Ccc.B14S2.DE43' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de43emcareb14s2de44t(src,tgt) '54047125'; + src then CccobservationCccb14s2de43Cccb14s2de44t(src,tgt) '54047125'; } '67759d25'; } 'b7a4c6f7'; } '2df98dca'; } '39bf7130'; - src where src.item.where(linkId='EmCare.B14S2.DE43').exists() and src.item.where(linkId='EmCare.B14S2.DE43').answer.where(value.code = 'EmCare.B14S2.DE44').empty() then { - src.item first as item where linkId = 'EmCare.B14S2.DE43' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE43').exists() and src.item.where(linkId='Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE44').empty() then { + src.item first as item where linkId = 'Ccc.B14S2.DE43' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de43emcareb14s2de44f(src,tgt) 'ff18b722'; + src then CccobservationCccb14s2de43Cccb14s2de44f(src,tgt) 'ff18b722'; } '7ce88931'; } 'd99ebaca'; } 'e398081f'; } '0b39dd54'; - src where src.item.where(linkId='EmCare.B14S2.DE43').answer.where(value.code = 'EmCare.B14S2.DE45') then { - src.item first as item where linkId = 'EmCare.B14S2.DE43' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE45') then { + src.item first as item where linkId = 'Ccc.B14S2.DE43' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de43emcareb14s2de45t(src,tgt) '3db9ce97'; + src then CccobservationCccb14s2de43Cccb14s2de45t(src,tgt) '3db9ce97'; } '2b1d1228'; } '694fcde8'; } '8d2528b2'; } '5702646c'; - src where src.item.where(linkId='EmCare.B14S2.DE43').exists() and src.item.where(linkId='EmCare.B14S2.DE43').answer.where(value.code = 'EmCare.B14S2.DE45').empty() then { - src.item first as item where linkId = 'EmCare.B14S2.DE43' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE43').exists() and src.item.where(linkId='Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE45').empty() then { + src.item first as item where linkId = 'Ccc.B14S2.DE43' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de43emcareb14s2de45f(src,tgt) '00fcb42e'; + src then CccobservationCccb14s2de43Cccb14s2de45f(src,tgt) '00fcb42e'; } 'be31bcba'; } 'b54e492c'; } '84ddf53c'; } '71ef3401'; - src where src.item.where(linkId='EmCare.B14S2.DE43').answer.where(value.code = 'EmCare.B14S2.DE46') then { - src.item first as item where linkId = 'EmCare.B14S2.DE43' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE46') then { + src.item first as item where linkId = 'Ccc.B14S2.DE43' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de43emcareb14s2de46t(src,tgt) '10098170'; + src then CccobservationCccb14s2de43Cccb14s2de46t(src,tgt) '10098170'; } '321eb396'; } '84fc742e'; } '75bfd082'; } '9a6c19cd'; - src where src.item.where(linkId='EmCare.B14S2.DE43').exists() and src.item.where(linkId='EmCare.B14S2.DE43').answer.where(value.code = 'EmCare.B14S2.DE46').empty() then { - src.item first as item where linkId = 'EmCare.B14S2.DE43' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE43').exists() and src.item.where(linkId='Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE46').empty() then { + src.item first as item where linkId = 'Ccc.B14S2.DE43' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de43emcareb14s2de46f(src,tgt) '6aa2bb98'; + src then CccobservationCccb14s2de43Cccb14s2de46f(src,tgt) '6aa2bb98'; } '71cfb393'; } '05fac2b4'; } 'f1cb924b'; } 'd52ab655'; - src where src.item.where(linkId='EmCare.B14S2.DE43').answer.where(value.code = 'EmCare.B14S2.DE47') then { - src.item first as item where linkId = 'EmCare.B14S2.DE43' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE47') then { + src.item first as item where linkId = 'Ccc.B14S2.DE43' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de43emcareb14s2de47t(src,tgt) '5e647793'; + src then CccobservationCccb14s2de43Cccb14s2de47t(src,tgt) '5e647793'; } 'f179975e'; } 'c179f0cb'; } '630de842'; } '2a472f41'; - src where src.item.where(linkId='EmCare.B14S2.DE43').exists() and src.item.where(linkId='EmCare.B14S2.DE43').answer.where(value.code = 'EmCare.B14S2.DE47').empty() then { - src.item first as item where linkId = 'EmCare.B14S2.DE43' and answer.exists() then { + src where src.item.where(linkId='Ccc.B14S2.DE43').exists() and src.item.where(linkId='Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE47').empty() then { + src.item first as item where linkId = 'Ccc.B14S2.DE43' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb14s2de43emcareb14s2de47f(src,tgt) '46287011'; + src then CccobservationCccb14s2de43Cccb14s2de47f(src,tgt) '46287011'; } '19fb566f'; } '4464667a'; } 'ff1524d9'; } '1d4733d3'; - src.item first as item where linkId = 'EmCare.B15S2.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B15S2.DE01' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb15s2de01(src, tgt) '0e40abb2'; + src -> tgt then CccobservationCccb15s2de01(src, tgt) '0e40abb2'; } '6b463abd'; } '75a9eb5b'; } 'f3f997c1'; - src.item first as item where linkId = 'EmCare.B15S2.DE09' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B15S2.DE09' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb15s2de09(src, tgt) '41e89548'; + src -> tgt then CccobservationCccb15s2de09(src, tgt) '41e89548'; } 'fbbb4fbf'; } 'ba468419'; } '91fe7c34'; - src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then { - itm1.item first as item where linkId = 'EmCare.B22.DE01' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then { + itm1.item first as item where linkId = 'Ccc.B22.DE01' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de01(src, tgt) '94788d70'; + src -> tgt then CccobservationCccb22de01(src, tgt) '94788d70'; } 'cafa1f90'; } '44017cb3'; } '1c5108b8'; } '88bb5c43'; - src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then { - itm1.item first as item where linkId = 'EmCare.B22.DE02' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then { + itm1.item first as item where linkId = 'Ccc.B22.DE02' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de02(src, tgt) 'c3e885af'; + src -> tgt then CccobservationCccb22de02(src, tgt) 'c3e885af'; } '60b301de'; } '815e425c'; } '85d3c3a3'; } 'c7e0dbc2'; - src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then { + src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then { itm1.item first as itm2 where linkId = 'second' then { - itm2.item first as item where linkId = 'EmCare.B22.DE04' and answer.exists() then { + itm2.item first as item where linkId = 'Ccc.B22.DE04' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de04(src, tgt) '42ed4c3a'; + src -> tgt then CccobservationCccb22de04(src, tgt) '42ed4c3a'; } 'b802d4a2'; } 'c7431f4f'; } 'ad5094ed'; } '3b2e9629'; } '318dfe75'; - src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then { + src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then { itm1.item first as itm2 where linkId = 'second' then { - itm2.item first as item where linkId = 'EmCare.B22.DE05' and answer.exists() then { + itm2.item first as item where linkId = 'Ccc.B22.DE05' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de05(src, tgt) '3be4cd34'; + src -> tgt then CccobservationCccb22de05(src, tgt) '3be4cd34'; } 'b7585bc2'; } '61b1a5c6'; } 'd9d928a7'; } '9853d168'; } 'c21c2c7c'; - src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then { - itm1.item first as item where linkId = 'EmCare.B22.DE07' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then { + itm1.item first as item where linkId = 'Ccc.B22.DE07' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de07(src, tgt) 'fa30cee1'; + src -> tgt then CccobservationCccb22de07(src, tgt) 'fa30cee1'; } 'aad75965'; } '8267defb'; } 'a2eebe03'; } '7ef76f25'; } -group emcareobservationemcareb10s2de03(source src,target tgt){ +group CccobservationCccb10s2de03(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb10s2de03'; + 'id-Cccb10s2de03'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B10S2.DE03' - 'code-emcareb10s2de03'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B10S2.DE03' + 'code-Cccb10s2de03'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B10S2.DE03' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B10S2.DE03' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb10s2de03'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb10s2de03'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb10s2de03'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb10s2de03'; } 'bdab9370'; } 'f8989270'; } -group emcareobservationemcareb10s2de04(source src,target tgt){ +group CccobservationCccb10s2de04(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb10s2de04'; + 'id-Cccb10s2de04'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B10S2.DE04' - 'code-emcareb10s2de04'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B10S2.DE04' + 'code-Cccb10s2de04'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B10S2.DE04' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B10S2.DE04' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb10s2de04'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb10s2de04'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb10s2de04'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb10s2de04'; } 'bdab9370'; } '84e99b62'; } -group emcareobservationemcareb10s2de05(source src,target tgt){ +group CccobservationCccb10s2de05(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb10s2de05'; + 'id-Cccb10s2de05'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B10S2.DE05' - 'code-emcareb10s2de05'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B10S2.DE05' + 'code-Cccb10s2de05'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B10S2.DE05' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B10S2.DE05' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb10s2de05'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb10s2de05'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb10s2de05'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb10s2de05'; } 'bdab9370'; } '822a6b5c'; } -group emcareobservationemcareb10s2de06(source src,target tgt){ +group CccobservationCccb10s2de06(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb10s2de06'; + 'id-Cccb10s2de06'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B10S2.DE06' - 'code-emcareb10s2de06'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B10S2.DE06' + 'code-Cccb10s2de06'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B10S2.DE06' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B10S2.DE06' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb10s2de06'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb10s2de06'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb10s2de06'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb10s2de06'; } 'bdab9370'; } 'ccfb93d4'; } -group emcareobservationemcareb10s2de07(source src,target tgt){ +group CccobservationCccb10s2de07(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb10s2de07'; + 'id-Cccb10s2de07'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B10S2.DE07' - 'code-emcareb10s2de07'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B10S2.DE07' + 'code-Cccb10s2de07'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -905,7 +905,7 @@ group emcareobservationemcareb10s2de07(source src,target tgt){ } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; src.item first as itm1 where linkId = 'Oxygen_Saturation' then { - itm1.item first as item where linkId = 'EmCare.B10S2.DE07' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B10S2.DE07' and answer.exists() then { item.answer first as a then { a.value as val -> tgt.value = val, tgt.status = 'final' 'afa0ccc0'; } 'd40466ff'; @@ -913,27 +913,27 @@ group emcareobservationemcareb10s2de07(source src,target tgt){ } 'c5b03c7d'; } -group emcareobservationemcareb11s2de01(source src,target tgt){ +group CccobservationCccb11s2de01(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb11s2de01'; + 'id-Cccb11s2de01'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B11S2.DE01' - 'code-emcareb11s2de01'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B11S2.DE01' + 'code-Cccb11s2de01'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B11S2.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B11S2.DE01' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'true' -> tgt.status = 'final',tgt.value = true '8a65aaa5'; @@ -942,27 +942,27 @@ group emcareobservationemcareb11s2de01(source src,target tgt){ } '52679414'; } -group emcareobservationemcareb11s2de02(source src,target tgt){ +group CccobservationCccb11s2de02(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb11s2de02'; + 'id-Cccb11s2de02'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B11S2.DE02' - 'code-emcareb11s2de02'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B11S2.DE02' + 'code-Cccb11s2de02'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B11S2.DE02' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B11S2.DE02' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' 'd0a13fda'; @@ -972,83 +972,83 @@ group emcareobservationemcareb11s2de02(source src,target tgt){ } '73bc942d'; } -group emcareobservationemcareb11s2de06(source src,target tgt){ +group CccobservationCccb11s2de06(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb11s2de06'; + 'id-Cccb11s2de06'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B11S2.DE06' - 'code-emcareb11s2de06'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B11S2.DE06' + 'code-Cccb11s2de06'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B11S2.DE06' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B11S2.DE06' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb11s2de06'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb11s2de06'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb11s2de06'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb11s2de06'; } 'bdab9370'; } '47e72c0c'; } -group emcareobservationemcareb17s1de01(source src,target tgt){ +group CccobservationCccb17s1de01(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb17s1de01'; + 'id-Cccb17s1de01'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B17S1.DE01' - 'code-emcareb17s1de01'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B17S1.DE01' + 'code-Cccb17s1de01'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B17S1.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B17S1.DE01' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb17s1de01'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb17s1de01'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb17s1de01'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb17s1de01'; } 'bdab9370'; } '11b37b57'; } -group emcareobservationemcareb17s1de02(source src,target tgt){ +group CccobservationCccb17s1de02(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb17s1de02'; + 'id-Cccb17s1de02'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B17S1.DE02' - 'code-emcareb17s1de02'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B17S1.DE02' + 'code-Cccb17s1de02'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B17S1.DE02' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B17S1.DE02' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' 'd0a13fda'; @@ -1058,55 +1058,55 @@ group emcareobservationemcareb17s1de02(source src,target tgt){ } '239f6c79'; } -group emcareobservationemcareb17s1de06(source src,target tgt){ +group CccobservationCccb17s1de06(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb17s1de06'; + 'id-Cccb17s1de06'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B17S1.DE06' - 'code-emcareb17s1de06'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B17S1.DE06' + 'code-Cccb17s1de06'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B17S1.DE06' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B17S1.DE06' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb17s1de06'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb17s1de06'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb17s1de06'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb17s1de06'; } 'bdab9370'; } '2dd51df6'; } -group emcareobservationemcareb17s1de07(source src,target tgt){ +group CccobservationCccb17s1de07(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb17s1de07'; + 'id-Cccb17s1de07'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B17S1.DE07' - 'code-emcareb17s1de07'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B17S1.DE07' + 'code-Cccb17s1de07'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B17S1.DE07' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B17S1.DE07' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' 'd0a13fda'; @@ -1116,83 +1116,83 @@ group emcareobservationemcareb17s1de07(source src,target tgt){ } '21ffdb9d'; } -group emcareobservationemcareb13s2de01(source src,target tgt){ +group CccobservationCccb13s2de01(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb13s2de01'; + 'id-Cccb13s2de01'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B13S2.DE01' - 'code-emcareb13s2de01'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B13S2.DE01' + 'code-Cccb13s2de01'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B13S2.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B13S2.DE01' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb13s2de01'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb13s2de01'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb13s2de01'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb13s2de01'; } 'bdab9370'; } 'eabd29fd'; } -group emcareobservationemcareb13s2de02(source src,target tgt){ +group CccobservationCccb13s2de02(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb13s2de02'; + 'id-Cccb13s2de02'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B13S2.DE02' - 'code-emcareb13s2de02'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B13S2.DE02' + 'code-Cccb13s2de02'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B13S2.DE02' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B13S2.DE02' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb13s2de02'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb13s2de02'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb13s2de02'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb13s2de02'; } 'bdab9370'; } '5b651554'; } -group emcareobservationemcareb13s2de03(source src,target tgt){ +group CccobservationCccb13s2de03(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb13s2de03'; + 'id-Cccb13s2de03'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B13S2.DE03' - 'code-emcareb13s2de03'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B13S2.DE03' + 'code-Cccb13s2de03'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B13S2.DE03' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B13S2.DE03' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' 'd0a13fda'; @@ -1202,216 +1202,216 @@ group emcareobservationemcareb13s2de03(source src,target tgt){ } 'b937d9f0'; } -group emcareobservationemcareb12s2de01(source src,target tgt){ +group CccobservationCccb12s2de01(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb12s2de01'; + 'id-Cccb12s2de01'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B12S2.DE01' - 'code-emcareb12s2de01'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B12S2.DE01' + 'code-Cccb12s2de01'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B12S2.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B12S2.DE01' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb12s2de01'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb12s2de01'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb12s2de01'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb12s2de01'; } 'bdab9370'; } 'de146d59'; } -group emcareobservationemcareb12s2de05(source src,target tgt){ +group CccobservationCccb12s2de05(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb12s2de05'; + 'id-Cccb12s2de05'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B12S2.DE05' - 'code-emcareb12s2de05'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B12S2.DE05' + 'code-Cccb12s2de05'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B12S2.DE05' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B12S2.DE05' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb12s2de05'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb12s2de05'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb12s2de05'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb12s2de05'; } 'bdab9370'; } 'c913991e'; } -group emcareobservationemcareb14s2de01(source src,target tgt){ +group CccobservationCccb14s2de01(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb14s2de01'; + 'id-Cccb14s2de01'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE01' - 'code-emcareb14s2de01'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE01' + 'code-Cccb14s2de01'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B14S2.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE01' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb14s2de01'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb14s2de01'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb14s2de01'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb14s2de01'; } 'bdab9370'; } 'ffbd856e'; } -group emcareobservationemcareb14s2de02(source src,target tgt){ +group CccobservationCccb14s2de02(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb14s2de02'; + 'id-Cccb14s2de02'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE02' - 'code-emcareb14s2de02'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE02' + 'code-Cccb14s2de02'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B14S2.DE02' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE02' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb14s2de02'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb14s2de02'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb14s2de02'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb14s2de02'; } 'bdab9370'; } '0fee727b'; } -group emcareobservationemcareb14s2de03(source src,target tgt){ +group CccobservationCccb14s2de03(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb14s2de03'; + 'id-Cccb14s2de03'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE03' - 'code-emcareb14s2de03'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE03' + 'code-Cccb14s2de03'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B14S2.DE03' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE03' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb14s2de03'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb14s2de03'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb14s2de03'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb14s2de03'; } 'bdab9370'; } '35101ce1'; } -group emcareobservationemcareb14s2de04(source src,target tgt){ +group CccobservationCccb14s2de04(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb14s2de04'; + 'id-Cccb14s2de04'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE04' - 'code-emcareb14s2de04'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE04' + 'code-Cccb14s2de04'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B14S2.DE04' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE04' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb14s2de04'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb14s2de04'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb14s2de04'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb14s2de04'; } 'bdab9370'; } 'b57020c5'; } -group emcareobservationemcareb14s2de05(source src,target tgt){ +group CccobservationCccb14s2de05(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb14s2de05'; + 'id-Cccb14s2de05'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE05' - 'code-emcareb14s2de05'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE05' + 'code-Cccb14s2de05'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B14S2.DE05' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE05' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb14s2de05'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb14s2de05'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb14s2de05'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb14s2de05'; } 'bdab9370'; } '0b745de8'; } -group emcareobservationemcareb14s2de06emcareb14s2de07t(source src,target tgt){ +group CccobservationCccb14s2de06Cccb14s2de07t(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de06emcareb14s2de07t'; + 'id-CccobservationCccb14s2de06Cccb14s2de07t'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE06&EmCare.B14S2.DE07' - 'code-emcareobservationemcareb14s2de06emcareb14s2de07t'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE06&Ccc.B14S2.DE07' + 'code-CccobservationCccb14s2de06Cccb14s2de07t'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -1421,20 +1421,20 @@ group emcareobservationemcareb14s2de06emcareb14s2de07t(source src,target tgt){ src -> tgt.status = 'final', tgt.value = true 'e9d639e1'; } -group emcareobservationemcareb14s2de06emcareb14s2de07f(source src,target tgt){ +group CccobservationCccb14s2de06Cccb14s2de07f(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de06emcareb14s2de07f'; + 'id-CccobservationCccb14s2de06Cccb14s2de07f'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE06&EmCare.B14S2.DE07' - 'code-emcareobservationemcareb14s2de06emcareb14s2de07f'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE06&Ccc.B14S2.DE07' + 'code-CccobservationCccb14s2de06Cccb14s2de07f'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -1444,20 +1444,20 @@ group emcareobservationemcareb14s2de06emcareb14s2de07f(source src,target tgt){ src -> tgt.status = 'cancelled',tgt.value = false 'f21d6e36'; } -group emcareobservationemcareb14s2de06emcareb14s2de08t(source src,target tgt){ +group CccobservationCccb14s2de06Cccb14s2de08t(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de06emcareb14s2de08t'; + 'id-CccobservationCccb14s2de06Cccb14s2de08t'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE06&EmCare.B14S2.DE08' - 'code-emcareobservationemcareb14s2de06emcareb14s2de08t'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE06&Ccc.B14S2.DE08' + 'code-CccobservationCccb14s2de06Cccb14s2de08t'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -1467,20 +1467,20 @@ group emcareobservationemcareb14s2de06emcareb14s2de08t(source src,target tgt){ src -> tgt.status = 'final', tgt.value = true 'e9d639e1'; } -group emcareobservationemcareb14s2de06emcareb14s2de08f(source src,target tgt){ +group CccobservationCccb14s2de06Cccb14s2de08f(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de06emcareb14s2de08f'; + 'id-CccobservationCccb14s2de06Cccb14s2de08f'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE06&EmCare.B14S2.DE08' - 'code-emcareobservationemcareb14s2de06emcareb14s2de08f'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE06&Ccc.B14S2.DE08' + 'code-CccobservationCccb14s2de06Cccb14s2de08f'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -1490,20 +1490,20 @@ group emcareobservationemcareb14s2de06emcareb14s2de08f(source src,target tgt){ src -> tgt.status = 'cancelled',tgt.value = false 'f21d6e36'; } -group emcareobservationemcareb14s2de06emcareb14s2de09t(source src,target tgt){ +group CccobservationCccb14s2de06Cccb14s2de09t(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de06emcareb14s2de09t'; + 'id-CccobservationCccb14s2de06Cccb14s2de09t'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE06&EmCare.B14S2.DE09' - 'code-emcareobservationemcareb14s2de06emcareb14s2de09t'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE06&Ccc.B14S2.DE09' + 'code-CccobservationCccb14s2de06Cccb14s2de09t'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -1513,20 +1513,20 @@ group emcareobservationemcareb14s2de06emcareb14s2de09t(source src,target tgt){ src -> tgt.status = 'final', tgt.value = true 'e9d639e1'; } -group emcareobservationemcareb14s2de06emcareb14s2de09f(source src,target tgt){ +group CccobservationCccb14s2de06Cccb14s2de09f(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de06emcareb14s2de09f'; + 'id-CccobservationCccb14s2de06Cccb14s2de09f'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE06&EmCare.B14S2.DE09' - 'code-emcareobservationemcareb14s2de06emcareb14s2de09f'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE06&Ccc.B14S2.DE09' + 'code-CccobservationCccb14s2de06Cccb14s2de09f'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -1536,104 +1536,104 @@ group emcareobservationemcareb14s2de06emcareb14s2de09f(source src,target tgt){ src -> tgt.status = 'cancelled',tgt.value = false 'f21d6e36'; } -group emcareobservationemcareb14s2de10(source src,target tgt){ +group CccobservationCccb14s2de10(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb14s2de10'; + 'id-Cccb14s2de10'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE10' - 'code-emcareb14s2de10'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE10' + 'code-Cccb14s2de10'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B14S2.DE10' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE10' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb14s2de10'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb14s2de10'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb14s2de10'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb14s2de10'; } 'bdab9370'; } '686fa0c0'; } -group emcareobservationemcareb14s2de11(source src,target tgt){ +group CccobservationCccb14s2de11(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb14s2de11'; + 'id-Cccb14s2de11'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE11' - 'code-emcareb14s2de11'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE11' + 'code-Cccb14s2de11'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B14S2.DE11' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE11' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb14s2de11'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb14s2de11'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb14s2de11'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb14s2de11'; } 'bdab9370'; } '9d9704d8'; } -group emcareobservationemcareb14s2de12(source src,target tgt){ +group CccobservationCccb14s2de12(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb14s2de12'; + 'id-Cccb14s2de12'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE12' - 'code-emcareb14s2de12'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE12' + 'code-Cccb14s2de12'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B14S2.DE12' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE12' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb14s2de12'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb14s2de12'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb14s2de12'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb14s2de12'; } 'bdab9370'; } '51199b07'; } -group emcareobservationemcareb14s2de13emcareb14s2de18t(source src,target tgt){ +group CccobservationCccb14s2de13Cccb14s2de18t(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de13emcareb14s2de18t'; + 'id-CccobservationCccb14s2de13Cccb14s2de18t'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE18' - 'code-emcareobservationemcareb14s2de13emcareb14s2de18t'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE18' + 'code-CccobservationCccb14s2de13Cccb14s2de18t'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -1643,20 +1643,20 @@ group emcareobservationemcareb14s2de13emcareb14s2de18t(source src,target tgt){ src -> tgt.status = 'final', tgt.value = true 'e9d639e1'; } -group emcareobservationemcareb14s2de13emcareb14s2de18f(source src,target tgt){ +group CccobservationCccb14s2de13Cccb14s2de18f(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de13emcareb14s2de18f'; + 'id-CccobservationCccb14s2de13Cccb14s2de18f'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE18' - 'code-emcareobservationemcareb14s2de13emcareb14s2de18f'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE18' + 'code-CccobservationCccb14s2de13Cccb14s2de18f'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -1666,20 +1666,20 @@ group emcareobservationemcareb14s2de13emcareb14s2de18f(source src,target tgt){ src -> tgt.status = 'cancelled',tgt.value = false 'f21d6e36'; } -group emcareobservationemcareb14s2de13emcareb14s2de19t(source src,target tgt){ +group CccobservationCccb14s2de13Cccb14s2de19t(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de13emcareb14s2de19t'; + 'id-CccobservationCccb14s2de13Cccb14s2de19t'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE19' - 'code-emcareobservationemcareb14s2de13emcareb14s2de19t'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE19' + 'code-CccobservationCccb14s2de13Cccb14s2de19t'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -1689,20 +1689,20 @@ group emcareobservationemcareb14s2de13emcareb14s2de19t(source src,target tgt){ src -> tgt.status = 'final', tgt.value = true 'e9d639e1'; } -group emcareobservationemcareb14s2de13emcareb14s2de19f(source src,target tgt){ +group CccobservationCccb14s2de13Cccb14s2de19f(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de13emcareb14s2de19f'; + 'id-CccobservationCccb14s2de13Cccb14s2de19f'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE19' - 'code-emcareobservationemcareb14s2de13emcareb14s2de19f'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE19' + 'code-CccobservationCccb14s2de13Cccb14s2de19f'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -1712,20 +1712,20 @@ group emcareobservationemcareb14s2de13emcareb14s2de19f(source src,target tgt){ src -> tgt.status = 'cancelled',tgt.value = false 'f21d6e36'; } -group emcareobservationemcareb14s2de13emcareb14s2de21t(source src,target tgt){ +group CccobservationCccb14s2de13Cccb14s2de21t(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de13emcareb14s2de21t'; + 'id-CccobservationCccb14s2de13Cccb14s2de21t'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE21' - 'code-emcareobservationemcareb14s2de13emcareb14s2de21t'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE21' + 'code-CccobservationCccb14s2de13Cccb14s2de21t'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -1735,20 +1735,20 @@ group emcareobservationemcareb14s2de13emcareb14s2de21t(source src,target tgt){ src -> tgt.status = 'final', tgt.value = true 'e9d639e1'; } -group emcareobservationemcareb14s2de13emcareb14s2de21f(source src,target tgt){ +group CccobservationCccb14s2de13Cccb14s2de21f(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de13emcareb14s2de21f'; + 'id-CccobservationCccb14s2de13Cccb14s2de21f'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE21' - 'code-emcareobservationemcareb14s2de13emcareb14s2de21f'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE21' + 'code-CccobservationCccb14s2de13Cccb14s2de21f'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -1758,20 +1758,20 @@ group emcareobservationemcareb14s2de13emcareb14s2de21f(source src,target tgt){ src -> tgt.status = 'cancelled',tgt.value = false 'f21d6e36'; } -group emcareobservationemcareb14s2de13emcareb14s2de22t(source src,target tgt){ +group CccobservationCccb14s2de13Cccb14s2de22t(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de13emcareb14s2de22t'; + 'id-CccobservationCccb14s2de13Cccb14s2de22t'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE22' - 'code-emcareobservationemcareb14s2de13emcareb14s2de22t'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE22' + 'code-CccobservationCccb14s2de13Cccb14s2de22t'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -1781,20 +1781,20 @@ group emcareobservationemcareb14s2de13emcareb14s2de22t(source src,target tgt){ src -> tgt.status = 'final', tgt.value = true 'e9d639e1'; } -group emcareobservationemcareb14s2de13emcareb14s2de22f(source src,target tgt){ +group CccobservationCccb14s2de13Cccb14s2de22f(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de13emcareb14s2de22f'; + 'id-CccobservationCccb14s2de13Cccb14s2de22f'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE22' - 'code-emcareobservationemcareb14s2de13emcareb14s2de22f'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE22' + 'code-CccobservationCccb14s2de13Cccb14s2de22f'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -1804,20 +1804,20 @@ group emcareobservationemcareb14s2de13emcareb14s2de22f(source src,target tgt){ src -> tgt.status = 'cancelled',tgt.value = false 'f21d6e36'; } -group emcareobservationemcareb14s2de13emcareb14s2de23t(source src,target tgt){ +group CccobservationCccb14s2de13Cccb14s2de23t(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de13emcareb14s2de23t'; + 'id-CccobservationCccb14s2de13Cccb14s2de23t'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE23' - 'code-emcareobservationemcareb14s2de13emcareb14s2de23t'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE23' + 'code-CccobservationCccb14s2de13Cccb14s2de23t'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -1827,20 +1827,20 @@ group emcareobservationemcareb14s2de13emcareb14s2de23t(source src,target tgt){ src -> tgt.status = 'final', tgt.value = true 'e9d639e1'; } -group emcareobservationemcareb14s2de13emcareb14s2de23f(source src,target tgt){ +group CccobservationCccb14s2de13Cccb14s2de23f(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de13emcareb14s2de23f'; + 'id-CccobservationCccb14s2de13Cccb14s2de23f'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE23' - 'code-emcareobservationemcareb14s2de13emcareb14s2de23f'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE23' + 'code-CccobservationCccb14s2de13Cccb14s2de23f'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -1850,20 +1850,20 @@ group emcareobservationemcareb14s2de13emcareb14s2de23f(source src,target tgt){ src -> tgt.status = 'cancelled',tgt.value = false 'f21d6e36'; } -group emcareobservationemcareb14s2de13emcareb14s2de25t(source src,target tgt){ +group CccobservationCccb14s2de13Cccb14s2de25t(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de13emcareb14s2de25t'; + 'id-CccobservationCccb14s2de13Cccb14s2de25t'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE25' - 'code-emcareobservationemcareb14s2de13emcareb14s2de25t'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE25' + 'code-CccobservationCccb14s2de13Cccb14s2de25t'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -1873,20 +1873,20 @@ group emcareobservationemcareb14s2de13emcareb14s2de25t(source src,target tgt){ src -> tgt.status = 'final', tgt.value = true 'e9d639e1'; } -group emcareobservationemcareb14s2de13emcareb14s2de25f(source src,target tgt){ +group CccobservationCccb14s2de13Cccb14s2de25f(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de13emcareb14s2de25f'; + 'id-CccobservationCccb14s2de13Cccb14s2de25f'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE25' - 'code-emcareobservationemcareb14s2de13emcareb14s2de25f'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE25' + 'code-CccobservationCccb14s2de13Cccb14s2de25f'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -1896,20 +1896,20 @@ group emcareobservationemcareb14s2de13emcareb14s2de25f(source src,target tgt){ src -> tgt.status = 'cancelled',tgt.value = false 'f21d6e36'; } -group emcareobservationemcareb14s2de13emcareb14s2de31t(source src,target tgt){ +group CccobservationCccb14s2de13Cccb14s2de31t(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de13emcareb14s2de31t'; + 'id-CccobservationCccb14s2de13Cccb14s2de31t'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE31' - 'code-emcareobservationemcareb14s2de13emcareb14s2de31t'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE31' + 'code-CccobservationCccb14s2de13Cccb14s2de31t'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -1919,20 +1919,20 @@ group emcareobservationemcareb14s2de13emcareb14s2de31t(source src,target tgt){ src -> tgt.status = 'final', tgt.value = true 'e9d639e1'; } -group emcareobservationemcareb14s2de13emcareb14s2de31f(source src,target tgt){ +group CccobservationCccb14s2de13Cccb14s2de31f(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de13emcareb14s2de31f'; + 'id-CccobservationCccb14s2de13Cccb14s2de31f'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE31' - 'code-emcareobservationemcareb14s2de13emcareb14s2de31f'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE31' + 'code-CccobservationCccb14s2de13Cccb14s2de31f'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -1942,20 +1942,20 @@ group emcareobservationemcareb14s2de13emcareb14s2de31f(source src,target tgt){ src -> tgt.status = 'cancelled',tgt.value = false 'f21d6e36'; } -group emcareobservationemcareb14s2de13emcareb14s2de32t(source src,target tgt){ +group CccobservationCccb14s2de13Cccb14s2de32t(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de13emcareb14s2de32t'; + 'id-CccobservationCccb14s2de13Cccb14s2de32t'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE32' - 'code-emcareobservationemcareb14s2de13emcareb14s2de32t'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE32' + 'code-CccobservationCccb14s2de13Cccb14s2de32t'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -1965,20 +1965,20 @@ group emcareobservationemcareb14s2de13emcareb14s2de32t(source src,target tgt){ src -> tgt.status = 'final', tgt.value = true 'e9d639e1'; } -group emcareobservationemcareb14s2de13emcareb14s2de32f(source src,target tgt){ +group CccobservationCccb14s2de13Cccb14s2de32f(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de13emcareb14s2de32f'; + 'id-CccobservationCccb14s2de13Cccb14s2de32f'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE32' - 'code-emcareobservationemcareb14s2de13emcareb14s2de32f'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE32' + 'code-CccobservationCccb14s2de13Cccb14s2de32f'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -1988,20 +1988,20 @@ group emcareobservationemcareb14s2de13emcareb14s2de32f(source src,target tgt){ src -> tgt.status = 'cancelled',tgt.value = false 'f21d6e36'; } -group emcareobservationemcareb14s2de13emcareb14s2de33t(source src,target tgt){ +group CccobservationCccb14s2de13Cccb14s2de33t(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de13emcareb14s2de33t'; + 'id-CccobservationCccb14s2de13Cccb14s2de33t'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE33' - 'code-emcareobservationemcareb14s2de13emcareb14s2de33t'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE33' + 'code-CccobservationCccb14s2de13Cccb14s2de33t'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -2011,20 +2011,20 @@ group emcareobservationemcareb14s2de13emcareb14s2de33t(source src,target tgt){ src -> tgt.status = 'final', tgt.value = true 'e9d639e1'; } -group emcareobservationemcareb14s2de13emcareb14s2de33f(source src,target tgt){ +group CccobservationCccb14s2de13Cccb14s2de33f(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de13emcareb14s2de33f'; + 'id-CccobservationCccb14s2de13Cccb14s2de33f'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE33' - 'code-emcareobservationemcareb14s2de13emcareb14s2de33f'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE33' + 'code-CccobservationCccb14s2de13Cccb14s2de33f'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -2034,20 +2034,20 @@ group emcareobservationemcareb14s2de13emcareb14s2de33f(source src,target tgt){ src -> tgt.status = 'cancelled',tgt.value = false 'f21d6e36'; } -group emcareobservationemcareb14s2de13emcareb14s2de35t(source src,target tgt){ +group CccobservationCccb14s2de13Cccb14s2de35t(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de13emcareb14s2de35t'; + 'id-CccobservationCccb14s2de13Cccb14s2de35t'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE35' - 'code-emcareobservationemcareb14s2de13emcareb14s2de35t'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE35' + 'code-CccobservationCccb14s2de13Cccb14s2de35t'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -2057,20 +2057,20 @@ group emcareobservationemcareb14s2de13emcareb14s2de35t(source src,target tgt){ src -> tgt.status = 'final', tgt.value = true 'e9d639e1'; } -group emcareobservationemcareb14s2de13emcareb14s2de35f(source src,target tgt){ +group CccobservationCccb14s2de13Cccb14s2de35f(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de13emcareb14s2de35f'; + 'id-CccobservationCccb14s2de13Cccb14s2de35f'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE35' - 'code-emcareobservationemcareb14s2de13emcareb14s2de35f'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE35' + 'code-CccobservationCccb14s2de13Cccb14s2de35f'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -2080,20 +2080,20 @@ group emcareobservationemcareb14s2de13emcareb14s2de35f(source src,target tgt){ src -> tgt.status = 'cancelled',tgt.value = false 'f21d6e36'; } -group emcareobservationemcareb14s2de13emcareb14s2de36t(source src,target tgt){ +group CccobservationCccb14s2de13Cccb14s2de36t(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de13emcareb14s2de36t'; + 'id-CccobservationCccb14s2de13Cccb14s2de36t'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE36' - 'code-emcareobservationemcareb14s2de13emcareb14s2de36t'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE36' + 'code-CccobservationCccb14s2de13Cccb14s2de36t'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -2103,20 +2103,20 @@ group emcareobservationemcareb14s2de13emcareb14s2de36t(source src,target tgt){ src -> tgt.status = 'final', tgt.value = true 'e9d639e1'; } -group emcareobservationemcareb14s2de13emcareb14s2de36f(source src,target tgt){ +group CccobservationCccb14s2de13Cccb14s2de36f(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de13emcareb14s2de36f'; + 'id-CccobservationCccb14s2de13Cccb14s2de36f'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE36' - 'code-emcareobservationemcareb14s2de13emcareb14s2de36f'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE36' + 'code-CccobservationCccb14s2de13Cccb14s2de36f'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -2126,20 +2126,20 @@ group emcareobservationemcareb14s2de13emcareb14s2de36f(source src,target tgt){ src -> tgt.status = 'cancelled',tgt.value = false 'f21d6e36'; } -group emcareobservationemcareb14s2de13emcareb14s2de37t(source src,target tgt){ +group CccobservationCccb14s2de13Cccb14s2de37t(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de13emcareb14s2de37t'; + 'id-CccobservationCccb14s2de13Cccb14s2de37t'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE37' - 'code-emcareobservationemcareb14s2de13emcareb14s2de37t'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE37' + 'code-CccobservationCccb14s2de13Cccb14s2de37t'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -2149,20 +2149,20 @@ group emcareobservationemcareb14s2de13emcareb14s2de37t(source src,target tgt){ src -> tgt.status = 'final', tgt.value = true 'e9d639e1'; } -group emcareobservationemcareb14s2de13emcareb14s2de37f(source src,target tgt){ +group CccobservationCccb14s2de13Cccb14s2de37f(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de13emcareb14s2de37f'; + 'id-CccobservationCccb14s2de13Cccb14s2de37f'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE37' - 'code-emcareobservationemcareb14s2de13emcareb14s2de37f'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE37' + 'code-CccobservationCccb14s2de13Cccb14s2de37f'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -2172,391 +2172,391 @@ group emcareobservationemcareb14s2de13emcareb14s2de37f(source src,target tgt){ src -> tgt.status = 'cancelled',tgt.value = false 'f21d6e36'; } -group emcareobservationemcareb14s2de19a(source src,target tgt){ +group CccobservationCccb14s2de19a(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb14s2de19a'; + 'id-Cccb14s2de19a'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE19a' - 'code-emcareb14s2de19a'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE19a' + 'code-Cccb14s2de19a'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B14S2.DE19a' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE19a' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb14s2de19a'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb14s2de19a'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb14s2de19a'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb14s2de19a'; } 'bdab9370'; } '7704f1e6'; } -group emcareobservationemcareb14s2de22a(source src,target tgt){ +group CccobservationCccb14s2de22a(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb14s2de22a'; + 'id-Cccb14s2de22a'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE22A' - 'code-emcareb14s2de22a'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE22A' + 'code-Cccb14s2de22a'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B14S2.DE22A' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE22A' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb14s2de22a'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb14s2de22a'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb14s2de22a'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb14s2de22a'; } 'bdab9370'; } '34b4bff4'; } -group emcareobservationemcareb14s2de23a(source src,target tgt){ +group CccobservationCccb14s2de23a(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb14s2de23a'; + 'id-Cccb14s2de23a'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE23a' - 'code-emcareb14s2de23a'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE23a' + 'code-Cccb14s2de23a'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B14S2.DE23a' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE23a' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb14s2de23a'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb14s2de23a'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb14s2de23a'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb14s2de23a'; } 'bdab9370'; } 'cbc06169'; } -group emcareobservationemcareb14s2de24(source src,target tgt){ +group CccobservationCccb14s2de24(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb14s2de24'; + 'id-Cccb14s2de24'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE24' - 'code-emcareb14s2de24'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE24' + 'code-Cccb14s2de24'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B14S2.DE24' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE24' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb14s2de24'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb14s2de24'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb14s2de24'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb14s2de24'; } 'bdab9370'; } 'a8bffbd0'; } -group emcareobservationemcareb14s2de30(source src,target tgt){ +group CccobservationCccb14s2de30(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb14s2de30'; + 'id-Cccb14s2de30'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE30' - 'code-emcareb14s2de30'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE30' + 'code-Cccb14s2de30'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B14S2.DE30' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE30' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb14s2de30'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb14s2de30'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb14s2de30'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb14s2de30'; } 'bdab9370'; } '5c4c116c'; } -group emcareobservationemcareb14s2de30b(source src,target tgt){ +group CccobservationCccb14s2de30b(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb14s2de30b'; + 'id-Cccb14s2de30b'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE30b' - 'code-emcareb14s2de30b'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE30b' + 'code-Cccb14s2de30b'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B14S2.DE30b' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE30b' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb14s2de30b'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb14s2de30b'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb14s2de30b'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb14s2de30b'; } 'bdab9370'; } 'b2203142'; } -group emcareobservationemcareb14s2de31a(source src,target tgt){ +group CccobservationCccb14s2de31a(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb14s2de31a'; + 'id-Cccb14s2de31a'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE31a' - 'code-emcareb14s2de31a'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE31a' + 'code-Cccb14s2de31a'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B14S2.DE31a' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE31a' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb14s2de31a'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb14s2de31a'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb14s2de31a'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb14s2de31a'; } 'bdab9370'; } 'c1d62dd8'; } -group emcareobservationemcareb14s2de31b(source src,target tgt){ +group CccobservationCccb14s2de31b(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb14s2de31b'; + 'id-Cccb14s2de31b'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE31b' - 'code-emcareb14s2de31b'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE31b' + 'code-Cccb14s2de31b'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B14S2.DE31b' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE31b' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb14s2de31b'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb14s2de31b'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb14s2de31b'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb14s2de31b'; } 'bdab9370'; } '53c39908'; } -group emcareobservationemcareb14s2de32a(source src,target tgt){ +group CccobservationCccb14s2de32a(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb14s2de32a'; + 'id-Cccb14s2de32a'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE32a' - 'code-emcareb14s2de32a'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE32a' + 'code-Cccb14s2de32a'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B14S2.DE32a' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE32a' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb14s2de32a'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb14s2de32a'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb14s2de32a'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb14s2de32a'; } 'bdab9370'; } 'a295ad88'; } -group emcareobservationemcareb14s2de34(source src,target tgt){ +group CccobservationCccb14s2de34(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb14s2de34'; + 'id-Cccb14s2de34'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE34' - 'code-emcareb14s2de34'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE34' + 'code-Cccb14s2de34'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B14S2.DE34' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE34' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb14s2de34'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb14s2de34'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb14s2de34'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb14s2de34'; } 'bdab9370'; } '6bc4a7ea'; } -group emcareobservationemcareb14s2de36a(source src,target tgt){ +group CccobservationCccb14s2de36a(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb14s2de36a'; + 'id-Cccb14s2de36a'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE36a' - 'code-emcareb14s2de36a'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE36a' + 'code-Cccb14s2de36a'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B14S2.DE36a' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE36a' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb14s2de36a'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb14s2de36a'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb14s2de36a'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb14s2de36a'; } 'bdab9370'; } '72b21d5c'; } -group emcareobservationemcareb14s2de36b(source src,target tgt){ +group CccobservationCccb14s2de36b(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb14s2de36b'; + 'id-Cccb14s2de36b'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE36b' - 'code-emcareb14s2de36b'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE36b' + 'code-Cccb14s2de36b'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B14S2.DE36b' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE36b' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb14s2de36b'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb14s2de36b'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb14s2de36b'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb14s2de36b'; } 'bdab9370'; } 'd3720173'; } -group emcareobservationemcareb14s2de36c(source src,target tgt){ +group CccobservationCccb14s2de36c(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb14s2de36c'; + 'id-Cccb14s2de36c'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE36c' - 'code-emcareb14s2de36c'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE36c' + 'code-Cccb14s2de36c'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B14S2.DE36c' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE36c' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb14s2de36c'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb14s2de36c'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb14s2de36c'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb14s2de36c'; } 'bdab9370'; } '4f384bfd'; } -group emcareobservationemcareb14s2de38(source src,target tgt){ +group CccobservationCccb14s2de38(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb14s2de38'; + 'id-Cccb14s2de38'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE38' - 'code-emcareb14s2de38'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE38' + 'code-Cccb14s2de38'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B14S2.DE38' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B14S2.DE38' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' 'd0a13fda'; @@ -2566,20 +2566,20 @@ group emcareobservationemcareb14s2de38(source src,target tgt){ } 'd40efaa7'; } -group emcareobservationemcareb14s2de43emcareb14s2de44t(source src,target tgt){ +group CccobservationCccb14s2de43Cccb14s2de44t(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de43emcareb14s2de44t'; + 'id-CccobservationCccb14s2de43Cccb14s2de44t'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE43&EmCare.B14S2.DE44' - 'code-emcareobservationemcareb14s2de43emcareb14s2de44t'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE43&Ccc.B14S2.DE44' + 'code-CccobservationCccb14s2de43Cccb14s2de44t'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -2589,20 +2589,20 @@ group emcareobservationemcareb14s2de43emcareb14s2de44t(source src,target tgt){ src -> tgt.status = 'final', tgt.value = true 'e9d639e1'; } -group emcareobservationemcareb14s2de43emcareb14s2de44f(source src,target tgt){ +group CccobservationCccb14s2de43Cccb14s2de44f(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de43emcareb14s2de44f'; + 'id-CccobservationCccb14s2de43Cccb14s2de44f'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE43&EmCare.B14S2.DE44' - 'code-emcareobservationemcareb14s2de43emcareb14s2de44f'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE43&Ccc.B14S2.DE44' + 'code-CccobservationCccb14s2de43Cccb14s2de44f'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -2612,20 +2612,20 @@ group emcareobservationemcareb14s2de43emcareb14s2de44f(source src,target tgt){ src -> tgt.status = 'cancelled',tgt.value = false 'f21d6e36'; } -group emcareobservationemcareb14s2de43emcareb14s2de45t(source src,target tgt){ +group CccobservationCccb14s2de43Cccb14s2de45t(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de43emcareb14s2de45t'; + 'id-CccobservationCccb14s2de43Cccb14s2de45t'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE43&EmCare.B14S2.DE45' - 'code-emcareobservationemcareb14s2de43emcareb14s2de45t'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE43&Ccc.B14S2.DE45' + 'code-CccobservationCccb14s2de43Cccb14s2de45t'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -2635,20 +2635,20 @@ group emcareobservationemcareb14s2de43emcareb14s2de45t(source src,target tgt){ src -> tgt.status = 'final', tgt.value = true 'e9d639e1'; } -group emcareobservationemcareb14s2de43emcareb14s2de45f(source src,target tgt){ +group CccobservationCccb14s2de43Cccb14s2de45f(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de43emcareb14s2de45f'; + 'id-CccobservationCccb14s2de43Cccb14s2de45f'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE43&EmCare.B14S2.DE45' - 'code-emcareobservationemcareb14s2de43emcareb14s2de45f'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE43&Ccc.B14S2.DE45' + 'code-CccobservationCccb14s2de43Cccb14s2de45f'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -2658,20 +2658,20 @@ group emcareobservationemcareb14s2de43emcareb14s2de45f(source src,target tgt){ src -> tgt.status = 'cancelled',tgt.value = false 'f21d6e36'; } -group emcareobservationemcareb14s2de43emcareb14s2de46t(source src,target tgt){ +group CccobservationCccb14s2de43Cccb14s2de46t(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de43emcareb14s2de46t'; + 'id-CccobservationCccb14s2de43Cccb14s2de46t'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE43&EmCare.B14S2.DE46' - 'code-emcareobservationemcareb14s2de43emcareb14s2de46t'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE43&Ccc.B14S2.DE46' + 'code-CccobservationCccb14s2de43Cccb14s2de46t'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -2681,20 +2681,20 @@ group emcareobservationemcareb14s2de43emcareb14s2de46t(source src,target tgt){ src -> tgt.status = 'final', tgt.value = true 'e9d639e1'; } -group emcareobservationemcareb14s2de43emcareb14s2de46f(source src,target tgt){ +group CccobservationCccb14s2de43Cccb14s2de46f(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de43emcareb14s2de46f'; + 'id-CccobservationCccb14s2de43Cccb14s2de46f'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE43&EmCare.B14S2.DE46' - 'code-emcareobservationemcareb14s2de43emcareb14s2de46f'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE43&Ccc.B14S2.DE46' + 'code-CccobservationCccb14s2de43Cccb14s2de46f'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -2704,20 +2704,20 @@ group emcareobservationemcareb14s2de43emcareb14s2de46f(source src,target tgt){ src -> tgt.status = 'cancelled',tgt.value = false 'f21d6e36'; } -group emcareobservationemcareb14s2de43emcareb14s2de47t(source src,target tgt){ +group CccobservationCccb14s2de43Cccb14s2de47t(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de43emcareb14s2de47t'; + 'id-CccobservationCccb14s2de43Cccb14s2de47t'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE43&EmCare.B14S2.DE47' - 'code-emcareobservationemcareb14s2de43emcareb14s2de47t'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE43&Ccc.B14S2.DE47' + 'code-CccobservationCccb14s2de43Cccb14s2de47t'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -2727,20 +2727,20 @@ group emcareobservationemcareb14s2de43emcareb14s2de47t(source src,target tgt){ src -> tgt.status = 'final', tgt.value = true 'e9d639e1'; } -group emcareobservationemcareb14s2de43emcareb14s2de47f(source src,target tgt){ +group CccobservationCccb14s2de43Cccb14s2de47f(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb14s2de43emcareb14s2de47f'; + 'id-CccobservationCccb14s2de43Cccb14s2de47f'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B14S2.DE43&EmCare.B14S2.DE47' - 'code-emcareobservationemcareb14s2de43emcareb14s2de47f'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B14S2.DE43&Ccc.B14S2.DE47' + 'code-CccobservationCccb14s2de43Cccb14s2de47f'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -2750,27 +2750,27 @@ group emcareobservationemcareb14s2de43emcareb14s2de47f(source src,target tgt){ src -> tgt.status = 'cancelled',tgt.value = false 'f21d6e36'; } -group emcareobservationemcareb15s2de01(source src,target tgt){ +group CccobservationCccb15s2de01(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb15s2de01'; + 'id-Cccb15s2de01'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B15S2.DE01' - 'code-emcareb15s2de01'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B15S2.DE01' + 'code-Cccb15s2de01'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B15S2.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B15S2.DE01' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' 'd0a13fda'; @@ -2780,27 +2780,27 @@ group emcareobservationemcareb15s2de01(source src,target tgt){ } 'aa55388e'; } -group emcareobservationemcareb15s2de09(source src,target tgt){ +group CccobservationCccb15s2de09(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb15s2de09'; + 'id-Cccb15s2de09'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B15S2.DE09' - 'code-emcareb15s2de09'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B15S2.DE09' + 'code-Cccb15s2de09'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B15S2.DE09' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B15S2.DE09' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' 'd0a13fda'; @@ -2810,28 +2810,28 @@ group emcareobservationemcareb15s2de09(source src,target tgt){ } '2a2ced9b'; } -group emcareobservationemcareb22de01(source src,target tgt){ +group CccobservationCccb22de01(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de01'; + 'id-Cccb22de01'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE01' - 'code-emcareb22de01'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE01' + 'code-Cccb22de01'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then { - itm1.item first as item where linkId = 'EmCare.B22.DE01' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then { + itm1.item first as item where linkId = 'Ccc.B22.DE01' and answer.exists() then { item.answer first as a then { a.value as val -> tgt.value = val, tgt.status = 'final' 'afa0ccc0'; } 'd40466ff'; @@ -2839,28 +2839,28 @@ group emcareobservationemcareb22de01(source src,target tgt){ } 'ad8e4fa6'; } -group emcareobservationemcareb22de02(source src,target tgt){ +group CccobservationCccb22de02(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de02'; + 'id-Cccb22de02'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE02' - 'code-emcareb22de02'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE02' + 'code-Cccb22de02'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then { - itm1.item first as item where linkId = 'EmCare.B22.DE02' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then { + itm1.item first as item where linkId = 'Ccc.B22.DE02' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'true' -> tgt.status = 'final',tgt.value = true '8a65aaa5'; @@ -2870,29 +2870,29 @@ group emcareobservationemcareb22de02(source src,target tgt){ } '5b046e45'; } -group emcareobservationemcareb22de04(source src,target tgt){ +group CccobservationCccb22de04(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de04'; + 'id-Cccb22de04'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE04' - 'code-emcareb22de04'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE04' + 'code-Cccb22de04'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then { + src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then { itm1.item first as itm2 where linkId = 'second' then { - itm2.item first as item where linkId = 'EmCare.B22.DE04' and answer.exists() then { + itm2.item first as item where linkId = 'Ccc.B22.DE04' and answer.exists() then { item.answer first as a then { a.value as val -> tgt.value = val, tgt.status = 'final' 'afa0ccc0'; } 'd40466ff'; @@ -2901,29 +2901,29 @@ group emcareobservationemcareb22de04(source src,target tgt){ } '6b3a0b06'; } -group emcareobservationemcareb22de05(source src,target tgt){ +group CccobservationCccb22de05(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de05'; + 'id-Cccb22de05'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE05' - 'code-emcareb22de05'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE05' + 'code-Cccb22de05'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then { + src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then { itm1.item first as itm2 where linkId = 'second' then { - itm2.item first as item where linkId = 'EmCare.B22.DE05' and answer.exists() then { + itm2.item first as item where linkId = 'Ccc.B22.DE05' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'true' -> tgt.status = 'final',tgt.value = true '8a65aaa5'; @@ -2934,31 +2934,31 @@ group emcareobservationemcareb22de05(source src,target tgt){ } 'ed73ec89'; } -group emcareobservationemcareb22de07(source src,target tgt){ +group CccobservationCccb22de07(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de07'; + 'id-Cccb22de07'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE07' - 'code-emcareb22de07'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE07' + 'code-Cccb22de07'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then { - itm1.item first as item where linkId = 'EmCare.B22.DE07' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then { + itm1.item first as item where linkId = 'Ccc.B22.DE07' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de07'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de07'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de07'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de07'; } 'bdab9370'; } 'b5e73929'; } '306838ed'; diff --git a/input/mapping/emcare.b18-21.signs.2m.m.map b/input/mapping/Ccc.b18-21.signs.2m.m.map similarity index 70% rename from input/mapping/emcare.b18-21.signs.2m.m.map rename to input/mapping/Ccc.b18-21.signs.2m.m.map index 84861c98..d73aa41d 100644 --- a/input/mapping/emcare.b18-21.signs.2m.m.map +++ b/input/mapping/Ccc.b18-21.signs.2m.m.map @@ -1,348 +1,348 @@ -map 'https://smart.who.int/ccc/StructureMap/emcare.b18-21.signs.2m.m' = 'emcare.b18-21.signs.2m.m' +map 'https://smart.who.int/ccc/StructureMap/Ccc.b18-21.signs.2m.m' = 'Ccc.b18-21.signs.2m.m' uses 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse' alias 'questionnaireResponse' as source uses 'http://hl7.org/fhir/StructureDefinition/Bundle' alias 'Bundle' as target uses 'https://smart.who.int/ccc/StructureDefinition/observation' alias 'Observation' as target -uses 'https://smart.who.int/ccc/StructureDefinition/emcareobservation' alias 'EmCare Observation' as produced +uses 'https://smart.who.int/ccc/StructureDefinition/Cccobservation' alias 'Ccc Observation' as produced group bundletrans(source src : questionnaireResponse,target bundle : Bundle){ src -> bundle.id = uuid() 'id'; src -> bundle.type = 'batch' 'type'; - src.item first as item where linkId = 'EmCare.B18S2.DE07' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B18S2.DE07' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb18s2de07(src, tgt) 'ca6d2440'; + src -> tgt then CccobservationCccb18s2de07(src, tgt) 'ca6d2440'; } '4d3562ea'; } '1f5e2e49'; } 'eeb88b76'; - src.item first as item where linkId = 'EmCare.B18S2.DE08' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B18S2.DE08' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb18s2de08(src, tgt) 'c262db3f'; + src -> tgt then CccobservationCccb18s2de08(src, tgt) 'c262db3f'; } 'f43b4802'; } 'b192f8b8'; } '45ffea94'; - src.item first as item where linkId = 'EmCare.B18S2.DE12' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B18S2.DE12' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb18s2de12(src, tgt) '6f6b2618'; + src -> tgt then CccobservationCccb18s2de12(src, tgt) '6f6b2618'; } '09f8d74d'; } '5e6747fd'; } '8665f72f'; - src.item first as item where linkId = 'EmCare.B18S2.DE13' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B18S2.DE13' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb18s2de13(src, tgt) '80759c57'; + src -> tgt then CccobservationCccb18s2de13(src, tgt) '80759c57'; } 'f658f964'; } '30291a87'; } '5c0dbbd7'; - src.item first as item where linkId = 'EmCare.B19S2.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B19S2.DE01' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb19s2de01(src, tgt) '732434fb'; + src -> tgt then CccobservationCccb19s2de01(src, tgt) '732434fb'; } 'a79173fe'; } '355d3980'; } '55fa8d66'; - src.item first as item where linkId = 'EmCare.B19S2.DE02' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B19S2.DE02' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb19s2de02(src, tgt) '19b33283'; + src -> tgt then CccobservationCccb19s2de02(src, tgt) '19b33283'; } '723e7b39'; } 'ab195945'; } 'a451ea64'; - src.item first as item where linkId = 'EmCare.B19S2.DE04' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B19S2.DE04' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb19s2de04(src, tgt) '5f959962'; + src -> tgt then CccobservationCccb19s2de04(src, tgt) '5f959962'; } 'ec59f51c'; } '08a1cfa8'; } '3bb01182'; - src.item first as item where linkId = 'EmCare.B11S2.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B11S2.DE01' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb11s2de01(src, tgt) '571f12fb'; + src -> tgt then CccobservationCccb11s2de01(src, tgt) '571f12fb'; } 'df9369ca'; } 'b1634b07'; } 'bf55dba7'; - src.item first as item where linkId = 'EmCare.B11S2.DE02' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B11S2.DE02' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb11s2de02(src, tgt) '35df08c4'; + src -> tgt then CccobservationCccb11s2de02(src, tgt) '35df08c4'; } '52eb002b'; } 'c096f5b2'; } 'f35e6a90'; - src.item first as item where linkId = 'EmCare.B11S2.DE06' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B11S2.DE06' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb11s2de06(src, tgt) '048f10f9'; + src -> tgt then CccobservationCccb11s2de06(src, tgt) '048f10f9'; } '011caec9'; } '431cd0b3'; } '5a3f8e99'; - src.item first as item where linkId = 'EmCare.B21S2.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B21S2.DE01' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb21s2de01(src, tgt) '94478be1'; + src -> tgt then CccobservationCccb21s2de01(src, tgt) '94478be1'; } '2cf57502'; } 'a5752431'; } '431eb374'; - src.item first as item where linkId = 'EmCare.B21S2.DE05' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B21S2.DE05' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb21s2de05(src, tgt) '8cbd2b43'; + src -> tgt then CccobservationCccb21s2de05(src, tgt) '8cbd2b43'; } '04b19cec'; } '1e478ba6'; } 'a6ecc4b7'; - src.item first as item where linkId = 'EmCare.B21S2.DE06' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B21S2.DE06' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb21s2de06(src, tgt) '2d3c82db'; + src -> tgt then CccobservationCccb21s2de06(src, tgt) '2d3c82db'; } 'd38f9e09'; } '18c5885a'; } '3a24e445'; - src.item first as item where linkId = 'EmCare.B21S2.DE08' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B21S2.DE08' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb21s2de08(src, tgt) 'f361a68d'; + src -> tgt then CccobservationCccb21s2de08(src, tgt) 'f361a68d'; } '5189a3f8'; } 'a0b4c2bc'; } '79ee0a37'; - src where src.item.where(linkId='EmCare.B21S2.DE09').answer.where(value.code = 'EmCare.B21S2.DE11') then { - src.item first as item where linkId = 'EmCare.B21S2.DE09' and answer.exists() then { + src where src.item.where(linkId='Ccc.B21S2.DE09').answer.where(value.code = 'Ccc.B21S2.DE11') then { + src.item first as item where linkId = 'Ccc.B21S2.DE09' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb21s2de09emcareb21s2de11t(src,tgt) 'a9a122af'; + src then CccobservationCccb21s2de09Cccb21s2de11t(src,tgt) 'a9a122af'; } 'd7f85848'; } '6de484e0'; } '37c1ad1e'; } '7d349d00'; - src where src.item.where(linkId='EmCare.B21S2.DE09').exists() and src.item.where(linkId='EmCare.B21S2.DE09').answer.where(value.code = 'EmCare.B21S2.DE11').empty() then { - src.item first as item where linkId = 'EmCare.B21S2.DE09' and answer.exists() then { + src where src.item.where(linkId='Ccc.B21S2.DE09').exists() and src.item.where(linkId='Ccc.B21S2.DE09').answer.where(value.code = 'Ccc.B21S2.DE11').empty() then { + src.item first as item where linkId = 'Ccc.B21S2.DE09' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb21s2de09emcareb21s2de11f(src,tgt) 'd1d28f86'; + src then CccobservationCccb21s2de09Cccb21s2de11f(src,tgt) 'd1d28f86'; } 'd67305e0'; } '653bf0a8'; } '4899742e'; } 'e01f9812'; - src where src.item.where(linkId='EmCare.B21S2.DE09').answer.where(value.code = 'EmCare.B21S2.DE10') then { - src.item first as item where linkId = 'EmCare.B21S2.DE09' and answer.exists() then { + src where src.item.where(linkId='Ccc.B21S2.DE09').answer.where(value.code = 'Ccc.B21S2.DE10') then { + src.item first as item where linkId = 'Ccc.B21S2.DE09' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb21s2de09emcareb21s2de10t(src,tgt) '8e89324d'; + src then CccobservationCccb21s2de09Cccb21s2de10t(src,tgt) '8e89324d'; } '93674a9a'; } 'aa6f3f2f'; } '94e88b7c'; } '9864ed15'; - src where src.item.where(linkId='EmCare.B21S2.DE09').exists() and src.item.where(linkId='EmCare.B21S2.DE09').answer.where(value.code = 'EmCare.B21S2.DE10').empty() then { - src.item first as item where linkId = 'EmCare.B21S2.DE09' and answer.exists() then { + src where src.item.where(linkId='Ccc.B21S2.DE09').exists() and src.item.where(linkId='Ccc.B21S2.DE09').answer.where(value.code = 'Ccc.B21S2.DE10').empty() then { + src.item first as item where linkId = 'Ccc.B21S2.DE09' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb21s2de09emcareb21s2de10f(src,tgt) 'b433f49e'; + src then CccobservationCccb21s2de09Cccb21s2de10f(src,tgt) 'b433f49e'; } 'e8c61eb0'; } 'fa7e3d84'; } '68af5a34'; } 'e81b6afa'; - src.item first as item where linkId = 'EmCare.B21S2.DE12' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B21S2.DE12' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb21s2de12(src, tgt) '8f04b3ac'; + src -> tgt then CccobservationCccb21s2de12(src, tgt) '8f04b3ac'; } 'b1374c84'; } '8cb03aa0'; } 'e2b672db'; - src.item first as item where linkId = 'EmCare.B21S2.DE13' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B21S2.DE13' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb21s2de13(src, tgt) '0aaf1ecd'; + src -> tgt then CccobservationCccb21s2de13(src, tgt) '0aaf1ecd'; } '695ddd29'; } '64398d2e'; } 'e854f1bd'; - src.item first as item where linkId = 'EmCare.B21S2.DE15' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B21S2.DE15' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb21s2de15(src, tgt) '7858a431'; + src -> tgt then CccobservationCccb21s2de15(src, tgt) '7858a431'; } '43de516f'; } 'e494830e'; } 'faf9102b'; - src.item first as item where linkId = 'EmCare.B21S2.DE16' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B21S2.DE16' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb21s2de16(src, tgt) 'b2e4c410'; + src -> tgt then CccobservationCccb21s2de16(src, tgt) 'b2e4c410'; } 'b8bfacf5'; } '9b56be06'; } 'be6683f9'; - src.item first as item where linkId = 'EmCare.B21S2.DE18' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B21S2.DE18' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb21s2de18(src, tgt) '87a87f89'; + src -> tgt then CccobservationCccb21s2de18(src, tgt) '87a87f89'; } 'ecd09b62'; } 'af8f5c24'; } 'c0db11dc'; - src.item first as item where linkId = 'EmCare.B21S2.DE21' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B21S2.DE21' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb21s2de21(src, tgt) 'e288e392'; + src -> tgt then CccobservationCccb21s2de21(src, tgt) 'e288e392'; } 'ae968910'; } '46cbfc52'; } '8f89318d'; - src.item first as item where linkId = 'EmCare.B21S2.DE24' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B21S2.DE24' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb21s2de24(src, tgt) 'c746464e'; + src -> tgt then CccobservationCccb21s2de24(src, tgt) 'c746464e'; } '6b52ad04'; } 'c7688cc7'; } '668c3c42'; - src.item first as item where linkId = 'EmCare.B21S2.DE27' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B21S2.DE27' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb21s2de27(src, tgt) '46c80d1a'; + src -> tgt then CccobservationCccb21s2de27(src, tgt) '46c80d1a'; } '1c5eb3d7'; } 'c270b0d1'; } '24323941'; - src.item first as item where linkId = 'EmCare.B21S2.DE30' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B21S2.DE30' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb21s2de30(src, tgt) 'f7a188b4'; + src -> tgt then CccobservationCccb21s2de30(src, tgt) 'f7a188b4'; } '8891d1a4'; } 'ec6c3ef3'; } '5e474dbb'; - src.item first as item where linkId = 'EmCare.B21S2.DE31' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B21S2.DE31' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb21s2de31(src, tgt) '7b00306c'; + src -> tgt then CccobservationCccb21s2de31(src, tgt) '7b00306c'; } 'ded65bf0'; } '6c051e6d'; } '0dac018e'; - src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then { - itm1.item first as item where linkId = 'EmCare.B22.DE01' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then { + itm1.item first as item where linkId = 'Ccc.B22.DE01' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de01(src, tgt) '94788d70'; + src -> tgt then CccobservationCccb22de01(src, tgt) '94788d70'; } 'cafa1f90'; } '44017cb3'; } '1c5108b8'; } '88bb5c43'; - src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then { - itm1.item first as item where linkId = 'EmCare.B22.DE02' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then { + itm1.item first as item where linkId = 'Ccc.B22.DE02' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de02(src, tgt) 'c3e885af'; + src -> tgt then CccobservationCccb22de02(src, tgt) 'c3e885af'; } '60b301de'; } '815e425c'; } '85d3c3a3'; } 'c7e0dbc2'; - src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then { + src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then { itm1.item first as itm2 where linkId = 'second' then { - itm2.item first as item where linkId = 'EmCare.B22.DE04' and answer.exists() then { + itm2.item first as item where linkId = 'Ccc.B22.DE04' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de04(src, tgt) '42ed4c3a'; + src -> tgt then CccobservationCccb22de04(src, tgt) '42ed4c3a'; } 'b802d4a2'; } 'c7431f4f'; } 'ad5094ed'; } '3b2e9629'; } '318dfe75'; - src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then { + src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then { itm1.item first as itm2 where linkId = 'second' then { - itm2.item first as item where linkId = 'EmCare.B22.DE05' and answer.exists() then { + itm2.item first as item where linkId = 'Ccc.B22.DE05' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de05(src, tgt) '3be4cd34'; + src -> tgt then CccobservationCccb22de05(src, tgt) '3be4cd34'; } 'b7585bc2'; } '61b1a5c6'; } 'd9d928a7'; } '9853d168'; } 'c21c2c7c'; - src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then { - itm1.item first as item where linkId = 'EmCare.B22.DE07' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then { + itm1.item first as item where linkId = 'Ccc.B22.DE07' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de07(src, tgt) 'fa30cee1'; + src -> tgt then CccobservationCccb22de07(src, tgt) 'fa30cee1'; } 'aad75965'; } '8267defb'; } 'a2eebe03'; } '7ef76f25'; } -group emcareobservationemcareb18s2de07(source src,target tgt){ +group CccobservationCccb18s2de07(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb18s2de07'; + 'id-Cccb18s2de07'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B18S2.DE07' - 'code-emcareb18s2de07'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B18S2.DE07' + 'code-Cccb18s2de07'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B18S2.DE07' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B18S2.DE07' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb18s2de07'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb18s2de07'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb18s2de07'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb18s2de07'; } 'bdab9370'; } '03e3bd99'; } -group emcareobservationemcareb18s2de08(source src,target tgt){ +group CccobservationCccb18s2de08(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb18s2de08'; + 'id-Cccb18s2de08'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B18S2.DE08' - 'code-emcareb18s2de08'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B18S2.DE08' + 'code-Cccb18s2de08'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B18S2.DE08' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B18S2.DE08' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' 'd0a13fda'; @@ -352,139 +352,139 @@ group emcareobservationemcareb18s2de08(source src,target tgt){ } '0b46e243'; } -group emcareobservationemcareb18s2de12(source src,target tgt){ +group CccobservationCccb18s2de12(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb18s2de12'; + 'id-Cccb18s2de12'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B18S2.DE12' - 'code-emcareb18s2de12'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B18S2.DE12' + 'code-Cccb18s2de12'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B18S2.DE12' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B18S2.DE12' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb18s2de12'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb18s2de12'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb18s2de12'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb18s2de12'; } 'bdab9370'; } 'c2b6211e'; } -group emcareobservationemcareb18s2de13(source src,target tgt){ +group CccobservationCccb18s2de13(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb18s2de13'; + 'id-Cccb18s2de13'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B18S2.DE13' - 'code-emcareb18s2de13'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B18S2.DE13' + 'code-Cccb18s2de13'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B18S2.DE13' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B18S2.DE13' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb18s2de13'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb18s2de13'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb18s2de13'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb18s2de13'; } 'bdab9370'; } '5c58b9dd'; } -group emcareobservationemcareb19s2de01(source src,target tgt){ +group CccobservationCccb19s2de01(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb19s2de01'; + 'id-Cccb19s2de01'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B19S2.DE01' - 'code-emcareb19s2de01'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B19S2.DE01' + 'code-Cccb19s2de01'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B19S2.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B19S2.DE01' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb19s2de01'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb19s2de01'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb19s2de01'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb19s2de01'; } 'bdab9370'; } '9cc43da0'; } -group emcareobservationemcareb19s2de02(source src,target tgt){ +group CccobservationCccb19s2de02(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb19s2de02'; + 'id-Cccb19s2de02'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B19S2.DE02' - 'code-emcareb19s2de02'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B19S2.DE02' + 'code-Cccb19s2de02'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B19S2.DE02' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B19S2.DE02' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb19s2de02'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb19s2de02'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb19s2de02'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb19s2de02'; } 'bdab9370'; } 'c6f7f824'; } -group emcareobservationemcareb19s2de04(source src,target tgt){ +group CccobservationCccb19s2de04(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb19s2de04'; + 'id-Cccb19s2de04'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B19S2.DE04' - 'code-emcareb19s2de04'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B19S2.DE04' + 'code-Cccb19s2de04'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B19S2.DE04' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B19S2.DE04' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' 'd0a13fda'; @@ -494,55 +494,55 @@ group emcareobservationemcareb19s2de04(source src,target tgt){ } '42fb84b8'; } -group emcareobservationemcareb11s2de01(source src,target tgt){ +group CccobservationCccb11s2de01(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb11s2de01'; + 'id-Cccb11s2de01'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B11S2.DE01' - 'code-emcareb11s2de01'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B11S2.DE01' + 'code-Cccb11s2de01'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B11S2.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B11S2.DE01' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb11s2de01'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb11s2de01'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb11s2de01'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb11s2de01'; } 'bdab9370'; } '7fc3f941'; } -group emcareobservationemcareb11s2de02(source src,target tgt){ +group CccobservationCccb11s2de02(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb11s2de02'; + 'id-Cccb11s2de02'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B11S2.DE02' - 'code-emcareb11s2de02'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B11S2.DE02' + 'code-Cccb11s2de02'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B11S2.DE02' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B11S2.DE02' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' 'd0a13fda'; @@ -552,159 +552,159 @@ group emcareobservationemcareb11s2de02(source src,target tgt){ } '73bc942d'; } -group emcareobservationemcareb11s2de06(source src,target tgt){ +group CccobservationCccb11s2de06(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb11s2de06'; + 'id-Cccb11s2de06'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B11S2.DE06' - 'code-emcareb11s2de06'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B11S2.DE06' + 'code-Cccb11s2de06'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B11S2.DE06' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B11S2.DE06' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb11s2de06'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb11s2de06'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb11s2de06'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb11s2de06'; } 'bdab9370'; } '47e72c0c'; } -group emcareobservationemcareb21s2de01(source src,target tgt){ +group CccobservationCccb21s2de01(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb21s2de01'; + 'id-Cccb21s2de01'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B21S2.DE01' - 'code-emcareb21s2de01'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B21S2.DE01' + 'code-Cccb21s2de01'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B21S2.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B21S2.DE01' and answer.exists() then { item.answer first as a then { a.value as val then { - val -> tgt.value = create('CodeableConcept') as cc, cc.coding = create('Coding') as c, c.code=val, c.system= 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', tgt.status = 'final' '759a9a54'; + val -> tgt.value = create('CodeableConcept') as cc, cc.coding = create('Coding') as c, c.code=val, c.system= 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', tgt.status = 'final' '759a9a54'; } '1b820ab0'; } 'd39f9088'; } '75d5dd53'; } -group emcareobservationemcareb21s2de05(source src,target tgt){ +group CccobservationCccb21s2de05(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb21s2de05'; + 'id-Cccb21s2de05'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B21S2.DE05' - 'code-emcareb21s2de05'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B21S2.DE05' + 'code-Cccb21s2de05'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B21S2.DE05' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B21S2.DE05' and answer.exists() then { item.answer first as a then { a.value as val -> tgt.value = val, tgt.status = 'final' 'afa0ccc0'; } 'd40466ff'; } '0d215e07'; } -group emcareobservationemcareb21s2de06(source src,target tgt){ +group CccobservationCccb21s2de06(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb21s2de06'; + 'id-Cccb21s2de06'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B21S2.DE06' - 'code-emcareb21s2de06'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B21S2.DE06' + 'code-Cccb21s2de06'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B21S2.DE06' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B21S2.DE06' and answer.exists() then { item.answer first as a then { a.value as val -> tgt.value = val, tgt.status = 'final' 'afa0ccc0'; } 'd40466ff'; } '3a4a4375'; } -group emcareobservationemcareb21s2de08(source src,target tgt){ +group CccobservationCccb21s2de08(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb21s2de08'; + 'id-Cccb21s2de08'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B21S2.DE08' - 'code-emcareb21s2de08'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B21S2.DE08' + 'code-Cccb21s2de08'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B21S2.DE08' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B21S2.DE08' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb21s2de08'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb21s2de08'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb21s2de08'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb21s2de08'; } 'bdab9370'; } 'ac3004d0'; } -group emcareobservationemcareb21s2de09emcareb21s2de11t(source src,target tgt){ +group CccobservationCccb21s2de09Cccb21s2de11t(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb21s2de09emcareb21s2de11t'; + 'id-CccobservationCccb21s2de09Cccb21s2de11t'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B21S2.DE09&EmCare.B21S2.DE11' - 'code-emcareobservationemcareb21s2de09emcareb21s2de11t'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B21S2.DE09&Ccc.B21S2.DE11' + 'code-CccobservationCccb21s2de09Cccb21s2de11t'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -714,20 +714,20 @@ group emcareobservationemcareb21s2de09emcareb21s2de11t(source src,target tgt){ src -> tgt.status = 'final', tgt.value = true 'e9d639e1'; } -group emcareobservationemcareb21s2de09emcareb21s2de11f(source src,target tgt){ +group CccobservationCccb21s2de09Cccb21s2de11f(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb21s2de09emcareb21s2de11f'; + 'id-CccobservationCccb21s2de09Cccb21s2de11f'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B21S2.DE09&EmCare.B21S2.DE11' - 'code-emcareobservationemcareb21s2de09emcareb21s2de11f'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B21S2.DE09&Ccc.B21S2.DE11' + 'code-CccobservationCccb21s2de09Cccb21s2de11f'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -737,20 +737,20 @@ group emcareobservationemcareb21s2de09emcareb21s2de11f(source src,target tgt){ src -> tgt.status = 'cancelled',tgt.value = false 'f21d6e36'; } -group emcareobservationemcareb21s2de09emcareb21s2de10t(source src,target tgt){ +group CccobservationCccb21s2de09Cccb21s2de10t(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb21s2de09emcareb21s2de10t'; + 'id-CccobservationCccb21s2de09Cccb21s2de10t'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B21S2.DE09&EmCare.B21S2.DE10' - 'code-emcareobservationemcareb21s2de09emcareb21s2de10t'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B21S2.DE09&Ccc.B21S2.DE10' + 'code-CccobservationCccb21s2de09Cccb21s2de10t'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -760,20 +760,20 @@ group emcareobservationemcareb21s2de09emcareb21s2de10t(source src,target tgt){ src -> tgt.status = 'final', tgt.value = true 'e9d639e1'; } -group emcareobservationemcareb21s2de09emcareb21s2de10f(source src,target tgt){ +group CccobservationCccb21s2de09Cccb21s2de10f(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb21s2de09emcareb21s2de10f'; + 'id-CccobservationCccb21s2de09Cccb21s2de10f'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B21S2.DE09&EmCare.B21S2.DE10' - 'code-emcareobservationemcareb21s2de09emcareb21s2de10f'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B21S2.DE09&Ccc.B21S2.DE10' + 'code-CccobservationCccb21s2de09Cccb21s2de10f'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -783,137 +783,137 @@ group emcareobservationemcareb21s2de09emcareb21s2de10f(source src,target tgt){ src -> tgt.status = 'cancelled',tgt.value = false 'f21d6e36'; } -group emcareobservationemcareb21s2de12(source src,target tgt){ +group CccobservationCccb21s2de12(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb21s2de12'; + 'id-Cccb21s2de12'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B21S2.DE12' - 'code-emcareb21s2de12'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B21S2.DE12' + 'code-Cccb21s2de12'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B21S2.DE12' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B21S2.DE12' and answer.exists() then { item.answer first as a then { a.value as val -> tgt.value = val, tgt.status = 'final' 'afa0ccc0'; } 'd40466ff'; } 'fe73483f'; } -group emcareobservationemcareb21s2de13(source src,target tgt){ +group CccobservationCccb21s2de13(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb21s2de13'; + 'id-Cccb21s2de13'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B21S2.DE13' - 'code-emcareb21s2de13'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B21S2.DE13' + 'code-Cccb21s2de13'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B21S2.DE13' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B21S2.DE13' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb21s2de13'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb21s2de13'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb21s2de13'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb21s2de13'; } 'bdab9370'; } 'a1265fc3'; } -group emcareobservationemcareb21s2de15(source src,target tgt){ +group CccobservationCccb21s2de15(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb21s2de15'; + 'id-Cccb21s2de15'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B21S2.DE15' - 'code-emcareb21s2de15'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B21S2.DE15' + 'code-Cccb21s2de15'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B21S2.DE15' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B21S2.DE15' and answer.exists() then { item.answer first as a then { a.value as val -> tgt.value = val, tgt.status = 'final' 'afa0ccc0'; } 'd40466ff'; } '1b63fd85'; } -group emcareobservationemcareb21s2de16(source src,target tgt){ +group CccobservationCccb21s2de16(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb21s2de16'; + 'id-Cccb21s2de16'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B21S2.DE16' - 'code-emcareb21s2de16'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B21S2.DE16' + 'code-Cccb21s2de16'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B21S2.DE16' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B21S2.DE16' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb21s2de16'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb21s2de16'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb21s2de16'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb21s2de16'; } 'bdab9370'; } 'e00da6e9'; } -group emcareobservationemcareb21s2de18(source src,target tgt){ +group CccobservationCccb21s2de18(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb21s2de18'; + 'id-Cccb21s2de18'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B21S2.DE18' - 'code-emcareb21s2de18'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B21S2.DE18' + 'code-Cccb21s2de18'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B21S2.DE18' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B21S2.DE18' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' 'd0a13fda'; @@ -923,27 +923,27 @@ group emcareobservationemcareb21s2de18(source src,target tgt){ } 'af7f6c69'; } -group emcareobservationemcareb21s2de21(source src,target tgt){ +group CccobservationCccb21s2de21(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb21s2de21'; + 'id-Cccb21s2de21'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B21S2.DE21' - 'code-emcareb21s2de21'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B21S2.DE21' + 'code-Cccb21s2de21'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B21S2.DE21' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B21S2.DE21' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' 'd0a13fda'; @@ -953,27 +953,27 @@ group emcareobservationemcareb21s2de21(source src,target tgt){ } 'b4ca78b5'; } -group emcareobservationemcareb21s2de24(source src,target tgt){ +group CccobservationCccb21s2de24(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb21s2de24'; + 'id-Cccb21s2de24'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B21S2.DE24' - 'code-emcareb21s2de24'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B21S2.DE24' + 'code-Cccb21s2de24'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B21S2.DE24' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B21S2.DE24' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' 'd0a13fda'; @@ -983,27 +983,27 @@ group emcareobservationemcareb21s2de24(source src,target tgt){ } 'b08f8fe7'; } -group emcareobservationemcareb21s2de27(source src,target tgt){ +group CccobservationCccb21s2de27(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb21s2de27'; + 'id-Cccb21s2de27'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B21S2.DE27' - 'code-emcareb21s2de27'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B21S2.DE27' + 'code-Cccb21s2de27'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B21S2.DE27' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B21S2.DE27' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' 'd0a13fda'; @@ -1013,55 +1013,55 @@ group emcareobservationemcareb21s2de27(source src,target tgt){ } '49d85a6e'; } -group emcareobservationemcareb21s2de30(source src,target tgt){ +group CccobservationCccb21s2de30(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb21s2de30'; + 'id-Cccb21s2de30'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B21S2.DE30' - 'code-emcareb21s2de30'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B21S2.DE30' + 'code-Cccb21s2de30'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B21S2.DE30' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B21S2.DE30' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb21s2de30'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb21s2de30'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb21s2de30'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb21s2de30'; } 'bdab9370'; } 'fe4c0b1a'; } -group emcareobservationemcareb21s2de31(source src,target tgt){ +group CccobservationCccb21s2de31(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb21s2de31'; + 'id-Cccb21s2de31'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B21S2.DE31' - 'code-emcareb21s2de31'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B21S2.DE31' + 'code-Cccb21s2de31'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B21S2.DE31' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B21S2.DE31' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'true' -> tgt.status = 'final',tgt.value = true '8a65aaa5'; @@ -1070,28 +1070,28 @@ group emcareobservationemcareb21s2de31(source src,target tgt){ } '789ed550'; } -group emcareobservationemcareb22de01(source src,target tgt){ +group CccobservationCccb22de01(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de01'; + 'id-Cccb22de01'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE01' - 'code-emcareb22de01'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE01' + 'code-Cccb22de01'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then { - itm1.item first as item where linkId = 'EmCare.B22.DE01' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then { + itm1.item first as item where linkId = 'Ccc.B22.DE01' and answer.exists() then { item.answer first as a then { a.value as val -> tgt.value = val, tgt.status = 'final' 'afa0ccc0'; } 'd40466ff'; @@ -1099,28 +1099,28 @@ group emcareobservationemcareb22de01(source src,target tgt){ } 'ad8e4fa6'; } -group emcareobservationemcareb22de02(source src,target tgt){ +group CccobservationCccb22de02(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de02'; + 'id-Cccb22de02'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE02' - 'code-emcareb22de02'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE02' + 'code-Cccb22de02'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then { - itm1.item first as item where linkId = 'EmCare.B22.DE02' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then { + itm1.item first as item where linkId = 'Ccc.B22.DE02' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'true' -> tgt.status = 'final',tgt.value = true '8a65aaa5'; @@ -1130,29 +1130,29 @@ group emcareobservationemcareb22de02(source src,target tgt){ } '5b046e45'; } -group emcareobservationemcareb22de04(source src,target tgt){ +group CccobservationCccb22de04(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de04'; + 'id-Cccb22de04'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE04' - 'code-emcareb22de04'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE04' + 'code-Cccb22de04'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then { + src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then { itm1.item first as itm2 where linkId = 'second' then { - itm2.item first as item where linkId = 'EmCare.B22.DE04' and answer.exists() then { + itm2.item first as item where linkId = 'Ccc.B22.DE04' and answer.exists() then { item.answer first as a then { a.value as val -> tgt.value = val, tgt.status = 'final' 'afa0ccc0'; } 'd40466ff'; @@ -1161,29 +1161,29 @@ group emcareobservationemcareb22de04(source src,target tgt){ } '6b3a0b06'; } -group emcareobservationemcareb22de05(source src,target tgt){ +group CccobservationCccb22de05(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de05'; + 'id-Cccb22de05'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE05' - 'code-emcareb22de05'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE05' + 'code-Cccb22de05'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then { + src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then { itm1.item first as itm2 where linkId = 'second' then { - itm2.item first as item where linkId = 'EmCare.B22.DE05' and answer.exists() then { + itm2.item first as item where linkId = 'Ccc.B22.DE05' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'true' -> tgt.status = 'final',tgt.value = true '8a65aaa5'; @@ -1194,31 +1194,31 @@ group emcareobservationemcareb22de05(source src,target tgt){ } 'ed73ec89'; } -group emcareobservationemcareb22de07(source src,target tgt){ +group CccobservationCccb22de07(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de07'; + 'id-Cccb22de07'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE07' - 'code-emcareb22de07'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE07' + 'code-Cccb22de07'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then { - itm1.item first as item where linkId = 'EmCare.B22.DE07' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then { + itm1.item first as item where linkId = 'Ccc.B22.DE07' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de07'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de07'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de07'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de07'; } 'bdab9370'; } 'b5e73929'; } '306838ed'; diff --git a/input/mapping/emcare.b18-21.symptoms.2m.m.map b/input/mapping/Ccc.b18-21.symptoms.2m.m.map similarity index 71% rename from input/mapping/emcare.b18-21.symptoms.2m.m.map rename to input/mapping/Ccc.b18-21.symptoms.2m.m.map index 007d894e..2284eca3 100644 --- a/input/mapping/emcare.b18-21.symptoms.2m.m.map +++ b/input/mapping/Ccc.b18-21.symptoms.2m.m.map @@ -1,94 +1,94 @@ -map 'https://smart.who.int/ccc/StructureMap/emcare.b18-21.symptoms.2m.m' = 'emcare.b18-21.symptoms.2m.m' +map 'https://smart.who.int/ccc/StructureMap/Ccc.b18-21.symptoms.2m.m' = 'Ccc.b18-21.symptoms.2m.m' uses 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse' alias 'questionnaireResponse' as source uses 'http://hl7.org/fhir/StructureDefinition/Bundle' alias 'Bundle' as target uses 'https://smart.who.int/ccc/StructureDefinition/observation' alias 'Observation' as target -uses 'https://smart.who.int/ccc/StructureDefinition/emcareobservation' alias 'EmCare Observation' as produced +uses 'https://smart.who.int/ccc/StructureDefinition/Cccobservation' alias 'Ccc Observation' as produced group bundletrans(source src : questionnaireResponse,target bundle : Bundle){ src -> bundle.id = uuid() 'id'; src -> bundle.type = 'batch' 'type'; - src.item first as item where linkId = 'EmCare.B7.DE03' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B7.DE03' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb7de03(src, tgt) 'f2e89805'; + src -> tgt then CccobservationCccb7de03(src, tgt) 'f2e89805'; } '8dded58a'; } '6d815194'; } 'a2e85aba'; - src.item first as item where linkId = 'EmCare.B18S1.DE02' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B18S1.DE02' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb18s1de02(src, tgt) '25a99ee2'; + src -> tgt then CccobservationCccb18s1de02(src, tgt) '25a99ee2'; } '9a78f7db'; } '94862cbd'; } '49e0dedf'; - src.item first as item where linkId = 'EmCare.B11S1.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B11S1.DE01' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb11s1de01(src, tgt) '43d4af59'; + src -> tgt then CccobservationCccb11s1de01(src, tgt) '43d4af59'; } 'bfd970ae'; } 'b8eb69b0'; } 'e1f73648'; - src.item first as item where linkId = 'EmCare.B21S1.DE06' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B21S1.DE06' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb21s1de06(src, tgt) '4fe5485a'; + src -> tgt then CccobservationCccb21s1de06(src, tgt) '4fe5485a'; } 'c849765a'; } 'ce9b0830'; } '919b4a1a'; } -group emcareobservationemcareb7de03(source src,target tgt){ +group CccobservationCccb7de03(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb7de03'; + 'id-Cccb7de03'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B7.DE03' - 'code-emcareb7de03'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B7.DE03' + 'code-Cccb7de03'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B7.DE03' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B7.DE03' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb7de03'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb7de03'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb7de03'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb7de03'; } 'bdab9370'; } '4ef6d709'; } -group emcareobservationemcareb18s1de02(source src,target tgt){ +group CccobservationCccb18s1de02(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb18s1de02'; + 'id-Cccb18s1de02'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B18S1.DE02' - 'code-emcareb18s1de02'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B18S1.DE02' + 'code-Cccb18s1de02'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B18S1.DE02' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B18S1.DE02' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' 'd0a13fda'; @@ -98,58 +98,58 @@ group emcareobservationemcareb18s1de02(source src,target tgt){ } 'da9e8c81'; } -group emcareobservationemcareb11s1de01(source src,target tgt){ +group CccobservationCccb11s1de01(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb11s1de01'; + 'id-Cccb11s1de01'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B11S1.DE01' - 'code-emcareb11s1de01'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B11S1.DE01' + 'code-Cccb11s1de01'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B11S1.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B11S1.DE01' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb11s1de01'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb11s1de01'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb11s1de01'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb11s1de01'; } 'bdab9370'; } '7b8564b3'; } -group emcareobservationemcareb21s1de06(source src,target tgt){ +group CccobservationCccb21s1de06(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb21s1de06'; + 'id-Cccb21s1de06'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B21S1.DE06' - 'code-emcareb21s1de06'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B21S1.DE06' + 'code-Cccb21s1de06'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B21S1.DE06' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B21S1.DE06' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb21s1de06'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb21s1de06'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb21s1de06'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb21s1de06'; } 'bdab9370'; } '54923cd5'; } diff --git a/input/mapping/emcare.b22.assessmentstests.map b/input/mapping/Ccc.b22.assessmentstests.map similarity index 66% rename from input/mapping/emcare.b22.assessmentstests.map rename to input/mapping/Ccc.b22.assessmentstests.map index f358d454..ecb35f53 100644 --- a/input/mapping/emcare.b22.assessmentstests.map +++ b/input/mapping/Ccc.b22.assessmentstests.map @@ -1,449 +1,449 @@ -map 'https://smart.who.int/ccc/StructureMap/emcare.b22.assessmentstests' = 'emcare.b22.assessmentstests' +map 'https://smart.who.int/ccc/StructureMap/Ccc.b22.assessmentstests' = 'Ccc.b22.assessmentstests' uses 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse' alias 'questionnaireResponse' as source uses 'http://hl7.org/fhir/StructureDefinition/Bundle' alias 'Bundle' as target uses 'https://smart.who.int/ccc/StructureDefinition/observation' alias 'Observation' as target -uses 'https://smart.who.int/ccc/StructureDefinition/emcareobservation' alias 'EmCare Observation' as produced +uses 'https://smart.who.int/ccc/StructureDefinition/Cccobservation' alias 'Ccc Observation' as produced group bundletrans(source src : questionnaireResponse,target bundle : Bundle){ src -> bundle.id = uuid() 'id'; src -> bundle.type = 'batch' 'type'; - src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then { - itm1.item first as item where linkId = 'EmCare.B22.DE01' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then { + itm1.item first as item where linkId = 'Ccc.B22.DE01' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de01(src, tgt) '94788d70'; + src -> tgt then CccobservationCccb22de01(src, tgt) '94788d70'; } 'cafa1f90'; } '44017cb3'; } '1c5108b8'; } '88bb5c43'; - src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then { - itm1.item first as item where linkId = 'EmCare.B22.DE02' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then { + itm1.item first as item where linkId = 'Ccc.B22.DE02' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de02(src, tgt) 'c3e885af'; + src -> tgt then CccobservationCccb22de02(src, tgt) 'c3e885af'; } '60b301de'; } '815e425c'; } '85d3c3a3'; } 'c7e0dbc2'; - src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then { + src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then { itm1.item first as itm2 where linkId = 'second' then { - itm2.item first as item where linkId = 'EmCare.B22.DE04' and answer.exists() then { + itm2.item first as item where linkId = 'Ccc.B22.DE04' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de04(src, tgt) '42ed4c3a'; + src -> tgt then CccobservationCccb22de04(src, tgt) '42ed4c3a'; } 'b802d4a2'; } 'c7431f4f'; } 'ad5094ed'; } '3b2e9629'; } '318dfe75'; - src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then { + src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then { itm1.item first as itm2 where linkId = 'second' then { - itm2.item first as item where linkId = 'EmCare.B22.DE05' and answer.exists() then { + itm2.item first as item where linkId = 'Ccc.B22.DE05' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de05(src, tgt) '3be4cd34'; + src -> tgt then CccobservationCccb22de05(src, tgt) '3be4cd34'; } 'b7585bc2'; } '61b1a5c6'; } 'd9d928a7'; } '9853d168'; } 'c21c2c7c'; - src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then { - itm1.item first as item where linkId = 'EmCare.B22.DE07' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then { + itm1.item first as item where linkId = 'Ccc.B22.DE07' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de07(src, tgt) 'fa30cee1'; + src -> tgt then CccobservationCccb22de07(src, tgt) 'fa30cee1'; } 'aad75965'; } '8267defb'; } 'a2eebe03'; } '7ef76f25'; - src.item first as itm1 where linkId = 'EmCare.B22.FluidTest' then { - itm1.item first as item where linkId = 'EmCare.B22.DE08' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.FluidTest' then { + itm1.item first as item where linkId = 'Ccc.B22.DE08' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de08(src, tgt) 'd34db40c'; + src -> tgt then CccobservationCccb22de08(src, tgt) 'd34db40c'; } 'bd8403a6'; } '09eb3e1a'; } '1b0282c4'; } '38d251fb'; - src.item first as itm1 where linkId = 'EmCare.B22.FluidTest' then { - itm1.item first as item where linkId = 'EmCare.B22.DE14' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.FluidTest' then { + itm1.item first as item where linkId = 'Ccc.B22.DE14' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de14(src, tgt) '128f555c'; + src -> tgt then CccobservationCccb22de14(src, tgt) '128f555c'; } '2cba61ee'; } '1eb502ac'; } 'b29de87e'; } '83edc111'; - src.item first as itm1 where linkId = 'EmCare.B22.FluidTest' then { - itm1.item first as item where linkId = 'EmCare.B22.DE14a' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.FluidTest' then { + itm1.item first as item where linkId = 'Ccc.B22.DE14a' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de14a(src, tgt) '7b46291c'; + src -> tgt then CccobservationCccb22de14a(src, tgt) '7b46291c'; } '17f1508c'; } '64f82f5e'; } '37f27338'; } 'e265d4b9'; - src.item first as itm1 where linkId = 'EmCare.B22.FluidTest' then { - itm1.item first as item where linkId = 'EmCare.B22.DE15' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.FluidTest' then { + itm1.item first as item where linkId = 'Ccc.B22.DE15' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de15(src, tgt) '0d25d61c'; + src -> tgt then CccobservationCccb22de15(src, tgt) '0d25d61c'; } '49095bbf'; } '7ffa5829'; } 'fe87fcb7'; } '5149a74c'; - src.item first as itm1 where linkId = 'EmCare.B22.FluidTest' then { - itm1.item first as item where linkId = 'EmCare.B22.DE16' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.FluidTest' then { + itm1.item first as item where linkId = 'Ccc.B22.DE16' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de16(src, tgt) '2bef72fa'; + src -> tgt then CccobservationCccb22de16(src, tgt) '2bef72fa'; } 'f426fdde'; } 'f53bf22c'; } 'e18b8f07'; } '5b507a5c'; - src where src.item.where(linkId='EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE18') then { - src.item first as itm1 where linkId = 'EmCare.B22.BronchodilatorTest' then { - itm1.item first as item where linkId = 'EmCare.B22.DE17' and answer.exists() then { + src where src.item.where(linkId='Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE18') then { + src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then { + itm1.item first as item where linkId = 'Ccc.B22.DE17' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb22de17emcareb22de18t(src,tgt) '4b4e3882'; + src then CccobservationCccb22de17Cccb22de18t(src,tgt) '4b4e3882'; } 'a29f448d'; } '8c5fbec1'; } '34815add'; } 'a5dcb8ca'; } 'ea50860d'; - src where src.item.where(linkId='EmCare.B22.DE17').exists() and src.item.where(linkId='EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE18').empty() then { - src.item first as itm1 where linkId = 'EmCare.B22.BronchodilatorTest' then { - itm1.item first as item where linkId = 'EmCare.B22.DE17' and answer.exists() then { + src where src.item.where(linkId='Ccc.B22.DE17').exists() and src.item.where(linkId='Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE18').empty() then { + src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then { + itm1.item first as item where linkId = 'Ccc.B22.DE17' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb22de17emcareb22de18f(src,tgt) '4fd23ec4'; + src then CccobservationCccb22de17Cccb22de18f(src,tgt) '4fd23ec4'; } 'e477bbcc'; } 'c329f1a7'; } '05305e3f'; } 'b43560b2'; } 'b2efd7b0'; - src where src.item.where(linkId='EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE19') then { - src.item first as itm1 where linkId = 'EmCare.B22.BronchodilatorTest' then { - itm1.item first as item where linkId = 'EmCare.B22.DE17' and answer.exists() then { + src where src.item.where(linkId='Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE19') then { + src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then { + itm1.item first as item where linkId = 'Ccc.B22.DE17' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb22de17emcareb22de19t(src,tgt) '832556c2'; + src then CccobservationCccb22de17Cccb22de19t(src,tgt) '832556c2'; } '25d864fa'; } 'd659dd64'; } 'b4d55b8a'; } '427a7e63'; } 'bb829570'; - src where src.item.where(linkId='EmCare.B22.DE17').exists() and src.item.where(linkId='EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE19').empty() then { - src.item first as itm1 where linkId = 'EmCare.B22.BronchodilatorTest' then { - itm1.item first as item where linkId = 'EmCare.B22.DE17' and answer.exists() then { + src where src.item.where(linkId='Ccc.B22.DE17').exists() and src.item.where(linkId='Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE19').empty() then { + src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then { + itm1.item first as item where linkId = 'Ccc.B22.DE17' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb22de17emcareb22de19f(src,tgt) '917126ea'; + src then CccobservationCccb22de17Cccb22de19f(src,tgt) '917126ea'; } '4d341549'; } '7cf5a310'; } 'f627de60'; } 'b50887e7'; } '65731df1'; - src where src.item.where(linkId='EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE20') then { - src.item first as itm1 where linkId = 'EmCare.B22.BronchodilatorTest' then { - itm1.item first as item where linkId = 'EmCare.B22.DE17' and answer.exists() then { + src where src.item.where(linkId='Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE20') then { + src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then { + itm1.item first as item where linkId = 'Ccc.B22.DE17' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb22de17emcareb22de20t(src,tgt) '178da581'; + src then CccobservationCccb22de17Cccb22de20t(src,tgt) '178da581'; } '1e80b046'; } 'd67193a2'; } '43435fc6'; } '663fb49d'; } '720e8bc9'; - src where src.item.where(linkId='EmCare.B22.DE17').exists() and src.item.where(linkId='EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE20').empty() then { - src.item first as itm1 where linkId = 'EmCare.B22.BronchodilatorTest' then { - itm1.item first as item where linkId = 'EmCare.B22.DE17' and answer.exists() then { + src where src.item.where(linkId='Ccc.B22.DE17').exists() and src.item.where(linkId='Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE20').empty() then { + src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then { + itm1.item first as item where linkId = 'Ccc.B22.DE17' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb22de17emcareb22de20f(src,tgt) '4fa88d49'; + src then CccobservationCccb22de17Cccb22de20f(src,tgt) '4fa88d49'; } '30a84474'; } '25416983'; } '6a7e0a13'; } '16556d1c'; } 'ddaf5ab3'; - src where src.item.where(linkId='EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE21') then { - src.item first as itm1 where linkId = 'EmCare.B22.BronchodilatorTest' then { - itm1.item first as item where linkId = 'EmCare.B22.DE17' and answer.exists() then { + src where src.item.where(linkId='Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE21') then { + src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then { + itm1.item first as item where linkId = 'Ccc.B22.DE17' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb22de17emcareb22de21t(src,tgt) '628bfa1d'; + src then CccobservationCccb22de17Cccb22de21t(src,tgt) '628bfa1d'; } '0bf9d78c'; } 'b0fa129e'; } '32b27262'; } '9c9cb9cf'; } 'c28d7273'; - src where src.item.where(linkId='EmCare.B22.DE17').exists() and src.item.where(linkId='EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE21').empty() then { - src.item first as itm1 where linkId = 'EmCare.B22.BronchodilatorTest' then { - itm1.item first as item where linkId = 'EmCare.B22.DE17' and answer.exists() then { + src where src.item.where(linkId='Ccc.B22.DE17').exists() and src.item.where(linkId='Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE21').empty() then { + src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then { + itm1.item first as item where linkId = 'Ccc.B22.DE17' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb22de17emcareb22de21f(src,tgt) 'f42ef3e7'; + src then CccobservationCccb22de17Cccb22de21f(src,tgt) 'f42ef3e7'; } '65279195'; } '954bbaec'; } 'db19cd6e'; } 'a57951b9'; } '00b8d186'; - src where src.item.where(linkId='EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE22') then { - src.item first as itm1 where linkId = 'EmCare.B22.BronchodilatorTest' then { - itm1.item first as item where linkId = 'EmCare.B22.DE17' and answer.exists() then { + src where src.item.where(linkId='Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE22') then { + src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then { + itm1.item first as item where linkId = 'Ccc.B22.DE17' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb22de17emcareb22de22t(src,tgt) 'a1caf2e7'; + src then CccobservationCccb22de17Cccb22de22t(src,tgt) 'a1caf2e7'; } 'cea3f121'; } 'f3d4e5ff'; } 'b7ccc20a'; } 'a057c365'; } '6bf6c194'; - src where src.item.where(linkId='EmCare.B22.DE17').exists() and src.item.where(linkId='EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE22').empty() then { - src.item first as itm1 where linkId = 'EmCare.B22.BronchodilatorTest' then { - itm1.item first as item where linkId = 'EmCare.B22.DE17' and answer.exists() then { + src where src.item.where(linkId='Ccc.B22.DE17').exists() and src.item.where(linkId='Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE22').empty() then { + src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then { + itm1.item first as item where linkId = 'Ccc.B22.DE17' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb22de17emcareb22de22f(src,tgt) 'df402cb9'; + src then CccobservationCccb22de17Cccb22de22f(src,tgt) 'df402cb9'; } 'a7736492'; } '0fd648ea'; } '708ba8cc'; } '141fcb13'; } '0a2cfb8c'; - src.item first as itm1 where linkId = 'EmCare.B22.BronchodilatorTest' then { - itm1.item first as item where linkId = 'EmCare.B22.DE22' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then { + itm1.item first as item where linkId = 'Ccc.B22.DE22' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de22(src, tgt) 'b9010fac'; + src -> tgt then CccobservationCccb22de22(src, tgt) 'b9010fac'; } '109bcf94'; } '88ceffcd'; } 'f6b5295e'; } 'ff982ab4'; - src.item first as itm1 where linkId = 'EmCare.B22.BronchodilatorTest' then { - itm1.item first as item where linkId = 'EmCare.B22.DE21' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then { + itm1.item first as item where linkId = 'Ccc.B22.DE21' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de21(src, tgt) '7c45409d'; + src -> tgt then CccobservationCccb22de21(src, tgt) '7c45409d'; } 'ec6cbc70'; } '2bc763d0'; } '08d4fa9d'; } 'dbbe5168'; - src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then { - itm1.item first as item where linkId = 'EmCare.B22.DE41' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then { + itm1.item first as item where linkId = 'Ccc.B22.DE41' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de41(src, tgt) '35802f20'; + src -> tgt then CccobservationCccb22de41(src, tgt) '35802f20'; } '765c240d'; } '9de4a229'; } '95a734dc'; } 'e0648fb3'; - src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then { - itm1.item first as item where linkId = 'EmCare.B22.DE28' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then { + itm1.item first as item where linkId = 'Ccc.B22.DE28' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de28(src, tgt) 'dd9106b0'; + src -> tgt then CccobservationCccb22de28(src, tgt) 'dd9106b0'; } '72695e81'; } '5cc117e5'; } '72d43aa2'; } '2eb0afb7'; - src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then { - itm1.item first as item where linkId = 'EmCare.B22.DE29' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then { + itm1.item first as item where linkId = 'Ccc.B22.DE29' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de29(src, tgt) '0bd03bad'; + src -> tgt then CccobservationCccb22de29(src, tgt) '0bd03bad'; } '64565ab8'; } 'a568a312'; } 'c9435680'; } '532862db'; - src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then { - itm1.item first as item where linkId = 'EmCare.B22.DE30' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then { + itm1.item first as item where linkId = 'Ccc.B22.DE30' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de30(src, tgt) 'a8dbbfa4'; + src -> tgt then CccobservationCccb22de30(src, tgt) 'a8dbbfa4'; } '470a9773'; } '6aff1bf2'; } '58ef8f91'; } 'd3925452'; - src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then { - itm1.item first as item where linkId = 'EmCare.B22.DE31' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then { + itm1.item first as item where linkId = 'Ccc.B22.DE31' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de31(src, tgt) '3a858f1f'; + src -> tgt then CccobservationCccb22de31(src, tgt) '3a858f1f'; } 'bab0e868'; } '47ecf4e4'; } 'adf0b112'; } '800f010d'; - src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then { - itm1.item first as item where linkId = 'EmCare.B22.DE32' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then { + itm1.item first as item where linkId = 'Ccc.B22.DE32' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de32(src, tgt) '5537f1d1'; + src -> tgt then CccobservationCccb22de32(src, tgt) '5537f1d1'; } '38fb811c'; } '77934152'; } '07d1a84a'; } '41f81bdf'; - src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then { - itm1.item first as item where linkId = 'EmCare.B22.DE33' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then { + itm1.item first as item where linkId = 'Ccc.B22.DE33' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de33(src, tgt) 'b9ca07b3'; + src -> tgt then CccobservationCccb22de33(src, tgt) 'b9ca07b3'; } 'e7981b54'; } 'b81929fc'; } '65ea8f25'; } '92c89def'; - src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then { - itm1.item first as item where linkId = 'EmCare.B22.DE34' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then { + itm1.item first as item where linkId = 'Ccc.B22.DE34' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de34(src, tgt) '81a7b6a0'; + src -> tgt then CccobservationCccb22de34(src, tgt) '81a7b6a0'; } 'a60a44da'; } '9f5867b0'; } '7a811ac1'; } 'c95a75ed'; - src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then { - itm1.item first as item where linkId = 'EmCare.B22.DE35' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then { + itm1.item first as item where linkId = 'Ccc.B22.DE35' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de35(src, tgt) '99cdb2a9'; + src -> tgt then CccobservationCccb22de35(src, tgt) '99cdb2a9'; } '7976f991'; } '6b8eb7c7'; } 'b3f8de08'; } '4d431e35'; - src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then { - itm1.item first as item where linkId = 'EmCare.B22.DE36' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then { + itm1.item first as item where linkId = 'Ccc.B22.DE36' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de36(src, tgt) '5d275331'; + src -> tgt then CccobservationCccb22de36(src, tgt) '5d275331'; } 'cec8e27b'; } 'e67b8382'; } 'a45c350b'; } '3cf7714c'; - src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then { - itm1.item first as item where linkId = 'EmCare.B22.DE42' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then { + itm1.item first as item where linkId = 'Ccc.B22.DE42' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de42(src, tgt) '273b1a16'; + src -> tgt then CccobservationCccb22de42(src, tgt) '273b1a16'; } '213a0dca'; } '56a5bbd9'; } 'd7b806aa'; } '840b2bb8'; - src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then { - itm1.item first as item where linkId = 'EmCare.B22.DE44' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then { + itm1.item first as item where linkId = 'Ccc.B22.DE44' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de44(src, tgt) '843d7b1e'; + src -> tgt then CccobservationCccb22de44(src, tgt) '843d7b1e'; } '70061b03'; } '0e593cb2'; } 'f7138270'; } '3f3d258e'; - src.item first as itm1 where linkId = 'EmCare.B22.Hemoglobin' then { - itm1.item first as item where linkId = 'EmCare.B22.DE81' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.Hemoglobin' then { + itm1.item first as item where linkId = 'Ccc.B22.DE81' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de81(src, tgt) 'f56b8d65'; + src -> tgt then CccobservationCccb22de81(src, tgt) 'f56b8d65'; } '42cac8d1'; } '00ff1e0b'; } '12925695'; } 'c39fe6fd'; - src.item first as itm1 where linkId = 'EmCare.B22.Hemoglobin' then { - itm1.item first as item where linkId = 'EmCare.B22.DE82' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.Hemoglobin' then { + itm1.item first as item where linkId = 'Ccc.B22.DE82' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de82(src, tgt) '1118b2e0'; + src -> tgt then CccobservationCccb22de82(src, tgt) '1118b2e0'; } '565f125e'; } 'cc5012ad'; } 'ebd0ce98'; } '26935d1f'; - src.item first as itm1 where linkId = 'EmCare.B22.SecondTemperature' then { - itm1.item first as item where linkId = 'EmCare.B22.DE47' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.SecondTemperature' then { + itm1.item first as item where linkId = 'Ccc.B22.DE47' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de47(src, tgt) '27e1ae58'; + src -> tgt then CccobservationCccb22de47(src, tgt) '27e1ae58'; } '68ad31bf'; } '6ac0c1c9'; } '39718bc0'; } '9b034abe'; - src.item first as itm1 where linkId = 'EmCare.B22.SecondTemperature' then { - itm1.item first as item where linkId = 'EmCare.B22.DE46' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.SecondTemperature' then { + itm1.item first as item where linkId = 'Ccc.B22.DE46' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de46(src, tgt) 'd4ea6333'; + src -> tgt then CccobservationCccb22de46(src, tgt) 'd4ea6333'; } '1ee0adeb'; } '9266b262'; } '47f73f1e'; } '20d6b9bb'; - src.item first as itm1 where linkId = 'EmCare.B22.SecondTemperature' then { - itm1.item first as item where linkId = 'EmCare.B22.DE50' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.SecondTemperature' then { + itm1.item first as item where linkId = 'Ccc.B22.DE50' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de50(src, tgt) 'b5c48578'; + src -> tgt then CccobservationCccb22de50(src, tgt) 'b5c48578'; } '1d3deeec'; } '82120e52'; } '618f3cba'; } 'f1772432'; } -group emcareobservationemcareb22de01(source src,target tgt){ +group CccobservationCccb22de01(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de01'; + 'id-Cccb22de01'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE01' - 'code-emcareb22de01'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE01' + 'code-Cccb22de01'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then { - itm1.item first as item where linkId = 'EmCare.B22.DE01' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then { + itm1.item first as item where linkId = 'Ccc.B22.DE01' and answer.exists() then { item.answer first as a then { a.value as val -> tgt.value = val, tgt.status = 'final' 'afa0ccc0'; } 'd40466ff'; @@ -451,28 +451,28 @@ group emcareobservationemcareb22de01(source src,target tgt){ } 'ad8e4fa6'; } -group emcareobservationemcareb22de02(source src,target tgt){ +group CccobservationCccb22de02(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de02'; + 'id-Cccb22de02'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE02' - 'code-emcareb22de02'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE02' + 'code-Cccb22de02'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then { - itm1.item first as item where linkId = 'EmCare.B22.DE02' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then { + itm1.item first as item where linkId = 'Ccc.B22.DE02' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'true' -> tgt.status = 'final',tgt.value = true '8a65aaa5'; @@ -482,29 +482,29 @@ group emcareobservationemcareb22de02(source src,target tgt){ } '5b046e45'; } -group emcareobservationemcareb22de04(source src,target tgt){ +group CccobservationCccb22de04(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de04'; + 'id-Cccb22de04'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE04' - 'code-emcareb22de04'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE04' + 'code-Cccb22de04'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then { + src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then { itm1.item first as itm2 where linkId = 'second' then { - itm2.item first as item where linkId = 'EmCare.B22.DE04' and answer.exists() then { + itm2.item first as item where linkId = 'Ccc.B22.DE04' and answer.exists() then { item.answer first as a then { a.value as val -> tgt.value = val, tgt.status = 'final' 'afa0ccc0'; } 'd40466ff'; @@ -513,29 +513,29 @@ group emcareobservationemcareb22de04(source src,target tgt){ } '6b3a0b06'; } -group emcareobservationemcareb22de05(source src,target tgt){ +group CccobservationCccb22de05(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de05'; + 'id-Cccb22de05'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE05' - 'code-emcareb22de05'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE05' + 'code-Cccb22de05'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then { + src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then { itm1.item first as itm2 where linkId = 'second' then { - itm2.item first as item where linkId = 'EmCare.B22.DE05' and answer.exists() then { + itm2.item first as item where linkId = 'Ccc.B22.DE05' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'true' -> tgt.status = 'final',tgt.value = true '8a65aaa5'; @@ -546,58 +546,58 @@ group emcareobservationemcareb22de05(source src,target tgt){ } 'ed73ec89'; } -group emcareobservationemcareb22de07(source src,target tgt){ +group CccobservationCccb22de07(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de07'; + 'id-Cccb22de07'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE07' - 'code-emcareb22de07'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE07' + 'code-Cccb22de07'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then { - itm1.item first as item where linkId = 'EmCare.B22.DE07' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then { + itm1.item first as item where linkId = 'Ccc.B22.DE07' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de07'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de07'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de07'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de07'; } 'bdab9370'; } 'b5e73929'; } '306838ed'; } -group emcareobservationemcareb22de08(source src,target tgt){ +group CccobservationCccb22de08(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de08'; + 'id-Cccb22de08'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE08' - 'code-emcareb22de08'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE08' + 'code-Cccb22de08'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.FluidTest' then { - itm1.item first as item where linkId = 'EmCare.B22.DE08' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.FluidTest' then { + itm1.item first as item where linkId = 'Ccc.B22.DE08' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' 'd0a13fda'; @@ -608,28 +608,28 @@ group emcareobservationemcareb22de08(source src,target tgt){ } '6d73c74e'; } -group emcareobservationemcareb22de14(source src,target tgt){ +group CccobservationCccb22de14(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de14'; + 'id-Cccb22de14'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE14' - 'code-emcareb22de14'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE14' + 'code-Cccb22de14'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.FluidTest' then { - itm1.item first as item where linkId = 'EmCare.B22.DE14' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.FluidTest' then { + itm1.item first as item where linkId = 'Ccc.B22.DE14' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'true' -> tgt.status = 'final',tgt.value = true '8a65aaa5'; @@ -639,88 +639,88 @@ group emcareobservationemcareb22de14(source src,target tgt){ } '5bdf34bc'; } -group emcareobservationemcareb22de14a(source src,target tgt){ +group CccobservationCccb22de14a(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de14a'; + 'id-Cccb22de14a'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE14a' - 'code-emcareb22de14a'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE14a' + 'code-Cccb22de14a'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.FluidTest' then { - itm1.item first as item where linkId = 'EmCare.B22.DE14a' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.FluidTest' then { + itm1.item first as item where linkId = 'Ccc.B22.DE14a' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de14a'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de14a'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de14a'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de14a'; } 'bdab9370'; } 'e332bfd7'; } '1a47ca2a'; } -group emcareobservationemcareb22de15(source src,target tgt){ +group CccobservationCccb22de15(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de15'; + 'id-Cccb22de15'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE15' - 'code-emcareb22de15'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE15' + 'code-Cccb22de15'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.FluidTest' then { - itm1.item first as item where linkId = 'EmCare.B22.DE15' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.FluidTest' then { + itm1.item first as item where linkId = 'Ccc.B22.DE15' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de15'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de15'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de15'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de15'; } 'bdab9370'; } '166040b8'; } 'e23593aa'; } -group emcareobservationemcareb22de16(source src,target tgt){ +group CccobservationCccb22de16(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de16'; + 'id-Cccb22de16'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE16' - 'code-emcareb22de16'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE16' + 'code-Cccb22de16'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.FluidTest' then { - itm1.item first as item where linkId = 'EmCare.B22.DE16' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.FluidTest' then { + itm1.item first as item where linkId = 'Ccc.B22.DE16' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' 'd0a13fda'; @@ -731,20 +731,20 @@ group emcareobservationemcareb22de16(source src,target tgt){ } 'b36b8a09'; } -group emcareobservationemcareb22de17emcareb22de18t(source src,target tgt){ +group CccobservationCccb22de17Cccb22de18t(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb22de17emcareb22de18t'; + 'id-CccobservationCccb22de17Cccb22de18t'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE17&EmCare.B22.DE18' - 'code-emcareobservationemcareb22de17emcareb22de18t'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE17&Ccc.B22.DE18' + 'code-CccobservationCccb22de17Cccb22de18t'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -754,20 +754,20 @@ group emcareobservationemcareb22de17emcareb22de18t(source src,target tgt){ src -> tgt.status = 'final', tgt.value = true 'e9d639e1'; } -group emcareobservationemcareb22de17emcareb22de18f(source src,target tgt){ +group CccobservationCccb22de17Cccb22de18f(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb22de17emcareb22de18f'; + 'id-CccobservationCccb22de17Cccb22de18f'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE17&EmCare.B22.DE18' - 'code-emcareobservationemcareb22de17emcareb22de18f'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE17&Ccc.B22.DE18' + 'code-CccobservationCccb22de17Cccb22de18f'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -777,20 +777,20 @@ group emcareobservationemcareb22de17emcareb22de18f(source src,target tgt){ src -> tgt.status = 'cancelled',tgt.value = false 'f21d6e36'; } -group emcareobservationemcareb22de17emcareb22de19t(source src,target tgt){ +group CccobservationCccb22de17Cccb22de19t(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb22de17emcareb22de19t'; + 'id-CccobservationCccb22de17Cccb22de19t'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE17&EmCare.B22.DE19' - 'code-emcareobservationemcareb22de17emcareb22de19t'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE17&Ccc.B22.DE19' + 'code-CccobservationCccb22de17Cccb22de19t'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -800,20 +800,20 @@ group emcareobservationemcareb22de17emcareb22de19t(source src,target tgt){ src -> tgt.status = 'final', tgt.value = true 'e9d639e1'; } -group emcareobservationemcareb22de17emcareb22de19f(source src,target tgt){ +group CccobservationCccb22de17Cccb22de19f(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb22de17emcareb22de19f'; + 'id-CccobservationCccb22de17Cccb22de19f'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE17&EmCare.B22.DE19' - 'code-emcareobservationemcareb22de17emcareb22de19f'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE17&Ccc.B22.DE19' + 'code-CccobservationCccb22de17Cccb22de19f'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -823,20 +823,20 @@ group emcareobservationemcareb22de17emcareb22de19f(source src,target tgt){ src -> tgt.status = 'cancelled',tgt.value = false 'f21d6e36'; } -group emcareobservationemcareb22de17emcareb22de20t(source src,target tgt){ +group CccobservationCccb22de17Cccb22de20t(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb22de17emcareb22de20t'; + 'id-CccobservationCccb22de17Cccb22de20t'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE17&EmCare.B22.DE20' - 'code-emcareobservationemcareb22de17emcareb22de20t'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE17&Ccc.B22.DE20' + 'code-CccobservationCccb22de17Cccb22de20t'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -846,20 +846,20 @@ group emcareobservationemcareb22de17emcareb22de20t(source src,target tgt){ src -> tgt.status = 'final', tgt.value = true 'e9d639e1'; } -group emcareobservationemcareb22de17emcareb22de20f(source src,target tgt){ +group CccobservationCccb22de17Cccb22de20f(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb22de17emcareb22de20f'; + 'id-CccobservationCccb22de17Cccb22de20f'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE17&EmCare.B22.DE20' - 'code-emcareobservationemcareb22de17emcareb22de20f'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE17&Ccc.B22.DE20' + 'code-CccobservationCccb22de17Cccb22de20f'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -869,20 +869,20 @@ group emcareobservationemcareb22de17emcareb22de20f(source src,target tgt){ src -> tgt.status = 'cancelled',tgt.value = false 'f21d6e36'; } -group emcareobservationemcareb22de17emcareb22de21t(source src,target tgt){ +group CccobservationCccb22de17Cccb22de21t(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb22de17emcareb22de21t'; + 'id-CccobservationCccb22de17Cccb22de21t'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE17&EmCare.B22.DE21' - 'code-emcareobservationemcareb22de17emcareb22de21t'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE17&Ccc.B22.DE21' + 'code-CccobservationCccb22de17Cccb22de21t'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -892,20 +892,20 @@ group emcareobservationemcareb22de17emcareb22de21t(source src,target tgt){ src -> tgt.status = 'final', tgt.value = true 'e9d639e1'; } -group emcareobservationemcareb22de17emcareb22de21f(source src,target tgt){ +group CccobservationCccb22de17Cccb22de21f(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb22de17emcareb22de21f'; + 'id-CccobservationCccb22de17Cccb22de21f'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE17&EmCare.B22.DE21' - 'code-emcareobservationemcareb22de17emcareb22de21f'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE17&Ccc.B22.DE21' + 'code-CccobservationCccb22de17Cccb22de21f'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -915,20 +915,20 @@ group emcareobservationemcareb22de17emcareb22de21f(source src,target tgt){ src -> tgt.status = 'cancelled',tgt.value = false 'f21d6e36'; } -group emcareobservationemcareb22de17emcareb22de22t(source src,target tgt){ +group CccobservationCccb22de17Cccb22de22t(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb22de17emcareb22de22t'; + 'id-CccobservationCccb22de17Cccb22de22t'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE17&EmCare.B22.DE22' - 'code-emcareobservationemcareb22de17emcareb22de22t'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE17&Ccc.B22.DE22' + 'code-CccobservationCccb22de17Cccb22de22t'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -938,20 +938,20 @@ group emcareobservationemcareb22de17emcareb22de22t(source src,target tgt){ src -> tgt.status = 'final', tgt.value = true 'e9d639e1'; } -group emcareobservationemcareb22de17emcareb22de22f(source src,target tgt){ +group CccobservationCccb22de17Cccb22de22f(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb22de17emcareb22de22f'; + 'id-CccobservationCccb22de17Cccb22de22f'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE17&EmCare.B22.DE22' - 'code-emcareobservationemcareb22de17emcareb22de22f'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE17&Ccc.B22.DE22' + 'code-CccobservationCccb22de17Cccb22de22f'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -961,28 +961,28 @@ group emcareobservationemcareb22de17emcareb22de22f(source src,target tgt){ src -> tgt.status = 'cancelled',tgt.value = false 'f21d6e36'; } -group emcareobservationemcareb22de22(source src,target tgt){ +group CccobservationCccb22de22(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de22'; + 'id-Cccb22de22'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE22' - 'code-emcareb22de22'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE22' + 'code-Cccb22de22'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.BronchodilatorTest' then { - itm1.item first as item where linkId = 'EmCare.B22.DE22' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then { + itm1.item first as item where linkId = 'Ccc.B22.DE22' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'true' -> tgt.status = 'final',tgt.value = true '8a65aaa5'; @@ -992,58 +992,58 @@ group emcareobservationemcareb22de22(source src,target tgt){ } 'e1414539'; } -group emcareobservationemcareb22de21(source src,target tgt){ +group CccobservationCccb22de21(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de21'; + 'id-Cccb22de21'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE21' - 'code-emcareb22de21'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE21' + 'code-Cccb22de21'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.BronchodilatorTest' then { - itm1.item first as item where linkId = 'EmCare.B22.DE21' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then { + itm1.item first as item where linkId = 'Ccc.B22.DE21' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de21'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de21'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de21'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de21'; } 'bdab9370'; } '36586abf'; } 'a412e00a'; } -group emcareobservationemcareb22de41(source src,target tgt){ +group CccobservationCccb22de41(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de41'; + 'id-Cccb22de41'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE41' - 'code-emcareb22de41'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE41' + 'code-Cccb22de41'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then { - itm1.item first as item where linkId = 'EmCare.B22.DE41' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then { + itm1.item first as item where linkId = 'Ccc.B22.DE41' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'true' -> tgt.status = 'final',tgt.value = true '8a65aaa5'; @@ -1053,368 +1053,368 @@ group emcareobservationemcareb22de41(source src,target tgt){ } 'd888a973'; } -group emcareobservationemcareb22de28(source src,target tgt){ +group CccobservationCccb22de28(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de28'; + 'id-Cccb22de28'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE28' - 'code-emcareb22de28'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE28' + 'code-Cccb22de28'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then { - itm1.item first as item where linkId = 'EmCare.B22.DE28' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then { + itm1.item first as item where linkId = 'Ccc.B22.DE28' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de28'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de28'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de28'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de28'; } 'bdab9370'; } '58c52233'; } 'aad3db2c'; } -group emcareobservationemcareb22de29(source src,target tgt){ +group CccobservationCccb22de29(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de29'; + 'id-Cccb22de29'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE29' - 'code-emcareb22de29'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE29' + 'code-Cccb22de29'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then { - itm1.item first as item where linkId = 'EmCare.B22.DE29' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then { + itm1.item first as item where linkId = 'Ccc.B22.DE29' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de29'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de29'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de29'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de29'; } 'bdab9370'; } '95a367de'; } '960d28f0'; } -group emcareobservationemcareb22de30(source src,target tgt){ +group CccobservationCccb22de30(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de30'; + 'id-Cccb22de30'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE30' - 'code-emcareb22de30'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE30' + 'code-Cccb22de30'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then { - itm1.item first as item where linkId = 'EmCare.B22.DE30' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then { + itm1.item first as item where linkId = 'Ccc.B22.DE30' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de30'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de30'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de30'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de30'; } 'bdab9370'; } 'c3834bca'; } '3b102368'; } -group emcareobservationemcareb22de31(source src,target tgt){ +group CccobservationCccb22de31(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de31'; + 'id-Cccb22de31'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE31' - 'code-emcareb22de31'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE31' + 'code-Cccb22de31'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then { - itm1.item first as item where linkId = 'EmCare.B22.DE31' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then { + itm1.item first as item where linkId = 'Ccc.B22.DE31' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de31'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de31'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de31'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de31'; } 'bdab9370'; } 'bb8ba529'; } '9e9be797'; } -group emcareobservationemcareb22de32(source src,target tgt){ +group CccobservationCccb22de32(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de32'; + 'id-Cccb22de32'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE32' - 'code-emcareb22de32'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE32' + 'code-Cccb22de32'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then { - itm1.item first as item where linkId = 'EmCare.B22.DE32' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then { + itm1.item first as item where linkId = 'Ccc.B22.DE32' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de32'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de32'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de32'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de32'; } 'bdab9370'; } '4adca3b8'; } '59b588e0'; } -group emcareobservationemcareb22de33(source src,target tgt){ +group CccobservationCccb22de33(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de33'; + 'id-Cccb22de33'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE33' - 'code-emcareb22de33'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE33' + 'code-Cccb22de33'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then { - itm1.item first as item where linkId = 'EmCare.B22.DE33' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then { + itm1.item first as item where linkId = 'Ccc.B22.DE33' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de33'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de33'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de33'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de33'; } 'bdab9370'; } 'ba6b3c81'; } '56745630'; } -group emcareobservationemcareb22de34(source src,target tgt){ +group CccobservationCccb22de34(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de34'; + 'id-Cccb22de34'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE34' - 'code-emcareb22de34'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE34' + 'code-Cccb22de34'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then { - itm1.item first as item where linkId = 'EmCare.B22.DE34' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then { + itm1.item first as item where linkId = 'Ccc.B22.DE34' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de34'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de34'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de34'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de34'; } 'bdab9370'; } 'a958300a'; } 'f384d1b9'; } -group emcareobservationemcareb22de35(source src,target tgt){ +group CccobservationCccb22de35(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de35'; + 'id-Cccb22de35'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE35' - 'code-emcareb22de35'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE35' + 'code-Cccb22de35'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then { - itm1.item first as item where linkId = 'EmCare.B22.DE35' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then { + itm1.item first as item where linkId = 'Ccc.B22.DE35' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de35'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de35'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de35'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de35'; } 'bdab9370'; } '9412283c'; } '5ed5ea0e'; } -group emcareobservationemcareb22de36(source src,target tgt){ +group CccobservationCccb22de36(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb22de36'; + 'id-CccobservationCccb22de36'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE36' - 'code-emcareobservationemcareb22de36'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE36' + 'code-CccobservationCccb22de36'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then { - itm1.item first as item where linkId = 'EmCare.B22.DE36' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then { + itm1.item first as item where linkId = 'Ccc.B22.DE36' and answer.exists() then { item.answer first as a then { a where value = 'Not well Attached to Breast', a.value as val then { - val -> tgt.value = create('CodeableConcept') as cc, cc.coding = create('Coding') as c, c.code=EmCare.B22.DE37, c.system= 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', tgt.status = 'final' '71afb672'; + val -> tgt.value = create('CodeableConcept') as cc, cc.coding = create('Coding') as c, c.code=Ccc.B22.DE37, c.system= 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', tgt.status = 'final' '71afb672'; } 'a53091ee'; a where value = 'Good Attachment', a.value as val then { - val -> tgt.value = create('CodeableConcept') as cc, cc.coding = create('Coding') as c, c.code=EmCare.B22.DE38, c.system= 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', tgt.status = 'final' '3053aa3e'; + val -> tgt.value = create('CodeableConcept') as cc, cc.coding = create('Coding') as c, c.code=Ccc.B22.DE38, c.system= 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', tgt.status = 'final' '3053aa3e'; } '239a32e6'; a where value = 'Not Sucking Effectively', a.value as val then { - val -> tgt.value = create('CodeableConcept') as cc, cc.coding = create('Coding') as c, c.code=EmCare.B22.DE39, c.system= 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', tgt.status = 'final' '0e60e5cc'; + val -> tgt.value = create('CodeableConcept') as cc, cc.coding = create('Coding') as c, c.code=Ccc.B22.DE39, c.system= 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', tgt.status = 'final' '0e60e5cc'; } 'ae925fc5'; a where value = 'Sucking Effectively', a.value as val then { - val -> tgt.value = create('CodeableConcept') as cc, cc.coding = create('Coding') as c, c.code=EmCare.B22.DE40, c.system= 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', tgt.status = 'final' '5eeaf122'; + val -> tgt.value = create('CodeableConcept') as cc, cc.coding = create('Coding') as c, c.code=Ccc.B22.DE40, c.system= 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', tgt.status = 'final' '5eeaf122'; } '714e8fb5'; } 'bd419d51'; } '713debc5'; } 'b4145e76'; } -group emcareobservationemcareb22de42(source src,target tgt){ +group CccobservationCccb22de42(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de42'; + 'id-Cccb22de42'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE42' - 'code-emcareb22de42'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE42' + 'code-Cccb22de42'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then { - itm1.item first as item where linkId = 'EmCare.B22.DE42' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then { + itm1.item first as item where linkId = 'Ccc.B22.DE42' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de42'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de42'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de42'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de42'; } 'bdab9370'; } '3dcc04b3'; } '0d852c2e'; } -group emcareobservationemcareb22de44(source src,target tgt){ +group CccobservationCccb22de44(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de44'; + 'id-Cccb22de44'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE44' - 'code-emcareb22de44'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE44' + 'code-Cccb22de44'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then { - itm1.item first as item where linkId = 'EmCare.B22.DE44' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then { + itm1.item first as item where linkId = 'Ccc.B22.DE44' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de44'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de44'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de44'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de44'; } 'bdab9370'; } 'd4bad53b'; } 'fbdc7921'; } -group emcareobservationemcareb22de81(source src,target tgt){ +group CccobservationCccb22de81(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de81'; + 'id-Cccb22de81'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE81' - 'code-emcareb22de81'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE81' + 'code-Cccb22de81'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.Hemoglobin' then { - itm1.item first as item where linkId = 'EmCare.B22.DE81' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.Hemoglobin' then { + itm1.item first as item where linkId = 'Ccc.B22.DE81' and answer.exists() then { item.answer first as a then { a.value as val -> tgt.value = val, tgt.status = 'final' 'afa0ccc0'; } 'd40466ff'; @@ -1422,28 +1422,28 @@ group emcareobservationemcareb22de81(source src,target tgt){ } '44836ba1'; } -group emcareobservationemcareb22de82(source src,target tgt){ +group CccobservationCccb22de82(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de82'; + 'id-Cccb22de82'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE82' - 'code-emcareb22de82'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE82' + 'code-Cccb22de82'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.Hemoglobin' then { - itm1.item first as item where linkId = 'EmCare.B22.DE82' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.Hemoglobin' then { + itm1.item first as item where linkId = 'Ccc.B22.DE82' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'true' -> tgt.status = 'final',tgt.value = true '8a65aaa5'; @@ -1453,28 +1453,28 @@ group emcareobservationemcareb22de82(source src,target tgt){ } '7485a680'; } -group emcareobservationemcareb22de47(source src,target tgt){ +group CccobservationCccb22de47(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de47'; + 'id-Cccb22de47'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE47' - 'code-emcareb22de47'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE47' + 'code-Cccb22de47'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.SecondTemperature' then { - itm1.item first as item where linkId = 'EmCare.B22.DE47' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.SecondTemperature' then { + itm1.item first as item where linkId = 'Ccc.B22.DE47' and answer.exists() then { item.answer first as a then { a.value as val -> tgt.value = val, tgt.status = 'final' 'afa0ccc0'; } 'd40466ff'; @@ -1482,28 +1482,28 @@ group emcareobservationemcareb22de47(source src,target tgt){ } '932aad6b'; } -group emcareobservationemcareb22de46(source src,target tgt){ +group CccobservationCccb22de46(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de46'; + 'id-Cccb22de46'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE46' - 'code-emcareb22de46'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE46' + 'code-Cccb22de46'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.SecondTemperature' then { - itm1.item first as item where linkId = 'EmCare.B22.DE46' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.SecondTemperature' then { + itm1.item first as item where linkId = 'Ccc.B22.DE46' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'true' -> tgt.status = 'final',tgt.value = true '8a65aaa5'; @@ -1513,31 +1513,31 @@ group emcareobservationemcareb22de46(source src,target tgt){ } 'b937d546'; } -group emcareobservationemcareb22de50(source src,target tgt){ +group CccobservationCccb22de50(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de50'; + 'id-Cccb22de50'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE50' - 'code-emcareb22de50'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE50' + 'code-Cccb22de50'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as itm1 where linkId = 'EmCare.B22.SecondTemperature' then { - itm1.item first as item where linkId = 'EmCare.B22.DE50' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B22.SecondTemperature' then { + itm1.item first as item where linkId = 'Ccc.B22.DE50' and answer.exists() then { item.answer first as a then { a.value as val then { - val -> tgt.value = create('CodeableConcept') as cc, cc.coding = create('Coding') as c, c.code=val, c.system= 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', tgt.status = 'final' '759a9a54'; + val -> tgt.value = create('CodeableConcept') as cc, cc.coding = create('Coding') as c, c.code=val, c.system= 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', tgt.status = 'final' '759a9a54'; } '1b820ab0'; } 'd39f9088'; } '336c73e3'; diff --git a/input/mapping/emcare.b22.breastfeeding.map b/input/mapping/Ccc.b22.breastfeeding.map similarity index 69% rename from input/mapping/emcare.b22.breastfeeding.map rename to input/mapping/Ccc.b22.breastfeeding.map index 1c6165e0..61ce1fc0 100644 --- a/input/mapping/emcare.b22.breastfeeding.map +++ b/input/mapping/Ccc.b22.breastfeeding.map @@ -1,130 +1,130 @@ -map 'https://smart.who.int/ccc/StructureMap/emcare.b22.breastfeeding' = 'emcare.b22.breastfeeding' +map 'https://smart.who.int/ccc/StructureMap/Ccc.b22.breastfeeding' = 'Ccc.b22.breastfeeding' uses 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse' alias 'questionnaireResponse' as source uses 'http://hl7.org/fhir/StructureDefinition/Bundle' alias 'Bundle' as target uses 'https://smart.who.int/ccc/StructureDefinition/observation' alias 'Observation' as target -uses 'https://smart.who.int/ccc/StructureDefinition/emcareobservation' alias 'EmCare Observation' as produced +uses 'https://smart.who.int/ccc/StructureDefinition/Cccobservation' alias 'Ccc Observation' as produced group bundletrans(source src : questionnaireResponse,target bundle : Bundle){ src -> bundle.id = uuid() 'id'; src -> bundle.type = 'batch' 'type'; - src.item first as item where linkId = 'EmCare.B22.DE41' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE41' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de41(src, tgt) '35802f20'; + src -> tgt then CccobservationCccb22de41(src, tgt) '35802f20'; } '765c240d'; } '9de4a229'; } '75985b2b'; - src.item first as item where linkId = 'EmCare.B22.DE28' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE28' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de28(src, tgt) 'dd9106b0'; + src -> tgt then CccobservationCccb22de28(src, tgt) 'dd9106b0'; } '72695e81'; } '5cc117e5'; } '9bad69d4'; - src.item first as item where linkId = 'EmCare.B22.DE29' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE29' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de29(src, tgt) '0bd03bad'; + src -> tgt then CccobservationCccb22de29(src, tgt) '0bd03bad'; } '64565ab8'; } 'a568a312'; } '76a8dde8'; - src.item first as item where linkId = 'EmCare.B22.DE30' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE30' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de30(src, tgt) 'a8dbbfa4'; + src -> tgt then CccobservationCccb22de30(src, tgt) 'a8dbbfa4'; } '470a9773'; } '6aff1bf2'; } '2229067c'; - src.item first as item where linkId = 'EmCare.B22.DE31' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE31' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de31(src, tgt) '3a858f1f'; + src -> tgt then CccobservationCccb22de31(src, tgt) '3a858f1f'; } 'bab0e868'; } '47ecf4e4'; } 'c5443b3c'; - src.item first as item where linkId = 'EmCare.B22.DE32' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE32' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de32(src, tgt) '5537f1d1'; + src -> tgt then CccobservationCccb22de32(src, tgt) '5537f1d1'; } '38fb811c'; } '77934152'; } '42b13a25'; - src.item first as item where linkId = 'EmCare.B22.DE33' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE33' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de33(src, tgt) 'b9ca07b3'; + src -> tgt then CccobservationCccb22de33(src, tgt) 'b9ca07b3'; } 'e7981b54'; } 'b81929fc'; } '09721163'; - src.item first as item where linkId = 'EmCare.B22.DE34' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE34' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de34(src, tgt) '81a7b6a0'; + src -> tgt then CccobservationCccb22de34(src, tgt) '81a7b6a0'; } 'a60a44da'; } '9f5867b0'; } '22a4c1bd'; - src.item first as item where linkId = 'EmCare.B22.DE35' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE35' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de35(src, tgt) '99cdb2a9'; + src -> tgt then CccobservationCccb22de35(src, tgt) '99cdb2a9'; } '7976f991'; } '6b8eb7c7'; } '2d0973e6'; - src.item first as item where linkId = 'EmCare.B22.DE36' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE36' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de36(src, tgt) '5d275331'; + src -> tgt then CccobservationCccb22de36(src, tgt) '5d275331'; } 'cec8e27b'; } 'e67b8382'; } '407c94f0'; - src.item first as item where linkId = 'EmCare.B22.DE42' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE42' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de42(src, tgt) '273b1a16'; + src -> tgt then CccobservationCccb22de42(src, tgt) '273b1a16'; } '213a0dca'; } '56a5bbd9'; } '36bdb5b8'; - src.item first as item where linkId = 'EmCare.B22.DE44' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE44' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de44(src, tgt) '843d7b1e'; + src -> tgt then CccobservationCccb22de44(src, tgt) '843d7b1e'; } '70061b03'; } '0e593cb2'; } '4199346d'; } -group emcareobservationemcareb22de41(source src,target tgt){ +group CccobservationCccb22de41(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de41'; + 'id-Cccb22de41'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE41' - 'code-emcareb22de41'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE41' + 'code-Cccb22de41'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B22.DE41' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE41' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'true' -> tgt.status = 'final',tgt.value = true '8a65aaa5'; @@ -133,320 +133,320 @@ group emcareobservationemcareb22de41(source src,target tgt){ } '24def288'; } -group emcareobservationemcareb22de28(source src,target tgt){ +group CccobservationCccb22de28(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de28'; + 'id-Cccb22de28'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE28' - 'code-emcareb22de28'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE28' + 'code-Cccb22de28'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B22.DE28' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE28' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de28'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de28'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de28'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de28'; } 'bdab9370'; } 'f2e6f4c7'; } -group emcareobservationemcareb22de29(source src,target tgt){ +group CccobservationCccb22de29(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de29'; + 'id-Cccb22de29'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE29' - 'code-emcareb22de29'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE29' + 'code-Cccb22de29'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B22.DE29' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE29' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de29'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de29'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de29'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de29'; } 'bdab9370'; } '9c93669f'; } -group emcareobservationemcareb22de30(source src,target tgt){ +group CccobservationCccb22de30(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de30'; + 'id-Cccb22de30'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE30' - 'code-emcareb22de30'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE30' + 'code-Cccb22de30'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B22.DE30' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE30' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de30'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de30'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de30'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de30'; } 'bdab9370'; } '46ca8d36'; } -group emcareobservationemcareb22de31(source src,target tgt){ +group CccobservationCccb22de31(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de31'; + 'id-Cccb22de31'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE31' - 'code-emcareb22de31'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE31' + 'code-Cccb22de31'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B22.DE31' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE31' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de31'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de31'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de31'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de31'; } 'bdab9370'; } '27a8c087'; } -group emcareobservationemcareb22de32(source src,target tgt){ +group CccobservationCccb22de32(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de32'; + 'id-Cccb22de32'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE32' - 'code-emcareb22de32'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE32' + 'code-Cccb22de32'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B22.DE32' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE32' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de32'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de32'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de32'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de32'; } 'bdab9370'; } '24ee0901'; } -group emcareobservationemcareb22de33(source src,target tgt){ +group CccobservationCccb22de33(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de33'; + 'id-Cccb22de33'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE33' - 'code-emcareb22de33'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE33' + 'code-Cccb22de33'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B22.DE33' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE33' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de33'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de33'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de33'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de33'; } 'bdab9370'; } '17cd42bb'; } -group emcareobservationemcareb22de34(source src,target tgt){ +group CccobservationCccb22de34(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de34'; + 'id-Cccb22de34'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE34' - 'code-emcareb22de34'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE34' + 'code-Cccb22de34'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B22.DE34' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE34' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de34'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de34'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de34'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de34'; } 'bdab9370'; } 'aa1487ce'; } -group emcareobservationemcareb22de35(source src,target tgt){ +group CccobservationCccb22de35(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de35'; + 'id-Cccb22de35'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE35' - 'code-emcareb22de35'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE35' + 'code-Cccb22de35'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B22.DE35' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE35' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de35'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de35'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de35'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de35'; } 'bdab9370'; } '4be5f694'; } -group emcareobservationemcareb22de36(source src,target tgt){ +group CccobservationCccb22de36(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb22de36'; + 'id-CccobservationCccb22de36'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE36' - 'code-emcareobservationemcareb22de36'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE36' + 'code-CccobservationCccb22de36'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B22.DE36' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE36' and answer.exists() then { item.answer first as a then { a where value = 'Not well Attached to Breast', a.value as val then { - val -> tgt.value = create('CodeableConcept') as cc, cc.coding = create('Coding') as c, c.code=EmCare.B22.DE37, c.system= 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', tgt.status = 'final' '71afb672'; + val -> tgt.value = create('CodeableConcept') as cc, cc.coding = create('Coding') as c, c.code=Ccc.B22.DE37, c.system= 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', tgt.status = 'final' '71afb672'; } 'a53091ee'; a where value = 'Good Attachment', a.value as val then { - val -> tgt.value = create('CodeableConcept') as cc, cc.coding = create('Coding') as c, c.code=EmCare.B22.DE38, c.system= 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', tgt.status = 'final' '3053aa3e'; + val -> tgt.value = create('CodeableConcept') as cc, cc.coding = create('Coding') as c, c.code=Ccc.B22.DE38, c.system= 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', tgt.status = 'final' '3053aa3e'; } '239a32e6'; a where value = 'Not Sucking Effectively', a.value as val then { - val -> tgt.value = create('CodeableConcept') as cc, cc.coding = create('Coding') as c, c.code=EmCare.B22.DE39, c.system= 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', tgt.status = 'final' '0e60e5cc'; + val -> tgt.value = create('CodeableConcept') as cc, cc.coding = create('Coding') as c, c.code=Ccc.B22.DE39, c.system= 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', tgt.status = 'final' '0e60e5cc'; } 'ae925fc5'; a where value = 'Sucking Effectively', a.value as val then { - val -> tgt.value = create('CodeableConcept') as cc, cc.coding = create('Coding') as c, c.code=EmCare.B22.DE40, c.system= 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', tgt.status = 'final' '5eeaf122'; + val -> tgt.value = create('CodeableConcept') as cc, cc.coding = create('Coding') as c, c.code=Ccc.B22.DE40, c.system= 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', tgt.status = 'final' '5eeaf122'; } '714e8fb5'; } 'bd419d51'; } '1b30376c'; } -group emcareobservationemcareb22de42(source src,target tgt){ +group CccobservationCccb22de42(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de42'; + 'id-Cccb22de42'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE42' - 'code-emcareb22de42'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE42' + 'code-Cccb22de42'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B22.DE42' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE42' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de42'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de42'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de42'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de42'; } 'bdab9370'; } 'da98ddbd'; } -group emcareobservationemcareb22de44(source src,target tgt){ +group CccobservationCccb22de44(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de44'; + 'id-Cccb22de44'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE44' - 'code-emcareb22de44'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE44' + 'code-Cccb22de44'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B22.DE44' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE44' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de44'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de44'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de44'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de44'; } 'bdab9370'; } '53869acc'; } diff --git a/input/mapping/emcare.b22.bronchodilatortest.map b/input/mapping/Ccc.b22.bronchodilatortest.map similarity index 67% rename from input/mapping/emcare.b22.bronchodilatortest.map rename to input/mapping/Ccc.b22.bronchodilatortest.map index 0989ecaf..45c323ed 100644 --- a/input/mapping/emcare.b22.bronchodilatortest.map +++ b/input/mapping/Ccc.b22.bronchodilatortest.map @@ -1,143 +1,143 @@ -map 'https://smart.who.int/ccc/StructureMap/emcare.b22.bronchodilatortest' = 'emcare.b22.bronchodilatortest' +map 'https://smart.who.int/ccc/StructureMap/Ccc.b22.bronchodilatortest' = 'Ccc.b22.bronchodilatortest' uses 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse' alias 'questionnaireResponse' as source uses 'http://hl7.org/fhir/StructureDefinition/Bundle' alias 'Bundle' as target uses 'https://smart.who.int/ccc/StructureDefinition/observation' alias 'Observation' as target -uses 'https://smart.who.int/ccc/StructureDefinition/emcareobservation' alias 'EmCare Observation' as produced +uses 'https://smart.who.int/ccc/StructureDefinition/Cccobservation' alias 'Ccc Observation' as produced group bundletrans(source src : questionnaireResponse,target bundle : Bundle){ src -> bundle.id = uuid() 'id'; src -> bundle.type = 'batch' 'type'; - src where src.item.where(linkId='EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE18') then { - src.item first as item where linkId = 'EmCare.B22.DE17' and answer.exists() then { + src where src.item.where(linkId='Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE18') then { + src.item first as item where linkId = 'Ccc.B22.DE17' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb22de17emcareb22de18t(src,tgt) '4b4e3882'; + src then CccobservationCccb22de17Cccb22de18t(src,tgt) '4b4e3882'; } 'a29f448d'; } '8c5fbec1'; } 'b0f57b45'; } '21951d21'; - src where src.item.where(linkId='EmCare.B22.DE17').exists() and src.item.where(linkId='EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE18').empty() then { - src.item first as item where linkId = 'EmCare.B22.DE17' and answer.exists() then { + src where src.item.where(linkId='Ccc.B22.DE17').exists() and src.item.where(linkId='Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE18').empty() then { + src.item first as item where linkId = 'Ccc.B22.DE17' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb22de17emcareb22de18f(src,tgt) '4fd23ec4'; + src then CccobservationCccb22de17Cccb22de18f(src,tgt) '4fd23ec4'; } 'e477bbcc'; } 'c329f1a7'; } '78424877'; } 'c5976cd7'; - src where src.item.where(linkId='EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE19') then { - src.item first as item where linkId = 'EmCare.B22.DE17' and answer.exists() then { + src where src.item.where(linkId='Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE19') then { + src.item first as item where linkId = 'Ccc.B22.DE17' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb22de17emcareb22de19t(src,tgt) '832556c2'; + src then CccobservationCccb22de17Cccb22de19t(src,tgt) '832556c2'; } '25d864fa'; } 'd659dd64'; } '5b545a39'; } '5e2e09fd'; - src where src.item.where(linkId='EmCare.B22.DE17').exists() and src.item.where(linkId='EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE19').empty() then { - src.item first as item where linkId = 'EmCare.B22.DE17' and answer.exists() then { + src where src.item.where(linkId='Ccc.B22.DE17').exists() and src.item.where(linkId='Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE19').empty() then { + src.item first as item where linkId = 'Ccc.B22.DE17' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb22de17emcareb22de19f(src,tgt) '917126ea'; + src then CccobservationCccb22de17Cccb22de19f(src,tgt) '917126ea'; } '4d341549'; } '7cf5a310'; } 'c89d7013'; } '9e5f2bdb'; - src where src.item.where(linkId='EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE20') then { - src.item first as item where linkId = 'EmCare.B22.DE17' and answer.exists() then { + src where src.item.where(linkId='Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE20') then { + src.item first as item where linkId = 'Ccc.B22.DE17' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb22de17emcareb22de20t(src,tgt) '178da581'; + src then CccobservationCccb22de17Cccb22de20t(src,tgt) '178da581'; } '1e80b046'; } 'd67193a2'; } '59186280'; } 'f429fd81'; - src where src.item.where(linkId='EmCare.B22.DE17').exists() and src.item.where(linkId='EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE20').empty() then { - src.item first as item where linkId = 'EmCare.B22.DE17' and answer.exists() then { + src where src.item.where(linkId='Ccc.B22.DE17').exists() and src.item.where(linkId='Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE20').empty() then { + src.item first as item where linkId = 'Ccc.B22.DE17' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb22de17emcareb22de20f(src,tgt) '4fa88d49'; + src then CccobservationCccb22de17Cccb22de20f(src,tgt) '4fa88d49'; } '30a84474'; } '25416983'; } '7552e3d3'; } '8363b35b'; - src where src.item.where(linkId='EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE21') then { - src.item first as item where linkId = 'EmCare.B22.DE17' and answer.exists() then { + src where src.item.where(linkId='Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE21') then { + src.item first as item where linkId = 'Ccc.B22.DE17' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb22de17emcareb22de21t(src,tgt) '628bfa1d'; + src then CccobservationCccb22de17Cccb22de21t(src,tgt) '628bfa1d'; } '0bf9d78c'; } 'b0fa129e'; } '913a00ce'; } '1561f370'; - src where src.item.where(linkId='EmCare.B22.DE17').exists() and src.item.where(linkId='EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE21').empty() then { - src.item first as item where linkId = 'EmCare.B22.DE17' and answer.exists() then { + src where src.item.where(linkId='Ccc.B22.DE17').exists() and src.item.where(linkId='Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE21').empty() then { + src.item first as item where linkId = 'Ccc.B22.DE17' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb22de17emcareb22de21f(src,tgt) 'f42ef3e7'; + src then CccobservationCccb22de17Cccb22de21f(src,tgt) 'f42ef3e7'; } '65279195'; } '954bbaec'; } 'f61383c6'; } '530338c0'; - src where src.item.where(linkId='EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE22') then { - src.item first as item where linkId = 'EmCare.B22.DE17' and answer.exists() then { + src where src.item.where(linkId='Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE22') then { + src.item first as item where linkId = 'Ccc.B22.DE17' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb22de17emcareb22de22t(src,tgt) 'a1caf2e7'; + src then CccobservationCccb22de17Cccb22de22t(src,tgt) 'a1caf2e7'; } 'cea3f121'; } 'f3d4e5ff'; } '119d61d2'; } 'ba871435'; - src where src.item.where(linkId='EmCare.B22.DE17').exists() and src.item.where(linkId='EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE22').empty() then { - src.item first as item where linkId = 'EmCare.B22.DE17' and answer.exists() then { + src where src.item.where(linkId='Ccc.B22.DE17').exists() and src.item.where(linkId='Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE22').empty() then { + src.item first as item where linkId = 'Ccc.B22.DE17' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src then emcareobservationemcareb22de17emcareb22de22f(src,tgt) 'df402cb9'; + src then CccobservationCccb22de17Cccb22de22f(src,tgt) 'df402cb9'; } 'a7736492'; } '0fd648ea'; } 'cad5ab21'; } 'e57a3dc1'; - src.item first as item where linkId = 'EmCare.B22.DE22' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE22' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de22(src, tgt) 'b9010fac'; + src -> tgt then CccobservationCccb22de22(src, tgt) 'b9010fac'; } '109bcf94'; } '88ceffcd'; } '88960ea0'; - src.item first as item where linkId = 'EmCare.B22.DE21' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE21' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de21(src, tgt) '7c45409d'; + src -> tgt then CccobservationCccb22de21(src, tgt) '7c45409d'; } 'ec6cbc70'; } '2bc763d0'; } '86c6f66b'; } -group emcareobservationemcareb22de17emcareb22de18t(source src,target tgt){ +group CccobservationCccb22de17Cccb22de18t(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb22de17emcareb22de18t'; + 'id-CccobservationCccb22de17Cccb22de18t'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE17&EmCare.B22.DE18' - 'code-emcareobservationemcareb22de17emcareb22de18t'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE17&Ccc.B22.DE18' + 'code-CccobservationCccb22de17Cccb22de18t'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -147,20 +147,20 @@ group emcareobservationemcareb22de17emcareb22de18t(source src,target tgt){ src -> tgt.status = 'final', tgt.value = true 'e9d639e1'; } -group emcareobservationemcareb22de17emcareb22de18f(source src,target tgt){ +group CccobservationCccb22de17Cccb22de18f(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb22de17emcareb22de18f'; + 'id-CccobservationCccb22de17Cccb22de18f'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE17&EmCare.B22.DE18' - 'code-emcareobservationemcareb22de17emcareb22de18f'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE17&Ccc.B22.DE18' + 'code-CccobservationCccb22de17Cccb22de18f'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -170,20 +170,20 @@ group emcareobservationemcareb22de17emcareb22de18f(source src,target tgt){ src -> tgt.status = 'cancelled',tgt.value = false 'f21d6e36'; } -group emcareobservationemcareb22de17emcareb22de19t(source src,target tgt){ +group CccobservationCccb22de17Cccb22de19t(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb22de17emcareb22de19t'; + 'id-CccobservationCccb22de17Cccb22de19t'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE17&EmCare.B22.DE19' - 'code-emcareobservationemcareb22de17emcareb22de19t'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE17&Ccc.B22.DE19' + 'code-CccobservationCccb22de17Cccb22de19t'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -193,20 +193,20 @@ group emcareobservationemcareb22de17emcareb22de19t(source src,target tgt){ src -> tgt.status = 'final', tgt.value = true 'e9d639e1'; } -group emcareobservationemcareb22de17emcareb22de19f(source src,target tgt){ +group CccobservationCccb22de17Cccb22de19f(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb22de17emcareb22de19f'; + 'id-CccobservationCccb22de17Cccb22de19f'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE17&EmCare.B22.DE19' - 'code-emcareobservationemcareb22de17emcareb22de19f'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE17&Ccc.B22.DE19' + 'code-CccobservationCccb22de17Cccb22de19f'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -216,20 +216,20 @@ group emcareobservationemcareb22de17emcareb22de19f(source src,target tgt){ src -> tgt.status = 'cancelled',tgt.value = false 'f21d6e36'; } -group emcareobservationemcareb22de17emcareb22de20t(source src,target tgt){ +group CccobservationCccb22de17Cccb22de20t(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb22de17emcareb22de20t'; + 'id-CccobservationCccb22de17Cccb22de20t'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE17&EmCare.B22.DE20' - 'code-emcareobservationemcareb22de17emcareb22de20t'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE17&Ccc.B22.DE20' + 'code-CccobservationCccb22de17Cccb22de20t'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -239,20 +239,20 @@ group emcareobservationemcareb22de17emcareb22de20t(source src,target tgt){ src -> tgt.status = 'final', tgt.value = true 'e9d639e1'; } -group emcareobservationemcareb22de17emcareb22de20f(source src,target tgt){ +group CccobservationCccb22de17Cccb22de20f(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb22de17emcareb22de20f'; + 'id-CccobservationCccb22de17Cccb22de20f'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE17&EmCare.B22.DE20' - 'code-emcareobservationemcareb22de17emcareb22de20f'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE17&Ccc.B22.DE20' + 'code-CccobservationCccb22de17Cccb22de20f'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -262,20 +262,20 @@ group emcareobservationemcareb22de17emcareb22de20f(source src,target tgt){ src -> tgt.status = 'cancelled',tgt.value = false 'f21d6e36'; } -group emcareobservationemcareb22de17emcareb22de21t(source src,target tgt){ +group CccobservationCccb22de17Cccb22de21t(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb22de17emcareb22de21t'; + 'id-CccobservationCccb22de17Cccb22de21t'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE17&EmCare.B22.DE21' - 'code-emcareobservationemcareb22de17emcareb22de21t'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE17&Ccc.B22.DE21' + 'code-CccobservationCccb22de17Cccb22de21t'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -285,20 +285,20 @@ group emcareobservationemcareb22de17emcareb22de21t(source src,target tgt){ src -> tgt.status = 'final', tgt.value = true 'e9d639e1'; } -group emcareobservationemcareb22de17emcareb22de21f(source src,target tgt){ +group CccobservationCccb22de17Cccb22de21f(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb22de17emcareb22de21f'; + 'id-CccobservationCccb22de17Cccb22de21f'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE17&EmCare.B22.DE21' - 'code-emcareobservationemcareb22de17emcareb22de21f'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE17&Ccc.B22.DE21' + 'code-CccobservationCccb22de17Cccb22de21f'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -308,20 +308,20 @@ group emcareobservationemcareb22de17emcareb22de21f(source src,target tgt){ src -> tgt.status = 'cancelled',tgt.value = false 'f21d6e36'; } -group emcareobservationemcareb22de17emcareb22de22t(source src,target tgt){ +group CccobservationCccb22de17Cccb22de22t(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb22de17emcareb22de22t'; + 'id-CccobservationCccb22de17Cccb22de22t'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE17&EmCare.B22.DE22' - 'code-emcareobservationemcareb22de17emcareb22de22t'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE17&Ccc.B22.DE22' + 'code-CccobservationCccb22de17Cccb22de22t'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -331,20 +331,20 @@ group emcareobservationemcareb22de17emcareb22de22t(source src,target tgt){ src -> tgt.status = 'final', tgt.value = true 'e9d639e1'; } -group emcareobservationemcareb22de17emcareb22de22f(source src,target tgt){ +group CccobservationCccb22de17Cccb22de22f(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareobservationemcareb22de17emcareb22de22f'; + 'id-CccobservationCccb22de17Cccb22de22f'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE17&EmCare.B22.DE22' - 'code-emcareobservationemcareb22de17emcareb22de22f'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE17&Ccc.B22.DE22' + 'code-CccobservationCccb22de17Cccb22de22f'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -354,27 +354,27 @@ group emcareobservationemcareb22de17emcareb22de22f(source src,target tgt){ src -> tgt.status = 'cancelled',tgt.value = false 'f21d6e36'; } -group emcareobservationemcareb22de22(source src,target tgt){ +group CccobservationCccb22de22(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de22'; + 'id-Cccb22de22'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE22' - 'code-emcareb22de22'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE22' + 'code-Cccb22de22'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B22.DE22' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE22' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'true' -> tgt.status = 'final',tgt.value = true '8a65aaa5'; @@ -383,30 +383,30 @@ group emcareobservationemcareb22de22(source src,target tgt){ } 'dd2a446b'; } -group emcareobservationemcareb22de21(source src,target tgt){ +group CccobservationCccb22de21(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de21'; + 'id-Cccb22de21'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE21' - 'code-emcareb22de21'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE21' + 'code-Cccb22de21'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B22.DE21' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE21' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de21'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de21'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de21'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de21'; } 'bdab9370'; } 'be0b9dbe'; } diff --git a/input/mapping/emcare.b22.fluidtest.map b/input/mapping/Ccc.b22.fluidtest.map similarity index 72% rename from input/mapping/emcare.b22.fluidtest.map rename to input/mapping/Ccc.b22.fluidtest.map index 63903471..3fc2c13d 100644 --- a/input/mapping/emcare.b22.fluidtest.map +++ b/input/mapping/Ccc.b22.fluidtest.map @@ -1,74 +1,74 @@ -map 'https://smart.who.int/ccc/StructureMap/emcare.b22.fluidtest' = 'emcare.b22.fluidtest' +map 'https://smart.who.int/ccc/StructureMap/Ccc.b22.fluidtest' = 'Ccc.b22.fluidtest' uses 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse' alias 'questionnaireResponse' as source uses 'http://hl7.org/fhir/StructureDefinition/Bundle' alias 'Bundle' as target uses 'https://smart.who.int/ccc/StructureDefinition/observation' alias 'Observation' as target -uses 'https://smart.who.int/ccc/StructureDefinition/emcareobservation' alias 'EmCare Observation' as produced +uses 'https://smart.who.int/ccc/StructureDefinition/Cccobservation' alias 'Ccc Observation' as produced group bundletrans(source src : questionnaireResponse,target bundle : Bundle){ src -> bundle.id = uuid() 'id'; src -> bundle.type = 'batch' 'type'; - src.item first as item where linkId = 'EmCare.B22.DE08' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE08' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de08(src, tgt) 'd34db40c'; + src -> tgt then CccobservationCccb22de08(src, tgt) 'd34db40c'; } 'bd8403a6'; } '09eb3e1a'; } '9a6f78aa'; - src.item first as item where linkId = 'EmCare.B22.DE14' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE14' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de14(src, tgt) '128f555c'; + src -> tgt then CccobservationCccb22de14(src, tgt) '128f555c'; } '2cba61ee'; } '1eb502ac'; } '4a69f58d'; - src.item first as item where linkId = 'EmCare.B22.DE14a' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE14a' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de14a(src, tgt) '7b46291c'; + src -> tgt then CccobservationCccb22de14a(src, tgt) '7b46291c'; } '17f1508c'; } '64f82f5e'; } '17d5b370'; - src.item first as item where linkId = 'EmCare.B22.DE15' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE15' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de15(src, tgt) '0d25d61c'; + src -> tgt then CccobservationCccb22de15(src, tgt) '0d25d61c'; } '49095bbf'; } '7ffa5829'; } '33c9d538'; - src.item first as item where linkId = 'EmCare.B22.DE16' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE16' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de16(src, tgt) '2bef72fa'; + src -> tgt then CccobservationCccb22de16(src, tgt) '2bef72fa'; } 'f426fdde'; } 'f53bf22c'; } '1a49e616'; } -group emcareobservationemcareb22de08(source src,target tgt){ +group CccobservationCccb22de08(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de08'; + 'id-Cccb22de08'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE08' - 'code-emcareb22de08'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE08' + 'code-Cccb22de08'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B22.DE08' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE08' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' 'd0a13fda'; @@ -78,27 +78,27 @@ group emcareobservationemcareb22de08(source src,target tgt){ } '64bb2211'; } -group emcareobservationemcareb22de14(source src,target tgt){ +group CccobservationCccb22de14(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de14'; + 'id-Cccb22de14'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE14' - 'code-emcareb22de14'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE14' + 'code-Cccb22de14'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B22.DE14' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE14' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'true' -> tgt.status = 'final',tgt.value = true '8a65aaa5'; @@ -107,83 +107,83 @@ group emcareobservationemcareb22de14(source src,target tgt){ } '0ac7445d'; } -group emcareobservationemcareb22de14a(source src,target tgt){ +group CccobservationCccb22de14a(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de14a'; + 'id-Cccb22de14a'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE14a' - 'code-emcareb22de14a'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE14a' + 'code-Cccb22de14a'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B22.DE14a' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE14a' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de14a'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de14a'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de14a'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de14a'; } 'bdab9370'; } 'b79a05a4'; } -group emcareobservationemcareb22de15(source src,target tgt){ +group CccobservationCccb22de15(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de15'; + 'id-Cccb22de15'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE15' - 'code-emcareb22de15'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE15' + 'code-Cccb22de15'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B22.DE15' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE15' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de15'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de15'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de15'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de15'; } 'bdab9370'; } '6c50dbd5'; } -group emcareobservationemcareb22de16(source src,target tgt){ +group CccobservationCccb22de16(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de16'; + 'id-Cccb22de16'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE16' - 'code-emcareb22de16'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE16' + 'code-Cccb22de16'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B22.DE16' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE16' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' 'd0a13fda'; diff --git a/input/mapping/emcare.b22.hemoglobin.map b/input/mapping/Ccc.b22.hemoglobin.map similarity index 72% rename from input/mapping/emcare.b22.hemoglobin.map rename to input/mapping/Ccc.b22.hemoglobin.map index 00be140e..c678a1d0 100644 --- a/input/mapping/emcare.b22.hemoglobin.map +++ b/input/mapping/Ccc.b22.hemoglobin.map @@ -1,77 +1,77 @@ -map 'https://smart.who.int/ccc/StructureMap/emcare.b22.hemoglobin' = 'emcare.b22.hemoglobin' +map 'https://smart.who.int/ccc/StructureMap/Ccc.b22.hemoglobin' = 'Ccc.b22.hemoglobin' uses 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse' alias 'questionnaireResponse' as source uses 'http://hl7.org/fhir/StructureDefinition/Bundle' alias 'Bundle' as target uses 'https://smart.who.int/ccc/StructureDefinition/observation' alias 'Observation' as target -uses 'https://smart.who.int/ccc/StructureDefinition/emcareobservation' alias 'EmCare Observation' as produced +uses 'https://smart.who.int/ccc/StructureDefinition/Cccobservation' alias 'Ccc Observation' as produced group bundletrans(source src : questionnaireResponse,target bundle : Bundle){ src -> bundle.id = uuid() 'id'; src -> bundle.type = 'batch' 'type'; - src.item first as item where linkId = 'EmCare.B22.DE81' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE81' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de81(src, tgt) 'f56b8d65'; + src -> tgt then CccobservationCccb22de81(src, tgt) 'f56b8d65'; } '42cac8d1'; } '00ff1e0b'; } 'f4f9d360'; - src.item first as item where linkId = 'EmCare.B22.DE82' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE82' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de82(src, tgt) '1118b2e0'; + src -> tgt then CccobservationCccb22de82(src, tgt) '1118b2e0'; } '565f125e'; } 'cc5012ad'; } 'ba583c69'; } -group emcareobservationemcareb22de81(source src,target tgt){ +group CccobservationCccb22de81(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de81'; + 'id-Cccb22de81'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE81' - 'code-emcareb22de81'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE81' + 'code-Cccb22de81'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B22.DE81' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE81' and answer.exists() then { item.answer first as a then { a.value as val -> tgt.value = val, tgt.status = 'final' 'afa0ccc0'; } 'd40466ff'; } 'dfc1d2c2'; } -group emcareobservationemcareb22de82(source src,target tgt){ +group CccobservationCccb22de82(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de82'; + 'id-Cccb22de82'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE82' - 'code-emcareb22de82'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE82' + 'code-Cccb22de82'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B22.DE82' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE82' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'true' -> tgt.status = 'final',tgt.value = true '8a65aaa5'; diff --git a/input/mapping/emcare.b22.respiratoryrate.map b/input/mapping/Ccc.b22.respiratoryrate.map similarity index 72% rename from input/mapping/emcare.b22.respiratoryrate.map rename to input/mapping/Ccc.b22.respiratoryrate.map index 2ec26d18..4cea830e 100644 --- a/input/mapping/emcare.b22.respiratoryrate.map +++ b/input/mapping/Ccc.b22.respiratoryrate.map @@ -1,105 +1,105 @@ -map 'https://smart.who.int/ccc/StructureMap/emcare.b22.respiratoryrate' = 'emcare.b22.respiratoryrate' +map 'https://smart.who.int/ccc/StructureMap/Ccc.b22.respiratoryrate' = 'Ccc.b22.respiratoryrate' uses 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse' alias 'questionnaireResponse' as source uses 'http://hl7.org/fhir/StructureDefinition/Bundle' alias 'Bundle' as target uses 'https://smart.who.int/ccc/StructureDefinition/observation' alias 'Observation' as target -uses 'https://smart.who.int/ccc/StructureDefinition/emcareobservation' alias 'EmCare Observation' as produced +uses 'https://smart.who.int/ccc/StructureDefinition/Cccobservation' alias 'Ccc Observation' as produced group bundletrans(source src : questionnaireResponse,target bundle : Bundle){ src -> bundle.id = uuid() 'id'; src -> bundle.type = 'batch' 'type'; - src.item first as item where linkId = 'EmCare.B22.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE01' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de01(src, tgt) '94788d70'; + src -> tgt then CccobservationCccb22de01(src, tgt) '94788d70'; } 'cafa1f90'; } '44017cb3'; } '77649f73'; - src.item first as item where linkId = 'EmCare.B22.DE02' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE02' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de02(src, tgt) 'c3e885af'; + src -> tgt then CccobservationCccb22de02(src, tgt) 'c3e885af'; } '60b301de'; } '815e425c'; } '7ee0496a'; src.item first as itm1 where linkId = 'second' then { - itm1.item first as item where linkId = 'EmCare.B22.DE04' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B22.DE04' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de04(src, tgt) '42ed4c3a'; + src -> tgt then CccobservationCccb22de04(src, tgt) '42ed4c3a'; } 'b802d4a2'; } 'c7431f4f'; } 'db1f14c6'; } 'b4376f1a'; src.item first as itm1 where linkId = 'second' then { - itm1.item first as item where linkId = 'EmCare.B22.DE05' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B22.DE05' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de05(src, tgt) '3be4cd34'; + src -> tgt then CccobservationCccb22de05(src, tgt) '3be4cd34'; } 'b7585bc2'; } '61b1a5c6'; } 'e18939cc'; } '521e128f'; - src.item first as item where linkId = 'EmCare.B22.DE07' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE07' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de07(src, tgt) 'fa30cee1'; + src -> tgt then CccobservationCccb22de07(src, tgt) 'fa30cee1'; } 'aad75965'; } '8267defb'; } 'f682bc2d'; } -group emcareobservationemcareb22de01(source src,target tgt){ +group CccobservationCccb22de01(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de01'; + 'id-Cccb22de01'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE01' - 'code-emcareb22de01'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE01' + 'code-Cccb22de01'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B22.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE01' and answer.exists() then { item.answer first as a then { a.value as val -> tgt.value = val, tgt.status = 'final' 'afa0ccc0'; } 'd40466ff'; } '49ffb8b4'; } -group emcareobservationemcareb22de02(source src,target tgt){ +group CccobservationCccb22de02(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de02'; + 'id-Cccb22de02'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE02' - 'code-emcareb22de02'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE02' + 'code-Cccb22de02'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B22.DE02' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE02' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'true' -> tgt.status = 'final',tgt.value = true '8a65aaa5'; @@ -108,20 +108,20 @@ group emcareobservationemcareb22de02(source src,target tgt){ } '3b9acb5e'; } -group emcareobservationemcareb22de04(source src,target tgt){ +group CccobservationCccb22de04(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de04'; + 'id-Cccb22de04'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE04' - 'code-emcareb22de04'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE04' + 'code-Cccb22de04'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -129,7 +129,7 @@ group emcareobservationemcareb22de04(source src,target tgt){ } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; src.item first as itm1 where linkId = 'second' then { - itm1.item first as item where linkId = 'EmCare.B22.DE04' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B22.DE04' and answer.exists() then { item.answer first as a then { a.value as val -> tgt.value = val, tgt.status = 'final' 'afa0ccc0'; } 'd40466ff'; @@ -137,20 +137,20 @@ group emcareobservationemcareb22de04(source src,target tgt){ } 'dfb413f3'; } -group emcareobservationemcareb22de05(source src,target tgt){ +group CccobservationCccb22de05(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de05'; + 'id-Cccb22de05'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE05' - 'code-emcareb22de05'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE05' + 'code-Cccb22de05'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -158,7 +158,7 @@ group emcareobservationemcareb22de05(source src,target tgt){ } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; src.item first as itm1 where linkId = 'second' then { - itm1.item first as item where linkId = 'EmCare.B22.DE05' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B22.DE05' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'true' -> tgt.status = 'final',tgt.value = true '8a65aaa5'; @@ -168,30 +168,30 @@ group emcareobservationemcareb22de05(source src,target tgt){ } 'e7a272dd'; } -group emcareobservationemcareb22de07(source src,target tgt){ +group CccobservationCccb22de07(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de07'; + 'id-Cccb22de07'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE07' - 'code-emcareb22de07'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE07' + 'code-Cccb22de07'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B22.DE07' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE07' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de07'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de07'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de07'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de07'; } 'bdab9370'; } '07e9b85b'; } diff --git a/input/mapping/emcare.b22.secondtemperature.map b/input/mapping/Ccc.b22.secondtemperature.map similarity index 71% rename from input/mapping/emcare.b22.secondtemperature.map rename to input/mapping/Ccc.b22.secondtemperature.map index 72e47eaf..15f0f3c8 100644 --- a/input/mapping/emcare.b22.secondtemperature.map +++ b/input/mapping/Ccc.b22.secondtemperature.map @@ -1,85 +1,85 @@ -map 'https://smart.who.int/ccc/StructureMap/emcare.b22.secondtemperature' = 'emcare.b22.secondtemperature' +map 'https://smart.who.int/ccc/StructureMap/Ccc.b22.secondtemperature' = 'Ccc.b22.secondtemperature' uses 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse' alias 'questionnaireResponse' as source uses 'http://hl7.org/fhir/StructureDefinition/Bundle' alias 'Bundle' as target uses 'https://smart.who.int/ccc/StructureDefinition/observation' alias 'Observation' as target -uses 'https://smart.who.int/ccc/StructureDefinition/emcareobservation' alias 'EmCare Observation' as produced +uses 'https://smart.who.int/ccc/StructureDefinition/Cccobservation' alias 'Ccc Observation' as produced group bundletrans(source src : questionnaireResponse,target bundle : Bundle){ src -> bundle.id = uuid() 'id'; src -> bundle.type = 'batch' 'type'; - src.item first as item where linkId = 'EmCare.B22.DE47' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE47' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de47(src, tgt) '27e1ae58'; + src -> tgt then CccobservationCccb22de47(src, tgt) '27e1ae58'; } '68ad31bf'; } '6ac0c1c9'; } '921b6c4e'; - src.item first as item where linkId = 'EmCare.B22.DE46' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE46' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de46(src, tgt) 'd4ea6333'; + src -> tgt then CccobservationCccb22de46(src, tgt) 'd4ea6333'; } '1ee0adeb'; } '9266b262'; } '822ffc0d'; - src.item first as item where linkId = 'EmCare.B22.DE50' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE50' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de50(src, tgt) 'b5c48578'; + src -> tgt then CccobservationCccb22de50(src, tgt) 'b5c48578'; } '1d3deeec'; } '82120e52'; } '7a077eb8'; } -group emcareobservationemcareb22de47(source src,target tgt){ +group CccobservationCccb22de47(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de47'; + 'id-Cccb22de47'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE47' - 'code-emcareb22de47'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE47' + 'code-Cccb22de47'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B22.DE47' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE47' and answer.exists() then { item.answer first as a then { a.value as val -> tgt.value = val, tgt.status = 'final' 'afa0ccc0'; } 'd40466ff'; } '48393240'; } -group emcareobservationemcareb22de46(source src,target tgt){ +group CccobservationCccb22de46(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de46'; + 'id-Cccb22de46'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE46' - 'code-emcareb22de46'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE46' + 'code-Cccb22de46'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B22.DE46' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE46' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'true' -> tgt.status = 'final',tgt.value = true '8a65aaa5'; @@ -88,30 +88,30 @@ group emcareobservationemcareb22de46(source src,target tgt){ } 'a4475795'; } -group emcareobservationemcareb22de50(source src,target tgt){ +group CccobservationCccb22de50(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de50'; + 'id-Cccb22de50'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE50' - 'code-emcareb22de50'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE50' + 'code-Cccb22de50'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B22.DE50' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B22.DE50' and answer.exists() then { item.answer first as a then { a.value as val then { - val -> tgt.value = create('CodeableConcept') as cc, cc.coding = create('Coding') as c, c.code=val, c.system= 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', tgt.status = 'final' '759a9a54'; + val -> tgt.value = create('CodeableConcept') as cc, cc.coding = create('Coding') as c, c.code=val, c.system= 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', tgt.status = 'final' '759a9a54'; } '1b820ab0'; } 'd39f9088'; } '7972a70f'; diff --git a/input/mapping/emcare.b23.classification.m.map b/input/mapping/Ccc.b23.classification.m.map similarity index 80% rename from input/mapping/emcare.b23.classification.m.map rename to input/mapping/Ccc.b23.classification.m.map index b7515cdf..e578c66d 100644 --- a/input/mapping/emcare.b23.classification.m.map +++ b/input/mapping/Ccc.b23.classification.m.map @@ -1,267 +1,267 @@ -map 'https://smart.who.int/ccc/StructureMap/emcare.b23.classification.m' = 'emcare.b23.classification.m' +map 'https://smart.who.int/ccc/StructureMap/Ccc.b23.classification.m' = 'Ccc.b23.classification.m' uses 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse' alias 'questionnaireResponse' as source uses 'http://hl7.org/fhir/StructureDefinition/Bundle' alias 'Bundle' as target uses 'https://smart.who.int/ccc/StructureDefinition/condition' alias 'Condition' as target -uses 'https://smart.who.int/ccc/StructureDefinition/emcarecondition' alias 'EmCare Condition' as produced +uses 'https://smart.who.int/ccc/StructureDefinition/Ccccondition' alias 'Ccc Condition' as produced group bundletrans(source src : questionnaireResponse,target bundle : Bundle){ src -> bundle.id = uuid() 'id'; src -> bundle.type = 'batch' 'type'; - src.item first as item where linkId = 'EmCare.B23.DE83' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE83' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE83' and answer.exists() then { - item then emcareconditionemcareb23de83(src,item, tgt) '178343d7'; + src.item first as item where linkId = 'Ccc.B23.DE83' and answer.exists() then { + item then CccconditionCccb23de83(src,item, tgt) '178343d7'; } 'a8097d41'; } 'ad9073a1'; } '83bc4493'; } '09b682e0'; - src.item first as item where linkId = 'EmCare.B23.DE06' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE06' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE06' and answer.exists() then { - item then emcareconditionemcareb23de06(src,item, tgt) '9c759e88'; + src.item first as item where linkId = 'Ccc.B23.DE06' and answer.exists() then { + item then CccconditionCccb23de06(src,item, tgt) '9c759e88'; } '060d6b0f'; } '6909c9cb'; } '80a2a642'; } '93603109'; - src.item first as item where linkId = 'EmCare.B23.DE85' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE85' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE85' and answer.exists() then { - item then emcareconditionemcareb23de85(src,item, tgt) '935222a8'; + src.item first as item where linkId = 'Ccc.B23.DE85' and answer.exists() then { + item then CccconditionCccb23de85(src,item, tgt) '935222a8'; } 'd50b3ee7'; } 'b5ace6e4'; } '6e6a68c3'; } 'a87e641b'; - src.item first as item where linkId = 'EmCare.B23.DE86' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE86' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE86' and answer.exists() then { - item then emcareconditionemcareb23de86(src,item, tgt) '7b5655d0'; + src.item first as item where linkId = 'Ccc.B23.DE86' and answer.exists() then { + item then CccconditionCccb23de86(src,item, tgt) '7b5655d0'; } 'a02dff61'; } 'f6d60d42'; } 'e66f46ee'; } '67b6f016'; - src.item first as item where linkId = 'EmCare.B23.DE106' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE106' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE106' and answer.exists() then { - item then emcareconditionemcareb23de106(src,item, tgt) '1385c52a'; + src.item first as item where linkId = 'Ccc.B23.DE106' and answer.exists() then { + item then CccconditionCccb23de106(src,item, tgt) '1385c52a'; } 'f5b0e691'; } 'cffa49c6'; } 'f8df0e47'; } 'a8b97e3f'; - src.item first as item where linkId = 'EmCare.B23.DE87' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE87' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE87' and answer.exists() then { - item then emcareconditionemcareb23de87(src,item, tgt) 'ba174f0b'; + src.item first as item where linkId = 'Ccc.B23.DE87' and answer.exists() then { + item then CccconditionCccb23de87(src,item, tgt) 'ba174f0b'; } '30f36551'; } '7e51b325'; } 'efdd0e20'; } '2521504d'; - src.item first as item where linkId = 'EmCare.B23.DE88' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE88' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE88' and answer.exists() then { - item then emcareconditionemcareb23de88(src,item, tgt) 'f570c42d'; + src.item first as item where linkId = 'Ccc.B23.DE88' and answer.exists() then { + item then CccconditionCccb23de88(src,item, tgt) 'f570c42d'; } 'f0521ba0'; } '999ae6b0'; } '0077703f'; } '3efea57e'; - src.item first as item where linkId = 'EmCare.B23.DE89' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE89' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE89' and answer.exists() then { - item then emcareconditionemcareb23de89(src,item, tgt) '226a96b3'; + src.item first as item where linkId = 'Ccc.B23.DE89' and answer.exists() then { + item then CccconditionCccb23de89(src,item, tgt) '226a96b3'; } '72e06a74'; } 'd6e439e9'; } '09b39961'; } 'cc634914'; - src.item first as item where linkId = 'EmCare.B23.DE13' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE13' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE13' and answer.exists() then { - item then emcareconditionemcareb23de13(src,item, tgt) '66186a0c'; + src.item first as item where linkId = 'Ccc.B23.DE13' and answer.exists() then { + item then CccconditionCccb23de13(src,item, tgt) '66186a0c'; } 'a1450efb'; } '076ff820'; } '08bcb577'; } 'feb0d657'; - src.item first as item where linkId = 'EmCare.B23.DE14' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE14' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE14' and answer.exists() then { - item then emcareconditionemcareb23de14(src,item, tgt) '2dcb0090'; + src.item first as item where linkId = 'Ccc.B23.DE14' and answer.exists() then { + item then CccconditionCccb23de14(src,item, tgt) '2dcb0090'; } '88d1e8c7'; } '3ef7f05b'; } '90e804b6'; } 'd819a392'; - src.item first as item where linkId = 'EmCare.B23.DE15' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE15' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE15' and answer.exists() then { - item then emcareconditionemcareb23de15(src,item, tgt) 'fe470a2a'; + src.item first as item where linkId = 'Ccc.B23.DE15' and answer.exists() then { + item then CccconditionCccb23de15(src,item, tgt) 'fe470a2a'; } '21fccbde'; } '2eb659f8'; } '79ef4ab2'; } 'e3b54720'; - src.item first as item where linkId = 'EmCare.B23.DE94' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE94' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE94' and answer.exists() then { - item then emcareconditionemcareb23de94(src,item, tgt) '4bfe2573'; + src.item first as item where linkId = 'Ccc.B23.DE94' and answer.exists() then { + item then CccconditionCccb23de94(src,item, tgt) '4bfe2573'; } 'a323ced7'; } '4238505f'; } 'cb434a7e'; } '974a1d36'; - src.item first as item where linkId = 'EmCare.B23.DE98' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE98' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE98' and answer.exists() then { - item then emcareconditionemcareb23de98(src,item, tgt) 'ec699e2c'; + src.item first as item where linkId = 'Ccc.B23.DE98' and answer.exists() then { + item then CccconditionCccb23de98(src,item, tgt) 'ec699e2c'; } '19da18a9'; } 'b82b0c05'; } '67075fc4'; } '51f9d108'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE83') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE83') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de83(src,item,tgt) 'a49f2674'; + src then CccconditioncollectorCccb23de83(src,item,tgt) 'a49f2674'; } '5a82b6a2'; } 'd2d9497c'; } 'c5fd054e'; } '0a3b92c9'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE06') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE06') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de06(src,item,tgt) 'ab6f052f'; + src then CccconditioncollectorCccb23de06(src,item,tgt) 'ab6f052f'; } 'e87439ac'; } '37d42e73'; } '7708b4b0'; } 'ca7b518e'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE85') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE85') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de85(src,item,tgt) '34be21c7'; + src then CccconditioncollectorCccb23de85(src,item,tgt) '34be21c7'; } 'dd73e267'; } '17b29f54'; } '7a81127f'; } '3bb7e65c'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE86') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE86') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de86(src,item,tgt) '85e79f33'; + src then CccconditioncollectorCccb23de86(src,item,tgt) '85e79f33'; } 'b37e1f00'; } '5ebec517'; } '742af28b'; } '125b7e31'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE106') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE106') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de106(src,item,tgt) '5f3c80c3'; + src then CccconditioncollectorCccb23de106(src,item,tgt) '5f3c80c3'; } '8a9ab3d6'; } 'b3badac5'; } '8aec9c45'; } '332b8a91'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE87') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE87') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de87(src,item,tgt) '69dafef9'; + src then CccconditioncollectorCccb23de87(src,item,tgt) '69dafef9'; } '7d2dd85f'; } '3814725e'; } '98d3b1f5'; } '4afba6d2'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE88') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE88') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de88(src,item,tgt) 'b8d9f845'; + src then CccconditioncollectorCccb23de88(src,item,tgt) 'b8d9f845'; } '65150a1a'; } '43b46f0d'; } 'c4a03e24'; } '4ed6008e'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE89') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE89') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de89(src,item,tgt) 'e0b2a7ea'; + src then CccconditioncollectorCccb23de89(src,item,tgt) 'e0b2a7ea'; } '5f78e785'; } '4b1fc155'; } 'ad230210'; } 'fd95ca9c'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE13') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE13') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de13(src,item,tgt) 'ca1c2344'; + src then CccconditioncollectorCccb23de13(src,item,tgt) 'ca1c2344'; } 'e291ac38'; } 'a3790ce2'; } 'df1da7ee'; } 'db30808b'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE14') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE14') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de14(src,item,tgt) 'd2d217d7'; + src then CccconditioncollectorCccb23de14(src,item,tgt) 'd2d217d7'; } '71ec8c01'; } 'eec21165'; } '4bec0867'; } 'b6cebe17'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE15') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE15') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de15(src,item,tgt) 'd06cdfa3'; + src then CccconditioncollectorCccb23de15(src,item,tgt) 'd06cdfa3'; } '78497d5c'; } '5f0e524b'; } '84c7d9e0'; } '5fb77efc'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE94') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE94') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de94(src,item,tgt) 'fd905dcf'; + src then CccconditioncollectorCccb23de94(src,item,tgt) 'fd905dcf'; } '887a5cf4'; } 'e9cd9662'; } 'd351f4bc'; } '1277893a'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE98') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE98') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de98(src,item,tgt) '50233ad8'; + src then CccconditioncollectorCccb23de98(src,item,tgt) '50233ad8'; } '3c87eb32'; } 'ac7c8731'; } '18115b63'; @@ -271,14 +271,14 @@ group bundletrans(source src : questionnaireResponse,target bundle : Bundle){ src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectorcollector(src,item,tgt) 'dee30196'; + src then Cccconditioncollectorcollector(src,item,tgt) 'dee30196'; } 'dbad65ac'; } '652cfd04'; } '63e7ab00'; } 'd596b39a'; } -group emcareconditionemcareb23de83(source src,source item,target tgt){ +group CccconditionCccb23de83(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -288,7 +288,7 @@ group emcareconditionemcareb23de83(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE83', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '8e761921'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE83', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '8e761921'; } 'a10c1e7b'; } '13fd46f9'; item.answer where value.code = 'agree' then { @@ -301,7 +301,7 @@ group emcareconditionemcareb23de83(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de06(source src,source item,target tgt){ +group CccconditionCccb23de06(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -311,7 +311,7 @@ group emcareconditionemcareb23de06(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE06', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'dd0fd01c'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE06', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'dd0fd01c'; } '8ef845b0'; } '558d6c0d'; item.answer where value.code = 'agree' then { @@ -324,7 +324,7 @@ group emcareconditionemcareb23de06(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de85(source src,source item,target tgt){ +group CccconditionCccb23de85(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -334,7 +334,7 @@ group emcareconditionemcareb23de85(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE85', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'edf923c3'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE85', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'edf923c3'; } 'a2ce3a97'; } '6f3a3752'; item.answer where value.code = 'agree' then { @@ -347,7 +347,7 @@ group emcareconditionemcareb23de85(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de86(source src,source item,target tgt){ +group CccconditionCccb23de86(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -357,7 +357,7 @@ group emcareconditionemcareb23de86(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE86', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '342850aa'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE86', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '342850aa'; } '9338b358'; } 'fc719a3c'; item.answer where value.code = 'agree' then { @@ -370,7 +370,7 @@ group emcareconditionemcareb23de86(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de106(source src,source item,target tgt){ +group CccconditionCccb23de106(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -380,7 +380,7 @@ group emcareconditionemcareb23de106(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE106', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '70f0a4fa'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE106', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '70f0a4fa'; } 'd8d6d130'; } '671ed411'; item.answer where value.code = 'agree' then { @@ -393,7 +393,7 @@ group emcareconditionemcareb23de106(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de87(source src,source item,target tgt){ +group CccconditionCccb23de87(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -403,7 +403,7 @@ group emcareconditionemcareb23de87(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE87', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '01f1ca5f'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE87', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '01f1ca5f'; } '62727c30'; } '9ff74c9e'; item.answer where value.code = 'agree' then { @@ -416,7 +416,7 @@ group emcareconditionemcareb23de87(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de88(source src,source item,target tgt){ +group CccconditionCccb23de88(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -426,7 +426,7 @@ group emcareconditionemcareb23de88(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE88', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '2803d2d8'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE88', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '2803d2d8'; } '360a74b4'; } '36ea706b'; item.answer where value.code = 'agree' then { @@ -439,7 +439,7 @@ group emcareconditionemcareb23de88(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de89(source src,source item,target tgt){ +group CccconditionCccb23de89(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -449,7 +449,7 @@ group emcareconditionemcareb23de89(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE89', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'd0ba1006'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE89', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'd0ba1006'; } '10f03284'; } '0d943b47'; item.answer where value.code = 'agree' then { @@ -462,7 +462,7 @@ group emcareconditionemcareb23de89(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de13(source src,source item,target tgt){ +group CccconditionCccb23de13(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -472,7 +472,7 @@ group emcareconditionemcareb23de13(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE13', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '0b87b4e7'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE13', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '0b87b4e7'; } '6cc1c549'; } 'dc54929c'; item.answer where value.code = 'agree' then { @@ -485,7 +485,7 @@ group emcareconditionemcareb23de13(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de14(source src,source item,target tgt){ +group CccconditionCccb23de14(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -495,7 +495,7 @@ group emcareconditionemcareb23de14(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE14', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'c77e81e6'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE14', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'c77e81e6'; } 'a3de578a'; } 'd565e84e'; item.answer where value.code = 'agree' then { @@ -508,7 +508,7 @@ group emcareconditionemcareb23de14(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de15(source src,source item,target tgt){ +group CccconditionCccb23de15(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -518,7 +518,7 @@ group emcareconditionemcareb23de15(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE15', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '16e4a2c3'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE15', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '16e4a2c3'; } '088a39f1'; } 'b194144a'; item.answer where value.code = 'agree' then { @@ -531,7 +531,7 @@ group emcareconditionemcareb23de15(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de94(source src,source item,target tgt){ +group CccconditionCccb23de94(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -541,7 +541,7 @@ group emcareconditionemcareb23de94(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE94', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '61234ed0'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE94', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '61234ed0'; } 'ba5673dd'; } 'b957f076'; item.answer where value.code = 'agree' then { @@ -554,7 +554,7 @@ group emcareconditionemcareb23de94(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de98(source src,source item,target tgt){ +group CccconditionCccb23de98(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -564,7 +564,7 @@ group emcareconditionemcareb23de98(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE98', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '11d6b9d2'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE98', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '11d6b9d2'; } 'cbe98666'; } '98163aba'; item.answer where value.code = 'agree' then { @@ -577,7 +577,7 @@ group emcareconditionemcareb23de98(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditioncollectoremcareb23de83(source src,source item,target tgt){ +group CccconditioncollectorCccb23de83(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -587,14 +587,14 @@ group emcareconditioncollectoremcareb23de83(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE83', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '8e761921'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE83', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '8e761921'; } 'a10c1e7b'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '64537b70'; } -group emcareconditioncollectoremcareb23de06(source src,source item,target tgt){ +group CccconditioncollectorCccb23de06(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -604,14 +604,14 @@ group emcareconditioncollectoremcareb23de06(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE06', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'dd0fd01c'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE06', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'dd0fd01c'; } '8ef845b0'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '8ede6446'; } -group emcareconditioncollectoremcareb23de85(source src,source item,target tgt){ +group CccconditioncollectorCccb23de85(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -621,14 +621,14 @@ group emcareconditioncollectoremcareb23de85(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE85', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'edf923c3'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE85', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'edf923c3'; } 'a2ce3a97'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '7ab58b18'; } -group emcareconditioncollectoremcareb23de86(source src,source item,target tgt){ +group CccconditioncollectorCccb23de86(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -638,14 +638,14 @@ group emcareconditioncollectoremcareb23de86(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE86', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '342850aa'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE86', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '342850aa'; } '9338b358'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } 'c7e15e0e'; } -group emcareconditioncollectoremcareb23de106(source src,source item,target tgt){ +group CccconditioncollectorCccb23de106(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -655,14 +655,14 @@ group emcareconditioncollectoremcareb23de106(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE106', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '70f0a4fa'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE106', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '70f0a4fa'; } 'd8d6d130'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } 'c5746d18'; } -group emcareconditioncollectoremcareb23de87(source src,source item,target tgt){ +group CccconditioncollectorCccb23de87(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -672,14 +672,14 @@ group emcareconditioncollectoremcareb23de87(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE87', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '01f1ca5f'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE87', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '01f1ca5f'; } '62727c30'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '8dee988b'; } -group emcareconditioncollectoremcareb23de88(source src,source item,target tgt){ +group CccconditioncollectorCccb23de88(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -689,14 +689,14 @@ group emcareconditioncollectoremcareb23de88(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE88', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '2803d2d8'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE88', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '2803d2d8'; } '360a74b4'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } 'e6ded7f8'; } -group emcareconditioncollectoremcareb23de89(source src,source item,target tgt){ +group CccconditioncollectorCccb23de89(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -706,14 +706,14 @@ group emcareconditioncollectoremcareb23de89(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE89', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'd0ba1006'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE89', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'd0ba1006'; } '10f03284'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '38f340fb'; } -group emcareconditioncollectoremcareb23de13(source src,source item,target tgt){ +group CccconditioncollectorCccb23de13(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -723,14 +723,14 @@ group emcareconditioncollectoremcareb23de13(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE13', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '0b87b4e7'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE13', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '0b87b4e7'; } '6cc1c549'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '39e0fe5e'; } -group emcareconditioncollectoremcareb23de14(source src,source item,target tgt){ +group CccconditioncollectorCccb23de14(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -740,14 +740,14 @@ group emcareconditioncollectoremcareb23de14(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE14', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'c77e81e6'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE14', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'c77e81e6'; } 'a3de578a'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } 'da0791a5'; } -group emcareconditioncollectoremcareb23de15(source src,source item,target tgt){ +group CccconditioncollectorCccb23de15(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -757,14 +757,14 @@ group emcareconditioncollectoremcareb23de15(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE15', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '16e4a2c3'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE15', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '16e4a2c3'; } '088a39f1'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } 'b16e2ac9'; } -group emcareconditioncollectoremcareb23de94(source src,source item,target tgt){ +group CccconditioncollectorCccb23de94(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -774,14 +774,14 @@ group emcareconditioncollectoremcareb23de94(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE94', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '61234ed0'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE94', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '61234ed0'; } 'ba5673dd'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '82182761'; } -group emcareconditioncollectoremcareb23de98(source src,source item,target tgt){ +group CccconditioncollectorCccb23de98(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -791,14 +791,14 @@ group emcareconditioncollectoremcareb23de98(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE98', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '11d6b9d2'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE98', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '11d6b9d2'; } 'cbe98666'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '869e7605'; } -group emcareconditioncollectorcollector(source src,source item,target tgt){ +group Cccconditioncollectorcollector(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -808,7 +808,7 @@ group emcareconditioncollectorcollector(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'collector', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'ab5440b5'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'collector', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'ab5440b5'; } '6fc817a4'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; diff --git a/input/mapping/emcare.b23.classification.map b/input/mapping/Ccc.b23.classification.map similarity index 79% rename from input/mapping/emcare.b23.classification.map rename to input/mapping/Ccc.b23.classification.map index 9189fa44..f5f3dac7 100644 --- a/input/mapping/emcare.b23.classification.map +++ b/input/mapping/Ccc.b23.classification.map @@ -1,957 +1,957 @@ -map 'https://smart.who.int/ccc/StructureMap/emcare.b23.classification' = 'emcare.b23.classification' +map 'https://smart.who.int/ccc/StructureMap/Ccc.b23.classification' = 'Ccc.b23.classification' uses 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse' alias 'questionnaireResponse' as source uses 'http://hl7.org/fhir/StructureDefinition/Bundle' alias 'Bundle' as target uses 'https://smart.who.int/ccc/StructureDefinition/observation' alias 'Observation' as target uses 'https://smart.who.int/ccc/StructureDefinition/condition' alias 'Condition' as target -uses 'https://smart.who.int/ccc/StructureDefinition/emcareobservation' alias 'EmCare Observation' as produced -uses 'https://smart.who.int/ccc/StructureDefinition/emcarecondition' alias 'EmCare Condition' as produced +uses 'https://smart.who.int/ccc/StructureDefinition/Cccobservation' alias 'Ccc Observation' as produced +uses 'https://smart.who.int/ccc/StructureDefinition/Ccccondition' alias 'Ccc Condition' as produced group bundletrans(source src : questionnaireResponse,target bundle : Bundle){ src -> bundle.id = uuid() 'id'; src -> bundle.type = 'batch' 'type'; - src.item first as item where linkId = 'EmCare.B6.DE08' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B6.DE08' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb6de08(src, tgt) '6bb35e76'; + src -> tgt then CccobservationCccb6de08(src, tgt) '6bb35e76'; } 'eb449882'; } 'e71738d1'; } 'b739680e'; - src.item first as item where linkId = 'EmCare.B23.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE01' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE01' and answer.exists() then { - item then emcareconditionemcareb23de01(src,item, tgt) '2f5a16b2'; + src.item first as item where linkId = 'Ccc.B23.DE01' and answer.exists() then { + item then CccconditionCccb23de01(src,item, tgt) '2f5a16b2'; } 'bfe7a55c'; } '50a5819f'; } 'e8f6cc23'; } '7a454a82'; - src.item first as item where linkId = 'EmCare.B23.DE03' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE03' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE03' and answer.exists() then { - item then emcareconditionemcareb23de03(src,item, tgt) 'a67360e4'; + src.item first as item where linkId = 'Ccc.B23.DE03' and answer.exists() then { + item then CccconditionCccb23de03(src,item, tgt) 'a67360e4'; } '42024447'; } '78d1fec3'; } 'ab9b8f9b'; } 'f63c99d7'; - src.item first as item where linkId = 'EmCare.B23.DE06' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE06' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE06' and answer.exists() then { - item then emcareconditionemcareb23de06(src,item, tgt) '9c759e88'; + src.item first as item where linkId = 'Ccc.B23.DE06' and answer.exists() then { + item then CccconditionCccb23de06(src,item, tgt) '9c759e88'; } '060d6b0f'; } '6909c9cb'; } '80a2a642'; } '93603109'; - src.item first as item where linkId = 'EmCare.B23.DE10' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE10' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE10' and answer.exists() then { - item then emcareconditionemcareb23de10(src,item, tgt) '68412bef'; + src.item first as item where linkId = 'Ccc.B23.DE10' and answer.exists() then { + item then CccconditionCccb23de10(src,item, tgt) '68412bef'; } 'f7cba384'; } '395852f7'; } 'fe607810'; } 'b387304c'; - src.item first as item where linkId = 'EmCare.B23.DE13' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE13' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE13' and answer.exists() then { - item then emcareconditionemcareb23de13(src,item, tgt) '66186a0c'; + src.item first as item where linkId = 'Ccc.B23.DE13' and answer.exists() then { + item then CccconditionCccb23de13(src,item, tgt) '66186a0c'; } 'a1450efb'; } '076ff820'; } '08bcb577'; } 'feb0d657'; - src.item first as item where linkId = 'EmCare.B23.DE14' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE14' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE14' and answer.exists() then { - item then emcareconditionemcareb23de14(src,item, tgt) '2dcb0090'; + src.item first as item where linkId = 'Ccc.B23.DE14' and answer.exists() then { + item then CccconditionCccb23de14(src,item, tgt) '2dcb0090'; } '88d1e8c7'; } '3ef7f05b'; } '90e804b6'; } 'd819a392'; - src.item first as item where linkId = 'EmCare.B23.DE15' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE15' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE15' and answer.exists() then { - item then emcareconditionemcareb23de15(src,item, tgt) 'fe470a2a'; + src.item first as item where linkId = 'Ccc.B23.DE15' and answer.exists() then { + item then CccconditionCccb23de15(src,item, tgt) 'fe470a2a'; } '21fccbde'; } '2eb659f8'; } '79ef4ab2'; } 'e3b54720'; - src.item first as item where linkId = 'EmCare.B23.DE16' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE16' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE16' and answer.exists() then { - item then emcareconditionemcareb23de16(src,item, tgt) '5ca68bc9'; + src.item first as item where linkId = 'Ccc.B23.DE16' and answer.exists() then { + item then CccconditionCccb23de16(src,item, tgt) '5ca68bc9'; } '13f73669'; } '004176aa'; } 'f197824a'; } '30f296ff'; - src.item first as item where linkId = 'EmCare.B23.DE17' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE17' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE17' and answer.exists() then { - item then emcareconditionemcareb23de17(src,item, tgt) 'b84270e5'; + src.item first as item where linkId = 'Ccc.B23.DE17' and answer.exists() then { + item then CccconditionCccb23de17(src,item, tgt) 'b84270e5'; } '40c0e1f5'; } 'ed28a431'; } '8655026f'; } 'e00a237b'; - src.item first as item where linkId = 'EmCare.B23.DE18' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE18' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE18' and answer.exists() then { - item then emcareconditionemcareb23de18(src,item, tgt) 'dfbf48ee'; + src.item first as item where linkId = 'Ccc.B23.DE18' and answer.exists() then { + item then CccconditionCccb23de18(src,item, tgt) 'dfbf48ee'; } 'ad789b95'; } 'd65389e8'; } '78232367'; } '8cc4fc87'; - src.item first as item where linkId = 'EmCare.B23.DE18.a' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE18.a' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE18.a' and answer.exists() then { - item then emcareconditionemcareb23de18a(src,item, tgt) '5c3c2d1d'; + src.item first as item where linkId = 'Ccc.B23.DE18.a' and answer.exists() then { + item then CccconditionCccb23de18a(src,item, tgt) '5c3c2d1d'; } '43c599a6'; } '75af673e'; } 'f32ce9b9'; } '316d35e0'; - src.item first as item where linkId = 'EmCare.B23.DE100' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE100' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE100' and answer.exists() then { - item then emcareconditionemcareb23de100(src,item, tgt) '56f36841'; + src.item first as item where linkId = 'Ccc.B23.DE100' and answer.exists() then { + item then CccconditionCccb23de100(src,item, tgt) '56f36841'; } '97f35c84'; } '89555aa7'; } 'f85ae159'; } 'af08e4be'; - src.item first as item where linkId = 'EmCare.B23.DE6101' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE6101' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE6101' and answer.exists() then { - item then emcareconditionemcareb23de6101(src,item, tgt) '753668eb'; + src.item first as item where linkId = 'Ccc.B23.DE6101' and answer.exists() then { + item then CccconditionCccb23de6101(src,item, tgt) '753668eb'; } '1e95b03f'; } '098ed11a'; } '3ad2ebe1'; } '083bdfa7'; - src.item first as item where linkId = 'EmCare.B23.DE6102' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE6102' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE6102' and answer.exists() then { - item then emcareconditionemcareb23de6102(src,item, tgt) 'b18c060f'; + src.item first as item where linkId = 'Ccc.B23.DE6102' and answer.exists() then { + item then CccconditionCccb23de6102(src,item, tgt) 'b18c060f'; } '9885316c'; } '02844368'; } '60e42bf7'; } 'be28d894'; - src.item first as item where linkId = 'EmCare.B23.DE6103' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE6103' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE6103' and answer.exists() then { - item then emcareconditionemcareb23de6103(src,item, tgt) '694ad147'; + src.item first as item where linkId = 'Ccc.B23.DE6103' and answer.exists() then { + item then CccconditionCccb23de6103(src,item, tgt) '694ad147'; } 'f8d3c6a0'; } 'deaa28f3'; } '39431803'; } '8c74e110'; - src.item first as item where linkId = 'EmCare.B23.DE30' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE30' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE30' and answer.exists() then { - item then emcareconditionemcareb23de30(src,item, tgt) '32bbb313'; + src.item first as item where linkId = 'Ccc.B23.DE30' and answer.exists() then { + item then CccconditionCccb23de30(src,item, tgt) '32bbb313'; } '92db22d8'; } '8cd3b82f'; } '98322930'; } '304f990a'; - src.item first as item where linkId = 'EmCare.B23.DE31' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE31' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE31' and answer.exists() then { - item then emcareconditionemcareb23de31(src,item, tgt) '9964826f'; + src.item first as item where linkId = 'Ccc.B23.DE31' and answer.exists() then { + item then CccconditionCccb23de31(src,item, tgt) '9964826f'; } 'f5203f81'; } '0f3128f2'; } '062d38a4'; } '8d94ef29'; - src.item first as item where linkId = 'EmCare.B23.DE32' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE32' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE32' and answer.exists() then { - item then emcareconditionemcareb23de32(src,item, tgt) '59173520'; + src.item first as item where linkId = 'Ccc.B23.DE32' and answer.exists() then { + item then CccconditionCccb23de32(src,item, tgt) '59173520'; } 'd5cfadca'; } '0f17a43e'; } 'b3942453'; } '1d3e64f6'; - src.item first as item where linkId = 'EmCare.B23.DE33' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE33' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE33' and answer.exists() then { - item then emcareconditionemcareb23de33(src,item, tgt) 'c837ebf0'; + src.item first as item where linkId = 'Ccc.B23.DE33' and answer.exists() then { + item then CccconditionCccb23de33(src,item, tgt) 'c837ebf0'; } '1edd3bf3'; } '4ae746e1'; } '5b4ed518'; } '932b4857'; - src.item first as item where linkId = 'EmCare.B23.DE19' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE19' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE19' and answer.exists() then { - item then emcareconditionemcareb23de19(src,item, tgt) '52279224'; + src.item first as item where linkId = 'Ccc.B23.DE19' and answer.exists() then { + item then CccconditionCccb23de19(src,item, tgt) '52279224'; } '6f81d3f9'; } '113ecc5c'; } '04d55a2c'; } '12b7ac16'; - src.item first as item where linkId = 'EmCare.B23.DE104' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE104' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE104' and answer.exists() then { - item then emcareconditionemcareb23de104(src,item, tgt) '70ac88c0'; + src.item first as item where linkId = 'Ccc.B23.DE104' and answer.exists() then { + item then CccconditionCccb23de104(src,item, tgt) '70ac88c0'; } 'ba965067'; } '7af6d913'; } 'b926b389'; } 'b8498228'; - src.item first as item where linkId = 'EmCare.B23.DE105' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE105' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE105' and answer.exists() then { - item then emcareconditionemcareb23de105(src,item, tgt) 'fd65bdec'; + src.item first as item where linkId = 'Ccc.B23.DE105' and answer.exists() then { + item then CccconditionCccb23de105(src,item, tgt) 'fd65bdec'; } '2814799c'; } '4c17029d'; } '50b5f05d'; } 'fd02db7e'; - src.item first as item where linkId = 'EmCare.B23.DE27' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE27' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE27' and answer.exists() then { - item then emcareconditionemcareb23de27(src,item, tgt) '26e04269'; + src.item first as item where linkId = 'Ccc.B23.DE27' and answer.exists() then { + item then CccconditionCccb23de27(src,item, tgt) '26e04269'; } '101a50d8'; } '202d5c60'; } '79e4637e'; } '7034785e'; - src.item first as item where linkId = 'EmCare.B23.DE28' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE28' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE28' and answer.exists() then { - item then emcareconditionemcareb23de28(src,item, tgt) '9cd8c124'; + src.item first as item where linkId = 'Ccc.B23.DE28' and answer.exists() then { + item then CccconditionCccb23de28(src,item, tgt) '9cd8c124'; } 'a14217b2'; } '22888f47'; } '037df360'; } 'a0c36d7f'; - src.item first as item where linkId = 'EmCare.B23.DE29' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE29' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE29' and answer.exists() then { - item then emcareconditionemcareb23de29(src,item, tgt) 'd4810ead'; + src.item first as item where linkId = 'Ccc.B23.DE29' and answer.exists() then { + item then CccconditionCccb23de29(src,item, tgt) 'd4810ead'; } '1c12d5db'; } 'ea7f1382'; } '905f043d'; } '5f2e1416'; - src.item first as item where linkId = 'EmCare.B23.DE62' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE62' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE62' and answer.exists() then { - item then emcareconditionemcareb23de62(src,item, tgt) '2054edb9'; + src.item first as item where linkId = 'Ccc.B23.DE62' and answer.exists() then { + item then CccconditionCccb23de62(src,item, tgt) '2054edb9'; } '02044741'; } '159e31e9'; } 'b02885dc'; } '112da7cb'; - src.item first as item where linkId = 'EmCare.B23.DE63' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE63' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE63' and answer.exists() then { - item then emcareconditionemcareb23de63(src,item, tgt) 'a3f40895'; + src.item first as item where linkId = 'Ccc.B23.DE63' and answer.exists() then { + item then CccconditionCccb23de63(src,item, tgt) 'a3f40895'; } '7d52bc70'; } '20460d5f'; } 'ff14bba0'; } 'f48b3870'; - src.item first as item where linkId = 'EmCare.B23.DE64' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE64' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE64' and answer.exists() then { - item then emcareconditionemcareb23de64(src,item, tgt) 'f29b8184'; + src.item first as item where linkId = 'Ccc.B23.DE64' and answer.exists() then { + item then CccconditionCccb23de64(src,item, tgt) 'f29b8184'; } '14c8b550'; } 'e5734e77'; } '36cc09a7'; } '66a082c4'; - src.item first as item where linkId = 'EmCare.B23.DE34' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE34' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE34' and answer.exists() then { - item then emcareconditionemcareb23de34(src,item, tgt) 'd9034209'; + src.item first as item where linkId = 'Ccc.B23.DE34' and answer.exists() then { + item then CccconditionCccb23de34(src,item, tgt) 'd9034209'; } '551a67f8'; } '8b3401ff'; } '640f5832'; } 'f733b9d7'; - src.item first as item where linkId = 'EmCare.B23.DE35' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE35' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE35' and answer.exists() then { - item then emcareconditionemcareb23de35(src,item, tgt) '04b69b69'; + src.item first as item where linkId = 'Ccc.B23.DE35' and answer.exists() then { + item then CccconditionCccb23de35(src,item, tgt) '04b69b69'; } 'edd58a6a'; } '171d392a'; } '074be390'; } '7234989d'; - src.item first as item where linkId = 'EmCare.B23.DE41' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE41' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE41' and answer.exists() then { - item then emcareconditionemcareb23de41(src,item, tgt) 'e644496b'; + src.item first as item where linkId = 'Ccc.B23.DE41' and answer.exists() then { + item then CccconditionCccb23de41(src,item, tgt) 'e644496b'; } 'b0b2d547'; } '10a4e114'; } '144ac84e'; } 'be581407'; - src.item first as item where linkId = 'EmCare.B23.DE42' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE42' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE42' and answer.exists() then { - item then emcareconditionemcareb23de42(src,item, tgt) '8906f237'; + src.item first as item where linkId = 'Ccc.B23.DE42' and answer.exists() then { + item then CccconditionCccb23de42(src,item, tgt) '8906f237'; } '825180a4'; } 'cdb5f085'; } '61767b45'; } 'fd2318de'; - src.item first as item where linkId = 'EmCare.B23.DE44' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE44' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE44' and answer.exists() then { - item then emcareconditionemcareb23de44(src,item, tgt) '8b745e32'; + src.item first as item where linkId = 'Ccc.B23.DE44' and answer.exists() then { + item then CccconditionCccb23de44(src,item, tgt) '8b745e32'; } 'a297489e'; } '2a87d904'; } '31c42b4a'; } '15c107e8'; - src.item first as item where linkId = 'EmCare.B23.DE45' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE45' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE45' and answer.exists() then { - item then emcareconditionemcareb23de45(src,item, tgt) 'e2a48a8a'; + src.item first as item where linkId = 'Ccc.B23.DE45' and answer.exists() then { + item then CccconditionCccb23de45(src,item, tgt) 'e2a48a8a'; } '5ac1cbfe'; } '3ae81ddc'; } 'af5a73ee'; } 'b89e4982'; - src.item first as item where linkId = 'EmCare.B23.DE47' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE47' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE47' and answer.exists() then { - item then emcareconditionemcareb23de47(src,item, tgt) '59e3f98e'; + src.item first as item where linkId = 'Ccc.B23.DE47' and answer.exists() then { + item then CccconditionCccb23de47(src,item, tgt) '59e3f98e'; } '94021c1f'; } 'bdb92c29'; } '4313c455'; } 'f4732c43'; - src.item first as item where linkId = 'EmCare.B23.DE49' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE49' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE49' and answer.exists() then { - item then emcareconditionemcareb23de49(src,item, tgt) '12ffb049'; + src.item first as item where linkId = 'Ccc.B23.DE49' and answer.exists() then { + item then CccconditionCccb23de49(src,item, tgt) '12ffb049'; } '586e9069'; } '38e3ba7c'; } '09e8e39a'; } 'b716ffcf'; - src.item first as item where linkId = 'EmCare.B23.DE52' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE52' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE52' and answer.exists() then { - item then emcareconditionemcareb23de52(src,item, tgt) 'a793cbe8'; + src.item first as item where linkId = 'Ccc.B23.DE52' and answer.exists() then { + item then CccconditionCccb23de52(src,item, tgt) 'a793cbe8'; } 'db3fe5e7'; } 'dbb84c90'; } '87a2f3d1'; } 'c771fb59'; - src.item first as item where linkId = 'EmCare.B23.DE53' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE53' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE53' and answer.exists() then { - item then emcareconditionemcareb23de53(src,item, tgt) '649c99ff'; + src.item first as item where linkId = 'Ccc.B23.DE53' and answer.exists() then { + item then CccconditionCccb23de53(src,item, tgt) '649c99ff'; } '07fdede8'; } '6c7dda52'; } '65dc7390'; } 'aabd61a9'; - src.item first as item where linkId = 'EmCare.B23.DE54' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE54' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE54' and answer.exists() then { - item then emcareconditionemcareb23de54(src,item, tgt) 'c44c1a67'; + src.item first as item where linkId = 'Ccc.B23.DE54' and answer.exists() then { + item then CccconditionCccb23de54(src,item, tgt) 'c44c1a67'; } '33495720'; } 'f537bd3f'; } '3292a5b7'; } '5586adfb'; - src.item first as item where linkId = 'EmCare.B23.DE56' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE56' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE56' and answer.exists() then { - item then emcareconditionemcareb23de56(src,item, tgt) 'c075c713'; + src.item first as item where linkId = 'Ccc.B23.DE56' and answer.exists() then { + item then CccconditionCccb23de56(src,item, tgt) 'c075c713'; } 'b19e1e77'; } '1f53e6e7'; } '1fff823c'; } 'eb0fa007'; - src.item first as item where linkId = 'EmCare.B23.DE57' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE57' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE57' and answer.exists() then { - item then emcareconditionemcareb23de57(src,item, tgt) '3fef72d0'; + src.item first as item where linkId = 'Ccc.B23.DE57' and answer.exists() then { + item then CccconditionCccb23de57(src,item, tgt) '3fef72d0'; } '95696bb5'; } 'c36398d4'; } 'e245f919'; } 'bd893565'; - src.item first as item where linkId = 'EmCare.B23.DE58' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE58' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE58' and answer.exists() then { - item then emcareconditionemcareb23de58(src,item, tgt) '59c41e8c'; + src.item first as item where linkId = 'Ccc.B23.DE58' and answer.exists() then { + item then CccconditionCccb23de58(src,item, tgt) '59c41e8c'; } '39386628'; } '18b79c9c'; } '0e7307dc'; } 'd0cc854b'; - src.item first as item where linkId = 'EmCare.B23.DE59' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE59' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE59' and answer.exists() then { - item then emcareconditionemcareb23de59(src,item, tgt) '2cb1e1ca'; + src.item first as item where linkId = 'Ccc.B23.DE59' and answer.exists() then { + item then CccconditionCccb23de59(src,item, tgt) '2cb1e1ca'; } 'ab082ec2'; } '6065b9b9'; } '351db615'; } '6ff9138e'; - src.item first as item where linkId = 'EmCare.B23.DE61' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE61' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE61' and answer.exists() then { - item then emcareconditionemcareb23de61(src,item, tgt) '260b475c'; + src.item first as item where linkId = 'Ccc.B23.DE61' and answer.exists() then { + item then CccconditionCccb23de61(src,item, tgt) '260b475c'; } 'c464855a'; } '9bc3a2f7'; } 'fb4ac959'; } 'd7071092'; - src.item first as item where linkId = 'EmCare.B23.DE106' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE106' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE106' and answer.exists() then { - item then emcareconditionemcareb23de106(src,item, tgt) '1385c52a'; + src.item first as item where linkId = 'Ccc.B23.DE106' and answer.exists() then { + item then CccconditionCccb23de106(src,item, tgt) '1385c52a'; } 'f5b0e691'; } 'cffa49c6'; } 'f8df0e47'; } 'a8b97e3f'; - src.item first as item where linkId = 'EmCare.B23.DE107' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE107' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE107' and answer.exists() then { - item then emcareconditionemcareb23de107(src,item, tgt) 'c2e4c8aa'; + src.item first as item where linkId = 'Ccc.B23.DE107' and answer.exists() then { + item then CccconditionCccb23de107(src,item, tgt) 'c2e4c8aa'; } 'b47a06ed'; } 'ddc34ddb'; } '4bd4c8ca'; } '80a21e15'; - src.item first as item where linkId = 'EmCare.B23.DE108' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE108' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src.item first as item where linkId = 'EmCare.B23.DE108' and answer.exists() then { - item then emcareconditionemcareb23de108(src,item, tgt) '71dee3f9'; + src.item first as item where linkId = 'Ccc.B23.DE108' and answer.exists() then { + item then CccconditionCccb23de108(src,item, tgt) '71dee3f9'; } '6dd7f385'; } 'f9f042d3'; } 'aa990e3b'; } '62bc2a23'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE01') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE01') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de01(src,item,tgt) '64b9f2ed'; + src then CccconditioncollectorCccb23de01(src,item,tgt) '64b9f2ed'; } '8ac761e7'; } '4d3c5911'; } '8a9e262f'; } '1a7bd4e6'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE03') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE03') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de03(src,item,tgt) 'b1c1cd66'; + src then CccconditioncollectorCccb23de03(src,item,tgt) 'b1c1cd66'; } '010509dd'; } 'd18e6c9c'; } '0ddf1e04'; } 'b4ab6b36'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE06') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE06') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de06(src,item,tgt) 'ab6f052f'; + src then CccconditioncollectorCccb23de06(src,item,tgt) 'ab6f052f'; } 'e87439ac'; } '37d42e73'; } '7708b4b0'; } 'ca7b518e'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE10') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE10') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de10(src,item,tgt) '0b7e0dd8'; + src then CccconditioncollectorCccb23de10(src,item,tgt) '0b7e0dd8'; } '2addbd30'; } '944a4843'; } '0e6c6c5e'; } '624540df'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE13') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE13') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de13(src,item,tgt) 'ca1c2344'; + src then CccconditioncollectorCccb23de13(src,item,tgt) 'ca1c2344'; } 'e291ac38'; } 'a3790ce2'; } 'df1da7ee'; } 'db30808b'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE14') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE14') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de14(src,item,tgt) 'd2d217d7'; + src then CccconditioncollectorCccb23de14(src,item,tgt) 'd2d217d7'; } '71ec8c01'; } 'eec21165'; } '4bec0867'; } 'b6cebe17'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE15') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE15') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de15(src,item,tgt) 'd06cdfa3'; + src then CccconditioncollectorCccb23de15(src,item,tgt) 'd06cdfa3'; } '78497d5c'; } '5f0e524b'; } '84c7d9e0'; } '5fb77efc'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE16') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE16') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de16(src,item,tgt) '694adbe8'; + src then CccconditioncollectorCccb23de16(src,item,tgt) '694adbe8'; } 'b4ffe6d7'; } '019739d6'; } 'f03364f0'; } '80b4094a'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE17') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE17') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de17(src,item,tgt) 'cc19d396'; + src then CccconditioncollectorCccb23de17(src,item,tgt) 'cc19d396'; } '18e9e9c8'; } 'c03c1182'; } '77b63bab'; } 'ff70de9a'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE18') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE18') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de18(src,item,tgt) '7bb9024b'; + src then CccconditioncollectorCccb23de18(src,item,tgt) '7bb9024b'; } '68fe032f'; } 'ed54cd94'; } '8b8510f5'; } '632cb525'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE18.a') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE18.a') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de18a(src,item,tgt) 'b60dcb5b'; + src then CccconditioncollectorCccb23de18a(src,item,tgt) 'b60dcb5b'; } 'b812de89'; } '7e16782b'; } '2e857828'; } '44580a8e'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE100') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE100') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de100(src,item,tgt) '630c1b4f'; + src then CccconditioncollectorCccb23de100(src,item,tgt) '630c1b4f'; } '41d237f0'; } 'ac9a35e1'; } '490124cb'; } '3cac9099'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE6101') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE6101') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de6101(src,item,tgt) 'b8a94b6b'; + src then CccconditioncollectorCccb23de6101(src,item,tgt) 'b8a94b6b'; } 'c5e81286'; } 'f91c76bc'; } '004bae37'; } '0fefd9c9'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE6102') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE6102') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de6102(src,item,tgt) '7660041a'; + src then CccconditioncollectorCccb23de6102(src,item,tgt) '7660041a'; } 'b83d5bd8'; } 'afa6d915'; } 'e56c0843'; } '1cfede52'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE6103') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE6103') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de6103(src,item,tgt) '4acf003e'; + src then CccconditioncollectorCccb23de6103(src,item,tgt) '4acf003e'; } '052597db'; } '0d306c2e'; } 'bde18a8c'; } '9e8a0879'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE30') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE30') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de30(src,item,tgt) '6aa7cf7e'; + src then CccconditioncollectorCccb23de30(src,item,tgt) '6aa7cf7e'; } '21ed2b92'; } 'b950cabe'; } '38dc397b'; } 'a771b576'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE31') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE31') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de31(src,item,tgt) '0b62776c'; + src then CccconditioncollectorCccb23de31(src,item,tgt) '0b62776c'; } '718d4b87'; } 'a826c054'; } '50550799'; } '2fb7bb3e'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE32') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE32') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de32(src,item,tgt) '8d2e2b23'; + src then CccconditioncollectorCccb23de32(src,item,tgt) '8d2e2b23'; } '85fecf83'; } '115750dd'; } '130e1c53'; } 'ac3dd1e5'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE33') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE33') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de33(src,item,tgt) '30d2abfe'; + src then CccconditioncollectorCccb23de33(src,item,tgt) '30d2abfe'; } 'e6a31cdd'; } 'd1297d3e'; } 'ef3283c2'; } 'b5d854cd'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE19') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE19') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de19(src,item,tgt) '9d939c47'; + src then CccconditioncollectorCccb23de19(src,item,tgt) '9d939c47'; } 'b6456e02'; } '88264770'; } '18e9b3aa'; } '4af8b98f'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE104') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE104') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de104(src,item,tgt) '7124044e'; + src then CccconditioncollectorCccb23de104(src,item,tgt) '7124044e'; } '6dd0b0f1'; } '362898cd'; } '6ee2f034'; } '87957a8c'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE105') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE105') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de105(src,item,tgt) '565f9699'; + src then CccconditioncollectorCccb23de105(src,item,tgt) '565f9699'; } 'deccc025'; } '6ffe0a40'; } 'ca66f70c'; } '4981fb26'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE27') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE27') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de27(src,item,tgt) '0da758bb'; + src then CccconditioncollectorCccb23de27(src,item,tgt) '0da758bb'; } '240424fd'; } '42ac4364'; } '14da060d'; } 'ad5837c4'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE28') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE28') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de28(src,item,tgt) 'f02ea85f'; + src then CccconditioncollectorCccb23de28(src,item,tgt) 'f02ea85f'; } '9674e4f8'; } '4215cfc9'; } 'cc83a9a6'; } '10b29f3a'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE29') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE29') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de29(src,item,tgt) '30518e39'; + src then CccconditioncollectorCccb23de29(src,item,tgt) '30518e39'; } '443496d9'; } '4b8a2cfa'; } '45aa51e3'; } '29a1e48b'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE62') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE62') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de62(src,item,tgt) '923ea559'; + src then CccconditioncollectorCccb23de62(src,item,tgt) '923ea559'; } '253ad99c'; } 'e1d211b3'; } '66d2ac7f'; } '34070da4'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE63') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE63') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de63(src,item,tgt) '2cba00a0'; + src then CccconditioncollectorCccb23de63(src,item,tgt) '2cba00a0'; } '7431d7aa'; } 'dd159d2b'; } '6088497e'; } '6d937c64'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE64') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE64') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de64(src,item,tgt) '1bdeb81e'; + src then CccconditioncollectorCccb23de64(src,item,tgt) '1bdeb81e'; } '823b626d'; } '6c269ed8'; } 'c0166a2f'; } 'ef32feea'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE34') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE34') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de34(src,item,tgt) '1b5079e7'; + src then CccconditioncollectorCccb23de34(src,item,tgt) '1b5079e7'; } 'e3eec4b3'; } 'c0170815'; } '9a1a4b51'; } '02fb5c32'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE35') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE35') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de35(src,item,tgt) '359aadb6'; + src then CccconditioncollectorCccb23de35(src,item,tgt) '359aadb6'; } '8752dcf9'; } '5587f633'; } '436512de'; } 'f74fb871'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE41') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE41') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de41(src,item,tgt) '6b245d77'; + src then CccconditioncollectorCccb23de41(src,item,tgt) '6b245d77'; } '7880e418'; } '31ed2847'; } '69bddf54'; } 'f3925752'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE42') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE42') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de42(src,item,tgt) 'a013ff50'; + src then CccconditioncollectorCccb23de42(src,item,tgt) 'a013ff50'; } 'a1112e83'; } '80f89c3b'; } 'c28e55f5'; } '5a4f405d'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE44') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE44') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de44(src,item,tgt) '2e18a455'; + src then CccconditioncollectorCccb23de44(src,item,tgt) '2e18a455'; } '05602096'; } '14ff0531'; } 'e4d8d14c'; } '106b8412'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE45') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE45') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de45(src,item,tgt) 'b7776d8c'; + src then CccconditioncollectorCccb23de45(src,item,tgt) 'b7776d8c'; } '0161a3e1'; } '9041cce3'; } 'd5a11665'; } 'fa69f51a'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE47') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE47') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de47(src,item,tgt) '3ef4c39a'; + src then CccconditioncollectorCccb23de47(src,item,tgt) '3ef4c39a'; } 'cc30da8e'; } '3c571f7a'; } '9c46143a'; } '7ce713b2'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE49') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE49') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de49(src,item,tgt) '9422f693'; + src then CccconditioncollectorCccb23de49(src,item,tgt) '9422f693'; } '270f01c9'; } '2e5719c3'; } '86381b92'; } 'dba4472f'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE52') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE52') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de52(src,item,tgt) '4dc5850c'; + src then CccconditioncollectorCccb23de52(src,item,tgt) '4dc5850c'; } '1305ff09'; } '1e7a4f1d'; } '823dad96'; } 'f8980fc9'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE53') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE53') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de53(src,item,tgt) 'f3ebb24f'; + src then CccconditioncollectorCccb23de53(src,item,tgt) 'f3ebb24f'; } '8a06bf9b'; } '82127571'; } '438bfa1e'; } 'a6b3b052'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE54') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE54') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de54(src,item,tgt) '7d9b72a9'; + src then CccconditioncollectorCccb23de54(src,item,tgt) '7d9b72a9'; } '57b6a17c'; } '3f0c44e2'; } '9176d48e'; } '472d138a'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE56') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE56') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de56(src,item,tgt) '171d0d02'; + src then CccconditioncollectorCccb23de56(src,item,tgt) '171d0d02'; } 'a8403d8d'; } '933c8359'; } '29b48437'; } '8633ecac'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE57') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE57') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de57(src,item,tgt) '28c69067'; + src then CccconditioncollectorCccb23de57(src,item,tgt) '28c69067'; } '712614f8'; } 'f5aa3751'; } 'b4b69b8b'; } '275e0558'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE58') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE58') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de58(src,item,tgt) '1ecfb370'; + src then CccconditioncollectorCccb23de58(src,item,tgt) '1ecfb370'; } 'a5d3fb11'; } 'abbb00cd'; } '5c12666c'; } '9ee9a18a'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE59') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE59') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de59(src,item,tgt) 'f3cc5dd6'; + src then CccconditioncollectorCccb23de59(src,item,tgt) 'f3cc5dd6'; } 'c2af2708'; } '420f3c42'; } '940b499b'; } '77bb110d'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE61') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE61') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de61(src,item,tgt) '3ee47ea8'; + src then CccconditioncollectorCccb23de61(src,item,tgt) '3ee47ea8'; } '14a2cbce'; } '69da036c'; } '8d2fc1e7'; } '5baa46cb'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE106') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE106') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de106(src,item,tgt) '5f3c80c3'; + src then CccconditioncollectorCccb23de106(src,item,tgt) '5f3c80c3'; } '8a9ab3d6'; } 'b3badac5'; } '8aec9c45'; } '332b8a91'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE107') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE107') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de107(src,item,tgt) 'd7ceb954'; + src then CccconditioncollectorCccb23de107(src,item,tgt) 'd7ceb954'; } '62594d12'; } '6660c144'; } '897c260c'; } '4dfafc7a'; - src where src.item.where(linkId='collector').answer.where(value.code = 'EmCare.B23.DE108') then { + src where src.item.where(linkId='collector').answer.where(value.code = 'Ccc.B23.DE108') then { src.item first as item where linkId = 'collector' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectoremcareb23de108(src,item,tgt) 'ed29c4d5'; + src then CccconditioncollectorCccb23de108(src,item,tgt) 'ed29c4d5'; } 'a304721d'; } 'f9a90d39'; } '031643b1'; @@ -961,41 +961,41 @@ group bundletrans(source src : questionnaireResponse,target bundle : Bundle){ src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Condition/', uuid) '9805d737'; src -> entry.resource = create('Condition') as tgt then { - src then emcareconditioncollectorcollector(src,item,tgt) 'dee30196'; + src then Cccconditioncollectorcollector(src,item,tgt) 'dee30196'; } 'dbad65ac'; } '652cfd04'; } '63e7ab00'; } 'd596b39a'; } -group emcareobservationemcareb6de08(source src,target tgt){ +group CccobservationCccb6de08(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb6de08'; + 'id-Cccb6de08'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B6.DE08' - 'code-emcareb6de08'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B6.DE08' + 'code-Cccb6de08'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B6.DE08' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B6.DE08' and answer.exists() then { item.answer first as a then { a.value as val -> tgt.value = val, tgt.status = 'final' 'afa0ccc0'; } 'd40466ff'; } 'dc896557'; } -group emcareconditionemcareb23de01(source src,source item,target tgt){ +group CccconditionCccb23de01(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1005,7 +1005,7 @@ group emcareconditionemcareb23de01(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE01', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '38c776ef'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE01', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '38c776ef'; } 'dcfcb65d'; } '48b723fb'; item.answer where value.code = 'agree' then { @@ -1018,7 +1018,7 @@ group emcareconditionemcareb23de01(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de03(source src,source item,target tgt){ +group CccconditionCccb23de03(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1028,7 +1028,7 @@ group emcareconditionemcareb23de03(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE03', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '97f42802'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE03', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '97f42802'; } '539676b6'; } '72db4093'; item.answer where value.code = 'agree' then { @@ -1039,14 +1039,14 @@ group emcareconditionemcareb23de03(source src,source item,target tgt){ src -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'inactive', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'd058c96f'; src -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'refuted', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' 'e74cae6e'; } '2219f1ae'; - src.item first as item where linkId = 'EmCare.B23.DE04' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE04' and answer.exists() then { item.answer first as a where a.value=true then { - src -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/postcoordination', ext.value = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE04', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '38e7535e'; + src -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/postcoordination', ext.value = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE04', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '38e7535e'; } 'dd1642cb'; } 'c35c9cd0'; } -group emcareconditionemcareb23de06(source src,source item,target tgt){ +group CccconditionCccb23de06(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1056,7 +1056,7 @@ group emcareconditionemcareb23de06(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE06', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'dd0fd01c'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE06', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'dd0fd01c'; } '8ef845b0'; } '558d6c0d'; item.answer where value.code = 'agree' then { @@ -1067,14 +1067,14 @@ group emcareconditionemcareb23de06(source src,source item,target tgt){ src -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'inactive', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'd058c96f'; src -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'refuted', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' 'e74cae6e'; } '2219f1ae'; - src.item first as item where linkId = 'EmCare.B23.DE05' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE05' and answer.exists() then { item.answer first as a where a.value=true then { - src -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/postcoordination', ext.value = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE05', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '45430313'; + src -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/postcoordination', ext.value = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE05', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '45430313'; } 'fbb8aa6b'; } '2361285f'; } -group emcareconditionemcareb23de10(source src,source item,target tgt){ +group CccconditionCccb23de10(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1084,7 +1084,7 @@ group emcareconditionemcareb23de10(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE10', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '901c4fa4'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE10', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '901c4fa4'; } '39e6334e'; } 'f313d249'; item.answer where value.code = 'agree' then { @@ -1095,14 +1095,14 @@ group emcareconditionemcareb23de10(source src,source item,target tgt){ src -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'inactive', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'd058c96f'; src -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'refuted', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' 'e74cae6e'; } '2219f1ae'; - src.item first as item where linkId = 'EmCare.B23.DE05' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE05' and answer.exists() then { item.answer first as a where a.value=true then { - src -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/postcoordination', ext.value = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE05', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '45430313'; + src -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/postcoordination', ext.value = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE05', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '45430313'; } 'fbb8aa6b'; } '2361285f'; } -group emcareconditionemcareb23de13(source src,source item,target tgt){ +group CccconditionCccb23de13(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1112,7 +1112,7 @@ group emcareconditionemcareb23de13(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE13', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '0b87b4e7'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE13', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '0b87b4e7'; } '6cc1c549'; } 'dc54929c'; item.answer where value.code = 'agree' then { @@ -1125,7 +1125,7 @@ group emcareconditionemcareb23de13(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de14(source src,source item,target tgt){ +group CccconditionCccb23de14(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1135,7 +1135,7 @@ group emcareconditionemcareb23de14(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE14', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'c77e81e6'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE14', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'c77e81e6'; } 'a3de578a'; } 'd565e84e'; item.answer where value.code = 'agree' then { @@ -1148,7 +1148,7 @@ group emcareconditionemcareb23de14(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de15(source src,source item,target tgt){ +group CccconditionCccb23de15(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1158,7 +1158,7 @@ group emcareconditionemcareb23de15(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE15', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '16e4a2c3'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE15', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '16e4a2c3'; } '088a39f1'; } 'b194144a'; item.answer where value.code = 'agree' then { @@ -1171,7 +1171,7 @@ group emcareconditionemcareb23de15(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de16(source src,source item,target tgt){ +group CccconditionCccb23de16(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1181,7 +1181,7 @@ group emcareconditionemcareb23de16(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE16', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '672b006b'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE16', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '672b006b'; } 'c458ff7e'; } 'a834b1c4'; item.answer where value.code = 'agree' then { @@ -1194,7 +1194,7 @@ group emcareconditionemcareb23de16(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de17(source src,source item,target tgt){ +group CccconditionCccb23de17(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1204,7 +1204,7 @@ group emcareconditionemcareb23de17(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE17', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'bd34c671'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE17', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'bd34c671'; } '0cc3c5de'; } '8b51a13d'; item.answer where value.code = 'agree' then { @@ -1217,7 +1217,7 @@ group emcareconditionemcareb23de17(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de18(source src,source item,target tgt){ +group CccconditionCccb23de18(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1227,7 +1227,7 @@ group emcareconditionemcareb23de18(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE18', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '422373d9'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE18', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '422373d9'; } '8f1dcdd2'; } '6c227934'; item.answer where value.code = 'agree' then { @@ -1240,7 +1240,7 @@ group emcareconditionemcareb23de18(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de18a(source src,source item,target tgt){ +group CccconditionCccb23de18a(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1250,7 +1250,7 @@ group emcareconditionemcareb23de18a(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE18.a', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'b2c23048'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE18.a', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'b2c23048'; } '422663d8'; } '12b34bed'; item.answer where value.code = 'agree' then { @@ -1263,7 +1263,7 @@ group emcareconditionemcareb23de18a(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de100(source src,source item,target tgt){ +group CccconditionCccb23de100(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1273,7 +1273,7 @@ group emcareconditionemcareb23de100(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE100', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '515f36ee'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE100', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '515f36ee'; } 'e9f1a397'; } '5e6079c2'; item.answer where value.code = 'agree' then { @@ -1286,7 +1286,7 @@ group emcareconditionemcareb23de100(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de6101(source src,source item,target tgt){ +group CccconditionCccb23de6101(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1296,7 +1296,7 @@ group emcareconditionemcareb23de6101(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE6101', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '6a9c0b56'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE6101', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '6a9c0b56'; } '970b5053'; } 'ce2b70a1'; item.answer where value.code = 'agree' then { @@ -1309,7 +1309,7 @@ group emcareconditionemcareb23de6101(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de6102(source src,source item,target tgt){ +group CccconditionCccb23de6102(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1319,7 +1319,7 @@ group emcareconditionemcareb23de6102(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE6102', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '1522be60'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE6102', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '1522be60'; } '18159ba1'; } 'cb2b50a2'; item.answer where value.code = 'agree' then { @@ -1332,7 +1332,7 @@ group emcareconditionemcareb23de6102(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de6103(source src,source item,target tgt){ +group CccconditionCccb23de6103(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1342,7 +1342,7 @@ group emcareconditionemcareb23de6103(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE6103', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '248ab88b'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE6103', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '248ab88b'; } '9f402fa1'; } '5f770596'; item.answer where value.code = 'agree' then { @@ -1355,7 +1355,7 @@ group emcareconditionemcareb23de6103(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de30(source src,source item,target tgt){ +group CccconditionCccb23de30(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1365,7 +1365,7 @@ group emcareconditionemcareb23de30(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE30', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '60650f2a'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE30', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '60650f2a'; } '453d3cff'; } 'e00da291'; item.answer where value.code = 'agree' then { @@ -1378,7 +1378,7 @@ group emcareconditionemcareb23de30(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de31(source src,source item,target tgt){ +group CccconditionCccb23de31(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1388,7 +1388,7 @@ group emcareconditionemcareb23de31(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE31', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'ab1c5076'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE31', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'ab1c5076'; } '11935d2f'; } 'e29a8881'; item.answer where value.code = 'agree' then { @@ -1401,7 +1401,7 @@ group emcareconditionemcareb23de31(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de32(source src,source item,target tgt){ +group CccconditionCccb23de32(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1411,7 +1411,7 @@ group emcareconditionemcareb23de32(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE32', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'b634fab6'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE32', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'b634fab6'; } '4ead4dac'; } '48ea19ef'; item.answer where value.code = 'agree' then { @@ -1422,16 +1422,16 @@ group emcareconditionemcareb23de32(source src,source item,target tgt){ src -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'inactive', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'd058c96f'; src -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'refuted', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' 'e74cae6e'; } '2219f1ae'; - src.item first as itm1 where linkId = 'EmCare.B23.DE32' then { - itm1.item first as item where linkId = 'EmCare.B23.DE32a_l' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B23.DE32' then { + itm1.item first as item where linkId = 'Ccc.B23.DE32a_l' and answer.exists() then { item.answer first as a where a.value=true then { - src -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/postcoordination', ext.value = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE32a_l', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'e1fd65a9'; + src -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/postcoordination', ext.value = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE32a_l', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'e1fd65a9'; } 'c8109922'; } '812d89a8'; } 'c3ccc3f2'; } -group emcareconditionemcareb23de33(source src,source item,target tgt){ +group CccconditionCccb23de33(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1441,7 +1441,7 @@ group emcareconditionemcareb23de33(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE33', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '57e99b51'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE33', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '57e99b51'; } '82481cbe'; } 'ef2558fa'; item.answer where value.code = 'agree' then { @@ -1454,7 +1454,7 @@ group emcareconditionemcareb23de33(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de19(source src,source item,target tgt){ +group CccconditionCccb23de19(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1464,7 +1464,7 @@ group emcareconditionemcareb23de19(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE19', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '8cb2637d'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE19', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '8cb2637d'; } '69ddcad6'; } '36529e3a'; item.answer where value.code = 'agree' then { @@ -1477,7 +1477,7 @@ group emcareconditionemcareb23de19(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de104(source src,source item,target tgt){ +group CccconditionCccb23de104(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1487,7 +1487,7 @@ group emcareconditionemcareb23de104(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE104', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '6627d17b'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE104', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '6627d17b'; } '008eb1e8'; } '99bdabd7'; item.answer where value.code = 'agree' then { @@ -1498,16 +1498,16 @@ group emcareconditionemcareb23de104(source src,source item,target tgt){ src -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'inactive', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'd058c96f'; src -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'refuted', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' 'e74cae6e'; } '2219f1ae'; - src.item first as itm1 where linkId = 'EmCare.B23.DE104' then { - itm1.item first as item where linkId = 'EmCare.B23.DE26a_l' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.B23.DE104' then { + itm1.item first as item where linkId = 'Ccc.B23.DE26a_l' and answer.exists() then { item.answer first as a where a.value=true then { - src -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/postcoordination', ext.value = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE26a_l', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '2bb3282a'; + src -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/postcoordination', ext.value = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE26a_l', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '2bb3282a'; } '059c54a8'; } 'bfa2f7ed'; } 'd6b41478'; } -group emcareconditionemcareb23de105(source src,source item,target tgt){ +group CccconditionCccb23de105(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1517,7 +1517,7 @@ group emcareconditionemcareb23de105(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE105', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'bfa6a728'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE105', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'bfa6a728'; } '503587f4'; } 'b4cd8d75'; item.answer where value.code = 'agree' then { @@ -1530,7 +1530,7 @@ group emcareconditionemcareb23de105(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de27(source src,source item,target tgt){ +group CccconditionCccb23de27(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1540,7 +1540,7 @@ group emcareconditionemcareb23de27(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE27', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '10a11fd8'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE27', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '10a11fd8'; } '7e9f6c96'; } '47747496'; item.answer where value.code = 'agree' then { @@ -1553,7 +1553,7 @@ group emcareconditionemcareb23de27(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de28(source src,source item,target tgt){ +group CccconditionCccb23de28(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1563,7 +1563,7 @@ group emcareconditionemcareb23de28(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE28', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'bd635f9e'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE28', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'bd635f9e'; } 'ac92c02f'; } '591966f0'; item.answer where value.code = 'agree' then { @@ -1576,7 +1576,7 @@ group emcareconditionemcareb23de28(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de29(source src,source item,target tgt){ +group CccconditionCccb23de29(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1586,7 +1586,7 @@ group emcareconditionemcareb23de29(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE29', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '59037b30'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE29', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '59037b30'; } 'cfcf61aa'; } 'b6fcf002'; item.answer where value.code = 'agree' then { @@ -1599,7 +1599,7 @@ group emcareconditionemcareb23de29(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de62(source src,source item,target tgt){ +group CccconditionCccb23de62(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1609,7 +1609,7 @@ group emcareconditionemcareb23de62(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE62', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '1d89b4e7'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE62', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '1d89b4e7'; } '7a9976ac'; } '59bce4a5'; item.answer where value.code = 'agree' then { @@ -1622,7 +1622,7 @@ group emcareconditionemcareb23de62(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de63(source src,source item,target tgt){ +group CccconditionCccb23de63(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1632,7 +1632,7 @@ group emcareconditionemcareb23de63(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE63', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '7160c75f'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE63', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '7160c75f'; } 'f74f505b'; } 'ab307e84'; item.answer where value.code = 'agree' then { @@ -1645,7 +1645,7 @@ group emcareconditionemcareb23de63(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de64(source src,source item,target tgt){ +group CccconditionCccb23de64(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1655,7 +1655,7 @@ group emcareconditionemcareb23de64(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE64', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'f6ad72a0'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE64', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'f6ad72a0'; } '9035e530'; } '9a8830e5'; item.answer where value.code = 'agree' then { @@ -1668,7 +1668,7 @@ group emcareconditionemcareb23de64(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de34(source src,source item,target tgt){ +group CccconditionCccb23de34(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1678,7 +1678,7 @@ group emcareconditionemcareb23de34(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE34', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'e5f9a7d3'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE34', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'e5f9a7d3'; } 'ff3ce60d'; } 'c84a5f54'; item.answer where value.code = 'agree' then { @@ -1691,7 +1691,7 @@ group emcareconditionemcareb23de34(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de35(source src,source item,target tgt){ +group CccconditionCccb23de35(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1701,7 +1701,7 @@ group emcareconditionemcareb23de35(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE35', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '7f5b9cb3'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE35', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '7f5b9cb3'; } '30144f76'; } 'b15dce6e'; item.answer where value.code = 'agree' then { @@ -1712,14 +1712,14 @@ group emcareconditionemcareb23de35(source src,source item,target tgt){ src -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'inactive', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'd058c96f'; src -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'refuted', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' 'e74cae6e'; } '2219f1ae'; - src.item first as item where linkId = 'EmCare.B23.DE36' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE36' and answer.exists() then { item.answer first as a where a.value=true then { - src -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/postcoordination', ext.value = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE36', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '337a4af0'; + src -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/postcoordination', ext.value = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE36', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '337a4af0'; } '00bff3d2'; } '9a029988'; } -group emcareconditionemcareb23de41(source src,source item,target tgt){ +group CccconditionCccb23de41(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1729,7 +1729,7 @@ group emcareconditionemcareb23de41(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE41', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'e288c87d'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE41', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'e288c87d'; } '8173bdfa'; } '2297565b'; item.answer where value.code = 'agree' then { @@ -1742,7 +1742,7 @@ group emcareconditionemcareb23de41(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de42(source src,source item,target tgt){ +group CccconditionCccb23de42(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1752,7 +1752,7 @@ group emcareconditionemcareb23de42(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE42', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '94e86dfd'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE42', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '94e86dfd'; } '1282d921'; } 'f89496b0'; item.answer where value.code = 'agree' then { @@ -1763,14 +1763,14 @@ group emcareconditionemcareb23de42(source src,source item,target tgt){ src -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'inactive', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'd058c96f'; src -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'refuted', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' 'e74cae6e'; } '2219f1ae'; - src.item first as item where linkId = 'EmCare.B23.DE43a' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE43a' and answer.exists() then { item.answer first as a where a.value=true then { - src -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/postcoordination', ext.value = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE43a', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '3982894f'; + src -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/postcoordination', ext.value = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE43a', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '3982894f'; } 'bb6efca4'; } 'fc0928c7'; } -group emcareconditionemcareb23de44(source src,source item,target tgt){ +group CccconditionCccb23de44(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1780,7 +1780,7 @@ group emcareconditionemcareb23de44(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE44', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'e3f3e6d5'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE44', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'e3f3e6d5'; } 'bed4feb4'; } '629e48b0'; item.answer where value.code = 'agree' then { @@ -1793,7 +1793,7 @@ group emcareconditionemcareb23de44(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de45(source src,source item,target tgt){ +group CccconditionCccb23de45(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1803,7 +1803,7 @@ group emcareconditionemcareb23de45(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE45', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '606d51c8'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE45', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '606d51c8'; } '7d5d59ca'; } 'e36660f4'; item.answer where value.code = 'agree' then { @@ -1814,14 +1814,14 @@ group emcareconditionemcareb23de45(source src,source item,target tgt){ src -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'inactive', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'd058c96f'; src -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'refuted', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' 'e74cae6e'; } '2219f1ae'; - src.item first as item where linkId = 'EmCare.B23.DE46A' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE46A' and answer.exists() then { item.answer first as a where a.value=true then { - src -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/postcoordination', ext.value = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE46A', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'b043e119'; + src -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/postcoordination', ext.value = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE46A', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'b043e119'; } 'b1d8b88c'; } 'a1ec2dd1'; } -group emcareconditionemcareb23de47(source src,source item,target tgt){ +group CccconditionCccb23de47(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1831,7 +1831,7 @@ group emcareconditionemcareb23de47(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE47', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '6bae8d25'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE47', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '6bae8d25'; } '5e31a07c'; } 'a43d53e8'; item.answer where value.code = 'agree' then { @@ -1842,14 +1842,14 @@ group emcareconditionemcareb23de47(source src,source item,target tgt){ src -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'inactive', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'd058c96f'; src -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'refuted', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' 'e74cae6e'; } '2219f1ae'; - src.item first as item where linkId = 'EmCare.B23.DE48' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE48' and answer.exists() then { item.answer first as a where a.value=true then { - src -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/postcoordination', ext.value = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE48', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '88de7a80'; + src -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/postcoordination', ext.value = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE48', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '88de7a80'; } '7cd5181a'; } '3c6f199b'; } -group emcareconditionemcareb23de49(source src,source item,target tgt){ +group CccconditionCccb23de49(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1859,7 +1859,7 @@ group emcareconditionemcareb23de49(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE49', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'b581f2e7'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE49', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'b581f2e7'; } '1cc86632'; } 'f58199bf'; item.answer where value.code = 'agree' then { @@ -1870,14 +1870,14 @@ group emcareconditionemcareb23de49(source src,source item,target tgt){ src -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'inactive', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'd058c96f'; src -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'refuted', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' 'e74cae6e'; } '2219f1ae'; - src.item first as item where linkId = 'EmCare.B23.DE50' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE50' and answer.exists() then { item.answer first as a where a.value=true then { - src -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/postcoordination', ext.value = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE50', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'b871091f'; + src -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/postcoordination', ext.value = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE50', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'b871091f'; } '3562dee3'; } 'ba9bd30c'; } -group emcareconditionemcareb23de52(source src,source item,target tgt){ +group CccconditionCccb23de52(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1887,7 +1887,7 @@ group emcareconditionemcareb23de52(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE52', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'eb984457'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE52', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'eb984457'; } '124cd652'; } 'c77f1d4e'; item.answer where value.code = 'agree' then { @@ -1898,14 +1898,14 @@ group emcareconditionemcareb23de52(source src,source item,target tgt){ src -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'inactive', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'd058c96f'; src -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'refuted', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' 'e74cae6e'; } '2219f1ae'; - src.item first as item where linkId = 'EmCare.B23.DE52a' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE52a' and answer.exists() then { item.answer first as a where a.value=true then { - src -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/postcoordination', ext.value = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE52a', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '3a81b32e'; + src -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/postcoordination', ext.value = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE52a', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '3a81b32e'; } '2c4ce5dc'; } '510e64e3'; } -group emcareconditionemcareb23de53(source src,source item,target tgt){ +group CccconditionCccb23de53(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1915,7 +1915,7 @@ group emcareconditionemcareb23de53(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE53', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '0f3a6755'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE53', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '0f3a6755'; } '863552f3'; } '35439fa7'; item.answer where value.code = 'agree' then { @@ -1926,14 +1926,14 @@ group emcareconditionemcareb23de53(source src,source item,target tgt){ src -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'inactive', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'd058c96f'; src -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'refuted', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' 'e74cae6e'; } '2219f1ae'; - src.item first as item where linkId = 'EmCare.B23.DE53a' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE53a' and answer.exists() then { item.answer first as a where a.value=true then { - src -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/postcoordination', ext.value = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE53a', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '172c98f5'; + src -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/postcoordination', ext.value = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE53a', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '172c98f5'; } '77f7bdf7'; } '6481f816'; } -group emcareconditionemcareb23de54(source src,source item,target tgt){ +group CccconditionCccb23de54(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1943,7 +1943,7 @@ group emcareconditionemcareb23de54(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE54', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'fafd5b25'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE54', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'fafd5b25'; } '61c9d7c8'; } '78b12d83'; item.answer where value.code = 'agree' then { @@ -1954,14 +1954,14 @@ group emcareconditionemcareb23de54(source src,source item,target tgt){ src -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'inactive', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'd058c96f'; src -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'refuted', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' 'e74cae6e'; } '2219f1ae'; - src.item first as item where linkId = 'EmCare.B23.DE55' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE55' and answer.exists() then { item.answer first as a where a.value=true then { - src -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/postcoordination', ext.value = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE55', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '703de849'; + src -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/postcoordination', ext.value = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE55', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '703de849'; } '82394009'; } '626ae745'; } -group emcareconditionemcareb23de56(source src,source item,target tgt){ +group CccconditionCccb23de56(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1971,7 +1971,7 @@ group emcareconditionemcareb23de56(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE56', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '9a929971'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE56', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '9a929971'; } 'b7c8a104'; } '0dd631f3'; item.answer where value.code = 'agree' then { @@ -1984,7 +1984,7 @@ group emcareconditionemcareb23de56(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de57(source src,source item,target tgt){ +group CccconditionCccb23de57(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -1994,7 +1994,7 @@ group emcareconditionemcareb23de57(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE57', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '2c0d395c'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE57', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '2c0d395c'; } 'f04e9b50'; } 'af692636'; item.answer where value.code = 'agree' then { @@ -2005,14 +2005,14 @@ group emcareconditionemcareb23de57(source src,source item,target tgt){ src -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'inactive', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'd058c96f'; src -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'refuted', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' 'e74cae6e'; } '2219f1ae'; - src.item first as item where linkId = 'EmCare.B23.DE57a' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE57a' and answer.exists() then { item.answer first as a where a.value=true then { - src -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/postcoordination', ext.value = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE57a', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '0273738c'; + src -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/postcoordination', ext.value = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE57a', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '0273738c'; } '3e41ae3b'; } 'd8c20ee2'; } -group emcareconditionemcareb23de58(source src,source item,target tgt){ +group CccconditionCccb23de58(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2022,7 +2022,7 @@ group emcareconditionemcareb23de58(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE58', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'd913f145'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE58', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'd913f145'; } 'ecd18d6c'; } 'a88f6164'; item.answer where value.code = 'agree' then { @@ -2035,7 +2035,7 @@ group emcareconditionemcareb23de58(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de59(source src,source item,target tgt){ +group CccconditionCccb23de59(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2045,7 +2045,7 @@ group emcareconditionemcareb23de59(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE59', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '8f74fb03'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE59', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '8f74fb03'; } '4cae7202'; } 'b30797dc'; item.answer where value.code = 'agree' then { @@ -2056,14 +2056,14 @@ group emcareconditionemcareb23de59(source src,source item,target tgt){ src -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'inactive', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'd058c96f'; src -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'refuted', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' 'e74cae6e'; } '2219f1ae'; - src.item first as item where linkId = 'EmCare.B23.DE60' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B23.DE60' and answer.exists() then { item.answer first as a where a.value=true then { - src -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/postcoordination', ext.value = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE60', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'da15433c'; + src -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/postcoordination', ext.value = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE60', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'da15433c'; } '8622d264'; } '0e509ca1'; } -group emcareconditionemcareb23de61(source src,source item,target tgt){ +group CccconditionCccb23de61(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2073,7 +2073,7 @@ group emcareconditionemcareb23de61(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE61', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '9134fe36'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE61', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '9134fe36'; } '280470c5'; } '8aa97bdd'; item.answer where value.code = 'agree' then { @@ -2086,7 +2086,7 @@ group emcareconditionemcareb23de61(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de106(source src,source item,target tgt){ +group CccconditionCccb23de106(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2096,7 +2096,7 @@ group emcareconditionemcareb23de106(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE106', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '70f0a4fa'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE106', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '70f0a4fa'; } 'd8d6d130'; } '671ed411'; item.answer where value.code = 'agree' then { @@ -2109,7 +2109,7 @@ group emcareconditionemcareb23de106(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de107(source src,source item,target tgt){ +group CccconditionCccb23de107(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2119,7 +2119,7 @@ group emcareconditionemcareb23de107(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE107', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '4b1b0c22'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE107', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '4b1b0c22'; } 'd096a052'; } '8e8ee9b4'; item.answer where value.code = 'agree' then { @@ -2132,7 +2132,7 @@ group emcareconditionemcareb23de107(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditionemcareb23de108(source src,source item,target tgt){ +group CccconditionCccb23de108(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2142,7 +2142,7 @@ group emcareconditionemcareb23de108(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE108', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '3de5c106'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE108', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '3de5c106'; } '58d1e9ce'; } '81cf1715'; item.answer where value.code = 'agree' then { @@ -2155,7 +2155,7 @@ group emcareconditionemcareb23de108(source src,source item,target tgt){ } '2219f1ae'; } -group emcareconditioncollectoremcareb23de01(source src,source item,target tgt){ +group CccconditioncollectorCccb23de01(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2165,14 +2165,14 @@ group emcareconditioncollectoremcareb23de01(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE01', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '38c776ef'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE01', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '38c776ef'; } 'dcfcb65d'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '9ef26449'; } -group emcareconditioncollectoremcareb23de03(source src,source item,target tgt){ +group CccconditioncollectorCccb23de03(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2182,14 +2182,14 @@ group emcareconditioncollectoremcareb23de03(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE03', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '97f42802'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE03', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '97f42802'; } '539676b6'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } 'cfd7a9f6'; } -group emcareconditioncollectoremcareb23de06(source src,source item,target tgt){ +group CccconditioncollectorCccb23de06(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2199,14 +2199,14 @@ group emcareconditioncollectoremcareb23de06(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE06', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'dd0fd01c'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE06', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'dd0fd01c'; } '8ef845b0'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '8ede6446'; } -group emcareconditioncollectoremcareb23de10(source src,source item,target tgt){ +group CccconditioncollectorCccb23de10(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2216,14 +2216,14 @@ group emcareconditioncollectoremcareb23de10(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE10', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '901c4fa4'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE10', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '901c4fa4'; } '39e6334e'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '91de6eff'; } -group emcareconditioncollectoremcareb23de13(source src,source item,target tgt){ +group CccconditioncollectorCccb23de13(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2233,14 +2233,14 @@ group emcareconditioncollectoremcareb23de13(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE13', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '0b87b4e7'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE13', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '0b87b4e7'; } '6cc1c549'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '39e0fe5e'; } -group emcareconditioncollectoremcareb23de14(source src,source item,target tgt){ +group CccconditioncollectorCccb23de14(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2250,14 +2250,14 @@ group emcareconditioncollectoremcareb23de14(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE14', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'c77e81e6'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE14', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'c77e81e6'; } 'a3de578a'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } 'da0791a5'; } -group emcareconditioncollectoremcareb23de15(source src,source item,target tgt){ +group CccconditioncollectorCccb23de15(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2267,14 +2267,14 @@ group emcareconditioncollectoremcareb23de15(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE15', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '16e4a2c3'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE15', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '16e4a2c3'; } '088a39f1'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } 'b16e2ac9'; } -group emcareconditioncollectoremcareb23de16(source src,source item,target tgt){ +group CccconditioncollectorCccb23de16(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2284,14 +2284,14 @@ group emcareconditioncollectoremcareb23de16(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE16', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '672b006b'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE16', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '672b006b'; } 'c458ff7e'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '56c3513e'; } -group emcareconditioncollectoremcareb23de17(source src,source item,target tgt){ +group CccconditioncollectorCccb23de17(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2301,14 +2301,14 @@ group emcareconditioncollectoremcareb23de17(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE17', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'bd34c671'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE17', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'bd34c671'; } '0cc3c5de'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } 'bcc64d8c'; } -group emcareconditioncollectoremcareb23de18(source src,source item,target tgt){ +group CccconditioncollectorCccb23de18(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2318,14 +2318,14 @@ group emcareconditioncollectoremcareb23de18(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE18', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '422373d9'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE18', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '422373d9'; } '8f1dcdd2'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } 'c59123ce'; } -group emcareconditioncollectoremcareb23de18a(source src,source item,target tgt){ +group CccconditioncollectorCccb23de18a(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2335,14 +2335,14 @@ group emcareconditioncollectoremcareb23de18a(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE18.a', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'b2c23048'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE18.a', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'b2c23048'; } '422663d8'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '25273533'; } -group emcareconditioncollectoremcareb23de100(source src,source item,target tgt){ +group CccconditioncollectorCccb23de100(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2352,14 +2352,14 @@ group emcareconditioncollectoremcareb23de100(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE100', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '515f36ee'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE100', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '515f36ee'; } 'e9f1a397'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '8c3a108e'; } -group emcareconditioncollectoremcareb23de6101(source src,source item,target tgt){ +group CccconditioncollectorCccb23de6101(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2369,14 +2369,14 @@ group emcareconditioncollectoremcareb23de6101(source src,source item,target tgt) } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE6101', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '6a9c0b56'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE6101', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '6a9c0b56'; } '970b5053'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } 'bcd054c6'; } -group emcareconditioncollectoremcareb23de6102(source src,source item,target tgt){ +group CccconditioncollectorCccb23de6102(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2386,14 +2386,14 @@ group emcareconditioncollectoremcareb23de6102(source src,source item,target tgt) } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE6102', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '1522be60'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE6102', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '1522be60'; } '18159ba1'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } 'd067f021'; } -group emcareconditioncollectoremcareb23de6103(source src,source item,target tgt){ +group CccconditioncollectorCccb23de6103(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2403,14 +2403,14 @@ group emcareconditioncollectoremcareb23de6103(source src,source item,target tgt) } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE6103', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '248ab88b'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE6103', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '248ab88b'; } '9f402fa1'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '63883e24'; } -group emcareconditioncollectoremcareb23de30(source src,source item,target tgt){ +group CccconditioncollectorCccb23de30(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2420,14 +2420,14 @@ group emcareconditioncollectoremcareb23de30(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE30', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '60650f2a'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE30', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '60650f2a'; } '453d3cff'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } 'a68b918e'; } -group emcareconditioncollectoremcareb23de31(source src,source item,target tgt){ +group CccconditioncollectorCccb23de31(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2437,14 +2437,14 @@ group emcareconditioncollectoremcareb23de31(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE31', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'ab1c5076'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE31', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'ab1c5076'; } '11935d2f'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '822b0f6f'; } -group emcareconditioncollectoremcareb23de32(source src,source item,target tgt){ +group CccconditioncollectorCccb23de32(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2454,14 +2454,14 @@ group emcareconditioncollectoremcareb23de32(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE32', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'b634fab6'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE32', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'b634fab6'; } '4ead4dac'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } 'd4c988ea'; } -group emcareconditioncollectoremcareb23de33(source src,source item,target tgt){ +group CccconditioncollectorCccb23de33(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2471,14 +2471,14 @@ group emcareconditioncollectoremcareb23de33(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE33', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '57e99b51'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE33', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '57e99b51'; } '82481cbe'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } 'fe5543e1'; } -group emcareconditioncollectoremcareb23de19(source src,source item,target tgt){ +group CccconditioncollectorCccb23de19(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2488,14 +2488,14 @@ group emcareconditioncollectoremcareb23de19(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE19', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '8cb2637d'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE19', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '8cb2637d'; } '69ddcad6'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '70cc0dd3'; } -group emcareconditioncollectoremcareb23de104(source src,source item,target tgt){ +group CccconditioncollectorCccb23de104(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2505,14 +2505,14 @@ group emcareconditioncollectoremcareb23de104(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE104', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '6627d17b'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE104', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '6627d17b'; } '008eb1e8'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '20bd1c4d'; } -group emcareconditioncollectoremcareb23de105(source src,source item,target tgt){ +group CccconditioncollectorCccb23de105(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2522,14 +2522,14 @@ group emcareconditioncollectoremcareb23de105(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE105', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'bfa6a728'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE105', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'bfa6a728'; } '503587f4'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } 'fef353a9'; } -group emcareconditioncollectoremcareb23de27(source src,source item,target tgt){ +group CccconditioncollectorCccb23de27(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2539,14 +2539,14 @@ group emcareconditioncollectoremcareb23de27(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE27', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '10a11fd8'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE27', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '10a11fd8'; } '7e9f6c96'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '0290fee9'; } -group emcareconditioncollectoremcareb23de28(source src,source item,target tgt){ +group CccconditioncollectorCccb23de28(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2556,14 +2556,14 @@ group emcareconditioncollectoremcareb23de28(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE28', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'bd635f9e'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE28', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'bd635f9e'; } 'ac92c02f'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '83be838f'; } -group emcareconditioncollectoremcareb23de29(source src,source item,target tgt){ +group CccconditioncollectorCccb23de29(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2573,14 +2573,14 @@ group emcareconditioncollectoremcareb23de29(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE29', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '59037b30'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE29', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '59037b30'; } 'cfcf61aa'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '6e4bf79f'; } -group emcareconditioncollectoremcareb23de62(source src,source item,target tgt){ +group CccconditioncollectorCccb23de62(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2590,14 +2590,14 @@ group emcareconditioncollectoremcareb23de62(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE62', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '1d89b4e7'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE62', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '1d89b4e7'; } '7a9976ac'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '57723227'; } -group emcareconditioncollectoremcareb23de63(source src,source item,target tgt){ +group CccconditioncollectorCccb23de63(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2607,14 +2607,14 @@ group emcareconditioncollectoremcareb23de63(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE63', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '7160c75f'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE63', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '7160c75f'; } 'f74f505b'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '33888f75'; } -group emcareconditioncollectoremcareb23de64(source src,source item,target tgt){ +group CccconditioncollectorCccb23de64(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2624,14 +2624,14 @@ group emcareconditioncollectoremcareb23de64(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE64', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'f6ad72a0'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE64', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'f6ad72a0'; } '9035e530'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '1cf80989'; } -group emcareconditioncollectoremcareb23de34(source src,source item,target tgt){ +group CccconditioncollectorCccb23de34(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2641,14 +2641,14 @@ group emcareconditioncollectoremcareb23de34(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE34', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'e5f9a7d3'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE34', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'e5f9a7d3'; } 'ff3ce60d'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } 'd108e57f'; } -group emcareconditioncollectoremcareb23de35(source src,source item,target tgt){ +group CccconditioncollectorCccb23de35(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2658,14 +2658,14 @@ group emcareconditioncollectoremcareb23de35(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE35', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '7f5b9cb3'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE35', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '7f5b9cb3'; } '30144f76'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '1b6c2929'; } -group emcareconditioncollectoremcareb23de41(source src,source item,target tgt){ +group CccconditioncollectorCccb23de41(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2675,14 +2675,14 @@ group emcareconditioncollectoremcareb23de41(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE41', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'e288c87d'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE41', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'e288c87d'; } '8173bdfa'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '6346630d'; } -group emcareconditioncollectoremcareb23de42(source src,source item,target tgt){ +group CccconditioncollectorCccb23de42(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2692,14 +2692,14 @@ group emcareconditioncollectoremcareb23de42(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE42', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '94e86dfd'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE42', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '94e86dfd'; } '1282d921'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '8bdb0925'; } -group emcareconditioncollectoremcareb23de44(source src,source item,target tgt){ +group CccconditioncollectorCccb23de44(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2709,14 +2709,14 @@ group emcareconditioncollectoremcareb23de44(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE44', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'e3f3e6d5'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE44', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'e3f3e6d5'; } 'bed4feb4'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '01ad58f9'; } -group emcareconditioncollectoremcareb23de45(source src,source item,target tgt){ +group CccconditioncollectorCccb23de45(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2726,14 +2726,14 @@ group emcareconditioncollectoremcareb23de45(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE45', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '606d51c8'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE45', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '606d51c8'; } '7d5d59ca'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '8d718fac'; } -group emcareconditioncollectoremcareb23de47(source src,source item,target tgt){ +group CccconditioncollectorCccb23de47(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2743,14 +2743,14 @@ group emcareconditioncollectoremcareb23de47(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE47', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '6bae8d25'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE47', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '6bae8d25'; } '5e31a07c'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '0403cb73'; } -group emcareconditioncollectoremcareb23de49(source src,source item,target tgt){ +group CccconditioncollectorCccb23de49(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2760,14 +2760,14 @@ group emcareconditioncollectoremcareb23de49(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE49', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'b581f2e7'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE49', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'b581f2e7'; } '1cc86632'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '01b77ffc'; } -group emcareconditioncollectoremcareb23de52(source src,source item,target tgt){ +group CccconditioncollectorCccb23de52(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2777,14 +2777,14 @@ group emcareconditioncollectoremcareb23de52(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE52', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'eb984457'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE52', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'eb984457'; } '124cd652'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '4f42555c'; } -group emcareconditioncollectoremcareb23de53(source src,source item,target tgt){ +group CccconditioncollectorCccb23de53(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2794,14 +2794,14 @@ group emcareconditioncollectoremcareb23de53(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE53', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '0f3a6755'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE53', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '0f3a6755'; } '863552f3'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '28aceb4b'; } -group emcareconditioncollectoremcareb23de54(source src,source item,target tgt){ +group CccconditioncollectorCccb23de54(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2811,14 +2811,14 @@ group emcareconditioncollectoremcareb23de54(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE54', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'fafd5b25'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE54', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'fafd5b25'; } '61c9d7c8'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '4a7c61b0'; } -group emcareconditioncollectoremcareb23de56(source src,source item,target tgt){ +group CccconditioncollectorCccb23de56(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2828,14 +2828,14 @@ group emcareconditioncollectoremcareb23de56(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE56', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '9a929971'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE56', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '9a929971'; } 'b7c8a104'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '0a350e2a'; } -group emcareconditioncollectoremcareb23de57(source src,source item,target tgt){ +group CccconditioncollectorCccb23de57(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2845,14 +2845,14 @@ group emcareconditioncollectoremcareb23de57(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE57', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '2c0d395c'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE57', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '2c0d395c'; } 'f04e9b50'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '4581b0aa'; } -group emcareconditioncollectoremcareb23de58(source src,source item,target tgt){ +group CccconditioncollectorCccb23de58(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2862,14 +2862,14 @@ group emcareconditioncollectoremcareb23de58(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE58', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'd913f145'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE58', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'd913f145'; } 'ecd18d6c'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '52e04bef'; } -group emcareconditioncollectoremcareb23de59(source src,source item,target tgt){ +group CccconditioncollectorCccb23de59(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2879,14 +2879,14 @@ group emcareconditioncollectoremcareb23de59(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE59', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '8f74fb03'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE59', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '8f74fb03'; } '4cae7202'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '4fd3684b'; } -group emcareconditioncollectoremcareb23de61(source src,source item,target tgt){ +group CccconditioncollectorCccb23de61(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2896,14 +2896,14 @@ group emcareconditioncollectoremcareb23de61(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE61', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '9134fe36'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE61', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '9134fe36'; } '280470c5'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } 'ebbc1c98'; } -group emcareconditioncollectoremcareb23de106(source src,source item,target tgt){ +group CccconditioncollectorCccb23de106(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2913,14 +2913,14 @@ group emcareconditioncollectoremcareb23de106(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE106', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '70f0a4fa'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE106', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '70f0a4fa'; } 'd8d6d130'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } 'c5746d18'; } -group emcareconditioncollectoremcareb23de107(source src,source item,target tgt){ +group CccconditioncollectorCccb23de107(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2930,14 +2930,14 @@ group emcareconditioncollectoremcareb23de107(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE107', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '4b1b0c22'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE107', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '4b1b0c22'; } 'd096a052'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '1df42064'; } -group emcareconditioncollectoremcareb23de108(source src,source item,target tgt){ +group CccconditioncollectorCccb23de108(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2947,14 +2947,14 @@ group emcareconditioncollectoremcareb23de108(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'EmCare.B23.DE108', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' '3de5c106'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'Ccc.B23.DE108', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' '3de5c106'; } '58d1e9ce'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; } '474da804'; } -group emcareconditioncollectorcollector(source src,source item,target tgt){ +group Cccconditioncollectorcollector(source src,source item,target tgt){ item.answer first as a then { src.subject as sub -> tgt.subject = sub '23252e10'; src.encounter as en -> tgt.encounter = en '553aae7e'; @@ -2964,7 +2964,7 @@ group emcareconditioncollectorcollector(source src,source item,target tgt){ } '46018ce4'; } 'cce2a9b1'; src -> tgt.code = create('CodeableConcept') as cs then { - src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'collector', ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' 'ab5440b5'; + src -> tgt.code = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'collector', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' 'ab5440b5'; } '6fc817a4'; a -> tgt.clinicalStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'active', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' 'b7901585'; a -> tgt.verificationStatus = create('CodeableConcept') as cs, cs.coding = create('Coding') as ccs, ccs.code= 'unconfirmed', ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' '3e544e1e'; diff --git a/input/mapping/emcare.b6.measurements.map b/input/mapping/Ccc.b6.measurements.map similarity index 73% rename from input/mapping/emcare.b6.measurements.map rename to input/mapping/Ccc.b6.measurements.map index f3188e78..998222bf 100644 --- a/input/mapping/emcare.b6.measurements.map +++ b/input/mapping/Ccc.b6.measurements.map @@ -1,179 +1,179 @@ -map 'https://smart.who.int/ccc/StructureMap/emcare.b6.measurements' = 'emcare.b6.measurements' +map 'https://smart.who.int/ccc/StructureMap/Ccc.b6.measurements' = 'Ccc.b6.measurements' uses 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse' alias 'questionnaireResponse' as source uses 'http://hl7.org/fhir/StructureDefinition/Bundle' alias 'Bundle' as target uses 'https://smart.who.int/ccc/StructureDefinition/observation' alias 'Observation' as target -uses 'https://smart.who.int/ccc/StructureDefinition/emcareobservation' alias 'EmCare Observation' as produced +uses 'https://smart.who.int/ccc/StructureDefinition/Cccobservation' alias 'Ccc Observation' as produced group bundletrans(source src : questionnaireResponse,target bundle : Bundle){ src -> bundle.id = uuid() 'id'; src -> bundle.type = 'batch' 'type'; - src.item first as item where linkId = 'EmCare.B6.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B6.DE01' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb6de01(src, tgt) '7b9e1570'; + src -> tgt then CccobservationCccb6de01(src, tgt) '7b9e1570'; } '9adbf767'; } 'a36f7a7c'; } '5af679c2'; - src.item first as item where linkId = 'EmCare.B6.DE04' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B6.DE04' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb6de04(src, tgt) '67f4a10a'; + src -> tgt then CccobservationCccb6de04(src, tgt) '67f4a10a'; } '0e7daada'; } '536a3c54'; } '1e7dc3b3'; - src.item first as item where linkId = 'EmCare.B6.DE05' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B6.DE05' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb6de05(src, tgt) '1b781b40'; + src -> tgt then CccobservationCccb6de05(src, tgt) '1b781b40'; } 'b078a223'; } '8261a595'; } 'f69a4aa0'; - src.item first as item where linkId = 'EmCare.B6.DE01A' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B6.DE01A' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb6de01a(src, tgt) '12e03591'; + src -> tgt then CccobservationCccb6de01a(src, tgt) '12e03591'; } 'ce53c93f'; } 'b254b7a3'; } '75778e5d'; - src.item first as item where linkId = 'EmCare.B6.DE06' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B6.DE06' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb6de06(src, tgt) '12cee51c'; + src -> tgt then CccobservationCccb6de06(src, tgt) '12cee51c'; } '2efb0b06'; } 'b561f2d8'; } 'a4bb9383'; - src.item first as item where linkId = 'EmCare.B6.DE08' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B6.DE08' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb6de08(src, tgt) '6bb35e76'; + src -> tgt then CccobservationCccb6de08(src, tgt) '6bb35e76'; } 'eb449882'; } 'e71738d1'; } 'b739680e'; src.item first as itm1 where linkId = 'HeightOrLength' then { - itm1.item first as item where linkId = 'EmCare.B6.DE09' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B6.DE09' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb6de09(src, tgt) '266493b1'; + src -> tgt then CccobservationCccb6de09(src, tgt) '266493b1'; } '2f726482'; } '6e52b729'; } '8eeae5c7'; } 'b0d72fdc'; src.item first as itm1 where linkId = 'HeightOrLength' then { - itm1.item first as item where linkId = 'EmCare.B6.DE11' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B6.DE11' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb6de11(src, tgt) '561b6a20'; + src -> tgt then CccobservationCccb6de11(src, tgt) '561b6a20'; } 'e820b17c'; } '083c0960'; } '89d9cbf4'; } '407446d8'; src.item first as itm1 where linkId = 'HeightOrLength' then { - itm1.item first as item where linkId = 'EmCare.B6.DE12' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B6.DE12' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb6de12(src, tgt) '68ca10f0'; + src -> tgt then CccobservationCccb6de12(src, tgt) '68ca10f0'; } 'c5484336'; } '36f4bed7'; } 'af843ed1'; } '3eece966'; src.item first as itm1 where linkId = 'HeightOrLength' then { - itm1.item first as item where linkId = 'EmCare.B6.DE16' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B6.DE16' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb6de16(src, tgt) 'e096bb18'; + src -> tgt then CccobservationCccb6de16(src, tgt) 'e096bb18'; } 'bd26fdf7'; } '6699c1df'; } '22423885'; } 'f65b099d'; src.item first as itm1 where linkId = 'HeightOrLength' then { - itm1.item first as item where linkId = 'EmCare.B6.DE17' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B6.DE17' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb6de17(src, tgt) 'ba2a3c82'; + src -> tgt then CccobservationCccb6de17(src, tgt) 'ba2a3c82'; } 'e7d4b396'; } '5b9abbd1'; } '69c61b5c'; } 'ec872a8f'; src.item first as itm1 where linkId = 'HeightOrLength' then { - itm1.item first as item where linkId = 'EmCare.B6.DE17a' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B6.DE17a' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb6de17a(src, tgt) '7bc3b5ea'; + src -> tgt then CccobservationCccb6de17a(src, tgt) '7bc3b5ea'; } '5622cb01'; } 'd4830ac3'; } '75bc4091'; } '40e94db6'; src.item first as itm1 where linkId = 'HeightOrLength' then { - itm1.item first as item where linkId = 'EmCare.B6.DE18' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B6.DE18' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb6de18(src, tgt) '307489c1'; + src -> tgt then CccobservationCccb6de18(src, tgt) '307489c1'; } 'e8491d3e'; } '9e7c1f1c'; } '4570d962'; } 'f83a9a0e'; } -group emcareobservationemcareb6de01(source src,target tgt){ +group CccobservationCccb6de01(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb6de01'; + 'id-Cccb6de01'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B6.DE01' - 'code-emcareb6de01'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B6.DE01' + 'code-Cccb6de01'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B6.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B6.DE01' and answer.exists() then { item.answer first as a then { a.value as val -> tgt.value = val, tgt.status = 'final' 'afa0ccc0'; } 'd40466ff'; } '74f627a9'; } -group emcareobservationemcareb6de04(source src,target tgt){ +group CccobservationCccb6de04(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb6de04'; + 'id-Cccb6de04'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B6.DE04' - 'code-emcareb6de04'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B6.DE04' + 'code-Cccb6de04'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B6.DE04' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B6.DE04' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'true' -> tgt.status = 'final',tgt.value = true '8a65aaa5'; @@ -182,131 +182,131 @@ group emcareobservationemcareb6de04(source src,target tgt){ } 'a27d71d0'; } -group emcareobservationemcareb6de05(source src,target tgt){ +group CccobservationCccb6de05(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb6de05'; + 'id-Cccb6de05'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B6.DE05' - 'code-emcareb6de05'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B6.DE05' + 'code-Cccb6de05'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B6.DE05' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B6.DE05' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb6de05'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb6de05'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb6de05'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb6de05'; } 'bdab9370'; } 'fe4a3fce'; } -group emcareobservationemcareb6de01a(source src,target tgt){ +group CccobservationCccb6de01a(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb6de01a'; + 'id-Cccb6de01a'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B6.DE01A' - 'code-emcareb6de01a'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B6.DE01A' + 'code-Cccb6de01a'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B6.DE01A' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B6.DE01A' and answer.exists() then { item.answer first as a then { a.value as val then { - val -> tgt.value = create('CodeableConcept') as cc, cc.coding = create('Coding') as c, c.code=val, c.system= 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', tgt.status = 'final' '759a9a54'; + val -> tgt.value = create('CodeableConcept') as cc, cc.coding = create('Coding') as c, c.code=val, c.system= 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', tgt.status = 'final' '759a9a54'; } '1b820ab0'; } 'd39f9088'; } 'a471ce48'; } -group emcareobservationemcareb6de06(source src,target tgt){ +group CccobservationCccb6de06(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb6de06'; + 'id-Cccb6de06'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B6.DE06' - 'code-emcareb6de06'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B6.DE06' + 'code-Cccb6de06'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B6.DE06' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B6.DE06' and answer.exists() then { item.answer first as a then { a.value as val -> tgt.value = val, tgt.status = 'final' 'afa0ccc0'; } 'd40466ff'; } '39925fe2'; } -group emcareobservationemcareb6de08(source src,target tgt){ +group CccobservationCccb6de08(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb6de08'; + 'id-Cccb6de08'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B6.DE08' - 'code-emcareb6de08'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B6.DE08' + 'code-Cccb6de08'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B6.DE08' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B6.DE08' and answer.exists() then { item.answer first as a then { a.value as val -> tgt.value = val, tgt.status = 'final' 'afa0ccc0'; } 'd40466ff'; } 'dc896557'; } -group emcareobservationemcareb6de09(source src,target tgt){ +group CccobservationCccb6de09(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb6de09'; + 'id-Cccb6de09'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B6.DE09' - 'code-emcareb6de09'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B6.DE09' + 'code-Cccb6de09'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -314,7 +314,7 @@ group emcareobservationemcareb6de09(source src,target tgt){ } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; src.item first as itm1 where linkId = 'HeightOrLength' then { - itm1.item first as item where linkId = 'EmCare.B6.DE09' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B6.DE09' and answer.exists() then { item.answer first as a then { a.value as val -> tgt.value = val, tgt.status = 'final' 'afa0ccc0'; } 'd40466ff'; @@ -322,20 +322,20 @@ group emcareobservationemcareb6de09(source src,target tgt){ } 'a045bbd4'; } -group emcareobservationemcareb6de11(source src,target tgt){ +group CccobservationCccb6de11(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb6de11'; + 'id-Cccb6de11'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B6.DE11' - 'code-emcareb6de11'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B6.DE11' + 'code-Cccb6de11'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -343,7 +343,7 @@ group emcareobservationemcareb6de11(source src,target tgt){ } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; src.item first as itm1 where linkId = 'HeightOrLength' then { - itm1.item first as item where linkId = 'EmCare.B6.DE11' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B6.DE11' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'true' -> tgt.status = 'final',tgt.value = true '8a65aaa5'; @@ -353,20 +353,20 @@ group emcareobservationemcareb6de11(source src,target tgt){ } '9a6a0b00'; } -group emcareobservationemcareb6de12(source src,target tgt){ +group CccobservationCccb6de12(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb6de12'; + 'id-Cccb6de12'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B6.DE12' - 'code-emcareb6de12'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B6.DE12' + 'code-Cccb6de12'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -374,7 +374,7 @@ group emcareobservationemcareb6de12(source src,target tgt){ } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; src.item first as itm1 where linkId = 'HeightOrLength' then { - itm1.item first as item where linkId = 'EmCare.B6.DE12' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B6.DE12' and answer.exists() then { item.answer first as a then { a.value as val -> tgt.value = val, tgt.status = 'final' 'afa0ccc0'; } 'd40466ff'; @@ -382,20 +382,20 @@ group emcareobservationemcareb6de12(source src,target tgt){ } '145f1ff6'; } -group emcareobservationemcareb6de16(source src,target tgt){ +group CccobservationCccb6de16(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb6de16'; + 'id-Cccb6de16'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B6.DE16' - 'code-emcareb6de16'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B6.DE16' + 'code-Cccb6de16'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -403,29 +403,29 @@ group emcareobservationemcareb6de16(source src,target tgt){ } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; src.item first as itm1 where linkId = 'HeightOrLength' then { - itm1.item first as item where linkId = 'EmCare.B6.DE16' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B6.DE16' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb6de16'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb6de16'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb6de16'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb6de16'; } 'bdab9370'; } 'c4642432'; } '8e8f1cd4'; } -group emcareobservationemcareb6de17(source src,target tgt){ +group CccobservationCccb6de17(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb6de17'; + 'id-Cccb6de17'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B6.DE17' - 'code-emcareb6de17'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B6.DE17' + 'code-Cccb6de17'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -433,7 +433,7 @@ group emcareobservationemcareb6de17(source src,target tgt){ } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; src.item first as itm1 where linkId = 'HeightOrLength' then { - itm1.item first as item where linkId = 'EmCare.B6.DE17' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B6.DE17' and answer.exists() then { item.answer first as a then { a.value as val -> tgt.value = val, tgt.status = 'final' 'afa0ccc0'; } 'd40466ff'; @@ -441,20 +441,20 @@ group emcareobservationemcareb6de17(source src,target tgt){ } 'b27154a0'; } -group emcareobservationemcareb6de17a(source src,target tgt){ +group CccobservationCccb6de17a(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb6de17a'; + 'id-Cccb6de17a'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B6.DE17a' - 'code-emcareb6de17a'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B6.DE17a' + 'code-Cccb6de17a'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -462,7 +462,7 @@ group emcareobservationemcareb6de17a(source src,target tgt){ } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; src.item first as itm1 where linkId = 'HeightOrLength' then { - itm1.item first as item where linkId = 'EmCare.B6.DE17a' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B6.DE17a' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'true' -> tgt.status = 'final',tgt.value = true '8a65aaa5'; @@ -472,20 +472,20 @@ group emcareobservationemcareb6de17a(source src,target tgt){ } '04002c97'; } -group emcareobservationemcareb6de18(source src,target tgt){ +group CccobservationCccb6de18(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb6de18'; + 'id-Cccb6de18'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B6.DE18' - 'code-emcareb6de18'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B6.DE18' + 'code-Cccb6de18'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -493,7 +493,7 @@ group emcareobservationemcareb6de18(source src,target tgt){ } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; src.item first as itm1 where linkId = 'HeightOrLength' then { - itm1.item first as item where linkId = 'EmCare.B6.DE18' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B6.DE18' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' 'd0a13fda'; diff --git a/input/mapping/emcare.b7.lti-dangersigns.map b/input/mapping/Ccc.b7.lti-dangersigns.map similarity index 71% rename from input/mapping/emcare.b7.lti-dangersigns.map rename to input/mapping/Ccc.b7.lti-dangersigns.map index 9d1a0bef..060d232e 100644 --- a/input/mapping/emcare.b7.lti-dangersigns.map +++ b/input/mapping/Ccc.b7.lti-dangersigns.map @@ -1,142 +1,142 @@ -map 'https://smart.who.int/ccc/StructureMap/emcare.b7.lti-dangersigns' = 'emcare.b7.lti-dangersigns' +map 'https://smart.who.int/ccc/StructureMap/Ccc.b7.lti-dangersigns' = 'Ccc.b7.lti-dangersigns' uses 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse' alias 'questionnaireResponse' as source uses 'http://hl7.org/fhir/StructureDefinition/Bundle' alias 'Bundle' as target uses 'https://smart.who.int/ccc/StructureDefinition/observation' alias 'Observation' as target -uses 'https://smart.who.int/ccc/StructureDefinition/emcareobservation' alias 'EmCare Observation' as produced +uses 'https://smart.who.int/ccc/StructureDefinition/Cccobservation' alias 'Ccc Observation' as produced group bundletrans(source src : questionnaireResponse,target bundle : Bundle){ src -> bundle.id = uuid() 'id'; src -> bundle.type = 'batch' 'type'; - src.item first as item where linkId = 'EmCare.B7.DE02' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B7.DE02' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb7de02(src, tgt) '004b4d1e'; + src -> tgt then CccobservationCccb7de02(src, tgt) '004b4d1e'; } '92e7f5f9'; } '402826af'; } '8c26175a'; - src.item first as item where linkId = 'EmCare.B7-B8-B9.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B7-B8-B9.DE01' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb7b8b9de01(src, tgt) 'ff2fa2ef'; + src -> tgt then CccobservationCccb7b8b9de01(src, tgt) 'ff2fa2ef'; } 'a8c4cecd'; } 'cab32791'; } '8f0ade51'; src.item first as itm1 where linkId = 'stable-child' then { - itm1.item first as item where linkId = 'EmCare.B7.DE03' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B7.DE03' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb7de03(src, tgt) 'f2e89805'; + src -> tgt then CccobservationCccb7de03(src, tgt) 'f2e89805'; } '8dded58a'; } '6d815194'; } 'b1580360'; } 'f9ff931c'; src.item first as itm1 where linkId = 'stable-child' then { - itm1.item first as item where linkId = 'EmCare.B7.DE08b' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B7.DE08b' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb7de08b(src, tgt) '7c424dce'; + src -> tgt then CccobservationCccb7de08b(src, tgt) '7c424dce'; } '090c71e8'; } '366ba7ba'; } '65aaf8e5'; } '340cad6a'; src.item first as itm1 where linkId = 'stable-child' then { - itm1.item first as item where linkId = 'EmCare.B7.DE08' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B7.DE08' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb7de08(src, tgt) '279d6969'; + src -> tgt then CccobservationCccb7de08(src, tgt) '279d6969'; } '20cc88b6'; } '3f40ba3d'; } '350d6fc4'; } 'eaa550b2'; src.item first as itm1 where linkId = 'stable-child' then { - itm1.item first as item where linkId = 'EmCare.B7.DE08a' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B7.DE08a' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb7de08a(src, tgt) 'd2861aff'; + src -> tgt then CccobservationCccb7de08a(src, tgt) 'd2861aff'; } '7be6660a'; } 'bd06a10d'; } '1343a39a'; } 'd8ac86b0'; src.item first as itm1 where linkId = 'stable-child' then { - itm1.item first as item where linkId = 'EmCare.B7.DE09' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B7.DE09' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb7de09(src, tgt) '3f6a9726'; + src -> tgt then CccobservationCccb7de09(src, tgt) '3f6a9726'; } '2c4ac41f'; } '98869034'; } '0ea146b2'; } 'dd9b5c52'; src.item first as itm1 where linkId = 'stable-child' then { - itm1.item first as item where linkId = 'EmCare.B7.DE10' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B7.DE10' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb7de10(src, tgt) '1fe53b0d'; + src -> tgt then CccobservationCccb7de10(src, tgt) '1fe53b0d'; } '0fb952bc'; } '980ae740'; } '5b813bca'; } '492052bb'; src.item first as itm1 where linkId = 'stable-child' then { - itm1.item first as itm2 where linkId = 'EmCare.B22.FluidTest' then { - itm2.item first as item where linkId = 'EmCare.B22.DE08' and answer.exists() then { + itm1.item first as itm2 where linkId = 'Ccc.B22.FluidTest' then { + itm2.item first as item where linkId = 'Ccc.B22.DE08' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de08(src, tgt) 'd34db40c'; + src -> tgt then CccobservationCccb22de08(src, tgt) 'd34db40c'; } 'bd8403a6'; } '09eb3e1a'; } '5b2cdf2b'; } '147ec831'; } 'e1f072a2'; src.item first as itm1 where linkId = 'stable-child' then { - itm1.item first as itm2 where linkId = 'EmCare.B22.FluidTest' then { - itm2.item first as item where linkId = 'EmCare.B22.DE14' and answer.exists() then { + itm1.item first as itm2 where linkId = 'Ccc.B22.FluidTest' then { + itm2.item first as item where linkId = 'Ccc.B22.DE14' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de14(src, tgt) '128f555c'; + src -> tgt then CccobservationCccb22de14(src, tgt) '128f555c'; } '2cba61ee'; } '1eb502ac'; } '9758fd8e'; } '680dcb34'; } '8bc21454'; src.item first as itm1 where linkId = 'stable-child' then { - itm1.item first as itm2 where linkId = 'EmCare.B22.FluidTest' then { - itm2.item first as item where linkId = 'EmCare.B22.DE14a' and answer.exists() then { + itm1.item first as itm2 where linkId = 'Ccc.B22.FluidTest' then { + itm2.item first as item where linkId = 'Ccc.B22.DE14a' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de14a(src, tgt) '7b46291c'; + src -> tgt then CccobservationCccb22de14a(src, tgt) '7b46291c'; } '17f1508c'; } '64f82f5e'; } 'd955cd1e'; } '29fc59e7'; } '5a220c96'; src.item first as itm1 where linkId = 'stable-child' then { - itm1.item first as itm2 where linkId = 'EmCare.B22.FluidTest' then { - itm2.item first as item where linkId = 'EmCare.B22.DE15' and answer.exists() then { + itm1.item first as itm2 where linkId = 'Ccc.B22.FluidTest' then { + itm2.item first as item where linkId = 'Ccc.B22.DE15' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de15(src, tgt) '0d25d61c'; + src -> tgt then CccobservationCccb22de15(src, tgt) '0d25d61c'; } '49095bbf'; } '7ffa5829'; } '408d099b'; } 'f64298f5'; } '28f93c51'; src.item first as itm1 where linkId = 'stable-child' then { - itm1.item first as itm2 where linkId = 'EmCare.B22.FluidTest' then { - itm2.item first as item where linkId = 'EmCare.B22.DE16' and answer.exists() then { + itm1.item first as itm2 where linkId = 'Ccc.B22.FluidTest' then { + itm2.item first as item where linkId = 'Ccc.B22.DE16' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb22de16(src, tgt) '2bef72fa'; + src -> tgt then CccobservationCccb22de16(src, tgt) '2bef72fa'; } 'f426fdde'; } 'f53bf22c'; } '756331ed'; @@ -144,55 +144,55 @@ group bundletrans(source src : questionnaireResponse,target bundle : Bundle){ } '0636116b'; } -group emcareobservationemcareb7de02(source src,target tgt){ +group CccobservationCccb7de02(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb7de02'; + 'id-Cccb7de02'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B7.DE02' - 'code-emcareb7de02'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B7.DE02' + 'code-Cccb7de02'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B7.DE02' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B7.DE02' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb7de02'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb7de02'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb7de02'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb7de02'; } 'bdab9370'; } '25c89b41'; } -group emcareobservationemcareb7b8b9de01(source src,target tgt){ +group CccobservationCccb7b8b9de01(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb7b8b9de01'; + 'id-Cccb7b8b9de01'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B7-B8-B9.DE01' - 'code-emcareb7b8b9de01'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B7-B8-B9.DE01' + 'code-Cccb7b8b9de01'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B7-B8-B9.DE01' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B7-B8-B9.DE01' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' 'd0a13fda'; @@ -202,20 +202,20 @@ group emcareobservationemcareb7b8b9de01(source src,target tgt){ } '1deb5925'; } -group emcareobservationemcareb7de03(source src,target tgt){ +group CccobservationCccb7de03(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb7de03'; + 'id-Cccb7de03'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B7.DE03' - 'code-emcareb7de03'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B7.DE03' + 'code-Cccb7de03'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -223,29 +223,29 @@ group emcareobservationemcareb7de03(source src,target tgt){ } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; src.item first as itm1 where linkId = 'stable-child' then { - itm1.item first as item where linkId = 'EmCare.B7.DE03' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B7.DE03' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb7de03'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb7de03'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb7de03'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb7de03'; } 'bdab9370'; } 'a2c65533'; } '06440f2e'; } -group emcareobservationemcareb7de08b(source src,target tgt){ +group CccobservationCccb7de08b(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb7de08b'; + 'id-Cccb7de08b'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B7.DE08b' - 'code-emcareb7de08b'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B7.DE08b' + 'code-Cccb7de08b'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -253,29 +253,29 @@ group emcareobservationemcareb7de08b(source src,target tgt){ } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; src.item first as itm1 where linkId = 'stable-child' then { - itm1.item first as item where linkId = 'EmCare.B7.DE08b' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B7.DE08b' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb7de08b'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb7de08b'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb7de08b'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb7de08b'; } 'bdab9370'; } '9b1cc305'; } '5c09828f'; } -group emcareobservationemcareb7de08(source src,target tgt){ +group CccobservationCccb7de08(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb7de08'; + 'id-Cccb7de08'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B7.DE08' - 'code-emcareb7de08'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B7.DE08' + 'code-Cccb7de08'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -283,29 +283,29 @@ group emcareobservationemcareb7de08(source src,target tgt){ } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; src.item first as itm1 where linkId = 'stable-child' then { - itm1.item first as item where linkId = 'EmCare.B7.DE08' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B7.DE08' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb7de08'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb7de08'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb7de08'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb7de08'; } 'bdab9370'; } '2bfe418a'; } '899ae4be'; } -group emcareobservationemcareb7de08a(source src,target tgt){ +group CccobservationCccb7de08a(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb7de08a'; + 'id-Cccb7de08a'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B7.DE08a' - 'code-emcareb7de08a'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B7.DE08a' + 'code-Cccb7de08a'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -313,29 +313,29 @@ group emcareobservationemcareb7de08a(source src,target tgt){ } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; src.item first as itm1 where linkId = 'stable-child' then { - itm1.item first as item where linkId = 'EmCare.B7.DE08a' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B7.DE08a' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb7de08a'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb7de08a'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb7de08a'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb7de08a'; } 'bdab9370'; } 'f01cf4cb'; } 'dffa204b'; } -group emcareobservationemcareb7de09(source src,target tgt){ +group CccobservationCccb7de09(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb7de09'; + 'id-Cccb7de09'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B7.DE09' - 'code-emcareb7de09'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B7.DE09' + 'code-Cccb7de09'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -343,29 +343,29 @@ group emcareobservationemcareb7de09(source src,target tgt){ } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; src.item first as itm1 where linkId = 'stable-child' then { - itm1.item first as item where linkId = 'EmCare.B7.DE09' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B7.DE09' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb7de09'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb7de09'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb7de09'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb7de09'; } 'bdab9370'; } 'd2857a7f'; } '9311a6c3'; } -group emcareobservationemcareb7de10(source src,target tgt){ +group CccobservationCccb7de10(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb7de10'; + 'id-Cccb7de10'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B7.DE10' - 'code-emcareb7de10'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B7.DE10' + 'code-Cccb7de10'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -373,29 +373,29 @@ group emcareobservationemcareb7de10(source src,target tgt){ } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; src.item first as itm1 where linkId = 'stable-child' then { - itm1.item first as item where linkId = 'EmCare.B7.DE10' and answer.exists() then { + itm1.item first as item where linkId = 'Ccc.B7.DE10' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb7de10'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb7de10'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb7de10'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb7de10'; } 'bdab9370'; } '86a60301'; } 'd7b8fbb0'; } -group emcareobservationemcareb22de08(source src,target tgt){ +group CccobservationCccb22de08(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de08'; + 'id-Cccb22de08'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE08' - 'code-emcareb22de08'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE08' + 'code-Cccb22de08'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -403,8 +403,8 @@ group emcareobservationemcareb22de08(source src,target tgt){ } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; src.item first as itm1 where linkId = 'stable-child' then { - itm1.item first as itm2 where linkId = 'EmCare.B22.FluidTest' then { - itm2.item first as item where linkId = 'EmCare.B22.DE08' and answer.exists() then { + itm1.item first as itm2 where linkId = 'Ccc.B22.FluidTest' then { + itm2.item first as item where linkId = 'Ccc.B22.DE08' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' 'd0a13fda'; @@ -416,20 +416,20 @@ group emcareobservationemcareb22de08(source src,target tgt){ } '4113c5c7'; } -group emcareobservationemcareb22de14(source src,target tgt){ +group CccobservationCccb22de14(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de14'; + 'id-Cccb22de14'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE14' - 'code-emcareb22de14'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE14' + 'code-Cccb22de14'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -437,8 +437,8 @@ group emcareobservationemcareb22de14(source src,target tgt){ } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; src.item first as itm1 where linkId = 'stable-child' then { - itm1.item first as itm2 where linkId = 'EmCare.B22.FluidTest' then { - itm2.item first as item where linkId = 'EmCare.B22.DE14' and answer.exists() then { + itm1.item first as itm2 where linkId = 'Ccc.B22.FluidTest' then { + itm2.item first as item where linkId = 'Ccc.B22.DE14' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'true' -> tgt.status = 'final',tgt.value = true '8a65aaa5'; @@ -449,20 +449,20 @@ group emcareobservationemcareb22de14(source src,target tgt){ } '0204726e'; } -group emcareobservationemcareb22de14a(source src,target tgt){ +group CccobservationCccb22de14a(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de14a'; + 'id-Cccb22de14a'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE14a' - 'code-emcareb22de14a'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE14a' + 'code-Cccb22de14a'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -470,31 +470,31 @@ group emcareobservationemcareb22de14a(source src,target tgt){ } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; src.item first as itm1 where linkId = 'stable-child' then { - itm1.item first as itm2 where linkId = 'EmCare.B22.FluidTest' then { - itm2.item first as item where linkId = 'EmCare.B22.DE14a' and answer.exists() then { + itm1.item first as itm2 where linkId = 'Ccc.B22.FluidTest' then { + itm2.item first as item where linkId = 'Ccc.B22.DE14a' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de14a'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de14a'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de14a'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de14a'; } 'bdab9370'; } '120b0bc5'; } 'ffa20ee2'; } 'e1505882'; } -group emcareobservationemcareb22de15(source src,target tgt){ +group CccobservationCccb22de15(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de15'; + 'id-Cccb22de15'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE15' - 'code-emcareb22de15'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE15' + 'code-Cccb22de15'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -502,31 +502,31 @@ group emcareobservationemcareb22de15(source src,target tgt){ } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; src.item first as itm1 where linkId = 'stable-child' then { - itm1.item first as itm2 where linkId = 'EmCare.B22.FluidTest' then { - itm2.item first as item where linkId = 'EmCare.B22.DE15' and answer.exists() then { + itm1.item first as itm2 where linkId = 'Ccc.B22.FluidTest' then { + itm2.item first as item where linkId = 'Ccc.B22.DE15' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb22de15'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb22de15'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb22de15'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb22de15'; } 'bdab9370'; } 'f886f65c'; } '0ff7ff35'; } '455546fc'; } -group emcareobservationemcareb22de16(source src,target tgt){ +group CccobservationCccb22de16(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb22de16'; + 'id-Cccb22de16'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B22.DE16' - 'code-emcareb22de16'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B22.DE16' + 'code-Cccb22de16'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; @@ -534,8 +534,8 @@ group emcareobservationemcareb22de16(source src,target tgt){ } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; src.item first as itm1 where linkId = 'stable-child' then { - itm1.item first as itm2 where linkId = 'EmCare.B22.FluidTest' then { - itm2.item first as item where linkId = 'EmCare.B22.DE16' and answer.exists() then { + itm1.item first as itm2 where linkId = 'Ccc.B22.FluidTest' then { + itm2.item first as item where linkId = 'Ccc.B22.DE16' and answer.exists() then { item.answer first as a then { a.value as val then { val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' 'd0a13fda'; diff --git a/input/mapping/emcare.treatment.map b/input/mapping/Ccc.treatment.map similarity index 81% rename from input/mapping/emcare.treatment.map rename to input/mapping/Ccc.treatment.map index 873635ee..91a22e7d 100644 --- a/input/mapping/emcare.treatment.map +++ b/input/mapping/Ccc.treatment.map @@ -1,4 +1,4 @@ -map 'https://smart.who.int/ccc/StructureMap/emcare.treatment' = 'emcare.treatment' +map 'https://smart.who.int/ccc/StructureMap/Ccc.treatment' = 'Ccc.treatment' uses 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse' alias 'questionnaireResponse' as source uses 'http://hl7.org/fhir/StructureDefinition/Bundle' alias 'Bundle' as target group bundletrans(source src : questionnaireResponse,target bundle : Bundle){ diff --git a/input/mapping/emcarea.registration.p.map b/input/mapping/Ccca.registration.p.map similarity index 54% rename from input/mapping/emcarea.registration.p.map rename to input/mapping/Ccca.registration.p.map index b3871bc4..8f44c30d 100644 --- a/input/mapping/emcarea.registration.p.map +++ b/input/mapping/Ccca.registration.p.map @@ -1,10 +1,10 @@ -map 'https://smart.who.int/ccc/StructureMap/emcarea.registration.p' = 'emcarea.registration.p' +map 'https://smart.who.int/ccc/StructureMap/Ccca.registration.p' = 'Ccca.registration.p' uses 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse' alias 'questionnaireResponse' as source uses 'http://hl7.org/fhir/StructureDefinition/Bundle' alias 'Bundle' as target uses 'https://smart.who.int/ccc/StructureDefinition/patient' alias 'Patient' as target uses 'https://smart.who.int/ccc/StructureDefinition/relatedperson' alias 'RelatedPerson' as target uses 'https://smart.who.int/ccc/StructureDefinition/communicationrequest' alias 'CommunicationRequest' as target -uses 'https://smart.who.int/ccc/StructureDefinition/emcarepatient' alias 'EmCare Patient' as produced +uses 'https://smart.who.int/ccc/StructureDefinition/Cccpatient' alias 'Ccc Patient' as produced uses 'https://smart.who.int/ccc/StructureDefinition/relatedperson' alias 'RelatedPerson' as produced uses 'https://smart.who.int/ccc/StructureDefinition/communicationrequest' alias 'CommunicationRequest' as produced group bundletrans(source src : questionnaireResponse,target bundle : Bundle){ @@ -15,10 +15,10 @@ group bundletrans(source src : questionnaireResponse,target bundle : Bundle){ subject.id as idval -> entry.request as request, request.method = 'PUT', request.url = append('/Patient/',idval) '1153aa45'; } 'cf5b2513'; src -> entry.resource = create("Patient") as tgt then { - src -> tgt then emcarepatient(src, tgt) '77f3ac03'; + src -> tgt then Cccpatient(src, tgt) '77f3ac03'; } '75beb242'; - } 'put-emcarepatient'; - src.item first as itm1 where linkId = 'EmCare.A.DE21.1' then { + } 'put-Cccpatient'; + src.item first as itm1 where linkId = 'Ccc.A.DE21.1' then { itm1.item first as item where linkId = 'relatedpersonid' and answer.exists() then { src -> bundle.entry as entry ,entry.request as request, request.method = 'POST' , entry.resource = create('RelatedPerson') as tgt then { src -> tgt then relatedperson(src, tgt) '8f0b9602'; @@ -28,31 +28,31 @@ group bundletrans(source src : questionnaireResponse,target bundle : Bundle){ } '00574b8e'; } '74cc3511'; } '54daac33'; - src.item first as itm1 where linkId = 'EmCare.A.DE21.1' then { - itm1.item first as item where linkId = 'EmCare.A.DE38' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.A.DE21.1' then { + itm1.item first as item where linkId = 'Ccc.A.DE38' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/CommunicationRequest/', uuid) 'e5343f50'; src -> entry.resource = create('CommunicationRequest') as tgt then { - src -> tgt then communicationrequestemcareade38(src, tgt) '82d8a873'; + src -> tgt then communicationrequestCccade38(src, tgt) '82d8a873'; } '33eeb100'; } 'd4cd942b'; } '5ca7be0f'; } 'b78fbe33'; } -group SetOfficalGivenNameemcarepatient(source src,target tgt){ +group SetOfficalGivenNameCccpatient(source src,target tgt){ src -> tgt.use = 'official' then { - src.item first as item where linkId = 'EmCare.A.DE06' and answer.exists() then { + src.item first as item where linkId = 'Ccc.A.DE06' and answer.exists() then { item.answer first as a then { a.value as val -> tgt.family = val '77d1bd4f'; } 'e0827d5d'; } '607c4e16'; - src.item first as item where linkId = 'EmCare.A.DE04' and answer.exists() then { + src.item first as item where linkId = 'Ccc.A.DE04' and answer.exists() then { item.answer first as a then { a.value as val -> tgt.given = val '5d3d44f6'; } '18edd234'; } 'e9deb0f3'; - src.item first as item where linkId = 'EmCare.A.DE05' and answer.exists() then { + src.item first as item where linkId = 'Ccc.A.DE05' and answer.exists() then { item.answer first as a then { a.value as val -> tgt.given = val '5d3d44f6'; } '18edd234'; @@ -60,80 +60,80 @@ group SetOfficalGivenNameemcarepatient(source src,target tgt){ } 'ef0f6810'; } -group MapValueSetExtCodeemcareade16(source src,target tgt){ +group MapValueSetExtCodeCccade16(source src,target tgt){ src -> tgt then { src -> tgt then { - src where value.code = 'EmCare.A.DE17' -> tgt.gender = 'female' '368f2e2a'; - src where value.code = 'EmCare.A.DE18' -> tgt.gender = 'male' '2ae3beca'; - src where value.code = 'EmCare.A.DE19' -> tgt.gender = 'unknown' 'de22e8b7'; + src where value.code = 'Ccc.A.DE17' -> tgt.gender = 'female' '368f2e2a'; + src where value.code = 'Ccc.A.DE18' -> tgt.gender = 'male' '2ae3beca'; + src where value.code = 'Ccc.A.DE19' -> tgt.gender = 'unknown' 'de22e8b7'; } 'mapbase'; } '57676688'; } -group emcarepatient(source src : questionnaireResponse,target tgt : Patient){ - src.item first as item where linkId = 'EmCare.A.DE01' and answer.exists() then { +group Cccpatient(source src : questionnaireResponse,target tgt : Patient){ + src.item first as item where linkId = 'Ccc.A.DE01' and answer.exists() then { item.answer first as a then { a.value as val -> tgt.identifier = create('Identifier' ) as identifier then { val -> identifier.value = val, identifier.use = 'official' "id"; - } 'aemcareade01'; - } 'aemcareade01'; + } 'aCccade01'; + } 'aCccade01'; } 'c243b020'; - src.item first as item where linkId = 'EmCare.A.DE03' and answer.exists() then { - item.answer first as a -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/anonymous', ext.value = true 'aemcareade03'; + src.item first as item where linkId = 'Ccc.A.DE03' and answer.exists() then { + item.answer first as a -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/anonymous', ext.value = true 'aCccade03'; } '54d12495'; - src.item first as item where linkId = 'EmCare.A.DE06' or linkId= 'EmCare.A.DE04' or linkId= 'EmCare.A.DE05' and answer.exists() then { - src -> tgt as target, target.name as name then SetOfficalGivenNameemcarepatient(src, name) '30643049'; + src.item first as item where linkId = 'Ccc.A.DE06' or linkId= 'Ccc.A.DE04' or linkId= 'Ccc.A.DE05' and answer.exists() then { + src -> tgt as target, target.name as name then SetOfficalGivenNameCccpatient(src, name) '30643049'; } '7483ae2e'; - src.item first as item where linkId = 'EmCare.A.DE12' and answer.exists() then { + src.item first as item where linkId = 'Ccc.A.DE12' and answer.exists() then { item.answer first as a then { - a.value as val -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/birthDateEstimator', ext.value = val 'aemcareade12'; - } 'aemcareade12'; + a.value as val -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/birthDateEstimator', ext.value = val 'aCccade12'; + } 'aCccade12'; } 'c05cf203'; - src.item first as item where linkId = 'EmCare.A.DE08' and answer.exists() then { + src.item first as item where linkId = 'Ccc.A.DE08' and answer.exists() then { item.answer first as a then { - a.value as val -> tgt.birthDate = val 'aemcareade08'; - } 'aemcareade08'; + a.value as val -> tgt.birthDate = val 'aCccade08'; + } 'aCccade08'; } 'bded6ae8'; - src.item first as item where linkId = 'EmCare.A.DE16' and answer.exists() then { - item.answer first as a then MapValueSetExtCodeemcareade16(a, tgt) '225baa79'; + src.item first as item where linkId = 'Ccc.A.DE16' and answer.exists() then { + item.answer first as a then MapValueSetExtCodeCccade16(a, tgt) '225baa79'; } 'bf4b35f0'; - src.item first as item where linkId = 'EmCare.A.DE48' and answer.exists() then { - item.answer first as a -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/primarycaregiver', ext.value= create('Reference') as ref, ref.reference = 'relatated-person-id' 'aemcareade48'; + src.item first as item where linkId = 'Ccc.A.DE48' and answer.exists() then { + item.answer first as a -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/primarycaregiver', ext.value= create('Reference') as ref, ref.reference = 'relatated-person-id' 'aCccade48'; } '04772b09'; - src.item first as itm1 where linkId = 'EmCare.A.DE21.1' then { - itm1.item first as item where linkId = 'EmCare.A.DE31' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.A.DE21.1' then { + itm1.item first as item where linkId = 'Ccc.A.DE31' and answer.exists() then { item.answer first as a then { - a.value as val -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/Extension/motherVitalStatus', ext.value= val 'aemcareade31'; - } 'aemcareade31'; + a.value as val -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/Extension/motherVitalStatus', ext.value= val 'aCccade31'; + } 'aCccade31'; } '7f408694'; } '39f45e5d'; - src.item first as itm1 where linkId = 'EmCare.A.DE21.1' then { - itm1.item first as item where linkId = 'EmCare.A.DE32' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.A.DE21.1' then { + itm1.item first as item where linkId = 'Ccc.A.DE32' and answer.exists() then { item.answer first as a then { - a.value as val -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/Extension/fatherVitalStatus', ext.value= val 'aemcareade32'; - } 'aemcareade32'; + a.value as val -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/Extension/fatherVitalStatus', ext.value= val 'aCccade32'; + } 'aCccade32'; } '06ec2524'; } 'f7424037'; } group SetOfficalGivenNamerelatedperson(source src,target tgt){ src -> tgt.use = 'official' then { - src.item first as itm1 where linkId = 'EmCare.A.DE21.1' then { - itm1.item first as item where linkId = 'EmCare.A.DE23' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.A.DE21.1' then { + itm1.item first as item where linkId = 'Ccc.A.DE23' and answer.exists() then { item.answer first as a then { a.value as val -> tgt.family = val '77d1bd4f'; } 'e0827d5d'; } '8c426238'; } '4cc155ee'; - src.item first as itm1 where linkId = 'EmCare.A.DE21.1' then { - itm1.item first as item where linkId = 'EmCare.A.DE21' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.A.DE21.1' then { + itm1.item first as item where linkId = 'Ccc.A.DE21' and answer.exists() then { item.answer first as a then { a.value as val -> tgt.given = val '5d3d44f6'; } '18edd234'; } 'ad3fbc15'; } '8bc880ed'; - src.item first as itm1 where linkId = 'EmCare.A.DE21.1' then { - itm1.item first as item where linkId = 'EmCare.A.DE22' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.A.DE21.1' then { + itm1.item first as item where linkId = 'Ccc.A.DE22' and answer.exists() then { item.answer first as a then { a.value as val -> tgt.given = val '5d3d44f6'; } '18edd234'; @@ -142,56 +142,56 @@ group SetOfficalGivenNamerelatedperson(source src,target tgt){ } 'f41b9847'; } -group MapValueSetExtCodeemcareade24(source src,target tgt){ +group MapValueSetExtCodeCccade24(source src,target tgt){ src -> tgt then { src -> tgt.relationship= create('CodeableConcept') as cc, cc.coding=create('Coding') as coding then { - src where value.code = 'EmCare.A.DE25'-> coding.code = 'MTH',coding.system = 'http://terminology.hl7.org/CodeSystem/v3-RoleCode' 'abd34a78'; - src where value.code = 'EmCare.A.DE26'-> coding.code = 'FTH',coding.system = 'http://terminology.hl7.org/CodeSystem/v3-RoleCode' 'b53d1d15'; - src where value.code = 'EmCare.A.DE27'-> coding.code = 'SIB',coding.system = 'http://terminology.hl7.org/CodeSystem/v3-RoleCode' '949ee35f'; - src where value.code = 'EmCare.A.DE28'-> coding.code = 'EXT',coding.system = 'http://terminology.hl7.org/CodeSystem/v3-RoleCode' '7c5a4400'; - src where value.code = 'EmCare.A.DE29'-> coding.code = 'PRNINLAW',coding.system = 'http://terminology.hl7.org/CodeSystem/v3-RoleCode' '544df0cc'; - src where value.code = 'EmCare.A.DE30'-> coding.code = 'U',coding.system = 'http://terminology.hl7.org/CodeSystem/v2-0131' '8c2d96fc'; + src where value.code = 'Ccc.A.DE25'-> coding.code = 'MTH',coding.system = 'http://terminology.hl7.org/CodeSystem/v3-RoleCode' 'abd34a78'; + src where value.code = 'Ccc.A.DE26'-> coding.code = 'FTH',coding.system = 'http://terminology.hl7.org/CodeSystem/v3-RoleCode' 'b53d1d15'; + src where value.code = 'Ccc.A.DE27'-> coding.code = 'SIB',coding.system = 'http://terminology.hl7.org/CodeSystem/v3-RoleCode' '949ee35f'; + src where value.code = 'Ccc.A.DE28'-> coding.code = 'EXT',coding.system = 'http://terminology.hl7.org/CodeSystem/v3-RoleCode' '7c5a4400'; + src where value.code = 'Ccc.A.DE29'-> coding.code = 'PRNINLAW',coding.system = 'http://terminology.hl7.org/CodeSystem/v3-RoleCode' '544df0cc'; + src where value.code = 'Ccc.A.DE30'-> coding.code = 'U',coding.system = 'http://terminology.hl7.org/CodeSystem/v2-0131' '8c2d96fc'; } '4a251df5'; } '1b7b6d7a'; } group relatedperson(source src : questionnaireResponse,target tgt : RelatedPerson){ - src.item first as item where linkId = 'emcarerelatedpersoncaregiverid' and answer.exists() then { + src.item first as item where linkId = 'Cccrelatedpersoncaregiverid' and answer.exists() then { item.answer first as a then { - a.value as val -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/primary-caregiver', ext.value= create('Reference') as ref, ref.reference = append('/RelatedPerson/',val) 'aemcarerelatedpersoncaregiverid'; - } 'aemcarerelatedpersoncaregiverid'; + a.value as val -> tgt.extension = create('Extension') as ext , ext.url ='https://smart.who.int/ccc/StructureDefinition/primary-caregiver', ext.value= create('Reference') as ref, ref.reference = append('/RelatedPerson/',val) 'aCccrelatedpersoncaregiverid'; + } 'aCccrelatedpersoncaregiverid'; } '04cd0ec2'; - src.item first as itm1 where linkId = 'EmCare.A.DE21.1' then { - itm1.item first as item where linkId = 'EmCare.A.DE23' or linkId= 'EmCare.A.DE21' or linkId= 'EmCare.A.DE22' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.A.DE21.1' then { + itm1.item first as item where linkId = 'Ccc.A.DE23' or linkId= 'Ccc.A.DE21' or linkId= 'Ccc.A.DE22' and answer.exists() then { src -> tgt as target, target.name as name then SetOfficalGivenNamerelatedperson(src, name) '8e1455ea'; } '18dc21d5'; } 'f0e6459e'; - src.item first as itm1 where linkId = 'EmCare.A.DE21.1' then { - itm1.item first as item where linkId = 'EmCare.A.DE35' and answer.exists() then { + src.item first as itm1 where linkId = 'Ccc.A.DE21.1' then { + itm1.item first as item where linkId = 'Ccc.A.DE35' and answer.exists() then { item.answer first as a then { - a.value as val -> tgt.telecom as tel, tel.system = 'phone', tel.use ='mobile', tel.value = val 'aemcareade35'; - } 'aemcareade35'; + a.value as val -> tgt.telecom as tel, tel.system = 'phone', tel.use ='mobile', tel.value = val 'aCccade35'; + } 'aCccade35'; } '9731ba92'; } '30b90d37'; - src.item first as itm1 where linkId = 'EmCare.A.DE21.1' then { + src.item first as itm1 where linkId = 'Ccc.A.DE21.1' then { itm1.item first as item where linkId = 'relatedpersonid' and answer.exists() then { item.answer first as a -> tgt then {src.subject as subject -> tgt.patient = subject 'patient';} 'arelatedpersonid'; } 'd79d72db'; } 'd50c1aed'; - src.item first as itm1 where linkId = 'EmCare.A.DE21.1' then { - itm1.item first as item where linkId = 'EmCare.A.DE24' and answer.exists() then { - item.answer first as a then MapValueSetExtCodeemcareade24(a, tgt) '24e5e488'; + src.item first as itm1 where linkId = 'Ccc.A.DE21.1' then { + itm1.item first as item where linkId = 'Ccc.A.DE24' and answer.exists() then { + item.answer first as a then MapValueSetExtCodeCccade24(a, tgt) '24e5e488'; } '6adb811a'; } '92a0e955'; } -group communicationrequestemcareade38(source src,target tgt){ +group communicationrequestCccade38(source src,target tgt){ src -> tgt.category = create('CodeableConcept') as cc, cc.coding = create('Coding') as c, c.system ='http://hl7.org/fhir/ValueSet/communication-category', c.code = 'notification' '053233cd'; src.questionnaire as q -> tgt.about = create('Reference') as ref, ref.type ='Questionnaire', ref.reference = q 'quest'; src.subject as subject -> tgt.subject = subject 'fe3bec4d'; src -> tgt.recipient =create('Reference') as ref then { src -> ref.type = 'RelatedPerson' 'c26ab31f'; - src.item first as item where linkId = 'emcarerelatedpersonCaregiveruuid' -> tgt then { + src.item first as item where linkId = 'CccrelatedpersonCaregiveruuid' -> tgt then { item.answer first as a -> tgt then { a.value as val -> ref.reference = append('/RelatedPerson/', val) '25b16148'; } '00b2016a'; diff --git a/input/mapping/emcareb.registration.e.map b/input/mapping/Cccb.registration.e.map similarity index 65% rename from input/mapping/emcareb.registration.e.map rename to input/mapping/Cccb.registration.e.map index 6407ba1e..e2296342 100644 --- a/input/mapping/emcareb.registration.e.map +++ b/input/mapping/Cccb.registration.e.map @@ -1,10 +1,10 @@ -map 'https://smart.who.int/ccc/StructureMap/emcareb.registration.e' = 'emcareb.registration.e' +map 'https://smart.who.int/ccc/StructureMap/Cccb.registration.e' = 'Cccb.registration.e' uses 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse' alias 'questionnaireResponse' as source uses 'http://hl7.org/fhir/StructureDefinition/Bundle' alias 'Bundle' as target uses 'https://smart.who.int/ccc/StructureDefinition/encounter' alias 'Encounter' as target uses 'https://smart.who.int/ccc/StructureDefinition/observation' alias 'Observation' as target -uses 'https://smart.who.int/ccc/StructureDefinition/emcareencounter' alias 'EmCare Encounter' as produced -uses 'https://smart.who.int/ccc/StructureDefinition/emcareobservation' alias 'EmCare Observation' as produced +uses 'https://smart.who.int/ccc/StructureDefinition/Cccencounter' alias 'Ccc Encounter' as produced +uses 'https://smart.who.int/ccc/StructureDefinition/Cccobservation' alias 'Ccc Observation' as produced group bundletrans(source src : questionnaireResponse,target bundle : Bundle){ src -> bundle.id = uuid() 'id'; src -> bundle.type = 'batch' 'type'; @@ -13,57 +13,57 @@ group bundletrans(source src : questionnaireResponse,target bundle : Bundle){ encounter.id as idval -> entry.request as request, request.method = 'PUT', request.url = append('/Encounter/',idval) 'f7ed42d5'; } '49f4ed45'; src -> entry.resource = create("Encounter") as tgt then { - src -> tgt then emcareencounter(src, tgt) 'fd415ba8'; + src -> tgt then Cccencounter(src, tgt) 'fd415ba8'; src.subject as sub -> tgt.subject = sub '23252e10'; } '8f0160c6'; - } 'put-emcareencounter'; - src.item first as item where linkId = 'EmCare.B3.DE05' and answer.exists() then { + } 'put-Cccencounter'; + src.item first as item where linkId = 'Ccc.B3.DE05' and answer.exists() then { src -> bundle.entry as entry then { src -> entry.request as request, request.method = 'POST' , uuid() as uuid, request.url = append('/Observation/', uuid) 'b50ac4c5'; src -> entry.resource = create('Observation') as tgt then { - src -> tgt then emcareobservationemcareb3de05(src, tgt) '918130f9'; + src -> tgt then CccobservationCccb3de05(src, tgt) '918130f9'; } '172606cb'; } 'a322e7db'; } '1af195c5'; } -group emcareencounter(source src : questionnaireResponse,target tgt : Encounter){ - src.item first as item where linkId = 'EmCare.B3.DE01' and answer.exists() then { +group Cccencounter(source src : questionnaireResponse,target tgt : Encounter){ + src.item first as item where linkId = 'Ccc.B3.DE01' and answer.exists() then { item.answer first as a then { - a.value as val -> tgt.reasonCode = create('CodeableConcept') as CC, CC.text = 'new consultation' ,CC.coding = val 'aemcareb3de01'; - } 'aemcareb3de01'; + a.value as val -> tgt.reasonCode = create('CodeableConcept') as CC, CC.text = 'new consultation' ,CC.coding = val 'aCccb3de01'; + } 'aCccb3de01'; } '5ea28a7f'; - src.item first as item where linkId = 'EmCare.B3.DE06' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B3.DE06' and answer.exists() then { item.answer first as a then { - a.value as val -> tgt.type = create('CodeableConcept') as CC, CC.text = 'new consultation' ,CC.coding = val 'aemcareb3de06'; - } 'aemcareb3de06'; + a.value as val -> tgt.type = create('CodeableConcept') as CC, CC.text = 'new consultation' ,CC.coding = val 'aCccb3de06'; + } 'aCccb3de06'; } '58ee7f8b'; } -group emcareobservationemcareb3de05(source src,target tgt){ +group CccobservationCccb3de05(source src,target tgt){ src -> tgt.identifier = create('Identifier') as CodeID, CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type', CodeID.use = 'official', CodeID.value = 'uuid', CodeID.id = uuid() - 'id-emcareb3de05'; + 'id-Cccb3de05'; src.encounter as encounter -> tgt.encounter = encounter '35bc6b82'; src.subject as subject -> tgt.subject = subject, - tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation', + tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, - coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes', - coding.code = 'EmCare.B3.DE05' - 'code-emcareb3de05'; + coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes', + coding.code = 'Ccc.B3.DE05' + 'code-Cccb3de05'; src.item as itemtimestamp where linkId = 'timestamp' then { itemtimestamp.answer first as atimestamp then { atimestamp.value as val -> tgt.issued = val '5af77f2c'; } '7f22f29f'; } 'aae7a11d'; src.subject as subject -> tgt.subject = subject 'patient'; - src.item first as item where linkId = 'EmCare.B3.DE05' and answer.exists() then { + src.item first as item where linkId = 'Ccc.B3.DE05' and answer.exists() then { item.answer first as a then { - a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-emcareb3de05'; - a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-emcareb3de05'; + a where a.value = true -> tgt.status = 'final', tgt.value = true 'final-Cccb3de05'; + a where a.value = false -> tgt.status = 'cancelled', tgt.value = false 'notfound-Cccb3de05'; } 'bdab9370'; } '5cf8dcb4'; } diff --git a/input/pagecontent/ActivityEmcare.b10-14.symptoms.2m.p.md b/input/pagecontent/ActivityEmcare.b10-14.symptoms.2m.p.md index 86eef657..9f17be0f 100644 --- a/input/pagecontent/ActivityEmcare.b10-14.symptoms.2m.p.md +++ b/input/pagecontent/ActivityEmcare.b10-14.symptoms.2m.p.md @@ -1,25 +1,25 @@ -### ActivityEmCare.B10-14.Symptoms.2m.p +### ActivityCcc.B10-14.Symptoms.2m.p #### Ouputs ouputs generated by the structureMaps | type | code / path | valueType | Description | |---|---|---|---| -| Ouputs | Observation | Observation | EmCare.B10S1.DE05 | -| Ouputs | Observation | Observation | EmCare.B10S1.DE06 | -| Ouputs | Observation | Observation | EmCare.B10S1.DE01 | -| Ouputs | Observation | Observation | EmCare.B10S1.DE02 | -| Ouputs | Observation | Observation | EmCare.B11S1.DE01 | -| Ouputs | Observation | Observation | EmCare.B11S1.DE02 | -| Ouputs | Observation | Observation | EmCare.B11S1.DE05 | -| Ouputs | Observation | Observation | EmCare.B12S1.DE02 | -| Ouputs | Observation | Observation | EmCare.B12S1.DE03 | -| Ouputs | Observation | Observation | EmCare.B.G.DE06 | -| Ouputs | Observation | Observation | EmCare.B12S1.DE06 | -| Ouputs | Observation | Observation | EmCare.B13S1.DE01 | -| Ouputs | Observation | Observation | EmCare.B13S1.DE02 | -| Ouputs | Observation | Observation | EmCare.B13S1.DE03 | -| Ouputs | Observation | Observation | EmCare.B13S1.DE04 | -| Ouputs | Observation | Observation | EmCare.B14S1.DE03 | -| Ouputs | Observation | Observation | EmCare.B14S1.DE01 | -| Ouputs | Observation | Observation | EmCare.B14S1.DE02 | +| Ouputs | Observation | Observation | Ccc.B10S1.DE05 | +| Ouputs | Observation | Observation | Ccc.B10S1.DE06 | +| Ouputs | Observation | Observation | Ccc.B10S1.DE01 | +| Ouputs | Observation | Observation | Ccc.B10S1.DE02 | +| Ouputs | Observation | Observation | Ccc.B11S1.DE01 | +| Ouputs | Observation | Observation | Ccc.B11S1.DE02 | +| Ouputs | Observation | Observation | Ccc.B11S1.DE05 | +| Ouputs | Observation | Observation | Ccc.B12S1.DE02 | +| Ouputs | Observation | Observation | Ccc.B12S1.DE03 | +| Ouputs | Observation | Observation | Ccc.B.G.DE06 | +| Ouputs | Observation | Observation | Ccc.B12S1.DE06 | +| Ouputs | Observation | Observation | Ccc.B13S1.DE01 | +| Ouputs | Observation | Observation | Ccc.B13S1.DE02 | +| Ouputs | Observation | Observation | Ccc.B13S1.DE03 | +| Ouputs | Observation | Observation | Ccc.B13S1.DE04 | +| Ouputs | Observation | Observation | Ccc.B14S1.DE03 | +| Ouputs | Observation | Observation | Ccc.B14S1.DE01 | +| Ouputs | Observation | Observation | Ccc.B14S1.DE02 | diff --git a/input/pagecontent/ActivityEmcare.b10-16.signs.2m.p.md b/input/pagecontent/ActivityEmcare.b10-16.signs.2m.p.md index ed1ebc98..c74074c3 100644 --- a/input/pagecontent/ActivityEmcare.b10-16.signs.2m.p.md +++ b/input/pagecontent/ActivityEmcare.b10-16.signs.2m.p.md @@ -1,4 +1,4 @@ -### ActivityEmCare.B10-16.Signs.2m.p +### ActivityCcc.B10-16.Signs.2m.p @@ -7,63 +7,63 @@ ouputs generated by the structureMaps | type | code / path | valueType | Description | |---|---|---|---| -| Ouputs | Observation | Observation | EmCare.B10S2.DE03 | -| Ouputs | Observation | Observation | EmCare.B10S2.DE04 | -| Ouputs | Observation | Observation | EmCare.B10S2.DE05 | -| Ouputs | Observation | Observation | EmCare.B10S2.DE06 | -| Ouputs | Observation | Observation | EmCare.B10S2.DE07 | -| Ouputs | Observation | Observation | EmCare.B11S2.DE01 | -| Ouputs | Observation | Observation | EmCare.B11S2.DE02 | -| Ouputs | Observation | Observation | EmCare.B11S2.DE06 | -| Ouputs | Observation | Observation | EmCare.B17S1.DE01 | -| Ouputs | Observation | Observation | EmCare.B17S1.DE02 | -| Ouputs | Observation | Observation | EmCare.B17S1.DE06 | -| Ouputs | Observation | Observation | EmCare.B17S1.DE07 | -| Ouputs | Observation | Observation | EmCare.B13S2.DE01 | -| Ouputs | Observation | Observation | EmCare.B13S2.DE02 | -| Ouputs | Observation | Observation | EmCare.B13S2.DE03 | -| Ouputs | Observation | Observation | EmCare.B12S2.DE01 | -| Ouputs | Observation | Observation | EmCare.B12S2.DE05 | -| Ouputs | Observation | Observation | EmCare.B14S2.DE01 | -| Ouputs | Observation | Observation | EmCare.B14S2.DE02 | -| Ouputs | Observation | Observation | EmCare.B14S2.DE03 | -| Ouputs | Observation | Observation | EmCare.B14S2.DE04 | -| Ouputs | Observation | Observation | EmCare.B14S2.DE05 | -| Ouputs | Observation | Observation | EmCare.B14S2.DE06&EmCare.B14S2.DE07 | -| Ouputs | Observation | Observation | EmCare.B14S2.DE06&EmCare.B14S2.DE08 | -| Ouputs | Observation | Observation | EmCare.B14S2.DE06&EmCare.B14S2.DE09 | -| Ouputs | Observation | Observation | EmCare.B14S2.DE10 | -| Ouputs | Observation | Observation | EmCare.B14S2.DE11 | -| Ouputs | Observation | Observation | EmCare.B14S2.DE12 | -| Ouputs | Observation | Observation | EmCare.B14S2.DE13&EmCare.B14S2.DE18 | -| Ouputs | Observation | Observation | EmCare.B14S2.DE13&EmCare.B14S2.DE19 | -| Ouputs | Observation | Observation | EmCare.B14S2.DE13&EmCare.B14S2.DE21 | -| Ouputs | Observation | Observation | EmCare.B14S2.DE13&EmCare.B14S2.DE22 | -| Ouputs | Observation | Observation | EmCare.B14S2.DE13&EmCare.B14S2.DE23 | -| Ouputs | Observation | Observation | EmCare.B14S2.DE13&EmCare.B14S2.DE25 | -| Ouputs | Observation | Observation | EmCare.B14S2.DE13&EmCare.B14S2.DE31 | -| Ouputs | Observation | Observation | EmCare.B14S2.DE13&EmCare.B14S2.DE32 | -| Ouputs | Observation | Observation | EmCare.B14S2.DE13&EmCare.B14S2.DE33 | -| Ouputs | Observation | Observation | EmCare.B14S2.DE13&EmCare.B14S2.DE35 | -| Ouputs | Observation | Observation | EmCare.B14S2.DE13&EmCare.B14S2.DE36 | -| Ouputs | Observation | Observation | EmCare.B14S2.DE13&EmCare.B14S2.DE37 | -| Ouputs | Observation | Observation | EmCare.B14S2.DE19a | -| Ouputs | Observation | Observation | EmCare.B14S2.DE22A | -| Ouputs | Observation | Observation | EmCare.B14S2.DE23a | -| Ouputs | Observation | Observation | EmCare.B14S2.DE24 | -| Ouputs | Observation | Observation | EmCare.B14S2.DE30 | -| Ouputs | Observation | Observation | EmCare.B14S2.DE30b | -| Ouputs | Observation | Observation | EmCare.B14S2.DE31a | -| Ouputs | Observation | Observation | EmCare.B14S2.DE31b | -| Ouputs | Observation | Observation | EmCare.B14S2.DE32a | -| Ouputs | Observation | Observation | EmCare.B14S2.DE34 | -| Ouputs | Observation | Observation | EmCare.B14S2.DE36a | -| Ouputs | Observation | Observation | EmCare.B14S2.DE36b | -| Ouputs | Observation | Observation | EmCare.B14S2.DE36c | -| Ouputs | Observation | Observation | EmCare.B14S2.DE38 | -| Ouputs | Observation | Observation | EmCare.B14S2.DE43&EmCare.B14S2.DE44 | -| Ouputs | Observation | Observation | EmCare.B14S2.DE43&EmCare.B14S2.DE45 | -| Ouputs | Observation | Observation | EmCare.B14S2.DE43&EmCare.B14S2.DE46 | -| Ouputs | Observation | Observation | EmCare.B14S2.DE43&EmCare.B14S2.DE47 | -| Ouputs | Observation | Observation | EmCare.B15S2.DE01 | -| Ouputs | Observation | Observation | EmCare.B15S2.DE09 | +| Ouputs | Observation | Observation | Ccc.B10S2.DE03 | +| Ouputs | Observation | Observation | Ccc.B10S2.DE04 | +| Ouputs | Observation | Observation | Ccc.B10S2.DE05 | +| Ouputs | Observation | Observation | Ccc.B10S2.DE06 | +| Ouputs | Observation | Observation | Ccc.B10S2.DE07 | +| Ouputs | Observation | Observation | Ccc.B11S2.DE01 | +| Ouputs | Observation | Observation | Ccc.B11S2.DE02 | +| Ouputs | Observation | Observation | Ccc.B11S2.DE06 | +| Ouputs | Observation | Observation | Ccc.B17S1.DE01 | +| Ouputs | Observation | Observation | Ccc.B17S1.DE02 | +| Ouputs | Observation | Observation | Ccc.B17S1.DE06 | +| Ouputs | Observation | Observation | Ccc.B17S1.DE07 | +| Ouputs | Observation | Observation | Ccc.B13S2.DE01 | +| Ouputs | Observation | Observation | Ccc.B13S2.DE02 | +| Ouputs | Observation | Observation | Ccc.B13S2.DE03 | +| Ouputs | Observation | Observation | Ccc.B12S2.DE01 | +| Ouputs | Observation | Observation | Ccc.B12S2.DE05 | +| Ouputs | Observation | Observation | Ccc.B14S2.DE01 | +| Ouputs | Observation | Observation | Ccc.B14S2.DE02 | +| Ouputs | Observation | Observation | Ccc.B14S2.DE03 | +| Ouputs | Observation | Observation | Ccc.B14S2.DE04 | +| Ouputs | Observation | Observation | Ccc.B14S2.DE05 | +| Ouputs | Observation | Observation | Ccc.B14S2.DE06&Ccc.B14S2.DE07 | +| Ouputs | Observation | Observation | Ccc.B14S2.DE06&Ccc.B14S2.DE08 | +| Ouputs | Observation | Observation | Ccc.B14S2.DE06&Ccc.B14S2.DE09 | +| Ouputs | Observation | Observation | Ccc.B14S2.DE10 | +| Ouputs | Observation | Observation | Ccc.B14S2.DE11 | +| Ouputs | Observation | Observation | Ccc.B14S2.DE12 | +| Ouputs | Observation | Observation | Ccc.B14S2.DE13&Ccc.B14S2.DE18 | +| Ouputs | Observation | Observation | Ccc.B14S2.DE13&Ccc.B14S2.DE19 | +| Ouputs | Observation | Observation | Ccc.B14S2.DE13&Ccc.B14S2.DE21 | +| Ouputs | Observation | Observation | Ccc.B14S2.DE13&Ccc.B14S2.DE22 | +| Ouputs | Observation | Observation | Ccc.B14S2.DE13&Ccc.B14S2.DE23 | +| Ouputs | Observation | Observation | Ccc.B14S2.DE13&Ccc.B14S2.DE25 | +| Ouputs | Observation | Observation | Ccc.B14S2.DE13&Ccc.B14S2.DE31 | +| Ouputs | Observation | Observation | Ccc.B14S2.DE13&Ccc.B14S2.DE32 | +| Ouputs | Observation | Observation | Ccc.B14S2.DE13&Ccc.B14S2.DE33 | +| Ouputs | Observation | Observation | Ccc.B14S2.DE13&Ccc.B14S2.DE35 | +| Ouputs | Observation | Observation | Ccc.B14S2.DE13&Ccc.B14S2.DE36 | +| Ouputs | Observation | Observation | Ccc.B14S2.DE13&Ccc.B14S2.DE37 | +| Ouputs | Observation | Observation | Ccc.B14S2.DE19a | +| Ouputs | Observation | Observation | Ccc.B14S2.DE22A | +| Ouputs | Observation | Observation | Ccc.B14S2.DE23a | +| Ouputs | Observation | Observation | Ccc.B14S2.DE24 | +| Ouputs | Observation | Observation | Ccc.B14S2.DE30 | +| Ouputs | Observation | Observation | Ccc.B14S2.DE30b | +| Ouputs | Observation | Observation | Ccc.B14S2.DE31a | +| Ouputs | Observation | Observation | Ccc.B14S2.DE31b | +| Ouputs | Observation | Observation | Ccc.B14S2.DE32a | +| Ouputs | Observation | Observation | Ccc.B14S2.DE34 | +| Ouputs | Observation | Observation | Ccc.B14S2.DE36a | +| Ouputs | Observation | Observation | Ccc.B14S2.DE36b | +| Ouputs | Observation | Observation | Ccc.B14S2.DE36c | +| Ouputs | Observation | Observation | Ccc.B14S2.DE38 | +| Ouputs | Observation | Observation | Ccc.B14S2.DE43&Ccc.B14S2.DE44 | +| Ouputs | Observation | Observation | Ccc.B14S2.DE43&Ccc.B14S2.DE45 | +| Ouputs | Observation | Observation | Ccc.B14S2.DE43&Ccc.B14S2.DE46 | +| Ouputs | Observation | Observation | Ccc.B14S2.DE43&Ccc.B14S2.DE47 | +| Ouputs | Observation | Observation | Ccc.B15S2.DE01 | +| Ouputs | Observation | Observation | Ccc.B15S2.DE09 | diff --git a/input/pagecontent/ActivityEmcare.b18-21.signs.2m.m.md b/input/pagecontent/ActivityEmcare.b18-21.signs.2m.m.md index a91c467e..62d6bf22 100644 --- a/input/pagecontent/ActivityEmcare.b18-21.signs.2m.m.md +++ b/input/pagecontent/ActivityEmcare.b18-21.signs.2m.m.md @@ -1,4 +1,4 @@ -### ActivityEmCare.B18-21.Signs.2m.m +### ActivityCcc.B18-21.Signs.2m.m @@ -7,29 +7,29 @@ ouputs generated by the structureMaps | type | code / path | valueType | Description | |---|---|---|---| -| Ouputs | Observation | Observation | EmCare.B18S2.DE07 | -| Ouputs | Observation | Observation | EmCare.B18S2.DE08 | -| Ouputs | Observation | Observation | EmCare.B18S2.DE12 | -| Ouputs | Observation | Observation | EmCare.B18S2.DE13 | -| Ouputs | Observation | Observation | EmCare.B19S2.DE01 | -| Ouputs | Observation | Observation | EmCare.B19S2.DE02 | -| Ouputs | Observation | Observation | EmCare.B19S2.DE04 | -| Ouputs | Observation | Observation | EmCare.B11S2.DE01 | -| Ouputs | Observation | Observation | EmCare.B11S2.DE02 | -| Ouputs | Observation | Observation | EmCare.B11S2.DE06 | -| Ouputs | Observation | Observation | EmCare.B21S2.DE01 | -| Ouputs | Observation | Observation | EmCare.B21S2.DE05 | -| Ouputs | Observation | Observation | EmCare.B21S2.DE06 | -| Ouputs | Observation | Observation | EmCare.B21S2.DE08 | -| Ouputs | Observation | Observation | EmCare.B21S2.DE09&EmCare.B21S2.DE11 | -| Ouputs | Observation | Observation | EmCare.B21S2.DE09&EmCare.B21S2.DE10 | -| Ouputs | Observation | Observation | EmCare.B21S2.DE12 | -| Ouputs | Observation | Observation | EmCare.B21S2.DE13 | -| Ouputs | Observation | Observation | EmCare.B21S2.DE15 | -| Ouputs | Observation | Observation | EmCare.B21S2.DE16 | -| Ouputs | Observation | Observation | EmCare.B21S2.DE18 | -| Ouputs | Observation | Observation | EmCare.B21S2.DE21 | -| Ouputs | Observation | Observation | EmCare.B21S2.DE24 | -| Ouputs | Observation | Observation | EmCare.B21S2.DE27 | -| Ouputs | Observation | Observation | EmCare.B21S2.DE30 | -| Ouputs | Observation | Observation | EmCare.B21S2.DE31 | +| Ouputs | Observation | Observation | Ccc.B18S2.DE07 | +| Ouputs | Observation | Observation | Ccc.B18S2.DE08 | +| Ouputs | Observation | Observation | Ccc.B18S2.DE12 | +| Ouputs | Observation | Observation | Ccc.B18S2.DE13 | +| Ouputs | Observation | Observation | Ccc.B19S2.DE01 | +| Ouputs | Observation | Observation | Ccc.B19S2.DE02 | +| Ouputs | Observation | Observation | Ccc.B19S2.DE04 | +| Ouputs | Observation | Observation | Ccc.B11S2.DE01 | +| Ouputs | Observation | Observation | Ccc.B11S2.DE02 | +| Ouputs | Observation | Observation | Ccc.B11S2.DE06 | +| Ouputs | Observation | Observation | Ccc.B21S2.DE01 | +| Ouputs | Observation | Observation | Ccc.B21S2.DE05 | +| Ouputs | Observation | Observation | Ccc.B21S2.DE06 | +| Ouputs | Observation | Observation | Ccc.B21S2.DE08 | +| Ouputs | Observation | Observation | Ccc.B21S2.DE09&Ccc.B21S2.DE11 | +| Ouputs | Observation | Observation | Ccc.B21S2.DE09&Ccc.B21S2.DE10 | +| Ouputs | Observation | Observation | Ccc.B21S2.DE12 | +| Ouputs | Observation | Observation | Ccc.B21S2.DE13 | +| Ouputs | Observation | Observation | Ccc.B21S2.DE15 | +| Ouputs | Observation | Observation | Ccc.B21S2.DE16 | +| Ouputs | Observation | Observation | Ccc.B21S2.DE18 | +| Ouputs | Observation | Observation | Ccc.B21S2.DE21 | +| Ouputs | Observation | Observation | Ccc.B21S2.DE24 | +| Ouputs | Observation | Observation | Ccc.B21S2.DE27 | +| Ouputs | Observation | Observation | Ccc.B21S2.DE30 | +| Ouputs | Observation | Observation | Ccc.B21S2.DE31 | diff --git a/input/pagecontent/ActivityEmcare.b18-21.symptoms.2m.m.md b/input/pagecontent/ActivityEmcare.b18-21.symptoms.2m.m.md index 21864f3f..60884815 100644 --- a/input/pagecontent/ActivityEmcare.b18-21.symptoms.2m.m.md +++ b/input/pagecontent/ActivityEmcare.b18-21.symptoms.2m.m.md @@ -1,4 +1,4 @@ -### ActivityEmCare.B18-21.Symptoms.2m.m +### ActivityCcc.B18-21.Symptoms.2m.m @@ -7,7 +7,7 @@ ouputs generated by the structureMaps | type | code / path | valueType | Description | |---|---|---|---| -| Ouputs | Observation | Observation | EmCare.B7.DE03 | -| Ouputs | Observation | Observation | EmCare.B18S1.DE02 | -| Ouputs | Observation | Observation | EmCare.B11S1.DE01 | -| Ouputs | Observation | Observation | EmCare.B21S1.DE06 | +| Ouputs | Observation | Observation | Ccc.B7.DE03 | +| Ouputs | Observation | Observation | Ccc.B18S1.DE02 | +| Ouputs | Observation | Observation | Ccc.B11S1.DE01 | +| Ouputs | Observation | Observation | Ccc.B21S1.DE06 | diff --git a/input/pagecontent/ActivityEmcare.b22.assessmentstests.md b/input/pagecontent/ActivityEmcare.b22.assessmentstests.md index 8fdc9cd0..fba942e6 100644 --- a/input/pagecontent/ActivityEmcare.b22.assessmentstests.md +++ b/input/pagecontent/ActivityEmcare.b22.assessmentstests.md @@ -1,2 +1,2 @@ -### ActivityEmCare.B22.AssessmentsTests +### ActivityCcc.B22.AssessmentsTests diff --git a/input/pagecontent/ActivityEmcare.b22.breastfeeding.md b/input/pagecontent/ActivityEmcare.b22.breastfeeding.md index a01dea23..62a58088 100644 --- a/input/pagecontent/ActivityEmcare.b22.breastfeeding.md +++ b/input/pagecontent/ActivityEmcare.b22.breastfeeding.md @@ -1,4 +1,4 @@ -### ActivityEmCare.B22.BreastFeeding +### ActivityCcc.B22.BreastFeeding @@ -7,15 +7,15 @@ ouputs generated by the structureMaps | type | code / path | valueType | Description | |---|---|---|---| -| Ouputs | Observation | Observation | EmCare.B22.DE41 | -| Ouputs | Observation | Observation | EmCare.B22.DE28 | -| Ouputs | Observation | Observation | EmCare.B22.DE29 | -| Ouputs | Observation | Observation | EmCare.B22.DE30 | -| Ouputs | Observation | Observation | EmCare.B22.DE31 | -| Ouputs | Observation | Observation | EmCare.B22.DE32 | -| Ouputs | Observation | Observation | EmCare.B22.DE33 | -| Ouputs | Observation | Observation | EmCare.B22.DE34 | -| Ouputs | Observation | Observation | EmCare.B22.DE35 | -| Ouputs | Observation | Observation | EmCare.B22.DE36 | -| Ouputs | Observation | Observation | EmCare.B22.DE42 | -| Ouputs | Observation | Observation | EmCare.B22.DE44 | +| Ouputs | Observation | Observation | Ccc.B22.DE41 | +| Ouputs | Observation | Observation | Ccc.B22.DE28 | +| Ouputs | Observation | Observation | Ccc.B22.DE29 | +| Ouputs | Observation | Observation | Ccc.B22.DE30 | +| Ouputs | Observation | Observation | Ccc.B22.DE31 | +| Ouputs | Observation | Observation | Ccc.B22.DE32 | +| Ouputs | Observation | Observation | Ccc.B22.DE33 | +| Ouputs | Observation | Observation | Ccc.B22.DE34 | +| Ouputs | Observation | Observation | Ccc.B22.DE35 | +| Ouputs | Observation | Observation | Ccc.B22.DE36 | +| Ouputs | Observation | Observation | Ccc.B22.DE42 | +| Ouputs | Observation | Observation | Ccc.B22.DE44 | diff --git a/input/pagecontent/ActivityEmcare.b22.bronchodilatortest.md b/input/pagecontent/ActivityEmcare.b22.bronchodilatortest.md index 2eed6f4d..91abd841 100644 --- a/input/pagecontent/ActivityEmcare.b22.bronchodilatortest.md +++ b/input/pagecontent/ActivityEmcare.b22.bronchodilatortest.md @@ -1,4 +1,4 @@ -### ActivityEmCare.B22.BronchodilatorTest +### ActivityCcc.B22.BronchodilatorTest @@ -7,10 +7,10 @@ ouputs generated by the structureMaps | type | code / path | valueType | Description | |---|---|---|---| -| Ouputs | Observation | Observation | EmCare.B22.DE17&EmCare.B22.DE18 | -| Ouputs | Observation | Observation | EmCare.B22.DE17&EmCare.B22.DE19 | -| Ouputs | Observation | Observation | EmCare.B22.DE17&EmCare.B22.DE20 | -| Ouputs | Observation | Observation | EmCare.B22.DE17&EmCare.B22.DE21 | -| Ouputs | Observation | Observation | EmCare.B22.DE17&EmCare.B22.DE22 | -| Ouputs | Observation | Observation | EmCare.B22.DE22 | -| Ouputs | Observation | Observation | EmCare.B22.DE21 | +| Ouputs | Observation | Observation | Ccc.B22.DE17&Ccc.B22.DE18 | +| Ouputs | Observation | Observation | Ccc.B22.DE17&Ccc.B22.DE19 | +| Ouputs | Observation | Observation | Ccc.B22.DE17&Ccc.B22.DE20 | +| Ouputs | Observation | Observation | Ccc.B22.DE17&Ccc.B22.DE21 | +| Ouputs | Observation | Observation | Ccc.B22.DE17&Ccc.B22.DE22 | +| Ouputs | Observation | Observation | Ccc.B22.DE22 | +| Ouputs | Observation | Observation | Ccc.B22.DE21 | diff --git a/input/pagecontent/ActivityEmcare.b22.fluidtest.md b/input/pagecontent/ActivityEmcare.b22.fluidtest.md index 6ec02e6d..3c4f93a1 100644 --- a/input/pagecontent/ActivityEmcare.b22.fluidtest.md +++ b/input/pagecontent/ActivityEmcare.b22.fluidtest.md @@ -1,4 +1,4 @@ -### ActivityEmCare.B22.FluidTest +### ActivityCcc.B22.FluidTest @@ -7,8 +7,8 @@ ouputs generated by the structureMaps | type | code / path | valueType | Description | |---|---|---|---| -| Ouputs | Observation | Observation | EmCare.B22.DE08 | -| Ouputs | Observation | Observation | EmCare.B22.DE14 | -| Ouputs | Observation | Observation | EmCare.B22.DE14a | -| Ouputs | Observation | Observation | EmCare.B22.DE15 | -| Ouputs | Observation | Observation | EmCare.B22.DE16 | +| Ouputs | Observation | Observation | Ccc.B22.DE08 | +| Ouputs | Observation | Observation | Ccc.B22.DE14 | +| Ouputs | Observation | Observation | Ccc.B22.DE14a | +| Ouputs | Observation | Observation | Ccc.B22.DE15 | +| Ouputs | Observation | Observation | Ccc.B22.DE16 | diff --git a/input/pagecontent/ActivityEmcare.b22.hemoglobin.md b/input/pagecontent/ActivityEmcare.b22.hemoglobin.md index a00a554c..a6a17046 100644 --- a/input/pagecontent/ActivityEmcare.b22.hemoglobin.md +++ b/input/pagecontent/ActivityEmcare.b22.hemoglobin.md @@ -1,4 +1,4 @@ -### ActivityEmCare.B22.Hemoglobin +### ActivityCcc.B22.Hemoglobin @@ -7,5 +7,5 @@ ouputs generated by the structureMaps | type | code / path | valueType | Description | |---|---|---|---| -| Ouputs | Observation | Observation | EmCare.B22.DE81 | -| Ouputs | Observation | Observation | EmCare.B22.DE82 | +| Ouputs | Observation | Observation | Ccc.B22.DE81 | +| Ouputs | Observation | Observation | Ccc.B22.DE82 | diff --git a/input/pagecontent/ActivityEmcare.b22.respiratoryrate.md b/input/pagecontent/ActivityEmcare.b22.respiratoryrate.md index b9357de8..4f7a73e5 100644 --- a/input/pagecontent/ActivityEmcare.b22.respiratoryrate.md +++ b/input/pagecontent/ActivityEmcare.b22.respiratoryrate.md @@ -1,4 +1,4 @@ -### ActivityEmCare.B22.RespiratoryRate +### ActivityCcc.B22.RespiratoryRate @@ -7,8 +7,8 @@ ouputs generated by the structureMaps | type | code / path | valueType | Description | |---|---|---|---| -| Ouputs | Observation | Observation | EmCare.B22.DE01 | -| Ouputs | Observation | Observation | EmCare.B22.DE02 | -| Ouputs | Observation | Observation | EmCare.B22.DE04 | -| Ouputs | Observation | Observation | EmCare.B22.DE05 | -| Ouputs | Observation | Observation | EmCare.B22.DE07 | +| Ouputs | Observation | Observation | Ccc.B22.DE01 | +| Ouputs | Observation | Observation | Ccc.B22.DE02 | +| Ouputs | Observation | Observation | Ccc.B22.DE04 | +| Ouputs | Observation | Observation | Ccc.B22.DE05 | +| Ouputs | Observation | Observation | Ccc.B22.DE07 | diff --git a/input/pagecontent/ActivityEmcare.b22.secondtemperature.md b/input/pagecontent/ActivityEmcare.b22.secondtemperature.md index f3f4f6aa..14266485 100644 --- a/input/pagecontent/ActivityEmcare.b22.secondtemperature.md +++ b/input/pagecontent/ActivityEmcare.b22.secondtemperature.md @@ -1,4 +1,4 @@ -### ActivityEmCare.B22.SecondTemperature +### ActivityCcc.B22.SecondTemperature @@ -7,6 +7,6 @@ ouputs generated by the structureMaps | type | code / path | valueType | Description | |---|---|---|---| -| Ouputs | Observation | Observation | EmCare.B22.DE47 | -| Ouputs | Observation | Observation | EmCare.B22.DE46 | -| Ouputs | Observation | Observation | EmCare.B22.DE50 | +| Ouputs | Observation | Observation | Ccc.B22.DE47 | +| Ouputs | Observation | Observation | Ccc.B22.DE46 | +| Ouputs | Observation | Observation | Ccc.B22.DE50 | diff --git a/input/pagecontent/ActivityEmcare.b23.classification.m.md b/input/pagecontent/ActivityEmcare.b23.classification.m.md index bae9e046..f51cd081 100644 --- a/input/pagecontent/ActivityEmcare.b23.classification.m.md +++ b/input/pagecontent/ActivityEmcare.b23.classification.m.md @@ -1,4 +1,4 @@ -### ActivityEmCare.B23.Classification.m +### ActivityCcc.B23.Classification.m @@ -7,16 +7,16 @@ ouputs generated by the structureMaps | type | code / path | valueType | Description | |---|---|---|---| -| Ouputs | Condition | Condition | EmCare.B23.DE83 | -| Ouputs | Condition | Condition | EmCare.B23.DE06 | -| Ouputs | Condition | Condition | EmCare.B23.DE85 | -| Ouputs | Condition | Condition | EmCare.B23.DE86 | -| Ouputs | Condition | Condition | EmCare.B23.DE106 | -| Ouputs | Condition | Condition | EmCare.B23.DE87 | -| Ouputs | Condition | Condition | EmCare.B23.DE88 | -| Ouputs | Condition | Condition | EmCare.B23.DE89 | -| Ouputs | Condition | Condition | EmCare.B23.DE13 | -| Ouputs | Condition | Condition | EmCare.B23.DE14 | -| Ouputs | Condition | Condition | EmCare.B23.DE15 | -| Ouputs | Condition | Condition | EmCare.B23.DE94 | -| Ouputs | Condition | Condition | EmCare.B23.DE98 | +| Ouputs | Condition | Condition | Ccc.B23.DE83 | +| Ouputs | Condition | Condition | Ccc.B23.DE06 | +| Ouputs | Condition | Condition | Ccc.B23.DE85 | +| Ouputs | Condition | Condition | Ccc.B23.DE86 | +| Ouputs | Condition | Condition | Ccc.B23.DE106 | +| Ouputs | Condition | Condition | Ccc.B23.DE87 | +| Ouputs | Condition | Condition | Ccc.B23.DE88 | +| Ouputs | Condition | Condition | Ccc.B23.DE89 | +| Ouputs | Condition | Condition | Ccc.B23.DE13 | +| Ouputs | Condition | Condition | Ccc.B23.DE14 | +| Ouputs | Condition | Condition | Ccc.B23.DE15 | +| Ouputs | Condition | Condition | Ccc.B23.DE94 | +| Ouputs | Condition | Condition | Ccc.B23.DE98 | diff --git a/input/pagecontent/ActivityEmcare.b23.classification.md b/input/pagecontent/ActivityEmcare.b23.classification.md index b6ad72de..51025a3f 100644 --- a/input/pagecontent/ActivityEmcare.b23.classification.md +++ b/input/pagecontent/ActivityEmcare.b23.classification.md @@ -1,4 +1,4 @@ -### ActivityEmCare.B23.Classification +### ActivityCcc.B23.Classification @@ -7,51 +7,51 @@ ouputs generated by the structureMaps | type | code / path | valueType | Description | |---|---|---|---| -| Ouputs | Observation | Observation | EmCare.B6.DE08 | -| Ouputs | Condition | Condition | EmCare.B23.DE01 | -| Ouputs | Condition | Condition | EmCare.B23.DE03 | -| Ouputs | Condition | Condition | EmCare.B23.DE06 | -| Ouputs | Condition | Condition | EmCare.B23.DE10 | -| Ouputs | Condition | Condition | EmCare.B23.DE13 | -| Ouputs | Condition | Condition | EmCare.B23.DE14 | -| Ouputs | Condition | Condition | EmCare.B23.DE15 | -| Ouputs | Condition | Condition | EmCare.B23.DE16 | -| Ouputs | Condition | Condition | EmCare.B23.DE17 | -| Ouputs | Condition | Condition | EmCare.B23.DE18 | -| Ouputs | Condition | Condition | EmCare.B23.DE18.a | -| Ouputs | Condition | Condition | EmCare.B23.DE100 | -| Ouputs | Condition | Condition | EmCare.B23.DE6101 | -| Ouputs | Condition | Condition | EmCare.B23.DE6102 | -| Ouputs | Condition | Condition | EmCare.B23.DE6103 | -| Ouputs | Condition | Condition | EmCare.B23.DE30 | -| Ouputs | Condition | Condition | EmCare.B23.DE31 | -| Ouputs | Condition | Condition | EmCare.B23.DE32 | -| Ouputs | Condition | Condition | EmCare.B23.DE33 | -| Ouputs | Condition | Condition | EmCare.B23.DE19 | -| Ouputs | Condition | Condition | EmCare.B23.DE104 | -| Ouputs | Condition | Condition | EmCare.B23.DE105 | -| Ouputs | Condition | Condition | EmCare.B23.DE27 | -| Ouputs | Condition | Condition | EmCare.B23.DE28 | -| Ouputs | Condition | Condition | EmCare.B23.DE29 | -| Ouputs | Condition | Condition | EmCare.B23.DE62 | -| Ouputs | Condition | Condition | EmCare.B23.DE63 | -| Ouputs | Condition | Condition | EmCare.B23.DE64 | -| Ouputs | Condition | Condition | EmCare.B23.DE34 | -| Ouputs | Condition | Condition | EmCare.B23.DE35 | -| Ouputs | Condition | Condition | EmCare.B23.DE41 | -| Ouputs | Condition | Condition | EmCare.B23.DE42 | -| Ouputs | Condition | Condition | EmCare.B23.DE44 | -| Ouputs | Condition | Condition | EmCare.B23.DE45 | -| Ouputs | Condition | Condition | EmCare.B23.DE47 | -| Ouputs | Condition | Condition | EmCare.B23.DE49 | -| Ouputs | Condition | Condition | EmCare.B23.DE52 | -| Ouputs | Condition | Condition | EmCare.B23.DE53 | -| Ouputs | Condition | Condition | EmCare.B23.DE54 | -| Ouputs | Condition | Condition | EmCare.B23.DE56 | -| Ouputs | Condition | Condition | EmCare.B23.DE57 | -| Ouputs | Condition | Condition | EmCare.B23.DE58 | -| Ouputs | Condition | Condition | EmCare.B23.DE59 | -| Ouputs | Condition | Condition | EmCare.B23.DE61 | -| Ouputs | Condition | Condition | EmCare.B23.DE106 | -| Ouputs | Condition | Condition | EmCare.B23.DE107 | -| Ouputs | Condition | Condition | EmCare.B23.DE108 | +| Ouputs | Observation | Observation | Ccc.B6.DE08 | +| Ouputs | Condition | Condition | Ccc.B23.DE01 | +| Ouputs | Condition | Condition | Ccc.B23.DE03 | +| Ouputs | Condition | Condition | Ccc.B23.DE06 | +| Ouputs | Condition | Condition | Ccc.B23.DE10 | +| Ouputs | Condition | Condition | Ccc.B23.DE13 | +| Ouputs | Condition | Condition | Ccc.B23.DE14 | +| Ouputs | Condition | Condition | Ccc.B23.DE15 | +| Ouputs | Condition | Condition | Ccc.B23.DE16 | +| Ouputs | Condition | Condition | Ccc.B23.DE17 | +| Ouputs | Condition | Condition | Ccc.B23.DE18 | +| Ouputs | Condition | Condition | Ccc.B23.DE18.a | +| Ouputs | Condition | Condition | Ccc.B23.DE100 | +| Ouputs | Condition | Condition | Ccc.B23.DE6101 | +| Ouputs | Condition | Condition | Ccc.B23.DE6102 | +| Ouputs | Condition | Condition | Ccc.B23.DE6103 | +| Ouputs | Condition | Condition | Ccc.B23.DE30 | +| Ouputs | Condition | Condition | Ccc.B23.DE31 | +| Ouputs | Condition | Condition | Ccc.B23.DE32 | +| Ouputs | Condition | Condition | Ccc.B23.DE33 | +| Ouputs | Condition | Condition | Ccc.B23.DE19 | +| Ouputs | Condition | Condition | Ccc.B23.DE104 | +| Ouputs | Condition | Condition | Ccc.B23.DE105 | +| Ouputs | Condition | Condition | Ccc.B23.DE27 | +| Ouputs | Condition | Condition | Ccc.B23.DE28 | +| Ouputs | Condition | Condition | Ccc.B23.DE29 | +| Ouputs | Condition | Condition | Ccc.B23.DE62 | +| Ouputs | Condition | Condition | Ccc.B23.DE63 | +| Ouputs | Condition | Condition | Ccc.B23.DE64 | +| Ouputs | Condition | Condition | Ccc.B23.DE34 | +| Ouputs | Condition | Condition | Ccc.B23.DE35 | +| Ouputs | Condition | Condition | Ccc.B23.DE41 | +| Ouputs | Condition | Condition | Ccc.B23.DE42 | +| Ouputs | Condition | Condition | Ccc.B23.DE44 | +| Ouputs | Condition | Condition | Ccc.B23.DE45 | +| Ouputs | Condition | Condition | Ccc.B23.DE47 | +| Ouputs | Condition | Condition | Ccc.B23.DE49 | +| Ouputs | Condition | Condition | Ccc.B23.DE52 | +| Ouputs | Condition | Condition | Ccc.B23.DE53 | +| Ouputs | Condition | Condition | Ccc.B23.DE54 | +| Ouputs | Condition | Condition | Ccc.B23.DE56 | +| Ouputs | Condition | Condition | Ccc.B23.DE57 | +| Ouputs | Condition | Condition | Ccc.B23.DE58 | +| Ouputs | Condition | Condition | Ccc.B23.DE59 | +| Ouputs | Condition | Condition | Ccc.B23.DE61 | +| Ouputs | Condition | Condition | Ccc.B23.DE106 | +| Ouputs | Condition | Condition | Ccc.B23.DE107 | +| Ouputs | Condition | Condition | Ccc.B23.DE108 | diff --git a/input/pagecontent/ActivityEmcare.b6.measurements.md b/input/pagecontent/ActivityEmcare.b6.measurements.md index 5e6c926f..505b9940 100644 --- a/input/pagecontent/ActivityEmcare.b6.measurements.md +++ b/input/pagecontent/ActivityEmcare.b6.measurements.md @@ -1,4 +1,4 @@ -### ActivityEmCare.B6.Measurements +### ActivityCcc.B6.Measurements @@ -7,16 +7,16 @@ ouputs generated by the structureMaps | type | code / path | valueType | Description | |---|---|---|---| -| Ouputs | Observation | Observation | EmCare.B6.DE01 | -| Ouputs | Observation | Observation | EmCare.B6.DE04 | -| Ouputs | Observation | Observation | EmCare.B6.DE05 | -| Ouputs | Observation | Observation | EmCare.B6.DE01A | -| Ouputs | Observation | Observation | EmCare.B6.DE06 | -| Ouputs | Observation | Observation | EmCare.B6.DE08 | -| Ouputs | Observation | Observation | EmCare.B6.DE09 | -| Ouputs | Observation | Observation | EmCare.B6.DE11 | -| Ouputs | Observation | Observation | EmCare.B6.DE12 | -| Ouputs | Observation | Observation | EmCare.B6.DE16 | -| Ouputs | Observation | Observation | EmCare.B6.DE17 | -| Ouputs | Observation | Observation | EmCare.B6.DE17a | -| Ouputs | Observation | Observation | EmCare.B6.DE18 | +| Ouputs | Observation | Observation | Ccc.B6.DE01 | +| Ouputs | Observation | Observation | Ccc.B6.DE04 | +| Ouputs | Observation | Observation | Ccc.B6.DE05 | +| Ouputs | Observation | Observation | Ccc.B6.DE01A | +| Ouputs | Observation | Observation | Ccc.B6.DE06 | +| Ouputs | Observation | Observation | Ccc.B6.DE08 | +| Ouputs | Observation | Observation | Ccc.B6.DE09 | +| Ouputs | Observation | Observation | Ccc.B6.DE11 | +| Ouputs | Observation | Observation | Ccc.B6.DE12 | +| Ouputs | Observation | Observation | Ccc.B6.DE16 | +| Ouputs | Observation | Observation | Ccc.B6.DE17 | +| Ouputs | Observation | Observation | Ccc.B6.DE17a | +| Ouputs | Observation | Observation | Ccc.B6.DE18 | diff --git a/input/pagecontent/ActivityEmcare.b7.lti-dangersigns.md b/input/pagecontent/ActivityEmcare.b7.lti-dangersigns.md index 98f93ee5..14bf69f2 100644 --- a/input/pagecontent/ActivityEmcare.b7.lti-dangersigns.md +++ b/input/pagecontent/ActivityEmcare.b7.lti-dangersigns.md @@ -1,4 +1,4 @@ -### ActivityEmCare.B7.LTI-DangerSigns +### ActivityCcc.B7.LTI-DangerSigns @@ -7,11 +7,11 @@ ouputs generated by the structureMaps | type | code / path | valueType | Description | |---|---|---|---| -| Ouputs | Observation | Observation | EmCare.B7.DE02 | -| Ouputs | Observation | Observation | EmCare.B7-B8-B9.DE01 | -| Ouputs | Observation | Observation | EmCare.B7.DE03 | -| Ouputs | Observation | Observation | EmCare.B7.DE08b | -| Ouputs | Observation | Observation | EmCare.B7.DE08 | -| Ouputs | Observation | Observation | EmCare.B7.DE08a | -| Ouputs | Observation | Observation | EmCare.B7.DE09 | -| Ouputs | Observation | Observation | EmCare.B7.DE10 | +| Ouputs | Observation | Observation | Ccc.B7.DE02 | +| Ouputs | Observation | Observation | Ccc.B7-B8-B9.DE01 | +| Ouputs | Observation | Observation | Ccc.B7.DE03 | +| Ouputs | Observation | Observation | Ccc.B7.DE08b | +| Ouputs | Observation | Observation | Ccc.B7.DE08 | +| Ouputs | Observation | Observation | Ccc.B7.DE08a | +| Ouputs | Observation | Observation | Ccc.B7.DE09 | +| Ouputs | Observation | Observation | Ccc.B7.DE10 | diff --git a/input/pagecontent/ActivityEmcare.treatment.md b/input/pagecontent/ActivityEmcare.treatment.md index c9ac0286..baefad7c 100644 --- a/input/pagecontent/ActivityEmcare.treatment.md +++ b/input/pagecontent/ActivityEmcare.treatment.md @@ -1,2 +1,2 @@ -### ActivityEmCare.Treatment +### ActivityCcc.Treatment diff --git a/input/pagecontent/ActivityEmcarea.registration.p.md b/input/pagecontent/ActivityEmcarea.registration.p.md index 63b3e9e5..50b907d7 100644 --- a/input/pagecontent/ActivityEmcarea.registration.p.md +++ b/input/pagecontent/ActivityEmcarea.registration.p.md @@ -1,4 +1,4 @@ -### ActivityEmCareA.Registration.P +### ActivityCccA.Registration.P @@ -9,4 +9,4 @@ ouputs generated by the structureMaps |---|---|---|---| | Ouputs | Patient | Patient | name | | Ouputs | RelatedPerson | RelatedPerson | name | -| Ouputs | CommunicationRequest | CommunicationRequest | EmCare.A.DE38 | +| Ouputs | CommunicationRequest | CommunicationRequest | Ccc.A.DE38 | diff --git a/input/pagecontent/ActivityEmcareb.registration.e.md b/input/pagecontent/ActivityEmcareb.registration.e.md index 91b531f2..1a4eb3ab 100644 --- a/input/pagecontent/ActivityEmcareb.registration.e.md +++ b/input/pagecontent/ActivityEmcareb.registration.e.md @@ -1,4 +1,4 @@ -### ActivityEmCareB.Registration.E +### ActivityCccB.Registration.E @@ -7,4 +7,4 @@ ouputs generated by the structureMaps | type | code / path | valueType | Description | |---|---|---|---| -| Ouputs | Observation | Observation | EmCare.B3.DE05 | +| Ouputs | Observation | Observation | Ccc.B3.DE05 | diff --git a/input/pagecontent/ActivityEmcareb1016signs2mp.md b/input/pagecontent/ActivityEmcareb1016signs2mp.md index f9c15a9a..d06f6d07 100644 --- a/input/pagecontent/ActivityEmcareb1016signs2mp.md +++ b/input/pagecontent/ActivityEmcareb1016signs2mp.md @@ -3,18 +3,18 @@ required for the execution | type | code / path | valueType | Description | |---|---|---|---| -| Inputs | Observation | Observation | EmCare.B10S1.DE05 | -| Inputs | Observation | Observation | EmCare.B10S1.DE01 | -| Inputs | Observation | Observation | EmCare.B22.DE14 | -| Inputs | Observation | Observation | EmCare.B22.DE08&EmCare.B22.DE14a | -| Inputs | Observation | Observation | EmCare.B11S1.DE01 | -| Inputs | Observation | Observation | EmCare.B7.DE09 | -| Inputs | Observation | Observation | EmCare.B13S1.DE01 | -| Inputs | Observation | Observation | EmCare.B14S1.DE03 | -| Inputs | Observation | Observation | EmCare.B14S1.DE01 | -| Inputs | Observation | Observation | EmCare.B13S1.DE03 | -| Inputs | Observation | Observation | EmCare.B13S1.DE04 | -| Inputs | Observation | Observation | EmCare.B14S1.DE02 | -| Inputs | Observation | Observation | EmCare.B22.DE01 | -| Inputs | Observation | Observation | EmCare.B22.DE04 | -| Inputs | Observation | Observation | EmCare.B22.DE07 | +| Inputs | Observation | Observation | Ccc.B10S1.DE05 | +| Inputs | Observation | Observation | Ccc.B10S1.DE01 | +| Inputs | Observation | Observation | Ccc.B22.DE14 | +| Inputs | Observation | Observation | Ccc.B22.DE08&Ccc.B22.DE14a | +| Inputs | Observation | Observation | Ccc.B11S1.DE01 | +| Inputs | Observation | Observation | Ccc.B7.DE09 | +| Inputs | Observation | Observation | Ccc.B13S1.DE01 | +| Inputs | Observation | Observation | Ccc.B14S1.DE03 | +| Inputs | Observation | Observation | Ccc.B14S1.DE01 | +| Inputs | Observation | Observation | Ccc.B13S1.DE03 | +| Inputs | Observation | Observation | Ccc.B13S1.DE04 | +| Inputs | Observation | Observation | Ccc.B14S1.DE02 | +| Inputs | Observation | Observation | Ccc.B22.DE01 | +| Inputs | Observation | Observation | Ccc.B22.DE04 | +| Inputs | Observation | Observation | Ccc.B22.DE07 | diff --git a/input/pagecontent/ActivityEmcareb1821signs2mm.md b/input/pagecontent/ActivityEmcareb1821signs2mm.md index f11e0343..a4a1bb3c 100644 --- a/input/pagecontent/ActivityEmcareb1821signs2mm.md +++ b/input/pagecontent/ActivityEmcareb1821signs2mm.md @@ -3,10 +3,10 @@ required for the execution | type | code / path | valueType | Description | |---|---|---|---| -| Inputs | Observation | Observation | EmCare.B11S1.DE01 | -| Inputs | Observation | Observation | EmCare.B21S1.DE06 | -| Inputs | Observation | Observation | EmCare.B18S1.DE02 | -| Inputs | Observation | Observation | EmCare.B7.DE03 | -| Inputs | Observation | Observation | EmCare.B22.DE01 | -| Inputs | Observation | Observation | EmCare.B22.DE04 | -| Inputs | Observation | Observation | EmCare.B22.DE07 | +| Inputs | Observation | Observation | Ccc.B11S1.DE01 | +| Inputs | Observation | Observation | Ccc.B21S1.DE06 | +| Inputs | Observation | Observation | Ccc.B18S1.DE02 | +| Inputs | Observation | Observation | Ccc.B7.DE03 | +| Inputs | Observation | Observation | Ccc.B22.DE01 | +| Inputs | Observation | Observation | Ccc.B22.DE04 | +| Inputs | Observation | Observation | Ccc.B22.DE07 | diff --git a/input/pagecontent/ActivityEmcareb1821symptoms2mm.md b/input/pagecontent/ActivityEmcareb1821symptoms2mm.md index 4f4ffcac..32d19756 100644 --- a/input/pagecontent/ActivityEmcareb1821symptoms2mm.md +++ b/input/pagecontent/ActivityEmcareb1821symptoms2mm.md @@ -3,4 +3,4 @@ required for the execution | type | code / path | valueType | Description | |---|---|---|---| -| Inputs | Observation | Observation | EmCare.B7.DE02 | +| Inputs | Observation | Observation | Ccc.B7.DE02 | diff --git a/input/pagecontent/ActivityEmcareb22assessmentstests.md b/input/pagecontent/ActivityEmcareb22assessmentstests.md index 27e80e06..9776420e 100644 --- a/input/pagecontent/ActivityEmcareb22assessmentstests.md +++ b/input/pagecontent/ActivityEmcareb22assessmentstests.md @@ -3,24 +3,24 @@ required for the execution | type | code / path | valueType | Description | |---|---|---|---| -| Inputs | Observation | Observation | EmCare.B10S1.DE05 | -| Inputs | Observation | Observation | EmCare.B10S1.DE01 | -| Inputs | Observation | Observation | EmCare.B22.DE07 | -| Inputs | Observation | Observation | EmCare.B10S2.DE05 | -| Inputs | Observation | Observation | EmCare.B10S2.DE03 | -| Inputs | Observation | Observation | EmCare.B10S2.DE04 | -| Inputs | Observation | Observation | EmCare.B10S2.DE07 | -| Inputs | Observation | Observation | EmCare.B15S2.DE01 | -| Inputs | Observation | Observation | EmCare.B15S2.DE09 | -| Inputs | Observation | Observation | EmCare.B15S2.DE03 | -| Inputs | Observation | Observation | EmCare.B15S2.DE02 | -| Inputs | Observation | Observation | EmCare.B15S2.DE11 | -| Inputs | Observation | Observation | EmCare.B15S2.DE10 | -| Inputs | Observation | Observation | EmCare.B6.DE01 | -| Inputs | Observation | Observation | EmCare.B11S1.DE01 | -| Inputs | Observation | Observation | EmCare.B22.DE08 | -| Inputs | Observation | Observation | EmCare.B22.DE01 | -| Inputs | Observation | Observation | EmCare.B22.DE04 | -| Inputs | Observation | Observation | EmCare.B22.DE14 | -| Inputs | Observation | Observation | EmCare.B7.DE09 | -| Inputs | Observation | Observation | EmCare.B7.DE10 | +| Inputs | Observation | Observation | Ccc.B10S1.DE05 | +| Inputs | Observation | Observation | Ccc.B10S1.DE01 | +| Inputs | Observation | Observation | Ccc.B22.DE07 | +| Inputs | Observation | Observation | Ccc.B10S2.DE05 | +| Inputs | Observation | Observation | Ccc.B10S2.DE03 | +| Inputs | Observation | Observation | Ccc.B10S2.DE04 | +| Inputs | Observation | Observation | Ccc.B10S2.DE07 | +| Inputs | Observation | Observation | Ccc.B15S2.DE01 | +| Inputs | Observation | Observation | Ccc.B15S2.DE09 | +| Inputs | Observation | Observation | Ccc.B15S2.DE03 | +| Inputs | Observation | Observation | Ccc.B15S2.DE02 | +| Inputs | Observation | Observation | Ccc.B15S2.DE11 | +| Inputs | Observation | Observation | Ccc.B15S2.DE10 | +| Inputs | Observation | Observation | Ccc.B6.DE01 | +| Inputs | Observation | Observation | Ccc.B11S1.DE01 | +| Inputs | Observation | Observation | Ccc.B22.DE08 | +| Inputs | Observation | Observation | Ccc.B22.DE01 | +| Inputs | Observation | Observation | Ccc.B22.DE04 | +| Inputs | Observation | Observation | Ccc.B22.DE14 | +| Inputs | Observation | Observation | Ccc.B7.DE09 | +| Inputs | Observation | Observation | Ccc.B7.DE10 | diff --git a/input/pagecontent/ActivityEmcareb22fluidtest.md b/input/pagecontent/ActivityEmcareb22fluidtest.md index 6d158096..a444a024 100644 --- a/input/pagecontent/ActivityEmcareb22fluidtest.md +++ b/input/pagecontent/ActivityEmcareb22fluidtest.md @@ -3,6 +3,6 @@ required for the execution | type | code / path | valueType | Description | |---|---|---|---| -| Inputs | Observation | Observation | EmCare.B22.DE14 | -| Inputs | Observation | Observation | EmCare.B7.DE09 | -| Inputs | Observation | Observation | EmCare.B7.DE10 | +| Inputs | Observation | Observation | Ccc.B22.DE14 | +| Inputs | Observation | Observation | Ccc.B7.DE09 | +| Inputs | Observation | Observation | Ccc.B7.DE10 | diff --git a/input/pagecontent/ActivityEmcareb22respiratoryrate.md b/input/pagecontent/ActivityEmcareb22respiratoryrate.md index 92b2a799..59b5d092 100644 --- a/input/pagecontent/ActivityEmcareb22respiratoryrate.md +++ b/input/pagecontent/ActivityEmcareb22respiratoryrate.md @@ -3,6 +3,6 @@ required for the execution | type | code / path | valueType | Description | |---|---|---|---| -| Inputs | Observation | Observation | EmCare.B22.DE01 | -| Inputs | Observation | Observation | EmCare.B22.DE04 | -| Inputs | Observation | Observation | EmCare.B22.DE07 | +| Inputs | Observation | Observation | Ccc.B22.DE01 | +| Inputs | Observation | Observation | Ccc.B22.DE04 | +| Inputs | Observation | Observation | Ccc.B22.DE07 | diff --git a/input/pagecontent/ActivityEmcareb23classification.md b/input/pagecontent/ActivityEmcareb23classification.md index d955a522..98c5ea28 100644 --- a/input/pagecontent/ActivityEmcareb23classification.md +++ b/input/pagecontent/ActivityEmcareb23classification.md @@ -3,91 +3,91 @@ required for the execution | type | code / path | valueType | Description | |---|---|---|---| -| Inputs | Observation | Observation | EmCare.B6.DE06 | -| Inputs | Observation | Observation | EmCare.B10S1.DE05 | -| Inputs | Observation | Observation | EmCare.B10S1.DE01 | -| Inputs | Observation | Observation | EmCare.B10S2.DE04 | -| Inputs | Observation | Observation | EmCare.B10S2.DE07 | -| Inputs | Observation | Observation | EmCare.B10S2.DE05 | -| Inputs | Observation | Observation | EmCare.B10S1.DE06 | -| Inputs | Observation | Observation | EmCare.B10S1.DE02 | -| Inputs | Observation | Observation | EmCare.B10S2.DE06 | -| Inputs | Observation | Observation | EmCare.B10S1.DE08 | -| Inputs | Observation | Observation | EmCare.B14S2.DE11 | -| Inputs | Observation | Observation | EmCare.B22.DE07 | -| Inputs | Observation | Observation | EmCare.B10S2.DE03 | -| Inputs | Observation | Observation | EmCare.B11S1.DE01 | -| Inputs | Observation | Observation | EmCare.B11S1.DE02 | -| Inputs | Observation | Observation | EmCare.B11S1.DE05 | -| Inputs | Observation | Observation | EmCare.B6.DE01 | -| Inputs | Observation | Observation | EmCare.B17S1.DE01 | -| Inputs | Observation | Observation | EmCare.B7.DE09 | -| Inputs | Observation | Observation | EmCare.B17S1.DE07 | -| Inputs | Observation | Observation | EmCare.B17S1.DE02 | -| Inputs | Observation | Observation | EmCare.B17S1.DE10 | -| Inputs | Observation | Observation | EmCare.B17S1.DE05 | -| Inputs | Observation | Observation | EmCare.B17S1.DE06 | -| Inputs | Observation | Observation | EmCare.B17S1.DE09 | -| Inputs | Observation | Observation | EmCare.B17S1.DE03 | -| Inputs | Observation | Observation | EmCare.B17S1.DE04 | -| Inputs | Observation | Observation | EmCare.B13S1.DE01 | -| Inputs | Observation | Observation | EmCare.B13S2.DE01 | -| Inputs | Observation | Observation | EmCare.B13S2.DE02 | -| Inputs | Observation | Observation | EmCare.B13S1.DE02 | -| Inputs | Observation | Observation | EmCare.B12S2.DE01 | -| Inputs | Observation | Observation | EmCare.B12S1.DE03 | -| Inputs | Observation | Observation | EmCare.B12S1.DE06 | -| Inputs | Observation | Observation | EmCare.B12S1.DE05 | -| Inputs | Observation | Observation | EmCare.B14S2.DE02 | -| Inputs | Observation | Observation | EmCare.B14S2.DE38 | -| Inputs | Observation | Observation | EmCare.B14S2.DE42 | -| Inputs | Observation | Observation | EmCare.B12S2.DE05 | -| Inputs | Observation | Observation | EmCare.B14S2.DE01 | -| Inputs | Observation | Observation | EmCare.B14S2.DE10 | -| Inputs | Observation | Observation | EmCare.B14S2.DE06&EmCare.B14S2.DE07 | -| Inputs | Observation | Observation | EmCare.B15S2.DE01 | -| Inputs | Observation | Observation | EmCare.B15S2.DE09 | -| Inputs | Observation | Observation | EmCare.B22.DE81 | -| Inputs | Observation | Observation | EmCare.B15S2.DE02 | -| Inputs | Observation | Observation | EmCare.B15S2.DE10 | -| Inputs | Observation | Observation | EmCare.B15S2.DE03 | -| Inputs | Observation | Observation | EmCare.B15S2.DE11 | -| Inputs | Observation | Observation | EmCare.B22.DE82 | -| Inputs | Observation | Observation | EmCare.B15S2.DE04 | -| Inputs | Observation | Observation | EmCare.B15S2.DE12 | -| Inputs | Observation | Observation | EmCare.B14S1.DE03 | -| Inputs | Observation | Observation | EmCare.B14S2.DE03 | -| Inputs | Observation | Observation | EmCare.B14S1.DE01 | -| Inputs | Observation | Observation | EmCare.B14S1.DE02 | -| Inputs | Observation | Observation | EmCare.B14S2.DE13&EmCare.B14S2.DE18 | -| Inputs | Observation | Observation | EmCare.B14S2.DE13&EmCare.B14S2.DE19 | -| Inputs | Observation | Observation | EmCare.B14S2.DE19a | -| Inputs | Observation | Observation | EmCare.B14S2.DE13&EmCare.B14S2.DE21 | -| Inputs | Observation | Observation | EmCare.B14S2.DE12 | -| Inputs | Observation | Observation | EmCare.B14S2.DE13&EmCare.B14S2.DE22 | -| Inputs | Observation | Observation | EmCare.B14S2.DE22A | -| Inputs | Observation | Observation | EmCare.B14S2.DE06&EmCare.B14S2.DE08 | -| Inputs | Observation | Observation | EmCare.B14S2.DE13&EmCare.B14S2.DE23 | -| Inputs | Observation | Observation | EmCare.B14S2.DE24 | -| Inputs | Observation | Observation | EmCare.B14S2.DE23a | -| Inputs | Observation | Observation | EmCare.B14S2.DE13&EmCare.B14S2.DE25 | -| Inputs | Observation | Observation | EmCare.B14S2.DE30 | -| Inputs | Observation | Observation | EmCare.B6.DE01A | -| Inputs | Observation | Observation | EmCare.B14S2.DE30b | -| Inputs | Observation | Observation | EmCare.B14S2.DE13&EmCare.B14S2.DE31 | -| Inputs | Observation | Observation | EmCare.B14S2.DE31a | -| Inputs | Observation | Observation | EmCare.B14S2.DE31b | -| Inputs | Observation | Observation | EmCare.B14S2.DE13&EmCare.B14S2.DE32 | -| Inputs | Observation | Observation | EmCare.B14S2.DE32a | -| Inputs | Observation | Observation | EmCare.B14S2.DE13&EmCare.B14S2.DE33 | -| Inputs | Observation | Observation | EmCare.B14S2.DE34 | -| Inputs | Observation | Observation | EmCare.B14S2.DE13&EmCare.B14S2.DE35 | -| Inputs | Observation | Observation | EmCare.B14S2.DE13&EmCare.B14S2.DE36 | -| Inputs | Observation | Observation | EmCare.B14S2.DE36b | -| Inputs | Observation | Observation | EmCare.B14S2.DE36a | -| Inputs | Observation | Observation | EmCare.B14S2.DE36c | -| Inputs | Observation | Observation | EmCare.B14S2.DE13&EmCare.B14S2.DE37 | -| Inputs | Observation | Observation | EmCare.B14S2.DE41 | -| Inputs | Observation | Observation | EmCare.B14S2.DE40 | -| Inputs | Observation | Observation | EmCare.B6.DE17 | -| Inputs | Observation | Observation | EmCare.B6.DE17a | +| Inputs | Observation | Observation | Ccc.B6.DE06 | +| Inputs | Observation | Observation | Ccc.B10S1.DE05 | +| Inputs | Observation | Observation | Ccc.B10S1.DE01 | +| Inputs | Observation | Observation | Ccc.B10S2.DE04 | +| Inputs | Observation | Observation | Ccc.B10S2.DE07 | +| Inputs | Observation | Observation | Ccc.B10S2.DE05 | +| Inputs | Observation | Observation | Ccc.B10S1.DE06 | +| Inputs | Observation | Observation | Ccc.B10S1.DE02 | +| Inputs | Observation | Observation | Ccc.B10S2.DE06 | +| Inputs | Observation | Observation | Ccc.B10S1.DE08 | +| Inputs | Observation | Observation | Ccc.B14S2.DE11 | +| Inputs | Observation | Observation | Ccc.B22.DE07 | +| Inputs | Observation | Observation | Ccc.B10S2.DE03 | +| Inputs | Observation | Observation | Ccc.B11S1.DE01 | +| Inputs | Observation | Observation | Ccc.B11S1.DE02 | +| Inputs | Observation | Observation | Ccc.B11S1.DE05 | +| Inputs | Observation | Observation | Ccc.B6.DE01 | +| Inputs | Observation | Observation | Ccc.B17S1.DE01 | +| Inputs | Observation | Observation | Ccc.B7.DE09 | +| Inputs | Observation | Observation | Ccc.B17S1.DE07 | +| Inputs | Observation | Observation | Ccc.B17S1.DE02 | +| Inputs | Observation | Observation | Ccc.B17S1.DE10 | +| Inputs | Observation | Observation | Ccc.B17S1.DE05 | +| Inputs | Observation | Observation | Ccc.B17S1.DE06 | +| Inputs | Observation | Observation | Ccc.B17S1.DE09 | +| Inputs | Observation | Observation | Ccc.B17S1.DE03 | +| Inputs | Observation | Observation | Ccc.B17S1.DE04 | +| Inputs | Observation | Observation | Ccc.B13S1.DE01 | +| Inputs | Observation | Observation | Ccc.B13S2.DE01 | +| Inputs | Observation | Observation | Ccc.B13S2.DE02 | +| Inputs | Observation | Observation | Ccc.B13S1.DE02 | +| Inputs | Observation | Observation | Ccc.B12S2.DE01 | +| Inputs | Observation | Observation | Ccc.B12S1.DE03 | +| Inputs | Observation | Observation | Ccc.B12S1.DE06 | +| Inputs | Observation | Observation | Ccc.B12S1.DE05 | +| Inputs | Observation | Observation | Ccc.B14S2.DE02 | +| Inputs | Observation | Observation | Ccc.B14S2.DE38 | +| Inputs | Observation | Observation | Ccc.B14S2.DE42 | +| Inputs | Observation | Observation | Ccc.B12S2.DE05 | +| Inputs | Observation | Observation | Ccc.B14S2.DE01 | +| Inputs | Observation | Observation | Ccc.B14S2.DE10 | +| Inputs | Observation | Observation | Ccc.B14S2.DE06&Ccc.B14S2.DE07 | +| Inputs | Observation | Observation | Ccc.B15S2.DE01 | +| Inputs | Observation | Observation | Ccc.B15S2.DE09 | +| Inputs | Observation | Observation | Ccc.B22.DE81 | +| Inputs | Observation | Observation | Ccc.B15S2.DE02 | +| Inputs | Observation | Observation | Ccc.B15S2.DE10 | +| Inputs | Observation | Observation | Ccc.B15S2.DE03 | +| Inputs | Observation | Observation | Ccc.B15S2.DE11 | +| Inputs | Observation | Observation | Ccc.B22.DE82 | +| Inputs | Observation | Observation | Ccc.B15S2.DE04 | +| Inputs | Observation | Observation | Ccc.B15S2.DE12 | +| Inputs | Observation | Observation | Ccc.B14S1.DE03 | +| Inputs | Observation | Observation | Ccc.B14S2.DE03 | +| Inputs | Observation | Observation | Ccc.B14S1.DE01 | +| Inputs | Observation | Observation | Ccc.B14S1.DE02 | +| Inputs | Observation | Observation | Ccc.B14S2.DE13&Ccc.B14S2.DE18 | +| Inputs | Observation | Observation | Ccc.B14S2.DE13&Ccc.B14S2.DE19 | +| Inputs | Observation | Observation | Ccc.B14S2.DE19a | +| Inputs | Observation | Observation | Ccc.B14S2.DE13&Ccc.B14S2.DE21 | +| Inputs | Observation | Observation | Ccc.B14S2.DE12 | +| Inputs | Observation | Observation | Ccc.B14S2.DE13&Ccc.B14S2.DE22 | +| Inputs | Observation | Observation | Ccc.B14S2.DE22A | +| Inputs | Observation | Observation | Ccc.B14S2.DE06&Ccc.B14S2.DE08 | +| Inputs | Observation | Observation | Ccc.B14S2.DE13&Ccc.B14S2.DE23 | +| Inputs | Observation | Observation | Ccc.B14S2.DE24 | +| Inputs | Observation | Observation | Ccc.B14S2.DE23a | +| Inputs | Observation | Observation | Ccc.B14S2.DE13&Ccc.B14S2.DE25 | +| Inputs | Observation | Observation | Ccc.B14S2.DE30 | +| Inputs | Observation | Observation | Ccc.B6.DE01A | +| Inputs | Observation | Observation | Ccc.B14S2.DE30b | +| Inputs | Observation | Observation | Ccc.B14S2.DE13&Ccc.B14S2.DE31 | +| Inputs | Observation | Observation | Ccc.B14S2.DE31a | +| Inputs | Observation | Observation | Ccc.B14S2.DE31b | +| Inputs | Observation | Observation | Ccc.B14S2.DE13&Ccc.B14S2.DE32 | +| Inputs | Observation | Observation | Ccc.B14S2.DE32a | +| Inputs | Observation | Observation | Ccc.B14S2.DE13&Ccc.B14S2.DE33 | +| Inputs | Observation | Observation | Ccc.B14S2.DE34 | +| Inputs | Observation | Observation | Ccc.B14S2.DE13&Ccc.B14S2.DE35 | +| Inputs | Observation | Observation | Ccc.B14S2.DE13&Ccc.B14S2.DE36 | +| Inputs | Observation | Observation | Ccc.B14S2.DE36b | +| Inputs | Observation | Observation | Ccc.B14S2.DE36a | +| Inputs | Observation | Observation | Ccc.B14S2.DE36c | +| Inputs | Observation | Observation | Ccc.B14S2.DE13&Ccc.B14S2.DE37 | +| Inputs | Observation | Observation | Ccc.B14S2.DE41 | +| Inputs | Observation | Observation | Ccc.B14S2.DE40 | +| Inputs | Observation | Observation | Ccc.B6.DE17 | +| Inputs | Observation | Observation | Ccc.B6.DE17a | diff --git a/input/pagecontent/ActivityEmcareb23classificationm.md b/input/pagecontent/ActivityEmcareb23classificationm.md index 141203cd..29481844 100644 --- a/input/pagecontent/ActivityEmcareb23classificationm.md +++ b/input/pagecontent/ActivityEmcareb23classificationm.md @@ -3,15 +3,15 @@ required for the execution | type | code / path | valueType | Description | |---|---|---|---| -| Inputs | Observation | Observation | EmCare.B22.DE50 | -| Inputs | Observation | Observation | EmCare.B22.DE07 | -| Inputs | Observation | Observation | EmCare.B18S2.DE12 | -| Inputs | Observation | Observation | EmCare.B18S2.DE13 | -| Inputs | Observation | Observation | EmCare.B21S2.DE01 | -| Inputs | Observation | Observation | EmCare.B21S2.DE02 | -| Inputs | Observation | Observation | EmCare.B19S2.DE01 | -| Inputs | Observation | Observation | EmCare.B19S2.DE02 | -| Inputs | Observation | Observation | EmCare.B11S1.DE01 | -| Inputs | Observation | Observation | EmCare.B21S2.DE03 | -| Inputs | Observation | Observation | EmCare.B21S2.DE30 | -| Inputs | Observation | Observation | EmCare.B21S2.DE04 | +| Inputs | Observation | Observation | Ccc.B22.DE50 | +| Inputs | Observation | Observation | Ccc.B22.DE07 | +| Inputs | Observation | Observation | Ccc.B18S2.DE12 | +| Inputs | Observation | Observation | Ccc.B18S2.DE13 | +| Inputs | Observation | Observation | Ccc.B21S2.DE01 | +| Inputs | Observation | Observation | Ccc.B21S2.DE02 | +| Inputs | Observation | Observation | Ccc.B19S2.DE01 | +| Inputs | Observation | Observation | Ccc.B19S2.DE02 | +| Inputs | Observation | Observation | Ccc.B11S1.DE01 | +| Inputs | Observation | Observation | Ccc.B21S2.DE03 | +| Inputs | Observation | Observation | Ccc.B21S2.DE30 | +| Inputs | Observation | Observation | Ccc.B21S2.DE04 | diff --git a/input/pagecontent/ActivityEmcareb7ltidangersigns.md b/input/pagecontent/ActivityEmcareb7ltidangersigns.md index d2bb9170..89e578cb 100644 --- a/input/pagecontent/ActivityEmcareb7ltidangersigns.md +++ b/input/pagecontent/ActivityEmcareb7ltidangersigns.md @@ -3,4 +3,4 @@ required for the execution | type | code / path | valueType | Description | |---|---|---|---| -| Inputs | Observation | Observation | EmCare.B22.DE14 | +| Inputs | Observation | Observation | Ccc.B22.DE14 | diff --git a/input/pagecontent/ActivityEmcarecombineddataelements.md b/input/pagecontent/ActivityEmcarecombineddataelements.md index b7e8e976..cb03a68b 100644 --- a/input/pagecontent/ActivityEmcarecombineddataelements.md +++ b/input/pagecontent/ActivityEmcarecombineddataelements.md @@ -3,9 +3,9 @@ required for the execution | type | code / path | valueType | Description | |---|---|---|---| -| Inputs | Observation | Observation | EmCare.B11S1.DE01 | -| Inputs | Observation | Observation | EmCare.B6.DE01A | -| Inputs | Observation | Observation | EmCare.B6.DE05 | -| Inputs | Observation | Observation | EmCare.B12S1.DE02 | +| Inputs | Observation | Observation | Ccc.B11S1.DE01 | +| Inputs | Observation | Observation | Ccc.B6.DE01A | +| Inputs | Observation | Observation | Ccc.B6.DE05 | +| Inputs | Observation | Observation | Ccc.B12S1.DE02 | | Inputs | Observation | Observation | High | | Inputs | Observation | Observation | 2 | diff --git a/input/pagecontent/PlanDefinitionIndex.md b/input/pagecontent/PlanDefinitionIndex.md index bae79713..e32c62b2 100644 --- a/input/pagecontent/PlanDefinitionIndex.md +++ b/input/pagecontent/PlanDefinitionIndex.md @@ -2,5 +2,5 @@ |Decision Table|Description| |---|---| - |[EmCareDT01](PlanDefinition-EmCareDT01.html)|None| + |[CccDT01](PlanDefinition-CccDT01.html)|None| \ No newline at end of file diff --git a/input/resources/activitydefinition/activitydefinition-emcare.b18-21.signs.2m.m.json b/input/resources/activitydefinition/activitydefinition-Ccc.b10-14.symptoms.2m.p.json similarity index 92% rename from input/resources/activitydefinition/activitydefinition-emcare.b18-21.signs.2m.m.json rename to input/resources/activitydefinition/activitydefinition-Ccc.b10-14.symptoms.2m.p.json index 260e9bad..398bc49c 100644 --- a/input/resources/activitydefinition/activitydefinition-emcare.b18-21.signs.2m.m.json +++ b/input/resources/activitydefinition/activitydefinition-Ccc.b10-14.symptoms.2m.p.json @@ -1,6 +1,6 @@ { "resourceType": "ActivityDefinition", - "id": "emcare.b18-21.signs.2m.m", + "id": "Ccc.b10-14.symptoms.2m.p", "extension": [ { "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", @@ -20,10 +20,10 @@ }, { "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith", - "valueCanonical": "https://smart.who.int/ccc/Questionnaire/emcare.b18-21.signs.2m.m" + "valueCanonical": "https://smart.who.int/ccc/Questionnaire/Ccc.b10-14.symptoms.2m.p" } ], - "url": "https://smart.who.int/ccc/ActivityDefinition/emcare.b18-21.signs.2m.m", + "url": "https://smart.who.int/ccc/ActivityDefinition/Ccc.b10-14.symptoms.2m.p", "status": "active", "experimental": false, "useContext": [ @@ -37,7 +37,7 @@ { "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", "code": "PATDOC", - "display": "Collect infornation with questionnaire EmCare.B18-21.Signs.2m.m" + "display": "Collect infornation with questionnaire Ccc.B10-14.Symptoms.2m.p" } ] } diff --git a/input/resources/activitydefinition/activitydefinition-emcare.b22.hemoglobin.json b/input/resources/activitydefinition/activitydefinition-Ccc.b10-16.signs.2m.p.json similarity index 92% rename from input/resources/activitydefinition/activitydefinition-emcare.b22.hemoglobin.json rename to input/resources/activitydefinition/activitydefinition-Ccc.b10-16.signs.2m.p.json index 780d9603..351076e4 100644 --- a/input/resources/activitydefinition/activitydefinition-emcare.b22.hemoglobin.json +++ b/input/resources/activitydefinition/activitydefinition-Ccc.b10-16.signs.2m.p.json @@ -1,6 +1,6 @@ { "resourceType": "ActivityDefinition", - "id": "emcare.b22.hemoglobin", + "id": "Ccc.b10-16.signs.2m.p", "extension": [ { "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", @@ -20,10 +20,10 @@ }, { "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith", - "valueCanonical": "https://smart.who.int/ccc/Questionnaire/emcare.b22.hemoglobin" + "valueCanonical": "https://smart.who.int/ccc/Questionnaire/Ccc.b10-16.signs.2m.p" } ], - "url": "https://smart.who.int/ccc/ActivityDefinition/emcare.b22.hemoglobin", + "url": "https://smart.who.int/ccc/ActivityDefinition/Ccc.b10-16.signs.2m.p", "status": "active", "experimental": false, "useContext": [ @@ -37,7 +37,7 @@ { "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", "code": "PATDOC", - "display": "Collect infornation with questionnaire EmCare.B22.Hemoglobin" + "display": "Collect infornation with questionnaire Ccc.B10-16.Signs.2m.p" } ] } diff --git a/input/resources/activitydefinition/activitydefinition-emcare.b6.measurements.json b/input/resources/activitydefinition/activitydefinition-Ccc.b18-21.signs.2m.m.json similarity index 92% rename from input/resources/activitydefinition/activitydefinition-emcare.b6.measurements.json rename to input/resources/activitydefinition/activitydefinition-Ccc.b18-21.signs.2m.m.json index 67d49753..6422d149 100644 --- a/input/resources/activitydefinition/activitydefinition-emcare.b6.measurements.json +++ b/input/resources/activitydefinition/activitydefinition-Ccc.b18-21.signs.2m.m.json @@ -1,6 +1,6 @@ { "resourceType": "ActivityDefinition", - "id": "emcare.b6.measurements", + "id": "Ccc.b18-21.signs.2m.m", "extension": [ { "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", @@ -20,10 +20,10 @@ }, { "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith", - "valueCanonical": "https://smart.who.int/ccc/Questionnaire/emcare.b6.measurements" + "valueCanonical": "https://smart.who.int/ccc/Questionnaire/Ccc.b18-21.signs.2m.m" } ], - "url": "https://smart.who.int/ccc/ActivityDefinition/emcare.b6.measurements", + "url": "https://smart.who.int/ccc/ActivityDefinition/Ccc.b18-21.signs.2m.m", "status": "active", "experimental": false, "useContext": [ @@ -37,7 +37,7 @@ { "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", "code": "PATDOC", - "display": "Collect infornation with questionnaire EmCare.B6.Measurements" + "display": "Collect infornation with questionnaire Ccc.B18-21.Signs.2m.m" } ] } diff --git a/input/resources/activitydefinition/activitydefinition-emcare.b22.breastfeeding.json b/input/resources/activitydefinition/activitydefinition-Ccc.b18-21.symptoms.2m.m.json similarity index 92% rename from input/resources/activitydefinition/activitydefinition-emcare.b22.breastfeeding.json rename to input/resources/activitydefinition/activitydefinition-Ccc.b18-21.symptoms.2m.m.json index cfbcdc4c..99f294e7 100644 --- a/input/resources/activitydefinition/activitydefinition-emcare.b22.breastfeeding.json +++ b/input/resources/activitydefinition/activitydefinition-Ccc.b18-21.symptoms.2m.m.json @@ -1,6 +1,6 @@ { "resourceType": "ActivityDefinition", - "id": "emcare.b22.breastfeeding", + "id": "Ccc.b18-21.symptoms.2m.m", "extension": [ { "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", @@ -20,10 +20,10 @@ }, { "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith", - "valueCanonical": "https://smart.who.int/ccc/Questionnaire/emcare.b22.breastfeeding" + "valueCanonical": "https://smart.who.int/ccc/Questionnaire/Ccc.b18-21.symptoms.2m.m" } ], - "url": "https://smart.who.int/ccc/ActivityDefinition/emcare.b22.breastfeeding", + "url": "https://smart.who.int/ccc/ActivityDefinition/Ccc.b18-21.symptoms.2m.m", "status": "active", "experimental": false, "useContext": [ @@ -37,7 +37,7 @@ { "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", "code": "PATDOC", - "display": "Collect infornation with questionnaire EmCare.B22.BreastFeeding" + "display": "Collect infornation with questionnaire Ccc.B18-21.Symptoms.2m.m" } ] } diff --git a/input/resources/activitydefinition/activitydefinition-emcare.b10-16.signs.2m.p.json b/input/resources/activitydefinition/activitydefinition-Ccc.b22.assessmentstests.json similarity index 92% rename from input/resources/activitydefinition/activitydefinition-emcare.b10-16.signs.2m.p.json rename to input/resources/activitydefinition/activitydefinition-Ccc.b22.assessmentstests.json index d8b1953d..3d903872 100644 --- a/input/resources/activitydefinition/activitydefinition-emcare.b10-16.signs.2m.p.json +++ b/input/resources/activitydefinition/activitydefinition-Ccc.b22.assessmentstests.json @@ -1,6 +1,6 @@ { "resourceType": "ActivityDefinition", - "id": "emcare.b10-16.signs.2m.p", + "id": "Ccc.b22.assessmentstests", "extension": [ { "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", @@ -20,10 +20,10 @@ }, { "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith", - "valueCanonical": "https://smart.who.int/ccc/Questionnaire/emcare.b10-16.signs.2m.p" + "valueCanonical": "https://smart.who.int/ccc/Questionnaire/Ccc.b22.assessmentstests" } ], - "url": "https://smart.who.int/ccc/ActivityDefinition/emcare.b10-16.signs.2m.p", + "url": "https://smart.who.int/ccc/ActivityDefinition/Ccc.b22.assessmentstests", "status": "active", "experimental": false, "useContext": [ @@ -37,7 +37,7 @@ { "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", "code": "PATDOC", - "display": "Collect infornation with questionnaire EmCare.B10-16.Signs.2m.p" + "display": "Collect infornation with questionnaire Ccc.B22.AssessmentsTests" } ] } diff --git a/input/resources/activitydefinition/activitydefinition-Ccc.b22.breastfeeding.json b/input/resources/activitydefinition/activitydefinition-Ccc.b22.breastfeeding.json new file mode 100644 index 00000000..a340362e --- /dev/null +++ b/input/resources/activitydefinition/activitydefinition-Ccc.b22.breastfeeding.json @@ -0,0 +1,73 @@ +{ + "resourceType": "ActivityDefinition", + "id": "Ccc.b22.breastfeeding", + "extension": [ + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "shareable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "computable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "publishable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeRepresentationLevel", + "valueCode": "structured" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith", + "valueCanonical": "https://smart.who.int/ccc/Questionnaire/Ccc.b22.breastfeeding" + } + ], + "url": "https://smart.who.int/ccc/ActivityDefinition/Ccc.b22.breastfeeding", + "status": "active", + "experimental": false, + "useContext": [ + { + "code": { + "system": "http://terminology.hl7.org/CodeSystem/usage-context-type", + "code": "task" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "PATDOC", + "display": "Collect infornation with questionnaire Ccc.B22.BreastFeeding" + } + ] + } + } + ], + "kind": "Task", + "profile": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-questionnairetask", + "code": { + "coding": [ + { + "system": "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type", + "code": "collect-information", + "display": "Collect information" + } + ] + }, + "dynamicValue": [ + { + "path": "input.type", + "expression": { + "language": "text/cql-expression", + "expression": "code" + } + }, + { + "path": "input.value", + "expression": { + "language": "text/cql-expression", + "expression": "extension('http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith').value" + } + } + ] +} \ No newline at end of file diff --git a/input/resources/activitydefinition/activitydefinition-Ccc.b22.bronchodilatortest.json b/input/resources/activitydefinition/activitydefinition-Ccc.b22.bronchodilatortest.json new file mode 100644 index 00000000..3b79a28f --- /dev/null +++ b/input/resources/activitydefinition/activitydefinition-Ccc.b22.bronchodilatortest.json @@ -0,0 +1,73 @@ +{ + "resourceType": "ActivityDefinition", + "id": "Ccc.b22.bronchodilatortest", + "extension": [ + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "shareable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "computable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "publishable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeRepresentationLevel", + "valueCode": "structured" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith", + "valueCanonical": "https://smart.who.int/ccc/Questionnaire/Ccc.b22.bronchodilatortest" + } + ], + "url": "https://smart.who.int/ccc/ActivityDefinition/Ccc.b22.bronchodilatortest", + "status": "active", + "experimental": false, + "useContext": [ + { + "code": { + "system": "http://terminology.hl7.org/CodeSystem/usage-context-type", + "code": "task" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "PATDOC", + "display": "Collect infornation with questionnaire Ccc.B22.BronchodilatorTest" + } + ] + } + } + ], + "kind": "Task", + "profile": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-questionnairetask", + "code": { + "coding": [ + { + "system": "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type", + "code": "collect-information", + "display": "Collect information" + } + ] + }, + "dynamicValue": [ + { + "path": "input.type", + "expression": { + "language": "text/cql-expression", + "expression": "code" + } + }, + { + "path": "input.value", + "expression": { + "language": "text/cql-expression", + "expression": "extension('http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith').value" + } + } + ] +} \ No newline at end of file diff --git a/input/resources/activitydefinition/activitydefinition-emcare.b22.fluidtest.json b/input/resources/activitydefinition/activitydefinition-Ccc.b22.fluidtest.json similarity index 92% rename from input/resources/activitydefinition/activitydefinition-emcare.b22.fluidtest.json rename to input/resources/activitydefinition/activitydefinition-Ccc.b22.fluidtest.json index 26afd3d6..6da29630 100644 --- a/input/resources/activitydefinition/activitydefinition-emcare.b22.fluidtest.json +++ b/input/resources/activitydefinition/activitydefinition-Ccc.b22.fluidtest.json @@ -1,6 +1,6 @@ { "resourceType": "ActivityDefinition", - "id": "emcare.b22.fluidtest", + "id": "Ccc.b22.fluidtest", "extension": [ { "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", @@ -20,10 +20,10 @@ }, { "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith", - "valueCanonical": "https://smart.who.int/ccc/Questionnaire/emcare.b22.fluidtest" + "valueCanonical": "https://smart.who.int/ccc/Questionnaire/Ccc.b22.fluidtest" } ], - "url": "https://smart.who.int/ccc/ActivityDefinition/emcare.b22.fluidtest", + "url": "https://smart.who.int/ccc/ActivityDefinition/Ccc.b22.fluidtest", "status": "active", "experimental": false, "useContext": [ @@ -37,7 +37,7 @@ { "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", "code": "PATDOC", - "display": "Collect infornation with questionnaire EmCare.B22.FluidTest" + "display": "Collect infornation with questionnaire Ccc.B22.FluidTest" } ] } diff --git a/input/resources/activitydefinition/activitydefinition-Ccc.b22.hemoglobin.json b/input/resources/activitydefinition/activitydefinition-Ccc.b22.hemoglobin.json new file mode 100644 index 00000000..91843a37 --- /dev/null +++ b/input/resources/activitydefinition/activitydefinition-Ccc.b22.hemoglobin.json @@ -0,0 +1,73 @@ +{ + "resourceType": "ActivityDefinition", + "id": "Ccc.b22.hemoglobin", + "extension": [ + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "shareable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "computable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "publishable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeRepresentationLevel", + "valueCode": "structured" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith", + "valueCanonical": "https://smart.who.int/ccc/Questionnaire/Ccc.b22.hemoglobin" + } + ], + "url": "https://smart.who.int/ccc/ActivityDefinition/Ccc.b22.hemoglobin", + "status": "active", + "experimental": false, + "useContext": [ + { + "code": { + "system": "http://terminology.hl7.org/CodeSystem/usage-context-type", + "code": "task" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "PATDOC", + "display": "Collect infornation with questionnaire Ccc.B22.Hemoglobin" + } + ] + } + } + ], + "kind": "Task", + "profile": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-questionnairetask", + "code": { + "coding": [ + { + "system": "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type", + "code": "collect-information", + "display": "Collect information" + } + ] + }, + "dynamicValue": [ + { + "path": "input.type", + "expression": { + "language": "text/cql-expression", + "expression": "code" + } + }, + { + "path": "input.value", + "expression": { + "language": "text/cql-expression", + "expression": "extension('http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith').value" + } + } + ] +} \ No newline at end of file diff --git a/input/resources/activitydefinition/activitydefinition-Ccc.b22.respiratoryrate.json b/input/resources/activitydefinition/activitydefinition-Ccc.b22.respiratoryrate.json new file mode 100644 index 00000000..5edd3e0e --- /dev/null +++ b/input/resources/activitydefinition/activitydefinition-Ccc.b22.respiratoryrate.json @@ -0,0 +1,73 @@ +{ + "resourceType": "ActivityDefinition", + "id": "Ccc.b22.respiratoryrate", + "extension": [ + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "shareable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "computable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "publishable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeRepresentationLevel", + "valueCode": "structured" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith", + "valueCanonical": "https://smart.who.int/ccc/Questionnaire/Ccc.b22.respiratoryrate" + } + ], + "url": "https://smart.who.int/ccc/ActivityDefinition/Ccc.b22.respiratoryrate", + "status": "active", + "experimental": false, + "useContext": [ + { + "code": { + "system": "http://terminology.hl7.org/CodeSystem/usage-context-type", + "code": "task" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "PATDOC", + "display": "Collect infornation with questionnaire Ccc.B22.RespiratoryRate" + } + ] + } + } + ], + "kind": "Task", + "profile": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-questionnairetask", + "code": { + "coding": [ + { + "system": "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type", + "code": "collect-information", + "display": "Collect information" + } + ] + }, + "dynamicValue": [ + { + "path": "input.type", + "expression": { + "language": "text/cql-expression", + "expression": "code" + } + }, + { + "path": "input.value", + "expression": { + "language": "text/cql-expression", + "expression": "extension('http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith').value" + } + } + ] +} \ No newline at end of file diff --git a/input/resources/activitydefinition/activitydefinition-Ccc.b22.secondtemperature.json b/input/resources/activitydefinition/activitydefinition-Ccc.b22.secondtemperature.json new file mode 100644 index 00000000..f4ad3aee --- /dev/null +++ b/input/resources/activitydefinition/activitydefinition-Ccc.b22.secondtemperature.json @@ -0,0 +1,73 @@ +{ + "resourceType": "ActivityDefinition", + "id": "Ccc.b22.secondtemperature", + "extension": [ + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "shareable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "computable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "publishable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeRepresentationLevel", + "valueCode": "structured" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith", + "valueCanonical": "https://smart.who.int/ccc/Questionnaire/Ccc.b22.secondtemperature" + } + ], + "url": "https://smart.who.int/ccc/ActivityDefinition/Ccc.b22.secondtemperature", + "status": "active", + "experimental": false, + "useContext": [ + { + "code": { + "system": "http://terminology.hl7.org/CodeSystem/usage-context-type", + "code": "task" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "PATDOC", + "display": "Collect infornation with questionnaire Ccc.B22.SecondTemperature" + } + ] + } + } + ], + "kind": "Task", + "profile": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-questionnairetask", + "code": { + "coding": [ + { + "system": "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type", + "code": "collect-information", + "display": "Collect information" + } + ] + }, + "dynamicValue": [ + { + "path": "input.type", + "expression": { + "language": "text/cql-expression", + "expression": "code" + } + }, + { + "path": "input.value", + "expression": { + "language": "text/cql-expression", + "expression": "extension('http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith').value" + } + } + ] +} \ No newline at end of file diff --git a/input/resources/activitydefinition/activitydefinition-Ccc.b23.classification.json b/input/resources/activitydefinition/activitydefinition-Ccc.b23.classification.json new file mode 100644 index 00000000..316691b9 --- /dev/null +++ b/input/resources/activitydefinition/activitydefinition-Ccc.b23.classification.json @@ -0,0 +1,73 @@ +{ + "resourceType": "ActivityDefinition", + "id": "Ccc.b23.classification", + "extension": [ + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "shareable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "computable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "publishable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeRepresentationLevel", + "valueCode": "structured" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith", + "valueCanonical": "https://smart.who.int/ccc/Questionnaire/Ccc.b23.classification" + } + ], + "url": "https://smart.who.int/ccc/ActivityDefinition/Ccc.b23.classification", + "status": "active", + "experimental": false, + "useContext": [ + { + "code": { + "system": "http://terminology.hl7.org/CodeSystem/usage-context-type", + "code": "task" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "PATDOC", + "display": "Collect infornation with questionnaire Ccc.B23.Classification" + } + ] + } + } + ], + "kind": "Task", + "profile": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-questionnairetask", + "code": { + "coding": [ + { + "system": "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type", + "code": "collect-information", + "display": "Collect information" + } + ] + }, + "dynamicValue": [ + { + "path": "input.type", + "expression": { + "language": "text/cql-expression", + "expression": "code" + } + }, + { + "path": "input.value", + "expression": { + "language": "text/cql-expression", + "expression": "extension('http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith').value" + } + } + ] +} \ No newline at end of file diff --git a/input/resources/activitydefinition/activitydefinition-Ccc.b23.classification.m.json b/input/resources/activitydefinition/activitydefinition-Ccc.b23.classification.m.json new file mode 100644 index 00000000..9ffc6424 --- /dev/null +++ b/input/resources/activitydefinition/activitydefinition-Ccc.b23.classification.m.json @@ -0,0 +1,73 @@ +{ + "resourceType": "ActivityDefinition", + "id": "Ccc.b23.classification.m", + "extension": [ + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "shareable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "computable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "publishable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeRepresentationLevel", + "valueCode": "structured" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith", + "valueCanonical": "https://smart.who.int/ccc/Questionnaire/Ccc.b23.classification.m" + } + ], + "url": "https://smart.who.int/ccc/ActivityDefinition/Ccc.b23.classification.m", + "status": "active", + "experimental": false, + "useContext": [ + { + "code": { + "system": "http://terminology.hl7.org/CodeSystem/usage-context-type", + "code": "task" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "PATDOC", + "display": "Collect infornation with questionnaire Ccc.B23.Classification.m" + } + ] + } + } + ], + "kind": "Task", + "profile": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-questionnairetask", + "code": { + "coding": [ + { + "system": "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type", + "code": "collect-information", + "display": "Collect information" + } + ] + }, + "dynamicValue": [ + { + "path": "input.type", + "expression": { + "language": "text/cql-expression", + "expression": "code" + } + }, + { + "path": "input.value", + "expression": { + "language": "text/cql-expression", + "expression": "extension('http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith').value" + } + } + ] +} \ No newline at end of file diff --git a/input/resources/activitydefinition/activitydefinition-Ccc.b6.measurements.json b/input/resources/activitydefinition/activitydefinition-Ccc.b6.measurements.json new file mode 100644 index 00000000..8f4ec31a --- /dev/null +++ b/input/resources/activitydefinition/activitydefinition-Ccc.b6.measurements.json @@ -0,0 +1,73 @@ +{ + "resourceType": "ActivityDefinition", + "id": "Ccc.b6.measurements", + "extension": [ + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "shareable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "computable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "publishable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeRepresentationLevel", + "valueCode": "structured" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith", + "valueCanonical": "https://smart.who.int/ccc/Questionnaire/Ccc.b6.measurements" + } + ], + "url": "https://smart.who.int/ccc/ActivityDefinition/Ccc.b6.measurements", + "status": "active", + "experimental": false, + "useContext": [ + { + "code": { + "system": "http://terminology.hl7.org/CodeSystem/usage-context-type", + "code": "task" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "PATDOC", + "display": "Collect infornation with questionnaire Ccc.B6.Measurements" + } + ] + } + } + ], + "kind": "Task", + "profile": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-questionnairetask", + "code": { + "coding": [ + { + "system": "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type", + "code": "collect-information", + "display": "Collect information" + } + ] + }, + "dynamicValue": [ + { + "path": "input.type", + "expression": { + "language": "text/cql-expression", + "expression": "code" + } + }, + { + "path": "input.value", + "expression": { + "language": "text/cql-expression", + "expression": "extension('http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith').value" + } + } + ] +} \ No newline at end of file diff --git a/input/resources/activitydefinition/activitydefinition-Ccc.b7.lti-dangersigns.json b/input/resources/activitydefinition/activitydefinition-Ccc.b7.lti-dangersigns.json new file mode 100644 index 00000000..1109894c --- /dev/null +++ b/input/resources/activitydefinition/activitydefinition-Ccc.b7.lti-dangersigns.json @@ -0,0 +1,73 @@ +{ + "resourceType": "ActivityDefinition", + "id": "Ccc.b7.lti-dangersigns", + "extension": [ + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "shareable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "computable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "publishable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeRepresentationLevel", + "valueCode": "structured" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith", + "valueCanonical": "https://smart.who.int/ccc/Questionnaire/Ccc.b7.lti-dangersigns" + } + ], + "url": "https://smart.who.int/ccc/ActivityDefinition/Ccc.b7.lti-dangersigns", + "status": "active", + "experimental": false, + "useContext": [ + { + "code": { + "system": "http://terminology.hl7.org/CodeSystem/usage-context-type", + "code": "task" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "PATDOC", + "display": "Collect infornation with questionnaire Ccc.B7.LTI-DangerSigns" + } + ] + } + } + ], + "kind": "Task", + "profile": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-questionnairetask", + "code": { + "coding": [ + { + "system": "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type", + "code": "collect-information", + "display": "Collect information" + } + ] + }, + "dynamicValue": [ + { + "path": "input.type", + "expression": { + "language": "text/cql-expression", + "expression": "code" + } + }, + { + "path": "input.value", + "expression": { + "language": "text/cql-expression", + "expression": "extension('http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith').value" + } + } + ] +} \ No newline at end of file diff --git a/input/resources/activitydefinition/activitydefinition-emcare.treatment.json b/input/resources/activitydefinition/activitydefinition-Ccc.treatment.json similarity index 93% rename from input/resources/activitydefinition/activitydefinition-emcare.treatment.json rename to input/resources/activitydefinition/activitydefinition-Ccc.treatment.json index d1fe9617..4bd13781 100644 --- a/input/resources/activitydefinition/activitydefinition-emcare.treatment.json +++ b/input/resources/activitydefinition/activitydefinition-Ccc.treatment.json @@ -1,6 +1,6 @@ { "resourceType": "ActivityDefinition", - "id": "emcare.treatment", + "id": "Ccc.treatment", "extension": [ { "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", @@ -20,10 +20,10 @@ }, { "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith", - "valueCanonical": "https://smart.who.int/ccc/Questionnaire/emcare.treatment" + "valueCanonical": "https://smart.who.int/ccc/Questionnaire/Ccc.treatment" } ], - "url": "https://smart.who.int/ccc/ActivityDefinition/emcare.treatment", + "url": "https://smart.who.int/ccc/ActivityDefinition/Ccc.treatment", "status": "active", "experimental": false, "useContext": [ @@ -37,7 +37,7 @@ { "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", "code": "PATDOC", - "display": "Collect infornation with questionnaire EmCare.Treatment" + "display": "Collect infornation with questionnaire Ccc.Treatment" } ] } diff --git a/input/resources/activitydefinition/activitydefinition-Ccca.registration.p.json b/input/resources/activitydefinition/activitydefinition-Ccca.registration.p.json new file mode 100644 index 00000000..fb70c9c7 --- /dev/null +++ b/input/resources/activitydefinition/activitydefinition-Ccca.registration.p.json @@ -0,0 +1,73 @@ +{ + "resourceType": "ActivityDefinition", + "id": "Ccca.registration.p", + "extension": [ + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "shareable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "computable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "publishable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeRepresentationLevel", + "valueCode": "structured" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith", + "valueCanonical": "https://smart.who.int/ccc/Questionnaire/Ccca.registration.p" + } + ], + "url": "https://smart.who.int/ccc/ActivityDefinition/Ccca.registration.p", + "status": "active", + "experimental": false, + "useContext": [ + { + "code": { + "system": "http://terminology.hl7.org/CodeSystem/usage-context-type", + "code": "task" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "PATDOC", + "display": "Collect infornation with questionnaire CccA.Registration.P" + } + ] + } + } + ], + "kind": "Task", + "profile": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-questionnairetask", + "code": { + "coding": [ + { + "system": "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type", + "code": "collect-information", + "display": "Collect information" + } + ] + }, + "dynamicValue": [ + { + "path": "input.type", + "expression": { + "language": "text/cql-expression", + "expression": "code" + } + }, + { + "path": "input.value", + "expression": { + "language": "text/cql-expression", + "expression": "extension('http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith').value" + } + } + ] +} \ No newline at end of file diff --git a/input/resources/activitydefinition/activitydefinition-Cccb.registration.e.json b/input/resources/activitydefinition/activitydefinition-Cccb.registration.e.json new file mode 100644 index 00000000..f1c7dcb8 --- /dev/null +++ b/input/resources/activitydefinition/activitydefinition-Cccb.registration.e.json @@ -0,0 +1,73 @@ +{ + "resourceType": "ActivityDefinition", + "id": "Cccb.registration.e", + "extension": [ + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "shareable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "computable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", + "valueCode": "publishable" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeRepresentationLevel", + "valueCode": "structured" + }, + { + "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith", + "valueCanonical": "https://smart.who.int/ccc/Questionnaire/Cccb.registration.e" + } + ], + "url": "https://smart.who.int/ccc/ActivityDefinition/Cccb.registration.e", + "status": "active", + "experimental": false, + "useContext": [ + { + "code": { + "system": "http://terminology.hl7.org/CodeSystem/usage-context-type", + "code": "task" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "PATDOC", + "display": "Collect infornation with questionnaire CccB.Registration.E" + } + ] + } + } + ], + "kind": "Task", + "profile": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-questionnairetask", + "code": { + "coding": [ + { + "system": "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type", + "code": "collect-information", + "display": "Collect information" + } + ] + }, + "dynamicValue": [ + { + "path": "input.type", + "expression": { + "language": "text/cql-expression", + "expression": "code" + } + }, + { + "path": "input.value", + "expression": { + "language": "text/cql-expression", + "expression": "extension('http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith').value" + } + } + ] +} \ No newline at end of file diff --git a/input/resources/activitydefinition/activitydefinition-emcare.b10-14.symptoms.2m.p.json b/input/resources/activitydefinition/activitydefinition-emcare.b10-14.symptoms.2m.p.json deleted file mode 100644 index cadfb312..00000000 --- a/input/resources/activitydefinition/activitydefinition-emcare.b10-14.symptoms.2m.p.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "resourceType": "ActivityDefinition", - "id": "emcare.b10-14.symptoms.2m.p", - "extension": [ - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "shareable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "computable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "publishable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeRepresentationLevel", - "valueCode": "structured" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith", - "valueCanonical": "https://smart.who.int/ccc/Questionnaire/emcare.b10-14.symptoms.2m.p" - } - ], - "url": "https://smart.who.int/ccc/ActivityDefinition/emcare.b10-14.symptoms.2m.p", - "status": "active", - "experimental": false, - "useContext": [ - { - "code": { - "system": "http://terminology.hl7.org/CodeSystem/usage-context-type", - "code": "task" - }, - "valueCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "PATDOC", - "display": "Collect infornation with questionnaire EmCare.B10-14.Symptoms.2m.p" - } - ] - } - } - ], - "kind": "Task", - "profile": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-questionnairetask", - "code": { - "coding": [ - { - "system": "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type", - "code": "collect-information", - "display": "Collect information" - } - ] - }, - "dynamicValue": [ - { - "path": "input.type", - "expression": { - "language": "text/cql-expression", - "expression": "code" - } - }, - { - "path": "input.value", - "expression": { - "language": "text/cql-expression", - "expression": "extension('http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith').value" - } - } - ] -} \ No newline at end of file diff --git a/input/resources/activitydefinition/activitydefinition-emcare.b18-21.symptoms.2m.m.json b/input/resources/activitydefinition/activitydefinition-emcare.b18-21.symptoms.2m.m.json deleted file mode 100644 index 07e63c6b..00000000 --- a/input/resources/activitydefinition/activitydefinition-emcare.b18-21.symptoms.2m.m.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "resourceType": "ActivityDefinition", - "id": "emcare.b18-21.symptoms.2m.m", - "extension": [ - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "shareable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "computable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "publishable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeRepresentationLevel", - "valueCode": "structured" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith", - "valueCanonical": "https://smart.who.int/ccc/Questionnaire/emcare.b18-21.symptoms.2m.m" - } - ], - "url": "https://smart.who.int/ccc/ActivityDefinition/emcare.b18-21.symptoms.2m.m", - "status": "active", - "experimental": false, - "useContext": [ - { - "code": { - "system": "http://terminology.hl7.org/CodeSystem/usage-context-type", - "code": "task" - }, - "valueCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "PATDOC", - "display": "Collect infornation with questionnaire EmCare.B18-21.Symptoms.2m.m" - } - ] - } - } - ], - "kind": "Task", - "profile": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-questionnairetask", - "code": { - "coding": [ - { - "system": "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type", - "code": "collect-information", - "display": "Collect information" - } - ] - }, - "dynamicValue": [ - { - "path": "input.type", - "expression": { - "language": "text/cql-expression", - "expression": "code" - } - }, - { - "path": "input.value", - "expression": { - "language": "text/cql-expression", - "expression": "extension('http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith').value" - } - } - ] -} \ No newline at end of file diff --git a/input/resources/activitydefinition/activitydefinition-emcare.b22.assessmentstests.json b/input/resources/activitydefinition/activitydefinition-emcare.b22.assessmentstests.json deleted file mode 100644 index 000fb02c..00000000 --- a/input/resources/activitydefinition/activitydefinition-emcare.b22.assessmentstests.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "resourceType": "ActivityDefinition", - "id": "emcare.b22.assessmentstests", - "extension": [ - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "shareable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "computable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "publishable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeRepresentationLevel", - "valueCode": "structured" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith", - "valueCanonical": "https://smart.who.int/ccc/Questionnaire/emcare.b22.assessmentstests" - } - ], - "url": "https://smart.who.int/ccc/ActivityDefinition/emcare.b22.assessmentstests", - "status": "active", - "experimental": false, - "useContext": [ - { - "code": { - "system": "http://terminology.hl7.org/CodeSystem/usage-context-type", - "code": "task" - }, - "valueCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "PATDOC", - "display": "Collect infornation with questionnaire EmCare.B22.AssessmentsTests" - } - ] - } - } - ], - "kind": "Task", - "profile": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-questionnairetask", - "code": { - "coding": [ - { - "system": "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type", - "code": "collect-information", - "display": "Collect information" - } - ] - }, - "dynamicValue": [ - { - "path": "input.type", - "expression": { - "language": "text/cql-expression", - "expression": "code" - } - }, - { - "path": "input.value", - "expression": { - "language": "text/cql-expression", - "expression": "extension('http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith').value" - } - } - ] -} \ No newline at end of file diff --git a/input/resources/activitydefinition/activitydefinition-emcare.b22.bronchodilatortest.json b/input/resources/activitydefinition/activitydefinition-emcare.b22.bronchodilatortest.json deleted file mode 100644 index c2d1b35e..00000000 --- a/input/resources/activitydefinition/activitydefinition-emcare.b22.bronchodilatortest.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "resourceType": "ActivityDefinition", - "id": "emcare.b22.bronchodilatortest", - "extension": [ - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "shareable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "computable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "publishable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeRepresentationLevel", - "valueCode": "structured" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith", - "valueCanonical": "https://smart.who.int/ccc/Questionnaire/emcare.b22.bronchodilatortest" - } - ], - "url": "https://smart.who.int/ccc/ActivityDefinition/emcare.b22.bronchodilatortest", - "status": "active", - "experimental": false, - "useContext": [ - { - "code": { - "system": "http://terminology.hl7.org/CodeSystem/usage-context-type", - "code": "task" - }, - "valueCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "PATDOC", - "display": "Collect infornation with questionnaire EmCare.B22.BronchodilatorTest" - } - ] - } - } - ], - "kind": "Task", - "profile": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-questionnairetask", - "code": { - "coding": [ - { - "system": "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type", - "code": "collect-information", - "display": "Collect information" - } - ] - }, - "dynamicValue": [ - { - "path": "input.type", - "expression": { - "language": "text/cql-expression", - "expression": "code" - } - }, - { - "path": "input.value", - "expression": { - "language": "text/cql-expression", - "expression": "extension('http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith').value" - } - } - ] -} \ No newline at end of file diff --git a/input/resources/activitydefinition/activitydefinition-emcare.b22.respiratoryrate.json b/input/resources/activitydefinition/activitydefinition-emcare.b22.respiratoryrate.json deleted file mode 100644 index f0a0fe95..00000000 --- a/input/resources/activitydefinition/activitydefinition-emcare.b22.respiratoryrate.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "resourceType": "ActivityDefinition", - "id": "emcare.b22.respiratoryrate", - "extension": [ - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "shareable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "computable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "publishable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeRepresentationLevel", - "valueCode": "structured" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith", - "valueCanonical": "https://smart.who.int/ccc/Questionnaire/emcare.b22.respiratoryrate" - } - ], - "url": "https://smart.who.int/ccc/ActivityDefinition/emcare.b22.respiratoryrate", - "status": "active", - "experimental": false, - "useContext": [ - { - "code": { - "system": "http://terminology.hl7.org/CodeSystem/usage-context-type", - "code": "task" - }, - "valueCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "PATDOC", - "display": "Collect infornation with questionnaire EmCare.B22.RespiratoryRate" - } - ] - } - } - ], - "kind": "Task", - "profile": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-questionnairetask", - "code": { - "coding": [ - { - "system": "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type", - "code": "collect-information", - "display": "Collect information" - } - ] - }, - "dynamicValue": [ - { - "path": "input.type", - "expression": { - "language": "text/cql-expression", - "expression": "code" - } - }, - { - "path": "input.value", - "expression": { - "language": "text/cql-expression", - "expression": "extension('http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith').value" - } - } - ] -} \ No newline at end of file diff --git a/input/resources/activitydefinition/activitydefinition-emcare.b22.secondtemperature.json b/input/resources/activitydefinition/activitydefinition-emcare.b22.secondtemperature.json deleted file mode 100644 index 7ec4dc70..00000000 --- a/input/resources/activitydefinition/activitydefinition-emcare.b22.secondtemperature.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "resourceType": "ActivityDefinition", - "id": "emcare.b22.secondtemperature", - "extension": [ - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "shareable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "computable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "publishable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeRepresentationLevel", - "valueCode": "structured" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith", - "valueCanonical": "https://smart.who.int/ccc/Questionnaire/emcare.b22.secondtemperature" - } - ], - "url": "https://smart.who.int/ccc/ActivityDefinition/emcare.b22.secondtemperature", - "status": "active", - "experimental": false, - "useContext": [ - { - "code": { - "system": "http://terminology.hl7.org/CodeSystem/usage-context-type", - "code": "task" - }, - "valueCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "PATDOC", - "display": "Collect infornation with questionnaire EmCare.B22.SecondTemperature" - } - ] - } - } - ], - "kind": "Task", - "profile": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-questionnairetask", - "code": { - "coding": [ - { - "system": "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type", - "code": "collect-information", - "display": "Collect information" - } - ] - }, - "dynamicValue": [ - { - "path": "input.type", - "expression": { - "language": "text/cql-expression", - "expression": "code" - } - }, - { - "path": "input.value", - "expression": { - "language": "text/cql-expression", - "expression": "extension('http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith').value" - } - } - ] -} \ No newline at end of file diff --git a/input/resources/activitydefinition/activitydefinition-emcare.b23.classification.json b/input/resources/activitydefinition/activitydefinition-emcare.b23.classification.json deleted file mode 100644 index dba809d0..00000000 --- a/input/resources/activitydefinition/activitydefinition-emcare.b23.classification.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "resourceType": "ActivityDefinition", - "id": "emcare.b23.classification", - "extension": [ - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "shareable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "computable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "publishable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeRepresentationLevel", - "valueCode": "structured" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith", - "valueCanonical": "https://smart.who.int/ccc/Questionnaire/emcare.b23.classification" - } - ], - "url": "https://smart.who.int/ccc/ActivityDefinition/emcare.b23.classification", - "status": "active", - "experimental": false, - "useContext": [ - { - "code": { - "system": "http://terminology.hl7.org/CodeSystem/usage-context-type", - "code": "task" - }, - "valueCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "PATDOC", - "display": "Collect infornation with questionnaire EmCare.B23.Classification" - } - ] - } - } - ], - "kind": "Task", - "profile": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-questionnairetask", - "code": { - "coding": [ - { - "system": "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type", - "code": "collect-information", - "display": "Collect information" - } - ] - }, - "dynamicValue": [ - { - "path": "input.type", - "expression": { - "language": "text/cql-expression", - "expression": "code" - } - }, - { - "path": "input.value", - "expression": { - "language": "text/cql-expression", - "expression": "extension('http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith').value" - } - } - ] -} \ No newline at end of file diff --git a/input/resources/activitydefinition/activitydefinition-emcare.b23.classification.m.json b/input/resources/activitydefinition/activitydefinition-emcare.b23.classification.m.json deleted file mode 100644 index 3d3854a1..00000000 --- a/input/resources/activitydefinition/activitydefinition-emcare.b23.classification.m.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "resourceType": "ActivityDefinition", - "id": "emcare.b23.classification.m", - "extension": [ - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "shareable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "computable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "publishable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeRepresentationLevel", - "valueCode": "structured" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith", - "valueCanonical": "https://smart.who.int/ccc/Questionnaire/emcare.b23.classification.m" - } - ], - "url": "https://smart.who.int/ccc/ActivityDefinition/emcare.b23.classification.m", - "status": "active", - "experimental": false, - "useContext": [ - { - "code": { - "system": "http://terminology.hl7.org/CodeSystem/usage-context-type", - "code": "task" - }, - "valueCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "PATDOC", - "display": "Collect infornation with questionnaire EmCare.B23.Classification.m" - } - ] - } - } - ], - "kind": "Task", - "profile": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-questionnairetask", - "code": { - "coding": [ - { - "system": "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type", - "code": "collect-information", - "display": "Collect information" - } - ] - }, - "dynamicValue": [ - { - "path": "input.type", - "expression": { - "language": "text/cql-expression", - "expression": "code" - } - }, - { - "path": "input.value", - "expression": { - "language": "text/cql-expression", - "expression": "extension('http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith').value" - } - } - ] -} \ No newline at end of file diff --git a/input/resources/activitydefinition/activitydefinition-emcare.b7.lti-dangersigns.json b/input/resources/activitydefinition/activitydefinition-emcare.b7.lti-dangersigns.json deleted file mode 100644 index d06f2f68..00000000 --- a/input/resources/activitydefinition/activitydefinition-emcare.b7.lti-dangersigns.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "resourceType": "ActivityDefinition", - "id": "emcare.b7.lti-dangersigns", - "extension": [ - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "shareable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "computable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "publishable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeRepresentationLevel", - "valueCode": "structured" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith", - "valueCanonical": "https://smart.who.int/ccc/Questionnaire/emcare.b7.lti-dangersigns" - } - ], - "url": "https://smart.who.int/ccc/ActivityDefinition/emcare.b7.lti-dangersigns", - "status": "active", - "experimental": false, - "useContext": [ - { - "code": { - "system": "http://terminology.hl7.org/CodeSystem/usage-context-type", - "code": "task" - }, - "valueCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "PATDOC", - "display": "Collect infornation with questionnaire EmCare.B7.LTI-DangerSigns" - } - ] - } - } - ], - "kind": "Task", - "profile": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-questionnairetask", - "code": { - "coding": [ - { - "system": "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type", - "code": "collect-information", - "display": "Collect information" - } - ] - }, - "dynamicValue": [ - { - "path": "input.type", - "expression": { - "language": "text/cql-expression", - "expression": "code" - } - }, - { - "path": "input.value", - "expression": { - "language": "text/cql-expression", - "expression": "extension('http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith').value" - } - } - ] -} \ No newline at end of file diff --git a/input/resources/activitydefinition/activitydefinition-emcarea.registration.p.json b/input/resources/activitydefinition/activitydefinition-emcarea.registration.p.json deleted file mode 100644 index 7dcce4cb..00000000 --- a/input/resources/activitydefinition/activitydefinition-emcarea.registration.p.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "resourceType": "ActivityDefinition", - "id": "emcarea.registration.p", - "extension": [ - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "shareable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "computable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "publishable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeRepresentationLevel", - "valueCode": "structured" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith", - "valueCanonical": "https://smart.who.int/ccc/Questionnaire/emcarea.registration.p" - } - ], - "url": "https://smart.who.int/ccc/ActivityDefinition/emcarea.registration.p", - "status": "active", - "experimental": false, - "useContext": [ - { - "code": { - "system": "http://terminology.hl7.org/CodeSystem/usage-context-type", - "code": "task" - }, - "valueCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "PATDOC", - "display": "Collect infornation with questionnaire EmCareA.Registration.P" - } - ] - } - } - ], - "kind": "Task", - "profile": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-questionnairetask", - "code": { - "coding": [ - { - "system": "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type", - "code": "collect-information", - "display": "Collect information" - } - ] - }, - "dynamicValue": [ - { - "path": "input.type", - "expression": { - "language": "text/cql-expression", - "expression": "code" - } - }, - { - "path": "input.value", - "expression": { - "language": "text/cql-expression", - "expression": "extension('http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith').value" - } - } - ] -} \ No newline at end of file diff --git a/input/resources/activitydefinition/activitydefinition-emcareb.registration.e.json b/input/resources/activitydefinition/activitydefinition-emcareb.registration.e.json deleted file mode 100644 index 435220ec..00000000 --- a/input/resources/activitydefinition/activitydefinition-emcareb.registration.e.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "resourceType": "ActivityDefinition", - "id": "emcareb.registration.e", - "extension": [ - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "shareable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "computable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability", - "valueCode": "publishable" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeRepresentationLevel", - "valueCode": "structured" - }, - { - "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith", - "valueCanonical": "https://smart.who.int/ccc/Questionnaire/emcareb.registration.e" - } - ], - "url": "https://smart.who.int/ccc/ActivityDefinition/emcareb.registration.e", - "status": "active", - "experimental": false, - "useContext": [ - { - "code": { - "system": "http://terminology.hl7.org/CodeSystem/usage-context-type", - "code": "task" - }, - "valueCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "PATDOC", - "display": "Collect infornation with questionnaire EmCareB.Registration.E" - } - ] - } - } - ], - "kind": "Task", - "profile": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-questionnairetask", - "code": { - "coding": [ - { - "system": "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type", - "code": "collect-information", - "display": "Collect information" - } - ] - }, - "dynamicValue": [ - { - "path": "input.type", - "expression": { - "language": "text/cql-expression", - "expression": "code" - } - }, - { - "path": "input.value", - "expression": { - "language": "text/cql-expression", - "expression": "extension('http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-collectWith').value" - } - } - ] -} \ No newline at end of file diff --git a/input/resources/codesystem/codesystem-emcare.json b/input/resources/codesystem/codesystem-Ccc.json similarity index 79% rename from input/resources/codesystem/codesystem-emcare.json rename to input/resources/codesystem/codesystem-Ccc.json index db939a8b..db2ecadb 100644 --- a/input/resources/codesystem/codesystem-emcare.json +++ b/input/resources/codesystem/codesystem-Ccc.json @@ -1,8 +1,8 @@ { "resourceType": "CodeSystem", - "id": "emcare-custom-codes", - "url": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "name": "emcare", + "id": "Ccc-custom-codes", + "url": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "name": "Ccc", "title": "Extended Codes CodeSystem", "status": "draft", "experimental": false, @@ -11,1067 +11,1067 @@ "content": "complete", "concept": [ { - "code": "EmCare.A.DE01", + "code": "Ccc.A.DE01", "display": "National Unique identification", "definition": "Unique identifier provided or a universal ID, if used in the country" }, { - "code": "EmCare.A.DE03", + "code": "Ccc.A.DE03", "display": "Child's Identity unknown/prefer to remain anonymous", "definition": "The client's identity is unknown or the client's prefers to remain anonymous" }, { - "code": "EmCare.A.DE04", + "code": "Ccc.A.DE04", "display": "First Name", "definition": "Client's first name" }, { - "code": "EmCare.A.DE05", + "code": "Ccc.A.DE05", "display": "Middle Name", "definition": "Client's middle name" }, { - "code": "EmCare.A.DE06", + "code": "Ccc.A.DE06", "display": "Last Name", "definition": "Client's family name or last name" }, { - "code": "EmCare.A.DE11", + "code": "Ccc.A.DE11", "display": "Date of Birth not known", "definition": "The client and/or Caregiver does not know the date of birth of the client" }, { - "code": "EmCare.A.DE12", + "code": "Ccc.A.DE12", "display": "Provide an estimated age or estimated date of birth", "definition": "The client/Caregiver will provide an estimated age or estimated date of birth" }, { - "code": "EmCare.A.DE15.1", + "code": "Ccc.A.DE15.1", "display": "Estimated Date of Birth", "definition": "Estimated Date of Birth of the Client" }, { - "code": "EmCare.A.DE08", + "code": "Ccc.A.DE08", "display": "Consolidated Date of Birth", "definition": "Estimated Date of Birth of the Client" }, { - "code": "EmCare.A.DE16", + "code": "Ccc.A.DE16", "display": "Sex", "definition": "The Sex of the client" }, { - "code": "EmCare.A.DE48", + "code": "Ccc.A.DE48", "display": "Caregiver", "definition": "the child could have been created from the mother therefore a relatedpersom may already exist\nselect_one RelatedPerson\ncandidateExpression" }, { - "code": "emcarerelatedpersoncaregiverid" + "code": "Cccrelatedpersoncaregiverid" }, { - "code": "EmCare.A.DE21", + "code": "Ccc.A.DE21", "display": "Caregiver First Name", "definition": "The client's Caregiver's first name" }, { - "code": "EmCare.A.DE22", + "code": "Ccc.A.DE22", "display": "Caregiver Middle Name", "definition": "The client's Caregiver's middle name" }, { - "code": "EmCare.A.DE23", + "code": "Ccc.A.DE23", "display": "Caregiver Last Name", "definition": "The client's Caregiver's last name" }, { - "code": "EmCare.A.DE35", + "code": "Ccc.A.DE35", "display": "Primary Caregiver's Mobile telephone number", "definition": "Client's Caregiver's mobile telephone number" }, { - "code": "EmCare.A.DE24", + "code": "Ccc.A.DE24", "display": "Caregiver's Relationship to Client", "definition": "The relationship of the Caregiver to the client" }, { - "code": "EmCare.A.DE31", + "code": "Ccc.A.DE31", "display": "Biological Mother Vital Status", "definition": "The client's mother and father's vital status" }, { - "code": "EmCare.A.DE32", + "code": "Ccc.A.DE32", "display": "Biological Father Vital Status", "definition": "The client's mother and father's vital status" }, { - "code": "EmCare.A.DE38", + "code": "Ccc.A.DE38", "display": "Caregiver wants to receive SMS or other messages regarding the child's visits and health status", "definition": "The Caregiver wants to receive SMS or other messages regarding the client's contacts/visits and health status" }, { - "code": "EmCare.B3.DE01", + "code": "Ccc.B3.DE01", "display": "Reason for Consultation", "definition": "The reason for the client's consultation" }, { - "code": "EmCare.B3.DE05", + "code": "Ccc.B3.DE05", "display": "Is the child sick Today?", "definition": "The client's visit is for a well child but the child is also presenting as sick" }, { - "code": "EmCare.B3.DE06", + "code": "Ccc.B3.DE06", "display": "Type of Consultation", "definition": "The client's visit is for a new consultation" }, { - "code": "EmCare.B7.DE02", + "code": "Ccc.B7.DE02", "display": "Convulsing Now", "definition": "The client is convulsing now" }, { - "code": "EmCare.B7-B8-B9.DE01", + "code": "Ccc.B7-B8-B9.DE01", "display": "Continue to Assess Sick Child", "definition": "The healthcare worker chooses if they will continue to assess the sick child with a life threatening illness" }, { - "code": "EmCare.B7.DE03", + "code": "Ccc.B7.DE03", "display": "Convulsion(s) in this Illness", "definition": "The client is reported to have had one or more convulsions" }, { - "code": "EmCare.B7.DE08b", + "code": "Ccc.B7.DE08b", "display": "Unconscious or Lethargic", "definition": "The client is unconcious or Lethargic" }, { - "code": "EmCare.B7.DE08", + "code": "Ccc.B7.DE08", "display": "Unconscious", "definition": "The client is unconcious" }, { - "code": "EmCare.B7.DE08a", + "code": "Ccc.B7.DE08a", "display": "Lethargic", "definition": "The client is lethargic" }, { - "code": "EmCare.B7.DE09", + "code": "Ccc.B7.DE09", "display": "Not able to drink or breastfeed", "definition": "The client has reported not to have been able to drink or breastfeed or currently is not able to drink or breastfeed." }, { - "code": "EmCare.B7.DE10", + "code": "Ccc.B7.DE10", "display": "Vomiting Everything", "definition": "The client is reported to be vomiting everything or vomiting but not everything or no vomiting" }, { - "code": "EmCare.B6.DE01", + "code": "Ccc.B6.DE01", "display": "Axillary Temperature (degrees Celcius)", "definition": "The client's axillary temperature in degrees Celsius (temperature taken under the armpit)" }, { - "code": "EmCare.B6.DE04", + "code": "Ccc.B6.DE04", "display": "Thermometer not available", "definition": "A thermometer is not available to accurately measure the client's temperature" }, { - "code": "EmCare.B6.DE05", + "code": "Ccc.B6.DE05", "display": "Hot to Touch", "definition": "The client is hot to touch" }, { - "code": "EmCare.B6.DE01A", + "code": "Ccc.B6.DE01A", "display": "Measured Temperature", "definition": "The client's Temperature has been measured" }, { - "code": "EmCare.B6.DE06", + "code": "Ccc.B6.DE06", "display": "Weight (Kg)", "definition": "The client's weight in Kilograms" }, { - "code": "EmCare.B6.DE07", + "code": "Ccc.B6.DE07", "display": "Weight cannot be measured", "definition": "The client's weight cannot be measured" }, { - "code": "EmCare.B6.DE08", + "code": "Ccc.B6.DE08", "display": "Estimated Weight", "definition": "The client's weight has been estimated - to be used for treatment dosing only" }, { - "code": "EmCare.B6.DE10", + "code": "Ccc.B6.DE10", "display": "Prefer to measure length", "definition": "The health care worker would prefer to measure the client using length" }, { - "code": "EmCare.B6.DE09", + "code": "Ccc.B6.DE09", "display": "Height", "definition": "The client's height in Centimeters" }, { - "code": "EmCare.B6.DE11", + "code": "Ccc.B6.DE11", "display": "Height cannot be measured", "definition": "The client's height cannot be measured" }, { - "code": "EmCare.B6.DE12", + "code": "Ccc.B6.DE12", "display": "Length", "definition": "The client's length in Centimeters" }, { - "code": "EmCare.B6.DE13", + "code": "Ccc.B6.DE13", "display": "Length cannot be measured", "definition": "The client's length cannot be measured" }, { - "code": "EmCare.B6.DE16", + "code": "Ccc.B6.DE16", "display": "Weight for Age (WFA) Z Scores", "definition": "The client's weight for age z score" }, { - "code": "EmCare.B6.DE17", + "code": "Ccc.B6.DE17", "display": "MUAC (mm)", "definition": "The client's Mid Upper Arm Circumference in Millimeters (child \u22656 months old)" }, { - "code": "EmCare.B6.DE17a", + "code": "Ccc.B6.DE17a", "display": "MUAC cannot be measured", "definition": "The client's Mid Upper Arm Circumference cannot be measured" }, { - "code": "EmCare.B6.DE18", + "code": "Ccc.B6.DE18", "display": "Visually assess for whether underweight (for drug dose calculation)", "definition": "The health care worker visually assesses for whether underweight (for drug dosing calculations)" }, { - "code": "EmCare.B7.DE03", + "code": "Ccc.B7.DE03", "display": "Convulsion(s) in this Illness", "definition": "The client is reported to have had one or more convulsions" }, { - "code": "EmCare.B18S1.DE02", + "code": "Ccc.B18S1.DE02", "display": "Difficulty with Feeding", "definition": "The client is reported to have difficulty with Feeding" }, { - "code": "EmCare.B11S1.DE01", + "code": "Ccc.B11S1.DE01", "display": "Diarrhoea", "definition": "The client is reported to have diarrhoea" }, { - "code": "EmCare.B21S1.DE06", + "code": "Ccc.B21S1.DE06", "display": "Breastfed", "definition": "The client is breastfed" }, { - "code": "EmCare.B18S2.DE07", + "code": "Ccc.B18S2.DE07", "display": "Severe Chest Indrawing", "definition": "The client has severe chest indrawing" }, { - "code": "EmCare.B18S2.DE08", + "code": "Ccc.B18S2.DE08", "display": "Movements", "definition": "The health care worker's assessments of the client's movements" }, { - "code": "EmCare.B18S2.DE12", + "code": "Ccc.B18S2.DE12", "display": "Umbilicus Red or Pus Draining", "definition": "The client's umbilicus is red or is draining pus" }, { - "code": "EmCare.B18S2.DE13", + "code": "Ccc.B18S2.DE13", "display": "Skin Pustules", "definition": "The client has skin pustules" }, { - "code": "EmCare.B19S2.DE01", + "code": "Ccc.B19S2.DE01", "display": "Yellow Skin", "definition": "The client has yellow skin" }, { - "code": "EmCare.B19S2.DE02", + "code": "Ccc.B19S2.DE02", "display": "Yellow Palms or Yellow Soles", "definition": "The client has yellow palms or yellow soles" }, { - "code": "EmCare.B19S2.DE04", + "code": "Ccc.B19S2.DE04", "display": "When did the Jaundice first appear?", "definition": "The age at which the Jaundice first appeared" }, { - "code": "EmCare.B11S2.DE01", + "code": "Ccc.B11S2.DE01", "display": "Sunken Eyes", "definition": "The client has sunken eyes" }, { - "code": "EmCare.B11S2.DE02", + "code": "Ccc.B11S2.DE02", "display": "Skin pinch of Abdomen", "definition": "The healthcare worker pinches the skin of the client's abdomen for 1 second and then observes how long the skin takes to return to normal once released" }, { - "code": "EmCare.B11S2.DE06", + "code": "Ccc.B11S2.DE06", "display": "Restless and Irritable", "definition": "The client is restless and irritable" }, { - "code": "EmCare.B21S2.DE01", + "code": "Ccc.B21S2.DE01", "display": "Weight Status", "definition": "The client's weight status" }, { - "code": "EmCare.B21S2.DE05", + "code": "Ccc.B21S2.DE05", "display": "Breastfed how many times in 24 hours?", "definition": "Number of times the client is breastfed in 24 hours" }, { - "code": "EmCare.B21S2.DE06", + "code": "Ccc.B21S2.DE06", "display": "Sufficient feeds", "definition": "Based on the number of feeds during a 24 hour period the result is auto-calculated to determine sufficient feeds" }, { - "code": "EmCare.B21S2.DE08", + "code": "Ccc.B21S2.DE08", "display": "Young Infant receives food or fluids other than breast milk", "definition": "The client is receiving other food or drinks besides breastmilk" }, { - "code": "EmCare.B21S2.DE09", + "code": "Ccc.B21S2.DE09", "display": "What milk is being given as a replacement feed?", "definition": "The health care worker discusses the milk being given to the client as a replacement feed and determines if it is appropriate replacement milk" }, { - "code": "EmCare.B21S2.DE12", + "code": "Ccc.B21S2.DE12", "display": "How many replacement feeds during the day and night (24 hours)?", "definition": "How often the client is receiving replacement feeds during the day and night (24 hours)" }, { - "code": "EmCare.B21S2.DE13", + "code": "Ccc.B21S2.DE13", "display": "Sufficient replacement feeds (in 24 hours)", "definition": "Based on the number of feeds during the day and night (24 hours) the result is auto-calculated to determine sufficient replacement feeds" }, { - "code": "EmCare.B21S2.DE15", + "code": "Ccc.B21S2.DE15", "display": "How much milk is given at each feed (ml)?", "definition": "The amount of milk given to the client at each feed" }, { - "code": "EmCare.B21S2.DE16", + "code": "Ccc.B21S2.DE16", "display": "Sufficient replacement feeds", "definition": "The care giver is giving sufficient replacement feeds" }, { - "code": "EmCare.B21S2.DE18", + "code": "Ccc.B21S2.DE18", "display": "How is the milk prepared?", "definition": "Description of how the milk is prepared for the client's feed" }, { - "code": "EmCare.B21S2.DE21", + "code": "Ccc.B21S2.DE21", "display": "How is the milk given?", "definition": "Description on how the client is given the milk - bottle or cup" }, { - "code": "EmCare.B21S2.DE24", + "code": "Ccc.B21S2.DE24", "display": "How are the feeding utensils cleaned?", "definition": "Description of how the feeding utensils are cleaned" }, { - "code": "EmCare.B21S2.DE27", + "code": "Ccc.B21S2.DE27", "display": "Do you give any breastmilk at all?", "definition": "Does the care giver give the client any breastmilk at all?" }, { - "code": "EmCare.B21S2.DE30", + "code": "Ccc.B21S2.DE30", "display": "Ulcers or White Patches in Mouth", "definition": "The client has ulcers or white patches in the mouth" }, { - "code": "EmCare.B21S2.DE31", + "code": "Ccc.B21S2.DE31", "display": "Unable to check if Ulcers or White Patches in Mouth", "definition": "The healthcare worker is unable to check if the client has ulcers or white patches in the mouth" }, { - "code": "EmCare.B10S1.DE05", + "code": "Ccc.B10S1.DE05", "display": "Cough", "definition": "The client is reported to have or has had a cough" }, { - "code": "EmCare.B10S1.DE06", + "code": "Ccc.B10S1.DE06", "display": "Cough for how long?", "definition": "Length of time the client is reported to have or has had the cough" }, { - "code": "EmCare.B10S1.DE01", + "code": "Ccc.B10S1.DE01", "display": "Difficulty Breathing", "definition": "The client is reported to have or has had difficulty breathing" }, { - "code": "EmCare.B10S1.DE02", + "code": "Ccc.B10S1.DE02", "display": "Difficulty breathing for how long?", "definition": "The length of time the client has or has had difficulty breathing" }, { - "code": "EmCare.B11S1.DE01", + "code": "Ccc.B11S1.DE01", "display": "Diarrhoea", "definition": "The client is reported to have or has had diarrhoea" }, { - "code": "EmCare.B11S1.DE02", + "code": "Ccc.B11S1.DE02", "display": "Diarrhoea for how long?", "definition": "The length of time the client is reported to have or has had diarrhoea" }, { - "code": "EmCare.B11S1.DE05", + "code": "Ccc.B11S1.DE05", "display": "Blood in the stool in this Illness", "definition": "The client is reported to have or has had blood in the stool in this Illness" }, { - "code": "EmCare.B12S1.DE02", + "code": "Ccc.B12S1.DE02", "display": "Fever Reported", "definition": "The client is reported to have or has had fever" }, { - "code": "EmCare.B12S1.DE03", + "code": "Ccc.B12S1.DE03", "display": "Fever for how long?" }, { - "code": "EmCare.B.G.DE06", + "code": "Ccc.B.G.DE06", "display": "Fever" }, { - "code": "EmCare.B12S1.DE06", + "code": "Ccc.B12S1.DE06", "display": "Has Fever been present every day since the Fever started?", "definition": "The client has had fever present every day since the fever started" }, { - "code": "EmCare.B13S1.DE01", + "code": "Ccc.B13S1.DE01", "display": "Ear problem", "definition": "The client is reported to have had or has an ear problem" }, { - "code": "EmCare.B13S1.DE02", + "code": "Ccc.B13S1.DE02", "display": "Ear pain", "definition": "The client is reported to have had or has ear pain" }, { - "code": "EmCare.B13S1.DE03", + "code": "Ccc.B13S1.DE03", "display": "Ear discharge", "definition": "The client is reported to have or has had ear discharge" }, { - "code": "EmCare.B13S1.DE04", + "code": "Ccc.B13S1.DE04", "display": "Ear discharge for how long?", "definition": "The length of time client has or has had ear discharge" }, { - "code": "EmCare.B14S1.DE03", + "code": "Ccc.B14S1.DE03", "display": "Eye Problem", "definition": "The client is reported to have an eye problem" }, { - "code": "EmCare.B14S1.DE01", + "code": "Ccc.B14S1.DE01", "display": "Skin Problem", "definition": "The client is reported to have or has had a skin problem" }, { - "code": "EmCare.B14S1.DE02", + "code": "Ccc.B14S1.DE02", "display": "Itchy Skin", "definition": "The client is reported to have itchy skin" }, { - "code": "EmCare.B22.RespiratoryRate", + "code": "Ccc.B22.RespiratoryRate", "definition": "The client's respiratory rate" }, { - "code": "EmCare.B10S2.DE03", + "code": "Ccc.B10S2.DE03", "display": "Chest Indrawing", "definition": "The client has chest indrawing" }, { - "code": "EmCare.B10S2.DE04", + "code": "Ccc.B10S2.DE04", "display": "Stridor in a calm child", "definition": "The client has stridor in a calm child while the client is at rest" }, { - "code": "EmCare.B10S2.DE05", + "code": "Ccc.B10S2.DE05", "display": "Wheezing", "definition": "The client is wheezing" }, { - "code": "EmCare.B10S2.DE06", + "code": "Ccc.B10S2.DE06", "display": "Recurrent Wheeze", "definition": "The client has experienced recurrent wheeze" }, { - "code": "EmCare.B10S2.DE07", + "code": "Ccc.B10S2.DE07", "display": "Oxygen Saturation", "definition": "The client's oxygen saturation measurement" }, { - "code": "EmCare.B10S2.DE08", + "code": "Ccc.B10S2.DE08", "display": "Oxygen Saturation < 90 %", "definition": "The client's oxygen saturation is less than 90 %" }, { - "code": "EmCare.B11S2.DE01", + "code": "Ccc.B11S2.DE01", "display": "Sunken eyes", "definition": "The client has sunken eyes" }, { - "code": "EmCare.B11S2.DE02", + "code": "Ccc.B11S2.DE02", "display": "Skin pinch of Abdomen", "definition": "The healthcare worker pinches the skin of the client's abdomen for 1 second and then observes how long the skin takes to return to normal once released" }, { - "code": "EmCare.B11S2.DE06", + "code": "Ccc.B11S2.DE06", "display": "Restless and Irritable", "definition": "The client is restless and irritable" }, { - "code": "EmCare.B17S1.DE01", + "code": "Ccc.B17S1.DE01", "display": "Throat problem", "definition": "The client has a throat problem" }, { - "code": "EmCare.B17S1.DE02", + "code": "Ccc.B17S1.DE02", "display": "Specify Throat problem", "definition": "Specify the throat problem the client has" }, { - "code": "EmCare.B17S1.DE06", + "code": "Ccc.B17S1.DE06", "display": "Enlarged lymph nodes on front of neck", "definition": "The client has enlarged lymph node(s) on the front of the neck" }, { - "code": "EmCare.B17S1.DE07", + "code": "Ccc.B17S1.DE07", "display": "Ability to swallow", "definition": "The client's ability to swallow" }, { - "code": "EmCare.B13S2.DE01", + "code": "Ccc.B13S2.DE01", "display": "Tender swelling behind the ear", "definition": "The client has tender swelling behind the ear" }, { - "code": "EmCare.B13S2.DE02", + "code": "Ccc.B13S2.DE02", "display": "Pus Seen Draining from the Ear", "definition": "The client has pus draining from the ear which has been seen by the health care worker" }, { - "code": "EmCare.B13S2.DE03", + "code": "Ccc.B13S2.DE03", "display": "Pus Seen Draining from the Ear for how long?", "definition": "The length of time the client has or has had pus draining from the ear" }, { - "code": "EmCare.B12S2.DE01", + "code": "Ccc.B12S2.DE01", "display": "Stiff neck", "definition": "The client has a stiff neck" }, { - "code": "EmCare.B12S2.DE05", + "code": "Ccc.B12S2.DE05", "display": "Runny nose", "definition": "The client has a Runny nose" }, { - "code": "EmCare.B14S2.DE01", + "code": "Ccc.B14S2.DE01", "display": "Red eyes", "definition": "The client has red eyes" }, { - "code": "EmCare.B14S2.DE02", + "code": "Ccc.B14S2.DE02", "display": "Pus Draining from Eye", "definition": "The client has pus draining from the eye" }, { - "code": "EmCare.B14S2.DE03", + "code": "Ccc.B14S2.DE03", "display": "Clouding of the Cornea", "definition": "The client has clouding of the cornea" }, { - "code": "EmCare.B14S2.DE04", + "code": "Ccc.B14S2.DE04", "display": "Is Clouding of the Cornea a new problem", "definition": "Clouding of the cornea in the client is a new problem" }, { - "code": "EmCare.B14S2.DE05", + "code": "Ccc.B14S2.DE05", "display": "Has Clouding of the Cornea previously been treated", "definition": "Clouding of the cornea has not been previously treated in the client" }, { - "code": "EmCare.B14S2.DE06", + "code": "Ccc.B14S2.DE06", "display": "Generalised or Localised Skin Problem", "definition": "The client has a generalised or localised skin problem" }, { - "code": "EmCare.B14S2.DE10", + "code": "Ccc.B14S2.DE10", "display": "Measles Rash", "definition": "The client has a measles rash" }, { - "code": "EmCare.B14S2.DE11", + "code": "Ccc.B14S2.DE11", "display": "Measles within the last 3 months", "definition": "The client has had measles in the last 3 months" }, { - "code": "EmCare.B14S2.DE12", + "code": "Ccc.B14S2.DE12", "display": "Blisters, Sores or Pustules", "definition": "The client has blisters, sores or pustules" }, { - "code": "EmCare.B14S2.DE13", + "code": "Ccc.B14S2.DE13", "display": "Type of Skin Problem", "definition": "The client has a specific type of skin problem(s)" }, { - "code": "EmCare.B14S2.DE19a", + "code": "Ccc.B14S2.DE19a", "display": "Scalp Infection (tinea capitis)", "definition": "The client has Scalp Infection (tinea capitis)" }, { - "code": "EmCare.B14S2.DE22A", + "code": "Ccc.B14S2.DE22A", "display": "Severe rash", "definition": "The client has severe chickenpox rash" }, { - "code": "EmCare.B14S2.DE23a", + "code": "Ccc.B14S2.DE23a", "display": "Disseminated Herpes Zoster", "definition": "The client has disseminated herpes zoster" }, { - "code": "EmCare.B14S2.DE24", + "code": "Ccc.B14S2.DE24", "display": "Eye Involvement", "definition": "The client has Herpes Zoster with Eye Involvement" }, { - "code": "EmCare.B14S2.DE30", + "code": "Ccc.B14S2.DE30", "display": "Skin Infection extends to Muscle", "definition": "The client has skin infection that extends to muscle" }, { - "code": "EmCare.B14S2.DE30b", + "code": "Ccc.B14S2.DE30b", "display": "Extensive impetigo lesions", "definition": "The client has Extensive impetigo lesions requiring oral antibiotics" }, { - "code": "EmCare.B14S2.DE31a", + "code": "Ccc.B14S2.DE31a", "display": "Extensive molluscum lesions", "definition": "The client has Extensive molluscum lesions" }, { - "code": "EmCare.B14S2.DE31b", + "code": "Ccc.B14S2.DE31b", "display": "Molluscum lesions close to the eye", "definition": "The client has molluscum lesions close to the eye" }, { - "code": "EmCare.B14S2.DE32a", + "code": "Ccc.B14S2.DE32a", "display": "Extensive warts", "definition": "The client has Extensive warts" }, { - "code": "EmCare.B14S2.DE34", + "code": "Ccc.B14S2.DE34", "display": "Severe Seborrhoeic Dermatitis", "definition": "The client has severe Seborrhoeic Dermatitis" }, { - "code": "EmCare.B14S2.DE36a", + "code": "Ccc.B14S2.DE36a", "display": "Secondary bacterial infection of eczema", "definition": "The client has secondary bacterial infection of eczema" }, { - "code": "EmCare.B14S2.DE36b", + "code": "Ccc.B14S2.DE36b", "display": "Severe acute moist or weeping eczema", "definition": "The client has severe acute moist or weeping eczema" }, { - "code": "EmCare.B14S2.DE36c", + "code": "Ccc.B14S2.DE36c", "display": "Secondary herpes infection of eczema (eczema herpeticum)", "definition": "The client has secondary herpes infection of eczema (eczema herpeticum)" }, { - "code": "EmCare.B14S2.DE38", + "code": "Ccc.B14S2.DE38", "display": "Oral sores or Mouth Ulcers", "definition": "The client has oral sores or mouth ulcers" }, { - "code": "EmCare.B14S2.DE43", + "code": "Ccc.B14S2.DE43", "display": "Add a Skin or Mouth or Eye Problem", "definition": "The health care worker would like to add a Skin or Mouth or Eye problem found during the physical exam" }, { - "code": "EmCare.B15S2.DE01", + "code": "Ccc.B15S2.DE01", "display": "Palmar Pallor", "definition": "The client has palmar pallor" }, { - "code": "EmCare.B15S2.DE09", + "code": "Ccc.B15S2.DE09", "display": "Mucous membrane pallor", "definition": "The client has Mucous membrane pallor" }, { - "code": "EmCare.B22.DE08", + "code": "Ccc.B22.DE08", "display": "Oral Fluid Test Results", "definition": "Oral Fluid Test Results" }, { - "code": "EmCare.B22.DE14", + "code": "Ccc.B22.DE14", "display": "Unable to Perform Oral Fluid Test", "definition": "The healthcare worker is Unable to Perform Oral Fluid Test" }, { - "code": "EmCare.B22.DE14a", + "code": "Ccc.B22.DE14a", "display": "Completely Unable to Drink or Vomits Immediately / Everything", "definition": "When are present when the healthcare worker is Unable to Perform Oral Fluid Test it is assumed that the client is completely unable to drink or vomits immediately / everything" }, { - "code": "EmCare.B22.DE15", + "code": "Ccc.B22.DE15", "display": "Has the Child had anything to drink today?", "definition": "The health care worker asks the caregiver if the client has had anything to drink today" }, { - "code": "EmCare.B22.DE16", + "code": "Ccc.B22.DE16", "display": "How did the child last drink", "definition": "The health care worker asks the caregiver how did the client last drink" }, { - "code": "EmCare.B22.DE01", + "code": "Ccc.B22.DE01", "display": "Respiratory Rate (breaths per minute)", "definition": "The client's respiratory rate for client's aged 2 months or more" }, { - "code": "EmCare.B22.DE02", + "code": "Ccc.B22.DE02", "display": "Unable to perform Respiratory Rate at this time", "definition": "The client's respiratory rate could not be measured at this time (all ages)" }, { - "code": "EmCare.B22.DE04", + "code": "Ccc.B22.DE04", "display": "Respiratory Rate Second Count (breaths per minute)", "definition": "The client's respiratory rate for the second Count" }, { - "code": "EmCare.B22.DE05", + "code": "Ccc.B22.DE05", "display": "Respiratory Rate Second Count Not Possible", "definition": "The client's respiratory rate for the second Count was not possible" }, { - "code": "EmCare.B22.DE07", + "code": "Ccc.B22.DE07", "display": "Fast Breathing", "definition": "The client has fast breathing - auto-calculated based on the respiratory rate and the age of the client - 60 breaths per minute or more (<2 months) after 2 respiratory rate measurements" }, { - "code": "EmCare.B22.DE17", + "code": "Ccc.B22.DE17", "display": "Inhaled Bronchodilator Trial Results", "definition": "The Inhaled bronchodilator trial test results" }, { - "code": "EmCare.B22.DE22", + "code": "Ccc.B22.DE22", "display": "Inhaled Bronchodilator Trial Not Feasible or Available" }, { - "code": "EmCare.B22.DE21", + "code": "Ccc.B22.DE21", "display": "No Fast Breathing and No Chest Indrawing (post Inhaled Bronchodilator Trial)", "definition": "The client has no fast breathing and no chest indrawing" }, { - "code": "EmCare.B22.DE27", + "code": "Ccc.B22.DE27", "display": "Breastfeeding Assessment", "definition": "Breastfeeding Assessment to ensure the client does not have difficulty breastfeeding" }, { - "code": "EmCare.B22.DE41", + "code": "Ccc.B22.DE41", "display": "Breastfeeding Assessment Not Possible", "definition": "The breastfeeding assessment was not possible" }, { - "code": "EmCare.B22.DE28", + "code": "Ccc.B22.DE28", "display": "Breastfed in the previous hour", "definition": "The client has breastfed in the previous hour" }, { - "code": "EmCare.B22.DE29", + "code": "Ccc.B22.DE29", "display": "Mother able to wait until young infant is willing to breastfeed again", "definition": "The client's mother is able to wait until young infant is willing to breastfeed again" }, { - "code": "EmCare.B22.DE30", + "code": "Ccc.B22.DE30", "display": "Mother reports difficulty breastfeeding", "definition": "The client's mother reports that there is difficulty breastfeeding (not observed)" }, { - "code": "EmCare.B22.DE31", + "code": "Ccc.B22.DE31", "display": "Chin Touching Breast", "definition": "The client's chin is touching the breast" }, { - "code": "EmCare.B22.DE32", + "code": "Ccc.B22.DE32", "display": "Mouth Wide Open", "definition": "The client's mouth is wide open" }, { - "code": "EmCare.B22.DE33", + "code": "Ccc.B22.DE33", "display": "Lower Lip Turned Outwards", "definition": "The client's lower lip is turned outwards" }, { - "code": "EmCare.B22.DE34", + "code": "Ccc.B22.DE34", "display": "More Areola Visible above than below the Mouth", "definition": "The mother has more areola visible above than below the client's mouth" }, { - "code": "EmCare.B22.DE35", + "code": "Ccc.B22.DE35", "display": "Slow Deep Sucks, Sometimes Pausing", "definition": "The client is taking slow deep sucks, sometimes pausing" }, { - "code": "EmCare.B22.DE36", + "code": "Ccc.B22.DE36", "display": "Breastfeeding Assessment Results", "definition": "The client's breastfeeding results" }, { - "code": "EmCare.B22.DE42", + "code": "Ccc.B22.DE42", "display": "Difficulty Breastfeeding Reported", "definition": "The breastfeeding assessment was not observed however the caregiver has reported difficulty breastfeeding" }, { - "code": "EmCare.B22.DE44", + "code": "Ccc.B22.DE44", "display": "Difficulty Breastfeeding Observed", "definition": "The healthcare worker has observed that the client has difficulty breastfeeding" }, { - "code": "EmCare.B22.DE47", + "code": "Ccc.B22.DE47", "display": "Axillary Temperature (second measurement)", "definition": "The client's axillary temperature (second measurement) in degrees Celcius (temperature taken under the armpit)" }, { - "code": "EmCare.B22.DE46", + "code": "Ccc.B22.DE46", "display": "Second Temperature Measurement Not Feasible", "definition": "The client's second temperature measurement is feasible" }, { - "code": "EmCare.B22.DE50", + "code": "Ccc.B22.DE50", "display": "Measured Temperature (second measurement)" }, { - "code": "EmCare.B23.DE83", + "code": "Ccc.B23.DE83", "display": "Possible Serious Bacterial Infection OR Very Severe Disease" }, { - "code": "EmCare.B23.DE06", + "code": "Ccc.B23.DE06", "display": "Pneumonia" }, { - "code": "EmCare.B23.DE85", + "code": "Ccc.B23.DE85", "display": "Local Infection" }, { - "code": "EmCare.B23.DE86", + "code": "Ccc.B23.DE86", "display": "Infection Unlikely" }, { - "code": "EmCare.B23.DE106", + "code": "Ccc.B23.DE106", "display": "Very Low Weight for Age" }, { - "code": "EmCare.B23.DE87", + "code": "Ccc.B23.DE87", "display": "Severe Jaundice" }, { - "code": "EmCare.B23.DE88", + "code": "Ccc.B23.DE88", "display": "Jaundice" }, { - "code": "EmCare.B23.DE89", + "code": "Ccc.B23.DE89", "display": "No Jaundice" }, { - "code": "EmCare.B23.DE13", + "code": "Ccc.B23.DE13", "display": "Severe Dehydration" }, { - "code": "EmCare.B23.DE14", + "code": "Ccc.B23.DE14", "display": "Some Dehydration" }, { - "code": "EmCare.B23.DE15", + "code": "Ccc.B23.DE15", "display": "No Dehydration" }, { - "code": "EmCare.B23.DE94", + "code": "Ccc.B23.DE94", "display": "Feeding Problem and / or Low Weight for Age" }, { - "code": "EmCare.B23.DE98", + "code": "Ccc.B23.DE98", "display": "No Feeding Problem" }, { - "code": "EmCare.B23.DE01", + "code": "Ccc.B23.DE01", "display": "Very Severe Disease" }, { - "code": "EmCare.B23.DE03", + "code": "Ccc.B23.DE03", "display": "Severe Pneumonia or Very Severe Disease" }, { - "code": "EmCare.B23.DE04_l", + "code": "Ccc.B23.DE04_l", "display": "with low oxygen saturation (SPO2 < 90%)" }, { - "code": "EmCare.B23.DE05_l", + "code": "Ccc.B23.DE05_l", "display": "with wheezing" }, { - "code": "EmCare.B23.DE06", + "code": "Ccc.B23.DE06", "display": "Pneumonia", "definition": "The client has Pneumonia" }, { - "code": "EmCare.B23.DE05_l", + "code": "Ccc.B23.DE05_l", "display": "with wheezing", "definition": "The client has Pneumonia with wheezing" }, { - "code": "EmCare.B23.DE08_l", + "code": "Ccc.B23.DE08_l", "display": "with cough or difficulty breathing for 14 days or more or recurrent wheeze", "definition": "The client has Pneumonia with cough or difficulty breathing for 14 days or more or recurrent wheeze" }, { - "code": "EmCare.B23.DE10", + "code": "Ccc.B23.DE10", "display": "Cough or Cold", "definition": "The client has Cough or Cold" }, { - "code": "EmCare.B23.DE05_l", + "code": "Ccc.B23.DE05_l", "display": "with wheezing", "definition": "The client has Cough or Cold with wheezing" }, { - "code": "EmCare.B23.DE08_l", + "code": "Ccc.B23.DE08_l", "display": "with cough or difficulty breathing for 14 days or more or recurrent wheeze", "definition": "The client has with cough for more than 14 days or difficulty breathing for more than 14 days or recurrent wheeze" }, { - "code": "EmCare.B23.DE13", + "code": "Ccc.B23.DE13", "display": "Severe Dehydration" }, { - "code": "EmCare.B23.DE14", + "code": "Ccc.B23.DE14", "display": "Some Dehydration" }, { - "code": "EmCare.B23.DE15", + "code": "Ccc.B23.DE15", "display": "No Dehydration" }, { - "code": "EmCare.B23.DE16", + "code": "Ccc.B23.DE16", "display": "Severe Persistent Diarrhoea", "definition": "The client has Severe Persistent Diarrhoea" }, { - "code": "EmCare.B23.DE17", + "code": "Ccc.B23.DE17", "display": "Persistent Diarrhoea", "definition": "The client has Persistent Diarrhoea" }, { - "code": "EmCare.B23.DE18", + "code": "Ccc.B23.DE18", "display": "Dysentery", "definition": "The client has Dysentery" }, { - "code": "EmCare.B23.DE18.a", + "code": "Ccc.B23.DE18.a", "display": "Possible Shigella", "definition": "The client has Possible Shigella" }, { - "code": "EmCare.B23.DE100", + "code": "Ccc.B23.DE100", "display": "Throat Abscess or Possible Diptheria" }, { - "code": "EmCare.B23.DE6101", + "code": "Ccc.B23.DE6101", "display": "Streptococcal Sore Throat" }, { - "code": "EmCare.B23.DE6102", + "code": "Ccc.B23.DE6102", "display": "Non-Streptococcal Sore Throat" }, { - "code": "EmCare.B23.DE6103", + "code": "Ccc.B23.DE6103", "display": "No Throat Problem" }, { - "code": "EmCare.B23.DE30", + "code": "Ccc.B23.DE30", "display": "Mastoiditis" }, { - "code": "EmCare.B23.DE31", + "code": "Ccc.B23.DE31", "display": "Acute Ear Infection" }, { - "code": "EmCare.B23.DE32", + "code": "Ccc.B23.DE32", "display": "Chronic Ear Infection" }, { - "code": "EmCare.B23.DE32a_l", + "code": "Ccc.B23.DE32a_l", "display": "with ear pain or fever" }, { - "code": "EmCare.B23.DE33", + "code": "Ccc.B23.DE33", "display": "No Ear Infection" }, { - "code": "EmCare.B23.DE19", + "code": "Ccc.B23.DE19", "display": "Very Severe Febrile Disease" }, { - "code": "EmCare.B23.DE104", + "code": "Ccc.B23.DE104", "display": "Fever: possible bacterial infection" }, { - "code": "EmCare.B23.DE26a_l", + "code": "Ccc.B23.DE26a_l", "display": "Fever present every day for 7 Days or more" }, { - "code": "EmCare.B23.DE105", + "code": "Ccc.B23.DE105", "display": "Fever: bacterial infection unlikely" }, { - "code": "EmCare.B23.DE27", + "code": "Ccc.B23.DE27", "display": "Severe Complicated Measles" }, { - "code": "EmCare.B23.DE28", + "code": "Ccc.B23.DE28", "display": "Measles with Eye or Mouth Complication" }, { - "code": "EmCare.B23.DE29", + "code": "Ccc.B23.DE29", "display": "Possible Measles" }, { - "code": "EmCare.B23.DE62", + "code": "Ccc.B23.DE62", "display": "Severe Anaemia" }, { - "code": "EmCare.B23.DE63", + "code": "Ccc.B23.DE63", "display": "Anaemia" }, { - "code": "EmCare.B23.DE64", + "code": "Ccc.B23.DE64", "display": "No Anaemia" }, { - "code": "EmCare.B23.DE34", + "code": "Ccc.B23.DE34", "display": "Eye Infection" }, { - "code": "EmCare.B23.DE35", + "code": "Ccc.B23.DE35", "display": "Clouding of the Cornea" }, { - "code": "EmCare.B23.DE36_l", + "code": "Ccc.B23.DE36_l", "display": "New or not previously treated" }, { - "code": "EmCare.B23.DE41", + "code": "Ccc.B23.DE41", "display": "Papular Urticaria or Papular Pruritic Eruptions" }, { - "code": "EmCare.B23.DE42", + "code": "Ccc.B23.DE42", "display": "Ringworm (Tinea)" }, { @@ -1079,11 +1079,11 @@ "display": "Scalp Infection (tinea capitis)" }, { - "code": "EmCare.B23.DE44", + "code": "Ccc.B23.DE44", "display": "Scabies" }, { - "code": "EmCare.B23.DE45", + "code": "Ccc.B23.DE45", "display": "Chickenpox" }, { @@ -1095,7 +1095,7 @@ "display": "with Pneumonia" }, { - "code": "EmCare.B23.DE47", + "code": "Ccc.B23.DE47", "display": "Herpes Zoster" }, { @@ -1107,7 +1107,7 @@ "display": "with Disseminated Herpes Zoste" }, { - "code": "EmCare.B23.DE49", + "code": "Ccc.B23.DE49", "display": "Impetigo" }, { @@ -1119,7 +1119,7 @@ "display": "with extensive lesions" }, { - "code": "EmCare.B23.DE52", + "code": "Ccc.B23.DE52", "display": "Molluscum Contagiosum" }, { @@ -1127,7 +1127,7 @@ "display": "with extensive lesions or lesions close to the eye" }, { - "code": "EmCare.B23.DE53", + "code": "Ccc.B23.DE53", "display": "Warts" }, { @@ -1135,7 +1135,7 @@ "display": "Extensive warts" }, { - "code": "EmCare.B23.DE54", + "code": "Ccc.B23.DE54", "display": "Seborrhoeic Dermatitis" }, { @@ -1143,11 +1143,11 @@ "display": "Severe Seborrhoeic Dermatitis" }, { - "code": "EmCare.B23.DE56", + "code": "Ccc.B23.DE56", "display": "Fixed Drug Reaction" }, { - "code": "EmCare.B23.DE57", + "code": "Ccc.B23.DE57", "display": "Eczema" }, { @@ -1163,11 +1163,11 @@ "display": "Secondary herpes infection (eczema herpeticum)" }, { - "code": "EmCare.B23.DE58", + "code": "Ccc.B23.DE58", "display": "Steven Johnson Syndrome (SJS)" }, { - "code": "EmCare.B23.DE59", + "code": "Ccc.B23.DE59", "display": "Mouth Sores or Ulcer" }, { @@ -1175,108 +1175,108 @@ "display": "Deep or Extensive" }, { - "code": "EmCare.B23.DE61", + "code": "Ccc.B23.DE61", "display": "Oral Thrush" }, { - "code": "EmCare.B23.DE106", + "code": "Ccc.B23.DE106", "display": "Very Low Weight for Age" }, { - "code": "EmCare.B23.DE107", + "code": "Ccc.B23.DE107", "display": "Low Weight for Age" }, { - "code": "EmCare.B23.DE108", + "code": "Ccc.B23.DE108", "display": "Low MUAC or visual report of wasting" }, { - "code": "EmCare.A.DE17", + "code": "Ccc.A.DE17", "display": "female", "definition": "The client is Female" }, { - "code": "EmCare.A.DE18", + "code": "Ccc.A.DE18", "display": "male", "definition": "The client is Male" }, { - "code": "EmCare.A.DE19", + "code": "Ccc.A.DE19", "display": "not specified", "definition": "The client's sex is not specified" }, { - "code": "EmCare.A.DE13", + "code": "Ccc.A.DE13", "display": "estimated age in years/months for child (2 months or older)", "definition": "The age of the client is estimated based on physical evidence" }, { - "code": "EmCare.A.DE14", + "code": "Ccc.A.DE14", "display": "estimated age in weeks/days for young infant (under 2 months old)", "definition": "The Caregiver provides the age in weeks/days/hours" }, { - "code": "EmCare.A.DE15", + "code": "Ccc.A.DE15", "display": "estimated date of birth", "definition": "Estimated Date of Birth of the Client" }, { - "code": "EmCare.A.DE25", + "code": "Ccc.A.DE25", "display": "mother", "definition": "The Caregiver is the client's mother" }, { - "code": "EmCare.A.DE26", + "code": "Ccc.A.DE26", "display": "father", "definition": "The Caregiver is the client's father" }, { - "code": "EmCare.A.DE27", + "code": "Ccc.A.DE27", "display": "sibling", "definition": "The Caregiver is the client's sibling" }, { - "code": "EmCare.A.DE28", + "code": "Ccc.A.DE28", "display": "extended family", "definition": "The Caregiver is the client's extended family" }, { - "code": "EmCare.A.DE29", + "code": "Ccc.A.DE29", "display": "legal guardian", "definition": "The Caregiver is the client's legal guardian" }, { - "code": "EmCare.A.DE30", + "code": "Ccc.A.DE30", "display": "not related", "definition": "The Caregiver is not related to the client" }, { - "code": "EmCare.A.DE46", + "code": "Ccc.A.DE46", "display": "dead", "definition": "Biological Mother or Father dead" }, { - "code": "EmCare.A.DE34", + "code": "Ccc.A.DE34", "display": "alive", "definition": "Biological Mother or Father Alive" }, { - "code": "EmCare.B2.DE02", + "code": "Ccc.B2.DE02", "display": "planned", "definition": "The visit is planned" }, { - "code": "EmCare.B2.DE03", + "code": "Ccc.B2.DE03", "display": "unplanned", "definition": "The visit is unplanned" }, { - "code": "EmCare.B3.DE03", + "code": "Ccc.B3.DE03", "display": "sick child", "definition": "The client's visit is for a sick child consultation" }, { - "code": "EmCare.B3.DE04", + "code": "Ccc.B3.DE04", "display": "routine visit (well child/infant)", "definition": "The client's visit is for a well child consultation" }, @@ -1291,7 +1291,7 @@ "definition": "No" }, { - "code": "EmCare.A.DE33", + "code": "Ccc.A.DE33", "display": "unknown", "definition": "Unknown" }, @@ -1306,47 +1306,47 @@ "definition": "Disagree" }, { - "code": "EmCare.B3.DE07", + "code": "Ccc.B3.DE07", "display": "initial visit", "definition": "The client's visit is for a new consultation" }, { - "code": "EmCare.B3.DE08", + "code": "Ccc.B3.DE08", "display": "follow up", "definition": "The client's visit is for a follow up consultation" }, { - "code": "EmCare.B12S1.DE05", + "code": "Ccc.B12S1.DE05", "display": "7 days or more", "definition": "The client has had fever for 7 days or more" }, { - "code": "EmCare.B12S1.DE04", + "code": "Ccc.B12S1.DE04", "display": "less than 7 days", "definition": "The client has had fever for less than 7 days" }, { - "code": "EmCare.B10S1.DE08", + "code": "Ccc.B10S1.DE08", "display": "14 days or more", "definition": "The client has had ear discharge for 14 days or more" }, { - "code": "EmCare.B10S1.DE07", + "code": "Ccc.B10S1.DE07", "display": "less than 14 days", "definition": "The client has had ear discharge for less than 14 days" }, { - "code": "EmCare.B10S2.DE09", + "code": "Ccc.B10S2.DE09", "display": "oxygen saturation not measured", "definition": "The clients oxygen saturation was not measured" }, { - "code": "EmCare.B7.DE06", + "code": "Ccc.B7.DE06", "display": "two or more convulsions", "definition": "The client is reported to have had two or more convulsions in this illness" }, { - "code": "EmCare.B7.DE05", + "code": "Ccc.B7.DE05", "display": "one convulsion", "definition": "The client is reported to have had one convulsion in this illness" }, @@ -1368,397 +1368,397 @@ "display": "very high" }, { - "code": "EmCare.B20S2.DE03", + "code": "Ccc.B20S2.DE03", "display": "skin pinch goes back very slowly (more than 2 seconds)", "definition": "The client's skin goes back very slowly after Skin pinch of Abdomen (More than 2 seconds)" }, { - "code": "EmCare.B20S2.DE04", + "code": "Ccc.B20S2.DE04", "display": "skin pinch goes back slowly (2 seconds or fewer, but not immediately)", "definition": "The client's skin goes back slowly after Skin pinch of Abdomen (2 seconds or fewer, but not immediately)" }, { - "code": "EmCare.B20S2.DE05", + "code": "Ccc.B20S2.DE05", "display": "skin pinch goes back normally (immediately)", "definition": "The client's skin goes back normally after Skin pinch of Abdomen (immediately)" }, { - "code": "EmCare.B14S2.DE41", + "code": "Ccc.B14S2.DE41", "display": "mouth sores or mouth ulcers - deep and extensive", "definition": "The client has mouth sores or mouth ulcers that are deep and extensive" }, { - "code": "EmCare.B14S2.DE42", + "code": "Ccc.B14S2.DE42", "display": "mouth sores or mouth ulcers - not deep and extensive", "definition": "The client has mouth sores or mouth ulcers that are not deep and extensive" }, { - "code": "EmCare.B14S2.DE40", + "code": "Ccc.B14S2.DE40", "display": "oral thrush", "definition": "The client has oral thrush" }, { - "code": "EmCare.B14S2.DE39", + "code": "Ccc.B14S2.DE39", "display": "no oral sores or mouth ulcers", "definition": "The client is not reported to have oral sores or mouth ulcers" }, { - "code": "EmCare.B15S2.DE02", + "code": "Ccc.B15S2.DE02", "display": "severe palmar pallor", "definition": "The client has severe palmar pallor" }, { - "code": "EmCare.B15S2.DE03", + "code": "Ccc.B15S2.DE03", "display": "some palmar pallor", "definition": "The client has some palmar pallor" }, { - "code": "EmCare.B15S2.DE04", + "code": "Ccc.B15S2.DE04", "display": "no palmar pallor", "definition": "The client has no palmar pallor" }, { - "code": "EmCare.B18S1.DE03", + "code": "Ccc.B18S1.DE03", "display": "not able to feed at all", "definition": "The client is reported not to be able to feed at all" }, { - "code": "EmCare.B18S1.DE04", + "code": "Ccc.B18S1.DE04", "display": "not feeding well", "definition": "The client is reported to not be feeding well" }, { - "code": "EmCare.B18S1.DE05", + "code": "Ccc.B18S1.DE05", "display": "feeding well", "definition": "The client is reported to be feeding well" }, { - "code": "EmCare.B18S2.DE11", + "code": "Ccc.B18S2.DE11", "display": "moves on his or her own or moves spontaneously or without stimulation", "definition": "The client moves on his or her own or moves spontaneously or without stimulation" }, { - "code": "EmCare.B18S2.DE10", + "code": "Ccc.B18S2.DE10", "display": "movement only when stimulated but then stops", "definition": "The client has movement but only when stimulated and then movement stops" }, { - "code": "EmCare.B18S2.DE09", + "code": "Ccc.B18S2.DE09", "display": "no movement at all", "definition": "The client has no movement at all even after stimulation" }, { - "code": "EmCare.B19S2.DE05", + "code": "Ccc.B19S2.DE05", "display": "within less than 24 hours of birth", "definition": "The client's Jaundice appeared less than 24 hours after birth" }, { - "code": "EmCare.B19S2.DE06", + "code": "Ccc.B19S2.DE06", "display": "24 hours or more after birth", "definition": "The client's Jaundice appeared 24 hours or more after birth" }, { - "code": "EmCare.B19S2.DE07", + "code": "Ccc.B19S2.DE07", "display": "unknown when jaundice first appeared", "definition": "The caregiver does not know when the Jaundice first appeared if it is a first visit for jaundice and in the first 3 weeks of life" }, { - "code": "EmCare.B21S2.DE02", + "code": "Ccc.B21S2.DE02", "display": "very low weight for age", "definition": "The client has a very low weight for age (Weight < 2Kg and <7 Days old)" }, { - "code": "EmCare.B21S2.DE03", + "code": "Ccc.B21S2.DE03", "display": "low weight for age", "definition": "The client has a low weight for age (derived from a WFA Z Score is < -2)" }, { - "code": "EmCare.B21S2.DE04", + "code": "Ccc.B21S2.DE04", "display": "normal weight for age", "definition": "The client is a normal weight for age (derived from a normal WFA Z Score is \u2265 -2" }, { - "code": "EmCare.B21S2.DE28", + "code": "Ccc.B21S2.DE28", "display": "breastmilk also given", "definition": "Breastmilk is also given to the client by the care giver" }, { - "code": "EmCare.B7-B8-B9.DE03", + "code": "Ccc.B7-B8-B9.DE03", "display": "end consultation", "definition": "The client has not been stabilised and the healthcare worker willend the consultation" }, { - "code": "EmCare.B7-B8-B9.DE02", + "code": "Ccc.B7-B8-B9.DE02", "display": "stabilised, continue consultation", "definition": "The client has been stabilised and the healthcare worker will continue the consultation" }, { - "code": "EmCare.B21S1.DE02", + "code": "Ccc.B21S1.DE02", "display": "mother hiv positive", "definition": "The client's mother is HIV positive" }, { - "code": "EmCare.B21S1.DE03", + "code": "Ccc.B21S1.DE03", "display": "mother hiv negative", "definition": "The client's mother is HIV negative" }, { - "code": "EmCare.B21S1.DE04", + "code": "Ccc.B21S1.DE04", "display": "mother hiv status - unknown or not tested", "definition": "The client's mother's HIV Status is unknown or not tested" }, { - "code": "EmCare.B21S1.DE05", + "code": "Ccc.B21S1.DE05", "display": "mother hiv status - decline to answer", "definition": "The client's mother has declined to answer regarging HIV Status" }, { - "code": "EmCare.B21S2.DE19", + "code": "Ccc.B21S2.DE19", "display": "correct and hygienic feed preparation", "definition": "The care giver is preparing the milk correctly and hygenically" }, { - "code": "EmCare.B21S2.DE20", + "code": "Ccc.B21S2.DE20", "display": "incorrect or unhygienic feed preparation", "definition": "The care giver is not preparing the milk correctly and hygenically" }, { - "code": "EmCare.B21S2.DE22", + "code": "Ccc.B21S2.DE22", "display": "cup", "definition": "The milk is given to the client using a cup" }, { - "code": "EmCare.B21S2.DE23", + "code": "Ccc.B21S2.DE23", "display": "bottle", "definition": "The milk is given to the client using a bottle" }, { - "code": "EmCare.B21S2.DE26", + "code": "Ccc.B21S2.DE26", "display": "feeding utensils not cleaned hygienically", "definition": "The care giver is not cleaning the feeding utensils hygienically" }, { - "code": "EmCare.B21S2.DE25", + "code": "Ccc.B21S2.DE25", "display": "feeding utensils cleaned hygienically", "definition": "The care giver is cleaning the feeding utensils hygienically" }, { - "code": "EmCare.B17.DE06", + "code": "Ccc.B17.DE06", "display": "yes, date documented, but not here", "definition": "The caregiver is able to provide the Vitamin A supplement date but not Today" }, { - "code": "EmCare.B17.DE07", + "code": "Ccc.B17.DE07", "display": "no, but last dose given less than 1 month ago", "definition": "The caregiver is able to tell the healthcare worker that the last dose was given less than 1 month ago" }, { - "code": "EmCare.B17.DE08", + "code": "Ccc.B17.DE08", "display": "no, but last dose given between 1 and 6 months ago", "definition": "The caregiver is able to tell the healthcare worker that the last dose was given between 1 and 5 months ago" }, { - "code": "EmCare.B17.DE09", + "code": "Ccc.B17.DE09", "display": "no, but last dose given more than 6 months ago", "definition": "The caregiver is able to tell the healthcare worker that the last dose was given more than 6 months ago" }, { - "code": "EmCare.B17.DE10", + "code": "Ccc.B17.DE10", "display": "no, do not know when last dose was given", "definition": "The caregiver is not able to tell the healthcare worker when the last dose was given" }, { - "code": "EmCare.B17.DE23", + "code": "Ccc.B17.DE23", "display": "high hiv risk", "definition": "The client is in an area of HIV prevalence of high HIV risk." }, { - "code": "EmCare.B17.DE24", + "code": "Ccc.B17.DE24", "display": "low hiv risk", "definition": "The client is in an area of HIV prevalence of low HIV risk." }, { - "code": "EmCare.B17.DE31", + "code": "Ccc.B17.DE31", "display": "child hiv positive - virological", "definition": "The client is HIV Positive (Virological Test)" }, { - "code": "EmCare.B17.DE32", + "code": "Ccc.B17.DE32", "display": "child hiv positive - serological", "definition": "The client is HIV Positive (Serological Test)" }, { - "code": "EmCare.B17.DE33", + "code": "Ccc.B17.DE33", "display": "child hiv positive - unknown type of test", "definition": "The client is HIV Positive (Unknown Type of Test)" }, { - "code": "EmCare.B17.DE34", + "code": "Ccc.B17.DE34", "display": "child hiv negative", "definition": "The client is HIV Negative" }, { - "code": "EmCare.B17.DE35", + "code": "Ccc.B17.DE35", "display": "child hiv status - unknown or not tested", "definition": "The client's HIV Status is unknown or the client has not been tested" }, { - "code": "EmCare.B17.DE36", + "code": "Ccc.B17.DE36", "display": "child hiv status - decline to answer", "definition": "The client has delined to answer regarding HIV Status" }, { - "code": "EmCare.B17.DE46", + "code": "Ccc.B17.DE46", "display": "yes", "definition": "The client has received all vaccinations for age" }, { - "code": "EmCare.B17.DE47", + "code": "Ccc.B17.DE47", "display": "no, incomplete vaccination", "definition": "The client has not received all vaccinations for age" }, { - "code": "EmCare.B17.DE48", + "code": "Ccc.B17.DE48", "display": "no, the child has never received any vaccinations to date", "definition": "The client has never received any vaccinations to date" }, { - "code": "EmCare.B17.DE49", + "code": "Ccc.B17.DE49", "display": "unknown", "definition": "It is not known if the client has received any vaccination" }, { - "code": "EmCare.B17.DE51", + "code": "Ccc.B17.DE51", "display": "bcg", "definition": "Data Element to appear so that the healthcare worker can see which vaccines the client should have received for their age" }, { - "code": "EmCare.B17.DE52", + "code": "Ccc.B17.DE52", "display": "opv", "definition": "Data Element to appear so that the healthcare worker can see which vaccines the client should have received for their age" }, { - "code": "EmCare.B17.DE53", + "code": "Ccc.B17.DE53", "display": "hep b", "definition": "Data Element to appear so that the healthcare worker can see which vaccines the client should have received for their age" }, { - "code": "EmCare.B17.DE54", + "code": "Ccc.B17.DE54", "display": "dpt", "definition": "Data Element to appear so that the healthcare worker can see which vaccines the client should have received for their age" }, { - "code": "EmCare.B17.DE55", + "code": "Ccc.B17.DE55", "display": "dpt 18 month booster", "definition": "Data Element to appear so that the healthcare worker can see which vaccines the client should have received for their age" }, { - "code": "EmCare.B17.DE56", + "code": "Ccc.B17.DE56", "display": "hib", "definition": "Data Element to appear so that the healthcare worker can see which vaccines the client should have received for their age" }, { - "code": "EmCare.B17.DE57", + "code": "Ccc.B17.DE57", "display": "rtv", "definition": "Data Element to appear so that the healthcare worker can see which vaccines the client should have received for their age" }, { - "code": "EmCare.B17.DE58", + "code": "Ccc.B17.DE58", "display": "pcv", "definition": "Data Element to appear so that the healthcare worker can see which vaccines the client should have received for their age" }, { - "code": "EmCare.B17.DE59", + "code": "Ccc.B17.DE59", "display": "pcv booster 1 for confirmed hiv infection", "definition": "Data Element to appear so that the healthcare worker can see which vaccines the client should have received for their age" }, { - "code": "EmCare.B17.DE60", + "code": "Ccc.B17.DE60", "display": "pcv booster 2 for confirmed hiv infection", "definition": "Data Element to appear so that the healthcare worker can see which vaccines the client should have received for their age" }, { - "code": "EmCare.B17.DE61", + "code": "Ccc.B17.DE61", "display": "measles", "definition": "Data Element to appear so that the healthcare worker can see which vaccines the client should have received for their age" }, { - "code": "EmCare.B22.DE09", + "code": "Ccc.B22.DE09", "display": "completely unable to drink", "definition": "The client is completely unable to drink" }, { - "code": "EmCare.B22.DE10", + "code": "Ccc.B22.DE10", "display": "vomits immediately / everything", "definition": "The client vomits immediately / everything" }, { - "code": "EmCare.B22.DE11", + "code": "Ccc.B22.DE11", "display": "drinks poorly", "definition": "The client drinks poorly" }, { - "code": "EmCare.B22.DE12", + "code": "Ccc.B22.DE12", "display": "drinks eagerly / thirstily", "definition": "The client drinks eagerly / thirstily" }, { - "code": "EmCare.B22.DE13", + "code": "Ccc.B22.DE13", "display": "drinks normally", "definition": "The client drinks normally" }, { - "code": "EmCare.B22.DE24", + "code": "Ccc.B22.DE24", "display": "able to finish rutf", "definition": "The client was able to finish the RUTF (the client was able to finish the minimum amount of RTUF (at least one-third of a packet of RUTF portion (92g) or 3 teaspoons from a pot within 30 minutes)" }, { - "code": "EmCare.B22.DE25", + "code": "Ccc.B22.DE25", "display": "unable to finish rutf", "definition": "The client was unable to finish the RUTF (the client was unable to eat one-third of a packet of RUTF portion (92g) or 3 teaspoons from a pot within 30 minutes)" }, { - "code": "EmCare.B22.DE26", + "code": "Ccc.B22.DE26", "display": "rutf not available", "definition": "The healthcare worker did not have any RUTF available to carry out the appetite test" }, { - "code": "EmCare.B22.DE37", + "code": "Ccc.B22.DE37", "display": "not well attached to breast", "definition": "The client is not well attached to breast" }, { - "code": "EmCare.B22.DE38", + "code": "Ccc.B22.DE38", "display": "good attachment", "definition": "The client has a good attachment" }, { - "code": "EmCare.B22.DE39", + "code": "Ccc.B22.DE39", "display": "not sucking effectively", "definition": "The client is not sucking effectively" }, { - "code": "EmCare.B22.DE40", + "code": "Ccc.B22.DE40", "display": "sucking effectively", "definition": "The client is sucking effectively" }, { - "code": "EmCare.B22.DE75", + "code": "Ccc.B22.DE75", "display": "no species reported", "definition": "The client's Microscopy species result is no species reported" }, { - "code": "EmCare.B17S1.DE03", + "code": "Ccc.B17S1.DE03", "display": "red (congested) throat", "definition": "The client has a Red (congested) throat" }, { - "code": "EmCare.B17S1.DE04", + "code": "Ccc.B17S1.DE04", "display": "exudate on throat", "definition": "The client has Exudate on Throat" }, { - "code": "EmCare.B17S1.DE05", + "code": "Ccc.B17S1.DE05", "display": "membrane on throat", "definition": "The client has Membrane on throat" }, @@ -1768,178 +1768,178 @@ "definition": "The client has None of the listed throat problems observed" }, { - "code": "EmCare.B17S1.DE08", + "code": "Ccc.B17S1.DE08", "display": "yes, without difficulty", "definition": "The client can swallow without difficulty" }, { - "code": "EmCare.B17S1.DE09", + "code": "Ccc.B17S1.DE09", "display": "difficulty in swallowing", "definition": "The client has Difficulty in swallowing" }, { - "code": "EmCare.B17S1.DE10", + "code": "Ccc.B17S1.DE10", "display": "unable to swallow", "definition": "The client is Unable to swallow" }, { - "code": "EmCare.B6.DE19", + "code": "Ccc.B6.DE19", "display": "does not appear to be underweight", "definition": "The client is visually assessed for whether underweight by the health care worker and does not appear to be underweight (estimated weight based on height or age would be equivalent to WHZ= 0 / WAZ= 0)" }, { - "code": "EmCare.B6.DE20", + "code": "Ccc.B6.DE20", "display": "appears to be underweight", "definition": "The client is visually assessed for whether underweight by the health care worker and appears to be underweight (as an aide for dosing calculations) (estimated weight based on height or age would be equivalent to WHZ= -1 / WAZ= -1)" }, { - "code": "EmCare.B6.DE21", + "code": "Ccc.B6.DE21", "display": "appears to be severely underweight", "definition": "The client is visually assessed for whether underweight and appears to be severely underweight (as an aide for dosing calculations) (estimated weight based on height or age would be equivalent to WHZ= -2 / WAZ= -2)" }, { - "code": "EmCare.B15S2.DE10", + "code": "Ccc.B15S2.DE10", "display": "severe mucous membrane pallor", "definition": "The client has severe mucous membrane pallor" }, { - "code": "EmCare.B15S2.DE11", + "code": "Ccc.B15S2.DE11", "display": "some mucous membrane pallor", "definition": "The client has some mucous membrane pallor" }, { - "code": "EmCare.B15S2.DE12", + "code": "Ccc.B15S2.DE12", "display": "no mucous membrane pallor", "definition": "The client has no mucous membrane pallor" }, { - "code": "EmCare.B14S2.DE07", + "code": "Ccc.B14S2.DE07", "display": "generalised skin problem", "definition": "The client has a generalised skin problem" }, { - "code": "EmCare.B14S2.DE08", + "code": "Ccc.B14S2.DE08", "display": "localised skin problem", "definition": "The client has a localised skin problem" }, { - "code": "EmCare.B14S2.DE09", + "code": "Ccc.B14S2.DE09", "display": "no problem", "definition": "The client does not have a generalised or localised skin problem" }, { - "code": "EmCare.B14S2.DE18", + "code": "Ccc.B14S2.DE18", "display": "papular urticaria or papular pruritic eruptions", "definition": "The client has Papular Urticaria or Papular Pruritic Eruptions \n\u2022 Itchy papules at different stages of evolution.\n\u2022 Found on the arms and legs.\n\u2022 Healed lesions are often dark/ hyperpigmented.\n\u2022 The itch is difficult to manage.\n\u2022 Essential to exclude scabies." }, { - "code": "EmCare.B14S2.DE19", + "code": "Ccc.B14S2.DE19", "display": "ringworm (tinea)", "definition": "The client has Ringworm (Tinea) - \n\u2022 An itchy circular lesion with a raised edge and fine scaly area.\n\u2022 Scalp lesions may result in loss of hair" }, { - "code": "EmCare.B14S2.DE21", + "code": "Ccc.B14S2.DE21", "display": "scabies", "definition": "The client has Scabies -\n\u2022 Intense itching, more severe at night.\n\u2022 Small burrows between fingers, tows, elbow areas and buttocks.\n\u2022 Secondary infection may occur.\n\u2022 Small babies may have vesicles and pustules on the palms and soles and face.\n\u2022 The infestation spreads easily, usually affecting more than one person in the household" }, { - "code": "EmCare.B14S2.DE22", + "code": "Ccc.B14S2.DE22", "display": "chickenpox", "definition": "The client has Chickenpox - Mild fever preceding the rash.\n\u2022 Rash begins on the trunk and face,\nlater spreads to the arms and legs.\n\u2022 Vesicles appear progressively over days and forms scabs\nafter they rupture.\n\u2022 Contagious from the fever starts until all lesions have\ncrusted.\n\u2022 Usually lasts for about 1 week." }, { - "code": "EmCare.B14S2.DE23", + "code": "Ccc.B14S2.DE23", "display": "herpes zoster", "definition": "The client has Herpes Zoster - Vesicles in one area on one side of body with intense pain or scars plus shooting pain.\n\u2022 They are uncommon in children except when they are immune-compromised" }, { - "code": "EmCare.B14S2.DE25", + "code": "Ccc.B14S2.DE25", "display": "impetigo", "definition": "The client has Impetigo- Pustules and papules with honey -coloured crusts.\n\u2022 Commonly starts on the face or buttocks, then spreads to the neck, hands, arms and legs." }, { - "code": "EmCare.B14S2.DE31", + "code": "Ccc.B14S2.DE31", "display": "molluscum contagiosum", "definition": "The client has Molluscum Contagiosum -Caused by a poxvirus.\n\u2022 Dome-shaped papules with a central depression\n(umblication).\n\u2022 Most commonly seen on the face and trunk in children" }, { - "code": "EmCare.B14S2.DE32", + "code": "Ccc.B14S2.DE32", "display": "warts", "definition": "The client has Warts - Appears as papules or nodules with a rough surface.\n\u2022 Seen most often on the hands and fingers, but can be\nfound anywhere on\nthe body." }, { - "code": "EmCare.B14S2.DE33", + "code": "Ccc.B14S2.DE33", "display": "seborrhoeic dermatitis", "definition": "The client has Seborrhoeic Dermatitis - Greasy scales and redness on central face, body folds.\n\u2022 The scalp, face, ears and skin folds (e.g. axillae, groins, under the breasts) are commonly affected." }, { - "code": "EmCare.B14S2.DE35", + "code": "Ccc.B14S2.DE35", "display": "fixed drug reaction", "definition": "The client has Fixed Drug Reaction - One or more dark round or oval skin lesions with central vesicles .\n\u2022 The lesions recur on the same spot, and increase in number with each successive attack" }, { - "code": "EmCare.B14S2.DE36", + "code": "Ccc.B14S2.DE36", "display": "eczema", "definition": "The client has Eczema - Erythematous (red), sometimes scaly plaques found on the face, flexures, trunk and extensors.\n\u2022 Yellow pustules which crust indicate\nsecondary bacterial infection." }, { - "code": "EmCare.B14S2.DE37", + "code": "Ccc.B14S2.DE37", "display": "steven johnson syndrome (sjs)", "definition": "The client has Steven Johnson Syndrome (SJS) - Severe and acute reaction due to many drugs, the commonest being cotrimoxazole or nevirapine.\n\u2022 Lesions involve the skin as well as the mucous membranes (e.g. eyes, mouth and genitalia).\n\u2022 May start as widespread red irregular rash with or without blisters. The blisters rupture leaving denuded areas of skin.\n\u2022 May cause difficulty in breathing." }, { - "code": "EmCare.B14S2.DE44", + "code": "Ccc.B14S2.DE44", "display": "skin problem", "definition": "The health care worker would like to add a skin problem" }, { - "code": "EmCare.B14S2.DE45", + "code": "Ccc.B14S2.DE45", "display": "oral sores or mouth ulcers", "definition": "The health care worker would like to add an Oral Sores or Mouth Ulcers problem" }, { - "code": "EmCare.B14S2.DE46", + "code": "Ccc.B14S2.DE46", "display": "eye problem", "definition": "The health care worker would like to add an Eye problem" }, { - "code": "EmCare.B14S2.DE47", + "code": "Ccc.B14S2.DE47", "display": "no - do not add a skin or mouth or eye problem", "definition": "The healthcare worker would not like to add a Skin or Mouth or Eye Problem" }, { - "code": "EmCare.B21S2.DE29", + "code": "Ccc.B21S2.DE29", "display": "no breastmilk at all", "definition": "The caregiver does not give the client any breastmilk at all" }, { - "code": "EmCare.B21S2.DE11", + "code": "Ccc.B21S2.DE11", "display": "inappropriate replacement milk", "definition": "The care giver is giving inappropriate replacement milk" }, { - "code": "EmCare.B21S2.DE10", + "code": "Ccc.B21S2.DE10", "display": "appropriate replacement milk", "definition": "The care giver is giving appropriate replacement milk" }, { - "code": "EmCare.B22.DE18", + "code": "Ccc.B22.DE18", "display": "chest indrawing (post inhaled bronchodilator trial)" }, { - "code": "EmCare.B22.DE19", + "code": "Ccc.B22.DE19", "display": "respiratory rate (post inhaled bronchodilator trial)" }, { - "code": "EmCare.B22.DE20", + "code": "Ccc.B22.DE20", "display": "fast breathing (post inhaled bronchodilator trial)" }, { - "code": "EmCare.B22.DE21", + "code": "Ccc.B22.DE21", "display": "no fast breathing and no chest indrawing (post inhaled bronchodilator trial)" }, { - "code": "EmCare.B22.DE22", + "code": "Ccc.B22.DE22", "display": "inhaled bronchodilator trial not feasible or available" } ] diff --git a/input/resources/library/library-emcare.b10-14.symptoms.2m.p.json b/input/resources/library/library-Ccc.b10-14.symptoms.2m.p.json similarity index 71% rename from input/resources/library/library-emcare.b10-14.symptoms.2m.p.json rename to input/resources/library/library-Ccc.b10-14.symptoms.2m.p.json index 251fcb2c..548899be 100644 --- a/input/resources/library/library-emcare.b10-14.symptoms.2m.p.json +++ b/input/resources/library/library-Ccc.b10-14.symptoms.2m.p.json @@ -1,16 +1,16 @@ { "resourceType": "Library", - "id": "emcareb1014symptoms2mp", - "url": "https://smart.who.int/ccc/Library/emcareb1014symptoms2mp", + "id": "Cccb1014symptoms2mp", + "url": "https://smart.who.int/ccc/Library/Cccb1014symptoms2mp", "identifier": [ { "use": "official", - "value": "emcare.b10-14.symptoms.2m.p" + "value": "Ccc.b10-14.symptoms.2m.p" } ], "version": "1.0.1.rc12.build.457", - "name": "emcareb1014symptoms2mp", - "title": "EmCare.B10-14.Symptoms.2m.p", + "name": "Cccb1014symptoms2mp", + "title": "Ccc.B10-14.Symptoms.2m.p", "status": "active", "type": { "coding": [ @@ -27,7 +27,7 @@ "type": "boolean" }, { - "name": "emcare.b12s1.de01", + "name": "Ccc.b12s1.de01", "use": "out", "type": "boolean" }, @@ -44,7 +44,7 @@ ], "content": [ { - "id": "ig-loader-emcareb1014symptoms2mp.cql" + "id": "ig-loader-Cccb1014symptoms2mp.cql" } ] } \ No newline at end of file diff --git a/input/resources/library/library-emcare.b10-16.signs.2m.p.json b/input/resources/library/library-Ccc.b10-16.signs.2m.p.json similarity index 94% rename from input/resources/library/library-emcare.b10-16.signs.2m.p.json rename to input/resources/library/library-Ccc.b10-16.signs.2m.p.json index 92667c38..1342298c 100644 --- a/input/resources/library/library-emcare.b10-16.signs.2m.p.json +++ b/input/resources/library/library-Ccc.b10-16.signs.2m.p.json @@ -1,16 +1,16 @@ { "resourceType": "Library", - "id": "emcareb1016signs2mp", - "url": "https://smart.who.int/ccc/Library/emcareb1016signs2mp", + "id": "Cccb1016signs2mp", + "url": "https://smart.who.int/ccc/Library/Cccb1016signs2mp", "identifier": [ { "use": "official", - "value": "emcare.b10-16.signs.2m.p" + "value": "Ccc.b10-16.signs.2m.p" } ], "version": "1.0.1.rc12.build.457", - "name": "emcareb1016signs2mp", - "title": "EmCare.B10-16.Signs.2m.p", + "name": "Cccb1016signs2mp", + "title": "Ccc.B10-16.Signs.2m.p", "status": "active", "type": { "coding": [ @@ -194,7 +194,7 @@ ], "content": [ { - "id": "ig-loader-emcareb1016signs2mp.cql" + "id": "ig-loader-Cccb1016signs2mp.cql" } ] } \ No newline at end of file diff --git a/input/resources/library/library-emcare.b18-21.signs.2m.m.json b/input/resources/library/library-Ccc.b18-21.signs.2m.m.json similarity index 83% rename from input/resources/library/library-emcare.b18-21.signs.2m.m.json rename to input/resources/library/library-Ccc.b18-21.signs.2m.m.json index d8eceaf5..c8ff737a 100644 --- a/input/resources/library/library-emcare.b18-21.signs.2m.m.json +++ b/input/resources/library/library-Ccc.b18-21.signs.2m.m.json @@ -1,16 +1,16 @@ { "resourceType": "Library", - "id": "emcareb1821signs2mm", - "url": "https://smart.who.int/ccc/Library/emcareb1821signs2mm", + "id": "Cccb1821signs2mm", + "url": "https://smart.who.int/ccc/Library/Cccb1821signs2mm", "identifier": [ { "use": "official", - "value": "emcare.b18-21.signs.2m.m" + "value": "Ccc.b18-21.signs.2m.m" } ], "version": "1.0.1.rc12.build.457", - "name": "emcareb1821signs2mm", - "title": "EmCare.B18-21.Signs.2m.m", + "name": "Cccb1821signs2mm", + "title": "Ccc.B18-21.Signs.2m.m", "status": "active", "type": { "coding": [ @@ -42,7 +42,7 @@ "type": "integer" }, { - "name": "emcare.b20s1.de01", + "name": "Ccc.b20s1.de01", "use": "out", "type": "boolean" }, @@ -52,7 +52,7 @@ "type": "boolean" }, { - "name": "emcare.a.de31", + "name": "Ccc.a.de31", "use": "out", "type": "code" }, @@ -62,7 +62,7 @@ "type": "code" }, { - "name": "emcare.b21s1.de01", + "name": "Ccc.b21s1.de01", "use": "out", "type": "boolean" }, @@ -72,7 +72,7 @@ "type": "boolean" }, { - "name": "emcare.b18s1.de02", + "name": "Ccc.b18s1.de02", "use": "out", "type": "code" }, @@ -92,7 +92,7 @@ "type": "boolean" }, { - "name": "emcare.b7.de03", + "name": "Ccc.b7.de03", "use": "out", "type": "boolean" }, @@ -119,7 +119,7 @@ ], "content": [ { - "id": "ig-loader-emcareb1821signs2mm.cql" + "id": "ig-loader-Cccb1821signs2mm.cql" } ] } \ No newline at end of file diff --git a/input/resources/library/library-emcare.b18-21.symptoms.2m.m.json b/input/resources/library/library-Ccc.b18-21.symptoms.2m.m.json similarity index 64% rename from input/resources/library/library-emcare.b18-21.symptoms.2m.m.json rename to input/resources/library/library-Ccc.b18-21.symptoms.2m.m.json index 84ba1f67..4567d539 100644 --- a/input/resources/library/library-emcare.b18-21.symptoms.2m.m.json +++ b/input/resources/library/library-Ccc.b18-21.symptoms.2m.m.json @@ -1,16 +1,16 @@ { "resourceType": "Library", - "id": "emcareb1821symptoms2mm", - "url": "https://smart.who.int/ccc/Library/emcareb1821symptoms2mm", + "id": "Cccb1821symptoms2mm", + "url": "https://smart.who.int/ccc/Library/Cccb1821symptoms2mm", "identifier": [ { "use": "official", - "value": "emcare.b18-21.symptoms.2m.m" + "value": "Ccc.b18-21.symptoms.2m.m" } ], "version": "1.0.1.rc12.build.457", - "name": "emcareb1821symptoms2mm", - "title": "EmCare.B18-21.Symptoms.2m.m", + "name": "Cccb1821symptoms2mm", + "title": "Ccc.B18-21.Symptoms.2m.m", "status": "active", "type": { "coding": [ @@ -29,7 +29,7 @@ ], "content": [ { - "id": "ig-loader-emcareb1821symptoms2mm.cql" + "id": "ig-loader-Cccb1821symptoms2mm.cql" } ] } \ No newline at end of file diff --git a/input/resources/library/library-emcare.b22.assessmentstests.json b/input/resources/library/library-Ccc.b22.assessmentstests.json similarity index 86% rename from input/resources/library/library-emcare.b22.assessmentstests.json rename to input/resources/library/library-Ccc.b22.assessmentstests.json index 6426ab2c..9ea1c600 100644 --- a/input/resources/library/library-emcare.b22.assessmentstests.json +++ b/input/resources/library/library-Ccc.b22.assessmentstests.json @@ -1,16 +1,16 @@ { "resourceType": "Library", - "id": "emcareb22assessmentstests", - "url": "https://smart.who.int/ccc/Library/emcareb22assessmentstests", + "id": "Cccb22assessmentstests", + "url": "https://smart.who.int/ccc/Library/Cccb22assessmentstests", "identifier": [ { "use": "official", - "value": "emcare.b22.assessmentstests" + "value": "Ccc.b22.assessmentstests" } ], "version": "1.0.1.rc12.build.457", - "name": "emcareb22assessmentstests", - "title": "EmCare.B22.AssessmentsTests", + "name": "Cccb22assessmentstests", + "title": "Ccc.B22.AssessmentsTests", "status": "active", "type": { "coding": [ @@ -97,19 +97,19 @@ "type": "boolean" }, { - "name": "emcare.b7.de09", + "name": "Ccc.b7.de09", "use": "out", "type": "boolean" }, { - "name": "emcare.b7.de10", + "name": "Ccc.b7.de10", "use": "out", "type": "boolean" } ], "content": [ { - "id": "ig-loader-emcareb22assessmentstests.cql" + "id": "ig-loader-Cccb22assessmentstests.cql" } ] } \ No newline at end of file diff --git a/input/resources/library/library-emcare.b22.breastfeeding.json b/input/resources/library/library-Ccc.b22.breastfeeding.json similarity index 69% rename from input/resources/library/library-emcare.b22.breastfeeding.json rename to input/resources/library/library-Ccc.b22.breastfeeding.json index 8c28632d..f2e8f7e6 100644 --- a/input/resources/library/library-emcare.b22.breastfeeding.json +++ b/input/resources/library/library-Ccc.b22.breastfeeding.json @@ -1,16 +1,16 @@ { "resourceType": "Library", - "id": "emcareb22breastfeeding", - "url": "https://smart.who.int/ccc/Library/emcareb22breastfeeding", + "id": "Cccb22breastfeeding", + "url": "https://smart.who.int/ccc/Library/Cccb22breastfeeding", "identifier": [ { "use": "official", - "value": "emcare.b22.breastfeeding" + "value": "Ccc.b22.breastfeeding" } ], "version": "1.0.1.rc12.build.457", - "name": "emcareb22breastfeeding", - "title": "EmCare.B22.BreastFeeding", + "name": "Cccb22breastfeeding", + "title": "Ccc.B22.BreastFeeding", "status": "active", "type": { "coding": [ @@ -34,7 +34,7 @@ ], "content": [ { - "id": "ig-loader-emcareb22breastfeeding.cql" + "id": "ig-loader-Cccb22breastfeeding.cql" } ] } \ No newline at end of file diff --git a/input/resources/library/library-emcare.b22.fluidtest.json b/input/resources/library/library-Ccc.b22.fluidtest.json similarity index 69% rename from input/resources/library/library-emcare.b22.fluidtest.json rename to input/resources/library/library-Ccc.b22.fluidtest.json index e6072104..a2f0de55 100644 --- a/input/resources/library/library-emcare.b22.fluidtest.json +++ b/input/resources/library/library-Ccc.b22.fluidtest.json @@ -1,16 +1,16 @@ { "resourceType": "Library", - "id": "emcareb22fluidtest", - "url": "https://smart.who.int/ccc/Library/emcareb22fluidtest", + "id": "Cccb22fluidtest", + "url": "https://smart.who.int/ccc/Library/Cccb22fluidtest", "identifier": [ { "use": "official", - "value": "emcare.b22.fluidtest" + "value": "Ccc.b22.fluidtest" } ], "version": "1.0.1.rc12.build.457", - "name": "emcareb22fluidtest", - "title": "EmCare.B22.FluidTest", + "name": "Cccb22fluidtest", + "title": "Ccc.B22.FluidTest", "status": "active", "type": { "coding": [ @@ -32,19 +32,19 @@ "type": "boolean" }, { - "name": "emcare.b7.de09", + "name": "Ccc.b7.de09", "use": "out", "type": "boolean" }, { - "name": "emcare.b7.de10", + "name": "Ccc.b7.de10", "use": "out", "type": "boolean" } ], "content": [ { - "id": "ig-loader-emcareb22fluidtest.cql" + "id": "ig-loader-Cccb22fluidtest.cql" } ] } \ No newline at end of file diff --git a/input/resources/library/library-emcare.b22.respiratoryrate.json b/input/resources/library/library-Ccc.b22.respiratoryrate.json similarity index 79% rename from input/resources/library/library-emcare.b22.respiratoryrate.json rename to input/resources/library/library-Ccc.b22.respiratoryrate.json index 30735726..fe2b08de 100644 --- a/input/resources/library/library-emcare.b22.respiratoryrate.json +++ b/input/resources/library/library-Ccc.b22.respiratoryrate.json @@ -1,16 +1,16 @@ { "resourceType": "Library", - "id": "emcareb22respiratoryrate", - "url": "https://smart.who.int/ccc/Library/emcareb22respiratoryrate", + "id": "Cccb22respiratoryrate", + "url": "https://smart.who.int/ccc/Library/Cccb22respiratoryrate", "identifier": [ { "use": "official", - "value": "emcare.b22.respiratoryrate" + "value": "Ccc.b22.respiratoryrate" } ], "version": "1.0.1.rc12.build.457", - "name": "emcareb22respiratoryrate", - "title": "EmCare.B22.RespiratoryRate", + "name": "Cccb22respiratoryrate", + "title": "Ccc.B22.RespiratoryRate", "status": "active", "type": { "coding": [ @@ -54,7 +54,7 @@ ], "content": [ { - "id": "ig-loader-emcareb22respiratoryrate.cql" + "id": "ig-loader-Cccb22respiratoryrate.cql" } ] } \ No newline at end of file diff --git a/input/resources/library/library-emcare.b22.secondtemperature.json b/input/resources/library/library-Ccc.b22.secondtemperature.json similarity index 67% rename from input/resources/library/library-emcare.b22.secondtemperature.json rename to input/resources/library/library-Ccc.b22.secondtemperature.json index 4e7231dd..a14a103d 100644 --- a/input/resources/library/library-emcare.b22.secondtemperature.json +++ b/input/resources/library/library-Ccc.b22.secondtemperature.json @@ -1,16 +1,16 @@ { "resourceType": "Library", - "id": "emcareb22secondtemperature", - "url": "https://smart.who.int/ccc/Library/emcareb22secondtemperature", + "id": "Cccb22secondtemperature", + "url": "https://smart.who.int/ccc/Library/Cccb22secondtemperature", "identifier": [ { "use": "official", - "value": "emcare.b22.secondtemperature" + "value": "Ccc.b22.secondtemperature" } ], "version": "1.0.1.rc12.build.457", - "name": "emcareb22secondtemperature", - "title": "EmCare.B22.SecondTemperature", + "name": "Cccb22secondtemperature", + "title": "Ccc.B22.SecondTemperature", "status": "active", "type": { "coding": [ @@ -34,7 +34,7 @@ ], "content": [ { - "id": "ig-loader-emcareb22secondtemperature.cql" + "id": "ig-loader-Cccb22secondtemperature.cql" } ] } \ No newline at end of file diff --git a/input/resources/library/library-emcare.b23.classification.json b/input/resources/library/library-Ccc.b23.classification.json similarity index 89% rename from input/resources/library/library-emcare.b23.classification.json rename to input/resources/library/library-Ccc.b23.classification.json index e8bc2125..1c9c6b1e 100644 --- a/input/resources/library/library-emcare.b23.classification.json +++ b/input/resources/library/library-Ccc.b23.classification.json @@ -1,16 +1,16 @@ { "resourceType": "Library", - "id": "emcareb23classification", - "url": "https://smart.who.int/ccc/Library/emcareb23classification", + "id": "Cccb23classification", + "url": "https://smart.who.int/ccc/Library/Cccb23classification", "identifier": [ { "use": "official", - "value": "emcare.b23.classification" + "value": "Ccc.b23.classification" } ], "version": "1.0.1.rc12.build.457", - "name": "emcareb23classification", - "title": "EmCare.B23.Classification", + "name": "Cccb23classification", + "title": "Ccc.B23.Classification", "status": "active", "type": { "coding": [ @@ -27,7 +27,7 @@ "type": "boolean" }, { - "name": "emcare.b6.de06", + "name": "Ccc.b6.de06", "use": "out", "type": "Quantity" }, @@ -37,7 +37,7 @@ "type": "Quantity" }, { - "name": "emcare.b6.de08-old", + "name": "Ccc.b6.de08-old", "use": "out", "type": "Quantity" }, @@ -47,7 +47,7 @@ "type": "Quantity" }, { - "name": "emcare.b6.de08", + "name": "Ccc.b6.de08", "use": "out", "type": "Quantity" }, @@ -67,7 +67,7 @@ "type": "boolean" }, { - "name": "emcare.b23.de04", + "name": "Ccc.b23.de04", "use": "out", "type": "boolean" }, @@ -77,7 +77,7 @@ "type": "boolean" }, { - "name": "emcare.b23.de05", + "name": "Ccc.b23.de05", "use": "out", "type": "boolean" }, @@ -87,7 +87,7 @@ "type": "boolean" }, { - "name": "emcare.b23.de08", + "name": "Ccc.b23.de08", "use": "out", "type": "boolean" }, @@ -202,7 +202,7 @@ "type": "boolean" }, { - "name": "emcare.b23.de32a", + "name": "Ccc.b23.de32a", "use": "out", "type": "boolean" }, @@ -222,7 +222,7 @@ "type": "boolean" }, { - "name": "emcare.b23.de26a", + "name": "Ccc.b23.de26a", "use": "out", "type": "boolean" }, @@ -322,7 +322,7 @@ "type": "boolean" }, { - "name": "emcare.b23.de36", + "name": "Ccc.b23.de36", "use": "out", "type": "boolean" }, @@ -347,7 +347,7 @@ "type": "boolean" }, { - "name": "emcare.b23.de43a", + "name": "Ccc.b23.de43a", "use": "out", "type": "boolean" }, @@ -362,12 +362,12 @@ "type": "boolean" }, { - "name": "emcare.b23.de46a", + "name": "Ccc.b23.de46a", "use": "out", "type": "boolean" }, { - "name": "emcare.b23.de46", + "name": "Ccc.b23.de46", "use": "out", "type": "boolean" }, @@ -377,12 +377,12 @@ "type": "boolean" }, { - "name": "emcare.b23.de48", + "name": "Ccc.b23.de48", "use": "out", "type": "boolean" }, { - "name": "emcare.b23.de48a", + "name": "Ccc.b23.de48a", "use": "out", "type": "boolean" }, @@ -392,12 +392,12 @@ "type": "boolean" }, { - "name": "emcare.b23.de50", + "name": "Ccc.b23.de50", "use": "out", "type": "boolean" }, { - "name": "emcare.b23.de50a", + "name": "Ccc.b23.de50a", "use": "out", "type": "boolean" }, @@ -407,7 +407,7 @@ "type": "boolean" }, { - "name": "emcare.b23.de52a", + "name": "Ccc.b23.de52a", "use": "out", "type": "boolean" }, @@ -417,7 +417,7 @@ "type": "boolean" }, { - "name": "emcare.b23.de53a", + "name": "Ccc.b23.de53a", "use": "out", "type": "boolean" }, @@ -427,7 +427,7 @@ "type": "boolean" }, { - "name": "emcare.b23.de55", + "name": "Ccc.b23.de55", "use": "out", "type": "boolean" }, @@ -442,17 +442,17 @@ "type": "boolean" }, { - "name": "emcare.b23.de57a", + "name": "Ccc.b23.de57a", "use": "out", "type": "boolean" }, { - "name": "emcare.b23.de57b", + "name": "Ccc.b23.de57b", "use": "out", "type": "boolean" }, { - "name": "emcare.b23.de57c", + "name": "Ccc.b23.de57c", "use": "out", "type": "boolean" }, @@ -467,7 +467,7 @@ "type": "boolean" }, { - "name": "emcare.b23.de60", + "name": "Ccc.b23.de60", "use": "out", "type": "boolean" }, @@ -494,7 +494,7 @@ ], "content": [ { - "id": "ig-loader-emcareb23classification.cql" + "id": "ig-loader-Cccb23classification.cql" } ] } \ No newline at end of file diff --git a/input/resources/library/library-emcare.b23.classification.m.json b/input/resources/library/library-Ccc.b23.classification.m.json similarity index 92% rename from input/resources/library/library-emcare.b23.classification.m.json rename to input/resources/library/library-Ccc.b23.classification.m.json index f92d9c79..d2b55ef6 100644 --- a/input/resources/library/library-emcare.b23.classification.m.json +++ b/input/resources/library/library-Ccc.b23.classification.m.json @@ -1,16 +1,16 @@ { "resourceType": "Library", - "id": "emcareb23classificationm", - "url": "https://smart.who.int/ccc/Library/emcareb23classificationm", + "id": "Cccb23classificationm", + "url": "https://smart.who.int/ccc/Library/Cccb23classificationm", "identifier": [ { "use": "official", - "value": "emcare.b23.classification.m" + "value": "Ccc.b23.classification.m" } ], "version": "1.0.1.rc12.build.457", - "name": "emcareb23classificationm", - "title": "EmCare.B23.Classification.m", + "name": "Cccb23classificationm", + "title": "Ccc.B23.Classification.m", "status": "active", "type": { "coding": [ @@ -179,7 +179,7 @@ ], "content": [ { - "id": "ig-loader-emcareb23classificationm.cql" + "id": "ig-loader-Cccb23classificationm.cql" } ] } \ No newline at end of file diff --git a/input/resources/library/library-emcare.b6.measurements.json b/input/resources/library/library-Ccc.b6.measurements.json similarity index 81% rename from input/resources/library/library-emcare.b6.measurements.json rename to input/resources/library/library-Ccc.b6.measurements.json index f43df068..c2aa5aaa 100644 --- a/input/resources/library/library-emcare.b6.measurements.json +++ b/input/resources/library/library-Ccc.b6.measurements.json @@ -1,16 +1,16 @@ { "resourceType": "Library", - "id": "emcareb6measurements", - "url": "https://smart.who.int/ccc/Library/emcareb6measurements", + "id": "Cccb6measurements", + "url": "https://smart.who.int/ccc/Library/Cccb6measurements", "identifier": [ { "use": "official", - "value": "emcare.b6.measurements" + "value": "Ccc.b6.measurements" } ], "version": "1.0.1.rc12.build.457", - "name": "emcareb6measurements", - "title": "EmCare.B6.Measurements", + "name": "Cccb6measurements", + "title": "Ccc.B6.Measurements", "status": "active", "type": { "coding": [ @@ -59,7 +59,7 @@ ], "content": [ { - "id": "ig-loader-emcareb6measurements.cql" + "id": "ig-loader-Cccb6measurements.cql" } ] } \ No newline at end of file diff --git a/input/resources/library/library-emcare.b7.lti-dangersigns.json b/input/resources/library/library-Ccc.b7.lti-dangersigns.json similarity index 77% rename from input/resources/library/library-emcare.b7.lti-dangersigns.json rename to input/resources/library/library-Ccc.b7.lti-dangersigns.json index 87405d78..7284edaa 100644 --- a/input/resources/library/library-emcare.b7.lti-dangersigns.json +++ b/input/resources/library/library-Ccc.b7.lti-dangersigns.json @@ -1,16 +1,16 @@ { "resourceType": "Library", - "id": "emcareb7ltidangersigns", - "url": "https://smart.who.int/ccc/Library/emcareb7ltidangersigns", + "id": "Cccb7ltidangersigns", + "url": "https://smart.who.int/ccc/Library/Cccb7ltidangersigns", "identifier": [ { "use": "official", - "value": "emcare.b7.lti-dangersigns" + "value": "Ccc.b7.lti-dangersigns" } ], "version": "1.0.1.rc12.build.457", - "name": "emcareb7ltidangersigns", - "title": "EmCare.B7.LTI-DangerSigns", + "name": "Cccb7ltidangersigns", + "title": "Ccc.B7.LTI-DangerSigns", "status": "active", "type": { "coding": [ @@ -44,7 +44,7 @@ ], "content": [ { - "id": "ig-loader-emcareb7ltidangersigns.cql" + "id": "ig-loader-Cccb7ltidangersigns.cql" } ] } \ No newline at end of file diff --git a/input/resources/library/library-emcare.combineddataelements.json b/input/resources/library/library-Ccc.combineddataelements.json similarity index 90% rename from input/resources/library/library-emcare.combineddataelements.json rename to input/resources/library/library-Ccc.combineddataelements.json index 5ff5c451..b12b53d6 100644 --- a/input/resources/library/library-emcare.combineddataelements.json +++ b/input/resources/library/library-Ccc.combineddataelements.json @@ -1,16 +1,16 @@ { "resourceType": "Library", - "id": "emcarecombineddataelements", - "url": "https://smart.who.int/ccc/Library/emcarecombineddataelements", + "id": "Ccccombineddataelements", + "url": "https://smart.who.int/ccc/Library/Ccccombineddataelements", "identifier": [ { "use": "official", - "value": "emcare.combineddataelements" + "value": "Ccc.combineddataelements" } ], "version": "1.0.1.rc12.build.457", - "name": "emcarecombineddataelements", - "title": "EmCare.CombinedDataElements", + "name": "Ccccombineddataelements", + "title": "Ccc.CombinedDataElements", "status": "active", "type": { "coding": [ @@ -62,7 +62,7 @@ "type": "boolean" }, { - "name": "emcare.b.g.de01", + "name": "Ccc.b.g.de01", "use": "out", "type": "boolean" }, @@ -72,7 +72,7 @@ "type": "boolean" }, { - "name": "emcare.b.g.de05", + "name": "Ccc.b.g.de05", "use": "out", "type": "boolean" }, @@ -172,14 +172,14 @@ "type": "boolean" }, { - "name": "emcare.b12s1.de01", + "name": "Ccc.b12s1.de01", "use": "out", "type": "boolean" } ], "content": [ { - "id": "ig-loader-emcarecombineddataelements.cql" + "id": "ig-loader-Ccccombineddataelements.cql" } ] } \ No newline at end of file diff --git a/input/resources/library/library-emcare.treatment.json b/input/resources/library/library-Ccc.treatment.json similarity index 62% rename from input/resources/library/library-emcare.treatment.json rename to input/resources/library/library-Ccc.treatment.json index ccfd8307..1c63c0c8 100644 --- a/input/resources/library/library-emcare.treatment.json +++ b/input/resources/library/library-Ccc.treatment.json @@ -1,16 +1,16 @@ { "resourceType": "Library", - "id": "emcaretreatment", - "url": "https://smart.who.int/ccc/Library/emcaretreatment", + "id": "Ccctreatment", + "url": "https://smart.who.int/ccc/Library/Ccctreatment", "identifier": [ { "use": "official", - "value": "emcare.treatment" + "value": "Ccc.treatment" } ], "version": "1.0.1.rc12.build.457", - "name": "emcaretreatment", - "title": "EmCare.Treatment", + "name": "Ccctreatment", + "title": "Ccc.Treatment", "status": "active", "type": { "coding": [ @@ -27,309 +27,309 @@ "type": "integer" }, { - "name": "load-emcare.c10.it.de01", + "name": "load-Ccc.c10.it.de01", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de02", + "name": "load-Ccc.c10.it.de02", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de03", + "name": "load-Ccc.c10.it.de03", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de04", + "name": "load-Ccc.c10.it.de04", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de05", + "name": "load-Ccc.c10.it.de05", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de06", + "name": "load-Ccc.c10.it.de06", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de07", + "name": "load-Ccc.c10.it.de07", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de08", + "name": "load-Ccc.c10.it.de08", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de09", + "name": "load-Ccc.c10.it.de09", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de10", + "name": "load-Ccc.c10.it.de10", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de11", + "name": "load-Ccc.c10.it.de11", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de12", + "name": "load-Ccc.c10.it.de12", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de13", + "name": "load-Ccc.c10.it.de13", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de14", + "name": "load-Ccc.c10.it.de14", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de15", + "name": "load-Ccc.c10.it.de15", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de16", + "name": "load-Ccc.c10.it.de16", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de17", + "name": "load-Ccc.c10.it.de17", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de18", + "name": "load-Ccc.c10.it.de18", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de19", + "name": "load-Ccc.c10.it.de19", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de20", + "name": "load-Ccc.c10.it.de20", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de21", + "name": "load-Ccc.c10.it.de21", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de22", + "name": "load-Ccc.c10.it.de22", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de23", + "name": "load-Ccc.c10.it.de23", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de24", + "name": "load-Ccc.c10.it.de24", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de25", + "name": "load-Ccc.c10.it.de25", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de42", + "name": "load-Ccc.c10.it.de42", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de43", + "name": "load-Ccc.c10.it.de43", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de44", + "name": "load-Ccc.c10.it.de44", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de26", + "name": "load-Ccc.c10.it.de26", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de27", + "name": "load-Ccc.c10.it.de27", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de28", + "name": "load-Ccc.c10.it.de28", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de29", + "name": "load-Ccc.c10.it.de29", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de30", + "name": "load-Ccc.c10.it.de30", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de31", + "name": "load-Ccc.c10.it.de31", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de32", + "name": "load-Ccc.c10.it.de32", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de33", + "name": "load-Ccc.c10.it.de33", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de34", + "name": "load-Ccc.c10.it.de34", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de35", + "name": "load-Ccc.c10.it.de35", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de36", + "name": "load-Ccc.c10.it.de36", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de37", + "name": "load-Ccc.c10.it.de37", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de38", + "name": "load-Ccc.c10.it.de38", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de39", + "name": "load-Ccc.c10.it.de39", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de40", + "name": "load-Ccc.c10.it.de40", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de41", + "name": "load-Ccc.c10.it.de41", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de45", + "name": "load-Ccc.c10.it.de45", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de46", + "name": "load-Ccc.c10.it.de46", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de47", + "name": "load-Ccc.c10.it.de47", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de48", + "name": "load-Ccc.c10.it.de48", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de49", + "name": "load-Ccc.c10.it.de49", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de50", + "name": "load-Ccc.c10.it.de50", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de51", + "name": "load-Ccc.c10.it.de51", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de52", + "name": "load-Ccc.c10.it.de52", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de53", + "name": "load-Ccc.c10.it.de53", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de54", + "name": "load-Ccc.c10.it.de54", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de55", + "name": "load-Ccc.c10.it.de55", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de56", + "name": "load-Ccc.c10.it.de56", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de57", + "name": "load-Ccc.c10.it.de57", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de58", + "name": "load-Ccc.c10.it.de58", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de59", + "name": "load-Ccc.c10.it.de59", "use": "out", "type": "boolean" }, { - "name": "load-emcare.c10.it.de60", + "name": "load-Ccc.c10.it.de60", "use": "out", "type": "boolean" } ], "content": [ { - "id": "ig-loader-emcaretreatment.cql" + "id": "ig-loader-Ccctreatment.cql" } ] } \ No newline at end of file diff --git a/input/resources/library/library-emcarebase.json b/input/resources/library/library-Cccbase.json similarity index 99% rename from input/resources/library/library-emcarebase.json rename to input/resources/library/library-Cccbase.json index 4ce61f98..72655bbc 100644 --- a/input/resources/library/library-emcarebase.json +++ b/input/resources/library/library-Cccbase.json @@ -1,10 +1,10 @@ { "resourceType": "Library", - "id": "emcarebase", - "url": "https://smart.who.int/ccc/Library/emcarebase", + "id": "Cccbase", + "url": "https://smart.who.int/ccc/Library/Cccbase", "version": "1.0.1.rc12.build.156", - "name": "emcarebase", - "title": "EmCareBase", + "name": "Cccbase", + "title": "CccBase", "status": "active", "type": { "coding": [ @@ -43,7 +43,7 @@ ], "content": [ { - "id": "ig-loader-emcarebase.cql", + "id": "ig-loader-Cccbase.cql", "contentType": "text/cql", "data": "LypudGVyIgpAYXV0aG9yOiBQYXRyaWNrIERlbGNyb2l4CkBkZXNjcmlwdGlvbjogVGhpcyBsaWJyYXJ5IGlzIHBhcnQgb2YgdGhlIHByb2plY3QgRW1DYXJlIFByb2plY3QsIGl0cyBhbGxvd3Mgc3RhbmRhcmRpc2F0aW9uIGZvciB0aGUgb2JzZXJ2YXRpb24gcHJvY2Vzc2luZwoqLwoKbGlicmFyeSBlbWNhcmViYXNlIHZlcnNpb24gJzEuMC4xLnJjMTIuYnVpbGQuMTU2JwoKdXNpbmcgRkhJUiB2ZXJzaW9uICc0LjAuMScKCmluY2x1ZGUgRkhJUkhlbHBlcnMgdmVyc2lvbiAnNC4wLjEnCgpwYXJhbWV0ZXIgImVuY291bnRlcmlkIiBTdHJpbmcKLy9wYXJhbWV0ZXIgIkVuY291bnRlciIgRW5jb3VudGVyJApjb2Rlc3lzdGVtICJSb2xlQ29kZVN5c3RlbSIgOiAnaHR0cHM6Ly9maGlyLmRrLnN3aXNzdHBoLW1pcy5jaC9tYXRjaGJveC9maGlyL0NvZGVTeXN0ZW0vZW1jYXJlLWN1c3RvbS1jb2RlcycKY29kZSAiTW90aGVyIjogJ01USCcgZnJvbSAiUm9sZUNvZGVTeXN0ZW0iCgpjb250ZXh0IFBhdGllbnQKCi8vZGVmaW5lIGVuY291bnRlcmlkOgovLyAgIkVuY291bnRlciIuaWQKCgoKCmRlZmluZSAiWWVzIjoKICB0cnVlCgpkZWZpbmUgIk5vIjoKICBmYWxzZSAKCgpkZWZpbmUgZnVuY3Rpb24gSXNJbkVuY291bnRlcihyZWYgRkhJUi5SZWZlcmVuY2UpOgogICAgY2FzZQogICAgd2hlbiBlbmNvdW50ZXJpZCA9IHJlZi5pZCB0aGVuIHRydWUKICAgIHdoZW4gZW5jb3VudGVyaWQgPSBMYXN0KFNwbGl0KHJlZi5yZWZlcmVuY2UsICcvJykpIHRoZW4gdHJ1ZQogICAvLyB3aGVuIHJlZi5pZGVudGlmaWVyIGlzIG5vdCBudWxsIGFuZCBpZCA9IHJlZi5pZGVudGlmaWVyLmlkIHRoZW4gdHJ1ZQogICAgZWxzZSBmYWxzZQplbmQKCmRlZmluZSBnZXRFbmNvdW50ZXJzOgogICAgW0VuY291bnRlcl0gRSAKICAgICAgd2hlcmUgRS5pZCA9ICJlbmNvdW50ZXJpZCIKICAgICAgICByZXR1cm4gRQoKZGVmaW5lIGdldEVuY291bnRlcjoKICAgIHNpbmdsZXRvbiBmcm9tIGdldEVuY291bnRlcnMKCmRlZmluZSBmdW5jdGlvbiBFbUNhcmVFeHRlbnNpb25zKGVsZW1lbnQgUGF0aWVudCwgaWQgU3RyaW5nKToKICBlbGVtZW50LmV4dGVuc2lvbiBFCiAgICAgIHdoZXJlIEUudXJsID0gKCdodHRwczovL2ZoaXIuZGsuc3dpc3N0cGgtbWlzLmNoL21hdGNoYm94L2ZoaXIvL1N0cnVjdHVyZURlZmluaXRpb24vJyArIGlkKQogICAgICByZXR1cm4gRQoKZGVmaW5lIGZ1bmN0aW9uIEVtQ2FyZUV4dGVuc2lvbihlbGVtZW50IFBhdGllbnQsIGlkIFN0cmluZyk6CiAgc2luZ2xldG9uIGZyb20gRW1DYXJlRXh0ZW5zaW9ucyhlbGVtZW50LCBpZCkKCmRlZmluZSBnZXRQcmltYXJ5Q2FyZUdpdmVyUmVmZXJlbmNlOgogIEVtQ2FyZUV4dGVuc2lvbihQYXRpZW50LCAncHJpbWFyeWNhcmVnaXZlcicpLnZhbHVlCgpkZWZpbmUgZ2V0UHJpbWFyeUNhcmVHaXZlcjoKICBbUmVsYXRlZFBlcnNvbl0gUlAgd2hlcmUgUlAuaWQgPSBMYXN0KFNwbGl0KGdldFByaW1hcnlDYXJlR2l2ZXJSZWZlcmVuY2UucmVmZXJlbmNlLCAnLycpKQogICAgcmV0dXJuIFJQCgpkZWZpbmUgaXNNb3RoZXJQcmltYXJ5Q2FyZUdpdmVyOgogIGdldFByaW1hcnlDYXJlR2l2ZXIgaXMgbm90IG51bGwgYW5kIEV4aXN0cyhnZXRQcmltYXJ5Q2FyZUdpdmVyLnJlbGF0aW9uc2hpcCByIHdoZXJlIHIgfiAiTW90aGVyIikKCmRlZmluZSAiQmlvbG9naWNhbCBNb3RoZXIgVml0YWwgU3RhdHVzIjoKICBFbUNhcmVFeHRlbnNpb24oUGF0aWVudCwgJ21vdGhlclZpdGFsU3RhdHVzJykudmFsdWUKICAKZGVmaW5lICJCaW9sb2dpY2FsIEZhdGhlciBWaXRhbCBTdGF0dXMiOgogIEVtQ2FyZUV4dGVuc2lvbihQYXRpZW50LCAnZmF0aGVyVml0YWxTdGF0dXMnKS52YWx1ZQovLyBwZXJzb24gYWNjb21wYW55aW5nIHRoZSBjaGlsZCBpcyBhIHBhcnRpY2lwYW50IHdpdGggYSBudWxsIHR5cGUKZGVmaW5lIGdldFJlbGF0ZWRQZXJzb25SZWZlcmVuY2VBY2NvbXBhbnlpbmdUaGVDaGlsZDoKICBDb2FsZXNjZShGaXJzdChnZXRFbmNvdW50ZXIucGFydGljaXBhbnQgUCB3aGVyZSBub3QgZXhpc3RzKFAudHlwZSkgKS5pbmRpdmlkdWFsLCBnZXRQcmltYXJ5Q2FyZUdpdmVyUmVmZXJlbmNlKQoKZGVmaW5lIGdldFJlbGF0ZWRQZXJzb25zQWNjb21wYW55aW5nVGhlQ2hpbGQ6CiAgW1JlbGF0ZWRQZXJzb25dIFJQIHdoZXJlIFJQLmlkID0gTGFzdChTcGxpdChnZXRSZWxhdGVkUGVyc29uUmVmZXJlbmNlQWNjb21wYW55aW5nVGhlQ2hpbGQucmVmZXJlbmNlLCAnLycpKQogICAgcmV0dXJuIFJQCgoKZGVmaW5lIGdldFJlbGF0ZWRQZXJzb25BY2NvbXBhbnlpbmdUaGVDaGlsZDoKICBzaW5nbGV0b24gZnJvbSBnZXRSZWxhdGVkUGVyc29uc0FjY29tcGFueWluZ1RoZUNoaWxkCgoKZGVmaW5lICJQZXJzb24gYWNjb21wYW55aW5nIGNoaWxkIHRvZGF5J3MgUmVsYXRpb25zaGlwIHRvIENsaWVudCI6CiAgZ2V0UmVsYXRlZFBlcnNvbkFjY29tcGFueWluZ1RoZUNoaWxkLnJlbGF0aW9uc2hpcAoKCgoKZGVmaW5lIGZ1bmN0aW9uIGdldFZhbHVlKE8gT2JzZXJ2YXRpb24pOgogIGNhc2UgIAogICAgICB3aGVuICBPIGlzIG51bGwgdGhlbiBudWxsCiAgICAgIHdoZW4gTy52YWx1ZSBpcyBDb2RlYWJsZUNvbmNlcHQgdGhlbiBDb2FsZXNjZShGaXJzdChPLnZhbHVlLmNvZGluZyBDIHdoZXJlIEMuc3lzdGVtICA9ICdodHRwczovL2ZoaXIuZGsuc3dpc3N0cGgtbWlzLmNoL21hdGNoYm94L2ZoaXIvQ29kZVN5c3RlbS9lbWNhcmUtY3VzdG9tLWNvZGVzJyksIEZpcnN0KE8udmFsdWUuY29kaW5nKSkKICAgICAgZWxzZSBPLnZhbHVlCiAgZW5kCgoKZGVmaW5lIGZ1bmN0aW9uIGFzc2VzT2JzZXJ2YXRpb24oTyBPYnNlcnZhdGlvbik6CiAgY2FzZSAgCiAgICAgIHdoZW4gIE8gaXMgbnVsbCB0aGVuIG51bGwKICAgICAgd2hlbiAgTy5zdGF0dXMgaW4gIHsnY2FuY2VsbGVkJ30gdGhlbiBmYWxzZQogICAgICB3aGVuIE8udmFsdWUgaXMgbnVsbCB0aGVuICB0cnVlCiAgICAgIGVsc2UgTy52YWx1ZQogIGVuZAovKiAgICAgIApkZWZpbmUgZnVuY3Rpb24gR2V0T2JzZXJ2YXRpb25EdXJpbmdFbmNvdW50ZXIoaWRsaXN0IExpc3Q8U3lzdGVtLkNvZGU+KToKICBpZiBHZXRPYnNlcnZhdGlvbkR1cmluZ0VuY291bnRlckRvbmUoaWRsaXN0ICkgaXMgbnVsbCB0aGVuIAogICAgICBHZXRPYnNlcnZhdGlvbkR1cmluZ0VuY291bnRlckRvbmUoaWRsaXN0ICkKICBlbHNlCiAgICBHZXRPYnNlcnZhdGlvbkR1cmluZ0VuY291bnRlck5vdEZvdW5kKGlkbGlzdCApCiovCgpkZWZpbmUgZnVuY3Rpb24gR2V0T2JzZXJ2YXRpb25EdXJpbmdFbmNvdW50ZXIoaWQgU3lzdGVtLkNvZGUpOgogIENvYWxlc2NlKEdldE9ic2VydmF0aW9uRHVyaW5nRW5jb3VudGVyRG9uZShpZCApLCBHZXRPYnNlcnZhdGlvbkR1cmluZ0VuY291bnRlck5vdEZvdW5kKGlkICkpCi8qCmRlZmluZSBmdW5jdGlvbiBHZXRPYnNlcnZhdGlvbkR1cmluZ0VuY291bnRlckRvbmUoaWRsaXN0IExpc3Q8U3lzdGVtLkNvZGU+KToKICAgICAgTGFzdChbT2JzZXJ2YXRpb246IGlkbGlzdCBdIE8KICAgICAgICB3aGVyZSAgIElzSW5FbmNvdW50ZXIoTy5lbmNvdW50ZXIpIAogICAgICAgIGFuZCBPLnN0YXR1cyBpbiB7ICdmaW5hbCcsICdhbWVuZGVkJywgJ2NvcnJlY3RlZCd9KQoqLwpkZWZpbmUgZnVuY3Rpb24gR2V0T2JzZXJ2YXRpb25EdXJpbmdFbmNvdW50ZXJEb25lKGlkIFN5c3RlbS5Db2RlKToKICAgICAgRmlyc3QoW09ic2VydmF0aW9uOiBpZCBdIE8KICAgICAgICB3aGVyZSAgIElzSW5FbmNvdW50ZXIoTy5lbmNvdW50ZXIpIAogICAgICAgIGFuZCBPLnN0YXR1cyBpbiB7ICdmaW5hbCcsICdhbWVuZGVkJywgJ2NvcnJlY3RlZCd9IAogICAgICAgIHNvcnQgYnkgaXNzdWVkLnZhbHVlIGRlc2MpIAoKCmRlZmluZSBmdW5jdGlvbiBIYXNPYnNlcnZhdGlvbkNvZGVEdXJpbmdFbmNvdW50ZXJEb25lKGlkIFN5c3RlbS5Db2RlLCB2YWx1ZUNvZGUgU3lzdGVtLkNvZGUpOgogICAgCiAgICBFeGlzdHMoW09ic2VydmF0aW9uOiBpZCBdIE8KICAgICAgICB3aGVyZSAgIElzSW5FbmNvdW50ZXIoTy5lbmNvdW50ZXIpIAogICAgICAgIGFuZCBPLnN0YXR1cyBpbiB7ICdmaW5hbCcsICdhbWVuZGVkJywgJ2NvcnJlY3RlZCd9CiAgICAgICAgYW5kIE8udmFsdWUgaXMgRkhJUi5Db2RlYWJsZUNvbmNlcHQKICAgICAgICBhbmQgTy52YWx1ZSB+IHZhbHVlQ29kZSkKCi8vRXhpc3RzKFtPYnNlcnZhdGlvbl0gTyB3aGVyZSBPLnN0YXR1cyBpbiB7ICdmaW5hbCcsICdhbWVuZGVkJywgJ2NvcnJlY3RlZCd9IGFuZCBPLnZhbHVlIGlzIEZISVIuQ29kZWFibGVDb25jZXB0ICAgYW5kIEV4aXN0cyggTy52YWx1ZS5jb2RpbmcgQyB3aGVyZSBDIGlzIEZISVIuQ29kaW5nIGFuZCBDLmNvZGUgPSBGSElSLmNvZGUge3ZhbHVlOiAnRW1DYXJlLkIyMFMyLkRFMDQnfSkgKSIKCi8qCmRlZmluZSBmdW5jdGlvbiBHZXRPYnNlcnZhdGlvbkR1cmluZ0VuY291bnRlck5vdEZvdW5kKGlkbGlzdCBMaXN0PFN5c3RlbS5Db2RlPik6CiAgICAgIExhc3QoW09ic2VydmF0aW9uOiBpZGxpc3RdIE8KICAgICAgIHdoZXJlICBJc0luRW5jb3VudGVyKE8uZW5jb3VudGVyKSAKICAgICAgICAgIGFuZCBPLnN0YXR1cyBpbiB7J2NhbmNlbGxlZCd9KQogICAgICAgICAgKi8KZGVmaW5lIGZ1bmN0aW9uIEdldE9ic2VydmF0aW9uRHVyaW5nRW5jb3VudGVyTm90Rm91bmQoaWQgU3lzdGVtLkNvZGUpOgogICAgICBGaXJzdChbT2JzZXJ2YXRpb246IGlkXSBPCiAgICAgICB3aGVyZSAgSXNJbkVuY291bnRlcihPLmVuY291bnRlcikgCiAgICAgICAgICBhbmQgTy5zdGF0dXMgaW4geydjYW5jZWxsZWQnfQogICAgICAgICAgc29ydCBieSBpc3N1ZWQudmFsdWUgZGVzYykKLyoKCmRlZmluZSBmdW5jdGlvbiBHZXROdW1iZXJPYnNlcnZhdGlvbkR1cmluZ0VuY291bnRlcihpZGxpc3QgTGlzdDxTeXN0ZW0uQ29kZT4pOgogIENvdW50KAogICAgW09ic2VydmF0aW9uOiBpZGxpc3RdIE8KICAgICAgICB3aGVyZSAgSXNJbkVuY291bnRlciggTy5lbmNvdW50ZXIpIAogICAgICAgIGFuZCBPLnN0YXR1cyBpbiB7ICdmaW5hbCcsICdhbWVuZGVkJywgJ2NvcnJlY3RlZCd9KQoqLwpkZWZpbmUgZnVuY3Rpb24gR2V0TnVtYmVyT2JzZXJ2YXRpb25EdXJpbmdFbmNvdW50ZXIoaWQgU3lzdGVtLkNvZGUpOgogIENvdW50KAogICAgW09ic2VydmF0aW9uOiBpZF0gTwogICAgICAgIHdoZXJlICBJc0luRW5jb3VudGVyKCBPLmVuY291bnRlcikgCiAgICAgICAgYW5kIE8uc3RhdHVzIGluIHsgJ2ZpbmFsJywgJ2FtZW5kZWQnLCAnY29ycmVjdGVkJ30pCgovLyAqKioqKioqKioqKioqKioqKioqKioqKiogICBHZXRPYnNWYWx1ZSAqKioqKioqKioqKioqKioqKioqKioqKiovCi8qCmRlZmluZSBmdW5jdGlvbiBHZXRPYnNWYWx1ZShpZGxpc3QgTGlzdDxTeXN0ZW0uQ29kZT4pOgogICAgZ2V0VmFsdWUoR2V0T2JzZXJ2YXRpb25EdXJpbmdFbmNvdW50ZXIoaWRsaXN0KSkKCmRlZmluZSBmdW5jdGlvbiBHZXRPYnNWYWx1ZShpZCBTeXN0ZW0uQ29kZSk6CiAgICBnZXRWYWx1ZShHZXRPYnNlcnZhdGlvbkR1cmluZ0VuY291bnRlcih7aWR9KSkKKi8KCmRlZmluZSBmdW5jdGlvbiBHZXRPYnNWYWx1ZShpZCBTeXN0ZW0uQ29kZSk6CiAgICBnZXRWYWx1ZShHZXRPYnNlcnZhdGlvbkR1cmluZ0VuY291bnRlcihpZCkpCgpkZWZpbmUgZnVuY3Rpb24gR2V0T2JzVmFsdWUoaWQgU3lzdGVtLlN0cmluZywgY29kZXN5c3RlbSBTeXN0ZW0uU3RyaW5nKToKICAgIGdldFZhbHVlKEdldE9ic2VydmF0aW9uRHVyaW5nRW5jb3VudGVyKGNvZGluZyhpZCwgY29kZXN5c3RlbSkpKQoKZGVmaW5lIGZ1bmN0aW9uIEdldE9ic1ZhbHVlKGlkIFN5c3RlbS5TdHJpbmcpOgogICAgZ2V0VmFsdWUoR2V0T2JzZXJ2YXRpb25EdXJpbmdFbmNvdW50ZXIoY29kaW5nKGlkLCAnaHR0cHM6Ly9maGlyLmRrLnN3aXNzdHBoLW1pcy5jaC9tYXRjaGJveC9maGlyL0NvZGVTeXN0ZW0vZW1jYXJlLWN1c3RvbS1jb2RlcycpKSkKCmRlZmluZSBmdW5jdGlvbiBIYXNPYnNWYWx1ZUNvZGUoaWQgU3lzdGVtLlN0cmluZywgdmFsdWUgU3lzdGVtLkNvZGUpOgogICBIYXNPYnNlcnZhdGlvbkNvZGVEdXJpbmdFbmNvdW50ZXJEb25lKGNvZGluZyhpZCwgJ2h0dHBzOi8vZmhpci5kay5zd2lzc3RwaC1taXMuY2gvbWF0Y2hib3gvZmhpci9Db2RlU3lzdGVtL2VtY2FyZS1jdXN0b20tY29kZXMnKSAsIHZhbHVlICkKICAKZGVmaW5lIGZ1bmN0aW9uIEhhc09ic1ZhbHVlQ29kZShpZCBTeXN0ZW0uU3RyaW5nLCB2YWx1ZSBTeXN0ZW0uU3RyaW5nKToKICAgSGFzT2JzZXJ2YXRpb25Db2RlRHVyaW5nRW5jb3VudGVyRG9uZShjb2RpbmcoaWQsICdodHRwczovL2ZoaXIuZGsuc3dpc3N0cGgtbWlzLmNoL21hdGNoYm94L2ZoaXIvQ29kZVN5c3RlbS9lbWNhcmUtY3VzdG9tLWNvZGVzJykgLCBjb2RpbmcodmFsdWUsICdodHRwczovL2ZoaXIuZGsuc3dpc3N0cGgtbWlzLmNoL21hdGNoYm94L2ZoaXIvQ29kZVN5c3RlbS9lbWNhcmUtY3VzdG9tLWNvZGVzJykgKQoKZGVmaW5lIGZ1bmN0aW9uIEhhc09ic1ZhbHVlQ29kZShpZCBTeXN0ZW0uQ29kZSwgdmFsdWUgU3lzdGVtLlN0cmluZyk6CiAgIEhhc09ic2VydmF0aW9uQ29kZUR1cmluZ0VuY291bnRlckRvbmUoaWQgLCBjb2RpbmcodmFsdWUsICdodHRwczovL2ZoaXIuZGsuc3dpc3N0cGgtbWlzLmNoL21hdGNoYm94L2ZoaXIvQ29kZVN5c3RlbS9lbWNhcmUtY3VzdG9tLWNvZGVzJykgKQoKLy8gKioqKioqKioqKioqKioqKioqKioqKioqICAgSGFzT2JzICoqKioqKioqKioqKioqKioqKioqKioqKi8KLyoKZGVmaW5lIGZ1bmN0aW9uIEhhc09icyhpZGxpc3QgTGlzdDxTeXN0ZW0uQ29kZT4pOgogICAgYXNzZXNPYnNlcnZhdGlvbihHZXRPYnNlcnZhdGlvbkR1cmluZ0VuY291bnRlcihpZGxpc3QpKQoKZGVmaW5lIGZ1bmN0aW9uIEhhc09icyhpZCBTeXN0ZW0uQ29kZSk6CiAgICBhc3Nlc09ic2VydmF0aW9uKEdldE9ic2VydmF0aW9uRHVyaW5nRW5jb3VudGVyKHtpZH0pKQoqLwpkZWZpbmUgZnVuY3Rpb24gSGFzT2JzKGlkIFN5c3RlbS5Db2RlKToKICAgIGFzc2VzT2JzZXJ2YXRpb24oR2V0T2JzZXJ2YXRpb25EdXJpbmdFbmNvdW50ZXIoaWQpKQoKZGVmaW5lIGZ1bmN0aW9uIEhhc09icyhpZCBTeXN0ZW0uU3RyaW5nLCBjb2Rlc3lzdGVtIFN5c3RlbS5TdHJpbmcpOgogICAgYXNzZXNPYnNlcnZhdGlvbihHZXRPYnNlcnZhdGlvbkR1cmluZ0VuY291bnRlcihjb2RpbmcoaWQsIGNvZGVzeXN0ZW0pKSkKCmRlZmluZSBmdW5jdGlvbiBIYXNPYnMoaWQgU3lzdGVtLlN0cmluZyk6CiAgICBhc3Nlc09ic2VydmF0aW9uKEdldE9ic2VydmF0aW9uRHVyaW5nRW5jb3VudGVyKGNvZGluZyhpZCkpKQoKZGVmaW5lIGZ1bmN0aW9uIEhhc09icyhpZCBGSElSLmNvZGUsIGNvZGVzeXN0ZW0gU3lzdGVtLlN0cmluZyk6CiAgICBhc3Nlc09ic2VydmF0aW9uKEdldE9ic2VydmF0aW9uRHVyaW5nRW5jb3VudGVyKGNvZGluZyhpZCwgY29kZXN5c3RlbSkpKQovKgpkZWZpbmUgZnVuY3Rpb24gR2V0SGlzdG9yaWNPYnNlcnZhdGlvbihpZGxpc3QgTGlzdDxTeXN0ZW0uQ29kZT4sIG5iZGF5cyBJbnRlZ2VyKToKICBpZiBHZXRIaXN0b3JpY09ic2VydmF0aW9uTm90Zm91bmQoaWRsaXN0ICwgY29kZXN5c3RlbSAsIG5iZGF5cyApIGlzIG51bGwgdGhlbiAKICAgICAgR2V0SGlzdG9yaWNPYnNlcnZhdGlvbk5vdGZvdW5kKGlkbGlzdCAsIGNvZGVzeXN0ZW0gLCBuYmRheXMgKQogIGVsc2UKICAgIEdldEhpc3RvcmljT2JzZXJ2YXRpb25Ob3Rmb3VuZChpZGxpc3QgLCBjb2Rlc3lzdGVtICwgbmJkYXlzICkKKi8KCmRlZmluZSBmdW5jdGlvbiBHZXRIaXN0b3JpY09ic2VydmF0aW9uKGlkIFN5c3RlbS5Db2RlLCBuYmRheXMgSW50ZWdlcik6CiAgQ29hbGVzY2UoR2V0SGlzdG9yaWNPYnNlcnZhdGlvbkRvbmUoaWQgLCAgbmJkYXlzICksICBHZXRIaXN0b3JpY09ic2VydmF0aW9uTm90Zm91bmQoaWQgICwgbmJkYXlzICkpCi8qCmRlZmluZSBmdW5jdGlvbiBHZXRIaXN0b3JpY09ic2VydmF0aW9uRG9uZShpZGxpc3QgTGlzdDxTeXN0ZW0uQ29kZT4sIG5iZGF5cyBJbnRlZ2VyKToKICAgICAgTGFzdChbT2JzZXJ2YXRpb246IGlkbGlzdCBdIE8KICAgICAgICB3aGVyZSAgTy5zdGF0dXMgaW4geyAnZmluYWwnLCAnYW1lbmRlZCcsICdjb3JyZWN0ZWQnfQogICAgICAgIGFuZCAoZGlmZmVyZW5jZSBpbiBkYXlzIGJldHdlZW4gTy5pc3N1ZWQgYW5kIFRvZGF5KCkpIDwgbmJkYXlzKQoqLwpkZWZpbmUgZnVuY3Rpb24gR2V0SGlzdG9yaWNPYnNlcnZhdGlvbkRvbmUoaWQgU3lzdGVtLkNvZGUsIG5iZGF5cyBJbnRlZ2VyKToKICAgICAgRmlyc3QoW09ic2VydmF0aW9uOiBpZCBdIE8KICAgICAgICB3aGVyZSAgTy5zdGF0dXMgaW4geyAnZmluYWwnLCAnYW1lbmRlZCcsICdjb3JyZWN0ZWQnfQogICAgICAgIGFuZCAoZGlmZmVyZW5jZSBpbiBkYXlzIGJldHdlZW4gTy5pc3N1ZWQudmFsdWUgYW5kIFRvZGF5KCkpIDwgbmJkYXlzIAogICAgICAgIHNvcnQgYnkgaXNzdWVkLnZhbHVlIGRlc2MgKQoKLyoKZGVmaW5lIGZ1bmN0aW9uIEdldEhpc3RvcmljT2JzZXJ2YXRpb25Ob3Rmb3VuZChpZGxpc3QgTGlzdDxTeXN0ZW0uQ29kZT4sIG5iZGF5cyBJbnRlZ2VyKToKICAgICAgTGFzdChbT2JzZXJ2YXRpb246IGlkbGlzdF0gTwogICAgICAgIHdoZXJlICBPLnN0YXR1cyBpbiB7J2NhbmNlbGxlZCd9CiovCmRlZmluZSBmdW5jdGlvbiBHZXRIaXN0b3JpY09ic2VydmF0aW9uTm90Zm91bmQoaWQgU3lzdGVtLkNvZGUsIG5iZGF5cyBJbnRlZ2VyKToKICAgICAgRmlyc3QoW09ic2VydmF0aW9uOiBpZF0gTwogICAgICAgIHdoZXJlICBPLnN0YXR1cyBpbiB7J2NhbmNlbGxlZCd9CiAgICAgICAgICBhbmQgKGRpZmZlcmVuY2UgaW4gZGF5cyBiZXR3ZWVuIE8uaXNzdWVkLnZhbHVlIGFuZCBUb2RheSgpKSA8IG5iZGF5cyAKICAgICAgICBzb3J0IGJ5IGlzc3VlZC52YWx1ZSBkZXNjKQovLyAqKioqKioqKioqKioqKioqKioqKioqKiogICBIYXNPYnNIaXN0b3J5ICoqKioqKioqKioqKioqKioqKioqKioqKi8KCi8qCmRlZmluZSBmdW5jdGlvbiBIYXNPYnNIaXN0b3J5KGlkbGlzdCBMaXN0PFN5c3RlbS5Db2RlPiwgIG5iZGF5cyBJbnRlZ2VyKToKICBhc3Nlc09ic2VydmF0aW9uKEdldEhpc3RvcmljT2JzZXJ2YXRpb24oaWRsaXN0LCBuYmRheXMpKQoKCiBkZWZpbmUgZnVuY3Rpb24gSGFzT2JzSGlzdG9yeShpZCBTeXN0ZW0uQ29kZSwgY25iZGF5cyBJbnRlZ2VyKToKICBhc3Nlc09ic2VydmF0aW9uKEdldEhpc3RvcmljT2JzZXJ2YXRpb24oe2lkfSwgbmJkYXlzKSkKKi8KZGVmaW5lIGZ1bmN0aW9uIEhhc09ic0hpc3RvcnkoaWQgU3lzdGVtLkNvZGUsIG5iZGF5cyBJbnRlZ2VyKToKICBhc3Nlc09ic2VydmF0aW9uKEdldEhpc3RvcmljT2JzZXJ2YXRpb24oaWQsIG5iZGF5cykpCgpkZWZpbmUgZnVuY3Rpb24gSGFzT2JzSGlzdG9yeShpZCBTeXN0ZW0uU3RyaW5nLCBjb2Rlc3lzdGVtIFN5c3RlbS5TdHJpbmcsIG5iZGF5cyBJbnRlZ2VyKToKICBhc3Nlc09ic2VydmF0aW9uKEdldEhpc3RvcmljT2JzZXJ2YXRpb24oY29kaW5nKGlkLCBjb2Rlc3lzdGVtKSwgbmJkYXlzKSkKCgpkZWZpbmUgZnVuY3Rpb24gSGFzT2JzSGlzdG9yeShpZCBTeXN0ZW0uU3RyaW5nLCBuYmRheXMgSW50ZWdlcik6CiAgYXNzZXNPYnNlcnZhdGlvbihHZXRIaXN0b3JpY09ic2VydmF0aW9uKGNvZGluZyhpZCksIG5iZGF5cykpCgpkZWZpbmUgZnVuY3Rpb24gYyhzIFN5c3RlbS5TdHJpbmcpOgogIEZISVIuY29kZSB7IHZhbHVlOiBzIH0KCgoKZGVmaW5lIGZ1bmN0aW9uIGNvZGluZyhzIFN5c3RlbS5TdHJpbmcsIHVybCBTeXN0ZW0uU3RyaW5nKToKICBTeXN0ZW0uQ29kZSB7CiAgICAgICAgICAgICAgICBjb2RlOiAgcyAsCiAgICAgICAgICAgICAgICBzeXN0ZW06ICB1cmwgCiAgICAgICAgICAgIH0KCmRlZmluZSBmdW5jdGlvbiBjb2RpbmcocyBGSElSLmNvZGUsIHVybCBTeXN0ZW0uU3RyaW5nKToKICBTeXN0ZW0uQ29kZSB7CiAgICAgICAgICAgICAgICBjb2RlOiAgcy52YWx1ZSAsCiAgICAgICAgICAgICAgICBzeXN0ZW06ICB1cmwgCiAgICAgICAgICAgIH0KCmRlZmluZSBmdW5jdGlvbiBjb2RpbmcocyBTeXN0ZW0uU3RyaW5nKToKICBTeXN0ZW0uQ29kZSB7CiAgICAgICAgICAgICAgICBjb2RlOiAgcyAsCiAgICAgICAgICAgICAgICBzeXN0ZW06ICAnaHR0cHM6Ly9maGlyLmRrLnN3aXNzdHBoLW1pcy5jaC9tYXRjaGJveC9maGlyL0NvZGVTeXN0ZW0vZW1jYXJlLWN1c3RvbS1jb2RlcycKICAgICAgICAgICAgfQoKCmRlZmluZSBmdW5jdGlvbiBUb1VybChzIFN5c3RlbS5TdHJpbmcpOgogIHVybCB7dmFsdWU6c30KCgoKLy8gKioqKioqKioqKioqKioqKioqKioqKioqICAgR2V0Q29uZCAqKioqKioqKioqKioqKioqKioqKioqKiovCi8qCmRlZmluZSBmdW5jdGlvbiBHZXRDb08uZW5jb3VudGVybmRpdGlvbihpZGxpc3QgTGlzdDxTeXN0ZW0uQ29kZT4pOgogICAgICBMYXN0KFtDb25kaXRpb246IGlkbGlzdF0gTwogICAgICAgIHdoZXJlICBJc0luRW5jb3VudGVyKCBPLmVuY291bnRlcikgCiAgICAgICAgYW5kIGV4aXN0cyhPLnZlcmlmaWNhdGlvblN0YXR1cy5jb2RpbmcgQyB3aGVyZSBDLmNvZGUgaW4geyd1bmNvbmZpcm1lZCcsICdwcm92aXNpb25hbCcsICdkaWZmZXJlbnRpYWwnLCAnY29uZmlybWVkJ30gCiAgICAgICAgYW5kIEMuc3lzdGVtID0gJ2h0dHA6Ly90ZXJtaW5vbG9neS5obDcub3JnL0NvZGVTeXN0ZW0vY29uZGl0aW9uLXZlci1zdGF0dXMnKSkKKi8KZGVmaW5lIGZ1bmN0aW9uIEdldENvbmRpdGlvbihpZCBTeXN0ZW0uQ29kZSk6CiAgICAgIEZpcnN0KFtDb25kaXRpb246IGlkXSBPCiAgICAgICAgd2hlcmUgIElzSW5FbmNvdW50ZXIoTy5lbmNvdW50ZXIpIAogICAgICAgIGFuZCBleGlzdHMoTy52ZXJpZmljYXRpb25TdGF0dXMuY29kaW5nIEMgd2hlcmUgQy5jb2RlIGluIHsndW5jb25maXJtZWQnLCAncHJvdmlzaW9uYWwnLCAnZGlmZmVyZW50aWFsJywgJ2NvbmZpcm1lZCd9IAogICAgICAgIGFuZCBDLnN5c3RlbSA9ICdodHRwOi8vdGVybWlub2xvZ3kuaGw3Lm9yZy9Db2RlU3lzdGVtL2NvbmRpdGlvbi12ZXItc3RhdHVzJykgCiAgICAgICAgc29ydCBieSByZWNvcmRlZERhdGUgZGVzYykKCgpkZWZpbmUgZnVuY3Rpb24gYXNzZXNDb25kaXRpb24oTyBDb25kaXRpb24pOgogIGlmIE8gaXMgbnVsbCB0aGVuIAogICAgZmFsc2UKICBlbHNlCiAgICB0cnVlCi8qCmRlZmluZSBmdW5jdGlvbiBHZXRDb25kKGlkbGlzdCBMaXN0PFN5c3RlbS5Db2RlPik6CiAgR2V0Q29uZGl0aW9uKGlkbGlzdCkKCmRlZmluZSBmdW5jdGlvbiBHZXRDb25kKGlkIFN5c3RlbS5Db2RlKToKICBHZXRDb25kaXRpb24oe2lkfSkKKi8KZGVmaW5lIGZ1bmN0aW9uIEdldENvbmQoaWQgU3lzdGVtLkNvZGUpOgogIChHZXRDb25kaXRpb24oaWQpKQoKZGVmaW5lIGZ1bmN0aW9uIEdldENvbmQoaWQgU3lzdGVtLlN0cmluZywgY29kZXN5c3RlbSBTeXN0ZW0uU3RyaW5nKToKICAoR2V0Q29uZGl0aW9uKGNvZGluZyhpZCwgY29kZXN5c3RlbSkpKQoKZGVmaW5lIGZ1bmN0aW9uIEdldENvbmQoaWQgU3lzdGVtLlN0cmluZyk6CiAgKEdldENvbmRpdGlvbihjb2RpbmcoaWQpKSkKCi8vICoqKioqKioqKioqKioqKioqKioqKioqKiAgIEhhc0NvbmQgKioqKioqKioqKioqKioqKioqKioqKioqLwovKgpkZWZpbmUgZnVuY3Rpb24gSGFzQ29uZChpZGxpc3QgTGlzdDxTeXN0ZW0uQ29kZT4pOgogIGFzc2VzQ29uZGl0aW9uKEdldENvbmRpdGlvbihpZGxpc3QpKQoKCjM1MThHZXRDb25kaXRpb24oaWQpKQoqLwpkZWZpbmUgZnVuY3Rpb24gSGFzQ29uZChpZCBTeXN0ZW0uU3RyaW5nLCBjb2Rlc3lzdGVtIFN5c3RlbS5TdHJpbmcpOgogIGFzc2VzQ29uZGl0aW9uKEdldENvbmRpdGlvbihjb2RpbmcoaWQsIGNvZGVzeXN0ZW0pKSkKCmRlZmluZSBmdW5jdGlvbiBIYXNDb25kKGlkIFN5c3RlbS5TdHJpbmcpOgogIGFzc2VzQ29uZGl0aW9uKEdldENvbmRpdGlvbihjb2RpbmcoaWQpKSkKCmRlZmluZSBmdW5jdGlvbiBIYXNDb25kKGlkIFN5c3RlbS5Db2RlKToKICBhc3Nlc0NvbmRpdGlvbihHZXRDb25kaXRpb24oaWQpKQoKLy8gKioqKioqKioqKioqKioqKioqKioqKioqICAgUGF0aWVudEhhc0hpc3RvcnlPZkNvbmRpdGlvbiAqKioqKioqKioqKioqKioqKioqKioqKiovCi8qCmRlZmluZSBmdW5jdGlvbiBHZXRIaXN0b3JpY0NvbmRpdGlvbihpZGxpc3QgTGlzdDxTeXN0ZW0uQ29kZT4sICBuYmRheXMgSW50ZWdlcik6CiAgICAgIExhc3QoW0NvbmRpdGlvbjogaWRsaXN0XSBPCiAgICAgICAgd2hlcmUgIChkaWZmZXJlbmNlIGluIGRheXMgYmV0d2VlbiBPLnJlY29yZGVkRGF0ZSBhbmQgVG9kYXkoKSkgPCBuYmRheXMKICAgICAgICBhbmQgZXhpc3RzKE8udmVyaWZpY2F0aW9uU3RhdHVzLmNvZGluZyBDIHdoZXJlIEMuY29kZSBpbiB7J3VuY29uZmlybWVkJywgJ3Byb3Zpc2lvbmFsJywgJ2RpZmZlcmVudGlhbCcsICdjb25maXJtZWQnfSAKICAgICAgICBhbmQgQy5zeXN0ZW0gPSAnaHR0cDovL3Rlcm1pbm9sb2d5LmhsNy5vcmcvQ29kZVN5c3RlbS9jb25kaXRpb24tdmVyLXN0YXR1cycpKQoqLwoKZGVmaW5lIGZ1bmN0aW9uIEdldEhpc3RvcmljQ29uZGl0aW9uKGlkIFN5c3RlbS5Db2RlLCAgbmJkYXlzIEludGVnZXIpOgogICAgICBGaXJzdChbQ29uZGl0aW9uOiBpZF0gTwogICAgICAgIHdoZXJlICAoZGlmZmVyZW5jZSBpbiBkYXlzIGJldHdlZW4gTy5yZWNvcmRlZERhdGUgYW5kIFRvZGF5KCkpIDwgbmJkYXlzCiAgICAgICAgYW5kIGV4aXN0cyhPLnZlcmlmaWNhdGlvblN0YXR1cy5jb2RpbmcgQyB3aGVyZSBDLmNvZGUgaW4geyd1bmNvbmZpcm1lZCcsICdwcm92aXNpb25hbCcsICdkaWZmZXJlbnRpYWwnLCAnY29uZmlybWVkJ30gCiAgICAgICAgYW5kIEMuc3lzdGVtID0gJ2h0dHA6Ly90ZXJtaW5vbG9neS5obDcub3JnL0NvZGVTeXN0ZW0vY29uZGl0aW9uLXZlci1zdGF0dXMnKSAKICAgICAgICBzb3J0IGJ5IHJlY29yZGVkRGF0ZSBkZXNjKQoKCgoKLyoKZGVmaW5lIGZ1bmN0aW9uIEhhc0NvbmRIaXN0b3J5KGlkbGlzdCBMaXN0PFN5c3RlbS5Db2RlPiwgIG5iZGF5cyBJbnRlZ2VyKToKICBhc3Nlc0NvbmRpdGlvbihHZXRIaXN0b3JpY0NvbmRpdGlvbihpZGxpc3QsICBuYmRheXMpKQoKCmRlZmluZSBmdW5jdGlvbiBIYXNDb25kSGlzdG9yeShpZCBTeXN0ZW0uQ29kZSwgIG5iZGF5cyBJbnRlZ2VyKToKICBhc3Nlc0NvbmRpdGlvbihHZXRIaXN0b3JpY0NvbmRpdGlvbih7aWR9LCBuYmRheXMpKQoqLwpkZWZpbmUgZnVuY3Rpb24gSGFzQ29uZEhpc3RvcnkoaWQgU3lzdGVtLkNvZGUsIG5iZGF5cyBJbnRlZ2VyKToKICBhc3Nlc0NvbmRpdGlvbihHZXRIaXN0b3JpY0NvbmRpdGlvbihpZCwgIG5iZGF5cykpCgpkZWZpbmUgZnVuY3Rpb24gSGFzQ29uZEhpc3RvcnkoaWQgU3lzdGVtLlN0cmluZywgY29kZXN5c3RlbSBTeXN0ZW0uU3RyaW5nLCBuYmRheXMgSW50ZWdlcik6CiAgYXNzZXNDb25kaXRpb24oR2V0SGlzdG9yaWNDb25kaXRpb24oY29kaW5nKGlkLGNvZGVzeXN0ZW0pLG5iZGF5cykpCgoKZGVmaW5lIGZ1bmN0aW9uIEhhc0NvbmRIaXN0b3J5KGlkIFN5c3RlbS5TdHJpbmcsIG5iZGF5cyBJbnRlZ2VyKToKICBhc3Nlc0NvbmRpdGlvbihHZXRIaXN0b3JpY0NvbmRpdGlvbihjb2RpbmcoaWQpLCAgbmJkYXlzKSkKCgoKLy9kZWZpbmUgZnVuY3Rpb24gUGF0aWVudEhhc0NvbmRpdGlvbkR1cmluZ0VuY291bnRlcihpZCBTdHJpbmcsIGNvZGVzeXN0ZW0gdXJsLCBkdXJhdGlvbiBJbnRlZ2VyKSk6CgovL2RlZmluZSBmdW5jdGlvbiBQYXRpZW50SGFzQ29uZGl0aW9uRnJvbVZhbHVlU2V0RHVyaW5nRW5jb3VudGVyKGlkIFN0cmluZywgY29kZXN5c3RlbSB1cmwsIGR1cmF0aW9uIEludGVnZXIpKToKCi8vZGVmaW5lIGZ1bmN0aW9uIFBhdGllbnRIYXNIc2lzdG9yeUNvbmRpdGlvbihpZCBTdHJpbmcsY29kZXN5c3RlbSB1cmwgLCBkdXJhdGlvbiBJbnRlZ2VyKToKLy9kZWZpbmUgZnVuY3Rpb24gUGF0aWVudEhhc0hzaXN0b3J5Q29uZGl0aW9uRnJvbVZhbHVlU2V0KGlkIFN0cmluZyxjb2Rlc3lzdGVtIHVybCAsIGR1cmF0aW9uIEludGVnZXIpOgoKCi8vIFBhdGllbnRIYXNTeW1wdG9tKCJzeW1wdG9tIG5hbWUiKTogc3ltcHRvbSBpbiB0aGUgZW5jb3VudGVyCgoKLy8gUGF0aWVudExhc3RNZWFzdXJlT2YoIm1lYXN1cmUgbmFtZSIpOiBtZWFzdXJlIGluIHRoZSBlbmNvdW50ZXIKCi8vIFBhdGllbnRMYXN0SGlzdG9yaWNNZWFzdXJlT2YoIm1lYXN1cmUgbmFtZSIsIGR1cmF0aW9uKTogbWVhc3VyZSBpbiB0aGUgcGF0aWVudCBoaXN0b3J5IGR1cmluZyBkdXJhdGlvbgoKLy8gUGF0aWVudEhhc0RpYWdub3N0aWMoIkRpYWdub3N0aWMgbmFtZSIgKTogRGlhZ25vc3RpYyBpbiB0aGUgZW5jb3VudGVyCgovLyBQYXRpZW50SGFzSGlzdG9yeU9mRGlhZ25vc3RpYygiRGlhZ25vc3RpYyBuYW1lIiwgZHVyYXRpb24gKTogRGlhZ25vc3RpYyBpbiB0aGUgcGF0aWVudCBoaXN0b3J5IGR1cmluZyBkdXJhdGlvbgoKLy8gUGF0aWVudEhhc1Byb3Bvc2Vkb3JDb25maXJtZWREaWFub3N0aWMoIkRpYWdub3N0aWMgbmFtZSIgKTogRGlhZ25vc3RpYyBpbiB0aGUgZW5jb3VudGVyCgovLyBQYXRpZW50SGFzSGlzdG9yeU9mUHJvcG9zZWRvckNvbmZpcm1lZERpYW5vc3RpYygiRGlhZ25vc3RpYyBuYW1lIiwgZHVyYXRpb24gKTogRGlhZ25vc3RpYyBpbiB0aGUgcGF0aWVudCBoaXN0b3J5IGR1cmluZyBkdXJhdGlvbgoKLy8gUGF0aWVudFpTY29yZVdmQSh3aWVnaHQsIGFnZSkKCi8vIFBhdGllbnRXZWlnaHRGcm9tV2ZBKGFnZSwgTXVhYykK" } diff --git a/input/resources/library/library-emcarevalueset.json b/input/resources/library/library-Ccccondition.json similarity index 63% rename from input/resources/library/library-emcarevalueset.json rename to input/resources/library/library-Ccccondition.json index 3955728d..3009c102 100644 --- a/input/resources/library/library-emcarevalueset.json +++ b/input/resources/library/library-Ccccondition.json @@ -1,8 +1,8 @@ { "resourceType": "Library", - "id": "emcarevalueset", - "url": "https://smart.who.int/ccc/Library/emcarevalueset", - "name": "emcarevalueset", + "id": "Ccccondition", + "url": "https://smart.who.int/ccc/Library/Ccccondition", + "name": "Ccccondition", "status": "active", "type": { "coding": [ @@ -14,7 +14,7 @@ }, "content": [ { - "id": "ig-loader-emcarevalueset.cql" + "id": "ig-loader-Ccccondition.cql" } ] } \ No newline at end of file diff --git a/input/resources/library/library-emcaredt01.json b/input/resources/library/library-Cccdt01.json similarity index 82% rename from input/resources/library/library-emcaredt01.json rename to input/resources/library/library-Cccdt01.json index 31ab8f55..9b72c1f1 100644 --- a/input/resources/library/library-emcaredt01.json +++ b/input/resources/library/library-Cccdt01.json @@ -1,16 +1,16 @@ { "resourceType": "Library", - "id": "emcaredt01", - "url": "https://smart.who.int/ccc/Library/emcaredt01", + "id": "Cccdt01", + "url": "https://smart.who.int/ccc/Library/Cccdt01", "identifier": [ { "use": "official", - "value": "emcaredt01" + "value": "Cccdt01" } ], "version": "1.0.1.rc12.build.457", - "name": "emcaredt01", - "title": "emcaredt01", + "name": "Cccdt01", + "title": "Cccdt01", "status": "active", "type": { "coding": [ @@ -22,7 +22,7 @@ }, "parameter": [ { - "name": "emcaredt01", + "name": "Cccdt01", "use": "out", "type": "boolean" }, @@ -32,7 +32,7 @@ "type": "boolean" }, { - "name": "emcaredt02", + "name": "Cccdt02", "use": "out", "type": "boolean" }, @@ -42,7 +42,7 @@ "type": "boolean" }, { - "name": "emcaredt04", + "name": "Cccdt04", "use": "out", "type": "boolean" }, @@ -52,7 +52,7 @@ "type": "boolean" }, { - "name": "emcaredt03", + "name": "Cccdt03", "use": "out", "type": "boolean" }, @@ -62,7 +62,7 @@ "type": "boolean" }, { - "name": "emcaredt05", + "name": "Cccdt05", "use": "out", "type": "boolean" }, @@ -72,7 +72,7 @@ "type": "boolean" }, { - "name": "emcaredt06", + "name": "Cccdt06", "use": "out", "type": "boolean" }, @@ -82,7 +82,7 @@ "type": "boolean" }, { - "name": "emcaredt07", + "name": "Cccdt07", "use": "out", "type": "boolean" }, @@ -92,7 +92,7 @@ "type": "boolean" }, { - "name": "emcaredt08", + "name": "Cccdt08", "use": "out", "type": "boolean" }, @@ -102,7 +102,7 @@ "type": "boolean" }, { - "name": "emcaredt09", + "name": "Cccdt09", "use": "out", "type": "boolean" }, @@ -112,7 +112,7 @@ "type": "boolean" }, { - "name": "emcaredt10", + "name": "Cccdt10", "use": "out", "type": "boolean" }, @@ -122,7 +122,7 @@ "type": "boolean" }, { - "name": "emcaredt11", + "name": "Cccdt11", "use": "out", "type": "boolean" }, @@ -132,7 +132,7 @@ "type": "boolean" }, { - "name": "emcaredt12", + "name": "Cccdt12", "use": "out", "type": "boolean" }, @@ -144,7 +144,7 @@ ], "content": [ { - "id": "ig-loader-emcaredt01.cql" + "id": "ig-loader-Cccdt01.cql" } ] } \ No newline at end of file diff --git a/input/resources/library/library-emcareobservation-valueset.json b/input/resources/library/library-Cccobservation-valueset.json similarity index 95% rename from input/resources/library/library-emcareobservation-valueset.json rename to input/resources/library/library-Cccobservation-valueset.json index 61223226..009d4257 100644 --- a/input/resources/library/library-emcareobservation-valueset.json +++ b/input/resources/library/library-Cccobservation-valueset.json @@ -1,8 +1,8 @@ { "resourceType": "Library", - "id": "emcareobservationvalueset", - "url": "https://smart.who.int/ccc/Library/emcareobservationvalueset", - "name": "emcareobservation-valueset", + "id": "Cccobservationvalueset", + "url": "https://smart.who.int/ccc/Library/Cccobservationvalueset", + "name": "Cccobservation-valueset", "status": "active", "type": { "coding": [ @@ -20,7 +20,7 @@ ], "content": [ { - "id": "ig-loader-emcareobservation-valueset.cql", + "id": "ig-loader-Cccobservation-valueset.cql", "contentType": "text/cql", "data": "LyoKQGF1dGhvcjogUGF0cmljayBEZWxjcm9peApAZGVzY3JpcHRpb246IFRoaXMgbGlicmFyeSBpcyBwYXJ0IG9mIHRoZSBwcm9qZWN0IEVtQ2FyZQoqLwpsaWJyYXJ5IGVtY2FyZW9ic2VydmF0aW9uLXZhbHVlc2V0IHZlcnNpb24gJzEuMC4xLnJjMTIuYnVpbGQuMTU2Jwp1c2luZyBGSElSIHZlcnNpb24gJzQuMC4xJwppbmNsdWRlIEZISVJIZWxwZXJzIHZlcnNpb24gJzQuMC4xJyBjYWxsZWQgRkhJUkhlbHBlcnMgCgoKCgpjb2Rlc3lzdGVtICJFbUNhcmUiIDogJ2h0dHBzOi8vZmhpci5kay5zd2lzc3RwaC1taXMuY2gvbWF0Y2hib3gvZmhpci9Db2RlU3lzdGVtL2VtY2FyZS1jdXN0b20tY29kZXMnCgoKY29kZSAiZ2VuZXJhbGlzZWQgc2tpbiBwcm9ibGVtIjogJ0VtQ2FyZS5CMTRTMi5ERTA3JyBmcm9tICJFbUNhcmUiIGRpc3BsYXkgJ2dlbmVyYWxpc2VkIHNraW4gcHJvYmxlbScKY29kZSAibG9jYWxpc2VkIHNraW4gcHJvYmxlbSI6ICdFbUNhcmUuQjE0UzIuREUwOCcgZnJvbSAiRW1DYXJlIiBkaXNwbGF5ICdsb2NhbGlzZWQgc2tpbiBwcm9ibGVtJwpjb2RlICJubyBwcm9ibGVtIjogJ0VtQ2FyZS5CMTRTMi5ERTA5JyBmcm9tICJFbUNhcmUiIGRpc3BsYXkgJ25vIHByb2JsZW0nCmNvZGUgInBhcHVsYXIgdXJ0aWNhcmlhIG9yIHBhcHVsYXIgcHJ1cml0aWMgZXJ1cHRpb25zIjogJ0VtQ2FyZS5CMTRTMi5ERTE4JyBmcm9tICJFbUNhcmUiIGRpc3BsYXkgJ3BhcHVsYXIgdXJ0aWNhcmlhIG9yIHBhcHVsYXIgcHJ1cml0aWMgZXJ1cHRpb25zJwpjb2RlICJyaW5nd29ybSAodGluZWEpIjogJ0VtQ2FyZS5CMTRTMi5ERTE5JyBmcm9tICJFbUNhcmUiIGRpc3BsYXkgJ3Jpbmd3b3JtICh0aW5lYSknCmNvZGUgInNjYWJpZXMiOiAnRW1DYXJlLkIxNFMyLkRFMjEnIGZyb20gIkVtQ2FyZSIgZGlzcGxheSAnc2NhYmllcycKY29kZSAiY2hpY2tlbnBveCI6ICdFbUNhcmUuQjE0UzIuREUyMicgZnJvbSAiRW1DYXJlIiBkaXNwbGF5ICdjaGlja2VucG94Jwpjb2RlICJoZXJwZXMgem9zdGVyIjogJ0VtQ2FyZS5CMTRTMi5ERTIzJyBmcm9tICJFbUNhcmUiIGRpc3BsYXkgJ2hlcnBlcyB6b3N0ZXInCmNvZGUgImltcGV0aWdvIjogJ0VtQ2FyZS5CMTRTMi5ERTI1JyBmcm9tICJFbUNhcmUiIGRpc3BsYXkgJ2ltcGV0aWdvJwpjb2RlICJtb2xsdXNjdW0gY29udGFnaW9zdW0iOiAnRW1DYXJlLkIxNFMyLkRFMzEnIGZyb20gIkVtQ2FyZSIgZGlzcGxheSAnbW9sbHVzY3VtIGNvbnRhZ2lvc3VtJwpjb2RlICJ3YXJ0cyI6ICdFbUNhcmUuQjE0UzIuREUzMicgZnJvbSAiRW1DYXJlIiBkaXNwbGF5ICd3YXJ0cycKY29kZSAic2Vib3JyaG9laWMgZGVybWF0aXRpcyI6ICdFbUNhcmUuQjE0UzIuREUzMycgZnJvbSAiRW1DYXJlIiBkaXNwbGF5ICdzZWJvcnJob2VpYyBkZXJtYXRpdGlzJwpjb2RlICJmaXhlZCBkcnVnIHJlYWN0aW9uIjogJ0VtQ2FyZS5CMTRTMi5ERTM1JyBmcm9tICJFbUNhcmUiIGRpc3BsYXkgJ2ZpeGVkIGRydWcgcmVhY3Rpb24nCmNvZGUgImVjemVtYSI6ICdFbUNhcmUuQjE0UzIuREUzNicgZnJvbSAiRW1DYXJlIiBkaXNwbGF5ICdlY3plbWEnCmNvZGUgInN0ZXZlbiBqb2huc29uIHN5bmRyb21lIChzanMpIjogJ0VtQ2FyZS5CMTRTMi5ERTM3JyBmcm9tICJFbUNhcmUiIGRpc3BsYXkgJ3N0ZXZlbiBqb2huc29uIHN5bmRyb21lIChzanMpJwpjb2RlICJza2luIHByb2JsZW0iOiAnRW1DYXJlLkIxNFMyLkRFNDQnIGZyb20gIkVtQ2FyZSIgZGlzcGxheSAnc2tpbiBwcm9ibGVtJwpjb2RlICJvcmFsIHNvcmVzIG9yIG1vdXRoIHVsY2VycyI6ICdFbUNhcmUuQjE0UzIuREU0NScgZnJvbSAiRW1DYXJlIiBkaXNwbGF5ICdvcmFsIHNvcmVzIG9yIG1vdXRoIHVsY2VycycKY29kZSAiZXllIHByb2JsZW0iOiAnRW1DYXJlLkIxNFMyLkRFNDYnIGZyb20gIkVtQ2FyZSIgZGlzcGxheSAnZXllIHByb2JsZW0nCmNvZGUgIm5vIC0gZG8gbm90IGFkZCBhIHNraW4gb3IgbW91dGggb3IgZXllIHByb2JsZW0iOiAnRW1DYXJlLkIxNFMyLkRFNDcnIGZyb20gIkVtQ2FyZSIgZGlzcGxheSAnbm8gLSBkbyBub3QgYWRkIGEgc2tpbiBvciBtb3V0aCBvciBleWUgcHJvYmxlbScKY29kZSAibm8gYnJlYXN0bWlsayBhdCBhbGwiOiAnRW1DYXJlLkIyMVMyLkRFMjknIGZyb20gIkVtQ2FyZSIgZGlzcGxheSAnbm8gYnJlYXN0bWlsayBhdCBhbGwnCmNvZGUgImluYXBwcm9wcmlhdGUgcmVwbGFjZW1lbnQgbWlsayI6ICdFbUNhcmUuQjIxUzIuREUxMScgZnJvbSAiRW1DYXJlIiBkaXNwbGF5ICdpbmFwcHJvcHJpYXRlIHJlcGxhY2VtZW50IG1pbGsnCmNvZGUgImFwcHJvcHJpYXRlIHJlcGxhY2VtZW50IG1pbGsiOiAnRW1DYXJlLkIyMVMyLkRFMTAnIGZyb20gIkVtQ2FyZSIgZGlzcGxheSAnYXBwcm9wcmlhdGUgcmVwbGFjZW1lbnQgbWlsaycKY29kZSAiY2hlc3QgaW5kcmF3aW5nIChwb3N0IGluaGFsZWQgYnJvbmNob2RpbGF0b3IgdHJpYWwpIjogJ0VtQ2FyZS5CMjIuREUxOCcgZnJvbSAiRW1DYXJlIiBkaXNwbGF5ICdjaGVzdCBpbmRyYXdpbmcgKHBvc3QgaW5oYWxlZCBicm9uY2hvZGlsYXRvciB0cmlhbCknCmNvZGUgInJlc3BpcmF0b3J5IHJhdGUgKHBvc3QgaW5oYWxlZCBicm9uY2hvZGlsYXRvciB0cmlhbCkiOiAnRW1DYXJlLkIyMi5ERTE5JyBmcm9tICJFbUNhcmUiIGRpc3BsYXkgJ3Jlc3BpcmF0b3J5IHJhdGUgKHBvc3QgaW5oYWxlZCBicm9uY2hvZGlsYXRvciB0cmlhbCknCmNvZGUgImZhc3QgYnJlYXRoaW5nIChwb3N0IGluaGFsZWQgYnJvbmNob2RpbGF0b3IgdHJpYWwpIjogJ0VtQ2FyZS5CMjIuREUyMCcgZnJvbSAiRW1DYXJlIiBkaXNwbGF5ICdmYXN0IGJyZWF0aGluZyAocG9zdCBpbmhhbGVkIGJyb25jaG9kaWxhdG9yIHRyaWFsKScKY29kZSAibm8gZmFzdCBicmVhdGhpbmcgYW5kIG5vIGNoZXN0IGluZHJhd2luZyAocG9zdCBpbmhhbGVkIGJyb25jaG9kaWxhdG9yIHRyaWFsKSI6ICdFbUNhcmUuQjIyLkRFMjEnIGZyb20gIkVtQ2FyZSIgZGlzcGxheSAnbm8gZmFzdCBicmVhdGhpbmcgYW5kIG5vIGNoZXN0IGluZHJhd2luZyAocG9zdCBpbmhhbGVkIGJyb25jaG9kaWxhdG9yIHRyaWFsKScKY29kZSAiaW5oYWxlZCBicm9uY2hvZGlsYXRvciB0cmlhbCBub3QgZmVhc2libGUgb3IgYXZhaWxhYmxlIjogJ0VtQ2FyZS5CMjIuREUyMicgZnJvbSAiRW1DYXJlIiBkaXNwbGF5ICdpbmhhbGVkIGJyb25jaG9kaWxhdG9yIHRyaWFsIG5vdCBmZWFzaWJsZSBvciBhdmFpbGFibGUnCg==" } diff --git a/input/resources/library/library-emcarecondition.json b/input/resources/library/library-Cccobservation.json similarity index 62% rename from input/resources/library/library-emcarecondition.json rename to input/resources/library/library-Cccobservation.json index 9b820e39..d1b70563 100644 --- a/input/resources/library/library-emcarecondition.json +++ b/input/resources/library/library-Cccobservation.json @@ -1,8 +1,8 @@ { "resourceType": "Library", - "id": "emcarecondition", - "url": "https://smart.who.int/ccc/Library/emcarecondition", - "name": "emcarecondition", + "id": "Cccobservation", + "url": "https://smart.who.int/ccc/Library/Cccobservation", + "name": "Cccobservation", "status": "active", "type": { "coding": [ @@ -14,7 +14,7 @@ }, "content": [ { - "id": "ig-loader-emcarecondition.cql" + "id": "ig-loader-Cccobservation.cql" } ] } \ No newline at end of file diff --git a/input/resources/library/library-emcareobservation.json b/input/resources/library/library-Cccvalueset.json similarity index 61% rename from input/resources/library/library-emcareobservation.json rename to input/resources/library/library-Cccvalueset.json index dbf10a26..01d535ae 100644 --- a/input/resources/library/library-emcareobservation.json +++ b/input/resources/library/library-Cccvalueset.json @@ -1,8 +1,8 @@ { "resourceType": "Library", - "id": "emcareobservation", - "url": "https://smart.who.int/ccc/Library/emcareobservation", - "name": "emcareobservation", + "id": "Cccvalueset", + "url": "https://smart.who.int/ccc/Library/Cccvalueset", + "name": "Cccvalueset", "status": "active", "type": { "coding": [ @@ -14,7 +14,7 @@ }, "content": [ { - "id": "ig-loader-emcareobservation.cql" + "id": "ig-loader-Cccvalueset.cql" } ] } \ No newline at end of file diff --git a/input/resources/library/library-emcarezscore.json b/input/resources/library/library-Ccczscore.json similarity index 96% rename from input/resources/library/library-emcarezscore.json rename to input/resources/library/library-Ccczscore.json index 47f74149..6ba6dc49 100644 --- a/input/resources/library/library-emcarezscore.json +++ b/input/resources/library/library-Ccczscore.json @@ -1,16 +1,16 @@ { "resourceType": "Library", - "id": "emcarezscore", - "url": "https://smart.who.int/ccc/Library/emcarezscore", + "id": "Ccczscore", + "url": "https://smart.who.int/ccc/Library/Ccczscore", "identifier": [ { "use": "official", - "value": "EmCareZScore" + "value": "CccZScore" } ], "version": "1.0.1.rc12.build.156", - "name": "emcarezscore", - "title": "EmCare.Z.Score", + "name": "Ccczscore", + "title": "Ccc.Z.Score", "status": "active", "type": { "coding": [ @@ -27,7 +27,7 @@ }, { "type": "depends-on", - "resource": "https://smart.who.int/ccc/Library/emcarebase" + "resource": "https://smart.who.int/ccc/Library/Cccbase" }, { "type": "depends-on", @@ -113,7 +113,7 @@ "path": "code", "code": [ { - "code": "EmCare.B6.DE06" + "code": "Ccc.B6.DE06" } ] } @@ -122,7 +122,7 @@ ], "content": [ { - "id": "ig-loader-emcarezscore.cql", + "id": "ig-loader-Ccczscore.cql", "contentType": "text/cql", "data": "LyoKQGF1dGhvcjogUGF0cmljayBEZWxjcm9peApAZGVzY3JpcHRpb246IFRoaXMgbGlicmFyeSBpcyBwYXJ0IG9mIHRoZSBwcm9qZWN0IEVtQ2FyZQoqLwpsaWJyYXJ5IGVtY2FyZXpzY29yZSB2ZXJzaW9uICcxLjAuMS5yYzEyLmJ1aWxkLjE1NicKdXNpbmcgRkhJUiB2ZXJzaW9uICc0LjAuMScKaW5jbHVkZSBGSElSSGVscGVycyB2ZXJzaW9uICc0LjAuMScgY2FsbGVkIEZISVJIZWxwZXJzIAppbmNsdWRlIGVtY2FyZWJhc2UgdmVyc2lvbiAnMS4wLjEucmMxMi5idWlsZC4xNTYnIGNhbGxlZCBCYXNlCmluY2x1ZGUgV2VpZ2h0Rm9yQWdlIHZlcnNpb24gJzEuMC4wJyBjYWxsZWQgd2ZhCmluY2x1ZGUgV2VpZ2h0Rm9yTGVuZ3RoIHZlcnNpb24gJzEuMC4wJyBjYWxsZWQgd2ZsCmluY2x1ZGUgV2VpZ2h0Rm9ySGVpZ2h0IHZlcnNpb24gJzEuMC4wJyBjYWxsZWQgd2ZoCgoKCi8vY29kZXN5c3RlbSAiRW1DYXJlIiA6ICdodHRwczovL2ZoaXIuZGsuc3dpc3N0cGgtbWlzLmNoL21hdGNoYm94L2ZoaXIvQ29kZVN5c3RlbS9lbWNhcmUtY3VzdG9tLWNvZGVzJwoKCgovL2NvZGUgIldlaWdodCI6ICdFbUNhcmUuQjYuREUwNicgZnJvbSAiRW1DYXJlIiBkaXNwbGF5ICdXZWlnaHQnCi8vY29kZSAiRXN0aW1hdGVkIFdlaWdodCI6ICdFbUNhcmUuQjYuREUwOCcgZnJvbSAiRW1DYXJlIiBkaXNwbGF5ICdFc3RpbWF0ZWQgV2VpZ2h0JwovL2NvZGUgIk1VQUMiOiAnRW1DYXJlLkI2LkRFMTcnIGZyb20gIkVtQ2FyZSIgZGlzcGxheSAnTVVBQycKLy9jb2RlICJMZW5ndGgiOiAnRW1DYXJlLkI2LkRFMTInIGZyb20gIkVtQ2FyZSIgZGlzcGxheSAnTGVuZ3RoJwovL2NvZGUgIkhlaWdodCI6ICdFbUNhcmUuQjYuREUwOScgZnJvbSAiRW1DYXJlIiBkaXNwbGF5ICdIZWlnaHQnCgpwYXJhbWV0ZXIgImVuY291bnRlcmlkIiBTdHJpbmcKCmNvbnRleHQgUGF0aWVudAoKZGVmaW5lICJXZWlnaHQiOgogIEJhc2UuY29kaW5nKCdFbUNhcmUuQjYuREUwNicpCmRlZmluZSAiRXN0aW1hdGVkIFdlaWdodCI6CiAgQmFzZS5jb2RpbmcoJ0VtQ2FyZS5CNi5ERTA4JykKZGVmaW5lICJNVUFDIjoKICBCYXNlLmNvZGluZygnRW1DYXJlLkI2LkRFMTcnKQpkZWZpbmUgIkxlbmd0aCI6CiAgQmFzZS5jb2RpbmcoJ0VtQ2FyZS5CNi5ERTEyJykKZGVmaW5lICJIZWlnaHQiOgogIEJhc2UuY29kaW5nKCdFbUNhcmUuQjYuREUwOScpCmRlZmluZSAiVmlzdWFsbHkgYXNzZXNzIjoKICBCYXNlLmNvZGluZygnRW1DYXJlLkI2LkRFMTgnKQpkZWZpbmUgIlVuZGVyd2VpZ2h0IjoKICBCYXNlLmNvZGluZygnRW1DYXJlLkI2LkRFMjAnKSAKZGVmaW5lICJTZXZlcmVseSBVbmRlcndlaWdodCI6CiAgQmFzZS5jb2RpbmcoJ0VtQ2FyZS5CNi5ERTIxJykgCgovKiBwYXN0d2VpZ2h0IDogUHJldmlvdXMgV2VpZ2h0Ki8KZGVmaW5lICJwYXN0d2VpZ2h0IjoKICAgIGlmIEFnZUluTW9udGhzKCk8IDQgYW5kIEJhc2UuSGFzT2JzSGlzdG9yeSgiV2VpZ2h0IiwgNjMpIGlzIG5vdCBudWxsIHRoZW4KICAgICAgQmFzZS5IYXNPYnNIaXN0b3J5KCJXZWlnaHQiLCA2MykgIGFzIEZISVIuUXVhbnRpdHkKICAgIGVsc2UgIGlmIEFnZUluTW9udGhzKCk8IDYgYW5kIEJhc2UuSGFzT2JzSGlzdG9yeSgiV2VpZ2h0IiwgOTQpICAgaXMgbm90IG51bGwgdGhlbgogICAgICBCYXNlLkhhc09ic0hpc3RvcnkoIldlaWdodCIsIDk0KSAgYXMgIEZISVIuUXVhbnRpdHkKICAgIGVsc2UgaWYgQWdlSW5Nb250aHMoKTwgNiBhbmQgQmFzZS5IYXNPYnNIaXN0b3J5KCJXZWlnaHQiLCAxMjYpICAgaXMgbm90IG51bGwgdGhlbgogICAgICAgQmFzZS5IYXNPYnNIaXN0b3J5KCJXZWlnaHQiLCAxMjYpICBhcyBGSElSLlF1YW50aXR5CiAgICBlbHNlIGlmIEJhc2UuSGFzT2JzSGlzdG9yeSgiV2VpZ2h0IiwgMjAxKSAgaXMgbm90IG51bGwgdGhlbgogICAgICAgQmFzZS5IYXNPYnNIaXN0b3J5KCJXZWlnaHQiLCAyMDEpICBhcyBGSElSLlF1YW50aXR5CiAgICBlbHNlCiAgICAgIG51bGwKCgovKiBwYXRpZW50c2V4IDogUGF0aWVudCBzZXgqLwpkZWZpbmUgInBhdGllbnRzZXgiOgogICAgaWYgUGF0aWVudC5nZW5kZXIgPSAnZmVtYWxlJyB0aGVuICdmZW1hbGUnIGVsc2UgJ21hbGUnCgovKiBhZ2VhdHBhc3R3ZWlnaHQgOiBBZ2UgYXQgUHJldmlvdXMgV2VpZ2h0Ki8KZGVmaW5lICJhZ2VhdHBhc3R3ZWlnaHQiOgogICAgaWYgInBhc3R3ZWlnaHQiIGlzIG5vdCBudWxsICB0aGVuCiAgICAgIChkaWZmZXJlbmNlIGluIGRheXMgYmV0d2VlbiBQYXRpZW50LmJpcnRoRGF0ZSBhbmQgVG9EYXRlKExhc3QoW09ic2VydmF0aW9uOiJXZWlnaHQiIF0gTyB3aGVyZSAgTy5zdGF0dXMgaW4geyAnZmluYWwnLCAnYW1lbmRlZCcsICdjb3JyZWN0ZWQnfSkuaXNzdWVkKSApICogKCAxLjAgYXMgU3lzdGVtLkRlY2ltYWwgKQogICAgZWxzZQogICAgIG51bGwKCi8qIHBhc3R3ZWlnaHR6c2NvcmUgOiBaLVNjb3JlIGF0IFByZXZpb3VzIFdlaWdodCovCmRlZmluZSAicGFzdHdlaWdodHpzY29yZSI6CiAgICBpZiAicGFzdHdlaWdodCIgaXMgbm90IG51bGwgIHRoZW4KICAgICAgd2ZhLmdlbmVyYXRlWlNjb3JlV2VpZ2h0Rm9yQWdlKCJwYXRpZW50c2V4IiwgImFnZWF0cGFzdHdlaWdodCIgLCAoKGNvbnZlcnQgInBhc3R3ZWlnaHQiIHRvICdrZycpLnZhbHVlICogKCAxLjAgYXMgU3lzdGVtLkRlY2ltYWwpKSkKICAgIGVsc2UKICAgICAgbnVsbAoKLyogcGFzdHdlaWdodGFjdHVhbGlzZWQgOiBXZWlnaHQgZnJvbSAgYXQgUHJldmlvdXMgV2VpZ2h0Ki8KZGVmaW5lICJwYXN0d2VpZ2h0YWN0dWFsaXNlZCI6CiAgICBpZiAicGFzdHdlaWdodHpzY29yZSIgaXMgbm90IG51bGwgdGhlbgogICAgICBTeXN0ZW0uUXVhbnRpdHkgeyB2YWx1ZTogUm91bmQod2ZhLmdlbmVyYXRlV2VpZ2h0RnJvbUFnZSgicGF0aWVudHNleCIsQWdlSW5EYXlzKCkgKiAoIDEuMCBhcyBTeXN0ZW0uRGVjaW1hbCApLCAgInBhc3R3ZWlnaHR6c2NvcmUiICksMiksIHVuaXQ6ICdLZyd9IAogICAgZWxzZSAKICAgICAgIG51bGwKCmRlZmluZSBleGlzdGluZ3dlaWdodDoKICBCYXNlLkdldE9ic1ZhbHVlKCJXZWlnaHQiKQoKZGVmaW5lIGV4aXN0aW5nZXN0aW1uYXRlZHdlaWdodDoKICBpZiBleGlzdGluZ3dlaWdodCBpcyBudWxsIHRoZW4gIAogICAgQmFzZS5HZXRPYnNWYWx1ZSgiRXN0aW1hdGVkIFdlaWdodCIpCiAgZWxzZSAKICAgIG51bGwKCmRlZmluZSBleGlzdGluZ2hlaWdodDoKICBCYXNlLkdldE9ic1ZhbHVlKCJIZWlnaHQiKQoKZGVmaW5lIGV4aXN0aW5nbGVuZ3RoOgogIEJhc2UuR2V0T2JzVmFsdWUoIkxlbmd0aCIpCgpkZWZpbmUgZXhpc3RpbmdtdWFjOgogIEJhc2UuR2V0T2JzVmFsdWUoIk1VQUMiKQoKZGVmaW5lIGV4aXN0aW5ndmlzdWFsOgogIEJhc2UuR2V0T2JzVmFsdWUoIlZpc3VhbGx5IGFzc2VzcyIpCgpkZWZpbmUgenNjb3JlZnJvbW11YWM6CiAgaWYgZXhpc3RpbmdtdWFjIGlzIG51bGwgdGhlbiAwLjAKICBlbHNlIGlmIGV4aXN0aW5nbXVhYyA8IDExNSAnbW5tJyB0aGVuIC0zLjAKICBlbHNlIGlmIGV4aXN0aW5nbXVhYyA8IDEyNSAnbW5tJyB0aGVuIC0yLjAKICBlbHNlIDAuMAoKZGVmaW5lIGVzdGltYXRlZHdlaWdodDoKICBjYXNlICAKICB3aGVuIGV4aXN0aW5nd2VpZ2h0IGlzIG5vdCBudWxsIHRoZW4gbnVsbAogIHdoZW4gZXhpc3Rpbmdlc3RpbW5hdGVkd2VpZ2h0IGlzIG5vdCBudWxsIHRoZW4gZXhpc3Rpbmdlc3RpbW5hdGVkd2VpZ2h0CiAgd2hlbiBwYXN0d2VpZ2h0YWN0dWFsaXNlZCBpcyBub3QgbnVsbCB0aGVuIHBhc3R3ZWlnaHRhY3R1YWxpc2VkCiAgd2hlbiBBZ2VJbk1vbnRocygpPjI0IGFuZCBleGlzdGluZ2hlaWdodCB0aGVuIHdlaWdodGZyb21oZWlnaHQKICB3aGVuIEFnZUluTW9udGhzKCk8PTI0IGFuZCBleGlzdGluZ2xlbmd0aCB0aGVuIHdlaWdodGZyb21sZW5ndGgKICBlbHNlIHdlaWdodGZyb21hZ2UKICBlbmQKCmRlZmluZSB6c2NvcmVmcm9tdmlzdWFsOgogICAgaWYgZXhpc3Rpbmd2aXN1YWwgaXMgbm90IG51bGwgdGhlbgogICAgICBjYXNlICAKICAgICAgICB3aGVuIGV4aXN0aW5ndmlzdWFsIH4gIlNldmVyZWx5IFVuZGVyd2VpZ2h0IiB0aGVuIC0zLjAKICAgICAgICB3aGVuIGV4aXN0aW5ndmlzdWFsIH4gIlVuZGVyd2VpZ2h0IiB0aGVuIC0yLjAKICAgICAgICBlbHNlIDAuMAogICAgICBlbmQKICAgIGVsc2UgIG51bGwKCgpkZWZpbmUgd2VpZ2h0ZnJvbWxlbmd0aDoKICAgIFN5c3RlbS5RdWFudGl0eSB7IHZhbHVlOiBSb3VuZCh3ZmwuZ2VuZXJhdGVXZWlnaHRGcm9tTGVuZ3RoKCJwYXRpZW50c2V4IiwoY29udmVydCBleGlzdGluZ2xlbmd0aCB0byAnY20nKS52YWx1ZSAqICggMS4wIGFzIFN5c3RlbS5EZWNpbWFsICksIHpzY29yZWZyb21tdWFjKSwyKSwgdW5pdDogJ0tnJ30KCmRlZmluZSB3ZWlnaHRmcm9taGVpZ2h0OgogICAgU3lzdGVtLlF1YW50aXR5IHsgdmFsdWU6Um91bmQod2ZoLmdlbmVyYXRlV2VpZ2h0RnJvbUhlaWdodCgicGF0aWVudHNleCIsKGNvbnZlcnQgZXhpc3RpbmdoZWlnaHQgdG8gJ2NtJykudmFsdWUgKiAoIDEuMCBhcyBTeXN0ZW0uRGVjaW1hbCApLCB6c2NvcmVmcm9tbXVhYyksMiksIHVuaXQ6ICdLZyd9CgpkZWZpbmUgd2VpZ2h0ZnJvbWFnZToKICAgIFN5c3RlbS5RdWFudGl0eSB7IHZhbHVlOlJvdW5kKHdmYS5nZW5lcmF0ZVdlaWdodEZyb21BZ2UoInBhdGllbnRzZXgiLEFnZUluRGF5cygpICogKCAxLjAgYXMgU3lzdGVtLkRlY2ltYWwgKSwgenNjb3JlZnJvbW11YWMpLDIpLCB1bml0OiAnS2cnfQovKgooY29udmVydCBCYXNlLkhhc09icygiV2VpZ2h0IikgdG8gJ0tnJykgZG9lcyBub3Qgd29yaywgc28gbGV0J3MgYXNzdW1lIHRoZSB3ZWlnaHQgaXMgaW4gS2cKKi8KZGVmaW5lICJXQVoiOgogICAgaWYgZXhpc3Rpbmd3ZWlnaHQgaXMgbm90IG51bGwgdGhlbgogICAgICAgICB3ZmEuZ2VuZXJhdGVaU2NvcmVXZWlnaHRGb3JBZ2UoInBhdGllbnRzZXgiLCAiYWdlYXRwYXN0d2VpZ2h0IiAsICggQmFzZS5IYXNPYnMoIldlaWdodCIpLnZhbHVlICogKCAxLjAgYXMgU3lzdGVtLkRlY2ltYWwgKSkpCiAgICBlbHNlIGlmIGV4aXN0aW5nbXVhYyBpcyBub3QgbnVsbCB0aGVuCiAgICAgICAgenNjb3JlZnJvbW11YWMKICAgIGVsc2UgaWYgZXhpc3Rpbmd2aXN1YWwgdGhlbgogICAgICAgIHpzY29yZWZyb212aXN1YWwKICAgIGVsc2UgbnVsbAoK" } diff --git a/input/resources/plandefinition/plandefinition-emcare.json b/input/resources/plandefinition/plandefinition-Ccc.json similarity index 81% rename from input/resources/plandefinition/plandefinition-emcare.json rename to input/resources/plandefinition/plandefinition-Ccc.json index 4b03ec90..1d3f593a 100644 --- a/input/resources/plandefinition/plandefinition-emcare.json +++ b/input/resources/plandefinition/plandefinition-Ccc.json @@ -1,16 +1,16 @@ { "resourceType": "PlanDefinition", - "id": "emcaredt01", - "url": "https://smart.who.int/ccc/PlanDefinition/emcaredt01", + "id": "Cccdt01", + "url": "https://smart.who.int/ccc/PlanDefinition/Cccdt01", "identifier": [ { "use": "official", - "value": "emcaredt01" + "value": "Cccdt01" } ], "version": "1.0.1.rc12.build.457", - "name": "emcaredt01", - "title": "emcaredt01", + "name": "Cccdt01", + "title": "Cccdt01", "type": { "coding": [ { @@ -23,11 +23,11 @@ "experimental": false, "date": "2023-04-11T11:19:20+00:00", "library": [ - "https://smart.who.int/ccc/Library/emcaredt01" + "https://smart.who.int/ccc/Library/Cccdt01" ], "action": [ { - "id": "emcaredt01", + "id": "Cccdt01", "description": "Register a child < 5 years", "type": { "coding": [ @@ -37,10 +37,10 @@ } ] }, - "definitionCanonical": "https://smart.who.int/ccc/ActivityDefinition/emcarea.registration.p" + "definitionCanonical": "https://smart.who.int/ccc/ActivityDefinition/Ccca.registration.p" }, { - "id": "emcaredt02", + "id": "Cccdt02", "description": "Register the child in the encounter", "condition": [ { @@ -48,7 +48,7 @@ "expression": { "description": "AgeInYears() < 5", "language": "text/cql-identifier", - "expression": "emcaredt02" + "expression": "Cccdt02" } } ], @@ -60,10 +60,10 @@ } ] }, - "definitionCanonical": "https://smart.who.int/ccc/ActivityDefinition/emcareb.registration.e" + "definitionCanonical": "https://smart.who.int/ccc/ActivityDefinition/Cccb.registration.e" }, { - "id": "emcaredt04", + "id": "Cccdt04", "description": "Evaluate DangerSigns", "condition": [ { @@ -71,13 +71,13 @@ "expression": { "description": "AgeInYears() < 5", "language": "text/cql-identifier", - "expression": "emcaredt04" + "expression": "Cccdt04" } } ], "relatedAction": [ { - "actionId": "EmCareDT0", + "actionId": "CccDT0", "relationship": "after" } ], @@ -89,10 +89,10 @@ } ] }, - "definitionCanonical": "https://smart.who.int/ccc/ActivityDefinition/emcare.b7.lti-dangersigns" + "definitionCanonical": "https://smart.who.int/ccc/ActivityDefinition/Ccc.b7.lti-dangersigns" }, { - "id": "emcaredt03", + "id": "Cccdt03", "description": "Determine Basic Anthropometric and others measurement", "condition": [ { @@ -100,13 +100,13 @@ "expression": { "description": "AgeInYears() < 5", "language": "text/cql-identifier", - "expression": "emcaredt03" + "expression": "Cccdt03" } } ], "relatedAction": [ { - "actionId": "EmCareDT04", + "actionId": "CccDT04", "relationship": "after" } ], @@ -118,10 +118,10 @@ } ] }, - "definitionCanonical": "https://smart.who.int/ccc/ActivityDefinition/emcare.b6.measurements" + "definitionCanonical": "https://smart.who.int/ccc/ActivityDefinition/Ccc.b6.measurements" }, { - "id": "emcaredt05", + "id": "Cccdt05", "description": "Assess sick child for Symptoms 2 m", "condition": [ { @@ -129,13 +129,13 @@ "expression": { "description": "AgeInMonths() < 2", "language": "text/cql-identifier", - "expression": "emcaredt05" + "expression": "Cccdt05" } } ], "relatedAction": [ { - "actionId": "EmCareDT03", + "actionId": "CccDT03", "relationship": "after" } ], @@ -147,10 +147,10 @@ } ] }, - "definitionCanonical": "https://smart.who.int/ccc/ActivityDefinition/emcare.b18-21.symptoms.2m.m" + "definitionCanonical": "https://smart.who.int/ccc/ActivityDefinition/Ccc.b18-21.symptoms.2m.m" }, { - "id": "emcaredt06", + "id": "Cccdt06", "description": "Assess sick child for Symptoms 2p", "condition": [ { @@ -158,13 +158,13 @@ "expression": { "description": "clas.\"age >= 2 months to <60 months\"", "language": "text/cql-identifier", - "expression": "emcaredt06" + "expression": "Cccdt06" } } ], "relatedAction": [ { - "actionId": "EmCareDT03", + "actionId": "CccDT03", "relationship": "after" } ], @@ -176,10 +176,10 @@ } ] }, - "definitionCanonical": "https://smart.who.int/ccc/ActivityDefinition/emcare.b10-14.symptoms.2m.p" + "definitionCanonical": "https://smart.who.int/ccc/ActivityDefinition/Ccc.b10-14.symptoms.2m.p" }, { - "id": "emcaredt07", + "id": "Cccdt07", "description": "Assess sick child for Signs 2 m", "condition": [ { @@ -187,13 +187,13 @@ "expression": { "description": "AgeInMonths() < 2", "language": "text/cql-identifier", - "expression": "emcaredt07" + "expression": "Cccdt07" } } ], "relatedAction": [ { - "actionId": "EmCareDT05", + "actionId": "CccDT05", "relationship": "after" } ], @@ -205,10 +205,10 @@ } ] }, - "definitionCanonical": "https://smart.who.int/ccc/ActivityDefinition/emcare.b18-21.signs.2m.m" + "definitionCanonical": "https://smart.who.int/ccc/ActivityDefinition/Ccc.b18-21.signs.2m.m" }, { - "id": "emcaredt08", + "id": "Cccdt08", "description": "Assess sick child for Signs 2p", "condition": [ { @@ -216,13 +216,13 @@ "expression": { "description": "clas.\"age >= 2 months to <60 months\"", "language": "text/cql-identifier", - "expression": "emcaredt08" + "expression": "Cccdt08" } } ], "relatedAction": [ { - "actionId": "EmCareDT06", + "actionId": "CccDT06", "relationship": "after" } ], @@ -234,10 +234,10 @@ } ] }, - "definitionCanonical": "https://smart.who.int/ccc/ActivityDefinition/emcare.b10-16.signs.2m.p" + "definitionCanonical": "https://smart.who.int/ccc/ActivityDefinition/Ccc.b10-16.signs.2m.p" }, { - "id": "emcaredt09", + "id": "Cccdt09", "description": "Propose classification", "condition": [ { @@ -245,13 +245,13 @@ "expression": { "description": "clas.\"age >= 2 months to <60 months\"", "language": "text/cql-identifier", - "expression": "emcaredt09" + "expression": "Cccdt09" } } ], "relatedAction": [ { - "actionId": "EmCareDT10", + "actionId": "CccDT10", "relationship": "after" } ], @@ -263,10 +263,10 @@ } ] }, - "definitionCanonical": "https://smart.who.int/ccc/ActivityDefinition/emcare.b23.classification" + "definitionCanonical": "https://smart.who.int/ccc/ActivityDefinition/Ccc.b23.classification" }, { - "id": "emcaredt10", + "id": "Cccdt10", "description": "Do Test", "condition": [ { @@ -274,24 +274,24 @@ "expression": { "description": "AgeInYears() < 5", "language": "text/cql-identifier", - "expression": "emcaredt10" + "expression": "Cccdt10" } } ], "relatedAction": [ { - "actionId": "EmCareDT07", + "actionId": "CccDT07", "relationship": "after" }, { - "actionId": "EmCareDT08", + "actionId": "CccDT08", "relationship": "after" } ], - "definitionCanonical": "https://smart.who.int/ccc/ActivityDefinition/emcare.b22.assessmentstests" + "definitionCanonical": "https://smart.who.int/ccc/ActivityDefinition/Ccc.b22.assessmentstests" }, { - "id": "emcaredt11", + "id": "Cccdt11", "description": "Provide treatment", "condition": [ { @@ -299,17 +299,17 @@ "expression": { "description": "AgeInYears() < 5", "language": "text/cql-identifier", - "expression": "emcaredt11" + "expression": "Cccdt11" } } ], "relatedAction": [ { - "actionId": "EmCareDT12", + "actionId": "CccDT12", "relationship": "after" }, { - "actionId": "EmCareDT09", + "actionId": "CccDT09", "relationship": "after" } ], @@ -321,10 +321,10 @@ } ] }, - "definitionCanonical": "https://smart.who.int/ccc/ActivityDefinition/emcare.treatment" + "definitionCanonical": "https://smart.who.int/ccc/ActivityDefinition/Ccc.treatment" }, { - "id": "emcaredt12", + "id": "Cccdt12", "description": "Propose classification 2m", "condition": [ { @@ -332,11 +332,11 @@ "expression": { "description": "AgeInMonths() < 2", "language": "text/cql-identifier", - "expression": "emcaredt12" + "expression": "Cccdt12" } } ], - "definitionCanonical": "https://smart.who.int/ccc/ActivityDefinition/emcare.b23.classification.2m" + "definitionCanonical": "https://smart.who.int/ccc/ActivityDefinition/Ccc.b23.classification.2m" } ] } \ No newline at end of file diff --git a/input/resources/profiles/profiles-emcare-communicationrequest.json b/input/resources/profiles/profiles-Ccc-communicationrequest.json similarity index 56% rename from input/resources/profiles/profiles-emcare-communicationrequest.json rename to input/resources/profiles/profiles-Ccc-communicationrequest.json index 2a1a1ca0..2d525c25 100644 --- a/input/resources/profiles/profiles-emcare-communicationrequest.json +++ b/input/resources/profiles/profiles-Ccc-communicationrequest.json @@ -1,12 +1,12 @@ { "resourceType": "StructureDefinition", - "id": "emcare-communicationrequest", - "url": "https://smart.who.int/ccc/StructureDefinition/emcare-communicationrequest", - "name": "EmCare CommunicationRequest", - "title": "EmCare CommunicationRequest", + "id": "Ccc-communicationrequest", + "url": "https://smart.who.int/ccc/StructureDefinition/Ccc-communicationrequest", + "name": "Ccc CommunicationRequest", + "title": "Ccc CommunicationRequest", "status": "active", "experimental": false, - "description": "EmCare CommunicationRequest", + "description": "Ccc CommunicationRequest", "fhirVersion": "4.0.1", "kind": "resource", "abstract": false, diff --git a/input/resources/profiles/profiles-emcare-condition.json b/input/resources/profiles/profiles-Ccc-condition.json similarity index 60% rename from input/resources/profiles/profiles-emcare-condition.json rename to input/resources/profiles/profiles-Ccc-condition.json index 88b21922..b12112c8 100644 --- a/input/resources/profiles/profiles-emcare-condition.json +++ b/input/resources/profiles/profiles-Ccc-condition.json @@ -1,9 +1,9 @@ { "resourceType": "StructureDefinition", - "id": "emcare-condition", - "url": "https://smart.who.int/ccc/StructureDefinition/emcare-condition", - "name": "EmCare Condition", - "title": "EmCare Condition", + "id": "Ccc-condition", + "url": "https://smart.who.int/ccc/StructureDefinition/Ccc-condition", + "name": "Ccc Condition", + "title": "Ccc Condition", "status": "active", "experimental": false, "fhirVersion": "4.0.1", diff --git a/input/resources/profiles/profiles-emcare-encounter.json b/input/resources/profiles/profiles-Ccc-encounter.json similarity index 60% rename from input/resources/profiles/profiles-emcare-encounter.json rename to input/resources/profiles/profiles-Ccc-encounter.json index cdbbcb20..eedd5b3b 100644 --- a/input/resources/profiles/profiles-emcare-encounter.json +++ b/input/resources/profiles/profiles-Ccc-encounter.json @@ -1,12 +1,12 @@ { "resourceType": "StructureDefinition", - "id": "emcare-encounter", - "url": "https://smart.who.int/ccc/StructureDefinition/emcare-encounter", - "name": "EmCare Encounter", - "title": "EmCare Encounter", + "id": "Ccc-encounter", + "url": "https://smart.who.int/ccc/StructureDefinition/Ccc-encounter", + "name": "Ccc Encounter", + "title": "Ccc Encounter", "status": "active", "experimental": false, - "description": "EmCare Encounter", + "description": "Ccc Encounter", "fhirVersion": "4.0.1", "kind": "resource", "abstract": false, diff --git a/input/resources/profiles/profiles-emcare-patient.json b/input/resources/profiles/profiles-Ccc-patient.json similarity index 93% rename from input/resources/profiles/profiles-emcare-patient.json rename to input/resources/profiles/profiles-Ccc-patient.json index 8ddeac00..5c858c0a 100644 --- a/input/resources/profiles/profiles-emcare-patient.json +++ b/input/resources/profiles/profiles-Ccc-patient.json @@ -1,12 +1,12 @@ { "resourceType": "StructureDefinition", - "id": "emcare-patient", - "url": "https://smart.who.int/ccc/StructureDefinition/emcare-patient", - "name": "EmCare Patient", - "title": "EmCare Patient", + "id": "Ccc-patient", + "url": "https://smart.who.int/ccc/StructureDefinition/Ccc-patient", + "name": "Ccc Patient", + "title": "Ccc Patient", "status": "active", "experimental": false, - "description": "EmCare Patient", + "description": "Ccc Patient", "fhirVersion": "4.0.1", "kind": "resource", "abstract": false, @@ -53,7 +53,7 @@ { "code": "Reference", "profile": [ - "https://smart.who.int/ccc/StructureDefinition/emcare-relatedperson" + "https://smart.who.int/ccc/StructureDefinition/Ccc-relatedperson" ] } ] diff --git a/input/resources/profiles/profiles-emcare-relatedperson.json b/input/resources/profiles/profiles-Ccc-relatedperson.json similarity index 58% rename from input/resources/profiles/profiles-emcare-relatedperson.json rename to input/resources/profiles/profiles-Ccc-relatedperson.json index 72947f45..01d18cfb 100644 --- a/input/resources/profiles/profiles-emcare-relatedperson.json +++ b/input/resources/profiles/profiles-Ccc-relatedperson.json @@ -1,12 +1,12 @@ { "resourceType": "StructureDefinition", - "id": "emcare-relatedperson", - "url": "https://smart.who.int/ccc/StructureDefinition/emcare-relatedperson", - "name": "EmCare RelatedPerson", - "title": "EmCare RelatedPerson", + "id": "Ccc-relatedperson", + "url": "https://smart.who.int/ccc/StructureDefinition/Ccc-relatedperson", + "name": "Ccc RelatedPerson", + "title": "Ccc RelatedPerson", "status": "active", "experimental": false, - "description": "EmCare RelatedPerson", + "description": "Ccc RelatedPerson", "fhirVersion": "4.0.1", "kind": "resource", "abstract": false, diff --git a/input/resources/questionnaire/questionnaire-emcare.b10-14.symptoms.2m.p.json b/input/resources/questionnaire/questionnaire-Ccc.b10-14.symptoms.2m.p.json similarity index 86% rename from input/resources/questionnaire/questionnaire-emcare.b10-14.symptoms.2m.p.json rename to input/resources/questionnaire/questionnaire-Ccc.b10-14.symptoms.2m.p.json index 8c291f77..fb0c4e5f 100644 --- a/input/resources/questionnaire/questionnaire-emcare.b10-14.symptoms.2m.p.json +++ b/input/resources/questionnaire/questionnaire-Ccc.b10-14.symptoms.2m.p.json @@ -1,6 +1,6 @@ { "resourceType": "Questionnaire", - "id": "emcare.b10-14.symptoms.2m.p", + "id": "Ccc.b10-14.symptoms.2m.p", "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire" @@ -25,16 +25,16 @@ }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap", - "valueCanonical": "https://smart.who.int/ccc/StructureMap/emcare.b10-14.symptoms.2m.p" + "valueCanonical": "https://smart.who.int/ccc/StructureMap/Ccc.b10-14.symptoms.2m.p" }, { "url": "http://hl7.org/fhir/StructureDefinition/cqf-library", - "valueCanonical": "https://smart.who.int/ccc/Library/emcareb1014symptoms2mp" + "valueCanonical": "https://smart.who.int/ccc/Library/Cccb1014symptoms2mp" } ], - "url": "https://smart.who.int/ccc/Questionnaire/emcare.b10-14.symptoms.2m.p", - "name": "EmCare.B10-14.Symptoms.2m.p", - "title": "EmCare.B10-14.Symptoms.2m.p", + "url": "https://smart.who.int/ccc/Questionnaire/Ccc.b10-14.symptoms.2m.p", + "name": "Ccc.B10-14.Symptoms.2m.p", + "title": "Ccc.B10-14.Symptoms.2m.p", "status": "active", "experimental": false, "subjectType": [ @@ -78,11 +78,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b12s1.de01" + "expression": "Ccc.b12s1.de01" } } ], - "linkId": "EmCare.B12S1.DE01", + "linkId": "Ccc.B12S1.DE01", "type": "boolean", "required": false, "repeats": false @@ -114,7 +114,7 @@ "valueCode": "horizontal" } ], - "linkId": "EmCare.B10S1.DE05", + "linkId": "Ccc.B10S1.DE05", "text": "Cough", "type": "boolean", "required": true, @@ -126,11 +126,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B10S1.DE05').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B10S1.DE05').answer.first().value = true" } } ], - "linkId": "EmCare.B10S1.DE06", + "linkId": "Ccc.B10S1.DE06", "text": "Cough for how long?", "type": "choice", "required": false, @@ -138,15 +138,15 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B10S1.DE08", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B10S1.DE08", "display": "14 days or more" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B10S1.DE07", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B10S1.DE07", "display": "Less than 14 days" } } @@ -159,7 +159,7 @@ "valueCode": "horizontal" } ], - "linkId": "EmCare.B10S1.DE01", + "linkId": "Ccc.B10S1.DE01", "text": "Difficulty Breathing", "type": "boolean", "required": true, @@ -179,7 +179,7 @@ } } ], - "linkId": "EmCare.B10S1.DE01-help", + "linkId": "Ccc.B10S1.DE01-help", "text": "Difficult breathing is any unusual pattern of breathing. Caregivers describe this
\nin different ways. They may say that their child\u2019s breathing is \u201cfast\u201d or \u201cnoisy\u201d or \u201cinterrupted.\u201d If a mother answers no, look to see if you think the child has cough or difficult breathing.", "type": "display" } @@ -191,11 +191,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B10S1.DE01').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B10S1.DE01').answer.first().value = true" } } ], - "linkId": "EmCare.B10S1.DE02", + "linkId": "Ccc.B10S1.DE02", "text": "Difficulty breathing for how long?", "type": "choice", "required": false, @@ -203,15 +203,15 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B10S1.DE08", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B10S1.DE08", "display": "14 days or more" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B10S1.DE07", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B10S1.DE07", "display": "Less than 14 days" } } @@ -224,7 +224,7 @@ "valueCode": "horizontal" } ], - "linkId": "EmCare.B11S1.DE01", + "linkId": "Ccc.B11S1.DE01", "text": "Diarrhoea", "type": "boolean", "required": true, @@ -244,7 +244,7 @@ } } ], - "linkId": "EmCare.B11S1.DE01-help", + "linkId": "Ccc.B11S1.DE01-help", "text": "Diarrhoea occurs when stools contain more water than normal, and are loose or watery. Diarrhoea is defined as three or more loose or watery stools in a 24-hour period.", "type": "display" } @@ -256,11 +256,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B11S1.DE01').answer.first().value= true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B11S1.DE01').answer.first().value= true" } } ], - "linkId": "EmCare.B11S1.DE02", + "linkId": "Ccc.B11S1.DE02", "text": "Diarrhoea for how long?", "type": "choice", "required": false, @@ -268,15 +268,15 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B10S1.DE08", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B10S1.DE08", "display": "14 days or more" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B10S1.DE07", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B10S1.DE07", "display": "Less than 14 days" } } @@ -292,11 +292,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B11S1.DE01').answer.first().value= true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B11S1.DE01').answer.first().value= true" } } ], - "linkId": "EmCare.B11S1.DE05", + "linkId": "Ccc.B11S1.DE05", "text": "Blood in the stool in this Illness", "type": "boolean", "required": false, @@ -316,7 +316,7 @@ } } ], - "linkId": "EmCare.B11S1.DE05-help", + "linkId": "Ccc.B11S1.DE05-help", "text": "Ask the mother if she has seen blood in the stools at any time during this episode of diarrhoea. Dysentery is diarrhoea with blood in the stool, with or without mucus. The most common cause of dysentery is Shigella bacteria. Dysentery will require specific treatments.", "type": "display" } @@ -329,7 +329,7 @@ "valueCode": "horizontal" } ], - "linkId": "EmCare.B12S1.DE02", + "linkId": "Ccc.B12S1.DE02", "text": "Fever Reported", "type": "boolean", "required": true, @@ -349,7 +349,7 @@ } } ], - "linkId": "EmCare.B12S1.DE02-help", + "linkId": "Ccc.B12S1.DE02-help", "text": "Ask the caregiver: \u201cDoes the child have fever?\u201d The child has a history of fever if the child has had any fever with this illness", "type": "display" } @@ -361,11 +361,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B.G.DE06').answer.first().value= true and %resource.repeat(item).where(linkId='EmCare.B12S1.DE02').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B.G.DE06').answer.first().value= true and %resource.repeat(item).where(linkId='Ccc.B12S1.DE02').answer.first().value=true" } } ], - "linkId": "EmCare.B12S1.DE03-l", + "linkId": "Ccc.B12S1.DE03-l", "text": "Fever for how long?", "type": "choice", "required": false, @@ -373,15 +373,15 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B12S1.DE05", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B12S1.DE05", "display": "7 Days or more" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B12S1.DE04", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B12S1.DE04", "display": "Less than 7 days" } } @@ -397,11 +397,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "iif(%resource.repeat(item).where(linkId='EmCare.B.G.DE06').answer.first().value= true and %resource.repeat(item).where(linkId='EmCare.B12S1.DE02').answer.first().value=false,'EmCare.B12S1.DE04',%resource.repeat(item).where(linkId='EmCare.B12S1.DE03-l').answer.first().value)" + "expression": "iif(%resource.repeat(item).where(linkId='Ccc.B.G.DE06').answer.first().value= true and %resource.repeat(item).where(linkId='Ccc.B12S1.DE02').answer.first().value=false,'Ccc.B12S1.DE04',%resource.repeat(item).where(linkId='Ccc.B12S1.DE03-l').answer.first().value)" } } ], - "linkId": "EmCare.B12S1.DE03", + "linkId": "Ccc.B12S1.DE03", "text": "Fever for how long?", "type": "choice", "required": false, @@ -409,15 +409,15 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B12S1.DE05", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B12S1.DE05", "display": "7 Days or more" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B12S1.DE04", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B12S1.DE04", "display": "Less than 7 days" } } @@ -437,11 +437,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B12S1.DE01').answer.first().value = true or %resource.repeat(item).where(linkId='EmCare.B12S1.DE02').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B12S1.DE01').answer.first().value = true or %resource.repeat(item).where(linkId='Ccc.B12S1.DE02').answer.first().value = true" } } ], - "linkId": "EmCare.B.G.DE06", + "linkId": "Ccc.B.G.DE06", "text": "Fever", "type": "boolean", "required": false, @@ -457,11 +457,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B12S1.DE03-l').answer.first().value.code = 'EmCare.B12S1.DE05' and %resource.repeat(item).where(linkId='EmCare.B.G.DE06').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B12S1.DE03-l').answer.first().value.code = 'Ccc.B12S1.DE05' and %resource.repeat(item).where(linkId='Ccc.B.G.DE06').answer.first().value = true" } } ], - "linkId": "EmCare.B12S1.DE06", + "linkId": "Ccc.B12S1.DE06", "text": "Has Fever been present every day since the Fever started?", "type": "boolean", "required": false, @@ -474,7 +474,7 @@ "valueCode": "horizontal" } ], - "linkId": "EmCare.B13S1.DE01", + "linkId": "Ccc.B13S1.DE01", "text": "Ear problem", "type": "boolean", "required": true, @@ -490,11 +490,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B13S1.DE01').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B13S1.DE01').answer.first().value = true" } } ], - "linkId": "EmCare.B13S1.DE02", + "linkId": "Ccc.B13S1.DE02", "text": "Ear pain", "type": "boolean", "required": true, @@ -514,7 +514,7 @@ } } ], - "linkId": "EmCare.B13S1.DE02-help", + "linkId": "Ccc.B13S1.DE02-help", "text": "If the carIf the caregiver is not sure that the child has ear pain, ask if the child has been irritable and rubbing his ear. egiver is not sure that the child has ear pain, ask if the child has been irritable and rubbing his ear.", "type": "display" } @@ -530,11 +530,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B13S1.DE01').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B13S1.DE01').answer.first().value = true" } } ], - "linkId": "EmCare.B13S1.DE03", + "linkId": "Ccc.B13S1.DE03", "text": "Ear discharge", "type": "boolean", "required": false, @@ -546,11 +546,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B13S1.DE03').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B13S1.DE03').answer.first().value = true" } } ], - "linkId": "EmCare.B13S1.DE04", + "linkId": "Ccc.B13S1.DE04", "text": "Ear discharge for how long?", "type": "choice", "required": false, @@ -558,15 +558,15 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B10S1.DE08", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B10S1.DE08", "display": "14 days or more" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B10S1.DE07", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B10S1.DE07", "display": "Less than 14 days" } } @@ -579,7 +579,7 @@ "valueCode": "horizontal" } ], - "linkId": "EmCare.B14S1.DE03", + "linkId": "Ccc.B14S1.DE03", "text": "Eye Problem", "type": "boolean", "required": true, @@ -599,7 +599,7 @@ } } ], - "linkId": "EmCare.B14S1.DE01", + "linkId": "Ccc.B14S1.DE01", "text": "Skin Problem", "type": "boolean", "required": true, @@ -615,11 +615,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B14S1.DE01').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B14S1.DE01').answer.first().value = true" } } ], - "linkId": "EmCare.B14S1.DE02", + "linkId": "Ccc.B14S1.DE02", "text": "Itchy Skin", "type": "boolean", "required": true, diff --git a/input/resources/questionnaire/questionnaire-emcare.b10-16.signs.2m.p.json b/input/resources/questionnaire/questionnaire-Ccc.b10-16.signs.2m.p.json similarity index 87% rename from input/resources/questionnaire/questionnaire-emcare.b10-16.signs.2m.p.json rename to input/resources/questionnaire/questionnaire-Ccc.b10-16.signs.2m.p.json index 873b9159..9b22d778 100644 --- a/input/resources/questionnaire/questionnaire-emcare.b10-16.signs.2m.p.json +++ b/input/resources/questionnaire/questionnaire-Ccc.b10-16.signs.2m.p.json @@ -1,6 +1,6 @@ { "resourceType": "Questionnaire", - "id": "emcare.b10-16.signs.2m.p", + "id": "Ccc.b10-16.signs.2m.p", "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire" @@ -25,16 +25,16 @@ }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap", - "valueCanonical": "https://smart.who.int/ccc/StructureMap/emcare.b10-16.signs.2m.p" + "valueCanonical": "https://smart.who.int/ccc/StructureMap/Ccc.b10-16.signs.2m.p" }, { "url": "http://hl7.org/fhir/StructureDefinition/cqf-library", - "valueCanonical": "https://smart.who.int/ccc/Library/emcareb1016signs2mp" + "valueCanonical": "https://smart.who.int/ccc/Library/Cccb1016signs2mp" } ], - "url": "https://smart.who.int/ccc/Questionnaire/emcare.b10-16.signs.2m.p", - "name": "EmCare.B10-16.Signs.2m.p", - "title": "EmCare.B10-16.Signs.2m.p", + "url": "https://smart.who.int/ccc/Questionnaire/Ccc.b10-16.signs.2m.p", + "name": "Ccc.B10-16.Signs.2m.p", + "title": "Ccc.B10-16.Signs.2m.p", "status": "active", "experimental": false, "subjectType": [ @@ -383,7 +383,7 @@ "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "https://smart.who.int/ccc/Questionnaire/emcare.b22.respiratoryrate" + "valueCanonical": "https://smart.who.int/ccc/Questionnaire/Ccc.b22.respiratoryrate" }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", @@ -393,7 +393,7 @@ } } ], - "linkId": "EmCare.B22.RespiratoryRate", + "linkId": "Ccc.B22.RespiratoryRate", "type": "group", "required": false, "repeats": false, @@ -411,7 +411,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='EmCare.B22.DE02').answer.first().empty() and %resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='Ccc.B22.DE02').answer.first().empty() and %resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().empty()" } }, { @@ -422,7 +422,7 @@ } } ], - "linkId": "EmCare.B22.DE01", + "linkId": "Ccc.B22.DE01", "text": "Respiratory Rate (breaths per minute)", "type": "quantity", "required": true, @@ -442,7 +442,7 @@ } } ], - "linkId": "EmCare.B22.DE01-help", + "linkId": "Ccc.B22.DE01-help", "text": "Count the number of breaths the child takes per minute to determine if fast breathing is present.
\nIt is very important that the child is calm and still. If the child is moving or crying, you will not be able to get an accurate count of breaths.
\nTo count the breaths per minute, use a watch with a second hand or a digital watch. Look for the breathing movement anywhere on the child\u2019s chest or abdomen.
\nThe number of breaths for \u2018fast breathing\u2019 depends on the child\u2019s age.

\n\n\t\n\n\t

*In young infants, a second measurement should be taken to confirm, unless there is already another sign of possible serious bacterial infection", "type": "display" } @@ -467,18 +467,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='EmCare.B22.DE01').answer.first().empty() and %resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().empty() and %resource.repeat(item).where(linkId='force-collection').answer.first().value = false" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='Ccc.B22.DE01').answer.first().empty() and %resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().empty() and %resource.repeat(item).where(linkId='force-collection').answer.first().value = false" } } ], - "linkId": "EmCare.B22.DE02", + "linkId": "Ccc.B22.DE02", "type": "choice", "required": false, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.B22.DE02", + "code": "Ccc.B22.DE02", "display": "Unable to perform Respiratory Rate at this time" } } @@ -490,7 +490,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value < 2 and (%resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().value > 60 '{Breaths}/min' or %resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='EmCare.B22.DE01').answer.first().value >= 60 '{Breaths}/min') and %resource.repeat(item).where(linkId='Respiratory Rate Second Count Profile').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value < 2 and (%resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().value > 60 '{Breaths}/min' or %resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='Ccc.B22.DE01').answer.first().value >= 60 '{Breaths}/min') and %resource.repeat(item).where(linkId='Respiratory Rate Second Count Profile').answer.first().empty()" } } ], @@ -512,11 +512,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE05').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE05').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE04", + "linkId": "Ccc.B22.DE04", "text": "Respiratory Rate Second Count (breaths per minute)", "type": "quantity", "required": false, @@ -536,7 +536,7 @@ } } ], - "linkId": "EmCare.B22.DE04-help", + "linkId": "Ccc.B22.DE04-help", "text": "Count the number of breaths the child takes per minute to determine if fast breathing is present.
\nIt is very important that the child is calm and still. If the child is moving or crying, you will not be able to get an accurate count of breaths.
\nTo count the breaths per minute, use a watch with a second hand or a digital watch. Look for the breathing movement anywhere on the child\u2019s chest or abdomen.
\nThe number of breaths for \u2018fast breathing\u2019 depends on the child\u2019s age.

\n\n\t\n\n\t

*In young infants, a second measurement should be taken to confirm, unless there is already another sign of possible serious bacterial infection", "type": "display" } @@ -561,18 +561,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE04').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE04').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE05", + "linkId": "Ccc.B22.DE05", "type": "choice", "required": false, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.B22.DE05", + "code": "Ccc.B22.DE05", "display": "Respiratory Rate Second Count Not Possible" } } @@ -590,18 +590,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='Fast Breathing profile').answer.first().empty() and (%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2 or %resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE04').answer.first().exists() or %resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE05').answer.first().exists() or %resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='EmCare.B22.DE01').answer.first().value < 60 '{Breaths}/min')" + "expression": "%resource.repeat(item).where(linkId='Fast Breathing profile').answer.first().empty() and (%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2 or %resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE04').answer.first().exists() or %resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE05').answer.first().exists() or %resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='Ccc.B22.DE01').answer.first().value < 60 '{Breaths}/min')" } }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "iif(%resource.repeat(item).where(linkId='Fast Breathing profile').answer.first().empty() and (%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2 or %resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE04').answer.first().exists() or %resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE05').answer.first().exists() or %resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='EmCare.B22.DE01').answer.first().value < 60 '{Breaths}/min'),iif(%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value<2 and (%resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE04').answer.first().value >= 60 '{Breaths}/min' or (%resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE05').answer.first().exists() and ( %resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='EmCare.B22.DE01').answer.first().value >= 60 '{Breaths}/min' or %resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().value >= 60 '{Breaths}/min' ) ) ) or %resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='EmCare.B22.DE01').answer.first().value >= 50 '{Breaths}/min' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value < 12 and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2or %resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='EmCare.B22.DE01').answer.first().value >= 40 '{Breaths}/min' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value>=12 and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value < 60, true, false),{})" + "expression": "iif(%resource.repeat(item).where(linkId='Fast Breathing profile').answer.first().empty() and (%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2 or %resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE04').answer.first().exists() or %resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE05').answer.first().exists() or %resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='Ccc.B22.DE01').answer.first().value < 60 '{Breaths}/min'),iif(%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value<2 and (%resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE04').answer.first().value >= 60 '{Breaths}/min' or (%resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE05').answer.first().exists() and ( %resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='Ccc.B22.DE01').answer.first().value >= 60 '{Breaths}/min' or %resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().value >= 60 '{Breaths}/min' ) ) ) or %resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='Ccc.B22.DE01').answer.first().value >= 50 '{Breaths}/min' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value < 12 and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2or %resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='Ccc.B22.DE01').answer.first().value >= 40 '{Breaths}/min' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value>=12 and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value < 60, true, false),{})" } } ], - "linkId": "EmCare.B22.DE07", + "linkId": "Ccc.B22.DE07", "text": "Fast Breathing", "type": "boolean", "required": false, @@ -622,7 +622,7 @@ } } ], - "linkId": "EmCare.B22.DE07-help", + "linkId": "Ccc.B22.DE07-help", "text": "The number of breaths for \u2018fast breathing\u2019 depends on the child\u2019s age. * Under 2 months: More than 60 breaths per minute* * 2 to 11 months: More than 50 breaths per minute * 12 to 59 months: More than 40 breaths per minute *In young infants, a second measurement should be taken to confirm, unless there is already another sign of possible serious bacterial infection", "type": "display" } @@ -644,7 +644,7 @@ } } ], - "linkId": "EmCare.B10S2.DE03", + "linkId": "Ccc.B10S2.DE03", "text": "Chest Indrawing", "type": "boolean", "required": true, @@ -664,7 +664,7 @@ } } ], - "linkId": "EmCare.B10S2.DE03-help", + "linkId": "Ccc.B10S2.DE03-help", "text": "NORMAL: When child breaths IN, chest wall moves OUT
\nCHEST INDRAWING: When child breaths IN, chest wall moves IN

\n\n\t

Chest indrawing occurs when the child needs to make a greater effort than normal to breathe in. You will look for chest indrawing when the child breathes IN.

\n\n\t

In normal breathing, the whole chest wall (upper and lower) and the abdomen move OUT when the child breathes IN. The child has chest indrawing if the lower chest wall (lower ribs) goes IN when the child breathes IN.", "type": "display" } @@ -684,7 +684,7 @@ } } ], - "linkId": "EmCare.B10S2.DE04", + "linkId": "Ccc.B10S2.DE04", "text": "Stridor in a calm child", "type": "boolean", "required": true, @@ -704,7 +704,7 @@ } } ], - "linkId": "EmCare.B10S2.DE04-help", + "linkId": "Ccc.B10S2.DE04-help", "text": "Stridor is a harsh noise made when a child breathes IN.
\nPut your ear near the child\u2019s mouth because stridor can be difficult to hear. Sometimes you will hear a wet noise if the child\u2019s nose is blocked. Clear the nose, and listen again.

\n\n\t

Be sure to look and listen for stridor when the child is calm.
\nA child who is not very ill may have stridor only when he is crying or upset. However, a child who is calm and also has stridor has a dangerous situation.", "type": "display" } @@ -724,7 +724,7 @@ } } ], - "linkId": "EmCare.B10S2.DE05", + "linkId": "Ccc.B10S2.DE05", "text": "Wheezing", "type": "boolean", "required": true, @@ -744,7 +744,7 @@ } } ], - "linkId": "EmCare.B10S2.DE05-help", + "linkId": "Ccc.B10S2.DE05-help", "text": "Wheeze is a high-pitched whistling or musical sound heard at the end of the breathing OUT. The child\u2019s small air passages narrow to cause wheezing.
\nTo hear wheezing, put your ear near to the child\u2019s mouth when the child is calm. Look at the child\u2019s breathing while you listen to check that the sound mainly occurs when the child breathes out", "type": "display" } @@ -760,11 +760,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B10S2.DE05').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B10S2.DE05').answer.first().value = true" } } ], - "linkId": "EmCare.B10S2.DE06", + "linkId": "Ccc.B10S2.DE06", "text": "Recurrent Wheeze", "type": "boolean", "required": false, @@ -784,7 +784,7 @@ } } ], - "linkId": "EmCare.B10S2.DE06-help", + "linkId": "Ccc.B10S2.DE06-help", "text": "Recurrent wheezing can be a sign of asthma, tuberculosis or other important health problems which require further assessment", "type": "display" } @@ -796,7 +796,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%resource.repeat(item).where(linkId='Cough').answer.first().value = true or %resource.repeat(item).where(linkId='Difficulty Breathing').answer.first().value = true ) and %resource.repeat(item).where(linkId='EmCare.B10S2.DE04').answer.first().value = false" + "expression": "(%resource.repeat(item).where(linkId='Cough').answer.first().value = true or %resource.repeat(item).where(linkId='Difficulty Breathing').answer.first().value = true ) and %resource.repeat(item).where(linkId='Ccc.B10S2.DE04').answer.first().value = false" } } ], @@ -818,11 +818,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='Oxygen_Saturation').repeat(item).where(linkId='EmCare.B10S2.DE09').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Oxygen_Saturation').repeat(item).where(linkId='Ccc.B10S2.DE09').answer.first().empty()" } } ], - "linkId": "EmCare.B10S2.DE07", + "linkId": "Ccc.B10S2.DE07", "text": "Oxygen Saturation", "type": "quantity", "required": false, @@ -842,7 +842,7 @@ } } ], - "linkId": "EmCare.B10S2.DE07-help", + "linkId": "Ccc.B10S2.DE07-help", "text": "If pulse oximeter is available, determine oxygen saturation (SpO2).
\nAfter turning on, position the appropriate probe based on the child’s size. If using on a finger or toe, make sure the area is clean and without nail varnish. Ensure that a good (even) pulse signal (waveform) is displayed before taking the reading. If uncertain that the probe is working, check by testing on your own finger.
\nNormal oxygen saturation at sea level is 95 – 100%. Oxygen should be given if saturation drops to less than 90%, and may be needed for children with severe illness if SpO2 less than 94%. Different cut-offs may be used at high altitude.", "type": "display" } @@ -854,11 +854,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='Oxygen_Saturation').repeat(item).where(linkId='EmCare.B10S2.DE07').answer.first().exists() and %resource.repeat(item).where(linkId='Oxygen_Saturation').repeat(item).where(linkId='EmCare.B10S2.DE07').answer.first().value< 90 '%'" + "expression": "%resource.repeat(item).where(linkId='Oxygen_Saturation').repeat(item).where(linkId='Ccc.B10S2.DE07').answer.first().exists() and %resource.repeat(item).where(linkId='Oxygen_Saturation').repeat(item).where(linkId='Ccc.B10S2.DE07').answer.first().value< 90 '%'" } } ], - "linkId": "EmCare.B10S2.DE08", + "linkId": "Ccc.B10S2.DE08", "text": "Oxygen Saturation < 90 %", "type": "display", "required": false, @@ -879,7 +879,7 @@ } } ], - "linkId": "EmCare.B10S2.DE08-help", + "linkId": "Ccc.B10S2.DE08-help", "text": "Check that the value you have entered is correct. Children with oxygen saturation less than 90% need oxygen if available and urgent referral.", "type": "display" } @@ -904,18 +904,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='Oxygen_Saturation').repeat(item).where(linkId='EmCare.B10S2.DE07').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Oxygen_Saturation').repeat(item).where(linkId='Ccc.B10S2.DE07').answer.first().empty()" } } ], - "linkId": "EmCare.B10S2.DE09", + "linkId": "Ccc.B10S2.DE09", "type": "choice", "required": false, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.B10S2.DE09", + "code": "Ccc.B10S2.DE09", "display": "Oxygen saturation not measured" } } @@ -937,7 +937,7 @@ } } ], - "linkId": "EmCare.B11S2.DE01", + "linkId": "Ccc.B11S2.DE01", "text": "Sunken eyes", "type": "boolean", "required": true, @@ -957,7 +957,7 @@ } } ], - "linkId": "EmCare.B11S2.DE01-help", + "linkId": "Ccc.B11S2.DE01-help", "text": "The eyes of a child who is dehydrated may look sunken. Decide if you think the eyes are sunken. Then ask the mother if she thinks her child\u2019s eyes look unusual. Her opinion can help
\nyou confirm.
\nNOTE: In a severely malnourished child who is wasted, the eyes may always look sunken, even if the child is not dehydrated. Still use the sign to classify dehydration.", "type": "display" } @@ -973,7 +973,7 @@ } } ], - "linkId": "EmCare.B11S2.DE02", + "linkId": "Ccc.B11S2.DE02", "text": "Skin pinch of Abdomen", "type": "choice", "required": true, @@ -981,22 +981,22 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B20S2.DE03", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B20S2.DE03", "display": "Skin Pinch goes back very slowly (More than 2 seconds)" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B20S2.DE04", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B20S2.DE04", "display": "Skin Pinch goes back slowly (2 seconds or fewer, but not immediately)" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B20S2.DE05", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B20S2.DE05", "display": "Skin Pinch goes back Normally (immediately)" } } @@ -1016,7 +1016,7 @@ } } ], - "linkId": "EmCare.B11S2.DE02-help", + "linkId": "Ccc.B11S2.DE02-help", "text": "To assess dehydration using the skin pinch
\n1. ASK the mother to place the child on the examining table so that the child is flat on his back with his arms at his sides (not over his head) and his legs straight. Or, ask the mother to hold the child so he is lying flat on her lap.
\n2. USE YOUR THUMB AND FIRST FINGER to locate the area on the child\u2019s abdomen halfway between the umbilicus and the side of the abdomen. Do not use your fingertips because this will cause pain. The fold of the skin should be in a line up and down the child\u2019s body.
\n3. PICK UP all the layers of skin and the tissue underneath them.
\n4. HOLD the pinch for one second. Then release it.
\n5.. LOOK to see if the skin pinch goes back very slowly (more than 2 seconds), slowly, (less than 2 seconds, but not immediately), or immediately. If the skin stays up for even a brief time after you release it, decide that the skin pinch goes back slowly.", "type": "display" } @@ -1036,7 +1036,7 @@ } } ], - "linkId": "EmCare.B11S2.DE06", + "linkId": "Ccc.B11S2.DE06", "text": "Restless and Irritable", "type": "boolean", "required": true, @@ -1056,7 +1056,7 @@ } } ], - "linkId": "EmCare.B11S2.DE06-help", + "linkId": "Ccc.B11S2.DE06-help", "text": "A child is classified as restless and irritable if s/he is restless and irritable all the time or every time s/he is touched and handled. If an infant or child is calm when breastfeeding but again restless and irritable when he stops breastfeeding, s/he has the sign restless and irritable. Many children are upset just because they are in the clinic. Usually these children can be consoled and calmed, and do not have this sign.", "type": "display" } @@ -1069,7 +1069,7 @@ "valueCode": "horizontal" } ], - "linkId": "EmCare.B17S1.DE01", + "linkId": "Ccc.B17S1.DE01", "text": "Throat problem", "type": "boolean", "required": true, @@ -1089,7 +1089,7 @@ } } ], - "linkId": "EmCare.B17S1.DE01-help", + "linkId": "Ccc.B17S1.DE01-help", "text": "Look to see if the child has a throat problem.
\n- Red (congested) throat indicates inflammation and may be sign of infection
\n- Exudate may be seen as white / yellow mucus on the tonsils or throat
\n- A membrane is a thick grey coating on the throat is a sign of diptheria, requiring urgent referral", "type": "display" } @@ -1101,11 +1101,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B17S1.DE01').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B17S1.DE01').answer.first().value = true" } } ], - "linkId": "EmCare.B17S1.DE02", + "linkId": "Ccc.B17S1.DE02", "text": "Specify Throat problem", "type": "choice", "required": true, @@ -1113,28 +1113,28 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B17S1.DE03", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B17S1.DE03", "display": "Red (congested) throat" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B17S1.DE04", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B17S1.DE04", "display": "Exudate on Throat" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B17S1.DE05", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B17S1.DE05", "display": "Membrane on throat" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "none", "display": "None of the listed throat problems observed" } @@ -1155,7 +1155,7 @@ } } ], - "linkId": "EmCare.B17S1.DE02-help", + "linkId": "Ccc.B17S1.DE02-help", "text": "Look to see if the child has a throat problem.
\n- Red (congested) throat indicates inflammation and may be sign of infection
\n- Exudate may be seen as white / yellow mucus on the tonsils or throat
\n- A membrane is a thick grey coating on the throat is a sign of diptheria, requiring urgent referral", "type": "display" } @@ -1171,11 +1171,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B17S1.DE01').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B17S1.DE01').answer.first().value = true" } } ], - "linkId": "EmCare.B17S1.DE06", + "linkId": "Ccc.B17S1.DE06", "text": "Enlarged lymph nodes on front of neck", "type": "boolean", "required": true, @@ -1195,7 +1195,7 @@ } } ], - "linkId": "EmCare.B17S1.DE06-help", + "linkId": "Ccc.B17S1.DE06-help", "text": "Lymph nodes can be considered enlarged if 1cm or more in diameter (about the width of the tip of an adult index finger)", "type": "display" } @@ -1207,11 +1207,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B17S1.DE01').answer.first().value = true and %resource.repeat(item).where(linkId='Not able to drink or breastfeed').answer.first().value = false or %resource.repeat(item).where(linkId='Not able to drink or breastfeed').answer.first().value = true and %resource.repeat(item).where(linkId='Oral Fluid Test failed').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B17S1.DE01').answer.first().value = true and %resource.repeat(item).where(linkId='Not able to drink or breastfeed').answer.first().value = false or %resource.repeat(item).where(linkId='Not able to drink or breastfeed').answer.first().value = true and %resource.repeat(item).where(linkId='Oral Fluid Test failed').answer.first().value = true" } } ], - "linkId": "EmCare.B17S1.DE07", + "linkId": "Ccc.B17S1.DE07", "text": "Ability to swallow", "type": "choice", "required": true, @@ -1219,22 +1219,22 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B17S1.DE08", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B17S1.DE08", "display": "Yes, without difficulty" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B17S1.DE09", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B17S1.DE09", "display": "Difficulty in swallowing" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B17S1.DE10", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B17S1.DE10", "display": "Unable to swallow" } } @@ -1254,7 +1254,7 @@ } } ], - "linkId": "EmCare.B13S2.DE01", + "linkId": "Ccc.B13S2.DE01", "text": "Tender swelling behind the ear", "type": "boolean", "required": true, @@ -1274,7 +1274,7 @@ } } ], - "linkId": "EmCare.B13S2.DE01-help", + "linkId": "Ccc.B13S2.DE01-help", "text": "If both tenderness and swelling are present, the child may have mastoiditis, a deep infection in the mastoid bone. Feel behind both ears. Compare them and decide if there is tender swelling of the mastoid bone. In infants, the swelling may be above the ear. Do not confuse this swelling of the bone with swollen lymph nodes.", "type": "display" } @@ -1294,7 +1294,7 @@ } } ], - "linkId": "EmCare.B13S2.DE02", + "linkId": "Ccc.B13S2.DE02", "text": "Pus Seen Draining from the Ear", "type": "boolean", "required": true, @@ -1314,7 +1314,7 @@ } } ], - "linkId": "EmCare.B13S2.DE02-help", + "linkId": "Ccc.B13S2.DE02-help", "text": "Look inside the child\u2019s ear to see if pus is draining. That is a sign of infection, even if the child is not feeling any pain. Draining pus is a sign of infection", "type": "display" } @@ -1326,11 +1326,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='Ear discharge').answer.first().value = false and %resource.repeat(item).where(linkId='EmCare.B13S2.DE02').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ear discharge').answer.first().value = false and %resource.repeat(item).where(linkId='Ccc.B13S2.DE02').answer.first().value = true" } } ], - "linkId": "EmCare.B13S2.DE03", + "linkId": "Ccc.B13S2.DE03", "text": "Pus Seen Draining from the Ear for how long?", "type": "choice", "required": true, @@ -1338,15 +1338,15 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B10S1.DE08", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B10S1.DE08", "display": "14 days or more" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B10S1.DE07", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B10S1.DE07", "display": "Less than 14 days" } } @@ -1366,7 +1366,7 @@ } } ], - "linkId": "EmCare.B12S2.DE01", + "linkId": "Ccc.B12S2.DE01", "text": "Stiff neck", "type": "boolean", "required": true, @@ -1386,7 +1386,7 @@ } } ], - "linkId": "EmCare.B12S2.DE01-help", + "linkId": "Ccc.B12S2.DE01-help", "text": "A stiff neck may be a sign of meningitis, cerebral malaria or another very severe febrile disease. It requires urgent treatment with injectable antibiotics and referral to a hospital.
\nWATCH THE CHILD: While you talk with the caregiver during the assessment, look to see if the child moves and bends his or her neck easily when looking around. If the child is moving and bending his or her neck, the child does not have a stiff neck.
\nTEST THE CHILD: If you did not see any movement, or if you are not sure, draw the child\u2019s attention to his or her umbilicus or toes. For example, you can shine a flashlight on the toes or umbilicus or tickle the toes to encourage the child to look down. Look to see if the child can bend his or her neck when looking down at his or her umbilicus or toe
\nFEEL FOR STIFF NECK: If you still have not seen the child bend his or her neck himself, ask the caregiver to help you lay the child on his or her back. Lean over the child, gently support the child\u2019s back and shoulders with one hand. With the other hand, hold the child\u2019s head. Then carefully bend the head forward towards the child\u2019s chest. If the neck bends easily, the child does not have stiff neck. If the neck feels stiff and there is resistance to bending, the child has a stiff neck. Often a child with a stiff neck will cry when you try to bend the neck.", "type": "display" } @@ -1406,7 +1406,7 @@ } } ], - "linkId": "EmCare.B12S2.DE05", + "linkId": "Ccc.B12S2.DE05", "text": "Runny nose", "type": "boolean", "required": true, @@ -1426,7 +1426,7 @@ } } ], - "linkId": "EmCare.B14S2.DE01", + "linkId": "Ccc.B14S2.DE01", "text": "Red eyes", "type": "boolean", "required": true, @@ -1446,7 +1446,7 @@ } } ], - "linkId": "EmCare.B14S2.DE01-help", + "linkId": "Ccc.B14S2.DE01-help", "text": "The child has \u201cred eyes\u201d if there is redness in the white part of the eye. In a healthy eye, the white part of the eye is clearly white and not discoloured.", "type": "display" } @@ -1466,7 +1466,7 @@ } } ], - "linkId": "EmCare.B14S2.DE02", + "linkId": "Ccc.B14S2.DE02", "text": "Pus Draining from Eye", "type": "boolean", "required": true, @@ -1486,7 +1486,7 @@ } } ], - "linkId": "EmCare.B14S2.DE02-help", + "linkId": "Ccc.B14S2.DE02-help", "text": "Pus draining from the eye is a sign of conjunctivitis. Conjunctivitis is an infection of the conjunctiva, the inside surface of the eyelid and the white part of the eye.
\nIf you do not see pus draining from the eye, look for pus on the conjunctiva or on the eyelids. Often the pus forms a crust when the child is sleeping and seals the eye shut. You can gently open the eye, making sure that your hands are clean.
\nWash your hands after examining the eye of any child with pus draining from the eye.", "type": "display" } @@ -1506,7 +1506,7 @@ } } ], - "linkId": "EmCare.B14S2.DE03", + "linkId": "Ccc.B14S2.DE03", "text": "Clouding of the Cornea", "type": "boolean", "required": true, @@ -1526,7 +1526,7 @@ } } ], - "linkId": "EmCare.B14S2.DE03-help", + "linkId": "Ccc.B14S2.DE03-help", "text": "The cornea is usually clear. When clouding of the cornea is present, the cornea may appear clouded or hazy. The cornea may look the way a glass of water looks when you add a small amount of milk. The clouding may occur in one or both eyes.
\nA child with corneal clouding may keep his or her eyes tightly shut when exposed to light. The light may cause irritation and pain to the child\u2019s eyes. To check the child\u2019s eye, wait for the child to open his or her eye. Or gently pull down the lower eyelid to look for clouding.
\nCorneal clouding is a dangerous condition. It may be the result of vitamin A deficiency that has been made worse by measles. If the corneal clouding is not treated, the cornea can ulcerate and cause blindness. A child with clouding of the cornea needs urgent treatment with vitamin A.", "type": "display" } @@ -1542,11 +1542,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B14S2.DE03').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B14S2.DE03').answer.first().value = true" } } ], - "linkId": "EmCare.B14S2.DE04", + "linkId": "Ccc.B14S2.DE04", "text": "Is Clouding of the Cornea a new problem", "type": "boolean", "required": false, @@ -1566,7 +1566,7 @@ } } ], - "linkId": "EmCare.B14S2.DE04-help", + "linkId": "Ccc.B14S2.DE04-help", "text": "If there is clouding of the cornea, ask the caregiver how long the cloudinghas been present. If the caregiver is certain that clouding has been there for some time, ask if the clouding has already been assessed and treated at the hospital. If it has, you do not need to refer this child again for corneal clouding.", "type": "display" } @@ -1582,11 +1582,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B14S2.DE03').answer.first().value = true or %resource.repeat(item).where(linkId='EmCare.B14S2.DE04').answer.first().value = false" + "expression": "%resource.repeat(item).where(linkId='Ccc.B14S2.DE03').answer.first().value = true or %resource.repeat(item).where(linkId='Ccc.B14S2.DE04').answer.first().value = false" } } ], - "linkId": "EmCare.B14S2.DE05", + "linkId": "Ccc.B14S2.DE05", "text": "Has Clouding of the Cornea previously been treated", "type": "boolean", "required": false, @@ -1611,11 +1611,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='Skin Problem').answer.first().value = true or (%resource.repeat(item).where(linkId='Fever').answer.first().value = true and (%resource.repeat(item).where(linkId='Cough').answer.first().value = true or %resource.repeat(item).where(linkId='EmCare.B12S2.DE05').answer.first().value = true or %resource.repeat(item).where(linkId='EmCare.B14S2.DE01').answer.first().value = true))" + "expression": "%resource.repeat(item).where(linkId='Skin Problem').answer.first().value = true or (%resource.repeat(item).where(linkId='Fever').answer.first().value = true and (%resource.repeat(item).where(linkId='Cough').answer.first().value = true or %resource.repeat(item).where(linkId='Ccc.B12S2.DE05').answer.first().value = true or %resource.repeat(item).where(linkId='Ccc.B14S2.DE01').answer.first().value = true))" } } ], - "linkId": "EmCare.B14S2.DE06", + "linkId": "Ccc.B14S2.DE06", "text": "Generalised or Localised Skin Problem", "type": "choice", "required": true, @@ -1623,22 +1623,22 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B14S2.DE07", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B14S2.DE07", "display": "Generalised Skin Problem" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B14S2.DE08", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B14S2.DE08", "display": "Localised Skin Problem" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B14S2.DE09", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B14S2.DE09", "display": "No Problem" } } @@ -1654,11 +1654,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='Fever').answer.first().value = true or ( %resource.repeat(item).where(linkId='Cough').answer.first().value = true or %resource.repeat(item).where(linkId='EmCare.B12S2.DE05').answer.first().value = true or %resource.repeat(item).where(linkId='EmCare.B14S2.DE01').answer.first().value = true ) and %resource.repeat(item).where(linkId='EmCare.B14S2.DE06').answer.where(value.code = 'EmCare.B14S2.DE07').exists()" + "expression": "%resource.repeat(item).where(linkId='Fever').answer.first().value = true or ( %resource.repeat(item).where(linkId='Cough').answer.first().value = true or %resource.repeat(item).where(linkId='Ccc.B12S2.DE05').answer.first().value = true or %resource.repeat(item).where(linkId='Ccc.B14S2.DE01').answer.first().value = true ) and %resource.repeat(item).where(linkId='Ccc.B14S2.DE06').answer.where(value.code = 'Ccc.B14S2.DE07').exists()" } } ], - "linkId": "EmCare.B14S2.DE10", + "linkId": "Ccc.B14S2.DE10", "text": "Measles Rash", "type": "boolean", "required": true, @@ -1678,7 +1678,7 @@ } } ], - "linkId": "EmCare.B14S2.DE10-help", + "linkId": "Ccc.B14S2.DE10-help", "text": "In measles, a rash begins behind the ears and on the neck. It spreads to the face. During the next day, the rash spreads to the rest of the body, arms and legs. After 4 to 5 days, the rash starts to fade and the skin may peel.

\n\n\t

Some children with severe infection may have more rash spread over more of the body. The rash becomes more discoloured (dark brown or blackish), and there is more peeling of the skin. A measles rash does not have vesicles (blisters) or pustules. The rash does not itch.

\n\n\t

Do not confuse measles with other common childhood rashes such as chicken pox, scabies, or heat rash. Chicken pox rash is a generalized rash with vesicles. Scabies occurs on the hands, feet, ankles, elbows, buttocks and axilla (underarm). It also itches. Heat rash can be a generalized rash with small bumps and vesicles, which itch. A child with heat rash is not sick.", "type": "display" } @@ -1694,11 +1694,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='Fever').answer.first().value = true and (iif(%resource.repeat(item).where(linkId='EmCare.B14S2.DE01').answer.first().value = true, false, true) or iif(%resource.repeat(item).where(linkId='Cough').answer.first().value = true, false, true) or iif(%resource.repeat(item).where(linkId='EmCare.B12S2.DE05').answer.first().value = true, false, true)) or %resource.repeat(item).where(linkId='EmCare.B14S2.DE06').answer.where(value.code = 'EmCare.B14S2.DE07').empty() or %resource.repeat(item).where(linkId='EmCare.B14S2.DE10').answer.first().value = false" + "expression": "%resource.repeat(item).where(linkId='Fever').answer.first().value = true and (iif(%resource.repeat(item).where(linkId='Ccc.B14S2.DE01').answer.first().value = true, false, true) or iif(%resource.repeat(item).where(linkId='Cough').answer.first().value = true, false, true) or iif(%resource.repeat(item).where(linkId='Ccc.B12S2.DE05').answer.first().value = true, false, true)) or %resource.repeat(item).where(linkId='Ccc.B14S2.DE06').answer.where(value.code = 'Ccc.B14S2.DE07').empty() or %resource.repeat(item).where(linkId='Ccc.B14S2.DE10').answer.first().value = false" } } ], - "linkId": "EmCare.B14S2.DE11", + "linkId": "Ccc.B14S2.DE11", "text": "Measles within the last 3 months", "type": "boolean", "required": true, @@ -1718,7 +1718,7 @@ } } ], - "linkId": "EmCare.B14S2.DE11-help", + "linkId": "Ccc.B14S2.DE11-help", "text": "Ask the caregiver or check the child’s health record to see if they have had measles in the last 3 months. If the caregiver is not sure, explain the symptoms (a generalised rash all over the body, starting from behind the ears and on the neck, spreading to the face, then the body, arms and legs, accompanied by runny nose, red eyes or cough).", "type": "display" } @@ -1738,7 +1738,7 @@ } } ], - "linkId": "EmCare.B14S2.DE12", + "linkId": "Ccc.B14S2.DE12", "text": "Blisters, Sores or Pustules", "type": "boolean", "required": true, @@ -1751,15 +1751,15 @@ { "url": "option", "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B14S2.DE22" + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B14S2.DE22" } }, { "url": "expression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='Danger Signs').answer.first().value = false and %resource.repeat(item).where(linkId='Itchy Skin').answer.first().value=true and %resource.repeat(item).where(linkId='EmCare.B14S2.DE12').answer.first().value = true and %resource.repeat(item).where(linkId='EmCare.B14S2.DE06').answer.where(value.code = 'EmCare.B14S2.DE07').empty()" + "expression": "%resource.repeat(item).where(linkId='Danger Signs').answer.first().value = false and %resource.repeat(item).where(linkId='Itchy Skin').answer.first().value=true and %resource.repeat(item).where(linkId='Ccc.B14S2.DE12').answer.first().value = true and %resource.repeat(item).where(linkId='Ccc.B14S2.DE06').answer.where(value.code = 'Ccc.B14S2.DE07').empty()" } } ], @@ -1769,11 +1769,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='Danger Signs').answer.first().value = false and ( %resource.repeat(item).where(linkId='EmCare.B14S2.DE06').answer.where(value.code = 'EmCare.B14S2.DE07').exists() or %resource.repeat(item).where(linkId='EmCare.B14S2.DE06').answer.where(value.code = 'EmCare.B14S2.DE08').exists() )" + "expression": "%resource.repeat(item).where(linkId='Danger Signs').answer.first().value = false and ( %resource.repeat(item).where(linkId='Ccc.B14S2.DE06').answer.where(value.code = 'Ccc.B14S2.DE07').exists() or %resource.repeat(item).where(linkId='Ccc.B14S2.DE06').answer.where(value.code = 'Ccc.B14S2.DE08').exists() )" } } ], - "linkId": "EmCare.B14S2.DE13", + "linkId": "Ccc.B14S2.DE13", "text": "Type of Skin Problem", "type": "choice", "required": false, @@ -1781,91 +1781,91 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B14S2.DE18", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B14S2.DE18", "display": "Papular Urticaria or Papular Pruritic Eruptions" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B14S2.DE19", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B14S2.DE19", "display": "Ringworm (Tinea)" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B14S2.DE21", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B14S2.DE21", "display": "Scabies" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B14S2.DE22", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B14S2.DE22", "display": "Chickenpox" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B14S2.DE23", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B14S2.DE23", "display": "Herpes Zoster" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B14S2.DE25", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B14S2.DE25", "display": "Impetigo" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B14S2.DE31", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B14S2.DE31", "display": "Molluscum Contagiosum" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B14S2.DE32", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B14S2.DE32", "display": "Warts" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B14S2.DE33", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B14S2.DE33", "display": "Seborrhoeic Dermatitis" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B14S2.DE35", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B14S2.DE35", "display": "Fixed Drug Reaction" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B14S2.DE36", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B14S2.DE36", "display": "Eczema" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B14S2.DE37", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B14S2.DE37", "display": "Steven Johnson Syndrome (SJS)" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "none", "display": "None of the above" } @@ -1882,11 +1882,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B14S2.DE13').answer.where(value.code='EmCare.B14S2.DE19').exists()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B14S2.DE13').answer.where(value.code='Ccc.B14S2.DE19').exists()" } } ], - "linkId": "EmCare.B14S2.DE19a", + "linkId": "Ccc.B14S2.DE19a", "text": "Scalp Infection (tinea capitis)", "type": "boolean", "required": false, @@ -1906,7 +1906,7 @@ } } ], - "linkId": "EmCare.B14S2.DE19a-help", + "linkId": "Ccc.B14S2.DE19a-help", "text": "Scalp lesions may result in loss of hair", "type": "display" } @@ -1922,11 +1922,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B14S2.DE13').answer.where(value.code='EmCare.B14S2.DE22').exists()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B14S2.DE13').answer.where(value.code='Ccc.B14S2.DE22').exists()" } } ], - "linkId": "EmCare.B14S2.DE22A", + "linkId": "Ccc.B14S2.DE22A", "text": "Severe rash", "type": "boolean", "required": false, @@ -1946,7 +1946,7 @@ } } ], - "linkId": "EmCare.B14S2.DE22A-help", + "linkId": "Ccc.B14S2.DE22A-help", "text": "Severe rash indicates that the child needs referral due to risk of complications.", "type": "display" } @@ -1962,11 +1962,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B14S2.DE13').answer.where(value.code='EmCare.B14S2.DE23').exists()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B14S2.DE13').answer.where(value.code='Ccc.B14S2.DE23').exists()" } } ], - "linkId": "EmCare.B14S2.DE23a", + "linkId": "Ccc.B14S2.DE23a", "text": "Disseminated Herpes Zoster", "type": "boolean", "required": false, @@ -1986,7 +1986,7 @@ } } ], - "linkId": "EmCare.B14S2.DE23a-help", + "linkId": "Ccc.B14S2.DE23a-help", "text": "Disseminated herpes zoster means that the rash is affecting more than one area of the body", "type": "display" } @@ -2002,11 +2002,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B14S2.DE13').answer.where(value.code='EmCare.B14S2.DE23').exists()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B14S2.DE13').answer.where(value.code='Ccc.B14S2.DE23').exists()" } } ], - "linkId": "EmCare.B14S2.DE24", + "linkId": "Ccc.B14S2.DE24", "text": "Eye Involvement", "type": "boolean", "required": false, @@ -2022,11 +2022,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B14S2.DE13').answer.where(value.code='EmCare.B14S2.DE25').exists()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B14S2.DE13').answer.where(value.code='Ccc.B14S2.DE25').exists()" } } ], - "linkId": "EmCare.B14S2.DE30", + "linkId": "Ccc.B14S2.DE30", "text": "Skin Infection extends to Muscle", "type": "boolean", "required": false, @@ -2042,11 +2042,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B14S2.DE13').answer.where(value.code='EmCare.B14S2.DE25').exists()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B14S2.DE13').answer.where(value.code='Ccc.B14S2.DE25').exists()" } } ], - "linkId": "EmCare.B14S2.DE30b", + "linkId": "Ccc.B14S2.DE30b", "text": "Extensive impetigo lesions", "type": "boolean", "required": false, @@ -2066,7 +2066,7 @@ } } ], - "linkId": "EmCare.B14S2.DE30b-help", + "linkId": "Ccc.B14S2.DE30b-help", "text": "Impetigo can be considered as extensive if it is greater than 4cm in diameter", "type": "display" } @@ -2082,11 +2082,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B14S2.DE13').answer.where(value.code='EmCare.B14S2.DE31').exists()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B14S2.DE13').answer.where(value.code='Ccc.B14S2.DE31').exists()" } } ], - "linkId": "EmCare.B14S2.DE31a", + "linkId": "Ccc.B14S2.DE31a", "text": "Extensive molluscum lesions", "type": "boolean", "required": false, @@ -2106,7 +2106,7 @@ } } ], - "linkId": "EmCare.B14S2.DE31a-help", + "linkId": "Ccc.B14S2.DE31a-help", "text": "Molluscum Contagiosum – Skin coloured pearly white papules with central umbilication. Most commonly seen on face and trunk in children.", "type": "display" } @@ -2122,11 +2122,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B14S2.DE13').answer.where(value.code='EmCare.B14S2.DE31').exists()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B14S2.DE13').answer.where(value.code='Ccc.B14S2.DE31').exists()" } } ], - "linkId": "EmCare.B14S2.DE31b", + "linkId": "Ccc.B14S2.DE31b", "text": "Molluscum lesions close to the eye", "type": "boolean", "required": false, @@ -2142,11 +2142,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B14S2.DE13').answer.where(value.code='EmCare.B14S2.DE32').exists()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B14S2.DE13').answer.where(value.code='Ccc.B14S2.DE32').exists()" } } ], - "linkId": "EmCare.B14S2.DE32a", + "linkId": "Ccc.B14S2.DE32a", "text": "Extensive warts", "type": "boolean", "required": false, @@ -2162,11 +2162,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B14S2.DE13').answer.where(value.code='EmCare.B14S2.DE33').exists()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B14S2.DE13').answer.where(value.code='Ccc.B14S2.DE33').exists()" } } ], - "linkId": "EmCare.B14S2.DE34", + "linkId": "Ccc.B14S2.DE34", "text": "Severe Seborrhoeic Dermatitis", "type": "boolean", "required": false, @@ -2182,11 +2182,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B14S2.DE13').answer.where(value.code='EmCare.B14S2.DE36').exists()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B14S2.DE13').answer.where(value.code='Ccc.B14S2.DE36').exists()" } } ], - "linkId": "EmCare.B14S2.DE36a", + "linkId": "Ccc.B14S2.DE36a", "text": "Secondary bacterial infection of eczema", "type": "boolean", "required": false, @@ -2202,11 +2202,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B14S2.DE13').answer.where(value.code='EmCare.B14S2.DE36').exists()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B14S2.DE13').answer.where(value.code='Ccc.B14S2.DE36').exists()" } } ], - "linkId": "EmCare.B14S2.DE36b", + "linkId": "Ccc.B14S2.DE36b", "text": "Severe acute moist or weeping eczema", "type": "boolean", "required": false, @@ -2222,11 +2222,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B14S2.DE13').answer.where(value.code='EmCare.B14S2.DE36').exists()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B14S2.DE13').answer.where(value.code='Ccc.B14S2.DE36').exists()" } } ], - "linkId": "EmCare.B14S2.DE36c", + "linkId": "Ccc.B14S2.DE36c", "text": "Secondary herpes infection of eczema (eczema herpeticum)", "type": "boolean", "required": false, @@ -2255,7 +2255,7 @@ } } ], - "linkId": "EmCare.B14S2.DE38", + "linkId": "Ccc.B14S2.DE38", "text": "Oral sores or Mouth Ulcers", "type": "choice", "required": true, @@ -2263,29 +2263,29 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B14S2.DE41", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B14S2.DE41", "display": "Mouth Sores or Mouth Ulcers - Deep and Extensive" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B14S2.DE42", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B14S2.DE42", "display": "Mouth Sores or Mouth Ulcers - Not Deep and Extensive" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B14S2.DE40", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B14S2.DE40", "display": "Oral Thrush" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B14S2.DE39", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B14S2.DE39", "display": "No Oral Sores or Mouth Ulcers" } } @@ -2305,7 +2305,7 @@ } } ], - "linkId": "EmCare.B14S2.DE38-help", + "linkId": "Ccc.B14S2.DE38-help", "text": "Ulcers are painful open sores on the inside of the mouth and lips or the tongue. They may be red or have white coating.", "type": "display" } @@ -2334,7 +2334,7 @@ } } ], - "linkId": "EmCare.B14S2.DE43", + "linkId": "Ccc.B14S2.DE43", "text": "Add a Skin or Mouth or Eye Problem", "type": "choice", "required": false, @@ -2342,36 +2342,36 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B14S2.DE44", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B14S2.DE44", "display": "Skin Problem" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B14S2.DE45", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B14S2.DE45", "display": "Oral Sores or Mouth Ulcers" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B14S2.DE46", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B14S2.DE46", "display": "Eye Problem" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B14S2.DE47", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B14S2.DE47", "display": "No - Do not add a Skin or Mouth or Eye Problem" } } ] }, { - "linkId": "EmCare.B15S2.DE01", + "linkId": "Ccc.B15S2.DE01", "text": "Palmar Pallor", "type": "choice", "required": true, @@ -2379,22 +2379,22 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B15S2.DE02", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B15S2.DE02", "display": "Severe Palmar Pallor" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B15S2.DE03", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B15S2.DE03", "display": "Some Palmar Pallor" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B15S2.DE04", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B15S2.DE04", "display": "No Palmar Pallor" } } @@ -2414,14 +2414,14 @@ } } ], - "linkId": "EmCare.B15S2.DE01-help", + "linkId": "Ccc.B15S2.DE01-help", "text": "LOOK at the skin of the child\u2019s palm. Hold the child\u2019s palm open by grasping it gently from the side. Do not stretch the fingers backwards. This may cause pallor by blocking the blood supply. Compare the colour of the child\u2019s palm with your own palm and with the palms of other children. The child has some palmar pallor if the skin of the child\u2019s palm is pale. The child has severe palmar pallor if the skin of the palm is very pale or so pale that it looks white.", "type": "display" } ] }, { - "linkId": "EmCare.B15S2.DE09", + "linkId": "Ccc.B15S2.DE09", "text": "Mucous membrane pallor", "type": "choice", "required": true, @@ -2429,22 +2429,22 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B15S2.DE10", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B15S2.DE10", "display": "Severe mucous membrane pallor" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B15S2.DE11", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B15S2.DE11", "display": "Some mucous membrane pallor" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B15S2.DE12", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B15S2.DE12", "display": "No mucous membrane pallor" } } diff --git a/input/resources/questionnaire/questionnaire-emcare.b18-21.signs.2m.m.json b/input/resources/questionnaire/questionnaire-Ccc.b18-21.signs.2m.m.json similarity index 86% rename from input/resources/questionnaire/questionnaire-emcare.b18-21.signs.2m.m.json rename to input/resources/questionnaire/questionnaire-Ccc.b18-21.signs.2m.m.json index e486a397..c8c1bd3d 100644 --- a/input/resources/questionnaire/questionnaire-emcare.b18-21.signs.2m.m.json +++ b/input/resources/questionnaire/questionnaire-Ccc.b18-21.signs.2m.m.json @@ -1,6 +1,6 @@ { "resourceType": "Questionnaire", - "id": "emcare.b18-21.signs.2m.m", + "id": "Ccc.b18-21.signs.2m.m", "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire" @@ -25,16 +25,16 @@ }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap", - "valueCanonical": "https://smart.who.int/ccc/StructureMap/emcare.b18-21.signs.2m.m" + "valueCanonical": "https://smart.who.int/ccc/StructureMap/Ccc.b18-21.signs.2m.m" }, { "url": "http://hl7.org/fhir/StructureDefinition/cqf-library", - "valueCanonical": "https://smart.who.int/ccc/Library/emcareb1821signs2mm" + "valueCanonical": "https://smart.who.int/ccc/Library/Cccb1821signs2mm" } ], - "url": "https://smart.who.int/ccc/Questionnaire/emcare.b18-21.signs.2m.m", - "name": "EmCare.B18-21.Signs.2m.m", - "title": "EmCare.B18-21.Signs.2m.m", + "url": "https://smart.who.int/ccc/Questionnaire/Ccc.b18-21.signs.2m.m", + "name": "Ccc.B18-21.Signs.2m.m", + "title": "Ccc.B18-21.Signs.2m.m", "status": "active", "experimental": false, "subjectType": [ @@ -174,11 +174,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b20s1.de01" + "expression": "Ccc.b20s1.de01" } } ], - "linkId": "EmCare.B20S1.DE01", + "linkId": "Ccc.B20S1.DE01", "text": "Diarrhoea", "type": "boolean", "required": false, @@ -194,11 +194,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.a.de31" + "expression": "Ccc.a.de31" } } ], - "linkId": "EmCare.A.DE31", + "linkId": "Ccc.A.DE31", "text": "Biological Mother Vital Status", "type": "choice", "required": false, @@ -206,22 +206,22 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.A.DE46", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.A.DE46", "display": "Dead" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.A.DE34", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.A.DE34", "display": "Alive" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.A.DE33", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.A.DE33", "display": "Unknown" } } @@ -241,11 +241,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b21s1.de01" + "expression": "Ccc.b21s1.de01" } } ], - "linkId": "EmCare.B21S1.DE01", + "linkId": "Ccc.B21S1.DE01", "text": "Breastfed", "type": "boolean", "required": false, @@ -261,11 +261,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b18s1.de02" + "expression": "Ccc.b18s1.de02" } } ], - "linkId": "EmCare.B18S1.DE02", + "linkId": "Ccc.B18S1.DE02", "text": "Difficulty with Feeding", "type": "choice", "required": false, @@ -273,22 +273,22 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B18S1.DE03", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B18S1.DE03", "display": "Not Able to Feed At All" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B18S1.DE04", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B18S1.DE04", "display": "Not Feeding Well" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B18S1.DE05", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B18S1.DE05", "display": "Feeding Well" } } @@ -356,11 +356,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b7.de03" + "expression": "Ccc.b7.de03" } } ], - "linkId": "EmCare.B7.DE03", + "linkId": "Ccc.B7.DE03", "text": "Convulsion(s) in this Illness", "type": "boolean", "required": false, @@ -370,10 +370,10 @@ "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "https://smart.who.int/ccc/Questionnaire/emcare.b22.respiratoryrate" + "valueCanonical": "https://smart.who.int/ccc/Questionnaire/Ccc.b22.respiratoryrate" } ], - "linkId": "EmCare.B22.RespiratoryRate", + "linkId": "Ccc.B22.RespiratoryRate", "type": "group", "required": false, "repeats": false, @@ -391,7 +391,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='EmCare.B22.DE02').answer.first().empty() and %resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='Ccc.B22.DE02').answer.first().empty() and %resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().empty()" } }, { @@ -402,7 +402,7 @@ } } ], - "linkId": "EmCare.B22.DE01", + "linkId": "Ccc.B22.DE01", "text": "Respiratory Rate (breaths per minute)", "type": "quantity", "required": true, @@ -422,7 +422,7 @@ } } ], - "linkId": "EmCare.B22.DE01-help", + "linkId": "Ccc.B22.DE01-help", "text": "Count the number of breaths the child takes per minute to determine if fast breathing is present.
\nIt is very important that the child is calm and still. If the child is moving or crying, you will not be able to get an accurate count of breaths.
\nTo count the breaths per minute, use a watch with a second hand or a digital watch. Look for the breathing movement anywhere on the child\u2019s chest or abdomen.
\nThe number of breaths for \u2018fast breathing\u2019 depends on the child\u2019s age.

\n\n\t\n\n\t

*In young infants, a second measurement should be taken to confirm, unless there is already another sign of possible serious bacterial infection", "type": "display" } @@ -447,18 +447,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='EmCare.B22.DE01').answer.first().empty() and %resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().empty() and %resource.repeat(item).where(linkId='force-collection').answer.first().value = false" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='Ccc.B22.DE01').answer.first().empty() and %resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().empty() and %resource.repeat(item).where(linkId='force-collection').answer.first().value = false" } } ], - "linkId": "EmCare.B22.DE02", + "linkId": "Ccc.B22.DE02", "type": "choice", "required": false, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.B22.DE02", + "code": "Ccc.B22.DE02", "display": "Unable to perform Respiratory Rate at this time" } } @@ -470,7 +470,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value < 2 and (%resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().value > 60 '{Breaths}/min' or %resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='EmCare.B22.DE01').answer.first().value >= 60 '{Breaths}/min') and %resource.repeat(item).where(linkId='Respiratory Rate Second Count Profile').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value < 2 and (%resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().value > 60 '{Breaths}/min' or %resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='Ccc.B22.DE01').answer.first().value >= 60 '{Breaths}/min') and %resource.repeat(item).where(linkId='Respiratory Rate Second Count Profile').answer.first().empty()" } } ], @@ -492,11 +492,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE05').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE05').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE04", + "linkId": "Ccc.B22.DE04", "text": "Respiratory Rate Second Count (breaths per minute)", "type": "quantity", "required": false, @@ -516,7 +516,7 @@ } } ], - "linkId": "EmCare.B22.DE04-help", + "linkId": "Ccc.B22.DE04-help", "text": "Count the number of breaths the child takes per minute to determine if fast breathing is present.
\nIt is very important that the child is calm and still. If the child is moving or crying, you will not be able to get an accurate count of breaths.
\nTo count the breaths per minute, use a watch with a second hand or a digital watch. Look for the breathing movement anywhere on the child\u2019s chest or abdomen.
\nThe number of breaths for \u2018fast breathing\u2019 depends on the child\u2019s age.

\n\n\t\n\n\t

*In young infants, a second measurement should be taken to confirm, unless there is already another sign of possible serious bacterial infection", "type": "display" } @@ -541,18 +541,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE04').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE04').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE05", + "linkId": "Ccc.B22.DE05", "type": "choice", "required": false, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.B22.DE05", + "code": "Ccc.B22.DE05", "display": "Respiratory Rate Second Count Not Possible" } } @@ -570,18 +570,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='Fast Breathing profile').answer.first().empty() and (%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2 or %resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE04').answer.first().exists() or %resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE05').answer.first().exists() or %resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='EmCare.B22.DE01').answer.first().value < 60 '{Breaths}/min')" + "expression": "%resource.repeat(item).where(linkId='Fast Breathing profile').answer.first().empty() and (%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2 or %resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE04').answer.first().exists() or %resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE05').answer.first().exists() or %resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='Ccc.B22.DE01').answer.first().value < 60 '{Breaths}/min')" } }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "iif(%resource.repeat(item).where(linkId='Fast Breathing profile').answer.first().empty() and (%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2 or %resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE04').answer.first().exists() or %resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE05').answer.first().exists() or %resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='EmCare.B22.DE01').answer.first().value < 60 '{Breaths}/min'),iif(%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value<2 and (%resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE04').answer.first().value >= 60 '{Breaths}/min' or (%resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE05').answer.first().exists() and ( %resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='EmCare.B22.DE01').answer.first().value >= 60 '{Breaths}/min' or %resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().value >= 60 '{Breaths}/min' ) ) ) or %resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='EmCare.B22.DE01').answer.first().value >= 50 '{Breaths}/min' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value < 12 and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2or %resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='EmCare.B22.DE01').answer.first().value >= 40 '{Breaths}/min' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value>=12 and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value < 60, true, false),{})" + "expression": "iif(%resource.repeat(item).where(linkId='Fast Breathing profile').answer.first().empty() and (%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2 or %resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE04').answer.first().exists() or %resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE05').answer.first().exists() or %resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='Ccc.B22.DE01').answer.first().value < 60 '{Breaths}/min'),iif(%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value<2 and (%resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE04').answer.first().value >= 60 '{Breaths}/min' or (%resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE05').answer.first().exists() and ( %resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='Ccc.B22.DE01').answer.first().value >= 60 '{Breaths}/min' or %resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().value >= 60 '{Breaths}/min' ) ) ) or %resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='Ccc.B22.DE01').answer.first().value >= 50 '{Breaths}/min' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value < 12 and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2or %resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='Ccc.B22.DE01').answer.first().value >= 40 '{Breaths}/min' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value>=12 and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value < 60, true, false),{})" } } ], - "linkId": "EmCare.B22.DE07", + "linkId": "Ccc.B22.DE07", "text": "Fast Breathing", "type": "boolean", "required": false, @@ -602,7 +602,7 @@ } } ], - "linkId": "EmCare.B22.DE07-help", + "linkId": "Ccc.B22.DE07-help", "text": "The number of breaths for \u2018fast breathing\u2019 depends on the child\u2019s age. * Under 2 months: More than 60 breaths per minute* * 2 to 11 months: More than 50 breaths per minute * 12 to 59 months: More than 40 breaths per minute *In young infants, a second measurement should be taken to confirm, unless there is already another sign of possible serious bacterial infection", "type": "display" } @@ -617,7 +617,7 @@ "valueCode": "horizontal" } ], - "linkId": "EmCare.B18S2.DE07", + "linkId": "Ccc.B18S2.DE07", "text": "Severe Chest Indrawing", "type": "boolean", "required": true, @@ -637,14 +637,14 @@ } } ], - "linkId": "EmCare.B18S2.DE07-help", + "linkId": "Ccc.B18S2.DE07-help", "text": "The young infant must be calm while you assess for severe chest indrawing.\u00a0 Lift the young infant\u2019s shirt.

\n\n\t

Look for chest indrawing when the young infant breathes in. Lower chest wall indrawing is the inward movement of the bony structure of the chest wall
\nwhen the child breathes in. Look at the lower chest wall (lower ribs). The child has chest indrawing if the lower chest wall goes IN when the child breathes IN.
\nIn normal breathing, the whole chest wall (upper and lower) and the abdomen move OUT when the child breathes IN.

\n\n\t

Mild chest indrawing is normal in a young infant because the chest wall is soft. Severe chest indrawing is very deep and easy to see.", "type": "display" } ] }, { - "linkId": "EmCare.B18S2.DE08", + "linkId": "Ccc.B18S2.DE08", "text": "Movements", "type": "choice", "required": true, @@ -652,22 +652,22 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B18S2.DE11", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B18S2.DE11", "display": "Moves on his or her own or moves spontaneously or without stimulation" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B18S2.DE10", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B18S2.DE10", "display": "Movement only when stimulated but then stops" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B18S2.DE09", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B18S2.DE09", "display": "No movement at all" } } @@ -687,7 +687,7 @@ } } ], - "linkId": "EmCare.B18S2.DE08-help", + "linkId": "Ccc.B18S2.DE08-help", "text": "Look at the young infant\u2019s movements. Does the young infant move on his/her own? Does the infant move only when stimulated but then stops? Does the infant not move at all?
\nYoung infants often sleep most of the time, and this is not a sign of illness. It is not necessary for the infant to be awake if he/she is moving spontaneously.
\nIf a young infant is not moving spontaneously and does not wake up during the assessment, ask the mother to wake him. An awake young infant will normally move his arms or legs or turn his head several times in a\u00a0 minute if you watch him closely. If the infant is awake but has no spontaneous movements, gently stimulate the young infant. Stimulation\u00a0 is a gentle, painless touching of the baby with enough pressure that would evoke movements, sound making and eye opening. The presence of any movement such as a grimace of the face, eye-opening or movement of a limb will qualify “Movement only when stimulated but then stops”.\u00a0 An infant who cannot be woken up even after stimulation is considered to have the sign “Does not move even with stimulation. “ ", "type": "display" } @@ -700,7 +700,7 @@ "valueCode": "horizontal" } ], - "linkId": "EmCare.B18S2.DE12", + "linkId": "Ccc.B18S2.DE12", "text": "Umbilicus Red or Pus Draining", "type": "boolean", "required": true, @@ -720,7 +720,7 @@ } } ], - "linkId": "EmCare.B18S2.DE12-help", + "linkId": "Ccc.B18S2.DE12-help", "text": "“The umbilical cord usually separates one week after birth and the wound heals within 15 days. Redness of the end of the umbilicus or pus draining from the umbilicus are signs of umbilical infection.” ", "type": "display" } @@ -733,7 +733,7 @@ "valueCode": "horizontal" } ], - "linkId": "EmCare.B18S2.DE13", + "linkId": "Ccc.B18S2.DE13", "text": "Skin Pustules", "type": "boolean", "required": true, @@ -753,7 +753,7 @@ } } ], - "linkId": "EmCare.B18S2.DE13-help", + "linkId": "Ccc.B18S2.DE13-help", "text": "Examine the skin on the entire body. Skin pustules are red spots or blisters which contain pus.", "type": "display" } @@ -766,7 +766,7 @@ "valueCode": "horizontal" } ], - "linkId": "EmCare.B19S2.DE01", + "linkId": "Ccc.B19S2.DE01", "text": "Yellow Skin", "type": "boolean", "required": true, @@ -786,7 +786,7 @@ } } ], - "linkId": "EmCare.B19S2.DE01-help", + "linkId": "Ccc.B19S2.DE01-help", "text": "Jaundice is a yellow discoloration of skin and mucus membranes. It is important to look for jaundice in natural light. To look for jaundice, press the infant\u2019s skin over the forehead with your fingers to blanch, remove your fingers and look for yellow discolouration. If there is yellow discoloration, the infant has jaundice", "type": "display" } @@ -799,7 +799,7 @@ "valueCode": "horizontal" } ], - "linkId": "EmCare.B19S2.DE02", + "linkId": "Ccc.B19S2.DE02", "text": "Yellow Palms or Yellow Soles", "type": "boolean", "required": true, @@ -819,7 +819,7 @@ } } ], - "linkId": "EmCare.B19S2.DE02-help", + "linkId": "Ccc.B19S2.DE02-help", "text": "Jaundice is a yellow discoloration of skin and mucus membranes. Jaundice in the palms of hands or soles of feet is a sign of Severe Jaundice.\u00a0 It is important to look for jaundice in natural light. To assess for severe jaundice, press the infant’s skin in the palm of there hand and then in the sole of their feet with your fingers to blanch, remove your finders and look for yellow dicoulouration in the palm or the sole. If there is yellow discoloration of the palm or sole, the infant has severe jaundice.", "type": "display" } @@ -831,11 +831,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='AgeInDays').answer.first().value >1 and %resource.repeat(item).where(linkId='EmCare.B19S2.DE01').answer.first().value = true and %resource.repeat(item).where(linkId='EmCare.B19S2.DE02').answer.first().value = false and %resource.repeat(item).where(linkId='AgeInDays').answer.first().value < 21" + "expression": "%resource.repeat(item).where(linkId='AgeInDays').answer.first().value >1 and %resource.repeat(item).where(linkId='Ccc.B19S2.DE01').answer.first().value = true and %resource.repeat(item).where(linkId='Ccc.B19S2.DE02').answer.first().value = false and %resource.repeat(item).where(linkId='AgeInDays').answer.first().value < 21" } } ], - "linkId": "EmCare.B19S2.DE04", + "linkId": "Ccc.B19S2.DE04", "text": "When did the Jaundice first appear?", "type": "choice", "required": false, @@ -843,22 +843,22 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B19S2.DE05", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B19S2.DE05", "display": "Within less than 24 hours of birth" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B19S2.DE06", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B19S2.DE06", "display": "24 hours or more after birth" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B19S2.DE07", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B19S2.DE07", "display": "Unknown when Jaundice first appeared" } } @@ -878,7 +878,7 @@ } } ], - "linkId": "EmCare.B19S2.DE04-help", + "linkId": "Ccc.B19S2.DE04-help", "text": "Ask the caregiver when the baby’s skin first turned yellowish. If the caregiver didn’t notice the yellow discolouration or can’t remember when it started, select “don’t know”.
\nJaundice that appears in less than 24 hours after birth is always due to an underlying disease. These babies should be referred urgently.
\nMany normal babies, particularly small babies, may have jaundice during the first week of life. This jaundice usually appears on the third or fourth day of life and is mild and disappears before the age of two to\u00a0 three weeks. It does not need any treatment.", "type": "display" } @@ -894,11 +894,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B20S1.DE01').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B20S1.DE01').answer.first().value = true" } } ], - "linkId": "EmCare.B11S2.DE01", + "linkId": "Ccc.B11S2.DE01", "text": "Sunken Eyes", "type": "boolean", "required": true, @@ -918,7 +918,7 @@ } } ], - "linkId": "EmCare.B11S2.DE01-help", + "linkId": "Ccc.B11S2.DE01-help", "text": "The eyes of a dehydrated infant may look sunken. In a low-weight infant, the eyes may always look sunken, even if the young infant is not dehydrated. Even though the sign \u201csunken eyes\u201d is less reliable in a low-weight infant, it can still be used to classify the young infant\u2018s dehydration.

\n\n\t

Decide if you think the eyes are sunken. Then ask the mother if she thinks her child\u2019s eyes look unusual. Her opinion can help you confirm.", "type": "display" } @@ -930,11 +930,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B20S1.DE01').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B20S1.DE01').answer.first().value = true" } } ], - "linkId": "EmCare.B11S2.DE02", + "linkId": "Ccc.B11S2.DE02", "text": "Skin pinch of Abdomen", "type": "choice", "required": true, @@ -942,22 +942,22 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B20S2.DE03", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B20S2.DE03", "display": "Skin Pinch goes back very slowly (More than 2 seconds)" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B20S2.DE04", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B20S2.DE04", "display": "Skin Pinch goes back slowly (2 seconds or fewer, but not immediately)" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B20S2.DE05", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B20S2.DE05", "display": "Skin Pinch goes back Normally (immediately)" } } @@ -977,7 +977,7 @@ } } ], - "linkId": "EmCare.B11S2.DE02-help", + "linkId": "Ccc.B11S2.DE02-help", "text": "Locate the area on the infant\u2019s abdomen halfway between the umbilicus and the side of the abdomen. To do the skin pinch, use your thumb and first finger. Do not use your fingertips because this will cause pain. Place
\nyour hand so that when you pinch the skin, the fold of skin will be in a line up and down the child\u2019s body and not across the child\u2019s
\nbody. Firmly pick up all of the layers of skin and the tissue under them. Pinch the skin for
\none second and then release it. When you release the skin, look to see if the skin pinch
\ngoes back:

\n\n\t

\u2022 very slowly (longer than 2 seconds)
\n\u2022 slowly
\n\u2022 immediately
\nIf the skin stays up for even a brief time after you release it, decide that the skin pinch goes back slowly", "type": "display" } @@ -993,11 +993,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B20S1.DE01').answer.first().value = true and %resource.repeat(item).where(linkId='EmCare.B18S2.DE08').answer.first().value.code = 'EmCare.B18S2.DE11'" + "expression": "%resource.repeat(item).where(linkId='Ccc.B20S1.DE01').answer.first().value = true and %resource.repeat(item).where(linkId='Ccc.B18S2.DE08').answer.first().value.code = 'Ccc.B18S2.DE11'" } } ], - "linkId": "EmCare.B11S2.DE06", + "linkId": "Ccc.B11S2.DE06", "text": "Restless and Irritable", "type": "boolean", "required": true, @@ -1017,7 +1017,7 @@ } } ], - "linkId": "EmCare.B11S2.DE06-help", + "linkId": "Ccc.B11S2.DE06-help", "text": "Look at the young infant’s general condition Is the infant restles and irritable?
\nAn infant has teh sign “restless and irritable” if the infant is restless and irritable all the time or every time he is touched and handled. If an infant is calm when breastfeeding but again
\nrestless and irritable when he stops breastfeeding, he has the sign \u201crestless and irritable\u201d. A healthy infant will be consoled when put on the breast.", "type": "display" } @@ -1040,7 +1040,7 @@ } } ], - "linkId": "EmCare.B21S2.DE01", + "linkId": "Ccc.B21S2.DE01", "text": "Weight Status", "type": "string", "required": false, @@ -1061,7 +1061,7 @@ } } ], - "linkId": "EmCare.B21S2.DE01-help", + "linkId": "Ccc.B21S2.DE01-help", "text": "Weight status is calculated based on the young infant’s weight for age Z-score, which is determined from a standardized chart for weight -for-age for the infant’s sex.
\nA young infant is low weight for age if the z-score is below -2.
\nA young infant who is less than 7 days old and weighs less than 2 kg is considered very low weight.
\nSome young infants who are low weight for age were born with low birth weight. Some did not gain weight well after birth.", "type": "display" } @@ -1073,11 +1073,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B21S1.DE01').answer.first().value = true and ( %resource.repeat(item).where(linkId='YI_sever_but_dhey').answer.empty() or %resource.repeat(item).where(linkId='YI_sever_but_dhey').answer.first().value=false )" + "expression": "%resource.repeat(item).where(linkId='Ccc.B21S1.DE01').answer.first().value = true and ( %resource.repeat(item).where(linkId='YI_sever_but_dhey').answer.empty() or %resource.repeat(item).where(linkId='YI_sever_but_dhey').answer.first().value=false )" } } ], - "linkId": "EmCare.B21S2.DE05", + "linkId": "Ccc.B21S2.DE05", "text": "Breastfed how many times in 24 hours?", "type": "integer", "required": true, @@ -1097,7 +1097,7 @@ } } ], - "linkId": "EmCare.B21S2.DE05-help", + "linkId": "Ccc.B21S2.DE05-help", "text": "Ask the caregiver how many times in 24 hours (one day and one night) they usually breastfeed the young infant. The recommendation is that the young infant be breastfed as often and for as long as the
\ninfant wants, day and night. This should be 8 or more times in 24 hours.", "type": "display" } @@ -1113,11 +1113,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B21S2.DE05').answer.first().value>= 8" + "expression": "%resource.repeat(item).where(linkId='Ccc.B21S2.DE05').answer.first().value>= 8" } } ], - "linkId": "EmCare.B21S2.DE06", + "linkId": "Ccc.B21S2.DE06", "text": "Sufficient feeds", "type": "integer", "required": false, @@ -1133,11 +1133,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B21S1.DE01').answer.first().value = true and ( %resource.repeat(item).where(linkId='YI_sever').answer.empty() or %resource.repeat(item).where(linkId='YI_sever').answer.first().value=false )" + "expression": "%resource.repeat(item).where(linkId='Ccc.B21S1.DE01').answer.first().value = true and ( %resource.repeat(item).where(linkId='YI_sever').answer.empty() or %resource.repeat(item).where(linkId='YI_sever').answer.first().value=false )" } } ], - "linkId": "EmCare.B21S2.DE08", + "linkId": "Ccc.B21S2.DE08", "text": "Young Infant receives food or fluids other than breast milk", "type": "boolean", "required": true, @@ -1157,7 +1157,7 @@ } } ], - "linkId": "EmCare.B21S2.DE08-help", + "linkId": "Ccc.B21S2.DE08-help", "text": "Find out if the young infant is receiving any other foods or drinks such as other milk, juice, tea, thin porridge, dilute cereal, or even water. Ask how often he receives it and the amount. You need to know if the infant is mostly breastfed, or mostly fed on other foods", "type": "display" } @@ -1182,11 +1182,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B21S1.DE01').answer.first().value= false and ( %resource.repeat(item).where(linkId='YI_sever').answer.empty() or %resource.repeat(item).where(linkId='YI_sever').answer.first().value=false ) and ( %resource.repeat(item).where(linkId='YI_sever').answer.empty() or %resource.repeat(item).where(linkId='YI_sever').answer.first().value=false )" + "expression": "%resource.repeat(item).where(linkId='Ccc.B21S1.DE01').answer.first().value= false and ( %resource.repeat(item).where(linkId='YI_sever').answer.empty() or %resource.repeat(item).where(linkId='YI_sever').answer.first().value=false ) and ( %resource.repeat(item).where(linkId='YI_sever').answer.empty() or %resource.repeat(item).where(linkId='YI_sever').answer.first().value=false )" } } ], - "linkId": "EmCare.B21S2.DE09", + "linkId": "Ccc.B21S2.DE09", "text": "What milk is being given as a replacement feed?", "type": "choice", "required": true, @@ -1194,15 +1194,15 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B21S2.DE11", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B21S2.DE11", "display": "Inappropriate replacement milk" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B21S2.DE10", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B21S2.DE10", "display": "Appropriate replacement milk" } } @@ -1222,7 +1222,7 @@ } } ], - "linkId": "EmCare.B21S2.DE09-help", + "linkId": "Ccc.B21S2.DE09-help", "text": "Ask the mother questions to determine what replacement milk or milks are used. It may be a breastmilk replacement, animal milk or some other fluid or some combination. Determine if this type of replacement feed is appropriate or not appropriate in your setting.", "type": "display" } @@ -1234,11 +1234,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B21S1.DE01').answer.first().value= false" + "expression": "%resource.repeat(item).where(linkId='Ccc.B21S1.DE01').answer.first().value= false" } } ], - "linkId": "EmCare.B21S2.DE12", + "linkId": "Ccc.B21S2.DE12", "text": "How many replacement feeds during the day and night (24 hours)?", "type": "integer", "required": true, @@ -1258,7 +1258,7 @@ } } ], - "linkId": "EmCare.B21S2.DE12-help", + "linkId": "Ccc.B21S2.DE12-help", "text": "A young infant up to one month of age should be fed 8 times and a young infant between 1
\nand 2 months of age should be fed 7 times in 24 hours.", "type": "display" } @@ -1278,11 +1278,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B21S2.DE12').answer.first().value>=8" + "expression": "%resource.repeat(item).where(linkId='Ccc.B21S2.DE12').answer.first().value>=8" } } ], - "linkId": "EmCare.B21S2.DE13", + "linkId": "Ccc.B21S2.DE13", "text": "Sufficient replacement feeds (in 24 hours)", "type": "boolean", "required": true, @@ -1301,11 +1301,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B21S1.DE01').answer.first().value= false" + "expression": "%resource.repeat(item).where(linkId='Ccc.B21S1.DE01').answer.first().value= false" } } ], - "linkId": "EmCare.B21S2.DE15", + "linkId": "Ccc.B21S2.DE15", "text": "How much milk is given at each feed (ml)?", "type": "quantity", "required": true, @@ -1325,7 +1325,7 @@ } } ], - "linkId": "EmCare.B21S2.DE15-help", + "linkId": "Ccc.B21S2.DE15-help", "text": "A young infant up to one month of age should be given approximately 60 ml per feed, 8 times per day, and a young infant between 1 and 2 months of age approximately 90 ml at each feed, 7 times per day. It is helpful to have common bottles or cups available so that a mother can show you the amount that she gives.", "type": "display" } @@ -1345,11 +1345,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "iif(%resource.repeat(item).where(linkId='AgeInDays').answer.first().value < 29, %resource.repeat(item).where(linkId='EmCare.B21S2.DE15').answer.first().value>=60 'ml', %resource.repeat(item).where(linkId='EmCare.B21S2.DE15').answer.first().value>=90 'ml' )" + "expression": "iif(%resource.repeat(item).where(linkId='AgeInDays').answer.first().value < 29, %resource.repeat(item).where(linkId='Ccc.B21S2.DE15').answer.first().value>=60 'ml', %resource.repeat(item).where(linkId='Ccc.B21S2.DE15').answer.first().value>=90 'ml' )" } } ], - "linkId": "EmCare.B21S2.DE16", + "linkId": "Ccc.B21S2.DE16", "text": "Sufficient replacement feeds", "type": "boolean", "required": true, @@ -1361,11 +1361,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B21S1.DE01').answer.first().value= false" + "expression": "%resource.repeat(item).where(linkId='Ccc.B21S1.DE01').answer.first().value= false" } } ], - "linkId": "EmCare.B21S2.DE18", + "linkId": "Ccc.B21S2.DE18", "text": "How is the milk prepared?", "type": "choice", "required": true, @@ -1373,15 +1373,15 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B21S2.DE19", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B21S2.DE19", "display": "Correct and hygienic feed preparation" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B21S2.DE20", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B21S2.DE20", "display": "Incorrect or unhygienic feed preparation" } } @@ -1401,7 +1401,7 @@ } } ], - "linkId": "EmCare.B21S2.DE18-help", + "linkId": "Ccc.B21S2.DE18-help", "text": "Let mother demonstrate or explain how a feed is prepared and how she gives it to the infant. Determine if the breastmilk substitute is being prepared correctly and hygienically.", "type": "display" } @@ -1413,11 +1413,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B21S2.DE08').answer.first().value = true or %resource.repeat(item).where(linkId='EmCare.B21S1.DE01').answer.first().value = false" + "expression": "%resource.repeat(item).where(linkId='Ccc.B21S2.DE08').answer.first().value = true or %resource.repeat(item).where(linkId='Ccc.B21S1.DE01').answer.first().value = false" } } ], - "linkId": "EmCare.B21S2.DE21", + "linkId": "Ccc.B21S2.DE21", "text": "How is the milk given?", "type": "choice", "required": true, @@ -1425,15 +1425,15 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B21S2.DE22", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B21S2.DE22", "display": "Cup" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B21S2.DE23", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B21S2.DE23", "display": "Bottle" } } @@ -1445,11 +1445,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B21S2.DE08').answer.first().value = true or %resource.repeat(item).where(linkId='EmCare.B21S1.DE01').answer.first().value = false" + "expression": "%resource.repeat(item).where(linkId='Ccc.B21S2.DE08').answer.first().value = true or %resource.repeat(item).where(linkId='Ccc.B21S1.DE01').answer.first().value = false" } } ], - "linkId": "EmCare.B21S2.DE24", + "linkId": "Ccc.B21S2.DE24", "text": "How are the feeding utensils cleaned?", "type": "choice", "required": true, @@ -1457,15 +1457,15 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B21S2.DE26", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B21S2.DE26", "display": "Feeding utensils not cleaned hygienically" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B21S2.DE25", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B21S2.DE25", "display": "Feeding utensils cleaned hygienically" } } @@ -1485,7 +1485,7 @@ } } ], - "linkId": "EmCare.B21S2.DE24-help", + "linkId": "Ccc.B21S2.DE24-help", "text": "Ask the caregiver how they clear the feeding utensils. Determine if this is a safe and hygienic cleaning method.", "type": "display" } @@ -1497,11 +1497,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B21S1.DE01').answer.first().value = false and ( %resource.repeat(item).where(linkId='YI_sever').answer.empty() or %resource.repeat(item).where(linkId='YI_sever').answer.first().value=false )" + "expression": "%resource.repeat(item).where(linkId='Ccc.B21S1.DE01').answer.first().value = false and ( %resource.repeat(item).where(linkId='YI_sever').answer.empty() or %resource.repeat(item).where(linkId='YI_sever').answer.first().value=false )" } } ], - "linkId": "EmCare.B21S2.DE27", + "linkId": "Ccc.B21S2.DE27", "text": "Do you give any breastmilk at all?", "type": "choice", "required": true, @@ -1509,15 +1509,15 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B21S2.DE28", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B21S2.DE28", "display": "Breastmilk also given" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B21S2.DE29", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B21S2.DE29", "display": "No Breastmilk at all" } } @@ -1533,11 +1533,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "( %resource.repeat(item).where(linkId='YI_sever').answer.empty() or %resource.repeat(item).where(linkId='YI_sever').answer.first().value=false ) and %resource.repeat(item).where(linkId='EmCare.B21S2.DE31').answer.first().empty()" + "expression": "( %resource.repeat(item).where(linkId='YI_sever').answer.empty() or %resource.repeat(item).where(linkId='YI_sever').answer.first().value=false ) and %resource.repeat(item).where(linkId='Ccc.B21S2.DE31').answer.first().empty()" } } ], - "linkId": "EmCare.B21S2.DE30", + "linkId": "Ccc.B21S2.DE30", "text": "Ulcers or White Patches in Mouth", "type": "boolean", "required": true, @@ -1557,7 +1557,7 @@ } } ], - "linkId": "EmCare.B21S2.DE30-help", + "linkId": "Ccc.B21S2.DE30-help", "text": "Look inside the mouth at the tongue and inside of the cheek. Thrush looks like milk curds on the inside of the cheek, or a thick white coating of the tongue. Try to wipe the white off. The white patches of thrush will remain.", "type": "display" } @@ -1582,18 +1582,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "( %resource.repeat(item).where(linkId='YI_sever').answer.empty() or %resource.repeat(item).where(linkId='YI_sever').answer.first().value=false ) and %resource.repeat(item).where(linkId='EmCare.B21S2.DE30').answer.first().empty()" + "expression": "( %resource.repeat(item).where(linkId='YI_sever').answer.empty() or %resource.repeat(item).where(linkId='YI_sever').answer.first().value=false ) and %resource.repeat(item).where(linkId='Ccc.B21S2.DE30').answer.first().empty()" } } ], - "linkId": "EmCare.B21S2.DE31", + "linkId": "Ccc.B21S2.DE31", "type": "choice", "required": false, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.B21S2.DE31", + "code": "Ccc.B21S2.DE31", "display": "Unable to check if Ulcers or White Patches in Mouth" } } diff --git a/input/resources/questionnaire/questionnaire-emcare.b18-21.symptoms.2m.m.json b/input/resources/questionnaire/questionnaire-Ccc.b18-21.symptoms.2m.m.json similarity index 91% rename from input/resources/questionnaire/questionnaire-emcare.b18-21.symptoms.2m.m.json rename to input/resources/questionnaire/questionnaire-Ccc.b18-21.symptoms.2m.m.json index e02b7469..7ad38bf4 100644 --- a/input/resources/questionnaire/questionnaire-emcare.b18-21.symptoms.2m.m.json +++ b/input/resources/questionnaire/questionnaire-Ccc.b18-21.symptoms.2m.m.json @@ -1,6 +1,6 @@ { "resourceType": "Questionnaire", - "id": "emcare.b18-21.symptoms.2m.m", + "id": "Ccc.b18-21.symptoms.2m.m", "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire" @@ -25,16 +25,16 @@ }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap", - "valueCanonical": "https://smart.who.int/ccc/StructureMap/emcare.b18-21.symptoms.2m.m" + "valueCanonical": "https://smart.who.int/ccc/StructureMap/Ccc.b18-21.symptoms.2m.m" }, { "url": "http://hl7.org/fhir/StructureDefinition/cqf-library", - "valueCanonical": "https://smart.who.int/ccc/Library/emcareb1821symptoms2mm" + "valueCanonical": "https://smart.who.int/ccc/Library/Cccb1821symptoms2mm" } ], - "url": "https://smart.who.int/ccc/Questionnaire/emcare.b18-21.symptoms.2m.m", - "name": "EmCare.B18-21.Symptoms.2m.m", - "title": "EmCare.B18-21.Symptoms.2m.m", + "url": "https://smart.who.int/ccc/Questionnaire/Ccc.b18-21.symptoms.2m.m", + "name": "Ccc.B18-21.Symptoms.2m.m", + "title": "Ccc.B18-21.Symptoms.2m.m", "status": "active", "experimental": false, "subjectType": [ @@ -78,7 +78,7 @@ } } ], - "linkId": "EmCare.B7.DE03", + "linkId": "Ccc.B7.DE03", "text": "Convulsion(s) in this Illness", "type": "boolean", "required": false, @@ -98,14 +98,14 @@ } } ], - "linkId": "EmCare.B7.DE03-help", + "linkId": "Ccc.B7.DE03-help", "text": "Use words the caregiver understands. For example, the caregiver may know
\nconvulsions as \u201cfits\u201d or \u201cspasms\u201d.
\nDuring a convulsion, the young infant\u2019s arms and legs may become stiff. The infant
\nmay stop breathing and become blue. Many times there may only be rhythmic
\nmovements of a part of the body, such as rhythmic twitching of the mouth or
\nblinking of eyes. The young infant may lose consciousness", "type": "display" } ] }, { - "linkId": "EmCare.B18S1.DE02", + "linkId": "Ccc.B18S1.DE02", "text": "Difficulty with Feeding", "type": "choice", "required": true, @@ -113,22 +113,22 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B18S1.DE03", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B18S1.DE03", "display": "Not Able to Feed At All" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B18S1.DE04", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B18S1.DE04", "display": "Not Feeding Well" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B18S1.DE05", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B18S1.DE05", "display": "Feeding Well" } } @@ -148,7 +148,7 @@ } } ], - "linkId": "EmCare.B18S1.DE02-help", + "linkId": "Ccc.B18S1.DE02-help", "text": "Any difficulty mentioned by the mother is important. A newborn that has not been able to feed since birth may be premature or may have
\ncomplications such as birth asphyxia. These infants who are either not able to
\nfeed or are not feeding well should be referred urgently to hospital.

\n\n\t

The caregiver may also mention difficulties such as: her infant feeds too frequently
\n(or not frequently enough), she does not have enough milk, her nipples are sore,
\nor she has flat or inverted nipples. You will assess these difficulties later during
\nbreastfeeding assessment. These problems do not mean the infant is not feeding well or not feeding at all.", "type": "display" } @@ -161,7 +161,7 @@ "valueCode": "horizontal" } ], - "linkId": "EmCare.B11S1.DE01", + "linkId": "Ccc.B11S1.DE01", "text": "Diarrhoea", "type": "boolean", "required": true, @@ -181,7 +181,7 @@ } } ], - "linkId": "EmCare.B11S1.DE01-help", + "linkId": "Ccc.B11S1.DE01-help", "text": "A young infant has diarrhoea if the stools have changed from the usual pattern, and are many and watery. This means more water than faecal matter. The normally frequent or semi-solid stools of a breastfed baby are not diarrhoea.
\nThe mother of a breastfed young infant can recognize diarrhoea because the consistency or frequency of the stools is different than normal.", "type": "display" } @@ -194,7 +194,7 @@ "valueCode": "horizontal" } ], - "linkId": "EmCare.B21S1.DE06", + "linkId": "Ccc.B21S1.DE06", "text": "Breastfed", "type": "boolean", "required": true, @@ -214,7 +214,7 @@ } } ], - "linkId": "EmCare.B21S1.DE06-help", + "linkId": "Ccc.B21S1.DE06-help", "text": "Ask the caregiver if the infant is breastfed. This includes both exclusive breastfeeding or receiving breast milk and other foods/fluids.", "type": "display" } diff --git a/input/resources/questionnaire/questionnaire-emcare.b22.assessmentstests.json b/input/resources/questionnaire/questionnaire-Ccc.b22.assessmentstests.json similarity index 82% rename from input/resources/questionnaire/questionnaire-emcare.b22.assessmentstests.json rename to input/resources/questionnaire/questionnaire-Ccc.b22.assessmentstests.json index 308b59d5..9a1d8cac 100644 --- a/input/resources/questionnaire/questionnaire-emcare.b22.assessmentstests.json +++ b/input/resources/questionnaire/questionnaire-Ccc.b22.assessmentstests.json @@ -1,6 +1,6 @@ { "resourceType": "Questionnaire", - "id": "emcare.b22.assessmentstests", + "id": "Ccc.b22.assessmentstests", "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire" @@ -25,16 +25,16 @@ }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap", - "valueCanonical": "https://smart.who.int/ccc/StructureMap/emcare.b22.assessmentstests" + "valueCanonical": "https://smart.who.int/ccc/StructureMap/Ccc.b22.assessmentstests" }, { "url": "http://hl7.org/fhir/StructureDefinition/cqf-library", - "valueCanonical": "https://smart.who.int/ccc/Library/emcareb22assessmentstests" + "valueCanonical": "https://smart.who.int/ccc/Library/Cccb22assessmentstests" } ], - "url": "https://smart.who.int/ccc/Questionnaire/emcare.b22.assessmentstests", - "name": "EmCare.B22.AssessmentsTests", - "title": "EmCare.B22.AssessmentsTests", + "url": "https://smart.who.int/ccc/Questionnaire/Ccc.b22.assessmentstests", + "name": "Ccc.B22.AssessmentsTests", + "title": "Ccc.B22.AssessmentsTests", "status": "active", "experimental": false, "subjectType": [ @@ -250,7 +250,7 @@ "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "https://smart.who.int/ccc/Questionnaire/emcare.b22.respiratoryrate" + "valueCanonical": "https://smart.who.int/ccc/Questionnaire/Ccc.b22.respiratoryrate" }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", @@ -260,7 +260,7 @@ } } ], - "linkId": "EmCare.B22.RespiratoryRate", + "linkId": "Ccc.B22.RespiratoryRate", "type": "group", "required": false, "repeats": false, @@ -278,7 +278,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='EmCare.B22.DE02').answer.first().empty() and %resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='Ccc.B22.DE02').answer.first().empty() and %resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().empty()" } }, { @@ -289,7 +289,7 @@ } } ], - "linkId": "EmCare.B22.DE01", + "linkId": "Ccc.B22.DE01", "text": "Respiratory Rate (breaths per minute)", "type": "quantity", "required": true, @@ -309,7 +309,7 @@ } } ], - "linkId": "EmCare.B22.DE01-help", + "linkId": "Ccc.B22.DE01-help", "text": "Count the number of breaths the child takes per minute to determine if fast breathing is present.
\nIt is very important that the child is calm and still. If the child is moving or crying, you will not be able to get an accurate count of breaths.
\nTo count the breaths per minute, use a watch with a second hand or a digital watch. Look for the breathing movement anywhere on the child\u2019s chest or abdomen.
\nThe number of breaths for \u2018fast breathing\u2019 depends on the child\u2019s age.

\n\n\t\n\n\t

*In young infants, a second measurement should be taken to confirm, unless there is already another sign of possible serious bacterial infection", "type": "display" } @@ -334,18 +334,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='EmCare.B22.DE01').answer.first().empty() and %resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().empty() and %resource.repeat(item).where(linkId='force-collection').answer.first().value = false" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='Ccc.B22.DE01').answer.first().empty() and %resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().empty() and %resource.repeat(item).where(linkId='force-collection').answer.first().value = false" } } ], - "linkId": "EmCare.B22.DE02", + "linkId": "Ccc.B22.DE02", "type": "choice", "required": false, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.B22.DE02", + "code": "Ccc.B22.DE02", "display": "Unable to perform Respiratory Rate at this time" } } @@ -357,7 +357,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value < 2 and (%resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().value > 60 '{Breaths}/min' or %resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='EmCare.B22.DE01').answer.first().value >= 60 '{Breaths}/min') and %resource.repeat(item).where(linkId='Respiratory Rate Second Count Profile').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value < 2 and (%resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().value > 60 '{Breaths}/min' or %resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='Ccc.B22.DE01').answer.first().value >= 60 '{Breaths}/min') and %resource.repeat(item).where(linkId='Respiratory Rate Second Count Profile').answer.first().empty()" } } ], @@ -379,11 +379,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE05').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE05').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE04", + "linkId": "Ccc.B22.DE04", "text": "Respiratory Rate Second Count (breaths per minute)", "type": "quantity", "required": false, @@ -403,7 +403,7 @@ } } ], - "linkId": "EmCare.B22.DE04-help", + "linkId": "Ccc.B22.DE04-help", "text": "Count the number of breaths the child takes per minute to determine if fast breathing is present.
\nIt is very important that the child is calm and still. If the child is moving or crying, you will not be able to get an accurate count of breaths.
\nTo count the breaths per minute, use a watch with a second hand or a digital watch. Look for the breathing movement anywhere on the child\u2019s chest or abdomen.
\nThe number of breaths for \u2018fast breathing\u2019 depends on the child\u2019s age.

\n\n\t\n\n\t

*In young infants, a second measurement should be taken to confirm, unless there is already another sign of possible serious bacterial infection", "type": "display" } @@ -428,18 +428,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE04').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE04').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE05", + "linkId": "Ccc.B22.DE05", "type": "choice", "required": false, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.B22.DE05", + "code": "Ccc.B22.DE05", "display": "Respiratory Rate Second Count Not Possible" } } @@ -457,18 +457,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='Fast Breathing profile').answer.first().empty() and (%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2 or %resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE04').answer.first().exists() or %resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE05').answer.first().exists() or %resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='EmCare.B22.DE01').answer.first().value < 60 '{Breaths}/min')" + "expression": "%resource.repeat(item).where(linkId='Fast Breathing profile').answer.first().empty() and (%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2 or %resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE04').answer.first().exists() or %resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE05').answer.first().exists() or %resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='Ccc.B22.DE01').answer.first().value < 60 '{Breaths}/min')" } }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "iif(%resource.repeat(item).where(linkId='Fast Breathing profile').answer.first().empty() and (%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2 or %resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE04').answer.first().exists() or %resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE05').answer.first().exists() or %resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='EmCare.B22.DE01').answer.first().value < 60 '{Breaths}/min'),iif(%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value<2 and (%resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE04').answer.first().value >= 60 '{Breaths}/min' or (%resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE05').answer.first().exists() and ( %resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='EmCare.B22.DE01').answer.first().value >= 60 '{Breaths}/min' or %resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().value >= 60 '{Breaths}/min' ) ) ) or %resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='EmCare.B22.DE01').answer.first().value >= 50 '{Breaths}/min' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value < 12 and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2or %resource.repeat(item).where(linkId='EmCare.B22.RespiratoryRate').repeat(item).where(linkId='EmCare.B22.DE01').answer.first().value >= 40 '{Breaths}/min' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value>=12 and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value < 60, true, false),{})" + "expression": "iif(%resource.repeat(item).where(linkId='Fast Breathing profile').answer.first().empty() and (%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2 or %resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE04').answer.first().exists() or %resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE05').answer.first().exists() or %resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='Ccc.B22.DE01').answer.first().value < 60 '{Breaths}/min'),iif(%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value<2 and (%resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE04').answer.first().value >= 60 '{Breaths}/min' or (%resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE05').answer.first().exists() and ( %resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='Ccc.B22.DE01').answer.first().value >= 60 '{Breaths}/min' or %resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().value >= 60 '{Breaths}/min' ) ) ) or %resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='Ccc.B22.DE01').answer.first().value >= 50 '{Breaths}/min' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value < 12 and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2or %resource.repeat(item).where(linkId='Ccc.B22.RespiratoryRate').repeat(item).where(linkId='Ccc.B22.DE01').answer.first().value >= 40 '{Breaths}/min' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value>=12 and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value < 60, true, false),{})" } } ], - "linkId": "EmCare.B22.DE07", + "linkId": "Ccc.B22.DE07", "text": "Fast Breathing", "type": "boolean", "required": false, @@ -489,7 +489,7 @@ } } ], - "linkId": "EmCare.B22.DE07-help", + "linkId": "Ccc.B22.DE07-help", "text": "The number of breaths for \u2018fast breathing\u2019 depends on the child\u2019s age. * Under 2 months: More than 60 breaths per minute* * 2 to 11 months: More than 50 breaths per minute * 12 to 59 months: More than 40 breaths per minute *In young infants, a second measurement should be taken to confirm, unless there is already another sign of possible serious bacterial infection", "type": "display" } @@ -501,7 +501,7 @@ "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "https://smart.who.int/ccc/Questionnaire/emcare.b22.fluidtest" + "valueCanonical": "https://smart.who.int/ccc/Questionnaire/Ccc.b22.fluidtest" }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", @@ -511,7 +511,7 @@ } } ], - "linkId": "EmCare.B22.FluidTest", + "linkId": "Ccc.B22.FluidTest", "type": "group", "required": false, "repeats": false, @@ -522,11 +522,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.FluidTest').repeat(item).where(linkId='EmCare.B22.DE14').answer.first().empty() and ( %resource.repeat(item).where(linkId='oftrp').answer.empty() or %resource.repeat(item).where(linkId='oftrp').answer.first().value=true )" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.FluidTest').repeat(item).where(linkId='Ccc.B22.DE14').answer.first().empty() and ( %resource.repeat(item).where(linkId='oftrp').answer.empty() or %resource.repeat(item).where(linkId='oftrp').answer.first().value=true )" } } ], - "linkId": "EmCare.B22.DE08", + "linkId": "Ccc.B22.DE08", "text": "Oral Fluid Test Results", "type": "choice", "required": true, @@ -534,36 +534,36 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE09", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE09", "display": "Completely Unable to Drink" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE10", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE10", "display": "Vomits Immediately / Everything" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE11", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE11", "display": "Drinks Poorly" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE12", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE12", "display": "Drinks Eagerly / Thirstily" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE13", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE13", "display": "Drinks Normally" } } @@ -583,7 +583,7 @@ } } ], - "linkId": "EmCare.B22.DE08-help", + "linkId": "Ccc.B22.DE08-help", "text": "If a child is unconscious do not try to carry out an oral fluid test (Exact wording TBC) – Pop Up

\n\n\t

If a breastfeeding assessment and an Oral Fluid test is recommended for a child that is only breastfed then a pop up is required to ensure that the health care worker observes the signs for both and provides results for both tests.

\n\n\t

Oral Fluid Test
\nIf it is not possible to perform an oral fluid test, the health care worker should assume that the child is vomiting everything
\nFor a child under 6 months the health care worker can offer for the mother to breastfeed instead of receiving fluids

\n\n\t

Caution: Do not force fluids into an unconscious child , it can be dangerous. The fluid can cause them to choke or the fluid can go into their lungs.

\n\n\t

Pop up box to be made available with instructions on how to carry out an oral fluid test.
\nAdditional information TBC", "type": "display" } @@ -608,18 +608,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.FluidTest').repeat(item).where(linkId='EmCare.B22.DE08').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.FluidTest').repeat(item).where(linkId='Ccc.B22.DE08').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE14", + "linkId": "Ccc.B22.DE14", "type": "choice", "required": true, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.B22.DE14", + "code": "Ccc.B22.DE14", "display": "Unable to Perform Oral Fluid Test" } } @@ -639,18 +639,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B7.DE09').answer.first().value = true or %resource.repeat(item).where(linkId='EmCare.B7.DE10').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B7.DE09').answer.first().value = true or %resource.repeat(item).where(linkId='Ccc.B7.DE10').answer.first().value = true" } }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.FluidTest').repeat(item).where(linkId='EmCare.B22.DE14').answer.first().exists() and (%resource.repeat(item).where(linkId='DS').answer.first().value = true or %resource.repeat(item).where(linkId='EmCare.B22.FluidTest').repeat(item).where(linkId='EmCare.B22.DE08').answer.where(value.code='EmCare.B22.DE09').exists() or %resource.repeat(item).where(linkId='EmCare.B22.FluidTest').repeat(item).where(linkId='EmCare.B22.DE08').answer.where(value.code='EmCare.B22.DE10').exists() )" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.FluidTest').repeat(item).where(linkId='Ccc.B22.DE14').answer.first().exists() and (%resource.repeat(item).where(linkId='DS').answer.first().value = true or %resource.repeat(item).where(linkId='Ccc.B22.FluidTest').repeat(item).where(linkId='Ccc.B22.DE08').answer.where(value.code='Ccc.B22.DE09').exists() or %resource.repeat(item).where(linkId='Ccc.B22.FluidTest').repeat(item).where(linkId='Ccc.B22.DE08').answer.where(value.code='Ccc.B22.DE10').exists() )" } } ], - "linkId": "EmCare.B22.DE14a", + "linkId": "Ccc.B22.DE14a", "text": "Completely Unable to Drink or Vomits Immediately / Everything", "type": "boolean", "required": false, @@ -666,11 +666,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.FluidTest').repeat(item).where(linkId='EmCare.B22.DE14').answer.first().value = true and %resource.repeat(item).where(linkId='EmCare.B7.DE09').answer.first().value= false and %resource.repeat(item).where(linkId='EmCare.B7.DE10').answer.first().value = false" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.FluidTest').repeat(item).where(linkId='Ccc.B22.DE14').answer.first().value = true and %resource.repeat(item).where(linkId='Ccc.B7.DE09').answer.first().value= false and %resource.repeat(item).where(linkId='Ccc.B7.DE10').answer.first().value = false" } } ], - "linkId": "EmCare.B22.DE15", + "linkId": "Ccc.B22.DE15", "text": "Has the Child had anything to drink today?", "type": "boolean", "required": false, @@ -682,11 +682,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.FluidTest').repeat(item).where(linkId='EmCare.B22.DE15').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.FluidTest').repeat(item).where(linkId='Ccc.B22.DE15').answer.first().value = true" } } ], - "linkId": "EmCare.B22.DE16", + "linkId": "Ccc.B22.DE16", "text": "How did the child last drink", "type": "choice", "required": false, @@ -694,36 +694,36 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE09", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE09", "display": "Completely Unable to Drink" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE10", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE10", "display": "Vomits Immediately / Everything" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE11", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE11", "display": "Drinks Poorly" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE12", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE12", "display": "Drinks Eagerly / Thirstily" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE13", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE13", "display": "Drinks Normally" } } @@ -735,7 +735,7 @@ "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "https://smart.who.int/ccc/Questionnaire/emcare.b22.bronchodilatortest" + "valueCanonical": "https://smart.who.int/ccc/Questionnaire/Ccc.b22.bronchodilatortest" }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", @@ -745,7 +745,7 @@ } } ], - "linkId": "EmCare.B22.BronchodilatorTest", + "linkId": "Ccc.B22.BronchodilatorTest", "type": "group", "required": false, "repeats": false, @@ -756,11 +756,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.BronchodilatorTest').repeat(item).where(linkId='EmCare.B22.DE22').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.BronchodilatorTest').repeat(item).where(linkId='Ccc.B22.DE22').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE17", + "linkId": "Ccc.B22.DE17", "text": "Inhaled Bronchodilator Trial Results", "type": "choice", "required": false, @@ -768,36 +768,36 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE18", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE18", "display": "Chest Indrawing (post inhaled bronchodilator trial)" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE19", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE19", "display": "Respiratory Rate (post inhaled bronchodilator trial)" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE20", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE20", "display": "Fast Breathing (post inhaled bronchodilator trial)" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE21", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE21", "display": "No Fast Breathing and No Chest Indrawing (post Inhaled Bronchodilator Trial)" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE22", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE22", "display": "Inhaled Bronchodilator Trial Not Feasible or Available" } } @@ -817,7 +817,7 @@ } } ], - "linkId": "EmCare.B22.DE17-help", + "linkId": "Ccc.B22.DE17-help", "text": "Provide information on how to conduct an Inhaled Bronchodilator Trial as per IMCI training – TBC", "type": "display" } @@ -842,18 +842,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.BronchodilatorTest').repeat(item).where(linkId='EmCare.B22.DE17').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.BronchodilatorTest').repeat(item).where(linkId='Ccc.B22.DE17').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE22", + "linkId": "Ccc.B22.DE22", "type": "choice", "required": false, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.B22.DE22", + "code": "Ccc.B22.DE22", "display": "Inhaled Bronchodilator Trial Not Feasible or Available" } } @@ -866,7 +866,7 @@ "valueCode": "horizontal" } ], - "linkId": "EmCare.B22.DE21", + "linkId": "Ccc.B22.DE21", "text": "No Fast Breathing and No Chest Indrawing (post Inhaled Bronchodilator Trial)", "type": "boolean", "required": false, @@ -878,7 +878,7 @@ "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "https://smart.who.int/ccc/Questionnaire/emcare.b22.breastfeeding" + "valueCanonical": "https://smart.who.int/ccc/Questionnaire/Ccc.b22.breastfeeding" }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", @@ -888,13 +888,13 @@ } } ], - "linkId": "EmCare.B22.BreastFeeding", + "linkId": "Ccc.B22.BreastFeeding", "type": "group", "required": false, "repeats": false, "item": [ { - "linkId": "EmCare.B22.DE27", + "linkId": "Ccc.B22.DE27", "text": "Breastfeeding Assessment", "type": "display", "required": false, @@ -914,7 +914,7 @@ } } ], - "linkId": "EmCare.B22.DE27-help", + "linkId": "Ccc.B22.DE27-help", "text": "If a breastfeeding assessment and an Oral Fluid test is recommended for a child that is only breastfed then a pop up is required to ensure that the health care worker observes the signs for both and provides results for both tests.", "type": "display" } @@ -936,14 +936,14 @@ } } ], - "linkId": "EmCare.B22.DE41", + "linkId": "Ccc.B22.DE41", "type": "choice", "required": false, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.B22.DE41", + "code": "Ccc.B22.DE41", "display": "Breastfeeding Assessment Not Possible" } } @@ -956,7 +956,7 @@ "valueCode": "horizontal" } ], - "linkId": "EmCare.B22.DE28", + "linkId": "Ccc.B22.DE28", "text": "Breastfed in the previous hour", "type": "boolean", "required": true, @@ -972,11 +972,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.BreastFeeding').repeat(item).where(linkId='EmCare.B22.DE28').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.BreastFeeding').repeat(item).where(linkId='Ccc.B22.DE28').answer.first().value=true" } } ], - "linkId": "EmCare.B22.DE29", + "linkId": "Ccc.B22.DE29", "text": "Mother able to wait until young infant is willing to breastfeed again", "type": "boolean", "required": false, @@ -992,11 +992,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.BreastFeeding').repeat(item).where(linkId='EmCare.B22.DE41').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.BreastFeeding').repeat(item).where(linkId='Ccc.B22.DE41').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE30", + "linkId": "Ccc.B22.DE30", "text": "Mother reports difficulty breastfeeding", "type": "boolean", "required": true, @@ -1016,7 +1016,7 @@ } } ], - "linkId": "EmCare.B22.DE30-help", + "linkId": "Ccc.B22.DE30-help", "text": "Provide information on what difficulty breastfeeding may include, such as: the infant feeds too often, doesn’t feed often enough, she does not have enough milk, her nipples are sore, or she has flat or inverted nipples. After feeds, the infant may be restless, cry or try to suckle again, or continue to breastfeed for a long time.", "type": "display" } @@ -1032,11 +1032,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.BreastFeeding').repeat(item).where(linkId='EmCare.B22.DE41').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.BreastFeeding').repeat(item).where(linkId='Ccc.B22.DE41').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE31", + "linkId": "Ccc.B22.DE31", "text": "Chin Touching Breast", "type": "boolean", "required": true, @@ -1052,11 +1052,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.BreastFeeding').repeat(item).where(linkId='EmCare.B22.DE41').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.BreastFeeding').repeat(item).where(linkId='Ccc.B22.DE41').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE32", + "linkId": "Ccc.B22.DE32", "text": "Mouth Wide Open", "type": "boolean", "required": true, @@ -1072,11 +1072,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.BreastFeeding').repeat(item).where(linkId='EmCare.B22.DE41').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.BreastFeeding').repeat(item).where(linkId='Ccc.B22.DE41').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE33", + "linkId": "Ccc.B22.DE33", "text": "Lower Lip Turned Outwards", "type": "boolean", "required": true, @@ -1092,11 +1092,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.BreastFeeding').repeat(item).where(linkId='EmCare.B22.DE41').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.BreastFeeding').repeat(item).where(linkId='Ccc.B22.DE41').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE34", + "linkId": "Ccc.B22.DE34", "text": "More Areola Visible above than below the Mouth", "type": "boolean", "required": true, @@ -1112,11 +1112,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.BreastFeeding').repeat(item).where(linkId='EmCare.B22.DE41').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.BreastFeeding').repeat(item).where(linkId='Ccc.B22.DE41').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE35", + "linkId": "Ccc.B22.DE35", "text": "Slow Deep Sucks, Sometimes Pausing", "type": "boolean", "required": true, @@ -1128,18 +1128,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.BreastFeeding').repeat(item).where(linkId='EmCare.B22.DE40').answer.first().exists() and %resource.repeat(item).where(linkId='EmCare.B22.BreastFeeding').repeat(item).where(linkId='EmCare.B22.DE35').answer.first().exists() and %resource.repeat(item).where(linkId='EmCare.B22.BreastFeeding').repeat(item).where(linkId='EmCare.B22.DE31').answer.first().exists() and %resource.repeat(item).where(linkId='EmCare.B22.BreastFeeding').repeat(item).where(linkId='EmCare.B22.DE32').answer.first().exists() and %resource.repeat(item).where(linkId='EmCare.B22.BreastFeeding').repeat(item).where(linkId='EmCare.B22.DE33').answer.first().exists() and %resource.repeat(item).where(linkId='EmCare.B22.BreastFeeding').repeat(item).where(linkId='EmCare.B22.DE34').answer.first().exists()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.BreastFeeding').repeat(item).where(linkId='Ccc.B22.DE40').answer.first().exists() and %resource.repeat(item).where(linkId='Ccc.B22.BreastFeeding').repeat(item).where(linkId='Ccc.B22.DE35').answer.first().exists() and %resource.repeat(item).where(linkId='Ccc.B22.BreastFeeding').repeat(item).where(linkId='Ccc.B22.DE31').answer.first().exists() and %resource.repeat(item).where(linkId='Ccc.B22.BreastFeeding').repeat(item).where(linkId='Ccc.B22.DE32').answer.first().exists() and %resource.repeat(item).where(linkId='Ccc.B22.BreastFeeding').repeat(item).where(linkId='Ccc.B22.DE33').answer.first().exists() and %resource.repeat(item).where(linkId='Ccc.B22.BreastFeeding').repeat(item).where(linkId='Ccc.B22.DE34').answer.first().exists()" } }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "iif(%resource.repeat(item).where(linkId='EmCare.B22.BreastFeeding').repeat(item).where(linkId='EmCare.B22.DE37').answer.first().value=true,'Not well Attached to Breast',iif( %resource.repeat(item).where(linkId='EmCare.B22.BreastFeeding').repeat(item).where(linkId='EmCare.B22.DE38').answer.first().value=true , 'Good Attachment',iif( %resource.repeat(item).where(linkId='EmCare.B22.BreastFeeding').repeat(item).where(linkId='EmCare.B22.DE39').answer.first().value=true,'Not Sucking Effectively',iif( %resource.repeat(item).where(linkId='EmCare.B22.BreastFeeding').repeat(item).where(linkId='EmCare.B22.DE40').answer.first().value=true, 'Sucking Effectively',{}))))" + "expression": "iif(%resource.repeat(item).where(linkId='Ccc.B22.BreastFeeding').repeat(item).where(linkId='Ccc.B22.DE37').answer.first().value=true,'Not well Attached to Breast',iif( %resource.repeat(item).where(linkId='Ccc.B22.BreastFeeding').repeat(item).where(linkId='Ccc.B22.DE38').answer.first().value=true , 'Good Attachment',iif( %resource.repeat(item).where(linkId='Ccc.B22.BreastFeeding').repeat(item).where(linkId='Ccc.B22.DE39').answer.first().value=true,'Not Sucking Effectively',iif( %resource.repeat(item).where(linkId='Ccc.B22.BreastFeeding').repeat(item).where(linkId='Ccc.B22.DE40').answer.first().value=true, 'Sucking Effectively',{}))))" } } ], - "linkId": "EmCare.B22.DE36", + "linkId": "Ccc.B22.DE36", "text": "Breastfeeding Assessment Results", "type": "string", "required": true, @@ -1160,11 +1160,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.BreastFeeding').repeat(item).where(linkId='EmCare.B22.DE31').answer.first().value = false or %resource.repeat(item).where(linkId='EmCare.B22.BreastFeeding').repeat(item).where(linkId='EmCare.B22.DE32').answer.first().value = false or %resource.repeat(item).where(linkId='EmCare.B22.BreastFeeding').repeat(item).where(linkId='EmCare.B22.DE33').answer.first().value = false or %resource.repeat(item).where(linkId='EmCare.B22.BreastFeeding').repeat(item).where(linkId='EmCare.B22.DE34').answer.first().value = false" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.BreastFeeding').repeat(item).where(linkId='Ccc.B22.DE31').answer.first().value = false or %resource.repeat(item).where(linkId='Ccc.B22.BreastFeeding').repeat(item).where(linkId='Ccc.B22.DE32').answer.first().value = false or %resource.repeat(item).where(linkId='Ccc.B22.BreastFeeding').repeat(item).where(linkId='Ccc.B22.DE33').answer.first().value = false or %resource.repeat(item).where(linkId='Ccc.B22.BreastFeeding').repeat(item).where(linkId='Ccc.B22.DE34').answer.first().value = false" } } ], - "linkId": "EmCare.B22.DE37", + "linkId": "Ccc.B22.DE37", "text": "Not well Attached to Breast", "type": "boolean", "required": false, @@ -1184,11 +1184,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.BreastFeeding').repeat(item).where(linkId='EmCare.B22.DE31').answer.first().value = true and %resource.repeat(item).where(linkId='EmCare.B22.BreastFeeding').repeat(item).where(linkId='EmCare.B22.DE32').answer.first().value = true and %resource.repeat(item).where(linkId='EmCare.B22.BreastFeeding').repeat(item).where(linkId='EmCare.B22.DE33').answer.first().value = true and %resource.repeat(item).where(linkId='EmCare.B22.BreastFeeding').repeat(item).where(linkId='EmCare.B22.DE34').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.BreastFeeding').repeat(item).where(linkId='Ccc.B22.DE31').answer.first().value = true and %resource.repeat(item).where(linkId='Ccc.B22.BreastFeeding').repeat(item).where(linkId='Ccc.B22.DE32').answer.first().value = true and %resource.repeat(item).where(linkId='Ccc.B22.BreastFeeding').repeat(item).where(linkId='Ccc.B22.DE33').answer.first().value = true and %resource.repeat(item).where(linkId='Ccc.B22.BreastFeeding').repeat(item).where(linkId='Ccc.B22.DE34').answer.first().value = true" } } ], - "linkId": "EmCare.B22.DE38", + "linkId": "Ccc.B22.DE38", "text": "Good Attachment", "type": "boolean", "required": false, @@ -1208,11 +1208,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.BreastFeeding').repeat(item).where(linkId='EmCare.B22.DE35').answer.first().value = false" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.BreastFeeding').repeat(item).where(linkId='Ccc.B22.DE35').answer.first().value = false" } } ], - "linkId": "EmCare.B22.DE39", + "linkId": "Ccc.B22.DE39", "text": "Not Sucking Effectively", "type": "boolean", "required": false, @@ -1232,11 +1232,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.BreastFeeding').repeat(item).where(linkId='EmCare.B22.DE35').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.BreastFeeding').repeat(item).where(linkId='Ccc.B22.DE35').answer.first().value = true" } } ], - "linkId": "EmCare.B22.DE40", + "linkId": "Ccc.B22.DE40", "text": "Sucking Effectively", "type": "boolean", "required": false, @@ -1252,11 +1252,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.BreastFeeding').repeat(item).where(linkId='EmCare.B22.DE30').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.BreastFeeding').repeat(item).where(linkId='Ccc.B22.DE30').answer.first().value = true" } } ], - "linkId": "EmCare.B22.DE42", + "linkId": "Ccc.B22.DE42", "text": "Difficulty Breastfeeding Reported", "type": "boolean", "required": false, @@ -1273,11 +1273,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.BreastFeeding').repeat(item).where(linkId='EmCare.B22.DE39').answer.first().value = true or %resource.repeat(item).where(linkId='EmCare.B22.BreastFeeding').repeat(item).where(linkId='EmCare.B22.DE37').answer.first().value =true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.BreastFeeding').repeat(item).where(linkId='Ccc.B22.DE39').answer.first().value = true or %resource.repeat(item).where(linkId='Ccc.B22.BreastFeeding').repeat(item).where(linkId='Ccc.B22.DE37').answer.first().value =true" } } ], - "linkId": "EmCare.B22.DE44", + "linkId": "Ccc.B22.DE44", "text": "Difficulty Breastfeeding Observed", "type": "boolean", "required": false, @@ -1290,7 +1290,7 @@ "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "https://smart.who.int/ccc/Questionnaire/emcare.b22.hemoglobin" + "valueCanonical": "https://smart.who.int/ccc/Questionnaire/Ccc.b22.hemoglobin" }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", @@ -1300,7 +1300,7 @@ } } ], - "linkId": "EmCare.B22.Hemoglobin", + "linkId": "Ccc.B22.Hemoglobin", "type": "group", "required": false, "repeats": false, @@ -1311,11 +1311,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.Hemoglobin').repeat(item).where(linkId='EmCare.B22.DE82').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.Hemoglobin').repeat(item).where(linkId='Ccc.B22.DE82').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE81", + "linkId": "Ccc.B22.DE81", "text": "Hemoglobin (Hb) g/dL", "type": "quantity", "required": true, @@ -1340,18 +1340,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.Hemoglobin').repeat(item).where(linkId='EmCare.B22.DE81').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.Hemoglobin').repeat(item).where(linkId='Ccc.B22.DE81').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE82", + "linkId": "Ccc.B22.DE82", "type": "choice", "required": true, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.B22.DE82", + "code": "Ccc.B22.DE82", "display": "Hemoglobin Test Not Available" } } @@ -1363,7 +1363,7 @@ "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "https://smart.who.int/ccc/Questionnaire/emcare.b22.secondtemperature" + "valueCanonical": "https://smart.who.int/ccc/Questionnaire/Ccc.b22.secondtemperature" }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", @@ -1373,7 +1373,7 @@ } } ], - "linkId": "EmCare.B22.SecondTemperature", + "linkId": "Ccc.B22.SecondTemperature", "type": "group", "required": false, "repeats": false, @@ -1391,11 +1391,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.SecondTemperature').repeat(item).where(linkId='EmCare.B22.DE46').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.SecondTemperature').repeat(item).where(linkId='Ccc.B22.DE46').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE47", + "linkId": "Ccc.B22.DE47", "text": "Axillary Temperature (second measurement)", "type": "quantity", "required": false, @@ -1415,7 +1415,7 @@ } } ], - "linkId": "EmCare.B22.DE47-help", + "linkId": "Ccc.B22.DE47-help", "text": "The client’s axillary temperature in degrees Celcius (temperature taken under the armpit)
\nWarning/error if above 45 and below 32 degrees Celcius.", "type": "display" } @@ -1440,18 +1440,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.SecondTemperature').repeat(item).where(linkId='EmCare.B22.DE47').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.SecondTemperature').repeat(item).where(linkId='Ccc.B22.DE47').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE46", + "linkId": "Ccc.B22.DE46", "type": "choice", "required": false, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.B22.DE46", + "code": "Ccc.B22.DE46", "display": "Second Temperature Measurement Not Feasible" } } @@ -1463,18 +1463,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.SecondTemperature').repeat(item).where(linkId='EmCare.B22.DE47').answer.first().exists()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.SecondTemperature').repeat(item).where(linkId='Ccc.B22.DE47').answer.first().exists()" } }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "iif(%resource.repeat(item).where(linkId='EmCare.B22.SecondTemperature').repeat(item).where(linkId='EmCare.B22.DE47').answer.first().value >= 38.5 'Cel' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2, '2',iif(%resource.repeat(item).where(linkId='EmCare.B22.SecondTemperature').repeat(item).where(linkId='EmCare.B22.DE47').answer.first().value >= 38 'Cel' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value< 2 or %resource.repeat(item).where(linkId='EmCare.B22.SecondTemperature').repeat(item).where(linkId='EmCare.B22.DE47').answer.first().value >= 37.5 'Cel' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2, 'High',iif(%resource.repeat(item).where(linkId='EmCare.B22.SecondTemperature').repeat(item).where(linkId='EmCare.B22.DE47').answer.first().value < 35.5 'Cel' , 'Low',iif(%resource.repeat(item).where(linkId='EmCare.B22.SecondTemperature').repeat(item).where(linkId='EmCare.B22.DE47').answer.first().value.exists(), 'Normal',{}))))" + "expression": "iif(%resource.repeat(item).where(linkId='Ccc.B22.SecondTemperature').repeat(item).where(linkId='Ccc.B22.DE47').answer.first().value >= 38.5 'Cel' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2, '2',iif(%resource.repeat(item).where(linkId='Ccc.B22.SecondTemperature').repeat(item).where(linkId='Ccc.B22.DE47').answer.first().value >= 38 'Cel' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value< 2 or %resource.repeat(item).where(linkId='Ccc.B22.SecondTemperature').repeat(item).where(linkId='Ccc.B22.DE47').answer.first().value >= 37.5 'Cel' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2, 'High',iif(%resource.repeat(item).where(linkId='Ccc.B22.SecondTemperature').repeat(item).where(linkId='Ccc.B22.DE47').answer.first().value < 35.5 'Cel' , 'Low',iif(%resource.repeat(item).where(linkId='Ccc.B22.SecondTemperature').repeat(item).where(linkId='Ccc.B22.DE47').answer.first().value.exists(), 'Normal',{}))))" } } ], - "linkId": "EmCare.B22.DE50", + "linkId": "Ccc.B22.DE50", "text": "Measured Temperature (second measurement)", "type": "string", "required": false, @@ -1598,11 +1598,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b7.de09" + "expression": "Ccc.b7.de09" } } ], - "linkId": "EmCare.B7.DE09", + "linkId": "Ccc.B7.DE09", "text": "Not able to drink or breastfeed", "type": "boolean", "required": false, @@ -1622,11 +1622,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b7.de10" + "expression": "Ccc.b7.de10" } } ], - "linkId": "EmCare.B7.DE10", + "linkId": "Ccc.B7.DE10", "text": "Vomiting Everything", "type": "boolean", "required": false, diff --git a/input/resources/questionnaire/questionnaire-emcare.b22.breastfeeding.json b/input/resources/questionnaire/questionnaire-Ccc.b22.breastfeeding.json similarity index 83% rename from input/resources/questionnaire/questionnaire-emcare.b22.breastfeeding.json rename to input/resources/questionnaire/questionnaire-Ccc.b22.breastfeeding.json index cc30d4c3..39bb299f 100644 --- a/input/resources/questionnaire/questionnaire-emcare.b22.breastfeeding.json +++ b/input/resources/questionnaire/questionnaire-Ccc.b22.breastfeeding.json @@ -1,6 +1,6 @@ { "resourceType": "Questionnaire", - "id": "emcare.b22.breastfeeding", + "id": "Ccc.b22.breastfeeding", "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire" @@ -25,16 +25,16 @@ }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap", - "valueCanonical": "https://smart.who.int/ccc/StructureMap/emcare.b22.breastfeeding" + "valueCanonical": "https://smart.who.int/ccc/StructureMap/Ccc.b22.breastfeeding" }, { "url": "http://hl7.org/fhir/StructureDefinition/cqf-library", - "valueCanonical": "https://smart.who.int/ccc/Library/emcareb22breastfeeding" + "valueCanonical": "https://smart.who.int/ccc/Library/Cccb22breastfeeding" } ], - "url": "https://smart.who.int/ccc/Questionnaire/emcare.b22.breastfeeding", - "name": "EmCare.B22.BreastFeeding", - "title": "EmCare.B22.BreastFeeding", + "url": "https://smart.who.int/ccc/Questionnaire/Ccc.b22.breastfeeding", + "name": "Ccc.B22.BreastFeeding", + "title": "Ccc.B22.BreastFeeding", "status": "active", "experimental": false, "subjectType": [ @@ -62,7 +62,7 @@ "repeats": false }, { - "linkId": "EmCare.B22.DE27", + "linkId": "Ccc.B22.DE27", "text": "Breastfeeding Assessment", "type": "display", "required": false, @@ -82,7 +82,7 @@ } } ], - "linkId": "EmCare.B22.DE27-help", + "linkId": "Ccc.B22.DE27-help", "text": "If a breastfeeding assessment and an Oral Fluid test is recommended for a child that is only breastfed then a pop up is required to ensure that the health care worker observes the signs for both and provides results for both tests.", "type": "display" } @@ -104,14 +104,14 @@ } } ], - "linkId": "EmCare.B22.DE41", + "linkId": "Ccc.B22.DE41", "type": "choice", "required": false, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.B22.DE41", + "code": "Ccc.B22.DE41", "display": "Breastfeeding Assessment Not Possible" } } @@ -124,7 +124,7 @@ "valueCode": "horizontal" } ], - "linkId": "EmCare.B22.DE28", + "linkId": "Ccc.B22.DE28", "text": "Breastfed in the previous hour", "type": "boolean", "required": true, @@ -140,11 +140,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.DE28').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.DE28').answer.first().value=true" } } ], - "linkId": "EmCare.B22.DE29", + "linkId": "Ccc.B22.DE29", "text": "Mother able to wait until young infant is willing to breastfeed again", "type": "boolean", "required": false, @@ -160,11 +160,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.DE41').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.DE41').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE30", + "linkId": "Ccc.B22.DE30", "text": "Mother reports difficulty breastfeeding", "type": "boolean", "required": true, @@ -184,7 +184,7 @@ } } ], - "linkId": "EmCare.B22.DE30-help", + "linkId": "Ccc.B22.DE30-help", "text": "Provide information on what difficulty breastfeeding may include, such as: the infant feeds too often, doesn’t feed often enough, she does not have enough milk, her nipples are sore, or she has flat or inverted nipples. After feeds, the infant may be restless, cry or try to suckle again, or continue to breastfeed for a long time.", "type": "display" } @@ -200,11 +200,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.DE41').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.DE41').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE31", + "linkId": "Ccc.B22.DE31", "text": "Chin Touching Breast", "type": "boolean", "required": true, @@ -220,11 +220,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.DE41').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.DE41').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE32", + "linkId": "Ccc.B22.DE32", "text": "Mouth Wide Open", "type": "boolean", "required": true, @@ -240,11 +240,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.DE41').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.DE41').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE33", + "linkId": "Ccc.B22.DE33", "text": "Lower Lip Turned Outwards", "type": "boolean", "required": true, @@ -260,11 +260,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.DE41').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.DE41').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE34", + "linkId": "Ccc.B22.DE34", "text": "More Areola Visible above than below the Mouth", "type": "boolean", "required": true, @@ -280,11 +280,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.DE41').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.DE41').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE35", + "linkId": "Ccc.B22.DE35", "text": "Slow Deep Sucks, Sometimes Pausing", "type": "boolean", "required": true, @@ -296,18 +296,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.DE40').answer.first().exists() and %resource.repeat(item).where(linkId='EmCare.B22.DE35').answer.first().exists() and %resource.repeat(item).where(linkId='EmCare.B22.DE31').answer.first().exists() and %resource.repeat(item).where(linkId='EmCare.B22.DE32').answer.first().exists() and %resource.repeat(item).where(linkId='EmCare.B22.DE33').answer.first().exists() and %resource.repeat(item).where(linkId='EmCare.B22.DE34').answer.first().exists()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.DE40').answer.first().exists() and %resource.repeat(item).where(linkId='Ccc.B22.DE35').answer.first().exists() and %resource.repeat(item).where(linkId='Ccc.B22.DE31').answer.first().exists() and %resource.repeat(item).where(linkId='Ccc.B22.DE32').answer.first().exists() and %resource.repeat(item).where(linkId='Ccc.B22.DE33').answer.first().exists() and %resource.repeat(item).where(linkId='Ccc.B22.DE34').answer.first().exists()" } }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "iif(%resource.repeat(item).where(linkId='EmCare.B22.DE37').answer.first().value=true,'Not well Attached to Breast',iif( %resource.repeat(item).where(linkId='EmCare.B22.DE38').answer.first().value=true , 'Good Attachment',iif( %resource.repeat(item).where(linkId='EmCare.B22.DE39').answer.first().value=true,'Not Sucking Effectively',iif( %resource.repeat(item).where(linkId='EmCare.B22.DE40').answer.first().value=true, 'Sucking Effectively',{}))))" + "expression": "iif(%resource.repeat(item).where(linkId='Ccc.B22.DE37').answer.first().value=true,'Not well Attached to Breast',iif( %resource.repeat(item).where(linkId='Ccc.B22.DE38').answer.first().value=true , 'Good Attachment',iif( %resource.repeat(item).where(linkId='Ccc.B22.DE39').answer.first().value=true,'Not Sucking Effectively',iif( %resource.repeat(item).where(linkId='Ccc.B22.DE40').answer.first().value=true, 'Sucking Effectively',{}))))" } } ], - "linkId": "EmCare.B22.DE36", + "linkId": "Ccc.B22.DE36", "text": "Breastfeeding Assessment Results", "type": "string", "required": true, @@ -328,11 +328,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.DE31').answer.first().value = false or %resource.repeat(item).where(linkId='EmCare.B22.DE32').answer.first().value = false or %resource.repeat(item).where(linkId='EmCare.B22.DE33').answer.first().value = false or %resource.repeat(item).where(linkId='EmCare.B22.DE34').answer.first().value = false" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.DE31').answer.first().value = false or %resource.repeat(item).where(linkId='Ccc.B22.DE32').answer.first().value = false or %resource.repeat(item).where(linkId='Ccc.B22.DE33').answer.first().value = false or %resource.repeat(item).where(linkId='Ccc.B22.DE34').answer.first().value = false" } } ], - "linkId": "EmCare.B22.DE37", + "linkId": "Ccc.B22.DE37", "text": "Not well Attached to Breast", "type": "boolean", "required": false, @@ -352,11 +352,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.DE31').answer.first().value = true and %resource.repeat(item).where(linkId='EmCare.B22.DE32').answer.first().value = true and %resource.repeat(item).where(linkId='EmCare.B22.DE33').answer.first().value = true and %resource.repeat(item).where(linkId='EmCare.B22.DE34').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.DE31').answer.first().value = true and %resource.repeat(item).where(linkId='Ccc.B22.DE32').answer.first().value = true and %resource.repeat(item).where(linkId='Ccc.B22.DE33').answer.first().value = true and %resource.repeat(item).where(linkId='Ccc.B22.DE34').answer.first().value = true" } } ], - "linkId": "EmCare.B22.DE38", + "linkId": "Ccc.B22.DE38", "text": "Good Attachment", "type": "boolean", "required": false, @@ -376,11 +376,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.DE35').answer.first().value = false" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.DE35').answer.first().value = false" } } ], - "linkId": "EmCare.B22.DE39", + "linkId": "Ccc.B22.DE39", "text": "Not Sucking Effectively", "type": "boolean", "required": false, @@ -400,11 +400,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.DE35').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.DE35').answer.first().value = true" } } ], - "linkId": "EmCare.B22.DE40", + "linkId": "Ccc.B22.DE40", "text": "Sucking Effectively", "type": "boolean", "required": false, @@ -420,11 +420,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.DE30').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.DE30').answer.first().value = true" } } ], - "linkId": "EmCare.B22.DE42", + "linkId": "Ccc.B22.DE42", "text": "Difficulty Breastfeeding Reported", "type": "boolean", "required": false, @@ -441,11 +441,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.DE39').answer.first().value = true or %resource.repeat(item).where(linkId='EmCare.B22.DE37').answer.first().value =true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.DE39').answer.first().value = true or %resource.repeat(item).where(linkId='Ccc.B22.DE37').answer.first().value =true" } } ], - "linkId": "EmCare.B22.DE44", + "linkId": "Ccc.B22.DE44", "text": "Difficulty Breastfeeding Observed", "type": "boolean", "required": false, diff --git a/input/resources/questionnaire/questionnaire-emcare.b22.bronchodilatortest.json b/input/resources/questionnaire/questionnaire-Ccc.b22.bronchodilatortest.json similarity index 86% rename from input/resources/questionnaire/questionnaire-emcare.b22.bronchodilatortest.json rename to input/resources/questionnaire/questionnaire-Ccc.b22.bronchodilatortest.json index 1971fb34..5fcb39e7 100644 --- a/input/resources/questionnaire/questionnaire-emcare.b22.bronchodilatortest.json +++ b/input/resources/questionnaire/questionnaire-Ccc.b22.bronchodilatortest.json @@ -1,6 +1,6 @@ { "resourceType": "Questionnaire", - "id": "emcare.b22.bronchodilatortest", + "id": "Ccc.b22.bronchodilatortest", "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire" @@ -25,12 +25,12 @@ }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap", - "valueCanonical": "https://smart.who.int/ccc/StructureMap/emcare.b22.bronchodilatortest" + "valueCanonical": "https://smart.who.int/ccc/StructureMap/Ccc.b22.bronchodilatortest" } ], - "url": "https://smart.who.int/ccc/Questionnaire/emcare.b22.bronchodilatortest", - "name": "EmCare.B22.BronchodilatorTest", - "title": "EmCare.B22.BronchodilatorTest", + "url": "https://smart.who.int/ccc/Questionnaire/Ccc.b22.bronchodilatortest", + "name": "Ccc.B22.BronchodilatorTest", + "title": "Ccc.B22.BronchodilatorTest", "status": "active", "experimental": false, "subjectType": [ @@ -43,11 +43,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.DE22').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.DE22').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE17", + "linkId": "Ccc.B22.DE17", "text": "Inhaled Bronchodilator Trial Results", "type": "choice", "required": false, @@ -55,36 +55,36 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE18", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE18", "display": "Chest Indrawing (post inhaled bronchodilator trial)" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE19", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE19", "display": "Respiratory Rate (post inhaled bronchodilator trial)" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE20", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE20", "display": "Fast Breathing (post inhaled bronchodilator trial)" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE21", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE21", "display": "No Fast Breathing and No Chest Indrawing (post Inhaled Bronchodilator Trial)" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE22", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE22", "display": "Inhaled Bronchodilator Trial Not Feasible or Available" } } @@ -104,7 +104,7 @@ } } ], - "linkId": "EmCare.B22.DE17-help", + "linkId": "Ccc.B22.DE17-help", "text": "Provide information on how to conduct an Inhaled Bronchodilator Trial as per IMCI training – TBC", "type": "display" } @@ -129,18 +129,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.DE17').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.DE17').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE22", + "linkId": "Ccc.B22.DE22", "type": "choice", "required": false, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.B22.DE22", + "code": "Ccc.B22.DE22", "display": "Inhaled Bronchodilator Trial Not Feasible or Available" } } @@ -153,7 +153,7 @@ "valueCode": "horizontal" } ], - "linkId": "EmCare.B22.DE21", + "linkId": "Ccc.B22.DE21", "text": "No Fast Breathing and No Chest Indrawing (post Inhaled Bronchodilator Trial)", "type": "boolean", "required": false, diff --git a/input/resources/questionnaire/questionnaire-emcare.b22.fluidtest.json b/input/resources/questionnaire/questionnaire-Ccc.b22.fluidtest.json similarity index 83% rename from input/resources/questionnaire/questionnaire-emcare.b22.fluidtest.json rename to input/resources/questionnaire/questionnaire-Ccc.b22.fluidtest.json index 151ff8ae..5c6cf2ce 100644 --- a/input/resources/questionnaire/questionnaire-emcare.b22.fluidtest.json +++ b/input/resources/questionnaire/questionnaire-Ccc.b22.fluidtest.json @@ -1,6 +1,6 @@ { "resourceType": "Questionnaire", - "id": "emcare.b22.fluidtest", + "id": "Ccc.b22.fluidtest", "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire" @@ -25,16 +25,16 @@ }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap", - "valueCanonical": "https://smart.who.int/ccc/StructureMap/emcare.b22.fluidtest" + "valueCanonical": "https://smart.who.int/ccc/StructureMap/Ccc.b22.fluidtest" }, { "url": "http://hl7.org/fhir/StructureDefinition/cqf-library", - "valueCanonical": "https://smart.who.int/ccc/Library/emcareb22fluidtest" + "valueCanonical": "https://smart.who.int/ccc/Library/Cccb22fluidtest" } ], - "url": "https://smart.who.int/ccc/Questionnaire/emcare.b22.fluidtest", - "name": "EmCare.B22.FluidTest", - "title": "EmCare.B22.FluidTest", + "url": "https://smart.who.int/ccc/Questionnaire/Ccc.b22.fluidtest", + "name": "Ccc.B22.FluidTest", + "title": "Ccc.B22.FluidTest", "status": "active", "experimental": false, "subjectType": [ @@ -79,11 +79,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b7.de09" + "expression": "Ccc.b7.de09" } } ], - "linkId": "EmCare.B7.DE09", + "linkId": "Ccc.B7.DE09", "text": "Not able to drink or breastfeed", "type": "boolean", "required": false, @@ -103,11 +103,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b7.de10" + "expression": "Ccc.b7.de10" } } ], - "linkId": "EmCare.B7.DE10", + "linkId": "Ccc.B7.DE10", "text": "Vomiting Everything", "type": "boolean", "required": false, @@ -119,11 +119,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.DE14').answer.first().empty() and ( %resource.repeat(item).where(linkId='oftrp').answer.empty() or %resource.repeat(item).where(linkId='oftrp').answer.first().value=true )" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.DE14').answer.first().empty() and ( %resource.repeat(item).where(linkId='oftrp').answer.empty() or %resource.repeat(item).where(linkId='oftrp').answer.first().value=true )" } } ], - "linkId": "EmCare.B22.DE08", + "linkId": "Ccc.B22.DE08", "text": "Oral Fluid Test Results", "type": "choice", "required": true, @@ -131,36 +131,36 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE09", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE09", "display": "Completely Unable to Drink" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE10", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE10", "display": "Vomits Immediately / Everything" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE11", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE11", "display": "Drinks Poorly" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE12", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE12", "display": "Drinks Eagerly / Thirstily" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE13", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE13", "display": "Drinks Normally" } } @@ -180,7 +180,7 @@ } } ], - "linkId": "EmCare.B22.DE08-help", + "linkId": "Ccc.B22.DE08-help", "text": "If a child is unconscious do not try to carry out an oral fluid test (Exact wording TBC) – Pop Up

\n\n\t

If a breastfeeding assessment and an Oral Fluid test is recommended for a child that is only breastfed then a pop up is required to ensure that the health care worker observes the signs for both and provides results for both tests.

\n\n\t

Oral Fluid Test
\nIf it is not possible to perform an oral fluid test, the health care worker should assume that the child is vomiting everything
\nFor a child under 6 months the health care worker can offer for the mother to breastfeed instead of receiving fluids

\n\n\t

Caution: Do not force fluids into an unconscious child , it can be dangerous. The fluid can cause them to choke or the fluid can go into their lungs.

\n\n\t

Pop up box to be made available with instructions on how to carry out an oral fluid test.
\nAdditional information TBC", "type": "display" } @@ -205,18 +205,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.DE08').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.DE08').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE14", + "linkId": "Ccc.B22.DE14", "type": "choice", "required": true, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.B22.DE14", + "code": "Ccc.B22.DE14", "display": "Unable to Perform Oral Fluid Test" } } @@ -236,18 +236,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B7.DE09').answer.first().value = true or %resource.repeat(item).where(linkId='EmCare.B7.DE10').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B7.DE09').answer.first().value = true or %resource.repeat(item).where(linkId='Ccc.B7.DE10').answer.first().value = true" } }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.DE14').answer.first().exists() and (%resource.repeat(item).where(linkId='DS').answer.first().value = true or %resource.repeat(item).where(linkId='EmCare.B22.DE08').answer.where(value.code='EmCare.B22.DE09').exists() or %resource.repeat(item).where(linkId='EmCare.B22.DE08').answer.where(value.code='EmCare.B22.DE10').exists() )" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.DE14').answer.first().exists() and (%resource.repeat(item).where(linkId='DS').answer.first().value = true or %resource.repeat(item).where(linkId='Ccc.B22.DE08').answer.where(value.code='Ccc.B22.DE09').exists() or %resource.repeat(item).where(linkId='Ccc.B22.DE08').answer.where(value.code='Ccc.B22.DE10').exists() )" } } ], - "linkId": "EmCare.B22.DE14a", + "linkId": "Ccc.B22.DE14a", "text": "Completely Unable to Drink or Vomits Immediately / Everything", "type": "boolean", "required": false, @@ -263,11 +263,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.DE14').answer.first().value = true and %resource.repeat(item).where(linkId='EmCare.B7.DE09').answer.first().value= false and %resource.repeat(item).where(linkId='EmCare.B7.DE10').answer.first().value = false" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.DE14').answer.first().value = true and %resource.repeat(item).where(linkId='Ccc.B7.DE09').answer.first().value= false and %resource.repeat(item).where(linkId='Ccc.B7.DE10').answer.first().value = false" } } ], - "linkId": "EmCare.B22.DE15", + "linkId": "Ccc.B22.DE15", "text": "Has the Child had anything to drink today?", "type": "boolean", "required": false, @@ -279,11 +279,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.DE15').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.DE15').answer.first().value = true" } } ], - "linkId": "EmCare.B22.DE16", + "linkId": "Ccc.B22.DE16", "text": "How did the child last drink", "type": "choice", "required": false, @@ -291,36 +291,36 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE09", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE09", "display": "Completely Unable to Drink" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE10", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE10", "display": "Vomits Immediately / Everything" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE11", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE11", "display": "Drinks Poorly" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE12", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE12", "display": "Drinks Eagerly / Thirstily" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE13", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE13", "display": "Drinks Normally" } } diff --git a/input/resources/questionnaire/questionnaire-emcare.b22.hemoglobin.json b/input/resources/questionnaire/questionnaire-Ccc.b22.hemoglobin.json similarity index 88% rename from input/resources/questionnaire/questionnaire-emcare.b22.hemoglobin.json rename to input/resources/questionnaire/questionnaire-Ccc.b22.hemoglobin.json index 05407de3..de8c9351 100644 --- a/input/resources/questionnaire/questionnaire-emcare.b22.hemoglobin.json +++ b/input/resources/questionnaire/questionnaire-Ccc.b22.hemoglobin.json @@ -1,6 +1,6 @@ { "resourceType": "Questionnaire", - "id": "emcare.b22.hemoglobin", + "id": "Ccc.b22.hemoglobin", "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire" @@ -25,12 +25,12 @@ }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap", - "valueCanonical": "https://smart.who.int/ccc/StructureMap/emcare.b22.hemoglobin" + "valueCanonical": "https://smart.who.int/ccc/StructureMap/Ccc.b22.hemoglobin" } ], - "url": "https://smart.who.int/ccc/Questionnaire/emcare.b22.hemoglobin", - "name": "EmCare.B22.Hemoglobin", - "title": "EmCare.B22.Hemoglobin", + "url": "https://smart.who.int/ccc/Questionnaire/Ccc.b22.hemoglobin", + "name": "Ccc.B22.Hemoglobin", + "title": "Ccc.B22.Hemoglobin", "status": "active", "experimental": false, "subjectType": [ @@ -43,11 +43,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.DE82').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.DE82').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE81", + "linkId": "Ccc.B22.DE81", "text": "Hemoglobin (Hb) g/dL", "type": "quantity", "required": true, @@ -72,18 +72,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.DE81').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.DE81').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE82", + "linkId": "Ccc.B22.DE82", "type": "choice", "required": true, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.B22.DE82", + "code": "Ccc.B22.DE82", "display": "Hemoglobin Test Not Available" } } diff --git a/input/resources/questionnaire/questionnaire-emcare.b22.respiratoryrate.json b/input/resources/questionnaire/questionnaire-Ccc.b22.respiratoryrate.json similarity index 84% rename from input/resources/questionnaire/questionnaire-emcare.b22.respiratoryrate.json rename to input/resources/questionnaire/questionnaire-Ccc.b22.respiratoryrate.json index 0d90b910..9879f402 100644 --- a/input/resources/questionnaire/questionnaire-emcare.b22.respiratoryrate.json +++ b/input/resources/questionnaire/questionnaire-Ccc.b22.respiratoryrate.json @@ -1,6 +1,6 @@ { "resourceType": "Questionnaire", - "id": "emcare.b22.respiratoryrate", + "id": "Ccc.b22.respiratoryrate", "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire" @@ -25,16 +25,16 @@ }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap", - "valueCanonical": "https://smart.who.int/ccc/StructureMap/emcare.b22.respiratoryrate" + "valueCanonical": "https://smart.who.int/ccc/StructureMap/Ccc.b22.respiratoryrate" }, { "url": "http://hl7.org/fhir/StructureDefinition/cqf-library", - "valueCanonical": "https://smart.who.int/ccc/Library/emcareb22respiratoryrate" + "valueCanonical": "https://smart.who.int/ccc/Library/Cccb22respiratoryrate" } ], - "url": "https://smart.who.int/ccc/Questionnaire/emcare.b22.respiratoryrate", - "name": "EmCare.B22.RespiratoryRate", - "title": "EmCare.B22.RespiratoryRate", + "url": "https://smart.who.int/ccc/Questionnaire/Ccc.b22.respiratoryrate", + "name": "Ccc.B22.RespiratoryRate", + "title": "Ccc.B22.RespiratoryRate", "status": "active", "experimental": false, "subjectType": [ @@ -158,7 +158,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.DE02').answer.first().empty() and %resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.DE02').answer.first().empty() and %resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().empty()" } }, { @@ -169,7 +169,7 @@ } } ], - "linkId": "EmCare.B22.DE01", + "linkId": "Ccc.B22.DE01", "text": "Respiratory Rate (breaths per minute)", "type": "quantity", "required": true, @@ -189,7 +189,7 @@ } } ], - "linkId": "EmCare.B22.DE01-help", + "linkId": "Ccc.B22.DE01-help", "text": "Count the number of breaths the child takes per minute to determine if fast breathing is present.
\nIt is very important that the child is calm and still. If the child is moving or crying, you will not be able to get an accurate count of breaths.
\nTo count the breaths per minute, use a watch with a second hand or a digital watch. Look for the breathing movement anywhere on the child\u2019s chest or abdomen.
\nThe number of breaths for \u2018fast breathing\u2019 depends on the child\u2019s age.

\n\n\t\n\n\t

*In young infants, a second measurement should be taken to confirm, unless there is already another sign of possible serious bacterial infection", "type": "display" } @@ -214,18 +214,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.DE01').answer.first().empty() and %resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().empty() and %resource.repeat(item).where(linkId='force-collection').answer.first().value = false" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.DE01').answer.first().empty() and %resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().empty() and %resource.repeat(item).where(linkId='force-collection').answer.first().value = false" } } ], - "linkId": "EmCare.B22.DE02", + "linkId": "Ccc.B22.DE02", "type": "choice", "required": false, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.B22.DE02", + "code": "Ccc.B22.DE02", "display": "Unable to perform Respiratory Rate at this time" } } @@ -237,7 +237,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value < 2 and (%resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().value > 60 '{Breaths}/min' or %resource.repeat(item).where(linkId='EmCare.B22.DE01').answer.first().value >= 60 '{Breaths}/min') and %resource.repeat(item).where(linkId='Respiratory Rate Second Count Profile').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value < 2 and (%resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().value > 60 '{Breaths}/min' or %resource.repeat(item).where(linkId='Ccc.B22.DE01').answer.first().value >= 60 '{Breaths}/min') and %resource.repeat(item).where(linkId='Respiratory Rate Second Count Profile').answer.first().empty()" } } ], @@ -259,11 +259,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE05').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE05').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE04", + "linkId": "Ccc.B22.DE04", "text": "Respiratory Rate Second Count (breaths per minute)", "type": "quantity", "required": false, @@ -283,7 +283,7 @@ } } ], - "linkId": "EmCare.B22.DE04-help", + "linkId": "Ccc.B22.DE04-help", "text": "Count the number of breaths the child takes per minute to determine if fast breathing is present.
\nIt is very important that the child is calm and still. If the child is moving or crying, you will not be able to get an accurate count of breaths.
\nTo count the breaths per minute, use a watch with a second hand or a digital watch. Look for the breathing movement anywhere on the child\u2019s chest or abdomen.
\nThe number of breaths for \u2018fast breathing\u2019 depends on the child\u2019s age.

\n\n\t\n\n\t

*In young infants, a second measurement should be taken to confirm, unless there is already another sign of possible serious bacterial infection", "type": "display" } @@ -308,18 +308,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE04').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE04').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE05", + "linkId": "Ccc.B22.DE05", "type": "choice", "required": false, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.B22.DE05", + "code": "Ccc.B22.DE05", "display": "Respiratory Rate Second Count Not Possible" } } @@ -337,18 +337,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='Fast Breathing profile').answer.first().empty() and (%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2 or %resource.repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE04').answer.first().exists() or %resource.repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE05').answer.first().exists() or %resource.repeat(item).where(linkId='EmCare.B22.DE01').answer.first().value < 60 '{Breaths}/min')" + "expression": "%resource.repeat(item).where(linkId='Fast Breathing profile').answer.first().empty() and (%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2 or %resource.repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE04').answer.first().exists() or %resource.repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE05').answer.first().exists() or %resource.repeat(item).where(linkId='Ccc.B22.DE01').answer.first().value < 60 '{Breaths}/min')" } }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "iif(%resource.repeat(item).where(linkId='Fast Breathing profile').answer.first().empty() and (%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2 or %resource.repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE04').answer.first().exists() or %resource.repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE05').answer.first().exists() or %resource.repeat(item).where(linkId='EmCare.B22.DE01').answer.first().value < 60 '{Breaths}/min'),iif(%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value<2 and (%resource.repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE04').answer.first().value >= 60 '{Breaths}/min' or (%resource.repeat(item).where(linkId='second').repeat(item).where(linkId='EmCare.B22.DE05').answer.first().exists() and ( %resource.repeat(item).where(linkId='EmCare.B22.DE01').answer.first().value >= 60 '{Breaths}/min' or %resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().value >= 60 '{Breaths}/min' ) ) ) or %resource.repeat(item).where(linkId='EmCare.B22.DE01').answer.first().value >= 50 '{Breaths}/min' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value < 12 and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2or %resource.repeat(item).where(linkId='EmCare.B22.DE01').answer.first().value >= 40 '{Breaths}/min' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value>=12 and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value < 60, true, false),{})" + "expression": "iif(%resource.repeat(item).where(linkId='Fast Breathing profile').answer.first().empty() and (%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2 or %resource.repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE04').answer.first().exists() or %resource.repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE05').answer.first().exists() or %resource.repeat(item).where(linkId='Ccc.B22.DE01').answer.first().value < 60 '{Breaths}/min'),iif(%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value<2 and (%resource.repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE04').answer.first().value >= 60 '{Breaths}/min' or (%resource.repeat(item).where(linkId='second').repeat(item).where(linkId='Ccc.B22.DE05').answer.first().exists() and ( %resource.repeat(item).where(linkId='Ccc.B22.DE01').answer.first().value >= 60 '{Breaths}/min' or %resource.repeat(item).where(linkId='Respiratory Rate profile').answer.first().value >= 60 '{Breaths}/min' ) ) ) or %resource.repeat(item).where(linkId='Ccc.B22.DE01').answer.first().value >= 50 '{Breaths}/min' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value < 12 and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2or %resource.repeat(item).where(linkId='Ccc.B22.DE01').answer.first().value >= 40 '{Breaths}/min' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value>=12 and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value < 60, true, false),{})" } } ], - "linkId": "EmCare.B22.DE07", + "linkId": "Ccc.B22.DE07", "text": "Fast Breathing", "type": "boolean", "required": false, @@ -369,7 +369,7 @@ } } ], - "linkId": "EmCare.B22.DE07-help", + "linkId": "Ccc.B22.DE07-help", "text": "The number of breaths for \u2018fast breathing\u2019 depends on the child\u2019s age. * Under 2 months: More than 60 breaths per minute* * 2 to 11 months: More than 50 breaths per minute * 12 to 59 months: More than 40 breaths per minute *In young infants, a second measurement should be taken to confirm, unless there is already another sign of possible serious bacterial infection", "type": "display" } diff --git a/input/resources/questionnaire/questionnaire-emcare.b22.secondtemperature.json b/input/resources/questionnaire/questionnaire-Ccc.b22.secondtemperature.json similarity index 82% rename from input/resources/questionnaire/questionnaire-emcare.b22.secondtemperature.json rename to input/resources/questionnaire/questionnaire-Ccc.b22.secondtemperature.json index 431df11e..1dbf2163 100644 --- a/input/resources/questionnaire/questionnaire-emcare.b22.secondtemperature.json +++ b/input/resources/questionnaire/questionnaire-Ccc.b22.secondtemperature.json @@ -1,6 +1,6 @@ { "resourceType": "Questionnaire", - "id": "emcare.b22.secondtemperature", + "id": "Ccc.b22.secondtemperature", "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire" @@ -25,16 +25,16 @@ }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap", - "valueCanonical": "https://smart.who.int/ccc/StructureMap/emcare.b22.secondtemperature" + "valueCanonical": "https://smart.who.int/ccc/StructureMap/Ccc.b22.secondtemperature" }, { "url": "http://hl7.org/fhir/StructureDefinition/cqf-library", - "valueCanonical": "https://smart.who.int/ccc/Library/emcareb22secondtemperature" + "valueCanonical": "https://smart.who.int/ccc/Library/Cccb22secondtemperature" } ], - "url": "https://smart.who.int/ccc/Questionnaire/emcare.b22.secondtemperature", - "name": "EmCare.B22.SecondTemperature", - "title": "EmCare.B22.SecondTemperature", + "url": "https://smart.who.int/ccc/Questionnaire/Ccc.b22.secondtemperature", + "name": "Ccc.B22.SecondTemperature", + "title": "Ccc.B22.SecondTemperature", "status": "active", "experimental": false, "subjectType": [ @@ -74,11 +74,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.DE46').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.DE46').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE47", + "linkId": "Ccc.B22.DE47", "text": "Axillary Temperature (second measurement)", "type": "quantity", "required": false, @@ -98,7 +98,7 @@ } } ], - "linkId": "EmCare.B22.DE47-help", + "linkId": "Ccc.B22.DE47-help", "text": "The client’s axillary temperature in degrees Celcius (temperature taken under the armpit)
\nWarning/error if above 45 and below 32 degrees Celcius.", "type": "display" } @@ -123,18 +123,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.DE47').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.DE47').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE46", + "linkId": "Ccc.B22.DE46", "type": "choice", "required": false, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.B22.DE46", + "code": "Ccc.B22.DE46", "display": "Second Temperature Measurement Not Feasible" } } @@ -146,18 +146,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B22.DE47').answer.first().exists()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B22.DE47').answer.first().exists()" } }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "iif(%resource.repeat(item).where(linkId='EmCare.B22.DE47').answer.first().value >= 38.5 'Cel' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2, '2',iif(%resource.repeat(item).where(linkId='EmCare.B22.DE47').answer.first().value >= 38 'Cel' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value< 2 or %resource.repeat(item).where(linkId='EmCare.B22.DE47').answer.first().value >= 37.5 'Cel' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2, 'High',iif(%resource.repeat(item).where(linkId='EmCare.B22.DE47').answer.first().value < 35.5 'Cel' , 'Low',iif(%resource.repeat(item).where(linkId='EmCare.B22.DE47').answer.first().value.exists(), 'Normal',{}))))" + "expression": "iif(%resource.repeat(item).where(linkId='Ccc.B22.DE47').answer.first().value >= 38.5 'Cel' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2, '2',iif(%resource.repeat(item).where(linkId='Ccc.B22.DE47').answer.first().value >= 38 'Cel' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value< 2 or %resource.repeat(item).where(linkId='Ccc.B22.DE47').answer.first().value >= 37.5 'Cel' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2, 'High',iif(%resource.repeat(item).where(linkId='Ccc.B22.DE47').answer.first().value < 35.5 'Cel' , 'Low',iif(%resource.repeat(item).where(linkId='Ccc.B22.DE47').answer.first().value.exists(), 'Normal',{}))))" } } ], - "linkId": "EmCare.B22.DE50", + "linkId": "Ccc.B22.DE50", "text": "Measured Temperature (second measurement)", "type": "string", "required": false, diff --git a/input/resources/questionnaire/questionnaire-emcare.b23.classification.json b/input/resources/questionnaire/questionnaire-Ccc.b23.classification.json similarity index 92% rename from input/resources/questionnaire/questionnaire-emcare.b23.classification.json rename to input/resources/questionnaire/questionnaire-Ccc.b23.classification.json index d3c12818..4ff808ed 100644 --- a/input/resources/questionnaire/questionnaire-emcare.b23.classification.json +++ b/input/resources/questionnaire/questionnaire-Ccc.b23.classification.json @@ -1,6 +1,6 @@ { "resourceType": "Questionnaire", - "id": "emcare.b23.classification", + "id": "Ccc.b23.classification", "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire" @@ -25,16 +25,16 @@ }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap", - "valueCanonical": "https://smart.who.int/ccc/StructureMap/emcare.b23.classification" + "valueCanonical": "https://smart.who.int/ccc/StructureMap/Ccc.b23.classification" }, { "url": "http://hl7.org/fhir/StructureDefinition/cqf-library", - "valueCanonical": "https://smart.who.int/ccc/Library/emcareb23classification" + "valueCanonical": "https://smart.who.int/ccc/Library/Cccb23classification" } ], - "url": "https://smart.who.int/ccc/Questionnaire/emcare.b23.classification", - "name": "EmCare.B23.Classification", - "title": "EmCare.B23.Classification", + "url": "https://smart.who.int/ccc/Questionnaire/Ccc.b23.classification", + "name": "Ccc.B23.Classification", + "title": "Ccc.B23.Classification", "status": "active", "experimental": false, "subjectType": [ @@ -84,11 +84,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b6.de06" + "expression": "Ccc.b6.de06" } } ], - "linkId": "EmCare.B6.DE06", + "linkId": "Ccc.B6.DE06", "text": "Weight", "type": "quantity", "required": false, @@ -115,11 +115,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b6.de08-old" + "expression": "Ccc.b6.de08-old" } } ], - "linkId": "EmCare.B6.DE08-old", + "linkId": "Ccc.B6.DE08-old", "text": "Profile Weight", "type": "quantity", "required": false, @@ -146,11 +146,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b6.de08" + "expression": "Ccc.b6.de08" } } ], - "linkId": "EmCare.B6.DE08", + "linkId": "Ccc.B6.DE08", "text": "Estimated Weight", "type": "quantity", "required": false, @@ -167,7 +167,7 @@ } } ], - "linkId": "EmCare.B23.DE01", + "linkId": "Ccc.B23.DE01", "text": "Very Severe Disease", "type": "choice", "required": false, @@ -175,14 +175,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -227,11 +227,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b23.de04" + "expression": "Ccc.b23.de04" } } ], - "linkId": "EmCare.B23.DE04", + "linkId": "Ccc.B23.DE04", "type": "boolean", "required": false, "repeats": false @@ -250,11 +250,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b23.de05" + "expression": "Ccc.b23.de05" } } ], - "linkId": "EmCare.B23.DE05", + "linkId": "Ccc.B23.DE05", "type": "boolean", "required": false, "repeats": false @@ -273,11 +273,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b23.de08" + "expression": "Ccc.b23.de08" } } ], - "linkId": "EmCare.B23.DE08", + "linkId": "Ccc.B23.DE08", "type": "boolean", "required": false, "repeats": false @@ -319,7 +319,7 @@ } } ], - "linkId": "EmCare.B23.DE03", + "linkId": "Ccc.B23.DE03", "text": "Severe Pneumonia or Very Severe Disease", "type": "choice", "required": false, @@ -327,14 +327,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -358,11 +358,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B23.DE04').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B23.DE04').answer.first().value=true" } } ], - "linkId": "EmCare.B23.DE04_l", + "linkId": "Ccc.B23.DE04_l", "text": "with low oxygen saturation (SPO2 < 90%)", "type": "display", "required": false, @@ -385,11 +385,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B23.DE05').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B23.DE05').answer.first().value=true" } } ], - "linkId": "EmCare.B23.DE05_l", + "linkId": "Ccc.B23.DE05_l", "text": "with wheezing", "type": "display", "required": false, @@ -431,7 +431,7 @@ } } ], - "linkId": "EmCare.B23.DE06", + "linkId": "Ccc.B23.DE06", "text": "Pneumonia", "type": "choice", "required": false, @@ -439,14 +439,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -470,11 +470,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B23.DE05').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B23.DE05').answer.first().value=true" } } ], - "linkId": "EmCare.B23.DE05_l", + "linkId": "Ccc.B23.DE05_l", "text": "with wheezing", "type": "display", "required": false, @@ -497,11 +497,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B23.DE08').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B23.DE08').answer.first().value=true" } } ], - "linkId": "EmCare.B23.DE08_l", + "linkId": "Ccc.B23.DE08_l", "text": "with cough or difficulty breathing for 14 days or more or recurrent wheeze", "type": "display", "required": false, @@ -543,7 +543,7 @@ } } ], - "linkId": "EmCare.B23.DE10", + "linkId": "Ccc.B23.DE10", "text": "Cough or Cold", "type": "choice", "required": false, @@ -551,14 +551,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -582,11 +582,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B23.DE05').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B23.DE05').answer.first().value=true" } } ], - "linkId": "EmCare.B23.DE05_l", + "linkId": "Ccc.B23.DE05_l", "text": "with wheezing", "type": "display", "required": false, @@ -609,11 +609,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B23.DE08').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B23.DE08').answer.first().value=true" } } ], - "linkId": "EmCare.B23.DE08_l", + "linkId": "Ccc.B23.DE08_l", "text": "with cough or difficulty breathing for 14 days or more or recurrent wheeze", "type": "display", "required": false, @@ -655,7 +655,7 @@ } } ], - "linkId": "EmCare.B23.DE13", + "linkId": "Ccc.B23.DE13", "text": "Severe Dehydration", "type": "choice", "required": false, @@ -663,14 +663,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -711,7 +711,7 @@ } } ], - "linkId": "EmCare.B23.DE14", + "linkId": "Ccc.B23.DE14", "text": "Some Dehydration", "type": "choice", "required": false, @@ -719,14 +719,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -767,7 +767,7 @@ } } ], - "linkId": "EmCare.B23.DE15", + "linkId": "Ccc.B23.DE15", "text": "No Dehydration", "type": "choice", "required": false, @@ -775,14 +775,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -823,7 +823,7 @@ } } ], - "linkId": "EmCare.B23.DE16", + "linkId": "Ccc.B23.DE16", "text": "Severe Persistent Diarrhoea", "type": "choice", "required": false, @@ -831,14 +831,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -879,7 +879,7 @@ } } ], - "linkId": "EmCare.B23.DE17", + "linkId": "Ccc.B23.DE17", "text": "Persistent Diarrhoea", "type": "choice", "required": false, @@ -887,14 +887,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -935,7 +935,7 @@ } } ], - "linkId": "EmCare.B23.DE18", + "linkId": "Ccc.B23.DE18", "text": "Dysentery", "type": "choice", "required": false, @@ -943,14 +943,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -991,7 +991,7 @@ } } ], - "linkId": "EmCare.B23.DE18.a", + "linkId": "Ccc.B23.DE18.a", "text": "Possible Shigella", "type": "choice", "required": false, @@ -999,14 +999,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -1047,7 +1047,7 @@ } } ], - "linkId": "EmCare.B23.DE100", + "linkId": "Ccc.B23.DE100", "text": "Throat Abscess or Possible Diptheria", "type": "choice", "required": false, @@ -1055,14 +1055,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -1103,7 +1103,7 @@ } } ], - "linkId": "EmCare.B23.DE6101", + "linkId": "Ccc.B23.DE6101", "text": "Streptococcal Sore Throat", "type": "choice", "required": false, @@ -1111,14 +1111,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -1159,7 +1159,7 @@ } } ], - "linkId": "EmCare.B23.DE6102", + "linkId": "Ccc.B23.DE6102", "text": "Non-Streptococcal Sore Throat", "type": "choice", "required": false, @@ -1167,14 +1167,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -1215,7 +1215,7 @@ } } ], - "linkId": "EmCare.B23.DE6103", + "linkId": "Ccc.B23.DE6103", "text": "No Throat Problem", "type": "choice", "required": false, @@ -1223,14 +1223,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -1271,7 +1271,7 @@ } } ], - "linkId": "EmCare.B23.DE30", + "linkId": "Ccc.B23.DE30", "text": "Mastoiditis", "type": "choice", "required": false, @@ -1279,14 +1279,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -1327,7 +1327,7 @@ } } ], - "linkId": "EmCare.B23.DE31", + "linkId": "Ccc.B23.DE31", "text": "Acute Ear Infection", "type": "choice", "required": false, @@ -1335,14 +1335,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -1387,11 +1387,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b23.de32a" + "expression": "Ccc.b23.de32a" } } ], - "linkId": "EmCare.B23.DE32a", + "linkId": "Ccc.B23.DE32a", "type": "boolean", "required": false, "repeats": false @@ -1406,7 +1406,7 @@ } } ], - "linkId": "EmCare.B23.DE32", + "linkId": "Ccc.B23.DE32", "text": "Chronic Ear Infection", "type": "choice", "required": false, @@ -1414,14 +1414,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -1445,11 +1445,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B23.DE32a').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B23.DE32a').answer.first().value = true" } } ], - "linkId": "EmCare.B23.DE32a_l", + "linkId": "Ccc.B23.DE32a_l", "text": "with ear pain or fever", "type": "display", "required": false, @@ -1491,7 +1491,7 @@ } } ], - "linkId": "EmCare.B23.DE33", + "linkId": "Ccc.B23.DE33", "text": "No Ear Infection", "type": "choice", "required": false, @@ -1499,14 +1499,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -1547,7 +1547,7 @@ } } ], - "linkId": "EmCare.B23.DE19", + "linkId": "Ccc.B23.DE19", "text": "Very Severe Febrile Disease", "type": "choice", "required": false, @@ -1555,14 +1555,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -1607,11 +1607,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b23.de26a" + "expression": "Ccc.b23.de26a" } } ], - "linkId": "EmCare.B23.DE26a", + "linkId": "Ccc.B23.DE26a", "text": "Fever present every day for 7 Days or more", "type": "boolean", "required": false, @@ -1627,7 +1627,7 @@ } } ], - "linkId": "EmCare.B23.DE104", + "linkId": "Ccc.B23.DE104", "text": "Fever: possible bacterial infection", "type": "choice", "required": false, @@ -1635,14 +1635,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -1666,11 +1666,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B23.DE26a').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B23.DE26a').answer.first().value = true" } } ], - "linkId": "EmCare.B23.DE26a_l", + "linkId": "Ccc.B23.DE26a_l", "text": "Fever present every day for 7 Days or more", "type": "display", "required": false, @@ -1712,7 +1712,7 @@ } } ], - "linkId": "EmCare.B23.DE105", + "linkId": "Ccc.B23.DE105", "text": "Fever: bacterial infection unlikely", "type": "choice", "required": false, @@ -1720,14 +1720,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -1768,7 +1768,7 @@ } } ], - "linkId": "EmCare.B23.DE27", + "linkId": "Ccc.B23.DE27", "text": "Severe Complicated Measles", "type": "choice", "required": false, @@ -1776,14 +1776,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -1824,7 +1824,7 @@ } } ], - "linkId": "EmCare.B23.DE28", + "linkId": "Ccc.B23.DE28", "text": "Measles with Eye or Mouth Complication", "type": "choice", "required": false, @@ -1832,14 +1832,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -1880,7 +1880,7 @@ } } ], - "linkId": "EmCare.B23.DE29", + "linkId": "Ccc.B23.DE29", "text": "Possible Measles", "type": "choice", "required": false, @@ -1888,14 +1888,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -1936,7 +1936,7 @@ } } ], - "linkId": "EmCare.B23.DE62", + "linkId": "Ccc.B23.DE62", "text": "Severe Anaemia", "type": "choice", "required": false, @@ -1944,14 +1944,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -1992,7 +1992,7 @@ } } ], - "linkId": "EmCare.B23.DE63", + "linkId": "Ccc.B23.DE63", "text": "Anaemia", "type": "choice", "required": false, @@ -2000,14 +2000,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -2048,7 +2048,7 @@ } } ], - "linkId": "EmCare.B23.DE64", + "linkId": "Ccc.B23.DE64", "text": "No Anaemia", "type": "choice", "required": false, @@ -2056,14 +2056,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -2104,7 +2104,7 @@ } } ], - "linkId": "EmCare.B23.DE34", + "linkId": "Ccc.B23.DE34", "text": "Eye Infection", "type": "choice", "required": false, @@ -2112,14 +2112,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -2160,7 +2160,7 @@ } } ], - "linkId": "EmCare.B23.DE35", + "linkId": "Ccc.B23.DE35", "text": "Clouding of the Cornea", "type": "choice", "required": false, @@ -2168,14 +2168,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -2199,11 +2199,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B23.DE36').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B23.DE36').answer.first().value = true" } } ], - "linkId": "EmCare.B23.DE36_l", + "linkId": "Ccc.B23.DE36_l", "text": "New or not previously treated", "type": "display", "required": false, @@ -2225,11 +2225,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b23.de36" + "expression": "Ccc.b23.de36" } } ], - "linkId": "EmCare.B23.DE36", + "linkId": "Ccc.B23.DE36", "text": "New or not previously treated", "type": "boolean", "required": false, @@ -2269,7 +2269,7 @@ } } ], - "linkId": "EmCare.B23.DE41", + "linkId": "Ccc.B23.DE41", "text": "Papular Urticaria or Papular Pruritic Eruptions", "type": "choice", "required": false, @@ -2277,14 +2277,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -2325,7 +2325,7 @@ } } ], - "linkId": "EmCare.B23.DE42", + "linkId": "Ccc.B23.DE42", "text": "Ringworm (Tinea)", "type": "choice", "required": false, @@ -2333,14 +2333,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -2364,7 +2364,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B23.DE43a').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B23.DE43a').answer.first().value = true" } } ], @@ -2390,11 +2390,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b23.de43a" + "expression": "Ccc.b23.de43a" } } ], - "linkId": "EmCare.B23.DE43a", + "linkId": "Ccc.B23.DE43a", "text": "Scalp Infection (tinea capitis)", "type": "boolean", "required": false, @@ -2434,7 +2434,7 @@ } } ], - "linkId": "EmCare.B23.DE44", + "linkId": "Ccc.B23.DE44", "text": "Scabies", "type": "choice", "required": false, @@ -2442,14 +2442,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -2490,7 +2490,7 @@ } } ], - "linkId": "EmCare.B23.DE45", + "linkId": "Ccc.B23.DE45", "text": "Chickenpox", "type": "choice", "required": false, @@ -2498,14 +2498,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -2529,7 +2529,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B23.DE46A').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B23.DE46A').answer.first().value = true" } } ], @@ -2556,7 +2556,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B23.DE46').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B23.DE46').answer.first().value=true" } } ], @@ -2582,11 +2582,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b23.de46a" + "expression": "Ccc.b23.de46a" } } ], - "linkId": "EmCare.B23.DE46A", + "linkId": "Ccc.B23.DE46A", "type": "boolean", "required": false, "repeats": false @@ -2605,11 +2605,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b23.de46" + "expression": "Ccc.b23.de46" } } ], - "linkId": "EmCare.B23.DE46", + "linkId": "Ccc.B23.DE46", "type": "boolean", "required": false, "repeats": false @@ -2648,7 +2648,7 @@ } } ], - "linkId": "EmCare.B23.DE47", + "linkId": "Ccc.B23.DE47", "text": "Herpes Zoster", "type": "choice", "required": false, @@ -2656,14 +2656,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -2684,11 +2684,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b23.de48" + "expression": "Ccc.b23.de48" } } ], - "linkId": "EmCare.B23.DE48", + "linkId": "Ccc.B23.DE48", "type": "boolean", "required": false, "repeats": false @@ -2710,7 +2710,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B23.DE48').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B23.DE48').answer.first().value = true" } } ], @@ -2734,11 +2734,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b23.de48a" + "expression": "Ccc.b23.de48a" } } ], - "linkId": "EmCare.B23.DE48a", + "linkId": "Ccc.B23.DE48a", "type": "boolean", "required": false, "repeats": false @@ -2760,7 +2760,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B23.DE48a').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B23.DE48a').answer.first().value = true" } } ], @@ -2804,7 +2804,7 @@ } } ], - "linkId": "EmCare.B23.DE49", + "linkId": "Ccc.B23.DE49", "text": "Impetigo", "type": "choice", "required": false, @@ -2812,14 +2812,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -2843,7 +2843,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B23.DE50').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B23.DE50').answer.first().value=true" } } ], @@ -2870,7 +2870,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B23.DE50a').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B23.DE50a').answer.first().value = true" } } ], @@ -2896,11 +2896,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b23.de50" + "expression": "Ccc.b23.de50" } } ], - "linkId": "EmCare.B23.DE50", + "linkId": "Ccc.B23.DE50", "type": "boolean", "required": false, "repeats": false @@ -2919,11 +2919,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b23.de50a" + "expression": "Ccc.b23.de50a" } } ], - "linkId": "EmCare.B23.DE50a", + "linkId": "Ccc.B23.DE50a", "type": "boolean", "required": false, "repeats": false @@ -2962,7 +2962,7 @@ } } ], - "linkId": "EmCare.B23.DE52", + "linkId": "Ccc.B23.DE52", "text": "Molluscum Contagiosum", "type": "choice", "required": false, @@ -2970,14 +2970,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -3001,7 +3001,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B23.DE52a').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B23.DE52a').answer.first().value = true" } } ], @@ -3027,11 +3027,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b23.de52a" + "expression": "Ccc.b23.de52a" } } ], - "linkId": "EmCare.B23.DE52a", + "linkId": "Ccc.B23.DE52a", "type": "boolean", "required": false, "repeats": false @@ -3070,7 +3070,7 @@ } } ], - "linkId": "EmCare.B23.DE53", + "linkId": "Ccc.B23.DE53", "text": "Warts", "type": "choice", "required": false, @@ -3078,14 +3078,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -3109,7 +3109,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B23.DE53a').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B23.DE53a').answer.first().value = true" } } ], @@ -3135,11 +3135,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b23.de53a" + "expression": "Ccc.b23.de53a" } } ], - "linkId": "EmCare.B23.DE53a", + "linkId": "Ccc.B23.DE53a", "type": "boolean", "required": false, "repeats": false @@ -3178,7 +3178,7 @@ } } ], - "linkId": "EmCare.B23.DE54", + "linkId": "Ccc.B23.DE54", "text": "Seborrhoeic Dermatitis", "type": "choice", "required": false, @@ -3186,14 +3186,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -3217,7 +3217,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B23.DE55').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B23.DE55').answer.first().value = true" } } ], @@ -3243,11 +3243,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b23.de55" + "expression": "Ccc.b23.de55" } } ], - "linkId": "EmCare.B23.DE55", + "linkId": "Ccc.B23.DE55", "type": "boolean", "required": false, "repeats": false @@ -3285,7 +3285,7 @@ } } ], - "linkId": "EmCare.B23.DE56", + "linkId": "Ccc.B23.DE56", "text": "Fixed Drug Reaction", "type": "choice", "required": false, @@ -3293,14 +3293,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -3340,7 +3340,7 @@ } } ], - "linkId": "EmCare.B23.DE57", + "linkId": "Ccc.B23.DE57", "text": "Eczema", "type": "choice", "required": false, @@ -3348,14 +3348,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -3379,7 +3379,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B23.DE57a').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B23.DE57a').answer.first().value = true" } } ], @@ -3406,7 +3406,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B23.DE57b').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B23.DE57b').answer.first().value = true" } } ], @@ -3433,7 +3433,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B23.DE57c').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B23.DE57c').answer.first().value = true" } } ], @@ -3459,11 +3459,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b23.de57a" + "expression": "Ccc.b23.de57a" } } ], - "linkId": "EmCare.B23.DE57a", + "linkId": "Ccc.B23.DE57a", "type": "boolean", "required": false, "repeats": false @@ -3482,11 +3482,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b23.de57b" + "expression": "Ccc.b23.de57b" } } ], - "linkId": "EmCare.B23.DE57b", + "linkId": "Ccc.B23.DE57b", "type": "boolean", "required": false, "repeats": false @@ -3505,11 +3505,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b23.de57c" + "expression": "Ccc.b23.de57c" } } ], - "linkId": "EmCare.B23.DE57c", + "linkId": "Ccc.B23.DE57c", "type": "boolean", "required": false, "repeats": false @@ -3548,7 +3548,7 @@ } } ], - "linkId": "EmCare.B23.DE58", + "linkId": "Ccc.B23.DE58", "text": "Steven Johnson Syndrome (SJS)", "type": "choice", "required": false, @@ -3556,14 +3556,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -3604,7 +3604,7 @@ } } ], - "linkId": "EmCare.B23.DE59", + "linkId": "Ccc.B23.DE59", "text": "Mouth Sores or Ulcer", "type": "choice", "required": false, @@ -3612,14 +3612,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -3643,7 +3643,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B23.DE60').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B23.DE60').answer.first().value = true" } } ], @@ -3669,11 +3669,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "emcare.b23.de60" + "expression": "Ccc.b23.de60" } } ], - "linkId": "EmCare.B23.DE60", + "linkId": "Ccc.B23.DE60", "type": "boolean", "required": false, "repeats": false @@ -3712,7 +3712,7 @@ } } ], - "linkId": "EmCare.B23.DE61", + "linkId": "Ccc.B23.DE61", "text": "Oral Thrush", "type": "choice", "required": false, @@ -3720,14 +3720,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -3768,7 +3768,7 @@ } } ], - "linkId": "EmCare.B23.DE106", + "linkId": "Ccc.B23.DE106", "text": "Very Low Weight for Age", "type": "choice", "required": false, @@ -3776,14 +3776,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -3824,7 +3824,7 @@ } } ], - "linkId": "EmCare.B23.DE107", + "linkId": "Ccc.B23.DE107", "text": "Low Weight for Age", "type": "choice", "required": false, @@ -3832,14 +3832,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -3880,7 +3880,7 @@ } } ], - "linkId": "EmCare.B23.DE108", + "linkId": "Ccc.B23.DE108", "text": "Low MUAC or visual report of wasting", "type": "choice", "required": false, @@ -3888,14 +3888,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -3911,336 +3911,336 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE01", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE01", "display": "Very Severe Disease" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE03", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE03", "display": "Severe Pneumonia or Very Severe Disease" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE06", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE06", "display": "Pneumonia" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE10", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE10", "display": "Cough or Cold" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE13", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE13", "display": "Severe Dehydration" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE14", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE14", "display": "Some Dehydration" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE15", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE15", "display": "No Dehydration" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE16", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE16", "display": "Severe Persistent Diarrhoea" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE17", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE17", "display": "Persistent Diarrhoea" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE18", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE18", "display": "Dysentery" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE18.a", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE18.a", "display": "Possible Shigella" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE100", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE100", "display": "Throat Abscess or Possible Diptheria" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE6101", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE6101", "display": "Streptococcal Sore Throat" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE6102", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE6102", "display": "Non-Streptococcal Sore Throat" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE6103", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE6103", "display": "No Throat Problem" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE30", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE30", "display": "Mastoiditis" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE31", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE31", "display": "Acute Ear Infection" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE32", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE32", "display": "Chronic Ear Infection" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE33", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE33", "display": "No Ear Infection" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE19", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE19", "display": "Very Severe Febrile Disease" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE104", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE104", "display": "Fever: possible bacterial infection" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE105", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE105", "display": "Fever: bacterial infection unlikely" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE27", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE27", "display": "Severe Complicated Measles" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE28", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE28", "display": "Measles with Eye or Mouth Complication" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE29", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE29", "display": "Possible Measles" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE62", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE62", "display": "Severe Anaemia" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE63", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE63", "display": "Anaemia" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE64", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE64", "display": "No Anaemia" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE34", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE34", "display": "Eye Infection" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE35", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE35", "display": "Clouding of the Cornea" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE41", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE41", "display": "Papular Urticaria or Papular Pruritic Eruptions" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE42", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE42", "display": "Ringworm (Tinea)" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE44", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE44", "display": "Scabies" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE45", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE45", "display": "Chickenpox" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE47", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE47", "display": "Herpes Zoster" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE49", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE49", "display": "Impetigo" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE52", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE52", "display": "Molluscum Contagiosum" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE53", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE53", "display": "Warts" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE54", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE54", "display": "Seborrhoeic Dermatitis" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE56", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE56", "display": "Fixed Drug Reaction" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE57", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE57", "display": "Eczema" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE58", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE58", "display": "Steven Johnson Syndrome (SJS)" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE59", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE59", "display": "Mouth Sores or Ulcer" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE61", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE61", "display": "Oral Thrush" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE106", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE106", "display": "Very Low Weight for Age" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE107", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE107", "display": "Low Weight for Age" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE108", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE108", "display": "Low MUAC or visual report of wasting" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "collector", "display": "Add other classifications" } diff --git a/input/resources/questionnaire/questionnaire-emcare.b23.classification.m.json b/input/resources/questionnaire/questionnaire-Ccc.b23.classification.m.json similarity index 93% rename from input/resources/questionnaire/questionnaire-emcare.b23.classification.m.json rename to input/resources/questionnaire/questionnaire-Ccc.b23.classification.m.json index aa002a6f..00ae0ada 100644 --- a/input/resources/questionnaire/questionnaire-emcare.b23.classification.m.json +++ b/input/resources/questionnaire/questionnaire-Ccc.b23.classification.m.json @@ -1,6 +1,6 @@ { "resourceType": "Questionnaire", - "id": "emcare.b23.classification.m", + "id": "Ccc.b23.classification.m", "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire" @@ -25,16 +25,16 @@ }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap", - "valueCanonical": "https://smart.who.int/ccc/StructureMap/emcare.b23.classification.m" + "valueCanonical": "https://smart.who.int/ccc/StructureMap/Ccc.b23.classification.m" }, { "url": "http://hl7.org/fhir/StructureDefinition/cqf-library", - "valueCanonical": "https://smart.who.int/ccc/Library/emcareb23classificationm" + "valueCanonical": "https://smart.who.int/ccc/Library/Cccb23classificationm" } ], - "url": "https://smart.who.int/ccc/Questionnaire/emcare.b23.classification.m", - "name": "EmCare.B23.Classification.m", - "title": "EmCare.B23.Classification.m", + "url": "https://smart.who.int/ccc/Questionnaire/Ccc.b23.classification.m", + "name": "Ccc.B23.Classification.m", + "title": "Ccc.B23.Classification.m", "status": "active", "experimental": false, "subjectType": [ @@ -132,7 +132,7 @@ } } ], - "linkId": "EmCare.B23.DE83", + "linkId": "Ccc.B23.DE83", "text": "Possible Serious Bacterial Infection OR Very Severe Disease", "type": "choice", "required": false, @@ -140,14 +140,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -188,7 +188,7 @@ } } ], - "linkId": "EmCare.B23.DE06", + "linkId": "Ccc.B23.DE06", "text": "Pneumonia", "type": "choice", "required": false, @@ -196,14 +196,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -244,7 +244,7 @@ } } ], - "linkId": "EmCare.B23.DE85", + "linkId": "Ccc.B23.DE85", "text": "Local Infection", "type": "choice", "required": false, @@ -252,14 +252,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -299,7 +299,7 @@ } } ], - "linkId": "EmCare.B23.DE86", + "linkId": "Ccc.B23.DE86", "text": "Infection Unlikely", "type": "choice", "required": false, @@ -307,14 +307,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -354,7 +354,7 @@ } } ], - "linkId": "EmCare.B23.DE106", + "linkId": "Ccc.B23.DE106", "text": "Very Low Weight for Age", "type": "choice", "required": false, @@ -362,14 +362,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -410,7 +410,7 @@ } } ], - "linkId": "EmCare.B23.DE87", + "linkId": "Ccc.B23.DE87", "text": "Severe Jaundice", "type": "choice", "required": false, @@ -418,14 +418,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -465,7 +465,7 @@ } } ], - "linkId": "EmCare.B23.DE88", + "linkId": "Ccc.B23.DE88", "text": "Jaundice", "type": "choice", "required": false, @@ -473,14 +473,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -520,7 +520,7 @@ } } ], - "linkId": "EmCare.B23.DE89", + "linkId": "Ccc.B23.DE89", "text": "No Jaundice", "type": "choice", "required": false, @@ -528,14 +528,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -576,7 +576,7 @@ } } ], - "linkId": "EmCare.B23.DE13", + "linkId": "Ccc.B23.DE13", "text": "Severe Dehydration", "type": "choice", "required": false, @@ -584,14 +584,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -632,7 +632,7 @@ } } ], - "linkId": "EmCare.B23.DE14", + "linkId": "Ccc.B23.DE14", "text": "Some Dehydration", "type": "choice", "required": false, @@ -640,14 +640,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -688,7 +688,7 @@ } } ], - "linkId": "EmCare.B23.DE15", + "linkId": "Ccc.B23.DE15", "text": "No Dehydration", "type": "choice", "required": false, @@ -696,14 +696,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -813,7 +813,7 @@ } } ], - "linkId": "EmCare.B23.DE94", + "linkId": "Ccc.B23.DE94", "text": "Feeding Problem and / or Low Weight for Age", "type": "choice", "required": false, @@ -821,14 +821,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -856,7 +856,7 @@ } } ], - "linkId": "EmCare.B23.DE96", + "linkId": "Ccc.B23.DE96", "text": "Low weight for age", "type": "display", "required": false, @@ -883,7 +883,7 @@ } } ], - "linkId": "EmCare.B23.DE97", + "linkId": "Ccc.B23.DE97", "text": "Oral thrush", "type": "display", "required": false, @@ -910,7 +910,7 @@ } } ], - "linkId": "EmCare.B23.DE95", + "linkId": "Ccc.B23.DE95", "text": "Feeding problem", "type": "display", "required": false, @@ -949,7 +949,7 @@ } } ], - "linkId": "EmCare.B23.DE98", + "linkId": "Ccc.B23.DE98", "text": "No Feeding Problem", "type": "choice", "required": false, @@ -957,14 +957,14 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "agree", "display": "Agree" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "disagree", "display": "Disagree" } @@ -980,98 +980,98 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE83", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE83", "display": "Possible Serious Bacterial Infection OR Very Severe Disease" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE06", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE06", "display": "Pneumonia" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE85", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE85", "display": "Local Infection" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE86", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE86", "display": "Infection Unlikely" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE106", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE106", "display": "Very Low Weight for Age" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE87", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE87", "display": "Severe Jaundice" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE88", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE88", "display": "Jaundice" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE89", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE89", "display": "No Jaundice" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE13", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE13", "display": "Severe Dehydration" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE14", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE14", "display": "Some Dehydration" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE15", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE15", "display": "No Dehydration" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE94", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE94", "display": "Feeding Problem and / or Low Weight for Age" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B23.DE98", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B23.DE98", "display": "No Feeding Problem" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "code": "collector", "display": "Add other classifications" } diff --git a/input/resources/questionnaire/questionnaire-emcare.b6.measurements.json b/input/resources/questionnaire/questionnaire-Ccc.b6.measurements.json similarity index 85% rename from input/resources/questionnaire/questionnaire-emcare.b6.measurements.json rename to input/resources/questionnaire/questionnaire-Ccc.b6.measurements.json index f274cb34..06e400c5 100644 --- a/input/resources/questionnaire/questionnaire-emcare.b6.measurements.json +++ b/input/resources/questionnaire/questionnaire-Ccc.b6.measurements.json @@ -1,6 +1,6 @@ { "resourceType": "Questionnaire", - "id": "emcare.b6.measurements", + "id": "Ccc.b6.measurements", "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire" @@ -25,16 +25,16 @@ }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap", - "valueCanonical": "https://smart.who.int/ccc/StructureMap/emcare.b6.measurements" + "valueCanonical": "https://smart.who.int/ccc/StructureMap/Ccc.b6.measurements" }, { "url": "http://hl7.org/fhir/StructureDefinition/cqf-library", - "valueCanonical": "https://smart.who.int/ccc/Library/emcareb6measurements" + "valueCanonical": "https://smart.who.int/ccc/Library/Cccb6measurements" } ], - "url": "https://smart.who.int/ccc/Questionnaire/emcare.b6.measurements", - "name": "EmCare.B6.Measurements", - "title": "EmCare.B6.Measurements", + "url": "https://smart.who.int/ccc/Questionnaire/Ccc.b6.measurements", + "name": "Ccc.B6.Measurements", + "title": "Ccc.B6.Measurements", "status": "active", "experimental": false, "subjectType": [ @@ -54,11 +54,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B6.DE04').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B6.DE04').answer.first().empty()" } } ], - "linkId": "EmCare.B6.DE01", + "linkId": "Ccc.B6.DE01", "text": "Axillary Temperature (degrees Celcius)", "type": "quantity", "required": true, @@ -78,7 +78,7 @@ } } ], - "linkId": "EmCare.B6.DE01-help", + "linkId": "Ccc.B6.DE01-help", "text": "The client’s axillary temperature in degrees Celcius (temperature taken under the armpit)
\nWarning/error if above 45 and below 32 degrees Celcius.", "type": "display" } @@ -103,18 +103,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B6.DE01').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B6.DE01').answer.first().empty()" } } ], - "linkId": "EmCare.B6.DE04", + "linkId": "Ccc.B6.DE04", "type": "choice", "required": true, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.B6.DE04", + "code": "Ccc.B6.DE04", "display": "Thermometer not available" } } @@ -130,11 +130,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B6.DE04').answer.first().exists()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B6.DE04').answer.first().exists()" } } ], - "linkId": "EmCare.B6.DE05", + "linkId": "Ccc.B6.DE05", "text": "Hot to Touch", "type": "boolean", "required": true, @@ -146,18 +146,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B6.DE01').answer.first().exists()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B6.DE01').answer.first().exists()" } }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "iif(%resource.repeat(item).where(linkId='EmCare.B6.DE01').answer.first().value >= 38.5 'Cel' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2, '2',iif(%resource.repeat(item).where(linkId='EmCare.B6.DE01').answer.first().value >= 38 'Cel' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value< 2 or %resource.repeat(item).where(linkId='EmCare.B6.DE01').answer.first().value >= 37.5 'Cel' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2,'High',iif(%resource.repeat(item).where(linkId='EmCare.B6.DE01').answer.first().value < 35.5 'Cel', 'Low',iif(%resource.repeat(item).where(linkId='EmCare.B6.DE01').answer.first().value.exists(), 'Normal',{}))))" + "expression": "iif(%resource.repeat(item).where(linkId='Ccc.B6.DE01').answer.first().value >= 38.5 'Cel' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2, '2',iif(%resource.repeat(item).where(linkId='Ccc.B6.DE01').answer.first().value >= 38 'Cel' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value< 2 or %resource.repeat(item).where(linkId='Ccc.B6.DE01').answer.first().value >= 37.5 'Cel' and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 2,'High',iif(%resource.repeat(item).where(linkId='Ccc.B6.DE01').answer.first().value < 35.5 'Cel', 'Low',iif(%resource.repeat(item).where(linkId='Ccc.B6.DE01').answer.first().value.exists(), 'Normal',{}))))" } } ], - "linkId": "EmCare.B6.DE01A", + "linkId": "Ccc.B6.DE01A", "text": "Measured Temperature", "type": "string", "required": false, @@ -178,7 +178,7 @@ } } ], - "linkId": "EmCare.B6.DE01A-help", + "linkId": "Ccc.B6.DE01A-help", "text": "The client’s axillary temperature in degrees Celcius (temperature taken under the armpit)", "type": "display" } @@ -197,11 +197,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B6.DE07').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B6.DE07').answer.first().empty()" } } ], - "linkId": "EmCare.B6.DE06", + "linkId": "Ccc.B6.DE06", "text": "Weight (Kg)", "type": "quantity", "required": true, @@ -226,18 +226,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B6.DE06').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B6.DE06').answer.first().empty()" } } ], - "linkId": "EmCare.B6.DE07", + "linkId": "Ccc.B6.DE07", "type": "choice", "required": true, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.B6.DE07", + "code": "Ccc.B6.DE07", "display": "Weight cannot be measured" } } @@ -253,11 +253,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "iif(%resource.repeat(item).where(linkId='EmCare.B6.DE07').answer.first().exists() and %resource.repeat(item).where(linkId='pastWeightActualised').answer.first().exists(), %resource.repeat(item).where(linkId='pastWeightActualised').answer.first().value, {})" + "expression": "iif(%resource.repeat(item).where(linkId='Ccc.B6.DE07').answer.first().exists() and %resource.repeat(item).where(linkId='pastWeightActualised').answer.first().exists(), %resource.repeat(item).where(linkId='pastWeightActualised').answer.first().value, {})" } } ], - "linkId": "EmCare.B6.DE08", + "linkId": "Ccc.B6.DE08", "text": "Estimated Weight", "type": "quantity", "required": false, @@ -289,7 +289,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B6.DE08').answer.first().exists()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B6.DE08').answer.first().exists()" } }, { @@ -353,7 +353,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='pastWeightActualised').answer.first().exists() and %resource.repeat(item).where(linkId='EmCare.B6.DE07').answer.first().exists()" + "expression": "%resource.repeat(item).where(linkId='pastWeightActualised').answer.first().exists() and %resource.repeat(item).where(linkId='Ccc.B6.DE07').answer.first().exists()" } } ], @@ -369,7 +369,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='pastWeightActualised').answer.first().empty() and %resource.repeat(item).where(linkId='EmCare.B6.DE07').answer.first().exists()" + "expression": "%resource.repeat(item).where(linkId='pastWeightActualised').answer.first().empty() and %resource.repeat(item).where(linkId='Ccc.B6.DE07').answer.first().exists()" } } ], @@ -398,7 +398,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value>=24 and %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='EmCare.B6.DE11').answer.first().empty() and %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='EmCare.B6.DE10').answer.first().empty()) or %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='EmCare.B6.DE12a').answer.first().exists()" + "expression": "(%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value>=24 and %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Ccc.B6.DE11').answer.first().empty() and %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Ccc.B6.DE10').answer.first().empty()) or %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Ccc.B6.DE12a').answer.first().exists()" } } ], @@ -427,18 +427,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Height Q').answer.first().empty() and (%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value>=24 or %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='EmCare.B6.DE12a').answer.first().exists()) and %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='EmCare.B6.DE12a').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Height Q').answer.first().empty() and (%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value>=24 or %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Ccc.B6.DE12a').answer.first().exists()) and %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Ccc.B6.DE12a').answer.first().empty()" } } ], - "linkId": "EmCare.B6.DE10", + "linkId": "Ccc.B6.DE10", "type": "choice", "required": true, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.B6.DE10", + "code": "Ccc.B6.DE10", "display": "Prefer to measure length" } } @@ -461,11 +461,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "iif(%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value < 24 and %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='EmCare.B6.DE12a').answer.first().exists(), %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Length Q').answer.first().value-0.7 'cm',%resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Height Q').answer.first().value)" + "expression": "iif(%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value < 24 and %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Ccc.B6.DE12a').answer.first().exists(), %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Length Q').answer.first().value-0.7 'cm',%resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Height Q').answer.first().value)" } } ], - "linkId": "EmCare.B6.DE09", + "linkId": "Ccc.B6.DE09", "text": "Height", "type": "quantity", "required": false, @@ -490,18 +490,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Height Q').answer.first().empty() and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value>=24 and %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='EmCare.B6.DE12a').answer.first().empty() and %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='EmCare.B6.DE10').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Height Q').answer.first().empty() and %resource.repeat(item).where(linkId='AgeInMonths').answer.first().value>=24 and %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Ccc.B6.DE12a').answer.first().empty() and %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Ccc.B6.DE10').answer.first().empty()" } } ], - "linkId": "EmCare.B6.DE11", + "linkId": "Ccc.B6.DE11", "type": "choice", "required": false, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.B6.DE11", + "code": "Ccc.B6.DE11", "display": "Height cannot be measured" } } @@ -520,7 +520,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value<24 or %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='EmCare.B6.DE10').answer.first().exists()) and %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='EmCare.B6.DE12a').answer.first().empty() and %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='EmCare.B6.DE13').answer.first().empty()" + "expression": "(%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value<24 or %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Ccc.B6.DE10').answer.first().exists()) and %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Ccc.B6.DE12a').answer.first().empty() and %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Ccc.B6.DE13').answer.first().empty()" } } ], @@ -547,11 +547,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "iif(%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 24 and %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='EmCare.B6.DE10').answer.first().exists(), %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Height Q').answer.first().value+0.7 'cm', %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Length Q').answer.first().value)" + "expression": "iif(%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >= 24 and %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Ccc.B6.DE10').answer.first().exists(), %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Height Q').answer.first().value+0.7 'cm', %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Length Q').answer.first().value)" } } ], - "linkId": "EmCare.B6.DE12", + "linkId": "Ccc.B6.DE12", "text": "Length", "type": "quantity", "required": false, @@ -576,18 +576,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Length Q').answer.first().empty() and (%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value<24 or %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='EmCare.B6.DE10').answer.first().exists()) and %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='EmCare.B6.DE10').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Length Q').answer.first().empty() and (%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value<24 or %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Ccc.B6.DE10').answer.first().exists()) and %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Ccc.B6.DE10').answer.first().empty()" } } ], - "linkId": "EmCare.B6.DE13", + "linkId": "Ccc.B6.DE13", "type": "choice", "required": true, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.B6.DE13", + "code": "Ccc.B6.DE13", "display": "Length cannot be measured" } } @@ -612,18 +612,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Length Q').answer.first().empty() and (%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value<24 or %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='EmCare.B6.DE10').answer.first().exists()) and %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='EmCare.B6.DE10').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Length Q').answer.first().empty() and (%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value<24 or %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Ccc.B6.DE10').answer.first().exists()) and %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Ccc.B6.DE10').answer.first().empty()" } } ], - "linkId": "EmCare.B6.DE12a", + "linkId": "Ccc.B6.DE12a", "type": "choice", "required": false, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.B6.DE12a", + "code": "Ccc.B6.DE12a", "display": "Prefer to measure height" } } @@ -639,11 +639,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B6.DE06').answer.first().exists()" + "expression": "%resource.repeat(item).where(linkId='Ccc.B6.DE06').answer.first().exists()" } } ], - "linkId": "EmCare.B6.DE16", + "linkId": "Ccc.B6.DE16", "text": "Weight for Age (WFA) Z Scores", "type": "integer", "required": false, @@ -662,11 +662,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value>=6 and %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='EmCare.B6.DE17a').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value>=6 and %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Ccc.B6.DE17a').answer.first().empty()" } } ], - "linkId": "EmCare.B6.DE17", + "linkId": "Ccc.B6.DE17", "text": "MUAC (mm)", "type": "quantity", "required": true, @@ -686,7 +686,7 @@ } } ], - "linkId": "EmCare.B6.DE17-help", + "linkId": "Ccc.B6.DE17-help", "text": "Mid Upper Arm Circumference", "type": "display" } @@ -711,18 +711,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value>=6 and %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='EmCare.B6.DE17').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value>=6 and %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Ccc.B6.DE17').answer.first().empty()" } } ], - "linkId": "EmCare.B6.DE17a", + "linkId": "Ccc.B6.DE17a", "type": "choice", "required": true, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.B6.DE17a", + "code": "Ccc.B6.DE17a", "display": "MUAC cannot be measured" } } @@ -747,11 +747,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value>=2 and %resource.repeat(item).where(linkId='EmCare.B6.DE07').answer.first().value =true and %resource.repeat(item).where(linkId='pastWeightActualised').answer.first().empty() and (%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value < 6 'months' or (%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >=6 'months' and %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='EmCare.B6.DE17').answer.first().empty()))" + "expression": "%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value>=2 and %resource.repeat(item).where(linkId='Ccc.B6.DE07').answer.first().value =true and %resource.repeat(item).where(linkId='pastWeightActualised').answer.first().empty() and (%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value < 6 'months' or (%resource.repeat(item).where(linkId='AgeInMonths').answer.first().value >=6 'months' and %resource.repeat(item).where(linkId='HeightOrLength').repeat(item).where(linkId='Ccc.B6.DE17').answer.first().empty()))" } } ], - "linkId": "EmCare.B6.DE18", + "linkId": "Ccc.B6.DE18", "text": "Visually assess for whether underweight (for drug dose calculation)", "type": "choice", "required": false, @@ -759,22 +759,22 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B6.DE19", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B6.DE19", "display": "Does not appear to be Underweight" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B6.DE20", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B6.DE20", "display": "Appears to be Underweight" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B6.DE21", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B6.DE21", "display": "Appears to be Severely Underweight" } } diff --git a/input/resources/questionnaire/questionnaire-emcare.b7.lti-dangersigns.json b/input/resources/questionnaire/questionnaire-Ccc.b7.lti-dangersigns.json similarity index 86% rename from input/resources/questionnaire/questionnaire-emcare.b7.lti-dangersigns.json rename to input/resources/questionnaire/questionnaire-Ccc.b7.lti-dangersigns.json index 4e757342..38c36c35 100644 --- a/input/resources/questionnaire/questionnaire-emcare.b7.lti-dangersigns.json +++ b/input/resources/questionnaire/questionnaire-Ccc.b7.lti-dangersigns.json @@ -1,6 +1,6 @@ { "resourceType": "Questionnaire", - "id": "emcare.b7.lti-dangersigns", + "id": "Ccc.b7.lti-dangersigns", "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire" @@ -25,16 +25,16 @@ }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap", - "valueCanonical": "https://smart.who.int/ccc/StructureMap/emcare.b7.lti-dangersigns" + "valueCanonical": "https://smart.who.int/ccc/StructureMap/Ccc.b7.lti-dangersigns" }, { "url": "http://hl7.org/fhir/StructureDefinition/cqf-library", - "valueCanonical": "https://smart.who.int/ccc/Library/emcareb7ltidangersigns" + "valueCanonical": "https://smart.who.int/ccc/Library/Cccb7ltidangersigns" } ], - "url": "https://smart.who.int/ccc/Questionnaire/emcare.b7.lti-dangersigns", - "name": "EmCare.B7.LTI-DangerSigns", - "title": "EmCare.B7.LTI-DangerSigns", + "url": "https://smart.who.int/ccc/Questionnaire/Ccc.b7.lti-dangersigns", + "name": "Ccc.B7.LTI-DangerSigns", + "title": "Ccc.B7.LTI-DangerSigns", "status": "active", "experimental": false, "subjectType": [ @@ -67,7 +67,7 @@ "valueCode": "horizontal" } ], - "linkId": "EmCare.B7.DE02", + "linkId": "Ccc.B7.DE02", "text": "Convulsing Now", "type": "boolean", "required": true, @@ -100,7 +100,7 @@ } } ], - "linkId": "EmCare.B7.DE02-help", + "linkId": "Ccc.B7.DE02-help", "text": "During a convulsion, the child\u2019s arms and legs stiffen because the muscles are contracting. The child may lose consciousness or not be able to respond to spoken directions.", "type": "display" } @@ -112,11 +112,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B7.DE02').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='Ccc.B7.DE02').answer.first().value = true" } } ], - "linkId": "EmCare.B7-B8-B9.DE01", + "linkId": "Ccc.B7-B8-B9.DE01", "text": "Continue to Assess Sick Child", "type": "choice", "required": true, @@ -124,15 +124,15 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B7-B8-B9.DE03", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B7-B8-B9.DE03", "display": "End consultation" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B7-B8-B9.DE02", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B7-B8-B9.DE02", "display": "Stabilised, continue consultation" } } @@ -144,7 +144,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B7.DE02').answer.first().value = false or %resource.repeat(item).where(linkId='EmCare.B7-B8-B9.DE01').answer.first().value.code = 'EmCare.B7-B8-B9.DE02'" + "expression": "%resource.repeat(item).where(linkId='Ccc.B7.DE02').answer.first().value = false or %resource.repeat(item).where(linkId='Ccc.B7-B8-B9.DE01').answer.first().value.code = 'Ccc.B7-B8-B9.DE02'" } } ], @@ -163,11 +163,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B7.DE02').answer.first().value = false and AgeInMonth.cql >=2" + "expression": "%resource.repeat(item).where(linkId='Ccc.B7.DE02').answer.first().value = false and AgeInMonth.cql >=2" } } ], - "linkId": "EmCare.B7.DE03", + "linkId": "Ccc.B7.DE03", "text": "Convulsion(s) in this Illness", "type": "boolean", "required": true, @@ -187,7 +187,7 @@ } } ], - "linkId": "EmCare.B7.DE03-help", + "linkId": "Ccc.B7.DE03-help", "text": "During a convulsion, the child\u2019s arms and legs stiffen because the muscles are contracting. The child may lose consciousness or not be able to respond to spoken directions. Use words the caregiver understands. For example, the caregiver may call convulsions \u201cfits\u201d or \u201cspasms.\u201d", "type": "display" } @@ -200,7 +200,7 @@ "valueCode": "horizontal" } ], - "linkId": "EmCare.B7.DE08b", + "linkId": "Ccc.B7.DE08b", "text": "Unconscious or Lethargic", "type": "boolean", "required": true, @@ -220,7 +220,7 @@ } } ], - "linkId": "EmCare.B7.DE08b-help", + "linkId": "Ccc.B7.DE08b-help", "text": "A lethargic child is not awake and alert when she should be. The child is drowsy and does not show interest in what is happening around her.

\n\n\t

Often the lethargic child does not look at his caregiver or watch your face when you talk, or will not respond if you clap or snap your fingers. The child may stare blankly and appear not to notice what is going on around him.

\n\n\t

An unconscious child cannot be wakened. He does not respond when he is touched, shaken, or spoken to. Ask the caregiver if the child seems unusually sleepy or if she cannot wake the child. Look to see if the child wakens when the caregiver talks or shakes the child or when you clap your hands.", "type": "display" } @@ -236,11 +236,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='stable-child').repeat(item).where(linkId='EmCare.B7.DE08b').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='stable-child').repeat(item).where(linkId='Ccc.B7.DE08b').answer.first().value = true" } } ], - "linkId": "EmCare.B7.DE08", + "linkId": "Ccc.B7.DE08", "text": "Unconscious", "type": "boolean", "required": true, @@ -260,7 +260,7 @@ } } ], - "linkId": "EmCare.B7.DE08-help", + "linkId": "Ccc.B7.DE08-help", "text": "An unconscious child cannot be wakened. He does not respond when he is touched, shaken, or spoken to. Ask the caregiver if the child seems unusually sleepy or if she cannot wake the child. Look to see if the child wakens when the caregiver talks or shakes the child or when you clap your hands.", "type": "display" } @@ -276,11 +276,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='stable-child').repeat(item).where(linkId='EmCare.B7.DE08b').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='stable-child').repeat(item).where(linkId='Ccc.B7.DE08b').answer.first().value = true" } } ], - "linkId": "EmCare.B7.DE08a", + "linkId": "Ccc.B7.DE08a", "text": "Lethargic", "type": "boolean", "required": true, @@ -300,7 +300,7 @@ } } ], - "linkId": "EmCare.B7.DE08a-help", + "linkId": "Ccc.B7.DE08a-help", "text": "A lethargic child is not awake and alert when she should be. The child is drowsy and does not show interest in what is happening around her.

\n\n\t

Often the lethargic child does not look at his caregiver or watch your face when you talk, or will not respond if you clap or snap your fingers. The child may stare blankly and appear not to notice what is going on around him. An unconscious child cannot be wakened. He does not respond when he is touched, shaken, or spoken to. Ask the caregiver if the child seems unusually sleepy or if she cannot wake the child. Look to see if the child wakens when the caregiver talks or shakes the child or when you clap your hands.", "type": "display" } @@ -313,7 +313,7 @@ "valueCode": "horizontal" } ], - "linkId": "EmCare.B7.DE09", + "linkId": "Ccc.B7.DE09", "text": "Not able to drink or breastfeed", "type": "boolean", "required": true, @@ -333,7 +333,7 @@ } } ], - "linkId": "EmCare.B7.DE09-help", + "linkId": "Ccc.B7.DE09-help", "text": "A child has the sign not able to drink or breastfeed if the child is not able to suck or swallow when offered a drink or breast milk.

\n\n\t

When you ask the caregiver if the child is able to drink, make sure that she understands the question. If she says that her child is not able to drink or breastfeed, ask her to describe what happens when she offers the child something to drink. For example, is the child able to take fluid into his mouth and swallow it?
\nIf you are not sure about the caregiver\u2019s answer, ask her to offer the child a drink of clean water or breast milk. Look to see if the child is swallowing the water or breast milk.

\n\n\t

A child who is breastfed may have difficulty sucking when his nose is blocked. If the child\u2019s nose is blocked, clear it. If the child can breastfeed after the nose is cleared, the child does not have the danger sign, \u201cnot able to drink or breastfeed.\u201d", "type": "display" } @@ -346,7 +346,7 @@ "valueCode": "horizontal" } ], - "linkId": "EmCare.B7.DE10", + "linkId": "Ccc.B7.DE10", "text": "Vomiting Everything", "type": "boolean", "required": true, @@ -366,7 +366,7 @@ } } ], - "linkId": "EmCare.B7.DE10-help", + "linkId": "Ccc.B7.DE10-help", "text": "A child who is not able to hold anything down at all has the sign \u201cvomits everything\u201d \u2013 everything that goes down comes back up. A child who vomits everything will not be able to hold down food, fluids, or oral drugs. A child who vomits several times but can hold down some fluids does not have this general danger sign. When you ask the question, use words that the caregiver understands. Give her time to answer. If the caregiver is not sure if the child is vomiting everything, help her to make her answer clear. For example, ask the caregiver how often the child vomits. Also ask if each time the child swallows food or fluids, does the child vomit? If you are not sure of the caregiver\u2019s answers, ask her to offer the child a drink. See if the child vomits.", "type": "display" } @@ -376,17 +376,17 @@ "extension": [ { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire", - "valueCanonical": "https://smart.who.int/ccc/Questionnaire/emcare.b22.fluidtest" + "valueCanonical": "https://smart.who.int/ccc/Questionnaire/Ccc.b22.fluidtest" }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='stable-child').repeat(item).where(linkId='EmCare.B7.DE09').answer.first().value = true or %resource.repeat(item).where(linkId='stable-child').repeat(item).where(linkId='EmCare.B7.DE10').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='stable-child').repeat(item).where(linkId='Ccc.B7.DE09').answer.first().value = true or %resource.repeat(item).where(linkId='stable-child').repeat(item).where(linkId='Ccc.B7.DE10').answer.first().value=true" } } ], - "linkId": "EmCare.B22.FluidTest", + "linkId": "Ccc.B22.FluidTest", "type": "group", "required": false, "repeats": false, @@ -397,11 +397,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='stable-child').repeat(item).where(linkId='EmCare.B22.FluidTest').repeat(item).where(linkId='EmCare.B22.DE14').answer.first().empty() and ( %resource.repeat(item).where(linkId='oftrp').answer.empty() or %resource.repeat(item).where(linkId='oftrp').answer.first().value=true )" + "expression": "%resource.repeat(item).where(linkId='stable-child').repeat(item).where(linkId='Ccc.B22.FluidTest').repeat(item).where(linkId='Ccc.B22.DE14').answer.first().empty() and ( %resource.repeat(item).where(linkId='oftrp').answer.empty() or %resource.repeat(item).where(linkId='oftrp').answer.first().value=true )" } } ], - "linkId": "EmCare.B22.DE08", + "linkId": "Ccc.B22.DE08", "text": "Oral Fluid Test Results", "type": "choice", "required": true, @@ -409,36 +409,36 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE09", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE09", "display": "Completely Unable to Drink" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE10", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE10", "display": "Vomits Immediately / Everything" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE11", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE11", "display": "Drinks Poorly" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE12", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE12", "display": "Drinks Eagerly / Thirstily" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE13", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE13", "display": "Drinks Normally" } } @@ -458,7 +458,7 @@ } } ], - "linkId": "EmCare.B22.DE08-help", + "linkId": "Ccc.B22.DE08-help", "text": "If a child is unconscious do not try to carry out an oral fluid test (Exact wording TBC) – Pop Up

\n\n\t

If a breastfeeding assessment and an Oral Fluid test is recommended for a child that is only breastfed then a pop up is required to ensure that the health care worker observes the signs for both and provides results for both tests.

\n\n\t

Oral Fluid Test
\nIf it is not possible to perform an oral fluid test, the health care worker should assume that the child is vomiting everything
\nFor a child under 6 months the health care worker can offer for the mother to breastfeed instead of receiving fluids

\n\n\t

Caution: Do not force fluids into an unconscious child , it can be dangerous. The fluid can cause them to choke or the fluid can go into their lungs.

\n\n\t

Pop up box to be made available with instructions on how to carry out an oral fluid test.
\nAdditional information TBC", "type": "display" } @@ -483,18 +483,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='stable-child').repeat(item).where(linkId='EmCare.B22.FluidTest').repeat(item).where(linkId='EmCare.B22.DE08').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='stable-child').repeat(item).where(linkId='Ccc.B22.FluidTest').repeat(item).where(linkId='Ccc.B22.DE08').answer.first().empty()" } } ], - "linkId": "EmCare.B22.DE14", + "linkId": "Ccc.B22.DE14", "type": "choice", "required": true, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.B22.DE14", + "code": "Ccc.B22.DE14", "display": "Unable to Perform Oral Fluid Test" } } @@ -514,18 +514,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='stable-child').repeat(item).where(linkId='EmCare.B7.DE09').answer.first().value = true or %resource.repeat(item).where(linkId='stable-child').repeat(item).where(linkId='EmCare.B7.DE10').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='stable-child').repeat(item).where(linkId='Ccc.B7.DE09').answer.first().value = true or %resource.repeat(item).where(linkId='stable-child').repeat(item).where(linkId='Ccc.B7.DE10').answer.first().value = true" } }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='stable-child').repeat(item).where(linkId='EmCare.B22.FluidTest').repeat(item).where(linkId='EmCare.B22.DE14').answer.first().exists() and (%resource.repeat(item).where(linkId='DS').answer.first().value = true or %resource.repeat(item).where(linkId='stable-child').repeat(item).where(linkId='EmCare.B22.FluidTest').repeat(item).where(linkId='EmCare.B22.DE08').answer.where(value.code='EmCare.B22.DE09').exists() or %resource.repeat(item).where(linkId='stable-child').repeat(item).where(linkId='EmCare.B22.FluidTest').repeat(item).where(linkId='EmCare.B22.DE08').answer.where(value.code='EmCare.B22.DE10').exists() )" + "expression": "%resource.repeat(item).where(linkId='stable-child').repeat(item).where(linkId='Ccc.B22.FluidTest').repeat(item).where(linkId='Ccc.B22.DE14').answer.first().exists() and (%resource.repeat(item).where(linkId='DS').answer.first().value = true or %resource.repeat(item).where(linkId='stable-child').repeat(item).where(linkId='Ccc.B22.FluidTest').repeat(item).where(linkId='Ccc.B22.DE08').answer.where(value.code='Ccc.B22.DE09').exists() or %resource.repeat(item).where(linkId='stable-child').repeat(item).where(linkId='Ccc.B22.FluidTest').repeat(item).where(linkId='Ccc.B22.DE08').answer.where(value.code='Ccc.B22.DE10').exists() )" } } ], - "linkId": "EmCare.B22.DE14a", + "linkId": "Ccc.B22.DE14a", "text": "Completely Unable to Drink or Vomits Immediately / Everything", "type": "boolean", "required": false, @@ -541,11 +541,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='stable-child').repeat(item).where(linkId='EmCare.B22.FluidTest').repeat(item).where(linkId='EmCare.B22.DE14').answer.first().value = true and %resource.repeat(item).where(linkId='stable-child').repeat(item).where(linkId='EmCare.B7.DE09').answer.first().value= false and %resource.repeat(item).where(linkId='stable-child').repeat(item).where(linkId='EmCare.B7.DE10').answer.first().value = false" + "expression": "%resource.repeat(item).where(linkId='stable-child').repeat(item).where(linkId='Ccc.B22.FluidTest').repeat(item).where(linkId='Ccc.B22.DE14').answer.first().value = true and %resource.repeat(item).where(linkId='stable-child').repeat(item).where(linkId='Ccc.B7.DE09').answer.first().value= false and %resource.repeat(item).where(linkId='stable-child').repeat(item).where(linkId='Ccc.B7.DE10').answer.first().value = false" } } ], - "linkId": "EmCare.B22.DE15", + "linkId": "Ccc.B22.DE15", "text": "Has the Child had anything to drink today?", "type": "boolean", "required": false, @@ -557,11 +557,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='stable-child').repeat(item).where(linkId='EmCare.B22.FluidTest').repeat(item).where(linkId='EmCare.B22.DE15').answer.first().value = true" + "expression": "%resource.repeat(item).where(linkId='stable-child').repeat(item).where(linkId='Ccc.B22.FluidTest').repeat(item).where(linkId='Ccc.B22.DE15').answer.first().value = true" } } ], - "linkId": "EmCare.B22.DE16", + "linkId": "Ccc.B22.DE16", "text": "How did the child last drink", "type": "choice", "required": false, @@ -569,36 +569,36 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE09", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE09", "display": "Completely Unable to Drink" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE10", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE10", "display": "Vomits Immediately / Everything" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE11", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE11", "display": "Drinks Poorly" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE12", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE12", "display": "Drinks Eagerly / Thirstily" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.B22.DE13", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.B22.DE13", "display": "Drinks Normally" } } diff --git a/input/resources/questionnaire/questionnaire-emcare.treatment.json b/input/resources/questionnaire/questionnaire-Ccc.treatment.json similarity index 88% rename from input/resources/questionnaire/questionnaire-emcare.treatment.json rename to input/resources/questionnaire/questionnaire-Ccc.treatment.json index 7b683f6c..0a6f5505 100644 --- a/input/resources/questionnaire/questionnaire-emcare.treatment.json +++ b/input/resources/questionnaire/questionnaire-Ccc.treatment.json @@ -1,6 +1,6 @@ { "resourceType": "Questionnaire", - "id": "emcare.treatment", + "id": "Ccc.treatment", "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire" @@ -25,16 +25,16 @@ }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap", - "valueCanonical": "https://smart.who.int/ccc/StructureMap/emcare.treatment" + "valueCanonical": "https://smart.who.int/ccc/StructureMap/Ccc.treatment" }, { "url": "http://hl7.org/fhir/StructureDefinition/cqf-library", - "valueCanonical": "https://smart.who.int/ccc/Library/emcaretreatment" + "valueCanonical": "https://smart.who.int/ccc/Library/Ccctreatment" } ], - "url": "https://smart.who.int/ccc/Questionnaire/emcare.treatment", - "name": "EmCare.Treatment", - "title": "EmCare.Treatment", + "url": "https://smart.who.int/ccc/Questionnaire/Ccc.treatment", + "name": "Ccc.Treatment", + "title": "Ccc.Treatment", "status": "active", "experimental": false, "subjectType": [ @@ -81,11 +81,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE01').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE01').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE01", + "linkId": "Ccc.C10.IT.DE01", "text": "

Very Severe Disease

\n\n\t

\u27a2 Give one dose of rectal diazepam if convulsing now, repeat after 10 minutes if convulsion has not stopped

\n\n\t

\u27a2 Give any pre-referral treatment immediately

\n\n\t

\u27a2 Treat to prevent low blood sugar

\n\n\t

\u27a2 Keep the child warm

\n\n\t

\u27a2 Refer URGENTLY to hospital*.

\n\n\t

*Exception: If lethargy is the only sign and child is dehydrated, rehydrated and assess.

", "type": "display", "required": false, @@ -97,11 +97,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE02').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE02').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE02", + "linkId": "Ccc.C10.IT.DE02", "text": "

Severe Pneumonia or Very Severe Disease

\n\n\t

\u27a2 Give first dose of intramuscular Cefotaxime

\n\n\t

\u27a2If wheezing present, give one dose of rapid acting bronchodilator* pre-referral

\n\n\t

\u27a2Treat the child to prevent low blood sugar

\n\n\t

\u27a2Refer URGENTLY to hospital

\n\n\t

*Nebulized salbutamol, salbutamol inhaler with spacer, or subcutaneous epinephrine (adrenaline)

", "type": "display", "required": false, @@ -113,11 +113,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE03').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE03').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE03", + "linkId": "Ccc.C10.IT.DE03", "text": "

Pneumonia

\n\n\t

\u27a2**Give oral Amoxicillin twice daily for 5 days**

\n\n\t

\u27a2If wheezing (or disappeared after inhaled salbutamol) give inhaled or oral salbutamol three times a day for 5 days*

\n\n\t

\u27a2Soothe the throat and relieve the cough with a safe remedy.

\n\n\t

\u27a2If coughing for \u226514 days or recurrent wheeze, refer for possible TB or asthma assessment

\n\n\t

\u27a2Advise mother when to return immediately

\n\n\t

\u27a2Follow-up in 3 days

\n\n\t

\u27a2Give oral Zinc once daily for 10-14 days.

\n\n\t

*If inhaled bronchodilator is not available, oral salbutamol may be tried but not recommended for treatment of severe acute wheeze.

", "type": "display", "required": false, @@ -129,11 +129,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE04').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE04').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE04", + "linkId": "Ccc.C10.IT.DE04", "text": "

Cough or Cold

\n\n\t

\u27a2If wheezing (or disappeared after inhaled salbutamol) give inhaled or oral salbutamol three times a day for 5 days**

\n\n\t

\u27a2Soothe the throat and relieve the cough with a safe remedy.

\n\n\t

\u27a2If coughing for \u226514 days or recurrent wheeze, refer for possible TB or asthma assessment

\n\n\t

\u27a2Advise mother when to return immediately

\n\n\t

\u27a2Follow-up in 5 days if not improving

", "type": "display", "required": false, @@ -145,11 +145,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE05').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE05').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE05", + "linkId": "Ccc.C10.IT.DE05", "text": "

Severe Dehydration

\n\n\t

\u27a2 If child has no other severe classification:* Give fluid for severe dehydration (plan C) OR

\n\n\t

\u27a2 If child also has another severe classification:

\n\n * Refer URGENTLY to hospital with mother giving frequent sips of ORS on the way.\n * Advise the mother to continue breastfeeding.\n\n\t

\u27a2If child is 2 years or older and there is cholera in your area, give oral co-trimoxazole twice daily for 3 days or oral erythromycin 4 times a day for 3 days for cholera.

", "type": "display", "required": false, @@ -161,11 +161,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE06').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE06').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE06", + "linkId": "Ccc.C10.IT.DE06", "text": "

Some Dehydration

\n\n\t

\u27a2Give Plan B for some dehydration:

\n\n\t\n\n\t\n\n\t

\u27a2 If child also has another severe classification:

\n\n\t\n\n\t

\u27a2Advise mother when to return immediately.

\n\n\t

\u27a2Follow-up in 5 days if not improving.

", "type": "display", "required": false, @@ -177,11 +177,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE07').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE07').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE07", + "linkId": "Ccc.C10.IT.DE07", "text": "

No Dehydration

\n\n\t

\u27a2Give Plan A for no dehydration:

\n\n\t\n\n\t

\u27a2 If child also has another severe classification:

\n\n\t\n\n\t

\u27a2Advise mother when to return immediately.

\n\n\t

\u27a2Follow-up in 5 days if not improving.

", "type": "display", "required": false, @@ -193,11 +193,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE08').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE08').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE08", + "linkId": "Ccc.C10.IT.DE08", "text": "

Severe Persistent Diarrhoea

\n\n\t

\u27a2Treat dehydration before referral unless the child has another severe classification.

\n\n\t

\u27a2Refer to hospital.

", "type": "display", "required": false, @@ -209,11 +209,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE09').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE09').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE09", + "linkId": "Ccc.C10.IT.DE09", "text": "

Persistent Diarrhoea

\n\n\t

\u27a2Advise the mother on feeding a child who has persistent diarrhoea.

\n\n\t

\u27a2Give multivitamins and minerals (including zinc once daily) for 14 days.

\n\n\t

\u27a2Follow-up in 5 days.

", "type": "display", "required": false, @@ -225,11 +225,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE10').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE10').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE10", + "linkId": "Ccc.C10.IT.DE10", "text": "

Possible Shigella

\n\n\t

\u27a2Treat dehydration before referral unless the child has another severe classification.

\n\n\t

\u27a2Refer to hospital.

", "type": "display", "required": false, @@ -241,11 +241,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE11').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE11').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE11", + "linkId": "Ccc.C10.IT.DE11", "text": "

Dysentery

\n\n\t

\u27a2Give Oral Metronidazole three times daily for 10 days.

\n\n\t

\u27a2Treat dehydration if present.

\n\n\t

\u27a2Follow-up in 3 days.

", "type": "display", "required": false, @@ -257,11 +257,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE12').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE12').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE12", + "linkId": "Ccc.C10.IT.DE12", "text": "

Throat Abscess or Possible Diptheria

\n\n\t

\u27a2 Give first dose of intramuscular Procaine Penicillin pre-referral; if unavailable or allergic to penicillin give first dose of oral Erythromycin pre-referral.

\n\n\t

\u27a2 Give one dose of oral Paracetamol for pain or high fever (38.5\u00b0C or above).

\n\n\t

\u27a2 REFER URGENTLY to hospital.

", "type": "display", "required": false, @@ -273,11 +273,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE13').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE13').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE13", + "linkId": "Ccc.C10.IT.DE13", "text": "

Streptococcal Sore Throat

\n\n\t

\u27a2 Give single dose of intramuscular benzathine penicillin, or if unavailable give oral amoxicillin twice daily for 10 days; if allergic to penicillin give oral erythromycin 4 times daily for 10 days

\n\n\t

\u27a2 **Give oral paracetamol for pain or high fever (38.5\u00b0C or above), continue to give every 6 hours (4 times / day) until pain and/or high fever gone. **

\n\n\t

\u27a2 Soothe the throat with a safe remedy.

\n\n\t

\u27a2 Follow-up in 5 days if not improving.

\n\n\t

\u27a2 Advise the mother when to return immediately

", "type": "display", "required": false, @@ -289,11 +289,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE14').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE14').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE14", + "linkId": "Ccc.C10.IT.DE14", "text": "h1.Non-Streptococcal Sore Throat

\n\n\t

\u27a2 Give oral paracetamol for pain or high fever (38.5\u00b0C or above), continue to give every 6 hours (4 times / day) until pain/high fever gone.

\n\n\t

\u27a2 Soothe the throat with a safe remedy.

\n\n\t

\u27a2 Follow-up in 5 days if not improving.

\n\n\t

\u27a2 Advise the mother when to return immediately", "type": "display", "required": false, @@ -305,11 +305,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE15').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE15').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE15", + "linkId": "Ccc.C10.IT.DE15", "text": "

No Throat Problem

\n\n\t

\u27a2 Give oral paracetamol for pain or high fever (38.5\u00b0C or above), continue to give every 6 hours (4 times / day) until pain /high fever gone.

\n\n\t

\u27a2 Advise the mother when to return immediately

", "type": "display", "required": false, @@ -321,11 +321,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE16').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE16').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE16", + "linkId": "Ccc.C10.IT.DE16", "text": "

Mastoiditis

\n\n\t

\u27a2 Give first dose of intramuscular Cefotaxime

\n\n\t

\u27a2 Give one dose of oral Paracetamol for pain or high fever (38.5\u00b0C or above).

\n\n\t

\u27a2 Refer URGENTLY to hospital

", "type": "display", "required": false, @@ -337,11 +337,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE17').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE17').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE17", + "linkId": "Ccc.C10.IT.DE17", "text": "

Acute Ear Infection

\n\n\t

\u27a2 Give an appropriate oral antibiotic:

\n\n\t

\u00a0\u00a0\u00a0\u00a0 * First-line: Oral Amoxicillin twice daily for 10 days\n\u00a0\u00a0\u00a0\u00a0 * Second-line: Oral Co-trimoxazole twice daily for 10 days\n\u00a0\u00a0\u00a0\u00a0 * If allergic to amoxicillin and co-trimoxazole, give Oral Erythromycin 4 times daily for 10 days

\n\n\t

\u27a2 Give oral paracetamol for pain or high fever (38.5\u00b0C or above), continue to give every 6 hours (4 times / day) until pain/high fever gone.

\n\n\t

\u27a2 If ear discharge: Dry the ear by wicking at least 3 times daily

\n\n\t

\u27a2 Advise the mother when to return immediately.

\n\n\t

\u27a2 Follow-up in 5 days

", "type": "display", "required": false, @@ -353,11 +353,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE18').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE18').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE18", + "linkId": "Ccc.C10.IT.DE18", "text": "

Chronic Ear Infection

\n\n\t

\u27a2 Dry the ear by wicking

\n\n\t

\u27a2 Refer to ENT specialist.

\n\n\t

\u27a2 If ear pain or fever, give an appropriate oral antibiotic:

\n\n\t\n\n\t

\u27a2**Give one dose of oral Paracetamol in clinic for pain or high fever (38.5\u00b0C or above),** continue to give every 6 hours (4 times / day) until pain/high fever gone.

", "type": "display", "required": false, @@ -369,11 +369,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE19').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE19').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE19", + "linkId": "Ccc.C10.IT.DE19", "text": "

No Ear Infection

\n\n\t

\u27a2No treatment

\n\n\t

\u27a2Refer to ENT specialist.

", "type": "display", "required": false, @@ -385,11 +385,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE20').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE20').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE20", + "linkId": "Ccc.C10.IT.DE20", "text": "

Very Severe Febrile Disease

\n\n\t

\u27a2 Give first dose of intramuscular Cefotaxime

\n\n\t

\u27a2 Treat the child to prevent low blood sugar

\n\n\t

\u27a2 Give one dose of oral Paracetamol for high fever (38.5\u00b0C or above).

\n\n\t

\u27a2 Refer URGENTLY to hospital

", "type": "display", "required": false, @@ -401,11 +401,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE21').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE21').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE21", + "linkId": "Ccc.C10.IT.DE21", "text": "

Fever: Possible Bacterial Infection

\n\n\t

\u27a2 Treat apparent cause of fever.

\n\n\t

\u27a2 Give one dose of oral Paracetamol in clinic for high fever (38.5\u00b0C or above). continue to give every 6 hours (4 times / day) until high fever gone.

\n\n\t

\u27a2 Follow up in 3 days if fever persists

\n\n\t

\u27a2 Advise the mother when to return immediately

\n\n\t

\u27a2 If fever present every day for more than 7 days, refer for assessment

", "type": "display", "required": false, @@ -417,11 +417,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE22').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE22').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE22", + "linkId": "Ccc.C10.IT.DE22", "text": "

Fever: Bacterial Infection Unlikely

\n\n\t

\u27a2 Give one dose of oral Paracetamol in clinic for high fever (38.5\u00b0C or above). continue to give every 6 hours (4 times / day) until high fever gone.

\n\n\t

\u27a2 Follow up in 3 days if fever persists

\n\n\t

\u27a2 Advise the mother when to return immediately

\n\n\t

\u27a2 If fever present every day for more than 7 days, refer for assessment

", "type": "display", "required": false, @@ -433,11 +433,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE23').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE23').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE23", + "linkId": "Ccc.C10.IT.DE23", "text": "

Severe Complicated Measles

\n\n\t

\u27a2 Give first dose of oral Vitamin A if the child has not had a dose within the past month and is not on RUTF

\n\n\t

\u27a2 Give first dose of Intramuscular Cefotaxime

\n\n\t

\u27a2 Give one dose of oral Paracetamol for high fever (38.5\u00b0C or above).

\n\n\t

\u27a2 If clouding of the of cornea or pus draining from the eye, apply Tetracycline eye ointment 4 times daily until there is no pus discharge

\n\n\t

\u27a2 Treat to prevent low blood sugar.

\n\n\t

\u27a2 Refer URGENTLY to hospital.

", "type": "display", "required": false, @@ -449,11 +449,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE24').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE24').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE24", + "linkId": "Ccc.C10.IT.DE24", "text": "

Measles with eye or mouth complication

\n\n\t

\u27a2 Give oral Vitamin A if the child has not had a dose within the past month and is not on RUTF – first dose in clinic and one dose to give at home the next day

\n\n\t

\u27a2 If pus draining from the eye, apply Tetracycline eye ointment 4 times daily until there is no pus discharge

\n\n\t

\u27a2 If mouth ulcers, treat twice daily with gentian violet until 48 hrs after the ulcers have been cured

\n\n\t

\u27a2 **Give one dose of oral Paracetamol in clinic for pain or high fever (38.5\u00b0C or above), continue to give every 6 hours (4 times / day) until pain/high fever gone.

\n\n\t

\u27a2 Follow up in 3 days

\n\n\t

\u27a2 Advise mother when to return immediately

", "type": "display", "required": false, @@ -465,11 +465,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE25').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE25').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE25", + "linkId": "Ccc.C10.IT.DE25", "text": "

Possible Measles

\n\n\t

\u27a2 Send for blood sample

\n\n\t

\u27a2 Give oral Vitamin A if the child has not had a dose within the past month and is not on RUTF – first dose in clinic and one dose to give at home the next day

\n\n\t

\u27a2 Advise mother when to return immediately.

", "type": "display", "required": false, @@ -481,11 +481,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE42').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE42').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE42", + "linkId": "Ccc.C10.IT.DE42", "text": "

Severe Anaemia

\n\n\t

\u27a2Treat to prevent low blood sugar

\n\n\t

\u27a2Refer URGENTLY to hospital.

", "type": "display", "required": false, @@ -497,11 +497,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE43').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE43').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE43", + "linkId": "Ccc.C10.IT.DE43", "text": "

Anaemia

\n\n\t

\u27a2Give oral Iron* once daily for 14 days

\n\n\t

\u27a2Assess the child`s feeding and counsel the mother on feeding according to the FOOD box or the COUNSEL THE MOTHER chart.

\n\n\t

\u27a2Advise mother when to return immediately

\n\n\t

\u27a2If feeding problem, follow-up in 5 days.

\n\n\t

\u27a2Follow -up in 14 days & do Hb;

\n\n\t

\u27a2If no improvement or rise in Hb refer.

\n\n\t

*Except if the child has sickle cell aneamia or thalassaemia or family history of any hemolytic disease e.g., G6PD which need urgent treatment.\n\t\t

", "type": "display", "required": false, @@ -513,11 +513,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE44').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE44').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE44", + "linkId": "Ccc.C10.IT.DE44", "text": "

No Anaemia

\n\n\t

\u27a2Counsel the mother on feeding.

", "type": "display", "required": false, @@ -529,11 +529,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE26').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE26').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE26", + "linkId": "Ccc.C10.IT.DE26", "text": "

Eye Infection

\n\n\t

\u27a2 If pus draining from the eye, apply Tetracycline eye ointment 4 times daily until there is no pus discharge

", "type": "display", "required": false, @@ -545,11 +545,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE27').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE27').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE27", + "linkId": "Ccc.C10.IT.DE27", "text": "

Clouding of the Cornea

\n\n\t

\u27a2If clouding of the cornea is new or not previously treated, REFER

", "type": "display", "required": false, @@ -561,11 +561,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE28').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE28').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE28", + "linkId": "Ccc.C10.IT.DE28", "text": "

Papular Urticaria or Papular Pruritic Eruptions

\n\n\t

\u27a2Trim finger nails and avoid scratching.

\n\n\t\n\n\t

\u27a2Refer if no improvement after 2 weeks or if underlying malignancy or systemic disease is suspected.

", "type": "display", "required": false, @@ -577,11 +577,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE29').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE29').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE29", + "linkId": "Ccc.C10.IT.DE29", "text": "

Ringworm (tinea)

\n\n\t

\u27a2Avoid sharing clothes, towels and toiletries (e.g. brushes and combs) to prevent spreading the infection to others.

\n\n\t", "type": "display", "required": false, @@ -593,11 +593,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE30').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE30').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE30", + "linkId": "Ccc.C10.IT.DE30", "text": "

Scabies

\n\n\t

\u27a2All close contacts should be treated simultaneously (even if not itchy).

\n\n\t\n\n\t\n\n\t

\u27a2Treat contacts over 6 years of age with Benzyl Benzoate:

\n\n\t", "type": "display", "required": false, @@ -609,11 +609,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE31').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE31').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE31", + "linkId": "Ccc.C10.IT.DE31", "text": "

Chickenpox

\n\n\t

\u27a2Limit contact with other children and pregnant women until all lesions have crusted.

\n\n\t\n\n\t

\u27a2Refer urgently if severe rash or complications (e.g. pneumonia, jaundice, meningitis, myocarditis, hepatitis).

", "type": "display", "required": false, @@ -625,11 +625,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE32').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE32').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE32", + "linkId": "Ccc.C10.IT.DE32", "text": "

Herpes Zoster

\n\n\t

\u27a2Keep lesions clean and dry.\n\t

", "type": "display", "required": false, @@ -641,11 +641,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE33').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE33').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE33", + "linkId": "Ccc.C10.IT.DE33", "text": "

Impetigo

\n\n\t

\u27a2Good personal and household hygiene to avoid spread of infection.

\n\n\t

\u27a2Wash and soak sores in soapy water to soften and remove crusts.

\n\n\t

\u27a2Apply antiseptic 8 hourly: Povidone iodine 5% cream or 10% ointment.

\n\n\t

\u27a2Drain pus if fluctuant.

\n\n\t

\u27a2Give antibiotic if extensive lesions: Cephalexin, oral, 12-25mg/kg/dose 6 hourly for 5 days

\n\n\t

\u27a2Refer urgently if child has fever and or if infection extends to the muscles.

", "type": "display", "required": false, @@ -657,11 +657,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE34').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE34').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE34", + "linkId": "Ccc.C10.IT.DE34", "text": "

Molluscum Contagiosum

\n\n\t

\u27a2Allow to heal spontaneously if few in number.\n\t

\n\n\t

\u00a0\u00a0 – No response to treatment

\n\n\t

\u00a0\u00a0 – Lesions close to the eye (to an ophthalmologist).

", "type": "display", "required": false, @@ -673,11 +673,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE35').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE35').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE35", + "linkId": "Ccc.C10.IT.DE35", "text": "

Warts

\n\n\t

\u27a2May be left alone to wait for improvement

\n\n\t

\u27a2Apply salicylic acid 15-20% to the warts\n\t\t

\n\n\t

\u27a2Refer if extensive

", "type": "display", "required": false, @@ -689,11 +689,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE36').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE36').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE36", + "linkId": "Ccc.C10.IT.DE36", "text": "

Seborrhoeic Dermatitis

\n\n\n\t

\u27a2Apply hydrocortisone 1% cream to the face and flexures.

\n\n\t", "type": "display", "required": false, @@ -705,11 +705,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE37').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE37').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE37", + "linkId": "Ccc.C10.IT.DE37", "text": "

Fixed Drug Reaction

\n\n\t

\u27a2 Stop the offending medication.

\n\n\t", "type": "display", "required": false, @@ -721,11 +721,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE38').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE38').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE38", + "linkId": "Ccc.C10.IT.DE38", "text": "

Eczema

\n\n\t

\u27a2 Bath in warm water using soap substitutes only once daily.

\n\n\t", "type": "display", "required": false, @@ -737,11 +737,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE39').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE39').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE39", + "linkId": "Ccc.C10.IT.DE39", "text": "

Steven Johnson Syndrome (SJS)

\n\n\t

\u27a2 Stop medication

\n\n\t", "type": "display", "required": false, @@ -753,11 +753,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE40').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE40').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE40", + "linkId": "Ccc.C10.IT.DE40", "text": "h1.Mouth Sores or Ulcer

\n\n\t

\u27a2 Treat mouth ulcers twice daily with gentian violet until 48 hrs after the ulcers have been cured

\n\n\t

\u27a2 Give oral Paracetamol every 6 hours (4 times / day) for pain until pain is gone

\n\n\t

\u27a2 Refer if mouth ulcers deep or extensive", "type": "display", "required": false, @@ -769,11 +769,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE41').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE41').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE41", + "linkId": "Ccc.C10.IT.DE41", "text": "

Oral Thrush

\n\n\t

\u27a2 Give half-strength gentian violet (0.25%) 4 times daily for 7 days.

", "type": "display", "required": false, @@ -785,11 +785,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE45').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE45').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE45", + "linkId": "Ccc.C10.IT.DE45", "text": "

Very Low Weight for Age

\n\n\t

\u27a2 Refer to nutrition clinic for further assessment

", "type": "display", "required": false, @@ -801,11 +801,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE46').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE46').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE46", + "linkId": "Ccc.C10.IT.DE46", "text": "

Low Weight for Age

\n\n\t

\u27a2 Refer to nutrition clinic for further assessment

", "type": "display", "required": false, @@ -817,11 +817,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE47').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE47').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE47", + "linkId": "Ccc.C10.IT.DE47", "text": "

How Muac or Visual Report of Wasting

\n\n\t

\u27a2 Refer to nutrition clinic for further assessment

", "type": "display", "required": false, @@ -850,11 +850,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE48').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE48').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE48", + "linkId": "Ccc.C10.IT.DE48", "text": "

Possible Serious Bacterial Infection or Very Severe Disease

\n\n\t

\u27a2 Give first dose of intramuscuar (IM) antibiotics

\n\n\t\n\n AND \n\n\t\n\n\t

\u27a2 Treat to prevent low blood sugar

\n\n\t

\u27a2 Advise the mother on how to keep infant warm on the way to hospital

\n\n\t

\u27a2 Refer URGENTLY to hospital

\n\n\t

OR

\n\n\t

\u27a2 If referral REFUSED or NOT FEASIBLE treat in the clinic untill referral is feasible\u00a0 (see charts on pages 12-13, and 19-20 and Treat Possible Serious Bacterial Infection or Very Severe Disease if referral is refused or is not feasible)

", "type": "display", "required": false, @@ -866,11 +866,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE49').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE49').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE49", + "linkId": "Ccc.C10.IT.DE49", "text": "

Pneumonia

\n\n\t

\u27a2 Give oral amoxicillin 2 times per day, for 7 days

\n\n\t

\u27a2 Advise the mother to give home care

\n\n\t

\u27a2 Follow up in 3 days

", "type": "display", "required": false, @@ -882,11 +882,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE50').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE50').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE50", + "linkId": "Ccc.C10.IT.DE50", "text": "

Local Infection

\n\n\t

\u27a2 Give oral amoxicillin 2 times per day, for 5 days

\n\n\t

\u27a2 Teach the mother how to treat local infections at home

\n\n\t

\u27a2 Advise the mother to give home care

\n\n\t

\u27a2 Follow up in 2 days

", "type": "display", "required": false, @@ -898,11 +898,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE51').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE51').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE51", + "linkId": "Ccc.C10.IT.DE51", "text": "

Infection Unlikely

\n\n\t

\u27a2Advise the mother on giving home care to the young infant

", "type": "display", "required": false, @@ -914,11 +914,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE52').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE52').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE52", + "linkId": "Ccc.C10.IT.DE52", "text": "Severe Jaundice

\n\n\t

\u27a2 Treat to prevent low blood sugar

\n\n\t

\u27a2 Advise the mother how to keep the infant warm on the way to the hospital

\n\n\t

\u27a2 Refer URGENTLY to hospital", "type": "display", "required": false, @@ -930,11 +930,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE53').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE53').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE53", + "linkId": "Ccc.C10.IT.DE53", "text": "

Jaundice

\n\n\t

\u27a2Advise the mother to give home care

\n\n\t

\u27a2Advise the mother to return immediately if the infant’s palms or soles appear yellow

\n\n\t

\u27a2If young infant is older than 3 weeks, refer to hospital for assessment

\n\n\t

\u27a2Follow-up in 1 day

", "type": "display", "required": false, @@ -946,11 +946,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE54').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE54').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE54", + "linkId": "Ccc.C10.IT.DE54", "text": "

No Jaundice

\n\n\t

\u27a2Advise the mother on giving home care to the young infant

", "type": "display", "required": false, @@ -962,11 +962,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE55').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE55').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE55", + "linkId": "Ccc.C10.IT.DE55", "text": "

Severe Dehydration

\n\n\t

\u27a2 If infant has no other severe classification:

\n\n\t\n\n\t

\u27a2 If infant has another severe classification:

\n\n\t\n\n\t

\u27a2 Advise the mother how to keep the infant warm on the way to the hospital.

", "type": "display", "required": false, @@ -978,11 +978,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE56').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE56').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE56", + "linkId": "Ccc.C10.IT.DE56", "text": "

Some Dehydration

\n\n\t

\u27a2Give fluid and breastmilk for Some Dehydration (Plan B)

\n\n\t

OR

\n\n\t

\u27a2 If the infant has another severe classification:

\n\n\t\n\n\t

\u27a2Advise the mother when to return immediately

\n\n\t

\u27a2Follow-up in 2 days if no improvement

", "type": "display", "required": false, @@ -994,11 +994,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE57').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE57').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE57", + "linkId": "Ccc.C10.IT.DE57", "text": "

No Dehydration

\n\n\t

\u27a2Give fluids and breastmilk to treat diarrhoea at home (Plan A)

\n\n\t

\u27a2Advise the mother when to return immediately

\n\n\t

\u27a2Follow-up in 2 days if no improvement

", "type": "display", "required": false, @@ -1010,11 +1010,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE58').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE58').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE58", + "linkId": "Ccc.C10.IT.DE58", "text": "

Very Low Weight for Age

\n\n\t

\u27a2 REFER to hospital for Kangaroo Mother Care

\n\n\t

\u27a2 Treat to prevent low blood sugar

\n\n\t

\u27a2 Advise the mother to keep the young infant warm on the way to hospital

", "type": "display", "required": false, @@ -1026,11 +1026,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE59').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE59').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE59", + "linkId": "Ccc.C10.IT.DE59", "text": "

No Feeding Problem

\n\n\t

\u27a2Advise mother on giving home care to the young infant

\n\n\t

\u27a2Praise the mother for feeding the infant well

\n\n\t

\u27a2If not breastfed, advise mother to continue feeding, and ensure good hygiene

", "type": "display", "required": false, @@ -1042,11 +1042,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='load-EmCare.C10.IT.DE60').answer.first().value=true" + "expression": "%resource.repeat(item).where(linkId='load-Ccc.C10.IT.DE60').answer.first().value=true" } } ], - "linkId": "EmCare.C10.IT.DE60", + "linkId": "Ccc.C10.IT.DE60", "text": "

Feeding Problem and / or Low Weight for Age

\n\n\t

\u27a2Among infants who are breastfed:

\n\n\t\n\n\t

\u27a2Among infants who are not breastfed:

\n\n\t\n\n\t

\u27a2If Low Weight for Age, advise the mother on how to feed and keep the low-weight infant warm at home

\n\n\t

\u27a2If the infant has thrush, teach the mother to treat thrush at home

\n\n\t\n\n\t

\u27a2Follow up Feeding Problem or Thrush in 2 days

\n\n\t

\u27a2Among infants who are breastfed, follow up infants who have Low Weight for Age within 14 days

\n\n\t

\u27a2Among infants who are not breastfed, follow up infants who have Low Weight for Age within 7 days

", "type": "display", "required": false, @@ -1068,11 +1068,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de01" + "expression": "load-Ccc.c10.it.de01" } } ], - "linkId": "load-EmCare.C10.IT.DE01", + "linkId": "load-Ccc.C10.IT.DE01", "type": "boolean", "required": false, "repeats": false @@ -1091,11 +1091,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de02" + "expression": "load-Ccc.c10.it.de02" } } ], - "linkId": "load-EmCare.C10.IT.DE02", + "linkId": "load-Ccc.C10.IT.DE02", "type": "boolean", "required": false, "repeats": false @@ -1114,11 +1114,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de03" + "expression": "load-Ccc.c10.it.de03" } } ], - "linkId": "load-EmCare.C10.IT.DE03", + "linkId": "load-Ccc.C10.IT.DE03", "type": "boolean", "required": false, "repeats": false @@ -1137,11 +1137,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de04" + "expression": "load-Ccc.c10.it.de04" } } ], - "linkId": "load-EmCare.C10.IT.DE04", + "linkId": "load-Ccc.C10.IT.DE04", "type": "boolean", "required": false, "repeats": false @@ -1160,11 +1160,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de05" + "expression": "load-Ccc.c10.it.de05" } } ], - "linkId": "load-EmCare.C10.IT.DE05", + "linkId": "load-Ccc.C10.IT.DE05", "type": "boolean", "required": false, "repeats": false @@ -1183,11 +1183,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de06" + "expression": "load-Ccc.c10.it.de06" } } ], - "linkId": "load-EmCare.C10.IT.DE06", + "linkId": "load-Ccc.C10.IT.DE06", "type": "boolean", "required": false, "repeats": false @@ -1206,11 +1206,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de07" + "expression": "load-Ccc.c10.it.de07" } } ], - "linkId": "load-EmCare.C10.IT.DE07", + "linkId": "load-Ccc.C10.IT.DE07", "type": "boolean", "required": false, "repeats": false @@ -1229,11 +1229,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de08" + "expression": "load-Ccc.c10.it.de08" } } ], - "linkId": "load-EmCare.C10.IT.DE08", + "linkId": "load-Ccc.C10.IT.DE08", "type": "boolean", "required": false, "repeats": false @@ -1252,11 +1252,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de09" + "expression": "load-Ccc.c10.it.de09" } } ], - "linkId": "load-EmCare.C10.IT.DE09", + "linkId": "load-Ccc.C10.IT.DE09", "type": "boolean", "required": false, "repeats": false @@ -1275,11 +1275,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de10" + "expression": "load-Ccc.c10.it.de10" } } ], - "linkId": "load-EmCare.C10.IT.DE10", + "linkId": "load-Ccc.C10.IT.DE10", "type": "boolean", "required": false, "repeats": false @@ -1298,11 +1298,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de11" + "expression": "load-Ccc.c10.it.de11" } } ], - "linkId": "load-EmCare.C10.IT.DE11", + "linkId": "load-Ccc.C10.IT.DE11", "type": "boolean", "required": false, "repeats": false @@ -1321,11 +1321,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de12" + "expression": "load-Ccc.c10.it.de12" } } ], - "linkId": "load-EmCare.C10.IT.DE12", + "linkId": "load-Ccc.C10.IT.DE12", "type": "boolean", "required": false, "repeats": false @@ -1344,11 +1344,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de13" + "expression": "load-Ccc.c10.it.de13" } } ], - "linkId": "load-EmCare.C10.IT.DE13", + "linkId": "load-Ccc.C10.IT.DE13", "type": "boolean", "required": false, "repeats": false @@ -1367,11 +1367,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de14" + "expression": "load-Ccc.c10.it.de14" } } ], - "linkId": "load-EmCare.C10.IT.DE14", + "linkId": "load-Ccc.C10.IT.DE14", "type": "boolean", "required": false, "repeats": false @@ -1390,11 +1390,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de15" + "expression": "load-Ccc.c10.it.de15" } } ], - "linkId": "load-EmCare.C10.IT.DE15", + "linkId": "load-Ccc.C10.IT.DE15", "type": "boolean", "required": false, "repeats": false @@ -1413,11 +1413,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de16" + "expression": "load-Ccc.c10.it.de16" } } ], - "linkId": "load-EmCare.C10.IT.DE16", + "linkId": "load-Ccc.C10.IT.DE16", "type": "boolean", "required": false, "repeats": false @@ -1436,11 +1436,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de17" + "expression": "load-Ccc.c10.it.de17" } } ], - "linkId": "load-EmCare.C10.IT.DE17", + "linkId": "load-Ccc.C10.IT.DE17", "type": "boolean", "required": false, "repeats": false @@ -1459,11 +1459,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de18" + "expression": "load-Ccc.c10.it.de18" } } ], - "linkId": "load-EmCare.C10.IT.DE18", + "linkId": "load-Ccc.C10.IT.DE18", "type": "boolean", "required": false, "repeats": false @@ -1482,11 +1482,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de19" + "expression": "load-Ccc.c10.it.de19" } } ], - "linkId": "load-EmCare.C10.IT.DE19", + "linkId": "load-Ccc.C10.IT.DE19", "type": "boolean", "required": false, "repeats": false @@ -1505,11 +1505,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de20" + "expression": "load-Ccc.c10.it.de20" } } ], - "linkId": "load-EmCare.C10.IT.DE20", + "linkId": "load-Ccc.C10.IT.DE20", "type": "boolean", "required": false, "repeats": false @@ -1528,11 +1528,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de21" + "expression": "load-Ccc.c10.it.de21" } } ], - "linkId": "load-EmCare.C10.IT.DE21", + "linkId": "load-Ccc.C10.IT.DE21", "type": "boolean", "required": false, "repeats": false @@ -1551,11 +1551,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de22" + "expression": "load-Ccc.c10.it.de22" } } ], - "linkId": "load-EmCare.C10.IT.DE22", + "linkId": "load-Ccc.C10.IT.DE22", "type": "boolean", "required": false, "repeats": false @@ -1574,11 +1574,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de23" + "expression": "load-Ccc.c10.it.de23" } } ], - "linkId": "load-EmCare.C10.IT.DE23", + "linkId": "load-Ccc.C10.IT.DE23", "type": "boolean", "required": false, "repeats": false @@ -1597,11 +1597,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de24" + "expression": "load-Ccc.c10.it.de24" } } ], - "linkId": "load-EmCare.C10.IT.DE24", + "linkId": "load-Ccc.C10.IT.DE24", "type": "boolean", "required": false, "repeats": false @@ -1620,11 +1620,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de25" + "expression": "load-Ccc.c10.it.de25" } } ], - "linkId": "load-EmCare.C10.IT.DE25", + "linkId": "load-Ccc.C10.IT.DE25", "type": "boolean", "required": false, "repeats": false @@ -1643,11 +1643,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de42" + "expression": "load-Ccc.c10.it.de42" } } ], - "linkId": "load-EmCare.C10.IT.DE42", + "linkId": "load-Ccc.C10.IT.DE42", "type": "boolean", "required": false, "repeats": false @@ -1666,11 +1666,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de43" + "expression": "load-Ccc.c10.it.de43" } } ], - "linkId": "load-EmCare.C10.IT.DE43", + "linkId": "load-Ccc.C10.IT.DE43", "type": "boolean", "required": false, "repeats": false @@ -1689,11 +1689,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de44" + "expression": "load-Ccc.c10.it.de44" } } ], - "linkId": "load-EmCare.C10.IT.DE44", + "linkId": "load-Ccc.C10.IT.DE44", "type": "boolean", "required": false, "repeats": false @@ -1712,11 +1712,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de26" + "expression": "load-Ccc.c10.it.de26" } } ], - "linkId": "load-EmCare.C10.IT.DE26", + "linkId": "load-Ccc.C10.IT.DE26", "type": "boolean", "required": false, "repeats": false @@ -1735,11 +1735,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de27" + "expression": "load-Ccc.c10.it.de27" } } ], - "linkId": "load-EmCare.C10.IT.DE27", + "linkId": "load-Ccc.C10.IT.DE27", "type": "boolean", "required": false, "repeats": false @@ -1758,11 +1758,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de28" + "expression": "load-Ccc.c10.it.de28" } } ], - "linkId": "load-EmCare.C10.IT.DE28", + "linkId": "load-Ccc.C10.IT.DE28", "type": "boolean", "required": false, "repeats": false @@ -1781,11 +1781,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de29" + "expression": "load-Ccc.c10.it.de29" } } ], - "linkId": "load-EmCare.C10.IT.DE29", + "linkId": "load-Ccc.C10.IT.DE29", "type": "boolean", "required": false, "repeats": false @@ -1804,11 +1804,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de30" + "expression": "load-Ccc.c10.it.de30" } } ], - "linkId": "load-EmCare.C10.IT.DE30", + "linkId": "load-Ccc.C10.IT.DE30", "type": "boolean", "required": false, "repeats": false @@ -1827,11 +1827,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de31" + "expression": "load-Ccc.c10.it.de31" } } ], - "linkId": "load-EmCare.C10.IT.DE31", + "linkId": "load-Ccc.C10.IT.DE31", "type": "boolean", "required": false, "repeats": false @@ -1850,11 +1850,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de32" + "expression": "load-Ccc.c10.it.de32" } } ], - "linkId": "load-EmCare.C10.IT.DE32", + "linkId": "load-Ccc.C10.IT.DE32", "type": "boolean", "required": false, "repeats": false @@ -1873,11 +1873,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de33" + "expression": "load-Ccc.c10.it.de33" } } ], - "linkId": "load-EmCare.C10.IT.DE33", + "linkId": "load-Ccc.C10.IT.DE33", "type": "boolean", "required": false, "repeats": false @@ -1896,11 +1896,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de34" + "expression": "load-Ccc.c10.it.de34" } } ], - "linkId": "load-EmCare.C10.IT.DE34", + "linkId": "load-Ccc.C10.IT.DE34", "type": "boolean", "required": false, "repeats": false @@ -1919,11 +1919,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de35" + "expression": "load-Ccc.c10.it.de35" } } ], - "linkId": "load-EmCare.C10.IT.DE35", + "linkId": "load-Ccc.C10.IT.DE35", "type": "boolean", "required": false, "repeats": false @@ -1942,11 +1942,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de36" + "expression": "load-Ccc.c10.it.de36" } } ], - "linkId": "load-EmCare.C10.IT.DE36", + "linkId": "load-Ccc.C10.IT.DE36", "type": "boolean", "required": false, "repeats": false @@ -1965,11 +1965,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de37" + "expression": "load-Ccc.c10.it.de37" } } ], - "linkId": "load-EmCare.C10.IT.DE37", + "linkId": "load-Ccc.C10.IT.DE37", "type": "boolean", "required": false, "repeats": false @@ -1988,11 +1988,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de38" + "expression": "load-Ccc.c10.it.de38" } } ], - "linkId": "load-EmCare.C10.IT.DE38", + "linkId": "load-Ccc.C10.IT.DE38", "type": "boolean", "required": false, "repeats": false @@ -2011,11 +2011,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de39" + "expression": "load-Ccc.c10.it.de39" } } ], - "linkId": "load-EmCare.C10.IT.DE39", + "linkId": "load-Ccc.C10.IT.DE39", "type": "boolean", "required": false, "repeats": false @@ -2034,11 +2034,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de40" + "expression": "load-Ccc.c10.it.de40" } } ], - "linkId": "load-EmCare.C10.IT.DE40", + "linkId": "load-Ccc.C10.IT.DE40", "type": "boolean", "required": false, "repeats": false @@ -2057,11 +2057,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de41" + "expression": "load-Ccc.c10.it.de41" } } ], - "linkId": "load-EmCare.C10.IT.DE41", + "linkId": "load-Ccc.C10.IT.DE41", "type": "boolean", "required": false, "repeats": false @@ -2080,11 +2080,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de45" + "expression": "load-Ccc.c10.it.de45" } } ], - "linkId": "load-EmCare.C10.IT.DE45", + "linkId": "load-Ccc.C10.IT.DE45", "type": "boolean", "required": false, "repeats": false @@ -2103,11 +2103,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de46" + "expression": "load-Ccc.c10.it.de46" } } ], - "linkId": "load-EmCare.C10.IT.DE46", + "linkId": "load-Ccc.C10.IT.DE46", "type": "boolean", "required": false, "repeats": false @@ -2126,11 +2126,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de47" + "expression": "load-Ccc.c10.it.de47" } } ], - "linkId": "load-EmCare.C10.IT.DE47", + "linkId": "load-Ccc.C10.IT.DE47", "type": "boolean", "required": false, "repeats": false @@ -2149,11 +2149,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de48" + "expression": "load-Ccc.c10.it.de48" } } ], - "linkId": "load-EmCare.C10.IT.DE48", + "linkId": "load-Ccc.C10.IT.DE48", "type": "boolean", "required": false, "repeats": false @@ -2172,11 +2172,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de49" + "expression": "load-Ccc.c10.it.de49" } } ], - "linkId": "load-EmCare.C10.IT.DE49", + "linkId": "load-Ccc.C10.IT.DE49", "type": "boolean", "required": false, "repeats": false @@ -2195,11 +2195,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de50" + "expression": "load-Ccc.c10.it.de50" } } ], - "linkId": "load-EmCare.C10.IT.DE50", + "linkId": "load-Ccc.C10.IT.DE50", "type": "boolean", "required": false, "repeats": false @@ -2218,11 +2218,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de51" + "expression": "load-Ccc.c10.it.de51" } } ], - "linkId": "load-EmCare.C10.IT.DE51", + "linkId": "load-Ccc.C10.IT.DE51", "type": "boolean", "required": false, "repeats": false @@ -2241,11 +2241,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de52" + "expression": "load-Ccc.c10.it.de52" } } ], - "linkId": "load-EmCare.C10.IT.DE52", + "linkId": "load-Ccc.C10.IT.DE52", "type": "boolean", "required": false, "repeats": false @@ -2264,11 +2264,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de53" + "expression": "load-Ccc.c10.it.de53" } } ], - "linkId": "load-EmCare.C10.IT.DE53", + "linkId": "load-Ccc.C10.IT.DE53", "type": "boolean", "required": false, "repeats": false @@ -2287,11 +2287,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de54" + "expression": "load-Ccc.c10.it.de54" } } ], - "linkId": "load-EmCare.C10.IT.DE54", + "linkId": "load-Ccc.C10.IT.DE54", "type": "boolean", "required": false, "repeats": false @@ -2310,11 +2310,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de55" + "expression": "load-Ccc.c10.it.de55" } } ], - "linkId": "load-EmCare.C10.IT.DE55", + "linkId": "load-Ccc.C10.IT.DE55", "type": "boolean", "required": false, "repeats": false @@ -2333,11 +2333,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de56" + "expression": "load-Ccc.c10.it.de56" } } ], - "linkId": "load-EmCare.C10.IT.DE56", + "linkId": "load-Ccc.C10.IT.DE56", "type": "boolean", "required": false, "repeats": false @@ -2356,11 +2356,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de57" + "expression": "load-Ccc.c10.it.de57" } } ], - "linkId": "load-EmCare.C10.IT.DE57", + "linkId": "load-Ccc.C10.IT.DE57", "type": "boolean", "required": false, "repeats": false @@ -2379,11 +2379,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de58" + "expression": "load-Ccc.c10.it.de58" } } ], - "linkId": "load-EmCare.C10.IT.DE58", + "linkId": "load-Ccc.C10.IT.DE58", "type": "boolean", "required": false, "repeats": false @@ -2402,11 +2402,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de59" + "expression": "load-Ccc.c10.it.de59" } } ], - "linkId": "load-EmCare.C10.IT.DE59", + "linkId": "load-Ccc.C10.IT.DE59", "type": "boolean", "required": false, "repeats": false @@ -2425,11 +2425,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql-identifier", - "expression": "load-emcare.c10.it.de60" + "expression": "load-Ccc.c10.it.de60" } } ], - "linkId": "load-EmCare.C10.IT.DE60", + "linkId": "load-Ccc.C10.IT.DE60", "type": "boolean", "required": false, "repeats": false diff --git a/input/resources/questionnaire/questionnaire-emcarea.registration.p.json b/input/resources/questionnaire/questionnaire-Ccca.registration.p.json similarity index 85% rename from input/resources/questionnaire/questionnaire-emcarea.registration.p.json rename to input/resources/questionnaire/questionnaire-Ccca.registration.p.json index 9ccc56ad..a8733c02 100644 --- a/input/resources/questionnaire/questionnaire-emcarea.registration.p.json +++ b/input/resources/questionnaire/questionnaire-Ccca.registration.p.json @@ -1,6 +1,6 @@ { "resourceType": "Questionnaire", - "id": "emcarea.registration.p", + "id": "Ccca.registration.p", "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire" @@ -52,7 +52,7 @@ "valueExpression": { "name": "dol", "language": "text/fhirpath", - "expression": "iif( %resource.repeat(item).where(linkId='EmCare.A.DE14.d').answer.first().exists() ,%resource.repeat(item).where(linkId='EmCare.A.DE14.d').answer.first().value , 0 days)" + "expression": "iif( %resource.repeat(item).where(linkId='Ccc.A.DE14.d').answer.first().exists() ,%resource.repeat(item).where(linkId='Ccc.A.DE14.d').answer.first().value , 0 days)" } }, { @@ -60,7 +60,7 @@ "valueExpression": { "name": "wol", "language": "text/fhirpath", - "expression": "iif( %resource.repeat(item).where(linkId='EmCare.A.DE14.w').answer.first().exists(),%resource.repeat(item).where(linkId='EmCare.A.DE14.w').answer.first().value , 0 weeks)" + "expression": "iif( %resource.repeat(item).where(linkId='Ccc.A.DE14.w').answer.first().exists(),%resource.repeat(item).where(linkId='Ccc.A.DE14.w').answer.first().value , 0 weeks)" } }, { @@ -68,7 +68,7 @@ "valueExpression": { "name": "mol", "language": "text/fhirpath", - "expression": "iif( %resource.repeat(item).where(linkId='EmCare.A.DE13.mo').answer.first().exists(),%resource.repeat(item).where(linkId='EmCare.A.DE13.mo').answer.first().value , 0 months)" + "expression": "iif( %resource.repeat(item).where(linkId='Ccc.A.DE13.mo').answer.first().exists(),%resource.repeat(item).where(linkId='Ccc.A.DE13.mo').answer.first().value , 0 months)" } }, { @@ -76,7 +76,7 @@ "valueExpression": { "name": "yol", "language": "text/fhirpath", - "expression": "iif( %resource.repeat(item).where(linkId='EmCare.A.DE13.a').answer.first().exists(),%resource.repeat(item).where(linkId='EmCare.A.DE13.a').answer.first().value, 0 years)" + "expression": "iif( %resource.repeat(item).where(linkId='Ccc.A.DE13.a').answer.first().exists(),%resource.repeat(item).where(linkId='Ccc.A.DE13.a').answer.first().value, 0 years)" } }, { @@ -89,12 +89,12 @@ }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap", - "valueCanonical": "https://smart.who.int/ccc/StructureMap/emcarea.registration.p" + "valueCanonical": "https://smart.who.int/ccc/StructureMap/Ccca.registration.p" } ], - "url": "https://smart.who.int/ccc/Questionnaire/emcarea.registration.p", - "name": "EmCareA.Registration.P", - "title": "EmCareA.Registration.P", + "url": "https://smart.who.int/ccc/Questionnaire/Ccca.registration.p", + "name": "CccA.Registration.P", + "title": "CccA.Registration.P", "status": "active", "experimental": false, "subjectType": [ @@ -102,7 +102,7 @@ ], "item": [ { - "linkId": "EmCare.A.DE01", + "linkId": "Ccc.A.DE01", "text": "National Unique identification", "type": "string", "required": false, @@ -124,14 +124,14 @@ } } ], - "linkId": "EmCare.A.DE03", + "linkId": "Ccc.A.DE03", "type": "choice", "required": false, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.A.DE03", + "code": "Ccc.A.DE03", "display": "Child's Identity unknown/prefer to remain anonymous" } } @@ -143,11 +143,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.A.DE03').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.A.DE03').answer.first().empty()" } } ], - "linkId": "EmCare.A.DE04", + "linkId": "Ccc.A.DE04", "text": "First Name", "type": "string", "required": true, @@ -159,11 +159,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.A.DE03').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.A.DE03').answer.first().empty()" } } ], - "linkId": "EmCare.A.DE05", + "linkId": "Ccc.A.DE05", "text": "Middle Name", "type": "string", "required": false, @@ -175,11 +175,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.A.DE03').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.A.DE03').answer.first().empty()" } } ], - "linkId": "EmCare.A.DE06", + "linkId": "Ccc.A.DE06", "text": "Last Name", "type": "string", "required": true, @@ -191,7 +191,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.A.DE11').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.A.DE11').answer.first().empty()" } } ], @@ -224,14 +224,14 @@ } } ], - "linkId": "EmCare.A.DE11", + "linkId": "Ccc.A.DE11", "type": "choice", "required": false, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.A.DE11", + "code": "Ccc.A.DE11", "display": "Date of Birth not known" } } @@ -256,11 +256,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.A.DE11').answer.first().exists()" + "expression": "%resource.repeat(item).where(linkId='Ccc.A.DE11').answer.first().exists()" } } ], - "linkId": "EmCare.A.DE12", + "linkId": "Ccc.A.DE12", "text": "Provide an estimated age or estimated date of birth", "type": "choice", "required": false, @@ -268,22 +268,22 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.A.DE13", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.A.DE13", "display": "Estimated age in years/months for child (2 months or older)" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.A.DE14", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.A.DE14", "display": "Estimated age in weeks/days for young infant (under 2 months old)" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.A.DE15", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.A.DE15", "display": "Estimated Date of Birth" } } @@ -295,11 +295,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.A.DE12').answer.first().value.code = 'EmCare.A.DE15'" + "expression": "%resource.repeat(item).where(linkId='Ccc.A.DE12').answer.first().value.code = 'Ccc.A.DE15'" } } ], - "linkId": "EmCare.A.DE15.1", + "linkId": "Ccc.A.DE15.1", "text": "Estimated Date of Birth", "type": "date", "required": false, @@ -311,7 +311,7 @@ "extension": [ { "url": "key", - "valueId": "EmCare.A.DE14.d" + "valueId": "Ccc.A.DE14.d" }, { "url": "expression", @@ -342,11 +342,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.A.DE12').answer.first().value.code = 'EmCare.A.DE14'" + "expression": "%resource.repeat(item).where(linkId='Ccc.A.DE12').answer.first().value.code = 'Ccc.A.DE14'" } } ], - "linkId": "EmCare.A.DE14.d", + "linkId": "Ccc.A.DE14.d", "text": "Age in days", "type": "quantity", "required": false, @@ -358,7 +358,7 @@ "extension": [ { "url": "key", - "valueId": "EmCare.A.DE14.w" + "valueId": "Ccc.A.DE14.w" }, { "url": "expression", @@ -389,11 +389,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.A.DE12').answer.first().value.code = 'EmCare.A.DE14'" + "expression": "%resource.repeat(item).where(linkId='Ccc.A.DE12').answer.first().value.code = 'Ccc.A.DE14'" } } ], - "linkId": "EmCare.A.DE14.w", + "linkId": "Ccc.A.DE14.w", "text": "Age in weeks", "type": "quantity", "required": false, @@ -405,7 +405,7 @@ "extension": [ { "url": "key", - "valueId": "EmCare.A.DE13.mo" + "valueId": "Ccc.A.DE13.mo" }, { "url": "expression", @@ -436,11 +436,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.A.DE12').answer.first().value.code = 'EmCare.A.DE13'" + "expression": "%resource.repeat(item).where(linkId='Ccc.A.DE12').answer.first().value.code = 'Ccc.A.DE13'" } } ], - "linkId": "EmCare.A.DE13.mo", + "linkId": "Ccc.A.DE13.mo", "text": "Age in months", "type": "quantity", "required": false, @@ -452,7 +452,7 @@ "extension": [ { "url": "key", - "valueId": "EmCare.A.DE13.a" + "valueId": "Ccc.A.DE13.a" }, { "url": "expression", @@ -483,11 +483,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.A.DE12').answer.first().value.code = 'EmCare.A.DE13'" + "expression": "%resource.repeat(item).where(linkId='Ccc.A.DE12').answer.first().value.code = 'Ccc.A.DE13'" } } ], - "linkId": "EmCare.A.DE13.a", + "linkId": "Ccc.A.DE13.a", "text": "Age in years", "type": "quantity", "required": false, @@ -529,11 +529,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%resource.repeat(item).where(linkId='EmCare.A.DE08').answer.first().exists() or %resource.repeat(item).where(linkId='EmCare.A.DE12').answer.first().value.code = 'EmCare.A.DE15') and %resource.repeat(item).where(linkId='eweek').answer.first().value < 4 'weeks'" + "expression": "(%resource.repeat(item).where(linkId='Ccc.A.DE08').answer.first().exists() or %resource.repeat(item).where(linkId='Ccc.A.DE12').answer.first().value.code = 'Ccc.A.DE15') and %resource.repeat(item).where(linkId='eweek').answer.first().value < 4 'weeks'" } } ], - "linkId": "EmCare.A.DE13.2.d", + "linkId": "Ccc.A.DE13.2.d", "text": "Estimated age in days", "type": "quantity", "required": false, @@ -556,11 +556,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%resource.repeat(item).where(linkId='EmCare.A.DE08').answer.first().exists() or %resource.repeat(item).where(linkId='EmCare.A.DE12').answer.first().value.code = 'EmCare.A.DE15') and %resource.repeat(item).where(linkId='eweek').answer.first().value >= 4 'weeks' and %resource.repeat(item).where(linkId='eweek').answer.first().value< 104 'weeks'" + "expression": "(%resource.repeat(item).where(linkId='Ccc.A.DE08').answer.first().exists() or %resource.repeat(item).where(linkId='Ccc.A.DE12').answer.first().value.code = 'Ccc.A.DE15') and %resource.repeat(item).where(linkId='eweek').answer.first().value >= 4 'weeks' and %resource.repeat(item).where(linkId='eweek').answer.first().value< 104 'weeks'" } } ], - "linkId": "EmCare.A.DE13.2.mo", + "linkId": "Ccc.A.DE13.2.mo", "text": "Estimated age in months", "type": "quantity", "required": false, @@ -583,11 +583,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "(%resource.repeat(item).where(linkId='EmCare.A.DE08').answer.first().exists() or %resource.repeat(item).where(linkId='EmCare.A.DE12').answer.first().value.code = 'EmCare.A.DE15') and %resource.repeat(item).where(linkId='eweek').answer.first().value >= 104 'weeks'" + "expression": "(%resource.repeat(item).where(linkId='Ccc.A.DE08').answer.first().exists() or %resource.repeat(item).where(linkId='Ccc.A.DE12').answer.first().value.code = 'Ccc.A.DE15') and %resource.repeat(item).where(linkId='eweek').answer.first().value >= 104 'weeks'" } } ], - "linkId": "EmCare.A.DE13.2.a", + "linkId": "Ccc.A.DE13.2.a", "text": "Estimated age in year", "type": "quantity", "required": false, @@ -599,7 +599,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.A.DE12').answer.first().value.code = 'EmCare.A.DE13' or %resource.repeat(item).where(linkId='EmCare.A.DE12').answer.first().value.code = 'EmCare.A.DE14'" + "expression": "%resource.repeat(item).where(linkId='Ccc.A.DE12').answer.first().value.code = 'Ccc.A.DE13' or %resource.repeat(item).where(linkId='Ccc.A.DE12').answer.first().value.code = 'Ccc.A.DE14'" } }, { @@ -627,11 +627,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "iif( %resource.repeat(item).where(linkId='dob').answer.first().exists(),%resource.repeat(item).where(linkId='dob').answer.first().value,iif( %resource.repeat(item).where(linkId='EmCare.A.DE15.1').answer.first().exists(),%resource.repeat(item).where(linkId='EmCare.A.DE15.1').answer.first().value, %cdob ))" + "expression": "iif( %resource.repeat(item).where(linkId='dob').answer.first().exists(),%resource.repeat(item).where(linkId='dob').answer.first().value,iif( %resource.repeat(item).where(linkId='Ccc.A.DE15.1').answer.first().exists(),%resource.repeat(item).where(linkId='Ccc.A.DE15.1').answer.first().value, %cdob ))" } } ], - "linkId": "EmCare.A.DE08", + "linkId": "Ccc.A.DE08", "text": "Consolidated Date of Birth", "type": "date", "required": false, @@ -647,7 +647,7 @@ } } ], - "linkId": "EmCare.A.DE16", + "linkId": "Ccc.A.DE16", "text": "Sex", "type": "choice", "required": true, @@ -655,8 +655,8 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.A.DE17", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.A.DE17", "display": "Female" } }, @@ -671,8 +671,8 @@ } ], "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.A.DE18", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.A.DE18", "display": "Male" } }, @@ -687,8 +687,8 @@ } ], "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.A.DE19", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.A.DE19", "display": "Not Specified" } } @@ -705,7 +705,7 @@ "valueBoolean": true } ], - "linkId": "EmCare.A.DE48", + "linkId": "Ccc.A.DE48", "text": "Caregiver", "type": "boolean", "required": false, @@ -730,7 +730,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.A.DE48').answer.first().empty() and %resource.repeat(item).where(linkId='EmCare.A.DE03').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.A.DE48').answer.first().empty() and %resource.repeat(item).where(linkId='Ccc.A.DE03').answer.first().empty()" } } ], @@ -778,7 +778,7 @@ } } ], - "linkId": "emcarerelatedpersoncaregiverid", + "linkId": "Cccrelatedpersoncaregiverid", "type": "string", "required": false, "repeats": false @@ -789,38 +789,38 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='emcarerelatedpersoncaregiverid').answer.first().exists()" + "expression": "%resource.repeat(item).where(linkId='Cccrelatedpersoncaregiverid').answer.first().exists()" } } ], - "linkId": "EmCare.A.DE21.1", + "linkId": "Ccc.A.DE21.1", "type": "group", "required": false, "repeats": false, "item": [ { - "linkId": "EmCare.A.DE21", + "linkId": "Ccc.A.DE21", "text": "Caregiver First Name", "type": "string", "required": true, "repeats": false }, { - "linkId": "EmCare.A.DE22", + "linkId": "Ccc.A.DE22", "text": "Caregiver Middle Name", "type": "string", "required": false, "repeats": false }, { - "linkId": "EmCare.A.DE23", + "linkId": "Ccc.A.DE23", "text": "Caregiver Last Name", "type": "string", "required": true, "repeats": false }, { - "linkId": "EmCare.A.DE35", + "linkId": "Ccc.A.DE35", "text": "Primary Caregiver’s Mobile telephone number", "type": "integer", "required": false, @@ -851,11 +851,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.A.DE48').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.A.DE48').answer.first().empty()" } } ], - "linkId": "EmCare.A.DE24", + "linkId": "Ccc.A.DE24", "text": "Caregiver’s Relationship to Client", "type": "choice", "required": true, @@ -863,43 +863,43 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.A.DE25", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.A.DE25", "display": "Mother" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.A.DE26", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.A.DE26", "display": "Father" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.A.DE27", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.A.DE27", "display": "Sibling" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.A.DE28", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.A.DE28", "display": "Extended family" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.A.DE29", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.A.DE29", "display": "Legal Guardian" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.A.DE30", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.A.DE30", "display": "Not Related" } } @@ -911,12 +911,12 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.A.DE21.1').repeat(item).where(linkId='EmCare.A.DE24').answer.first().value.code != 'EmCare.A.DE25'" + "expression": "%resource.repeat(item).where(linkId='Ccc.A.DE21.1').repeat(item).where(linkId='Ccc.A.DE24').answer.first().value.code != 'Ccc.A.DE25'" } } ], - "linkId": "EmCare.A.DE31", - "definition": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "linkId": "Ccc.A.DE31", + "definition": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "text": "Biological Mother Vital Status", "type": "choice", "required": true, @@ -924,22 +924,22 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.A.DE46", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.A.DE46", "display": "Dead" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.A.DE34", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.A.DE34", "display": "Alive" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.A.DE33", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.A.DE33", "display": "Unknown" } } @@ -959,7 +959,7 @@ } } ], - "linkId": "EmCare.A.DE31-help", + "linkId": "Ccc.A.DE31-help", "text": "The client’s mother and/or father’s vital status.", "type": "display" } @@ -971,12 +971,12 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.A.DE21.1').repeat(item).where(linkId='EmCare.A.DE24').answer.first().value.code != 'EmCare.A.DE26'" + "expression": "%resource.repeat(item).where(linkId='Ccc.A.DE21.1').repeat(item).where(linkId='Ccc.A.DE24').answer.first().value.code != 'Ccc.A.DE26'" } } ], - "linkId": "EmCare.A.DE32", - "definition": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "linkId": "Ccc.A.DE32", + "definition": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "text": "Biological Father Vital Status", "type": "choice", "required": true, @@ -984,22 +984,22 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.A.DE46", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.A.DE46", "display": "Dead" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.A.DE34", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.A.DE34", "display": "Alive" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", - "code": "EmCare.A.DE33", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", + "code": "Ccc.A.DE33", "display": "Unknown" } } @@ -1019,7 +1019,7 @@ } } ], - "linkId": "EmCare.A.DE32-help", + "linkId": "Ccc.A.DE32-help", "text": "The client’s mother and/or father’s vital status.", "type": "display" } @@ -1044,18 +1044,18 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='emcarerelatedpersoncaregiverid').answer.first().value.code = 'newCaregiver' or %resource.repeat(item).where(linkId='EmCare.A.DE48').answer.first().exists()" + "expression": "%resource.repeat(item).where(linkId='Cccrelatedpersoncaregiverid').answer.first().value.code = 'newCaregiver' or %resource.repeat(item).where(linkId='Ccc.A.DE48').answer.first().exists()" } } ], - "linkId": "EmCare.A.DE38", + "linkId": "Ccc.A.DE38", "type": "choice", "required": false, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.A.DE38", + "code": "Ccc.A.DE38", "display": "Caregiver wants to receive SMS or other messages regarding the child's visits and health status" } } diff --git a/input/resources/questionnaire/questionnaire-emcareb.registration.e.json b/input/resources/questionnaire/questionnaire-Cccb.registration.e.json similarity index 86% rename from input/resources/questionnaire/questionnaire-emcareb.registration.e.json rename to input/resources/questionnaire/questionnaire-Cccb.registration.e.json index 58d3f293..4e3d6b31 100644 --- a/input/resources/questionnaire/questionnaire-emcareb.registration.e.json +++ b/input/resources/questionnaire/questionnaire-Cccb.registration.e.json @@ -1,6 +1,6 @@ { "resourceType": "Questionnaire", - "id": "emcareb.registration.e", + "id": "Cccb.registration.e", "meta": { "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire" @@ -25,12 +25,12 @@ }, { "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap", - "valueCanonical": "https://smart.who.int/ccc//StructureMap/emcareb.registration.e" + "valueCanonical": "https://smart.who.int/ccc//StructureMap/Cccb.registration.e" } ], - "url": "https://smart.who.int/ccc//Questionnaire/emcareb.registration.e", - "name": "EmCareB.Registration.E", - "title": "EmCareB.Registration.E", + "url": "https://smart.who.int/ccc//Questionnaire/Cccb.registration.e", + "name": "CccB.Registration.E", + "title": "CccB.Registration.E", "status": "active", "experimental": false, "subjectType": [ @@ -38,7 +38,7 @@ ], "item": [ { - "linkId": "EmCare.B3.DE01", + "linkId": "Ccc.B3.DE01", "text": "Reason for Consultation", "type": "choice", "required": false, @@ -46,15 +46,15 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc//CodeSystem/emcare-custom-codes", - "code": "EmCare.B3.DE03", + "system": "https://smart.who.int/ccc//CodeSystem/Ccc-custom-codes", + "code": "Ccc.B3.DE03", "display": "Sick Child" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc//CodeSystem/emcare-custom-codes", - "code": "EmCare.B3.DE04", + "system": "https://smart.who.int/ccc//CodeSystem/Ccc-custom-codes", + "code": "Ccc.B3.DE04", "display": "Routine visit (Well child/infant)" } } @@ -70,11 +70,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B3.DE01').answer.first().value.code = 'EmCare.B3.DE04'" + "expression": "%resource.repeat(item).where(linkId='Ccc.B3.DE01').answer.first().value.code = 'Ccc.B3.DE04'" } } ], - "linkId": "EmCare.B3.DE05", + "linkId": "Ccc.B3.DE05", "text": "Is the child sick Today?", "type": "boolean", "required": true, @@ -86,11 +86,11 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.B3.DE01').answer.first().value.code = 'EmCare.B3.DE02'" + "expression": "%resource.repeat(item).where(linkId='Ccc.B3.DE01').answer.first().value.code = 'Ccc.B3.DE02'" } } ], - "linkId": "EmCare.B3.DE06", + "linkId": "Ccc.B3.DE06", "text": "Type of Consultation", "type": "choice", "required": false, @@ -98,15 +98,15 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc//CodeSystem/emcare-custom-codes", - "code": "EmCare.B3.DE07", + "system": "https://smart.who.int/ccc//CodeSystem/Ccc-custom-codes", + "code": "Ccc.B3.DE07", "display": "Initial visit" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc//CodeSystem/emcare-custom-codes", - "code": "EmCare.B3.DE08", + "system": "https://smart.who.int/ccc//CodeSystem/Ccc-custom-codes", + "code": "Ccc.B3.DE08", "display": "Follow Up" } } @@ -132,14 +132,14 @@ "valueBoolean": true } ], - "linkId": "EmCare.A.DE39", + "linkId": "Ccc.A.DE39", "type": "choice", "required": false, "repeats": true, "answerOption": [ { "valueCoding": { - "code": "EmCare.A.DE39", + "code": "Ccc.A.DE39", "display": "Person/People accompanying child today?" } } @@ -164,7 +164,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='EmCare.A.DE39').answer.first().empty()" + "expression": "%resource.repeat(item).where(linkId='Ccc.A.DE39').answer.first().empty()" } } ], @@ -212,7 +212,7 @@ } } ], - "linkId": "emcarerelatedpersoncaregiverid", + "linkId": "Cccrelatedpersoncaregiverid", "type": "string", "required": false, "repeats": false @@ -223,31 +223,31 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression", "valueExpression": { "language": "text/fhirpath", - "expression": "%resource.repeat(item).where(linkId='emcarerelatedpersoncaregiverid').answer.first().exists()" + "expression": "%resource.repeat(item).where(linkId='Cccrelatedpersoncaregiverid').answer.first().exists()" } } ], - "linkId": "EmCare.A.DE39.1", + "linkId": "Ccc.A.DE39.1", "type": "group", "required": false, "repeats": false, "item": [ { - "linkId": "EmCare.A.DE40", + "linkId": "Ccc.A.DE40", "text": "Person/People accompanying child First Name", "type": "string", "required": true, "repeats": false }, { - "linkId": "EmCare.A.DE41", + "linkId": "Ccc.A.DE41", "text": "Person/People accompanying child Middle Name", "type": "string", "required": false, "repeats": false }, { - "linkId": "EmCare.A.DE42", + "linkId": "Ccc.A.DE42", "text": "Person/People accompanying child Last Name", "type": "string", "required": true, @@ -273,7 +273,7 @@ "repeats": false }, { - "linkId": "EmCare.A.DE43", + "linkId": "Ccc.A.DE43", "text": "Person/People accompanying child’s Relationship to Client", "type": "choice", "required": true, @@ -281,43 +281,43 @@ "answerOption": [ { "valueCoding": { - "system": "https://smart.who.int/ccc//CodeSystem/emcare-custom-codes", - "code": "EmCare.A.DE25", + "system": "https://smart.who.int/ccc//CodeSystem/Ccc-custom-codes", + "code": "Ccc.A.DE25", "display": "Mother" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc//CodeSystem/emcare-custom-codes", - "code": "EmCare.A.DE26", + "system": "https://smart.who.int/ccc//CodeSystem/Ccc-custom-codes", + "code": "Ccc.A.DE26", "display": "Father" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc//CodeSystem/emcare-custom-codes", - "code": "EmCare.A.DE27", + "system": "https://smart.who.int/ccc//CodeSystem/Ccc-custom-codes", + "code": "Ccc.A.DE27", "display": "Sibling" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc//CodeSystem/emcare-custom-codes", - "code": "EmCare.A.DE28", + "system": "https://smart.who.int/ccc//CodeSystem/Ccc-custom-codes", + "code": "Ccc.A.DE28", "display": "Extended family" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc//CodeSystem/emcare-custom-codes", - "code": "EmCare.A.DE29", + "system": "https://smart.who.int/ccc//CodeSystem/Ccc-custom-codes", + "code": "Ccc.A.DE29", "display": "Legal Guardian" } }, { "valueCoding": { - "system": "https://smart.who.int/ccc//CodeSystem/emcare-custom-codes", - "code": "EmCare.A.DE30", + "system": "https://smart.who.int/ccc//CodeSystem/Ccc-custom-codes", + "code": "Ccc.A.DE30", "display": "Not Related" } } diff --git a/input/resources/structuredefinition/structuredefinition-emcare-condition.json b/input/resources/structuredefinition/structuredefinition-Ccc-condition.json similarity index 82% rename from input/resources/structuredefinition/structuredefinition-emcare-condition.json rename to input/resources/structuredefinition/structuredefinition-Ccc-condition.json index 8ad06c18..cf19494b 100644 --- a/input/resources/structuredefinition/structuredefinition-emcare-condition.json +++ b/input/resources/structuredefinition/structuredefinition-Ccc-condition.json @@ -1,12 +1,12 @@ { "resourceType": "StructureDefinition", - "id": "emcare-condition", - "url": "https://smart.who.int/ccc/StructureDefinition/emcare-condition", - "name": "EmCare Condition", - "title": "EmCare Condition", + "id": "Ccc-condition", + "url": "https://smart.who.int/ccc/StructureDefinition/Ccc-condition", + "name": "Ccc Condition", + "title": "Ccc Condition", "status": "active", "experimental": false, - "description": "EmCare Condition", + "description": "Ccc Condition", "fhirVersion": "4.0.1", "kind": "resource", "abstract": false, diff --git a/input/resources/structuredefinition/structuredefinition-emcare-observation.json b/input/resources/structuredefinition/structuredefinition-Ccc-observation.json similarity index 68% rename from input/resources/structuredefinition/structuredefinition-emcare-observation.json rename to input/resources/structuredefinition/structuredefinition-Ccc-observation.json index d1a6efa8..a6862b59 100644 --- a/input/resources/structuredefinition/structuredefinition-emcare-observation.json +++ b/input/resources/structuredefinition/structuredefinition-Ccc-observation.json @@ -1,12 +1,12 @@ { "resourceType": "StructureDefinition", - "id": "emcare-observation", - "url": "https://smart.who.int/ccc/StructureDefinition/emcare-observation", - "name": "EmCare Observation", - "title": "EmCare Observation", + "id": "Ccc-observation", + "url": "https://smart.who.int/ccc/StructureDefinition/Ccc-observation", + "name": "Ccc Observation", + "title": "Ccc Observation", "status": "active", "experimental": false, - "description": "EmCare Observation", + "description": "Ccc Observation", "fhirVersion": "4.0.1", "kind": "resource", "abstract": false, diff --git a/input/resources/structuredefinition/structuredefinition-emcare-patient.json b/input/resources/structuredefinition/structuredefinition-Ccc-patient.json similarity index 95% rename from input/resources/structuredefinition/structuredefinition-emcare-patient.json rename to input/resources/structuredefinition/structuredefinition-Ccc-patient.json index 3db341c7..b1df0245 100644 --- a/input/resources/structuredefinition/structuredefinition-emcare-patient.json +++ b/input/resources/structuredefinition/structuredefinition-Ccc-patient.json @@ -1,12 +1,12 @@ { "resourceType": "StructureDefinition", - "id": "emcare-patient", - "url": "https://smart.who.int/ccc/StructureDefinition/emcare-patient", - "name": "EmCare Patient", - "title": "EmCare Patient", + "id": "Ccc-patient", + "url": "https://smart.who.int/ccc/StructureDefinition/Ccc-patient", + "name": "Ccc Patient", + "title": "Ccc Patient", "status": "active", "experimental": false, - "description": "EmCare Patient", + "description": "Ccc Patient", "fhirVersion": "4.0.1", "kind": "resource", "abstract": false, diff --git a/input/resources/structuremap/structuremap-emcare.b10-14.symptoms.2m.p.json b/input/resources/structuremap/structuremap-Ccc.b10-14.symptoms.2m.p.json similarity index 89% rename from input/resources/structuremap/structuremap-emcare.b10-14.symptoms.2m.p.json rename to input/resources/structuremap/structuremap-Ccc.b10-14.symptoms.2m.p.json index 6deda213..847dba98 100644 --- a/input/resources/structuremap/structuremap-emcare.b10-14.symptoms.2m.p.json +++ b/input/resources/structuremap/structuremap-Ccc.b10-14.symptoms.2m.p.json @@ -1,12 +1,12 @@ { "resourceType": "StructureMap", - "id": "emcare.b10-14.symptoms.2m.p", + "id": "Ccc.b10-14.symptoms.2m.p", "text": { "status": "generated", - "div": "
map "https://smart.who.int/ccc/StructureMap/emcare.b10-14.symptoms.2m.p" = "emcare.b10-14.symptoms.2m.p"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/observation" alias 'Observation' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/emcareobservation" alias 'EmCare Observation' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src.item first as item where (linkId = 'EmCare.B10S1.DE05') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb10s1de05(src, tgt) "d130047c";\r\n      } "56a76d73";\r\n    } "79141fc8";\r\n  } "08fbbbd7";\r\n  src.item first as item where (linkId = 'EmCare.B10S1.DE06') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb10s1de06(src, tgt) "008a3623";\r\n      } "d784044d";\r\n    } "805abc9e";\r\n  } "446767cc";\r\n  src.item first as item where (linkId = 'EmCare.B10S1.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb10s1de01(src, tgt) "04d8e898";\r\n      } "b2d824f5";\r\n    } "0d7d74bd";\r\n  } "dd9bd984";\r\n  src.item first as item where (linkId = 'EmCare.B10S1.DE02') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb10s1de02(src, tgt) "d90e5fb1";\r\n      } "5cae2191";\r\n    } "ab1692fb";\r\n  } "119f6765";\r\n  src.item first as item where (linkId = 'EmCare.B11S1.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb11s1de01(src, tgt) "43d4af59";\r\n      } "bfd970ae";\r\n    } "b8eb69b0";\r\n  } "e1f73648";\r\n  src.item first as item where (linkId = 'EmCare.B11S1.DE02') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb11s1de02(src, tgt) "39c1737c";\r\n      } "891a881e";\r\n    } "6e6d1885";\r\n  } "a9e046d7";\r\n  src.item first as item where (linkId = 'EmCare.B11S1.DE05') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb11s1de05(src, tgt) "1721269a";\r\n      } "c1e233d8";\r\n    } "c6a3d5c5";\r\n  } "e17a9583";\r\n  src.item first as item where (linkId = 'EmCare.B12S1.DE02') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb12s1de02(src, tgt) "df55b281";\r\n      } "0a52cb1c";\r\n    } "1593137e";\r\n  } "744c4bf9";\r\n  src.item first as item where (linkId = 'EmCare.B12S1.DE03') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb12s1de03(src, tgt) "fc6edbe7";\r\n      } "5330779a";\r\n    } "c692777e";\r\n  } "8d04eb57";\r\n  src.item first as item where (linkId = 'EmCare.B.G.DE06') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcarebgde06(src, tgt) "ca782de1";\r\n      } "1b87f3fc";\r\n    } "9ac4a378";\r\n  } "f72a0439";\r\n  src.item first as item where (linkId = 'EmCare.B12S1.DE06') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb12s1de06(src, tgt) "ce301cb0";\r\n      } "c80f2620";\r\n    } "27eb1328";\r\n  } "e6da0780";\r\n  src.item first as item where (linkId = 'EmCare.B13S1.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb13s1de01(src, tgt) "0a3c13d2";\r\n      } "0ca270e1";\r\n    } "6e77deb0";\r\n  } "b8334cd6";\r\n  src.item first as item where (linkId = 'EmCare.B13S1.DE02') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb13s1de02(src, tgt) "cd788051";\r\n      } "2c880586";\r\n    } "50966861";\r\n  } "78170861";\r\n  src.item first as item where (linkId = 'EmCare.B13S1.DE03') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb13s1de03(src, tgt) "323bf4ac";\r\n      } "681ae227";\r\n    } "b8f4f3f5";\r\n  } "e5a07dfd";\r\n  src.item first as item where (linkId = 'EmCare.B13S1.DE04') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb13s1de04(src, tgt) "28267d58";\r\n      } "4ea18833";\r\n    } "82346f75";\r\n  } "b63e24e4";\r\n  src.item first as item where (linkId = 'EmCare.B14S1.DE03') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb14s1de03(src, tgt) "ab7fc76a";\r\n      } "22d8b79e";\r\n    } "991ff5c6";\r\n  } "102c5ae9";\r\n  src.item first as item where (linkId = 'EmCare.B14S1.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb14s1de01(src, tgt) "6baaff63";\r\n      } "f7186bc6";\r\n    } "19883e88";\r\n  } "90d2b417";\r\n  src.item first as item where (linkId = 'EmCare.B14S1.DE02') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb14s1de02(src, tgt) "49187687";\r\n      } "0063faef";\r\n    } "7df08969";\r\n  } "6f9d4b85";\r\n}\r\n\r\ngroup emcareobservationemcareb10s1de05(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb10s1de05";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B10S1.DE05' "code-emcareb10s1de05";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B10S1.DE05') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb10s1de05";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb10s1de05";\r\n    } "bdab9370";\r\n  } "f75f2b05";\r\n}\r\n\r\ngroup emcareobservationemcareb10s1de06(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb10s1de06";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B10S1.DE06' "code-emcareb10s1de06";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B10S1.DE06') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "156b25ae";\r\n}\r\n\r\ngroup emcareobservationemcareb10s1de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb10s1de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B10S1.DE01' "code-emcareb10s1de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B10S1.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb10s1de01";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb10s1de01";\r\n    } "bdab9370";\r\n  } "1b302dc5";\r\n}\r\n\r\ngroup emcareobservationemcareb10s1de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb10s1de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B10S1.DE02' "code-emcareb10s1de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B10S1.DE02') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "84c804e5";\r\n}\r\n\r\ngroup emcareobservationemcareb11s1de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb11s1de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B11S1.DE01' "code-emcareb11s1de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B11S1.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb11s1de01";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb11s1de01";\r\n    } "bdab9370";\r\n  } "7b8564b3";\r\n}\r\n\r\ngroup emcareobservationemcareb11s1de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb11s1de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B11S1.DE02' "code-emcareb11s1de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B11S1.DE02') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "78040096";\r\n}\r\n\r\ngroup emcareobservationemcareb11s1de05(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb11s1de05";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B11S1.DE05' "code-emcareb11s1de05";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B11S1.DE05') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb11s1de05";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb11s1de05";\r\n    } "bdab9370";\r\n  } "999566e5";\r\n}\r\n\r\ngroup emcareobservationemcareb12s1de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb12s1de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B12S1.DE02' "code-emcareb12s1de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B12S1.DE02') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb12s1de02";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb12s1de02";\r\n    } "bdab9370";\r\n  } "2980a862";\r\n}\r\n\r\ngroup emcareobservationemcareb12s1de03(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb12s1de03";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B12S1.DE03' "code-emcareb12s1de03";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B12S1.DE03') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "0684c220";\r\n}\r\n\r\ngroup emcareobservationemcarebgde06(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcarebgde06";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B.G.DE06' "code-emcarebgde06";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B.G.DE06') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcarebgde06";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcarebgde06";\r\n    } "bdab9370";\r\n  } "d670d189";\r\n}\r\n\r\ngroup emcareobservationemcareb12s1de06(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb12s1de06";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B12S1.DE06' "code-emcareb12s1de06";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B12S1.DE06') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb12s1de06";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb12s1de06";\r\n    } "bdab9370";\r\n  } "fcb16134";\r\n}\r\n\r\ngroup emcareobservationemcareb13s1de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb13s1de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B13S1.DE01' "code-emcareb13s1de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B13S1.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb13s1de01";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb13s1de01";\r\n    } "bdab9370";\r\n  } "61c82b53";\r\n}\r\n\r\ngroup emcareobservationemcareb13s1de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb13s1de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B13S1.DE02' "code-emcareb13s1de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B13S1.DE02') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb13s1de02";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb13s1de02";\r\n    } "bdab9370";\r\n  } "f246fc63";\r\n}\r\n\r\ngroup emcareobservationemcareb13s1de03(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb13s1de03";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B13S1.DE03' "code-emcareb13s1de03";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B13S1.DE03') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb13s1de03";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb13s1de03";\r\n    } "bdab9370";\r\n  } "1e1d8c32";\r\n}\r\n\r\ngroup emcareobservationemcareb13s1de04(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb13s1de04";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B13S1.DE04' "code-emcareb13s1de04";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B13S1.DE04') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "9fc99c98";\r\n}\r\n\r\ngroup emcareobservationemcareb14s1de03(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb14s1de03";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S1.DE03' "code-emcareb14s1de03";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B14S1.DE03') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb14s1de03";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb14s1de03";\r\n    } "bdab9370";\r\n  } "bc3a888b";\r\n}\r\n\r\ngroup emcareobservationemcareb14s1de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb14s1de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S1.DE01' "code-emcareb14s1de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B14S1.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb14s1de01";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb14s1de01";\r\n    } "bdab9370";\r\n  } "fb67ce2c";\r\n}\r\n\r\ngroup emcareobservationemcareb14s1de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb14s1de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S1.DE02' "code-emcareb14s1de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B14S1.DE02') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb14s1de02";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb14s1de02";\r\n    } "bdab9370";\r\n  } "9802d7f8";\r\n}\r\n\r\n
" + "div": "
map "https://smart.who.int/ccc/StructureMap/Ccc.b10-14.symptoms.2m.p" = "Ccc.b10-14.symptoms.2m.p"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/observation" alias 'Observation' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/Cccobservation" alias 'Ccc Observation' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src.item first as item where (linkId = 'Ccc.B10S1.DE05') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb10s1de05(src, tgt) "d130047c";\r\n      } "56a76d73";\r\n    } "79141fc8";\r\n  } "08fbbbd7";\r\n  src.item first as item where (linkId = 'Ccc.B10S1.DE06') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb10s1de06(src, tgt) "008a3623";\r\n      } "d784044d";\r\n    } "805abc9e";\r\n  } "446767cc";\r\n  src.item first as item where (linkId = 'Ccc.B10S1.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb10s1de01(src, tgt) "04d8e898";\r\n      } "b2d824f5";\r\n    } "0d7d74bd";\r\n  } "dd9bd984";\r\n  src.item first as item where (linkId = 'Ccc.B10S1.DE02') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb10s1de02(src, tgt) "d90e5fb1";\r\n      } "5cae2191";\r\n    } "ab1692fb";\r\n  } "119f6765";\r\n  src.item first as item where (linkId = 'Ccc.B11S1.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb11s1de01(src, tgt) "43d4af59";\r\n      } "bfd970ae";\r\n    } "b8eb69b0";\r\n  } "e1f73648";\r\n  src.item first as item where (linkId = 'Ccc.B11S1.DE02') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb11s1de02(src, tgt) "39c1737c";\r\n      } "891a881e";\r\n    } "6e6d1885";\r\n  } "a9e046d7";\r\n  src.item first as item where (linkId = 'Ccc.B11S1.DE05') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb11s1de05(src, tgt) "1721269a";\r\n      } "c1e233d8";\r\n    } "c6a3d5c5";\r\n  } "e17a9583";\r\n  src.item first as item where (linkId = 'Ccc.B12S1.DE02') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb12s1de02(src, tgt) "df55b281";\r\n      } "0a52cb1c";\r\n    } "1593137e";\r\n  } "744c4bf9";\r\n  src.item first as item where (linkId = 'Ccc.B12S1.DE03') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb12s1de03(src, tgt) "fc6edbe7";\r\n      } "5330779a";\r\n    } "c692777e";\r\n  } "8d04eb57";\r\n  src.item first as item where (linkId = 'Ccc.B.G.DE06') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccbgde06(src, tgt) "ca782de1";\r\n      } "1b87f3fc";\r\n    } "9ac4a378";\r\n  } "f72a0439";\r\n  src.item first as item where (linkId = 'Ccc.B12S1.DE06') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb12s1de06(src, tgt) "ce301cb0";\r\n      } "c80f2620";\r\n    } "27eb1328";\r\n  } "e6da0780";\r\n  src.item first as item where (linkId = 'Ccc.B13S1.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb13s1de01(src, tgt) "0a3c13d2";\r\n      } "0ca270e1";\r\n    } "6e77deb0";\r\n  } "b8334cd6";\r\n  src.item first as item where (linkId = 'Ccc.B13S1.DE02') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb13s1de02(src, tgt) "cd788051";\r\n      } "2c880586";\r\n    } "50966861";\r\n  } "78170861";\r\n  src.item first as item where (linkId = 'Ccc.B13S1.DE03') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb13s1de03(src, tgt) "323bf4ac";\r\n      } "681ae227";\r\n    } "b8f4f3f5";\r\n  } "e5a07dfd";\r\n  src.item first as item where (linkId = 'Ccc.B13S1.DE04') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb13s1de04(src, tgt) "28267d58";\r\n      } "4ea18833";\r\n    } "82346f75";\r\n  } "b63e24e4";\r\n  src.item first as item where (linkId = 'Ccc.B14S1.DE03') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb14s1de03(src, tgt) "ab7fc76a";\r\n      } "22d8b79e";\r\n    } "991ff5c6";\r\n  } "102c5ae9";\r\n  src.item first as item where (linkId = 'Ccc.B14S1.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb14s1de01(src, tgt) "6baaff63";\r\n      } "f7186bc6";\r\n    } "19883e88";\r\n  } "90d2b417";\r\n  src.item first as item where (linkId = 'Ccc.B14S1.DE02') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb14s1de02(src, tgt) "49187687";\r\n      } "0063faef";\r\n    } "7df08969";\r\n  } "6f9d4b85";\r\n}\r\n\r\ngroup CccobservationCccb10s1de05(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb10s1de05";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B10S1.DE05' "code-Cccb10s1de05";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B10S1.DE05') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb10s1de05";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb10s1de05";\r\n    } "bdab9370";\r\n  } "f75f2b05";\r\n}\r\n\r\ngroup CccobservationCccb10s1de06(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb10s1de06";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B10S1.DE06' "code-Cccb10s1de06";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B10S1.DE06') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "156b25ae";\r\n}\r\n\r\ngroup CccobservationCccb10s1de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb10s1de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B10S1.DE01' "code-Cccb10s1de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B10S1.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb10s1de01";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb10s1de01";\r\n    } "bdab9370";\r\n  } "1b302dc5";\r\n}\r\n\r\ngroup CccobservationCccb10s1de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb10s1de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B10S1.DE02' "code-Cccb10s1de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B10S1.DE02') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "84c804e5";\r\n}\r\n\r\ngroup CccobservationCccb11s1de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb11s1de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B11S1.DE01' "code-Cccb11s1de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B11S1.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb11s1de01";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb11s1de01";\r\n    } "bdab9370";\r\n  } "7b8564b3";\r\n}\r\n\r\ngroup CccobservationCccb11s1de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb11s1de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B11S1.DE02' "code-Cccb11s1de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B11S1.DE02') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "78040096";\r\n}\r\n\r\ngroup CccobservationCccb11s1de05(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb11s1de05";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B11S1.DE05' "code-Cccb11s1de05";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B11S1.DE05') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb11s1de05";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb11s1de05";\r\n    } "bdab9370";\r\n  } "999566e5";\r\n}\r\n\r\ngroup CccobservationCccb12s1de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb12s1de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B12S1.DE02' "code-Cccb12s1de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B12S1.DE02') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb12s1de02";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb12s1de02";\r\n    } "bdab9370";\r\n  } "2980a862";\r\n}\r\n\r\ngroup CccobservationCccb12s1de03(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb12s1de03";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B12S1.DE03' "code-Cccb12s1de03";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B12S1.DE03') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "0684c220";\r\n}\r\n\r\ngroup CccobservationCccbgde06(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccbgde06";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B.G.DE06' "code-Cccbgde06";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B.G.DE06') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccbgde06";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccbgde06";\r\n    } "bdab9370";\r\n  } "d670d189";\r\n}\r\n\r\ngroup CccobservationCccb12s1de06(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb12s1de06";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B12S1.DE06' "code-Cccb12s1de06";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B12S1.DE06') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb12s1de06";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb12s1de06";\r\n    } "bdab9370";\r\n  } "fcb16134";\r\n}\r\n\r\ngroup CccobservationCccb13s1de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb13s1de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B13S1.DE01' "code-Cccb13s1de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B13S1.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb13s1de01";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb13s1de01";\r\n    } "bdab9370";\r\n  } "61c82b53";\r\n}\r\n\r\ngroup CccobservationCccb13s1de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb13s1de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B13S1.DE02' "code-Cccb13s1de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B13S1.DE02') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb13s1de02";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb13s1de02";\r\n    } "bdab9370";\r\n  } "f246fc63";\r\n}\r\n\r\ngroup CccobservationCccb13s1de03(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb13s1de03";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B13S1.DE03' "code-Cccb13s1de03";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B13S1.DE03') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb13s1de03";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb13s1de03";\r\n    } "bdab9370";\r\n  } "1e1d8c32";\r\n}\r\n\r\ngroup CccobservationCccb13s1de04(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb13s1de04";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B13S1.DE04' "code-Cccb13s1de04";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B13S1.DE04') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "9fc99c98";\r\n}\r\n\r\ngroup CccobservationCccb14s1de03(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s1de03";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S1.DE03' "code-Cccb14s1de03";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B14S1.DE03') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s1de03";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s1de03";\r\n    } "bdab9370";\r\n  } "bc3a888b";\r\n}\r\n\r\ngroup CccobservationCccb14s1de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s1de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S1.DE01' "code-Cccb14s1de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B14S1.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s1de01";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s1de01";\r\n    } "bdab9370";\r\n  } "fb67ce2c";\r\n}\r\n\r\ngroup CccobservationCccb14s1de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s1de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S1.DE02' "code-Cccb14s1de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B14S1.DE02') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s1de02";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s1de02";\r\n    } "bdab9370";\r\n  } "9802d7f8";\r\n}\r\n\r\n
" }, - "url": "https://smart.who.int/ccc/StructureMap/emcare.b10-14.symptoms.2m.p", - "name": "emcare.b10-14.symptoms.2m.p", + "url": "https://smart.who.int/ccc/StructureMap/Ccc.b10-14.symptoms.2m.p", + "name": "Ccc.b10-14.symptoms.2m.p", "status": "active", "structure": [ { @@ -25,9 +25,9 @@ "alias": "'Observation'" }, { - "url": "https://smart.who.int/ccc/StructureDefinition/emcareobservation", + "url": "https://smart.who.int/ccc/StructureDefinition/Cccobservation", "mode": "produced", - "alias": "'EmCare Observation'" + "alias": "'Ccc Observation'" } ], "group": [ @@ -92,7 +92,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B10S1.DE05') and answer.exists()" + "condition": "(linkId = 'Ccc.B10S1.DE05') and answer.exists()" } ], "rule": [ @@ -200,7 +200,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb10s1de05", + "name": "CccobservationCccb10s1de05", "variable": [ "src", "tgt" @@ -222,7 +222,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B10S1.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.B10S1.DE06') and answer.exists()" } ], "rule": [ @@ -330,7 +330,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb10s1de06", + "name": "CccobservationCccb10s1de06", "variable": [ "src", "tgt" @@ -352,7 +352,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B10S1.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B10S1.DE01') and answer.exists()" } ], "rule": [ @@ -460,7 +460,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb10s1de01", + "name": "CccobservationCccb10s1de01", "variable": [ "src", "tgt" @@ -482,7 +482,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B10S1.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B10S1.DE02') and answer.exists()" } ], "rule": [ @@ -590,7 +590,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb10s1de02", + "name": "CccobservationCccb10s1de02", "variable": [ "src", "tgt" @@ -612,7 +612,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B11S1.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B11S1.DE01') and answer.exists()" } ], "rule": [ @@ -720,7 +720,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb11s1de01", + "name": "CccobservationCccb11s1de01", "variable": [ "src", "tgt" @@ -742,7 +742,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B11S1.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B11S1.DE02') and answer.exists()" } ], "rule": [ @@ -850,7 +850,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb11s1de02", + "name": "CccobservationCccb11s1de02", "variable": [ "src", "tgt" @@ -872,7 +872,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B11S1.DE05') and answer.exists()" + "condition": "(linkId = 'Ccc.B11S1.DE05') and answer.exists()" } ], "rule": [ @@ -980,7 +980,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb11s1de05", + "name": "CccobservationCccb11s1de05", "variable": [ "src", "tgt" @@ -1002,7 +1002,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B12S1.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B12S1.DE02') and answer.exists()" } ], "rule": [ @@ -1110,7 +1110,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb12s1de02", + "name": "CccobservationCccb12s1de02", "variable": [ "src", "tgt" @@ -1132,7 +1132,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B12S1.DE03') and answer.exists()" + "condition": "(linkId = 'Ccc.B12S1.DE03') and answer.exists()" } ], "rule": [ @@ -1240,7 +1240,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb12s1de03", + "name": "CccobservationCccb12s1de03", "variable": [ "src", "tgt" @@ -1262,7 +1262,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B.G.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.B.G.DE06') and answer.exists()" } ], "rule": [ @@ -1370,7 +1370,7 @@ ], "dependent": [ { - "name": "emcareobservationemcarebgde06", + "name": "CccobservationCccbgde06", "variable": [ "src", "tgt" @@ -1392,7 +1392,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B12S1.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.B12S1.DE06') and answer.exists()" } ], "rule": [ @@ -1500,7 +1500,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb12s1de06", + "name": "CccobservationCccb12s1de06", "variable": [ "src", "tgt" @@ -1522,7 +1522,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B13S1.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B13S1.DE01') and answer.exists()" } ], "rule": [ @@ -1630,7 +1630,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb13s1de01", + "name": "CccobservationCccb13s1de01", "variable": [ "src", "tgt" @@ -1652,7 +1652,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B13S1.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B13S1.DE02') and answer.exists()" } ], "rule": [ @@ -1760,7 +1760,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb13s1de02", + "name": "CccobservationCccb13s1de02", "variable": [ "src", "tgt" @@ -1782,7 +1782,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B13S1.DE03') and answer.exists()" + "condition": "(linkId = 'Ccc.B13S1.DE03') and answer.exists()" } ], "rule": [ @@ -1890,7 +1890,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb13s1de03", + "name": "CccobservationCccb13s1de03", "variable": [ "src", "tgt" @@ -1912,7 +1912,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B13S1.DE04') and answer.exists()" + "condition": "(linkId = 'Ccc.B13S1.DE04') and answer.exists()" } ], "rule": [ @@ -2020,7 +2020,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb13s1de04", + "name": "CccobservationCccb13s1de04", "variable": [ "src", "tgt" @@ -2042,7 +2042,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S1.DE03') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S1.DE03') and answer.exists()" } ], "rule": [ @@ -2150,7 +2150,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s1de03", + "name": "CccobservationCccb14s1de03", "variable": [ "src", "tgt" @@ -2172,7 +2172,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S1.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S1.DE01') and answer.exists()" } ], "rule": [ @@ -2280,7 +2280,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s1de01", + "name": "CccobservationCccb14s1de01", "variable": [ "src", "tgt" @@ -2302,7 +2302,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S1.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S1.DE02') and answer.exists()" } ], "rule": [ @@ -2410,7 +2410,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s1de02", + "name": "CccobservationCccb14s1de02", "variable": [ "src", "tgt" @@ -2427,7 +2427,7 @@ ] }, { - "name": "emcareobservationemcareb10s1de05", + "name": "CccobservationCccb10s1de05", "typeMode": "none", "input": [ { @@ -2441,7 +2441,7 @@ ], "rule": [ { - "name": "id-emcareb10s1de05", + "name": "id-Cccb10s1de05", "source": [ { "context": "src" @@ -2525,7 +2525,7 @@ ] }, { - "name": "code-emcareb10s1de05", + "name": "code-Cccb10s1de05", "source": [ { "context": "src", @@ -2564,7 +2564,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -2599,7 +2599,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -2610,7 +2610,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B10S1.DE05" + "valueString": "Ccc.B10S1.DE05" } ] } @@ -2696,7 +2696,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B10S1.DE05') and answer.exists()" + "condition": "(linkId = 'Ccc.B10S1.DE05') and answer.exists()" } ], "rule": [ @@ -2712,7 +2712,7 @@ ], "rule": [ { - "name": "final-emcareb10s1de05", + "name": "final-Cccb10s1de05", "source": [ { "context": "a", @@ -2745,7 +2745,7 @@ ] }, { - "name": "notfound-emcareb10s1de05", + "name": "notfound-Cccb10s1de05", "source": [ { "context": "a", @@ -2784,7 +2784,7 @@ ] }, { - "name": "emcareobservationemcareb10s1de06", + "name": "CccobservationCccb10s1de06", "typeMode": "none", "input": [ { @@ -2798,7 +2798,7 @@ ], "rule": [ { - "name": "id-emcareb10s1de06", + "name": "id-Cccb10s1de06", "source": [ { "context": "src" @@ -2882,7 +2882,7 @@ ] }, { - "name": "code-emcareb10s1de06", + "name": "code-Cccb10s1de06", "source": [ { "context": "src", @@ -2921,7 +2921,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -2956,7 +2956,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -2967,7 +2967,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B10S1.DE06" + "valueString": "Ccc.B10S1.DE06" } ] } @@ -3053,7 +3053,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B10S1.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.B10S1.DE06') and answer.exists()" } ], "rule": [ @@ -3154,7 +3154,7 @@ ] }, { - "name": "emcareobservationemcareb10s1de01", + "name": "CccobservationCccb10s1de01", "typeMode": "none", "input": [ { @@ -3168,7 +3168,7 @@ ], "rule": [ { - "name": "id-emcareb10s1de01", + "name": "id-Cccb10s1de01", "source": [ { "context": "src" @@ -3252,7 +3252,7 @@ ] }, { - "name": "code-emcareb10s1de01", + "name": "code-Cccb10s1de01", "source": [ { "context": "src", @@ -3291,7 +3291,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -3326,7 +3326,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -3337,7 +3337,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B10S1.DE01" + "valueString": "Ccc.B10S1.DE01" } ] } @@ -3423,7 +3423,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B10S1.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B10S1.DE01') and answer.exists()" } ], "rule": [ @@ -3439,7 +3439,7 @@ ], "rule": [ { - "name": "final-emcareb10s1de01", + "name": "final-Cccb10s1de01", "source": [ { "context": "a", @@ -3472,7 +3472,7 @@ ] }, { - "name": "notfound-emcareb10s1de01", + "name": "notfound-Cccb10s1de01", "source": [ { "context": "a", @@ -3511,7 +3511,7 @@ ] }, { - "name": "emcareobservationemcareb10s1de02", + "name": "CccobservationCccb10s1de02", "typeMode": "none", "input": [ { @@ -3525,7 +3525,7 @@ ], "rule": [ { - "name": "id-emcareb10s1de02", + "name": "id-Cccb10s1de02", "source": [ { "context": "src" @@ -3609,7 +3609,7 @@ ] }, { - "name": "code-emcareb10s1de02", + "name": "code-Cccb10s1de02", "source": [ { "context": "src", @@ -3648,7 +3648,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -3683,7 +3683,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -3694,7 +3694,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B10S1.DE02" + "valueString": "Ccc.B10S1.DE02" } ] } @@ -3780,7 +3780,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B10S1.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B10S1.DE02') and answer.exists()" } ], "rule": [ @@ -3881,7 +3881,7 @@ ] }, { - "name": "emcareobservationemcareb11s1de01", + "name": "CccobservationCccb11s1de01", "typeMode": "none", "input": [ { @@ -3895,7 +3895,7 @@ ], "rule": [ { - "name": "id-emcareb11s1de01", + "name": "id-Cccb11s1de01", "source": [ { "context": "src" @@ -3979,7 +3979,7 @@ ] }, { - "name": "code-emcareb11s1de01", + "name": "code-Cccb11s1de01", "source": [ { "context": "src", @@ -4018,7 +4018,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -4053,7 +4053,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -4064,7 +4064,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B11S1.DE01" + "valueString": "Ccc.B11S1.DE01" } ] } @@ -4150,7 +4150,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B11S1.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B11S1.DE01') and answer.exists()" } ], "rule": [ @@ -4166,7 +4166,7 @@ ], "rule": [ { - "name": "final-emcareb11s1de01", + "name": "final-Cccb11s1de01", "source": [ { "context": "a", @@ -4199,7 +4199,7 @@ ] }, { - "name": "notfound-emcareb11s1de01", + "name": "notfound-Cccb11s1de01", "source": [ { "context": "a", @@ -4238,7 +4238,7 @@ ] }, { - "name": "emcareobservationemcareb11s1de02", + "name": "CccobservationCccb11s1de02", "typeMode": "none", "input": [ { @@ -4252,7 +4252,7 @@ ], "rule": [ { - "name": "id-emcareb11s1de02", + "name": "id-Cccb11s1de02", "source": [ { "context": "src" @@ -4336,7 +4336,7 @@ ] }, { - "name": "code-emcareb11s1de02", + "name": "code-Cccb11s1de02", "source": [ { "context": "src", @@ -4375,7 +4375,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -4410,7 +4410,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -4421,7 +4421,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B11S1.DE02" + "valueString": "Ccc.B11S1.DE02" } ] } @@ -4507,7 +4507,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B11S1.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B11S1.DE02') and answer.exists()" } ], "rule": [ @@ -4608,7 +4608,7 @@ ] }, { - "name": "emcareobservationemcareb11s1de05", + "name": "CccobservationCccb11s1de05", "typeMode": "none", "input": [ { @@ -4622,7 +4622,7 @@ ], "rule": [ { - "name": "id-emcareb11s1de05", + "name": "id-Cccb11s1de05", "source": [ { "context": "src" @@ -4706,7 +4706,7 @@ ] }, { - "name": "code-emcareb11s1de05", + "name": "code-Cccb11s1de05", "source": [ { "context": "src", @@ -4745,7 +4745,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -4780,7 +4780,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -4791,7 +4791,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B11S1.DE05" + "valueString": "Ccc.B11S1.DE05" } ] } @@ -4877,7 +4877,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B11S1.DE05') and answer.exists()" + "condition": "(linkId = 'Ccc.B11S1.DE05') and answer.exists()" } ], "rule": [ @@ -4893,7 +4893,7 @@ ], "rule": [ { - "name": "final-emcareb11s1de05", + "name": "final-Cccb11s1de05", "source": [ { "context": "a", @@ -4926,7 +4926,7 @@ ] }, { - "name": "notfound-emcareb11s1de05", + "name": "notfound-Cccb11s1de05", "source": [ { "context": "a", @@ -4965,7 +4965,7 @@ ] }, { - "name": "emcareobservationemcareb12s1de02", + "name": "CccobservationCccb12s1de02", "typeMode": "none", "input": [ { @@ -4979,7 +4979,7 @@ ], "rule": [ { - "name": "id-emcareb12s1de02", + "name": "id-Cccb12s1de02", "source": [ { "context": "src" @@ -5063,7 +5063,7 @@ ] }, { - "name": "code-emcareb12s1de02", + "name": "code-Cccb12s1de02", "source": [ { "context": "src", @@ -5102,7 +5102,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -5137,7 +5137,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -5148,7 +5148,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B12S1.DE02" + "valueString": "Ccc.B12S1.DE02" } ] } @@ -5234,7 +5234,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B12S1.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B12S1.DE02') and answer.exists()" } ], "rule": [ @@ -5250,7 +5250,7 @@ ], "rule": [ { - "name": "final-emcareb12s1de02", + "name": "final-Cccb12s1de02", "source": [ { "context": "a", @@ -5283,7 +5283,7 @@ ] }, { - "name": "notfound-emcareb12s1de02", + "name": "notfound-Cccb12s1de02", "source": [ { "context": "a", @@ -5322,7 +5322,7 @@ ] }, { - "name": "emcareobservationemcareb12s1de03", + "name": "CccobservationCccb12s1de03", "typeMode": "none", "input": [ { @@ -5336,7 +5336,7 @@ ], "rule": [ { - "name": "id-emcareb12s1de03", + "name": "id-Cccb12s1de03", "source": [ { "context": "src" @@ -5420,7 +5420,7 @@ ] }, { - "name": "code-emcareb12s1de03", + "name": "code-Cccb12s1de03", "source": [ { "context": "src", @@ -5459,7 +5459,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -5494,7 +5494,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -5505,7 +5505,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B12S1.DE03" + "valueString": "Ccc.B12S1.DE03" } ] } @@ -5591,7 +5591,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B12S1.DE03') and answer.exists()" + "condition": "(linkId = 'Ccc.B12S1.DE03') and answer.exists()" } ], "rule": [ @@ -5692,7 +5692,7 @@ ] }, { - "name": "emcareobservationemcarebgde06", + "name": "CccobservationCccbgde06", "typeMode": "none", "input": [ { @@ -5706,7 +5706,7 @@ ], "rule": [ { - "name": "id-emcarebgde06", + "name": "id-Cccbgde06", "source": [ { "context": "src" @@ -5790,7 +5790,7 @@ ] }, { - "name": "code-emcarebgde06", + "name": "code-Cccbgde06", "source": [ { "context": "src", @@ -5829,7 +5829,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -5864,7 +5864,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -5875,7 +5875,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B.G.DE06" + "valueString": "Ccc.B.G.DE06" } ] } @@ -5961,7 +5961,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B.G.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.B.G.DE06') and answer.exists()" } ], "rule": [ @@ -5977,7 +5977,7 @@ ], "rule": [ { - "name": "final-emcarebgde06", + "name": "final-Cccbgde06", "source": [ { "context": "a", @@ -6010,7 +6010,7 @@ ] }, { - "name": "notfound-emcarebgde06", + "name": "notfound-Cccbgde06", "source": [ { "context": "a", @@ -6049,7 +6049,7 @@ ] }, { - "name": "emcareobservationemcareb12s1de06", + "name": "CccobservationCccb12s1de06", "typeMode": "none", "input": [ { @@ -6063,7 +6063,7 @@ ], "rule": [ { - "name": "id-emcareb12s1de06", + "name": "id-Cccb12s1de06", "source": [ { "context": "src" @@ -6147,7 +6147,7 @@ ] }, { - "name": "code-emcareb12s1de06", + "name": "code-Cccb12s1de06", "source": [ { "context": "src", @@ -6186,7 +6186,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -6221,7 +6221,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -6232,7 +6232,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B12S1.DE06" + "valueString": "Ccc.B12S1.DE06" } ] } @@ -6318,7 +6318,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B12S1.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.B12S1.DE06') and answer.exists()" } ], "rule": [ @@ -6334,7 +6334,7 @@ ], "rule": [ { - "name": "final-emcareb12s1de06", + "name": "final-Cccb12s1de06", "source": [ { "context": "a", @@ -6367,7 +6367,7 @@ ] }, { - "name": "notfound-emcareb12s1de06", + "name": "notfound-Cccb12s1de06", "source": [ { "context": "a", @@ -6406,7 +6406,7 @@ ] }, { - "name": "emcareobservationemcareb13s1de01", + "name": "CccobservationCccb13s1de01", "typeMode": "none", "input": [ { @@ -6420,7 +6420,7 @@ ], "rule": [ { - "name": "id-emcareb13s1de01", + "name": "id-Cccb13s1de01", "source": [ { "context": "src" @@ -6504,7 +6504,7 @@ ] }, { - "name": "code-emcareb13s1de01", + "name": "code-Cccb13s1de01", "source": [ { "context": "src", @@ -6543,7 +6543,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -6578,7 +6578,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -6589,7 +6589,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B13S1.DE01" + "valueString": "Ccc.B13S1.DE01" } ] } @@ -6675,7 +6675,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B13S1.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B13S1.DE01') and answer.exists()" } ], "rule": [ @@ -6691,7 +6691,7 @@ ], "rule": [ { - "name": "final-emcareb13s1de01", + "name": "final-Cccb13s1de01", "source": [ { "context": "a", @@ -6724,7 +6724,7 @@ ] }, { - "name": "notfound-emcareb13s1de01", + "name": "notfound-Cccb13s1de01", "source": [ { "context": "a", @@ -6763,7 +6763,7 @@ ] }, { - "name": "emcareobservationemcareb13s1de02", + "name": "CccobservationCccb13s1de02", "typeMode": "none", "input": [ { @@ -6777,7 +6777,7 @@ ], "rule": [ { - "name": "id-emcareb13s1de02", + "name": "id-Cccb13s1de02", "source": [ { "context": "src" @@ -6861,7 +6861,7 @@ ] }, { - "name": "code-emcareb13s1de02", + "name": "code-Cccb13s1de02", "source": [ { "context": "src", @@ -6900,7 +6900,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -6935,7 +6935,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -6946,7 +6946,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B13S1.DE02" + "valueString": "Ccc.B13S1.DE02" } ] } @@ -7032,7 +7032,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B13S1.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B13S1.DE02') and answer.exists()" } ], "rule": [ @@ -7048,7 +7048,7 @@ ], "rule": [ { - "name": "final-emcareb13s1de02", + "name": "final-Cccb13s1de02", "source": [ { "context": "a", @@ -7081,7 +7081,7 @@ ] }, { - "name": "notfound-emcareb13s1de02", + "name": "notfound-Cccb13s1de02", "source": [ { "context": "a", @@ -7120,7 +7120,7 @@ ] }, { - "name": "emcareobservationemcareb13s1de03", + "name": "CccobservationCccb13s1de03", "typeMode": "none", "input": [ { @@ -7134,7 +7134,7 @@ ], "rule": [ { - "name": "id-emcareb13s1de03", + "name": "id-Cccb13s1de03", "source": [ { "context": "src" @@ -7218,7 +7218,7 @@ ] }, { - "name": "code-emcareb13s1de03", + "name": "code-Cccb13s1de03", "source": [ { "context": "src", @@ -7257,7 +7257,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -7292,7 +7292,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -7303,7 +7303,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B13S1.DE03" + "valueString": "Ccc.B13S1.DE03" } ] } @@ -7389,7 +7389,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B13S1.DE03') and answer.exists()" + "condition": "(linkId = 'Ccc.B13S1.DE03') and answer.exists()" } ], "rule": [ @@ -7405,7 +7405,7 @@ ], "rule": [ { - "name": "final-emcareb13s1de03", + "name": "final-Cccb13s1de03", "source": [ { "context": "a", @@ -7438,7 +7438,7 @@ ] }, { - "name": "notfound-emcareb13s1de03", + "name": "notfound-Cccb13s1de03", "source": [ { "context": "a", @@ -7477,7 +7477,7 @@ ] }, { - "name": "emcareobservationemcareb13s1de04", + "name": "CccobservationCccb13s1de04", "typeMode": "none", "input": [ { @@ -7491,7 +7491,7 @@ ], "rule": [ { - "name": "id-emcareb13s1de04", + "name": "id-Cccb13s1de04", "source": [ { "context": "src" @@ -7575,7 +7575,7 @@ ] }, { - "name": "code-emcareb13s1de04", + "name": "code-Cccb13s1de04", "source": [ { "context": "src", @@ -7614,7 +7614,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -7649,7 +7649,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -7660,7 +7660,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B13S1.DE04" + "valueString": "Ccc.B13S1.DE04" } ] } @@ -7746,7 +7746,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B13S1.DE04') and answer.exists()" + "condition": "(linkId = 'Ccc.B13S1.DE04') and answer.exists()" } ], "rule": [ @@ -7847,7 +7847,7 @@ ] }, { - "name": "emcareobservationemcareb14s1de03", + "name": "CccobservationCccb14s1de03", "typeMode": "none", "input": [ { @@ -7861,7 +7861,7 @@ ], "rule": [ { - "name": "id-emcareb14s1de03", + "name": "id-Cccb14s1de03", "source": [ { "context": "src" @@ -7945,7 +7945,7 @@ ] }, { - "name": "code-emcareb14s1de03", + "name": "code-Cccb14s1de03", "source": [ { "context": "src", @@ -7984,7 +7984,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -8019,7 +8019,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -8030,7 +8030,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S1.DE03" + "valueString": "Ccc.B14S1.DE03" } ] } @@ -8116,7 +8116,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S1.DE03') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S1.DE03') and answer.exists()" } ], "rule": [ @@ -8132,7 +8132,7 @@ ], "rule": [ { - "name": "final-emcareb14s1de03", + "name": "final-Cccb14s1de03", "source": [ { "context": "a", @@ -8165,7 +8165,7 @@ ] }, { - "name": "notfound-emcareb14s1de03", + "name": "notfound-Cccb14s1de03", "source": [ { "context": "a", @@ -8204,7 +8204,7 @@ ] }, { - "name": "emcareobservationemcareb14s1de01", + "name": "CccobservationCccb14s1de01", "typeMode": "none", "input": [ { @@ -8218,7 +8218,7 @@ ], "rule": [ { - "name": "id-emcareb14s1de01", + "name": "id-Cccb14s1de01", "source": [ { "context": "src" @@ -8302,7 +8302,7 @@ ] }, { - "name": "code-emcareb14s1de01", + "name": "code-Cccb14s1de01", "source": [ { "context": "src", @@ -8341,7 +8341,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -8376,7 +8376,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -8387,7 +8387,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S1.DE01" + "valueString": "Ccc.B14S1.DE01" } ] } @@ -8473,7 +8473,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S1.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S1.DE01') and answer.exists()" } ], "rule": [ @@ -8489,7 +8489,7 @@ ], "rule": [ { - "name": "final-emcareb14s1de01", + "name": "final-Cccb14s1de01", "source": [ { "context": "a", @@ -8522,7 +8522,7 @@ ] }, { - "name": "notfound-emcareb14s1de01", + "name": "notfound-Cccb14s1de01", "source": [ { "context": "a", @@ -8561,7 +8561,7 @@ ] }, { - "name": "emcareobservationemcareb14s1de02", + "name": "CccobservationCccb14s1de02", "typeMode": "none", "input": [ { @@ -8575,7 +8575,7 @@ ], "rule": [ { - "name": "id-emcareb14s1de02", + "name": "id-Cccb14s1de02", "source": [ { "context": "src" @@ -8659,7 +8659,7 @@ ] }, { - "name": "code-emcareb14s1de02", + "name": "code-Cccb14s1de02", "source": [ { "context": "src", @@ -8698,7 +8698,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -8733,7 +8733,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -8744,7 +8744,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S1.DE02" + "valueString": "Ccc.B14S1.DE02" } ] } @@ -8830,7 +8830,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S1.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S1.DE02') and answer.exists()" } ], "rule": [ @@ -8846,7 +8846,7 @@ ], "rule": [ { - "name": "final-emcareb14s1de02", + "name": "final-Cccb14s1de02", "source": [ { "context": "a", @@ -8879,7 +8879,7 @@ ] }, { - "name": "notfound-emcareb14s1de02", + "name": "notfound-Cccb14s1de02", "source": [ { "context": "a", diff --git a/input/resources/structuremap/structuremap-emcare.b10-16.signs.2m.p.json b/input/resources/structuremap/structuremap-Ccc.b10-16.signs.2m.p.json similarity index 90% rename from input/resources/structuremap/structuremap-emcare.b10-16.signs.2m.p.json rename to input/resources/structuremap/structuremap-Ccc.b10-16.signs.2m.p.json index ffdd3154..ced4f37a 100644 --- a/input/resources/structuremap/structuremap-emcare.b10-16.signs.2m.p.json +++ b/input/resources/structuremap/structuremap-Ccc.b10-16.signs.2m.p.json @@ -1,12 +1,12 @@ { "resourceType": "StructureMap", - "id": "emcare.b10-16.signs.2m.p", + "id": "Ccc.b10-16.signs.2m.p", "text": { "status": "generated", - "div": "
map "https://smart.who.int/ccc/StructureMap/emcare.b10-16.signs.2m.p" = "emcare.b10-16.signs.2m.p"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/observation" alias 'Observation' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/emcareobservation" alias 'EmCare Observation' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src.item first as item where (linkId = 'EmCare.B10S2.DE03') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb10s2de03(src, tgt) "9be992ee";\r\n      } "36f7a9cc";\r\n    } "079b8b98";\r\n  } "366acbd3";\r\n  src.item first as item where (linkId = 'EmCare.B10S2.DE04') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb10s2de04(src, tgt) "22bcca4b";\r\n      } "32ccd4c5";\r\n    } "a7c78146";\r\n  } "b19e39bf";\r\n  src.item first as item where (linkId = 'EmCare.B10S2.DE05') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb10s2de05(src, tgt) "1d8e3cbc";\r\n      } "bf103e1e";\r\n    } "76d6b934";\r\n  } "98782720";\r\n  src.item first as item where (linkId = 'EmCare.B10S2.DE06') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb10s2de06(src, tgt) "c80bf08a";\r\n      } "1045a48d";\r\n    } "3d816032";\r\n  } "530045b2";\r\n  src.item first as itm1 where linkId = 'Oxygen_Saturation' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B10S2.DE07') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb10s2de07(src, tgt) "8ed85169";\r\n        } "115f4673";\r\n      } "c898e9da";\r\n    } "b4fdeee3";\r\n  } "92a14f88";\r\n  src.item first as item where (linkId = 'EmCare.B11S2.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb11s2de01(src, tgt) "571f12fb";\r\n      } "df9369ca";\r\n    } "b1634b07";\r\n  } "bf55dba7";\r\n  src.item first as item where (linkId = 'EmCare.B11S2.DE02') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb11s2de02(src, tgt) "35df08c4";\r\n      } "52eb002b";\r\n    } "c096f5b2";\r\n  } "f35e6a90";\r\n  src.item first as item where (linkId = 'EmCare.B11S2.DE06') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb11s2de06(src, tgt) "048f10f9";\r\n      } "011caec9";\r\n    } "431cd0b3";\r\n  } "5a3f8e99";\r\n  src.item first as item where (linkId = 'EmCare.B17S1.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb17s1de01(src, tgt) "13df0b77";\r\n      } "ebf73588";\r\n    } "4de1b457";\r\n  } "eb36da14";\r\n  src.item first as item where (linkId = 'EmCare.B17S1.DE02') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb17s1de02(src, tgt) "df66de05";\r\n      } "cef4a910";\r\n    } "7a411b35";\r\n  } "f5194f29";\r\n  src.item first as item where (linkId = 'EmCare.B17S1.DE06') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb17s1de06(src, tgt) "7dcc4fe7";\r\n      } "57c20bc9";\r\n    } "a315006a";\r\n  } "371f2fa4";\r\n  src.item first as item where (linkId = 'EmCare.B17S1.DE07') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb17s1de07(src, tgt) "6d9d7efe";\r\n      } "666ea04b";\r\n    } "555380a9";\r\n  } "6484a938";\r\n  src.item first as item where (linkId = 'EmCare.B13S2.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb13s2de01(src, tgt) "988862af";\r\n      } "6071237c";\r\n    } "b8724cd8";\r\n  } "06c49c87";\r\n  src.item first as item where (linkId = 'EmCare.B13S2.DE02') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb13s2de02(src, tgt) "f885cd9f";\r\n      } "56652867";\r\n    } "d0f4b9f9";\r\n  } "530eefb8";\r\n  src.item first as item where (linkId = 'EmCare.B13S2.DE03') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb13s2de03(src, tgt) "e686d739";\r\n      } "c2d82e76";\r\n    } "1aafb16b";\r\n  } "9b54ee4f";\r\n  src.item first as item where (linkId = 'EmCare.B12S2.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb12s2de01(src, tgt) "d9032a0e";\r\n      } "471ac9ec";\r\n    } "364c39dc";\r\n  } "387028ff";\r\n  src.item first as item where (linkId = 'EmCare.B12S2.DE05') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb12s2de05(src, tgt) "b4d067ef";\r\n      } "260342c7";\r\n    } "bd3ec4be";\r\n  } "325408a5";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb14s2de01(src, tgt) "3c803bdc";\r\n      } "8df3ea2e";\r\n    } "f8052c53";\r\n  } "91d8a216";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE02') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb14s2de02(src, tgt) "e05b3a93";\r\n      } "0c924a74";\r\n    } "56da7549";\r\n  } "2aa25144";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE03') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb14s2de03(src, tgt) "9ccb1879";\r\n      } "017fcd3f";\r\n    } "05f51940";\r\n  } "7c588606";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE04') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb14s2de04(src, tgt) "0e9ceef0";\r\n      } "083b89d9";\r\n    } "776651be";\r\n  } "9007e632";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE05') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb14s2de05(src, tgt) "7f44dd5a";\r\n      } "c001deab";\r\n    } "280ba472";\r\n  } "c672d1b7";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE06').answer.where(value.code = 'EmCare.B14S2.DE07') then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE06') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de06emcareb14s2de07t(src, tgt) "37b45a1a";\r\n        } "971c989b";\r\n      } "f56a8acb";\r\n    } "f0e0c1c7";\r\n  } "2caf0a2d";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE06').exists() and src.item.where(linkId = 'EmCare.B14S2.DE06').answer.where(value.code = 'EmCare.B14S2.DE07').empty() then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE06') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de06emcareb14s2de07f(src, tgt) "ed6e13a0";\r\n        } "52c7fa66";\r\n      } "81854047";\r\n    } "a9b43d6e";\r\n  } "fed21ad9";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE06').answer.where(value.code = 'EmCare.B14S2.DE08') then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE06') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de06emcareb14s2de08t(src, tgt) "31d968a5";\r\n        } "05db12b8";\r\n      } "adbfce41";\r\n    } "89575f40";\r\n  } "294cc680";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE06').exists() and src.item.where(linkId = 'EmCare.B14S2.DE06').answer.where(value.code = 'EmCare.B14S2.DE08').empty() then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE06') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de06emcareb14s2de08f(src, tgt) "1a79fb79";\r\n        } "3f5690dd";\r\n      } "a36f6b02";\r\n    } "3d64a953";\r\n  } "37580d33";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE06').answer.where(value.code = 'EmCare.B14S2.DE09') then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE06') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de06emcareb14s2de09t(src, tgt) "28edea0e";\r\n        } "7f261203";\r\n      } "a883e98f";\r\n    } "158e3fbb";\r\n  } "e1eb3d64";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE06').exists() and src.item.where(linkId = 'EmCare.B14S2.DE06').answer.where(value.code = 'EmCare.B14S2.DE09').empty() then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE06') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de06emcareb14s2de09f(src, tgt) "838bc2fd";\r\n        } "fe14ec44";\r\n      } "e465613c";\r\n    } "7ec9bbca";\r\n  } "ae01960a";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE10') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb14s2de10(src, tgt) "c7bb4c66";\r\n      } "f8c64c2f";\r\n    } "b824f2ed";\r\n  } "76d01623";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE11') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb14s2de11(src, tgt) "075dfab4";\r\n      } "e7decefb";\r\n    } "258af3ea";\r\n  } "0a0c8d1d";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE12') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb14s2de12(src, tgt) "5c4fb26d";\r\n      } "8b35df2f";\r\n    } "1def7e4a";\r\n  } "23fadae9";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE18') then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de13emcareb14s2de18t(src, tgt) "441e433a";\r\n        } "c6a25fe8";\r\n      } "3ce60159";\r\n    } "d174fa68";\r\n  } "ac7d700b";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE13').exists() and src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE18').empty() then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de13emcareb14s2de18f(src, tgt) "97a383dc";\r\n        } "2dc8d6f1";\r\n      } "e831d44b";\r\n    } "01b18454";\r\n  } "451ac430";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE19') then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de13emcareb14s2de19t(src, tgt) "176edab8";\r\n        } "6066f6c8";\r\n      } "983ce7ec";\r\n    } "19ed849e";\r\n  } "3852f24c";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE13').exists() and src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE19').empty() then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de13emcareb14s2de19f(src, tgt) "817f40b1";\r\n        } "be332abb";\r\n      } "5233dec2";\r\n    } "b6313d6e";\r\n  } "a8b58d8a";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE21') then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de13emcareb14s2de21t(src, tgt) "aa5b0432";\r\n        } "0ec5642c";\r\n      } "0d215d93";\r\n    } "4854d5df";\r\n  } "ae0dcf93";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE13').exists() and src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE21').empty() then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de13emcareb14s2de21f(src, tgt) "e4468f91";\r\n        } "cd3aebda";\r\n      } "13f1b93a";\r\n    } "c43d8495";\r\n  } "15560381";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE22') then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de13emcareb14s2de22t(src, tgt) "ab612b0e";\r\n        } "5f99713d";\r\n      } "0f879b99";\r\n    } "8071df60";\r\n  } "c9c52b13";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE13').exists() and src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE22').empty() then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de13emcareb14s2de22f(src, tgt) "123f16cb";\r\n        } "6839cab1";\r\n      } "cd6d3ddf";\r\n    } "ab20fd0d";\r\n  } "1392af91";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE23') then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de13emcareb14s2de23t(src, tgt) "a59d13f2";\r\n        } "6fa9b4c3";\r\n      } "a59cf8e8";\r\n    } "d5f2929d";\r\n  } "0b62df00";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE13').exists() and src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE23').empty() then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de13emcareb14s2de23f(src, tgt) "6596445b";\r\n        } "960ec6df";\r\n      } "388ca68d";\r\n    } "25b5d6b1";\r\n  } "87288d6a";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE25') then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de13emcareb14s2de25t(src, tgt) "072f0d04";\r\n        } "bdb49f20";\r\n      } "1ac2bcc1";\r\n    } "43511064";\r\n  } "6a58313a";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE13').exists() and src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE25').empty() then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de13emcareb14s2de25f(src, tgt) "81e79970";\r\n        } "224b2fb2";\r\n      } "021a8b72";\r\n    } "368d9ecb";\r\n  } "8441e89f";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE31') then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de13emcareb14s2de31t(src, tgt) "b35eaf3c";\r\n        } "a1596adf";\r\n      } "bab60838";\r\n    } "17feed2f";\r\n  } "4912861f";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE13').exists() and src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE31').empty() then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de13emcareb14s2de31f(src, tgt) "0c07de59";\r\n        } "8c4edf8a";\r\n      } "f51215d7";\r\n    } "76689bf7";\r\n  } "f8037952";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE32') then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de13emcareb14s2de32t(src, tgt) "304d4aab";\r\n        } "6fe3eb64";\r\n      } "14dd9fb8";\r\n    } "a671b882";\r\n  } "1c1c4815";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE13').exists() and src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE32').empty() then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de13emcareb14s2de32f(src, tgt) "6f919233";\r\n        } "5708f6bd";\r\n      } "833ec3a9";\r\n    } "cdb61927";\r\n  } "3a489200";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE33') then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de13emcareb14s2de33t(src, tgt) "0b3f6de9";\r\n        } "980b8c8b";\r\n      } "94d31e8a";\r\n    } "d37d7b65";\r\n  } "d888db70";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE13').exists() and src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE33').empty() then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de13emcareb14s2de33f(src, tgt) "8660b336";\r\n        } "dd13171e";\r\n      } "3580783e";\r\n    } "d31d16ef";\r\n  } "e3f7e3de";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE35') then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de13emcareb14s2de35t(src, tgt) "fdc56916";\r\n        } "83c3b9d5";\r\n      } "19244b4d";\r\n    } "97672cc7";\r\n  } "0ba97eaa";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE13').exists() and src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE35').empty() then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de13emcareb14s2de35f(src, tgt) "aca6e81a";\r\n        } "c68620da";\r\n      } "be69b7d3";\r\n    } "12e78229";\r\n  } "a1231c31";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE36') then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de13emcareb14s2de36t(src, tgt) "ac250feb";\r\n        } "e61326dd";\r\n      } "9cab4235";\r\n    } "cc1e3733";\r\n  } "fd0dd1e1";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE13').exists() and src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE36').empty() then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de13emcareb14s2de36f(src, tgt) "6c995c67";\r\n        } "b2720395";\r\n      } "061de0de";\r\n    } "e329544f";\r\n  } "6190a03e";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE37') then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de13emcareb14s2de37t(src, tgt) "e70adb73";\r\n        } "4bc7d51a";\r\n      } "cd87f1e7";\r\n    } "66356988";\r\n  } "1d47d233";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE13').exists() and src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE37').empty() then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de13emcareb14s2de37f(src, tgt) "216b6583";\r\n        } "191d63ec";\r\n      } "f1af8fee";\r\n    } "9b50cdfb";\r\n  } "1e5890e8";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE19a') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb14s2de19a(src, tgt) "001e9c80";\r\n      } "d2eb23fb";\r\n    } "f21f5e42";\r\n  } "0b69df95";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE22A') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb14s2de22a(src, tgt) "bccd876e";\r\n      } "95095060";\r\n    } "255ee6cb";\r\n  } "d708ca5c";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE23a') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb14s2de23a(src, tgt) "d2d3bcd4";\r\n      } "990f2716";\r\n    } "b0df7a91";\r\n  } "c2f9a858";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE24') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb14s2de24(src, tgt) "fd1e1903";\r\n      } "8deeed15";\r\n    } "711ceb12";\r\n  } "2394e366";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE30') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb14s2de30(src, tgt) "48133b0b";\r\n      } "b13f149c";\r\n    } "e8395f1e";\r\n  } "a612d3de";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE30b') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb14s2de30b(src, tgt) "e092d9f2";\r\n      } "49fe0265";\r\n    } "f83e6d8d";\r\n  } "ee1ec67e";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE31a') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb14s2de31a(src, tgt) "e36dddc9";\r\n      } "dd872982";\r\n    } "ec36bfb0";\r\n  } "09b48cf7";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE31b') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb14s2de31b(src, tgt) "a400e31e";\r\n      } "29aa3e32";\r\n    } "4d8d5769";\r\n  } "8023b5d8";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE32a') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb14s2de32a(src, tgt) "ebc4362a";\r\n      } "7b8431db";\r\n    } "63050b98";\r\n  } "7898f754";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE34') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb14s2de34(src, tgt) "1b1e3f3d";\r\n      } "92cdef51";\r\n    } "0f34721b";\r\n  } "5f2fd5be";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE36a') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb14s2de36a(src, tgt) "3a34cb4f";\r\n      } "cf05f31f";\r\n    } "62bf6f61";\r\n  } "9ab3add7";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE36b') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb14s2de36b(src, tgt) "b4115e85";\r\n      } "a80a9c42";\r\n    } "7cf10a5a";\r\n  } "a41011e3";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE36c') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb14s2de36c(src, tgt) "714801e7";\r\n      } "aed593a3";\r\n    } "10ad35b3";\r\n  } "c7681e2f";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE38') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb14s2de38(src, tgt) "695d29c8";\r\n      } "dd9951a6";\r\n    } "dbe4c0ed";\r\n  } "046ea4db";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE43').answer.where(value.code = 'EmCare.B14S2.DE44') then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE43') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de43emcareb14s2de44t(src, tgt) "54047125";\r\n        } "67759d25";\r\n      } "b7a4c6f7";\r\n    } "2df98dca";\r\n  } "39bf7130";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE43').exists() and src.item.where(linkId = 'EmCare.B14S2.DE43').answer.where(value.code = 'EmCare.B14S2.DE44').empty() then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE43') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de43emcareb14s2de44f(src, tgt) "ff18b722";\r\n        } "7ce88931";\r\n      } "d99ebaca";\r\n    } "e398081f";\r\n  } "0b39dd54";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE43').answer.where(value.code = 'EmCare.B14S2.DE45') then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE43') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de43emcareb14s2de45t(src, tgt) "3db9ce97";\r\n        } "2b1d1228";\r\n      } "694fcde8";\r\n    } "8d2528b2";\r\n  } "5702646c";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE43').exists() and src.item.where(linkId = 'EmCare.B14S2.DE43').answer.where(value.code = 'EmCare.B14S2.DE45').empty() then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE43') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de43emcareb14s2de45f(src, tgt) "00fcb42e";\r\n        } "be31bcba";\r\n      } "b54e492c";\r\n    } "84ddf53c";\r\n  } "71ef3401";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE43').answer.where(value.code = 'EmCare.B14S2.DE46') then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE43') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de43emcareb14s2de46t(src, tgt) "10098170";\r\n        } "321eb396";\r\n      } "84fc742e";\r\n    } "75bfd082";\r\n  } "9a6c19cd";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE43').exists() and src.item.where(linkId = 'EmCare.B14S2.DE43').answer.where(value.code = 'EmCare.B14S2.DE46').empty() then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE43') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de43emcareb14s2de46f(src, tgt) "6aa2bb98";\r\n        } "71cfb393";\r\n      } "05fac2b4";\r\n    } "f1cb924b";\r\n  } "d52ab655";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE43').answer.where(value.code = 'EmCare.B14S2.DE47') then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE43') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de43emcareb14s2de47t(src, tgt) "5e647793";\r\n        } "f179975e";\r\n      } "c179f0cb";\r\n    } "630de842";\r\n  } "2a472f41";\r\n  src where src.item.where(linkId = 'EmCare.B14S2.DE43').exists() and src.item.where(linkId = 'EmCare.B14S2.DE43').answer.where(value.code = 'EmCare.B14S2.DE47').empty() then {\r\n    src.item first as item where (linkId = 'EmCare.B14S2.DE43') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb14s2de43emcareb14s2de47f(src, tgt) "46287011";\r\n        } "19fb566f";\r\n      } "4464667a";\r\n    } "ff1524d9";\r\n  } "1d4733d3";\r\n  src.item first as item where (linkId = 'EmCare.B15S2.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb15s2de01(src, tgt) "0e40abb2";\r\n      } "6b463abd";\r\n    } "75a9eb5b";\r\n  } "f3f997c1";\r\n  src.item first as item where (linkId = 'EmCare.B15S2.DE09') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb15s2de09(src, tgt) "41e89548";\r\n      } "fbbb4fbf";\r\n    } "ba468419";\r\n  } "91fe7c34";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE01') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de01(src, tgt) "94788d70";\r\n        } "cafa1f90";\r\n      } "44017cb3";\r\n    } "1c5108b8";\r\n  } "88bb5c43";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE02') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de02(src, tgt) "c3e885af";\r\n        } "60b301de";\r\n      } "815e425c";\r\n    } "85d3c3a3";\r\n  } "c7e0dbc2";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then {\r\n    itm1.item first as itm2 where linkId = 'second' then {\r\n      itm2.item first as item where (linkId = 'EmCare.B22.DE04') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src -> tgt then emcareobservationemcareb22de04(src, tgt) "42ed4c3a";\r\n          } "b802d4a2";\r\n        } "c7431f4f";\r\n      } "ad5094ed";\r\n    } "3b2e9629";\r\n  } "318dfe75";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then {\r\n    itm1.item first as itm2 where linkId = 'second' then {\r\n      itm2.item first as item where (linkId = 'EmCare.B22.DE05') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src -> tgt then emcareobservationemcareb22de05(src, tgt) "3be4cd34";\r\n          } "b7585bc2";\r\n        } "61b1a5c6";\r\n      } "d9d928a7";\r\n    } "9853d168";\r\n  } "c21c2c7c";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE07') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de07(src, tgt) "fa30cee1";\r\n        } "aad75965";\r\n      } "8267defb";\r\n    } "a2eebe03";\r\n  } "7ef76f25";\r\n}\r\n\r\ngroup emcareobservationemcareb10s2de03(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb10s2de03";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B10S2.DE03' "code-emcareb10s2de03";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B10S2.DE03') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb10s2de03";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb10s2de03";\r\n    } "bdab9370";\r\n  } "f8989270";\r\n}\r\n\r\ngroup emcareobservationemcareb10s2de04(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb10s2de04";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B10S2.DE04' "code-emcareb10s2de04";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B10S2.DE04') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb10s2de04";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb10s2de04";\r\n    } "bdab9370";\r\n  } "84e99b62";\r\n}\r\n\r\ngroup emcareobservationemcareb10s2de05(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb10s2de05";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B10S2.DE05' "code-emcareb10s2de05";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B10S2.DE05') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb10s2de05";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb10s2de05";\r\n    } "bdab9370";\r\n  } "822a6b5c";\r\n}\r\n\r\ngroup emcareobservationemcareb10s2de06(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb10s2de06";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B10S2.DE06' "code-emcareb10s2de06";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B10S2.DE06') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb10s2de06";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb10s2de06";\r\n    } "bdab9370";\r\n  } "ccfb93d4";\r\n}\r\n\r\ngroup emcareobservationemcareb10s2de07(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb10s2de07";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B10S2.DE07' "code-emcareb10s2de07";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Oxygen_Saturation' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B10S2.DE07') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n      } "d40466ff";\r\n    } "eef20b5e";\r\n  } "c5b03c7d";\r\n}\r\n\r\ngroup emcareobservationemcareb11s2de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb11s2de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B11S2.DE01' "code-emcareb11s2de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B11S2.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n      } "26c2c8c7";\r\n    } "721205d5";\r\n  } "52679414";\r\n}\r\n\r\ngroup emcareobservationemcareb11s2de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb11s2de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B11S2.DE02' "code-emcareb11s2de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B11S2.DE02') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "73bc942d";\r\n}\r\n\r\ngroup emcareobservationemcareb11s2de06(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb11s2de06";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B11S2.DE06' "code-emcareb11s2de06";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B11S2.DE06') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb11s2de06";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb11s2de06";\r\n    } "bdab9370";\r\n  } "47e72c0c";\r\n}\r\n\r\ngroup emcareobservationemcareb17s1de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb17s1de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B17S1.DE01' "code-emcareb17s1de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B17S1.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb17s1de01";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb17s1de01";\r\n    } "bdab9370";\r\n  } "11b37b57";\r\n}\r\n\r\ngroup emcareobservationemcareb17s1de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb17s1de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B17S1.DE02' "code-emcareb17s1de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B17S1.DE02') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "239f6c79";\r\n}\r\n\r\ngroup emcareobservationemcareb17s1de06(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb17s1de06";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B17S1.DE06' "code-emcareb17s1de06";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B17S1.DE06') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb17s1de06";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb17s1de06";\r\n    } "bdab9370";\r\n  } "2dd51df6";\r\n}\r\n\r\ngroup emcareobservationemcareb17s1de07(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb17s1de07";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B17S1.DE07' "code-emcareb17s1de07";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B17S1.DE07') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "21ffdb9d";\r\n}\r\n\r\ngroup emcareobservationemcareb13s2de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb13s2de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B13S2.DE01' "code-emcareb13s2de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B13S2.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb13s2de01";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb13s2de01";\r\n    } "bdab9370";\r\n  } "eabd29fd";\r\n}\r\n\r\ngroup emcareobservationemcareb13s2de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb13s2de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B13S2.DE02' "code-emcareb13s2de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B13S2.DE02') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb13s2de02";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb13s2de02";\r\n    } "bdab9370";\r\n  } "5b651554";\r\n}\r\n\r\ngroup emcareobservationemcareb13s2de03(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb13s2de03";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B13S2.DE03' "code-emcareb13s2de03";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B13S2.DE03') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "b937d9f0";\r\n}\r\n\r\ngroup emcareobservationemcareb12s2de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb12s2de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B12S2.DE01' "code-emcareb12s2de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B12S2.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb12s2de01";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb12s2de01";\r\n    } "bdab9370";\r\n  } "de146d59";\r\n}\r\n\r\ngroup emcareobservationemcareb12s2de05(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb12s2de05";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B12S2.DE05' "code-emcareb12s2de05";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B12S2.DE05') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb12s2de05";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb12s2de05";\r\n    } "bdab9370";\r\n  } "c913991e";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb14s2de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE01' "code-emcareb14s2de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb14s2de01";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb14s2de01";\r\n    } "bdab9370";\r\n  } "ffbd856e";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb14s2de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE02' "code-emcareb14s2de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE02') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb14s2de02";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb14s2de02";\r\n    } "bdab9370";\r\n  } "0fee727b";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de03(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb14s2de03";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE03' "code-emcareb14s2de03";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE03') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb14s2de03";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb14s2de03";\r\n    } "bdab9370";\r\n  } "35101ce1";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de04(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb14s2de04";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE04' "code-emcareb14s2de04";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE04') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb14s2de04";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb14s2de04";\r\n    } "bdab9370";\r\n  } "b57020c5";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de05(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb14s2de05";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE05' "code-emcareb14s2de05";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE05') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb14s2de05";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb14s2de05";\r\n    } "bdab9370";\r\n  } "0b745de8";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de06emcareb14s2de07t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de06emcareb14s2de07t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE06&EmCare.B14S2.DE07' "code-emcareobservationemcareb14s2de06emcareb14s2de07t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de06emcareb14s2de07f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de06emcareb14s2de07f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE06&EmCare.B14S2.DE07' "code-emcareobservationemcareb14s2de06emcareb14s2de07f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de06emcareb14s2de08t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de06emcareb14s2de08t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE06&EmCare.B14S2.DE08' "code-emcareobservationemcareb14s2de06emcareb14s2de08t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de06emcareb14s2de08f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de06emcareb14s2de08f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE06&EmCare.B14S2.DE08' "code-emcareobservationemcareb14s2de06emcareb14s2de08f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de06emcareb14s2de09t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de06emcareb14s2de09t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE06&EmCare.B14S2.DE09' "code-emcareobservationemcareb14s2de06emcareb14s2de09t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de06emcareb14s2de09f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de06emcareb14s2de09f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE06&EmCare.B14S2.DE09' "code-emcareobservationemcareb14s2de06emcareb14s2de09f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de10(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb14s2de10";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE10' "code-emcareb14s2de10";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE10') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb14s2de10";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb14s2de10";\r\n    } "bdab9370";\r\n  } "686fa0c0";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de11(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb14s2de11";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE11' "code-emcareb14s2de11";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE11') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb14s2de11";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb14s2de11";\r\n    } "bdab9370";\r\n  } "9d9704d8";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de12(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb14s2de12";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE12' "code-emcareb14s2de12";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE12') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb14s2de12";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb14s2de12";\r\n    } "bdab9370";\r\n  } "51199b07";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de13emcareb14s2de18t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de13emcareb14s2de18t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE18' "code-emcareobservationemcareb14s2de13emcareb14s2de18t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de13emcareb14s2de18f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de13emcareb14s2de18f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE18' "code-emcareobservationemcareb14s2de13emcareb14s2de18f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de13emcareb14s2de19t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de13emcareb14s2de19t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE19' "code-emcareobservationemcareb14s2de13emcareb14s2de19t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de13emcareb14s2de19f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de13emcareb14s2de19f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE19' "code-emcareobservationemcareb14s2de13emcareb14s2de19f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de13emcareb14s2de21t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de13emcareb14s2de21t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE21' "code-emcareobservationemcareb14s2de13emcareb14s2de21t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de13emcareb14s2de21f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de13emcareb14s2de21f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE21' "code-emcareobservationemcareb14s2de13emcareb14s2de21f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de13emcareb14s2de22t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de13emcareb14s2de22t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE22' "code-emcareobservationemcareb14s2de13emcareb14s2de22t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de13emcareb14s2de22f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de13emcareb14s2de22f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE22' "code-emcareobservationemcareb14s2de13emcareb14s2de22f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de13emcareb14s2de23t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de13emcareb14s2de23t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE23' "code-emcareobservationemcareb14s2de13emcareb14s2de23t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de13emcareb14s2de23f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de13emcareb14s2de23f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE23' "code-emcareobservationemcareb14s2de13emcareb14s2de23f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de13emcareb14s2de25t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de13emcareb14s2de25t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE25' "code-emcareobservationemcareb14s2de13emcareb14s2de25t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de13emcareb14s2de25f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de13emcareb14s2de25f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE25' "code-emcareobservationemcareb14s2de13emcareb14s2de25f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de13emcareb14s2de31t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de13emcareb14s2de31t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE31' "code-emcareobservationemcareb14s2de13emcareb14s2de31t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de13emcareb14s2de31f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de13emcareb14s2de31f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE31' "code-emcareobservationemcareb14s2de13emcareb14s2de31f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de13emcareb14s2de32t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de13emcareb14s2de32t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE32' "code-emcareobservationemcareb14s2de13emcareb14s2de32t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de13emcareb14s2de32f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de13emcareb14s2de32f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE32' "code-emcareobservationemcareb14s2de13emcareb14s2de32f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de13emcareb14s2de33t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de13emcareb14s2de33t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE33' "code-emcareobservationemcareb14s2de13emcareb14s2de33t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de13emcareb14s2de33f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de13emcareb14s2de33f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE33' "code-emcareobservationemcareb14s2de13emcareb14s2de33f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de13emcareb14s2de35t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de13emcareb14s2de35t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE35' "code-emcareobservationemcareb14s2de13emcareb14s2de35t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de13emcareb14s2de35f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de13emcareb14s2de35f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE35' "code-emcareobservationemcareb14s2de13emcareb14s2de35f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de13emcareb14s2de36t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de13emcareb14s2de36t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE36' "code-emcareobservationemcareb14s2de13emcareb14s2de36t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de13emcareb14s2de36f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de13emcareb14s2de36f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE36' "code-emcareobservationemcareb14s2de13emcareb14s2de36f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de13emcareb14s2de37t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de13emcareb14s2de37t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE37' "code-emcareobservationemcareb14s2de13emcareb14s2de37t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de13emcareb14s2de37f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de13emcareb14s2de37f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE13&EmCare.B14S2.DE37' "code-emcareobservationemcareb14s2de13emcareb14s2de37f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de19a(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb14s2de19a";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE19a' "code-emcareb14s2de19a";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE19a') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb14s2de19a";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb14s2de19a";\r\n    } "bdab9370";\r\n  } "7704f1e6";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de22a(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb14s2de22a";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE22A' "code-emcareb14s2de22a";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE22A') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb14s2de22a";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb14s2de22a";\r\n    } "bdab9370";\r\n  } "34b4bff4";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de23a(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb14s2de23a";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE23a' "code-emcareb14s2de23a";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE23a') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb14s2de23a";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb14s2de23a";\r\n    } "bdab9370";\r\n  } "cbc06169";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de24(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb14s2de24";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE24' "code-emcareb14s2de24";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE24') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb14s2de24";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb14s2de24";\r\n    } "bdab9370";\r\n  } "a8bffbd0";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de30(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb14s2de30";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE30' "code-emcareb14s2de30";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE30') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb14s2de30";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb14s2de30";\r\n    } "bdab9370";\r\n  } "5c4c116c";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de30b(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb14s2de30b";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE30b' "code-emcareb14s2de30b";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE30b') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb14s2de30b";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb14s2de30b";\r\n    } "bdab9370";\r\n  } "b2203142";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de31a(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb14s2de31a";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE31a' "code-emcareb14s2de31a";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE31a') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb14s2de31a";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb14s2de31a";\r\n    } "bdab9370";\r\n  } "c1d62dd8";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de31b(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb14s2de31b";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE31b' "code-emcareb14s2de31b";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE31b') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb14s2de31b";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb14s2de31b";\r\n    } "bdab9370";\r\n  } "53c39908";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de32a(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb14s2de32a";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE32a' "code-emcareb14s2de32a";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE32a') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb14s2de32a";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb14s2de32a";\r\n    } "bdab9370";\r\n  } "a295ad88";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de34(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb14s2de34";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE34' "code-emcareb14s2de34";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE34') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb14s2de34";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb14s2de34";\r\n    } "bdab9370";\r\n  } "6bc4a7ea";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de36a(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb14s2de36a";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE36a' "code-emcareb14s2de36a";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE36a') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb14s2de36a";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb14s2de36a";\r\n    } "bdab9370";\r\n  } "72b21d5c";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de36b(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb14s2de36b";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE36b' "code-emcareb14s2de36b";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE36b') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb14s2de36b";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb14s2de36b";\r\n    } "bdab9370";\r\n  } "d3720173";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de36c(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb14s2de36c";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE36c' "code-emcareb14s2de36c";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE36c') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb14s2de36c";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb14s2de36c";\r\n    } "bdab9370";\r\n  } "4f384bfd";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de38(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb14s2de38";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE38' "code-emcareb14s2de38";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B14S2.DE38') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "d40efaa7";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de43emcareb14s2de44t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de43emcareb14s2de44t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE43&EmCare.B14S2.DE44' "code-emcareobservationemcareb14s2de43emcareb14s2de44t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de43emcareb14s2de44f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de43emcareb14s2de44f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE43&EmCare.B14S2.DE44' "code-emcareobservationemcareb14s2de43emcareb14s2de44f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de43emcareb14s2de45t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de43emcareb14s2de45t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE43&EmCare.B14S2.DE45' "code-emcareobservationemcareb14s2de43emcareb14s2de45t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de43emcareb14s2de45f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de43emcareb14s2de45f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE43&EmCare.B14S2.DE45' "code-emcareobservationemcareb14s2de43emcareb14s2de45f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de43emcareb14s2de46t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de43emcareb14s2de46t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE43&EmCare.B14S2.DE46' "code-emcareobservationemcareb14s2de43emcareb14s2de46t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de43emcareb14s2de46f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de43emcareb14s2de46f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE43&EmCare.B14S2.DE46' "code-emcareobservationemcareb14s2de43emcareb14s2de46f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de43emcareb14s2de47t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de43emcareb14s2de47t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE43&EmCare.B14S2.DE47' "code-emcareobservationemcareb14s2de43emcareb14s2de47t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup emcareobservationemcareb14s2de43emcareb14s2de47f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb14s2de43emcareb14s2de47f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B14S2.DE43&EmCare.B14S2.DE47' "code-emcareobservationemcareb14s2de43emcareb14s2de47f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup emcareobservationemcareb15s2de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb15s2de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B15S2.DE01' "code-emcareb15s2de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B15S2.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "aa55388e";\r\n}\r\n\r\ngroup emcareobservationemcareb15s2de09(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb15s2de09";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B15S2.DE09' "code-emcareb15s2de09";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B15S2.DE09') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "2a2ced9b";\r\n}\r\n\r\ngroup emcareobservationemcareb22de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE01' "code-emcareb22de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE01') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n      } "d40466ff";\r\n    } "e1cd1fa1";\r\n  } "ad8e4fa6";\r\n}\r\n\r\ngroup emcareobservationemcareb22de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE02' "code-emcareb22de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE02') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val then {\r\n          val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n        } "26c2c8c7";\r\n      } "721205d5";\r\n    } "38b3c27b";\r\n  } "5b046e45";\r\n}\r\n\r\ngroup emcareobservationemcareb22de04(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de04";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE04' "code-emcareb22de04";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then {\r\n    itm1.item first as itm2 where linkId = 'second' then {\r\n      itm2.item first as item where (linkId = 'EmCare.B22.DE04') and answer.exists() then {\r\n        item.answer first as a then {\r\n          a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n        } "d40466ff";\r\n      } "f66ca63f";\r\n    } "1b837896";\r\n  } "6b3a0b06";\r\n}\r\n\r\ngroup emcareobservationemcareb22de05(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de05";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE05' "code-emcareb22de05";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then {\r\n    itm1.item first as itm2 where linkId = 'second' then {\r\n      itm2.item first as item where (linkId = 'EmCare.B22.DE05') and answer.exists() then {\r\n        item.answer first as a then {\r\n          a.value as val then {\r\n            val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n          } "26c2c8c7";\r\n        } "721205d5";\r\n      } "48a81a4f";\r\n    } "9322cbb7";\r\n  } "ed73ec89";\r\n}\r\n\r\ngroup emcareobservationemcareb22de07(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de07";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE07' "code-emcareb22de07";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE07') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de07";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de07";\r\n      } "bdab9370";\r\n    } "b5e73929";\r\n  } "306838ed";\r\n}\r\n\r\n
" + "div": "
map "https://smart.who.int/ccc/StructureMap/Ccc.b10-16.signs.2m.p" = "Ccc.b10-16.signs.2m.p"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/observation" alias 'Observation' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/Cccobservation" alias 'Ccc Observation' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src.item first as item where (linkId = 'Ccc.B10S2.DE03') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb10s2de03(src, tgt) "9be992ee";\r\n      } "36f7a9cc";\r\n    } "079b8b98";\r\n  } "366acbd3";\r\n  src.item first as item where (linkId = 'Ccc.B10S2.DE04') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb10s2de04(src, tgt) "22bcca4b";\r\n      } "32ccd4c5";\r\n    } "a7c78146";\r\n  } "b19e39bf";\r\n  src.item first as item where (linkId = 'Ccc.B10S2.DE05') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb10s2de05(src, tgt) "1d8e3cbc";\r\n      } "bf103e1e";\r\n    } "76d6b934";\r\n  } "98782720";\r\n  src.item first as item where (linkId = 'Ccc.B10S2.DE06') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb10s2de06(src, tgt) "c80bf08a";\r\n      } "1045a48d";\r\n    } "3d816032";\r\n  } "530045b2";\r\n  src.item first as itm1 where linkId = 'Oxygen_Saturation' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B10S2.DE07') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb10s2de07(src, tgt) "8ed85169";\r\n        } "115f4673";\r\n      } "c898e9da";\r\n    } "b4fdeee3";\r\n  } "92a14f88";\r\n  src.item first as item where (linkId = 'Ccc.B11S2.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb11s2de01(src, tgt) "571f12fb";\r\n      } "df9369ca";\r\n    } "b1634b07";\r\n  } "bf55dba7";\r\n  src.item first as item where (linkId = 'Ccc.B11S2.DE02') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb11s2de02(src, tgt) "35df08c4";\r\n      } "52eb002b";\r\n    } "c096f5b2";\r\n  } "f35e6a90";\r\n  src.item first as item where (linkId = 'Ccc.B11S2.DE06') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb11s2de06(src, tgt) "048f10f9";\r\n      } "011caec9";\r\n    } "431cd0b3";\r\n  } "5a3f8e99";\r\n  src.item first as item where (linkId = 'Ccc.B17S1.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb17s1de01(src, tgt) "13df0b77";\r\n      } "ebf73588";\r\n    } "4de1b457";\r\n  } "eb36da14";\r\n  src.item first as item where (linkId = 'Ccc.B17S1.DE02') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb17s1de02(src, tgt) "df66de05";\r\n      } "cef4a910";\r\n    } "7a411b35";\r\n  } "f5194f29";\r\n  src.item first as item where (linkId = 'Ccc.B17S1.DE06') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb17s1de06(src, tgt) "7dcc4fe7";\r\n      } "57c20bc9";\r\n    } "a315006a";\r\n  } "371f2fa4";\r\n  src.item first as item where (linkId = 'Ccc.B17S1.DE07') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb17s1de07(src, tgt) "6d9d7efe";\r\n      } "666ea04b";\r\n    } "555380a9";\r\n  } "6484a938";\r\n  src.item first as item where (linkId = 'Ccc.B13S2.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb13s2de01(src, tgt) "988862af";\r\n      } "6071237c";\r\n    } "b8724cd8";\r\n  } "06c49c87";\r\n  src.item first as item where (linkId = 'Ccc.B13S2.DE02') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb13s2de02(src, tgt) "f885cd9f";\r\n      } "56652867";\r\n    } "d0f4b9f9";\r\n  } "530eefb8";\r\n  src.item first as item where (linkId = 'Ccc.B13S2.DE03') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb13s2de03(src, tgt) "e686d739";\r\n      } "c2d82e76";\r\n    } "1aafb16b";\r\n  } "9b54ee4f";\r\n  src.item first as item where (linkId = 'Ccc.B12S2.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb12s2de01(src, tgt) "d9032a0e";\r\n      } "471ac9ec";\r\n    } "364c39dc";\r\n  } "387028ff";\r\n  src.item first as item where (linkId = 'Ccc.B12S2.DE05') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb12s2de05(src, tgt) "b4d067ef";\r\n      } "260342c7";\r\n    } "bd3ec4be";\r\n  } "325408a5";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb14s2de01(src, tgt) "3c803bdc";\r\n      } "8df3ea2e";\r\n    } "f8052c53";\r\n  } "91d8a216";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE02') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb14s2de02(src, tgt) "e05b3a93";\r\n      } "0c924a74";\r\n    } "56da7549";\r\n  } "2aa25144";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE03') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb14s2de03(src, tgt) "9ccb1879";\r\n      } "017fcd3f";\r\n    } "05f51940";\r\n  } "7c588606";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE04') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb14s2de04(src, tgt) "0e9ceef0";\r\n      } "083b89d9";\r\n    } "776651be";\r\n  } "9007e632";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE05') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb14s2de05(src, tgt) "7f44dd5a";\r\n      } "c001deab";\r\n    } "280ba472";\r\n  } "c672d1b7";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE06').answer.where(value.code = 'Ccc.B14S2.DE07') then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE06') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de06Cccb14s2de07t(src, tgt) "37b45a1a";\r\n        } "971c989b";\r\n      } "f56a8acb";\r\n    } "f0e0c1c7";\r\n  } "2caf0a2d";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE06').exists() and src.item.where(linkId = 'Ccc.B14S2.DE06').answer.where(value.code = 'Ccc.B14S2.DE07').empty() then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE06') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de06Cccb14s2de07f(src, tgt) "ed6e13a0";\r\n        } "52c7fa66";\r\n      } "81854047";\r\n    } "a9b43d6e";\r\n  } "fed21ad9";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE06').answer.where(value.code = 'Ccc.B14S2.DE08') then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE06') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de06Cccb14s2de08t(src, tgt) "31d968a5";\r\n        } "05db12b8";\r\n      } "adbfce41";\r\n    } "89575f40";\r\n  } "294cc680";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE06').exists() and src.item.where(linkId = 'Ccc.B14S2.DE06').answer.where(value.code = 'Ccc.B14S2.DE08').empty() then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE06') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de06Cccb14s2de08f(src, tgt) "1a79fb79";\r\n        } "3f5690dd";\r\n      } "a36f6b02";\r\n    } "3d64a953";\r\n  } "37580d33";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE06').answer.where(value.code = 'Ccc.B14S2.DE09') then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE06') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de06Cccb14s2de09t(src, tgt) "28edea0e";\r\n        } "7f261203";\r\n      } "a883e98f";\r\n    } "158e3fbb";\r\n  } "e1eb3d64";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE06').exists() and src.item.where(linkId = 'Ccc.B14S2.DE06').answer.where(value.code = 'Ccc.B14S2.DE09').empty() then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE06') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de06Cccb14s2de09f(src, tgt) "838bc2fd";\r\n        } "fe14ec44";\r\n      } "e465613c";\r\n    } "7ec9bbca";\r\n  } "ae01960a";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE10') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb14s2de10(src, tgt) "c7bb4c66";\r\n      } "f8c64c2f";\r\n    } "b824f2ed";\r\n  } "76d01623";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE11') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb14s2de11(src, tgt) "075dfab4";\r\n      } "e7decefb";\r\n    } "258af3ea";\r\n  } "0a0c8d1d";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE12') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb14s2de12(src, tgt) "5c4fb26d";\r\n      } "8b35df2f";\r\n    } "1def7e4a";\r\n  } "23fadae9";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE18') then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de13Cccb14s2de18t(src, tgt) "441e433a";\r\n        } "c6a25fe8";\r\n      } "3ce60159";\r\n    } "d174fa68";\r\n  } "ac7d700b";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE18').empty() then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de13Cccb14s2de18f(src, tgt) "97a383dc";\r\n        } "2dc8d6f1";\r\n      } "e831d44b";\r\n    } "01b18454";\r\n  } "451ac430";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE19') then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de13Cccb14s2de19t(src, tgt) "176edab8";\r\n        } "6066f6c8";\r\n      } "983ce7ec";\r\n    } "19ed849e";\r\n  } "3852f24c";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE19').empty() then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de13Cccb14s2de19f(src, tgt) "817f40b1";\r\n        } "be332abb";\r\n      } "5233dec2";\r\n    } "b6313d6e";\r\n  } "a8b58d8a";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE21') then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de13Cccb14s2de21t(src, tgt) "aa5b0432";\r\n        } "0ec5642c";\r\n      } "0d215d93";\r\n    } "4854d5df";\r\n  } "ae0dcf93";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE21').empty() then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de13Cccb14s2de21f(src, tgt) "e4468f91";\r\n        } "cd3aebda";\r\n      } "13f1b93a";\r\n    } "c43d8495";\r\n  } "15560381";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE22') then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de13Cccb14s2de22t(src, tgt) "ab612b0e";\r\n        } "5f99713d";\r\n      } "0f879b99";\r\n    } "8071df60";\r\n  } "c9c52b13";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE22').empty() then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de13Cccb14s2de22f(src, tgt) "123f16cb";\r\n        } "6839cab1";\r\n      } "cd6d3ddf";\r\n    } "ab20fd0d";\r\n  } "1392af91";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE23') then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de13Cccb14s2de23t(src, tgt) "a59d13f2";\r\n        } "6fa9b4c3";\r\n      } "a59cf8e8";\r\n    } "d5f2929d";\r\n  } "0b62df00";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE23').empty() then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de13Cccb14s2de23f(src, tgt) "6596445b";\r\n        } "960ec6df";\r\n      } "388ca68d";\r\n    } "25b5d6b1";\r\n  } "87288d6a";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE25') then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de13Cccb14s2de25t(src, tgt) "072f0d04";\r\n        } "bdb49f20";\r\n      } "1ac2bcc1";\r\n    } "43511064";\r\n  } "6a58313a";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE25').empty() then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de13Cccb14s2de25f(src, tgt) "81e79970";\r\n        } "224b2fb2";\r\n      } "021a8b72";\r\n    } "368d9ecb";\r\n  } "8441e89f";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE31') then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de13Cccb14s2de31t(src, tgt) "b35eaf3c";\r\n        } "a1596adf";\r\n      } "bab60838";\r\n    } "17feed2f";\r\n  } "4912861f";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE31').empty() then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de13Cccb14s2de31f(src, tgt) "0c07de59";\r\n        } "8c4edf8a";\r\n      } "f51215d7";\r\n    } "76689bf7";\r\n  } "f8037952";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE32') then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de13Cccb14s2de32t(src, tgt) "304d4aab";\r\n        } "6fe3eb64";\r\n      } "14dd9fb8";\r\n    } "a671b882";\r\n  } "1c1c4815";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE32').empty() then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de13Cccb14s2de32f(src, tgt) "6f919233";\r\n        } "5708f6bd";\r\n      } "833ec3a9";\r\n    } "cdb61927";\r\n  } "3a489200";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE33') then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de13Cccb14s2de33t(src, tgt) "0b3f6de9";\r\n        } "980b8c8b";\r\n      } "94d31e8a";\r\n    } "d37d7b65";\r\n  } "d888db70";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE33').empty() then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de13Cccb14s2de33f(src, tgt) "8660b336";\r\n        } "dd13171e";\r\n      } "3580783e";\r\n    } "d31d16ef";\r\n  } "e3f7e3de";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE35') then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de13Cccb14s2de35t(src, tgt) "fdc56916";\r\n        } "83c3b9d5";\r\n      } "19244b4d";\r\n    } "97672cc7";\r\n  } "0ba97eaa";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE35').empty() then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de13Cccb14s2de35f(src, tgt) "aca6e81a";\r\n        } "c68620da";\r\n      } "be69b7d3";\r\n    } "12e78229";\r\n  } "a1231c31";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE36') then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de13Cccb14s2de36t(src, tgt) "ac250feb";\r\n        } "e61326dd";\r\n      } "9cab4235";\r\n    } "cc1e3733";\r\n  } "fd0dd1e1";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE36').empty() then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de13Cccb14s2de36f(src, tgt) "6c995c67";\r\n        } "b2720395";\r\n      } "061de0de";\r\n    } "e329544f";\r\n  } "6190a03e";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE37') then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de13Cccb14s2de37t(src, tgt) "e70adb73";\r\n        } "4bc7d51a";\r\n      } "cd87f1e7";\r\n    } "66356988";\r\n  } "1d47d233";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE37').empty() then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de13Cccb14s2de37f(src, tgt) "216b6583";\r\n        } "191d63ec";\r\n      } "f1af8fee";\r\n    } "9b50cdfb";\r\n  } "1e5890e8";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE19a') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb14s2de19a(src, tgt) "001e9c80";\r\n      } "d2eb23fb";\r\n    } "f21f5e42";\r\n  } "0b69df95";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE22A') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb14s2de22a(src, tgt) "bccd876e";\r\n      } "95095060";\r\n    } "255ee6cb";\r\n  } "d708ca5c";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE23a') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb14s2de23a(src, tgt) "d2d3bcd4";\r\n      } "990f2716";\r\n    } "b0df7a91";\r\n  } "c2f9a858";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE24') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb14s2de24(src, tgt) "fd1e1903";\r\n      } "8deeed15";\r\n    } "711ceb12";\r\n  } "2394e366";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE30') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb14s2de30(src, tgt) "48133b0b";\r\n      } "b13f149c";\r\n    } "e8395f1e";\r\n  } "a612d3de";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE30b') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb14s2de30b(src, tgt) "e092d9f2";\r\n      } "49fe0265";\r\n    } "f83e6d8d";\r\n  } "ee1ec67e";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE31a') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb14s2de31a(src, tgt) "e36dddc9";\r\n      } "dd872982";\r\n    } "ec36bfb0";\r\n  } "09b48cf7";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE31b') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb14s2de31b(src, tgt) "a400e31e";\r\n      } "29aa3e32";\r\n    } "4d8d5769";\r\n  } "8023b5d8";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE32a') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb14s2de32a(src, tgt) "ebc4362a";\r\n      } "7b8431db";\r\n    } "63050b98";\r\n  } "7898f754";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE34') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb14s2de34(src, tgt) "1b1e3f3d";\r\n      } "92cdef51";\r\n    } "0f34721b";\r\n  } "5f2fd5be";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE36a') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb14s2de36a(src, tgt) "3a34cb4f";\r\n      } "cf05f31f";\r\n    } "62bf6f61";\r\n  } "9ab3add7";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE36b') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb14s2de36b(src, tgt) "b4115e85";\r\n      } "a80a9c42";\r\n    } "7cf10a5a";\r\n  } "a41011e3";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE36c') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb14s2de36c(src, tgt) "714801e7";\r\n      } "aed593a3";\r\n    } "10ad35b3";\r\n  } "c7681e2f";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE38') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb14s2de38(src, tgt) "695d29c8";\r\n      } "dd9951a6";\r\n    } "dbe4c0ed";\r\n  } "046ea4db";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE44') then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE43') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de43Cccb14s2de44t(src, tgt) "54047125";\r\n        } "67759d25";\r\n      } "b7a4c6f7";\r\n    } "2df98dca";\r\n  } "39bf7130";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE43').exists() and src.item.where(linkId = 'Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE44').empty() then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE43') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de43Cccb14s2de44f(src, tgt) "ff18b722";\r\n        } "7ce88931";\r\n      } "d99ebaca";\r\n    } "e398081f";\r\n  } "0b39dd54";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE45') then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE43') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de43Cccb14s2de45t(src, tgt) "3db9ce97";\r\n        } "2b1d1228";\r\n      } "694fcde8";\r\n    } "8d2528b2";\r\n  } "5702646c";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE43').exists() and src.item.where(linkId = 'Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE45').empty() then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE43') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de43Cccb14s2de45f(src, tgt) "00fcb42e";\r\n        } "be31bcba";\r\n      } "b54e492c";\r\n    } "84ddf53c";\r\n  } "71ef3401";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE46') then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE43') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de43Cccb14s2de46t(src, tgt) "10098170";\r\n        } "321eb396";\r\n      } "84fc742e";\r\n    } "75bfd082";\r\n  } "9a6c19cd";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE43').exists() and src.item.where(linkId = 'Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE46').empty() then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE43') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de43Cccb14s2de46f(src, tgt) "6aa2bb98";\r\n        } "71cfb393";\r\n      } "05fac2b4";\r\n    } "f1cb924b";\r\n  } "d52ab655";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE47') then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE43') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de43Cccb14s2de47t(src, tgt) "5e647793";\r\n        } "f179975e";\r\n      } "c179f0cb";\r\n    } "630de842";\r\n  } "2a472f41";\r\n  src where src.item.where(linkId = 'Ccc.B14S2.DE43').exists() and src.item.where(linkId = 'Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE47').empty() then {\r\n    src.item first as item where (linkId = 'Ccc.B14S2.DE43') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb14s2de43Cccb14s2de47f(src, tgt) "46287011";\r\n        } "19fb566f";\r\n      } "4464667a";\r\n    } "ff1524d9";\r\n  } "1d4733d3";\r\n  src.item first as item where (linkId = 'Ccc.B15S2.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb15s2de01(src, tgt) "0e40abb2";\r\n      } "6b463abd";\r\n    } "75a9eb5b";\r\n  } "f3f997c1";\r\n  src.item first as item where (linkId = 'Ccc.B15S2.DE09') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb15s2de09(src, tgt) "41e89548";\r\n      } "fbbb4fbf";\r\n    } "ba468419";\r\n  } "91fe7c34";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE01') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de01(src, tgt) "94788d70";\r\n        } "cafa1f90";\r\n      } "44017cb3";\r\n    } "1c5108b8";\r\n  } "88bb5c43";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE02') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de02(src, tgt) "c3e885af";\r\n        } "60b301de";\r\n      } "815e425c";\r\n    } "85d3c3a3";\r\n  } "c7e0dbc2";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as itm2 where linkId = 'second' then {\r\n      itm2.item first as item where (linkId = 'Ccc.B22.DE04') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src -> tgt then CccobservationCccb22de04(src, tgt) "42ed4c3a";\r\n          } "b802d4a2";\r\n        } "c7431f4f";\r\n      } "ad5094ed";\r\n    } "3b2e9629";\r\n  } "318dfe75";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as itm2 where linkId = 'second' then {\r\n      itm2.item first as item where (linkId = 'Ccc.B22.DE05') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src -> tgt then CccobservationCccb22de05(src, tgt) "3be4cd34";\r\n          } "b7585bc2";\r\n        } "61b1a5c6";\r\n      } "d9d928a7";\r\n    } "9853d168";\r\n  } "c21c2c7c";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE07') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de07(src, tgt) "fa30cee1";\r\n        } "aad75965";\r\n      } "8267defb";\r\n    } "a2eebe03";\r\n  } "7ef76f25";\r\n}\r\n\r\ngroup CccobservationCccb10s2de03(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb10s2de03";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B10S2.DE03' "code-Cccb10s2de03";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B10S2.DE03') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb10s2de03";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb10s2de03";\r\n    } "bdab9370";\r\n  } "f8989270";\r\n}\r\n\r\ngroup CccobservationCccb10s2de04(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb10s2de04";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B10S2.DE04' "code-Cccb10s2de04";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B10S2.DE04') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb10s2de04";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb10s2de04";\r\n    } "bdab9370";\r\n  } "84e99b62";\r\n}\r\n\r\ngroup CccobservationCccb10s2de05(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb10s2de05";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B10S2.DE05' "code-Cccb10s2de05";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B10S2.DE05') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb10s2de05";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb10s2de05";\r\n    } "bdab9370";\r\n  } "822a6b5c";\r\n}\r\n\r\ngroup CccobservationCccb10s2de06(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb10s2de06";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B10S2.DE06' "code-Cccb10s2de06";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B10S2.DE06') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb10s2de06";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb10s2de06";\r\n    } "bdab9370";\r\n  } "ccfb93d4";\r\n}\r\n\r\ngroup CccobservationCccb10s2de07(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb10s2de07";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B10S2.DE07' "code-Cccb10s2de07";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Oxygen_Saturation' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B10S2.DE07') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n      } "d40466ff";\r\n    } "eef20b5e";\r\n  } "c5b03c7d";\r\n}\r\n\r\ngroup CccobservationCccb11s2de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb11s2de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B11S2.DE01' "code-Cccb11s2de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B11S2.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n      } "26c2c8c7";\r\n    } "721205d5";\r\n  } "52679414";\r\n}\r\n\r\ngroup CccobservationCccb11s2de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb11s2de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B11S2.DE02' "code-Cccb11s2de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B11S2.DE02') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "73bc942d";\r\n}\r\n\r\ngroup CccobservationCccb11s2de06(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb11s2de06";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B11S2.DE06' "code-Cccb11s2de06";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B11S2.DE06') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb11s2de06";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb11s2de06";\r\n    } "bdab9370";\r\n  } "47e72c0c";\r\n}\r\n\r\ngroup CccobservationCccb17s1de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb17s1de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B17S1.DE01' "code-Cccb17s1de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B17S1.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb17s1de01";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb17s1de01";\r\n    } "bdab9370";\r\n  } "11b37b57";\r\n}\r\n\r\ngroup CccobservationCccb17s1de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb17s1de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B17S1.DE02' "code-Cccb17s1de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B17S1.DE02') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "239f6c79";\r\n}\r\n\r\ngroup CccobservationCccb17s1de06(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb17s1de06";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B17S1.DE06' "code-Cccb17s1de06";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B17S1.DE06') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb17s1de06";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb17s1de06";\r\n    } "bdab9370";\r\n  } "2dd51df6";\r\n}\r\n\r\ngroup CccobservationCccb17s1de07(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb17s1de07";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B17S1.DE07' "code-Cccb17s1de07";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B17S1.DE07') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "21ffdb9d";\r\n}\r\n\r\ngroup CccobservationCccb13s2de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb13s2de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B13S2.DE01' "code-Cccb13s2de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B13S2.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb13s2de01";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb13s2de01";\r\n    } "bdab9370";\r\n  } "eabd29fd";\r\n}\r\n\r\ngroup CccobservationCccb13s2de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb13s2de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B13S2.DE02' "code-Cccb13s2de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B13S2.DE02') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb13s2de02";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb13s2de02";\r\n    } "bdab9370";\r\n  } "5b651554";\r\n}\r\n\r\ngroup CccobservationCccb13s2de03(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb13s2de03";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B13S2.DE03' "code-Cccb13s2de03";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B13S2.DE03') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "b937d9f0";\r\n}\r\n\r\ngroup CccobservationCccb12s2de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb12s2de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B12S2.DE01' "code-Cccb12s2de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B12S2.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb12s2de01";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb12s2de01";\r\n    } "bdab9370";\r\n  } "de146d59";\r\n}\r\n\r\ngroup CccobservationCccb12s2de05(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb12s2de05";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B12S2.DE05' "code-Cccb12s2de05";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B12S2.DE05') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb12s2de05";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb12s2de05";\r\n    } "bdab9370";\r\n  } "c913991e";\r\n}\r\n\r\ngroup CccobservationCccb14s2de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE01' "code-Cccb14s2de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de01";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de01";\r\n    } "bdab9370";\r\n  } "ffbd856e";\r\n}\r\n\r\ngroup CccobservationCccb14s2de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE02' "code-Cccb14s2de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE02') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de02";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de02";\r\n    } "bdab9370";\r\n  } "0fee727b";\r\n}\r\n\r\ngroup CccobservationCccb14s2de03(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de03";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE03' "code-Cccb14s2de03";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE03') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de03";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de03";\r\n    } "bdab9370";\r\n  } "35101ce1";\r\n}\r\n\r\ngroup CccobservationCccb14s2de04(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de04";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE04' "code-Cccb14s2de04";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE04') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de04";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de04";\r\n    } "bdab9370";\r\n  } "b57020c5";\r\n}\r\n\r\ngroup CccobservationCccb14s2de05(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de05";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE05' "code-Cccb14s2de05";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE05') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de05";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de05";\r\n    } "bdab9370";\r\n  } "0b745de8";\r\n}\r\n\r\ngroup CccobservationCccb14s2de06Cccb14s2de07t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de06Cccb14s2de07t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE06&Ccc.B14S2.DE07' "code-CccobservationCccb14s2de06Cccb14s2de07t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup CccobservationCccb14s2de06Cccb14s2de07f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de06Cccb14s2de07f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE06&Ccc.B14S2.DE07' "code-CccobservationCccb14s2de06Cccb14s2de07f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup CccobservationCccb14s2de06Cccb14s2de08t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de06Cccb14s2de08t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE06&Ccc.B14S2.DE08' "code-CccobservationCccb14s2de06Cccb14s2de08t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup CccobservationCccb14s2de06Cccb14s2de08f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de06Cccb14s2de08f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE06&Ccc.B14S2.DE08' "code-CccobservationCccb14s2de06Cccb14s2de08f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup CccobservationCccb14s2de06Cccb14s2de09t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de06Cccb14s2de09t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE06&Ccc.B14S2.DE09' "code-CccobservationCccb14s2de06Cccb14s2de09t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup CccobservationCccb14s2de06Cccb14s2de09f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de06Cccb14s2de09f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE06&Ccc.B14S2.DE09' "code-CccobservationCccb14s2de06Cccb14s2de09f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup CccobservationCccb14s2de10(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de10";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE10' "code-Cccb14s2de10";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE10') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de10";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de10";\r\n    } "bdab9370";\r\n  } "686fa0c0";\r\n}\r\n\r\ngroup CccobservationCccb14s2de11(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de11";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE11' "code-Cccb14s2de11";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE11') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de11";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de11";\r\n    } "bdab9370";\r\n  } "9d9704d8";\r\n}\r\n\r\ngroup CccobservationCccb14s2de12(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de12";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE12' "code-Cccb14s2de12";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE12') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de12";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de12";\r\n    } "bdab9370";\r\n  } "51199b07";\r\n}\r\n\r\ngroup CccobservationCccb14s2de13Cccb14s2de18t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de18t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE18' "code-CccobservationCccb14s2de13Cccb14s2de18t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup CccobservationCccb14s2de13Cccb14s2de18f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de18f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE18' "code-CccobservationCccb14s2de13Cccb14s2de18f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup CccobservationCccb14s2de13Cccb14s2de19t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de19t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE19' "code-CccobservationCccb14s2de13Cccb14s2de19t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup CccobservationCccb14s2de13Cccb14s2de19f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de19f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE19' "code-CccobservationCccb14s2de13Cccb14s2de19f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup CccobservationCccb14s2de13Cccb14s2de21t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de21t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE21' "code-CccobservationCccb14s2de13Cccb14s2de21t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup CccobservationCccb14s2de13Cccb14s2de21f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de21f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE21' "code-CccobservationCccb14s2de13Cccb14s2de21f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup CccobservationCccb14s2de13Cccb14s2de22t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de22t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE22' "code-CccobservationCccb14s2de13Cccb14s2de22t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup CccobservationCccb14s2de13Cccb14s2de22f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de22f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE22' "code-CccobservationCccb14s2de13Cccb14s2de22f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup CccobservationCccb14s2de13Cccb14s2de23t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de23t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE23' "code-CccobservationCccb14s2de13Cccb14s2de23t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup CccobservationCccb14s2de13Cccb14s2de23f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de23f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE23' "code-CccobservationCccb14s2de13Cccb14s2de23f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup CccobservationCccb14s2de13Cccb14s2de25t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de25t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE25' "code-CccobservationCccb14s2de13Cccb14s2de25t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup CccobservationCccb14s2de13Cccb14s2de25f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de25f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE25' "code-CccobservationCccb14s2de13Cccb14s2de25f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup CccobservationCccb14s2de13Cccb14s2de31t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de31t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE31' "code-CccobservationCccb14s2de13Cccb14s2de31t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup CccobservationCccb14s2de13Cccb14s2de31f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de31f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE31' "code-CccobservationCccb14s2de13Cccb14s2de31f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup CccobservationCccb14s2de13Cccb14s2de32t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de32t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE32' "code-CccobservationCccb14s2de13Cccb14s2de32t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup CccobservationCccb14s2de13Cccb14s2de32f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de32f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE32' "code-CccobservationCccb14s2de13Cccb14s2de32f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup CccobservationCccb14s2de13Cccb14s2de33t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de33t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE33' "code-CccobservationCccb14s2de13Cccb14s2de33t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup CccobservationCccb14s2de13Cccb14s2de33f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de33f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE33' "code-CccobservationCccb14s2de13Cccb14s2de33f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup CccobservationCccb14s2de13Cccb14s2de35t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de35t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE35' "code-CccobservationCccb14s2de13Cccb14s2de35t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup CccobservationCccb14s2de13Cccb14s2de35f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de35f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE35' "code-CccobservationCccb14s2de13Cccb14s2de35f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup CccobservationCccb14s2de13Cccb14s2de36t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de36t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE36' "code-CccobservationCccb14s2de13Cccb14s2de36t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup CccobservationCccb14s2de13Cccb14s2de36f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de36f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE36' "code-CccobservationCccb14s2de13Cccb14s2de36f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup CccobservationCccb14s2de13Cccb14s2de37t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de37t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE37' "code-CccobservationCccb14s2de13Cccb14s2de37t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup CccobservationCccb14s2de13Cccb14s2de37f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de37f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE37' "code-CccobservationCccb14s2de13Cccb14s2de37f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup CccobservationCccb14s2de19a(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de19a";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE19a' "code-Cccb14s2de19a";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE19a') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de19a";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de19a";\r\n    } "bdab9370";\r\n  } "7704f1e6";\r\n}\r\n\r\ngroup CccobservationCccb14s2de22a(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de22a";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE22A' "code-Cccb14s2de22a";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE22A') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de22a";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de22a";\r\n    } "bdab9370";\r\n  } "34b4bff4";\r\n}\r\n\r\ngroup CccobservationCccb14s2de23a(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de23a";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE23a' "code-Cccb14s2de23a";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE23a') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de23a";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de23a";\r\n    } "bdab9370";\r\n  } "cbc06169";\r\n}\r\n\r\ngroup CccobservationCccb14s2de24(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de24";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE24' "code-Cccb14s2de24";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE24') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de24";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de24";\r\n    } "bdab9370";\r\n  } "a8bffbd0";\r\n}\r\n\r\ngroup CccobservationCccb14s2de30(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de30";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE30' "code-Cccb14s2de30";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE30') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de30";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de30";\r\n    } "bdab9370";\r\n  } "5c4c116c";\r\n}\r\n\r\ngroup CccobservationCccb14s2de30b(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de30b";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE30b' "code-Cccb14s2de30b";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE30b') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de30b";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de30b";\r\n    } "bdab9370";\r\n  } "b2203142";\r\n}\r\n\r\ngroup CccobservationCccb14s2de31a(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de31a";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE31a' "code-Cccb14s2de31a";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE31a') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de31a";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de31a";\r\n    } "bdab9370";\r\n  } "c1d62dd8";\r\n}\r\n\r\ngroup CccobservationCccb14s2de31b(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de31b";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE31b' "code-Cccb14s2de31b";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE31b') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de31b";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de31b";\r\n    } "bdab9370";\r\n  } "53c39908";\r\n}\r\n\r\ngroup CccobservationCccb14s2de32a(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de32a";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE32a' "code-Cccb14s2de32a";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE32a') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de32a";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de32a";\r\n    } "bdab9370";\r\n  } "a295ad88";\r\n}\r\n\r\ngroup CccobservationCccb14s2de34(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de34";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE34' "code-Cccb14s2de34";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE34') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de34";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de34";\r\n    } "bdab9370";\r\n  } "6bc4a7ea";\r\n}\r\n\r\ngroup CccobservationCccb14s2de36a(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de36a";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE36a' "code-Cccb14s2de36a";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE36a') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de36a";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de36a";\r\n    } "bdab9370";\r\n  } "72b21d5c";\r\n}\r\n\r\ngroup CccobservationCccb14s2de36b(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de36b";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE36b' "code-Cccb14s2de36b";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE36b') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de36b";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de36b";\r\n    } "bdab9370";\r\n  } "d3720173";\r\n}\r\n\r\ngroup CccobservationCccb14s2de36c(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de36c";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE36c' "code-Cccb14s2de36c";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE36c') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de36c";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de36c";\r\n    } "bdab9370";\r\n  } "4f384bfd";\r\n}\r\n\r\ngroup CccobservationCccb14s2de38(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de38";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE38' "code-Cccb14s2de38";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B14S2.DE38') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "d40efaa7";\r\n}\r\n\r\ngroup CccobservationCccb14s2de43Cccb14s2de44t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de43Cccb14s2de44t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE43&Ccc.B14S2.DE44' "code-CccobservationCccb14s2de43Cccb14s2de44t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup CccobservationCccb14s2de43Cccb14s2de44f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de43Cccb14s2de44f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE43&Ccc.B14S2.DE44' "code-CccobservationCccb14s2de43Cccb14s2de44f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup CccobservationCccb14s2de43Cccb14s2de45t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de43Cccb14s2de45t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE43&Ccc.B14S2.DE45' "code-CccobservationCccb14s2de43Cccb14s2de45t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup CccobservationCccb14s2de43Cccb14s2de45f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de43Cccb14s2de45f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE43&Ccc.B14S2.DE45' "code-CccobservationCccb14s2de43Cccb14s2de45f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup CccobservationCccb14s2de43Cccb14s2de46t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de43Cccb14s2de46t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE43&Ccc.B14S2.DE46' "code-CccobservationCccb14s2de43Cccb14s2de46t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup CccobservationCccb14s2de43Cccb14s2de46f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de43Cccb14s2de46f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE43&Ccc.B14S2.DE46' "code-CccobservationCccb14s2de43Cccb14s2de46f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup CccobservationCccb14s2de43Cccb14s2de47t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de43Cccb14s2de47t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE43&Ccc.B14S2.DE47' "code-CccobservationCccb14s2de43Cccb14s2de47t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup CccobservationCccb14s2de43Cccb14s2de47f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de43Cccb14s2de47f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE43&Ccc.B14S2.DE47' "code-CccobservationCccb14s2de43Cccb14s2de47f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup CccobservationCccb15s2de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb15s2de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B15S2.DE01' "code-Cccb15s2de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B15S2.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "aa55388e";\r\n}\r\n\r\ngroup CccobservationCccb15s2de09(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb15s2de09";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B15S2.DE09' "code-Cccb15s2de09";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B15S2.DE09') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "2a2ced9b";\r\n}\r\n\r\ngroup CccobservationCccb22de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE01' "code-Cccb22de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE01') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n      } "d40466ff";\r\n    } "e1cd1fa1";\r\n  } "ad8e4fa6";\r\n}\r\n\r\ngroup CccobservationCccb22de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE02' "code-Cccb22de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE02') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val then {\r\n          val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n        } "26c2c8c7";\r\n      } "721205d5";\r\n    } "38b3c27b";\r\n  } "5b046e45";\r\n}\r\n\r\ngroup CccobservationCccb22de04(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de04";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE04' "code-Cccb22de04";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as itm2 where linkId = 'second' then {\r\n      itm2.item first as item where (linkId = 'Ccc.B22.DE04') and answer.exists() then {\r\n        item.answer first as a then {\r\n          a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n        } "d40466ff";\r\n      } "f66ca63f";\r\n    } "1b837896";\r\n  } "6b3a0b06";\r\n}\r\n\r\ngroup CccobservationCccb22de05(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de05";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE05' "code-Cccb22de05";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as itm2 where linkId = 'second' then {\r\n      itm2.item first as item where (linkId = 'Ccc.B22.DE05') and answer.exists() then {\r\n        item.answer first as a then {\r\n          a.value as val then {\r\n            val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n          } "26c2c8c7";\r\n        } "721205d5";\r\n      } "48a81a4f";\r\n    } "9322cbb7";\r\n  } "ed73ec89";\r\n}\r\n\r\ngroup CccobservationCccb22de07(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de07";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE07' "code-Cccb22de07";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE07') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de07";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de07";\r\n      } "bdab9370";\r\n    } "b5e73929";\r\n  } "306838ed";\r\n}\r\n\r\n
" }, - "url": "https://smart.who.int/ccc/StructureMap/emcare.b10-16.signs.2m.p", - "name": "emcare.b10-16.signs.2m.p", + "url": "https://smart.who.int/ccc/StructureMap/Ccc.b10-16.signs.2m.p", + "name": "Ccc.b10-16.signs.2m.p", "status": "active", "structure": [ { @@ -25,9 +25,9 @@ "alias": "'Observation'" }, { - "url": "https://smart.who.int/ccc/StructureDefinition/emcareobservation", + "url": "https://smart.who.int/ccc/StructureDefinition/Cccobservation", "mode": "produced", - "alias": "'EmCare Observation'" + "alias": "'Ccc Observation'" } ], "group": [ @@ -92,7 +92,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B10S2.DE03') and answer.exists()" + "condition": "(linkId = 'Ccc.B10S2.DE03') and answer.exists()" } ], "rule": [ @@ -200,7 +200,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb10s2de03", + "name": "CccobservationCccb10s2de03", "variable": [ "src", "tgt" @@ -222,7 +222,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B10S2.DE04') and answer.exists()" + "condition": "(linkId = 'Ccc.B10S2.DE04') and answer.exists()" } ], "rule": [ @@ -330,7 +330,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb10s2de04", + "name": "CccobservationCccb10s2de04", "variable": [ "src", "tgt" @@ -352,7 +352,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B10S2.DE05') and answer.exists()" + "condition": "(linkId = 'Ccc.B10S2.DE05') and answer.exists()" } ], "rule": [ @@ -460,7 +460,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb10s2de05", + "name": "CccobservationCccb10s2de05", "variable": [ "src", "tgt" @@ -482,7 +482,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B10S2.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.B10S2.DE06') and answer.exists()" } ], "rule": [ @@ -590,7 +590,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb10s2de06", + "name": "CccobservationCccb10s2de06", "variable": [ "src", "tgt" @@ -624,7 +624,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B10S2.DE07') and answer.exists()" + "condition": "(linkId = 'Ccc.B10S2.DE07') and answer.exists()" } ], "rule": [ @@ -732,7 +732,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb10s2de07", + "name": "CccobservationCccb10s2de07", "variable": [ "src", "tgt" @@ -756,7 +756,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B11S2.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B11S2.DE01') and answer.exists()" } ], "rule": [ @@ -864,7 +864,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb11s2de01", + "name": "CccobservationCccb11s2de01", "variable": [ "src", "tgt" @@ -886,7 +886,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B11S2.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B11S2.DE02') and answer.exists()" } ], "rule": [ @@ -994,7 +994,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb11s2de02", + "name": "CccobservationCccb11s2de02", "variable": [ "src", "tgt" @@ -1016,7 +1016,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B11S2.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.B11S2.DE06') and answer.exists()" } ], "rule": [ @@ -1124,7 +1124,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb11s2de06", + "name": "CccobservationCccb11s2de06", "variable": [ "src", "tgt" @@ -1146,7 +1146,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B17S1.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B17S1.DE01') and answer.exists()" } ], "rule": [ @@ -1254,7 +1254,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb17s1de01", + "name": "CccobservationCccb17s1de01", "variable": [ "src", "tgt" @@ -1276,7 +1276,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B17S1.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B17S1.DE02') and answer.exists()" } ], "rule": [ @@ -1384,7 +1384,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb17s1de02", + "name": "CccobservationCccb17s1de02", "variable": [ "src", "tgt" @@ -1406,7 +1406,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B17S1.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.B17S1.DE06') and answer.exists()" } ], "rule": [ @@ -1514,7 +1514,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb17s1de06", + "name": "CccobservationCccb17s1de06", "variable": [ "src", "tgt" @@ -1536,7 +1536,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B17S1.DE07') and answer.exists()" + "condition": "(linkId = 'Ccc.B17S1.DE07') and answer.exists()" } ], "rule": [ @@ -1644,7 +1644,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb17s1de07", + "name": "CccobservationCccb17s1de07", "variable": [ "src", "tgt" @@ -1666,7 +1666,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B13S2.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B13S2.DE01') and answer.exists()" } ], "rule": [ @@ -1774,7 +1774,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb13s2de01", + "name": "CccobservationCccb13s2de01", "variable": [ "src", "tgt" @@ -1796,7 +1796,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B13S2.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B13S2.DE02') and answer.exists()" } ], "rule": [ @@ -1904,7 +1904,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb13s2de02", + "name": "CccobservationCccb13s2de02", "variable": [ "src", "tgt" @@ -1926,7 +1926,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B13S2.DE03') and answer.exists()" + "condition": "(linkId = 'Ccc.B13S2.DE03') and answer.exists()" } ], "rule": [ @@ -2034,7 +2034,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb13s2de03", + "name": "CccobservationCccb13s2de03", "variable": [ "src", "tgt" @@ -2056,7 +2056,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B12S2.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B12S2.DE01') and answer.exists()" } ], "rule": [ @@ -2164,7 +2164,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb12s2de01", + "name": "CccobservationCccb12s2de01", "variable": [ "src", "tgt" @@ -2186,7 +2186,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B12S2.DE05') and answer.exists()" + "condition": "(linkId = 'Ccc.B12S2.DE05') and answer.exists()" } ], "rule": [ @@ -2294,7 +2294,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb12s2de05", + "name": "CccobservationCccb12s2de05", "variable": [ "src", "tgt" @@ -2316,7 +2316,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE01') and answer.exists()" } ], "rule": [ @@ -2424,7 +2424,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de01", + "name": "CccobservationCccb14s2de01", "variable": [ "src", "tgt" @@ -2446,7 +2446,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE02') and answer.exists()" } ], "rule": [ @@ -2554,7 +2554,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de02", + "name": "CccobservationCccb14s2de02", "variable": [ "src", "tgt" @@ -2576,7 +2576,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE03') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE03') and answer.exists()" } ], "rule": [ @@ -2684,7 +2684,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de03", + "name": "CccobservationCccb14s2de03", "variable": [ "src", "tgt" @@ -2706,7 +2706,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE04') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE04') and answer.exists()" } ], "rule": [ @@ -2814,7 +2814,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de04", + "name": "CccobservationCccb14s2de04", "variable": [ "src", "tgt" @@ -2836,7 +2836,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE05') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE05') and answer.exists()" } ], "rule": [ @@ -2944,7 +2944,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de05", + "name": "CccobservationCccb14s2de05", "variable": [ "src", "tgt" @@ -2963,7 +2963,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE06').answer.where(value.code = 'EmCare.B14S2.DE07')" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE06').answer.where(value.code = 'Ccc.B14S2.DE07')" } ], "rule": [ @@ -2975,7 +2975,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE06') and answer.exists()" } ], "rule": [ @@ -3072,7 +3072,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de06emcareb14s2de07t", + "name": "CccobservationCccb14s2de06Cccb14s2de07t", "variable": [ "src", "tgt" @@ -3093,7 +3093,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE06').exists() and src.item.where(linkId = 'EmCare.B14S2.DE06').answer.where(value.code = 'EmCare.B14S2.DE07').empty()" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE06').exists() and src.item.where(linkId = 'Ccc.B14S2.DE06').answer.where(value.code = 'Ccc.B14S2.DE07').empty()" } ], "rule": [ @@ -3105,7 +3105,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE06') and answer.exists()" } ], "rule": [ @@ -3202,7 +3202,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de06emcareb14s2de07f", + "name": "CccobservationCccb14s2de06Cccb14s2de07f", "variable": [ "src", "tgt" @@ -3223,7 +3223,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE06').answer.where(value.code = 'EmCare.B14S2.DE08')" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE06').answer.where(value.code = 'Ccc.B14S2.DE08')" } ], "rule": [ @@ -3235,7 +3235,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE06') and answer.exists()" } ], "rule": [ @@ -3332,7 +3332,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de06emcareb14s2de08t", + "name": "CccobservationCccb14s2de06Cccb14s2de08t", "variable": [ "src", "tgt" @@ -3353,7 +3353,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE06').exists() and src.item.where(linkId = 'EmCare.B14S2.DE06').answer.where(value.code = 'EmCare.B14S2.DE08').empty()" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE06').exists() and src.item.where(linkId = 'Ccc.B14S2.DE06').answer.where(value.code = 'Ccc.B14S2.DE08').empty()" } ], "rule": [ @@ -3365,7 +3365,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE06') and answer.exists()" } ], "rule": [ @@ -3462,7 +3462,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de06emcareb14s2de08f", + "name": "CccobservationCccb14s2de06Cccb14s2de08f", "variable": [ "src", "tgt" @@ -3483,7 +3483,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE06').answer.where(value.code = 'EmCare.B14S2.DE09')" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE06').answer.where(value.code = 'Ccc.B14S2.DE09')" } ], "rule": [ @@ -3495,7 +3495,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE06') and answer.exists()" } ], "rule": [ @@ -3592,7 +3592,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de06emcareb14s2de09t", + "name": "CccobservationCccb14s2de06Cccb14s2de09t", "variable": [ "src", "tgt" @@ -3613,7 +3613,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE06').exists() and src.item.where(linkId = 'EmCare.B14S2.DE06').answer.where(value.code = 'EmCare.B14S2.DE09').empty()" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE06').exists() and src.item.where(linkId = 'Ccc.B14S2.DE06').answer.where(value.code = 'Ccc.B14S2.DE09').empty()" } ], "rule": [ @@ -3625,7 +3625,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE06') and answer.exists()" } ], "rule": [ @@ -3722,7 +3722,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de06emcareb14s2de09f", + "name": "CccobservationCccb14s2de06Cccb14s2de09f", "variable": [ "src", "tgt" @@ -3746,7 +3746,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE10') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE10') and answer.exists()" } ], "rule": [ @@ -3854,7 +3854,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de10", + "name": "CccobservationCccb14s2de10", "variable": [ "src", "tgt" @@ -3876,7 +3876,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE11') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE11') and answer.exists()" } ], "rule": [ @@ -3984,7 +3984,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de11", + "name": "CccobservationCccb14s2de11", "variable": [ "src", "tgt" @@ -4006,7 +4006,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE12') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE12') and answer.exists()" } ], "rule": [ @@ -4114,7 +4114,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de12", + "name": "CccobservationCccb14s2de12", "variable": [ "src", "tgt" @@ -4133,7 +4133,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE18')" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE18')" } ], "rule": [ @@ -4145,7 +4145,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE13') and answer.exists()" } ], "rule": [ @@ -4242,7 +4242,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de13emcareb14s2de18t", + "name": "CccobservationCccb14s2de13Cccb14s2de18t", "variable": [ "src", "tgt" @@ -4263,7 +4263,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE13').exists() and src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE18').empty()" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE18').empty()" } ], "rule": [ @@ -4275,7 +4275,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE13') and answer.exists()" } ], "rule": [ @@ -4372,7 +4372,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de13emcareb14s2de18f", + "name": "CccobservationCccb14s2de13Cccb14s2de18f", "variable": [ "src", "tgt" @@ -4393,7 +4393,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE19')" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE19')" } ], "rule": [ @@ -4405,7 +4405,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE13') and answer.exists()" } ], "rule": [ @@ -4502,7 +4502,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de13emcareb14s2de19t", + "name": "CccobservationCccb14s2de13Cccb14s2de19t", "variable": [ "src", "tgt" @@ -4523,7 +4523,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE13').exists() and src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE19').empty()" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE19').empty()" } ], "rule": [ @@ -4535,7 +4535,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE13') and answer.exists()" } ], "rule": [ @@ -4632,7 +4632,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de13emcareb14s2de19f", + "name": "CccobservationCccb14s2de13Cccb14s2de19f", "variable": [ "src", "tgt" @@ -4653,7 +4653,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE21')" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE21')" } ], "rule": [ @@ -4665,7 +4665,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE13') and answer.exists()" } ], "rule": [ @@ -4762,7 +4762,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de13emcareb14s2de21t", + "name": "CccobservationCccb14s2de13Cccb14s2de21t", "variable": [ "src", "tgt" @@ -4783,7 +4783,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE13').exists() and src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE21').empty()" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE21').empty()" } ], "rule": [ @@ -4795,7 +4795,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE13') and answer.exists()" } ], "rule": [ @@ -4892,7 +4892,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de13emcareb14s2de21f", + "name": "CccobservationCccb14s2de13Cccb14s2de21f", "variable": [ "src", "tgt" @@ -4913,7 +4913,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE22')" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE22')" } ], "rule": [ @@ -4925,7 +4925,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE13') and answer.exists()" } ], "rule": [ @@ -5022,7 +5022,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de13emcareb14s2de22t", + "name": "CccobservationCccb14s2de13Cccb14s2de22t", "variable": [ "src", "tgt" @@ -5043,7 +5043,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE13').exists() and src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE22').empty()" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE22').empty()" } ], "rule": [ @@ -5055,7 +5055,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE13') and answer.exists()" } ], "rule": [ @@ -5152,7 +5152,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de13emcareb14s2de22f", + "name": "CccobservationCccb14s2de13Cccb14s2de22f", "variable": [ "src", "tgt" @@ -5173,7 +5173,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE23')" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE23')" } ], "rule": [ @@ -5185,7 +5185,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE13') and answer.exists()" } ], "rule": [ @@ -5282,7 +5282,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de13emcareb14s2de23t", + "name": "CccobservationCccb14s2de13Cccb14s2de23t", "variable": [ "src", "tgt" @@ -5303,7 +5303,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE13').exists() and src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE23').empty()" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE23').empty()" } ], "rule": [ @@ -5315,7 +5315,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE13') and answer.exists()" } ], "rule": [ @@ -5412,7 +5412,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de13emcareb14s2de23f", + "name": "CccobservationCccb14s2de13Cccb14s2de23f", "variable": [ "src", "tgt" @@ -5433,7 +5433,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE25')" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE25')" } ], "rule": [ @@ -5445,7 +5445,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE13') and answer.exists()" } ], "rule": [ @@ -5542,7 +5542,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de13emcareb14s2de25t", + "name": "CccobservationCccb14s2de13Cccb14s2de25t", "variable": [ "src", "tgt" @@ -5563,7 +5563,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE13').exists() and src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE25').empty()" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE25').empty()" } ], "rule": [ @@ -5575,7 +5575,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE13') and answer.exists()" } ], "rule": [ @@ -5672,7 +5672,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de13emcareb14s2de25f", + "name": "CccobservationCccb14s2de13Cccb14s2de25f", "variable": [ "src", "tgt" @@ -5693,7 +5693,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE31')" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE31')" } ], "rule": [ @@ -5705,7 +5705,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE13') and answer.exists()" } ], "rule": [ @@ -5802,7 +5802,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de13emcareb14s2de31t", + "name": "CccobservationCccb14s2de13Cccb14s2de31t", "variable": [ "src", "tgt" @@ -5823,7 +5823,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE13').exists() and src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE31').empty()" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE31').empty()" } ], "rule": [ @@ -5835,7 +5835,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE13') and answer.exists()" } ], "rule": [ @@ -5932,7 +5932,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de13emcareb14s2de31f", + "name": "CccobservationCccb14s2de13Cccb14s2de31f", "variable": [ "src", "tgt" @@ -5953,7 +5953,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE32')" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE32')" } ], "rule": [ @@ -5965,7 +5965,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE13') and answer.exists()" } ], "rule": [ @@ -6062,7 +6062,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de13emcareb14s2de32t", + "name": "CccobservationCccb14s2de13Cccb14s2de32t", "variable": [ "src", "tgt" @@ -6083,7 +6083,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE13').exists() and src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE32').empty()" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE32').empty()" } ], "rule": [ @@ -6095,7 +6095,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE13') and answer.exists()" } ], "rule": [ @@ -6192,7 +6192,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de13emcareb14s2de32f", + "name": "CccobservationCccb14s2de13Cccb14s2de32f", "variable": [ "src", "tgt" @@ -6213,7 +6213,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE33')" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE33')" } ], "rule": [ @@ -6225,7 +6225,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE13') and answer.exists()" } ], "rule": [ @@ -6322,7 +6322,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de13emcareb14s2de33t", + "name": "CccobservationCccb14s2de13Cccb14s2de33t", "variable": [ "src", "tgt" @@ -6343,7 +6343,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE13').exists() and src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE33').empty()" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE33').empty()" } ], "rule": [ @@ -6355,7 +6355,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE13') and answer.exists()" } ], "rule": [ @@ -6452,7 +6452,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de13emcareb14s2de33f", + "name": "CccobservationCccb14s2de13Cccb14s2de33f", "variable": [ "src", "tgt" @@ -6473,7 +6473,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE35')" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE35')" } ], "rule": [ @@ -6485,7 +6485,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE13') and answer.exists()" } ], "rule": [ @@ -6582,7 +6582,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de13emcareb14s2de35t", + "name": "CccobservationCccb14s2de13Cccb14s2de35t", "variable": [ "src", "tgt" @@ -6603,7 +6603,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE13').exists() and src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE35').empty()" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE35').empty()" } ], "rule": [ @@ -6615,7 +6615,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE13') and answer.exists()" } ], "rule": [ @@ -6712,7 +6712,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de13emcareb14s2de35f", + "name": "CccobservationCccb14s2de13Cccb14s2de35f", "variable": [ "src", "tgt" @@ -6733,7 +6733,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE36')" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE36')" } ], "rule": [ @@ -6745,7 +6745,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE13') and answer.exists()" } ], "rule": [ @@ -6842,7 +6842,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de13emcareb14s2de36t", + "name": "CccobservationCccb14s2de13Cccb14s2de36t", "variable": [ "src", "tgt" @@ -6863,7 +6863,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE13').exists() and src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE36').empty()" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE36').empty()" } ], "rule": [ @@ -6875,7 +6875,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE13') and answer.exists()" } ], "rule": [ @@ -6972,7 +6972,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de13emcareb14s2de36f", + "name": "CccobservationCccb14s2de13Cccb14s2de36f", "variable": [ "src", "tgt" @@ -6993,7 +6993,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE37')" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE37')" } ], "rule": [ @@ -7005,7 +7005,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE13') and answer.exists()" } ], "rule": [ @@ -7102,7 +7102,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de13emcareb14s2de37t", + "name": "CccobservationCccb14s2de13Cccb14s2de37t", "variable": [ "src", "tgt" @@ -7123,7 +7123,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE13').exists() and src.item.where(linkId = 'EmCare.B14S2.DE13').answer.where(value.code = 'EmCare.B14S2.DE37').empty()" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE37').empty()" } ], "rule": [ @@ -7135,7 +7135,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE13') and answer.exists()" } ], "rule": [ @@ -7232,7 +7232,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de13emcareb14s2de37f", + "name": "CccobservationCccb14s2de13Cccb14s2de37f", "variable": [ "src", "tgt" @@ -7256,7 +7256,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE19a') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE19a') and answer.exists()" } ], "rule": [ @@ -7364,7 +7364,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de19a", + "name": "CccobservationCccb14s2de19a", "variable": [ "src", "tgt" @@ -7386,7 +7386,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE22A') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE22A') and answer.exists()" } ], "rule": [ @@ -7494,7 +7494,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de22a", + "name": "CccobservationCccb14s2de22a", "variable": [ "src", "tgt" @@ -7516,7 +7516,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE23a') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE23a') and answer.exists()" } ], "rule": [ @@ -7624,7 +7624,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de23a", + "name": "CccobservationCccb14s2de23a", "variable": [ "src", "tgt" @@ -7646,7 +7646,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE24') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE24') and answer.exists()" } ], "rule": [ @@ -7754,7 +7754,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de24", + "name": "CccobservationCccb14s2de24", "variable": [ "src", "tgt" @@ -7776,7 +7776,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE30') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE30') and answer.exists()" } ], "rule": [ @@ -7884,7 +7884,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de30", + "name": "CccobservationCccb14s2de30", "variable": [ "src", "tgt" @@ -7906,7 +7906,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE30b') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE30b') and answer.exists()" } ], "rule": [ @@ -8014,7 +8014,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de30b", + "name": "CccobservationCccb14s2de30b", "variable": [ "src", "tgt" @@ -8036,7 +8036,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE31a') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE31a') and answer.exists()" } ], "rule": [ @@ -8144,7 +8144,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de31a", + "name": "CccobservationCccb14s2de31a", "variable": [ "src", "tgt" @@ -8166,7 +8166,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE31b') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE31b') and answer.exists()" } ], "rule": [ @@ -8274,7 +8274,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de31b", + "name": "CccobservationCccb14s2de31b", "variable": [ "src", "tgt" @@ -8296,7 +8296,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE32a') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE32a') and answer.exists()" } ], "rule": [ @@ -8404,7 +8404,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de32a", + "name": "CccobservationCccb14s2de32a", "variable": [ "src", "tgt" @@ -8426,7 +8426,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE34') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE34') and answer.exists()" } ], "rule": [ @@ -8534,7 +8534,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de34", + "name": "CccobservationCccb14s2de34", "variable": [ "src", "tgt" @@ -8556,7 +8556,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE36a') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE36a') and answer.exists()" } ], "rule": [ @@ -8664,7 +8664,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de36a", + "name": "CccobservationCccb14s2de36a", "variable": [ "src", "tgt" @@ -8686,7 +8686,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE36b') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE36b') and answer.exists()" } ], "rule": [ @@ -8794,7 +8794,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de36b", + "name": "CccobservationCccb14s2de36b", "variable": [ "src", "tgt" @@ -8816,7 +8816,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE36c') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE36c') and answer.exists()" } ], "rule": [ @@ -8924,7 +8924,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de36c", + "name": "CccobservationCccb14s2de36c", "variable": [ "src", "tgt" @@ -8946,7 +8946,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE38') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE38') and answer.exists()" } ], "rule": [ @@ -9054,7 +9054,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de38", + "name": "CccobservationCccb14s2de38", "variable": [ "src", "tgt" @@ -9073,7 +9073,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE43').answer.where(value.code = 'EmCare.B14S2.DE44')" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE44')" } ], "rule": [ @@ -9085,7 +9085,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE43') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE43') and answer.exists()" } ], "rule": [ @@ -9182,7 +9182,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de43emcareb14s2de44t", + "name": "CccobservationCccb14s2de43Cccb14s2de44t", "variable": [ "src", "tgt" @@ -9203,7 +9203,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE43').exists() and src.item.where(linkId = 'EmCare.B14S2.DE43').answer.where(value.code = 'EmCare.B14S2.DE44').empty()" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE43').exists() and src.item.where(linkId = 'Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE44').empty()" } ], "rule": [ @@ -9215,7 +9215,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE43') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE43') and answer.exists()" } ], "rule": [ @@ -9312,7 +9312,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de43emcareb14s2de44f", + "name": "CccobservationCccb14s2de43Cccb14s2de44f", "variable": [ "src", "tgt" @@ -9333,7 +9333,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE43').answer.where(value.code = 'EmCare.B14S2.DE45')" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE45')" } ], "rule": [ @@ -9345,7 +9345,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE43') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE43') and answer.exists()" } ], "rule": [ @@ -9442,7 +9442,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de43emcareb14s2de45t", + "name": "CccobservationCccb14s2de43Cccb14s2de45t", "variable": [ "src", "tgt" @@ -9463,7 +9463,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE43').exists() and src.item.where(linkId = 'EmCare.B14S2.DE43').answer.where(value.code = 'EmCare.B14S2.DE45').empty()" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE43').exists() and src.item.where(linkId = 'Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE45').empty()" } ], "rule": [ @@ -9475,7 +9475,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE43') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE43') and answer.exists()" } ], "rule": [ @@ -9572,7 +9572,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de43emcareb14s2de45f", + "name": "CccobservationCccb14s2de43Cccb14s2de45f", "variable": [ "src", "tgt" @@ -9593,7 +9593,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE43').answer.where(value.code = 'EmCare.B14S2.DE46')" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE46')" } ], "rule": [ @@ -9605,7 +9605,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE43') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE43') and answer.exists()" } ], "rule": [ @@ -9702,7 +9702,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de43emcareb14s2de46t", + "name": "CccobservationCccb14s2de43Cccb14s2de46t", "variable": [ "src", "tgt" @@ -9723,7 +9723,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE43').exists() and src.item.where(linkId = 'EmCare.B14S2.DE43').answer.where(value.code = 'EmCare.B14S2.DE46').empty()" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE43').exists() and src.item.where(linkId = 'Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE46').empty()" } ], "rule": [ @@ -9735,7 +9735,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE43') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE43') and answer.exists()" } ], "rule": [ @@ -9832,7 +9832,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de43emcareb14s2de46f", + "name": "CccobservationCccb14s2de43Cccb14s2de46f", "variable": [ "src", "tgt" @@ -9853,7 +9853,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE43').answer.where(value.code = 'EmCare.B14S2.DE47')" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE47')" } ], "rule": [ @@ -9865,7 +9865,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE43') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE43') and answer.exists()" } ], "rule": [ @@ -9962,7 +9962,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de43emcareb14s2de47t", + "name": "CccobservationCccb14s2de43Cccb14s2de47t", "variable": [ "src", "tgt" @@ -9983,7 +9983,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B14S2.DE43').exists() and src.item.where(linkId = 'EmCare.B14S2.DE43').answer.where(value.code = 'EmCare.B14S2.DE47').empty()" + "condition": "src.item.where(linkId = 'Ccc.B14S2.DE43').exists() and src.item.where(linkId = 'Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE47').empty()" } ], "rule": [ @@ -9995,7 +9995,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE43') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE43') and answer.exists()" } ], "rule": [ @@ -10092,7 +10092,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb14s2de43emcareb14s2de47f", + "name": "CccobservationCccb14s2de43Cccb14s2de47f", "variable": [ "src", "tgt" @@ -10116,7 +10116,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B15S2.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B15S2.DE01') and answer.exists()" } ], "rule": [ @@ -10224,7 +10224,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb15s2de01", + "name": "CccobservationCccb15s2de01", "variable": [ "src", "tgt" @@ -10246,7 +10246,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B15S2.DE09') and answer.exists()" + "condition": "(linkId = 'Ccc.B15S2.DE09') and answer.exists()" } ], "rule": [ @@ -10354,7 +10354,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb15s2de09", + "name": "CccobservationCccb15s2de09", "variable": [ "src", "tgt" @@ -10376,7 +10376,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.RespiratoryRate'" + "condition": "linkId = 'Ccc.B22.RespiratoryRate'" } ], "rule": [ @@ -10388,7 +10388,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE01') and answer.exists()" } ], "rule": [ @@ -10496,7 +10496,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de01", + "name": "CccobservationCccb22de01", "variable": [ "src", "tgt" @@ -10520,7 +10520,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.RespiratoryRate'" + "condition": "linkId = 'Ccc.B22.RespiratoryRate'" } ], "rule": [ @@ -10532,7 +10532,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE02') and answer.exists()" } ], "rule": [ @@ -10640,7 +10640,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de02", + "name": "CccobservationCccb22de02", "variable": [ "src", "tgt" @@ -10664,7 +10664,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.RespiratoryRate'" + "condition": "linkId = 'Ccc.B22.RespiratoryRate'" } ], "rule": [ @@ -10688,7 +10688,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE04') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE04') and answer.exists()" } ], "rule": [ @@ -10796,7 +10796,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de04", + "name": "CccobservationCccb22de04", "variable": [ "src", "tgt" @@ -10822,7 +10822,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.RespiratoryRate'" + "condition": "linkId = 'Ccc.B22.RespiratoryRate'" } ], "rule": [ @@ -10846,7 +10846,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE05') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE05') and answer.exists()" } ], "rule": [ @@ -10954,7 +10954,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de05", + "name": "CccobservationCccb22de05", "variable": [ "src", "tgt" @@ -10980,7 +10980,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.RespiratoryRate'" + "condition": "linkId = 'Ccc.B22.RespiratoryRate'" } ], "rule": [ @@ -10992,7 +10992,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE07') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE07') and answer.exists()" } ], "rule": [ @@ -11100,7 +11100,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de07", + "name": "CccobservationCccb22de07", "variable": [ "src", "tgt" @@ -11119,7 +11119,7 @@ ] }, { - "name": "emcareobservationemcareb10s2de03", + "name": "CccobservationCccb10s2de03", "typeMode": "none", "input": [ { @@ -11133,7 +11133,7 @@ ], "rule": [ { - "name": "id-emcareb10s2de03", + "name": "id-Cccb10s2de03", "source": [ { "context": "src" @@ -11217,7 +11217,7 @@ ] }, { - "name": "code-emcareb10s2de03", + "name": "code-Cccb10s2de03", "source": [ { "context": "src", @@ -11256,7 +11256,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -11291,7 +11291,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -11302,7 +11302,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B10S2.DE03" + "valueString": "Ccc.B10S2.DE03" } ] } @@ -11388,7 +11388,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B10S2.DE03') and answer.exists()" + "condition": "(linkId = 'Ccc.B10S2.DE03') and answer.exists()" } ], "rule": [ @@ -11404,7 +11404,7 @@ ], "rule": [ { - "name": "final-emcareb10s2de03", + "name": "final-Cccb10s2de03", "source": [ { "context": "a", @@ -11437,7 +11437,7 @@ ] }, { - "name": "notfound-emcareb10s2de03", + "name": "notfound-Cccb10s2de03", "source": [ { "context": "a", @@ -11476,7 +11476,7 @@ ] }, { - "name": "emcareobservationemcareb10s2de04", + "name": "CccobservationCccb10s2de04", "typeMode": "none", "input": [ { @@ -11490,7 +11490,7 @@ ], "rule": [ { - "name": "id-emcareb10s2de04", + "name": "id-Cccb10s2de04", "source": [ { "context": "src" @@ -11574,7 +11574,7 @@ ] }, { - "name": "code-emcareb10s2de04", + "name": "code-Cccb10s2de04", "source": [ { "context": "src", @@ -11613,7 +11613,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -11648,7 +11648,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -11659,7 +11659,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B10S2.DE04" + "valueString": "Ccc.B10S2.DE04" } ] } @@ -11745,7 +11745,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B10S2.DE04') and answer.exists()" + "condition": "(linkId = 'Ccc.B10S2.DE04') and answer.exists()" } ], "rule": [ @@ -11761,7 +11761,7 @@ ], "rule": [ { - "name": "final-emcareb10s2de04", + "name": "final-Cccb10s2de04", "source": [ { "context": "a", @@ -11794,7 +11794,7 @@ ] }, { - "name": "notfound-emcareb10s2de04", + "name": "notfound-Cccb10s2de04", "source": [ { "context": "a", @@ -11833,7 +11833,7 @@ ] }, { - "name": "emcareobservationemcareb10s2de05", + "name": "CccobservationCccb10s2de05", "typeMode": "none", "input": [ { @@ -11847,7 +11847,7 @@ ], "rule": [ { - "name": "id-emcareb10s2de05", + "name": "id-Cccb10s2de05", "source": [ { "context": "src" @@ -11931,7 +11931,7 @@ ] }, { - "name": "code-emcareb10s2de05", + "name": "code-Cccb10s2de05", "source": [ { "context": "src", @@ -11970,7 +11970,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -12005,7 +12005,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -12016,7 +12016,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B10S2.DE05" + "valueString": "Ccc.B10S2.DE05" } ] } @@ -12102,7 +12102,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B10S2.DE05') and answer.exists()" + "condition": "(linkId = 'Ccc.B10S2.DE05') and answer.exists()" } ], "rule": [ @@ -12118,7 +12118,7 @@ ], "rule": [ { - "name": "final-emcareb10s2de05", + "name": "final-Cccb10s2de05", "source": [ { "context": "a", @@ -12151,7 +12151,7 @@ ] }, { - "name": "notfound-emcareb10s2de05", + "name": "notfound-Cccb10s2de05", "source": [ { "context": "a", @@ -12190,7 +12190,7 @@ ] }, { - "name": "emcareobservationemcareb10s2de06", + "name": "CccobservationCccb10s2de06", "typeMode": "none", "input": [ { @@ -12204,7 +12204,7 @@ ], "rule": [ { - "name": "id-emcareb10s2de06", + "name": "id-Cccb10s2de06", "source": [ { "context": "src" @@ -12288,7 +12288,7 @@ ] }, { - "name": "code-emcareb10s2de06", + "name": "code-Cccb10s2de06", "source": [ { "context": "src", @@ -12327,7 +12327,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -12362,7 +12362,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -12373,7 +12373,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B10S2.DE06" + "valueString": "Ccc.B10S2.DE06" } ] } @@ -12459,7 +12459,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B10S2.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.B10S2.DE06') and answer.exists()" } ], "rule": [ @@ -12475,7 +12475,7 @@ ], "rule": [ { - "name": "final-emcareb10s2de06", + "name": "final-Cccb10s2de06", "source": [ { "context": "a", @@ -12508,7 +12508,7 @@ ] }, { - "name": "notfound-emcareb10s2de06", + "name": "notfound-Cccb10s2de06", "source": [ { "context": "a", @@ -12547,7 +12547,7 @@ ] }, { - "name": "emcareobservationemcareb10s2de07", + "name": "CccobservationCccb10s2de07", "typeMode": "none", "input": [ { @@ -12561,7 +12561,7 @@ ], "rule": [ { - "name": "id-emcareb10s2de07", + "name": "id-Cccb10s2de07", "source": [ { "context": "src" @@ -12645,7 +12645,7 @@ ] }, { - "name": "code-emcareb10s2de07", + "name": "code-Cccb10s2de07", "source": [ { "context": "src", @@ -12684,7 +12684,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -12719,7 +12719,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -12730,7 +12730,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B10S2.DE07" + "valueString": "Ccc.B10S2.DE07" } ] } @@ -12828,7 +12828,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B10S2.DE07') and answer.exists()" + "condition": "(linkId = 'Ccc.B10S2.DE07') and answer.exists()" } ], "rule": [ @@ -12886,7 +12886,7 @@ ] }, { - "name": "emcareobservationemcareb11s2de01", + "name": "CccobservationCccb11s2de01", "typeMode": "none", "input": [ { @@ -12900,7 +12900,7 @@ ], "rule": [ { - "name": "id-emcareb11s2de01", + "name": "id-Cccb11s2de01", "source": [ { "context": "src" @@ -12984,7 +12984,7 @@ ] }, { - "name": "code-emcareb11s2de01", + "name": "code-Cccb11s2de01", "source": [ { "context": "src", @@ -13023,7 +13023,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -13058,7 +13058,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -13069,7 +13069,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B11S2.DE01" + "valueString": "Ccc.B11S2.DE01" } ] } @@ -13155,7 +13155,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B11S2.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B11S2.DE01') and answer.exists()" } ], "rule": [ @@ -13222,7 +13222,7 @@ ] }, { - "name": "emcareobservationemcareb11s2de02", + "name": "CccobservationCccb11s2de02", "typeMode": "none", "input": [ { @@ -13236,7 +13236,7 @@ ], "rule": [ { - "name": "id-emcareb11s2de02", + "name": "id-Cccb11s2de02", "source": [ { "context": "src" @@ -13320,7 +13320,7 @@ ] }, { - "name": "code-emcareb11s2de02", + "name": "code-Cccb11s2de02", "source": [ { "context": "src", @@ -13359,7 +13359,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -13394,7 +13394,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -13405,7 +13405,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B11S2.DE02" + "valueString": "Ccc.B11S2.DE02" } ] } @@ -13491,7 +13491,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B11S2.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B11S2.DE02') and answer.exists()" } ], "rule": [ @@ -13592,7 +13592,7 @@ ] }, { - "name": "emcareobservationemcareb11s2de06", + "name": "CccobservationCccb11s2de06", "typeMode": "none", "input": [ { @@ -13606,7 +13606,7 @@ ], "rule": [ { - "name": "id-emcareb11s2de06", + "name": "id-Cccb11s2de06", "source": [ { "context": "src" @@ -13690,7 +13690,7 @@ ] }, { - "name": "code-emcareb11s2de06", + "name": "code-Cccb11s2de06", "source": [ { "context": "src", @@ -13729,7 +13729,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -13764,7 +13764,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -13775,7 +13775,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B11S2.DE06" + "valueString": "Ccc.B11S2.DE06" } ] } @@ -13861,7 +13861,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B11S2.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.B11S2.DE06') and answer.exists()" } ], "rule": [ @@ -13877,7 +13877,7 @@ ], "rule": [ { - "name": "final-emcareb11s2de06", + "name": "final-Cccb11s2de06", "source": [ { "context": "a", @@ -13910,7 +13910,7 @@ ] }, { - "name": "notfound-emcareb11s2de06", + "name": "notfound-Cccb11s2de06", "source": [ { "context": "a", @@ -13949,7 +13949,7 @@ ] }, { - "name": "emcareobservationemcareb17s1de01", + "name": "CccobservationCccb17s1de01", "typeMode": "none", "input": [ { @@ -13963,7 +13963,7 @@ ], "rule": [ { - "name": "id-emcareb17s1de01", + "name": "id-Cccb17s1de01", "source": [ { "context": "src" @@ -14047,7 +14047,7 @@ ] }, { - "name": "code-emcareb17s1de01", + "name": "code-Cccb17s1de01", "source": [ { "context": "src", @@ -14086,7 +14086,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -14121,7 +14121,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -14132,7 +14132,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B17S1.DE01" + "valueString": "Ccc.B17S1.DE01" } ] } @@ -14218,7 +14218,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B17S1.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B17S1.DE01') and answer.exists()" } ], "rule": [ @@ -14234,7 +14234,7 @@ ], "rule": [ { - "name": "final-emcareb17s1de01", + "name": "final-Cccb17s1de01", "source": [ { "context": "a", @@ -14267,7 +14267,7 @@ ] }, { - "name": "notfound-emcareb17s1de01", + "name": "notfound-Cccb17s1de01", "source": [ { "context": "a", @@ -14306,7 +14306,7 @@ ] }, { - "name": "emcareobservationemcareb17s1de02", + "name": "CccobservationCccb17s1de02", "typeMode": "none", "input": [ { @@ -14320,7 +14320,7 @@ ], "rule": [ { - "name": "id-emcareb17s1de02", + "name": "id-Cccb17s1de02", "source": [ { "context": "src" @@ -14404,7 +14404,7 @@ ] }, { - "name": "code-emcareb17s1de02", + "name": "code-Cccb17s1de02", "source": [ { "context": "src", @@ -14443,7 +14443,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -14478,7 +14478,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -14489,7 +14489,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B17S1.DE02" + "valueString": "Ccc.B17S1.DE02" } ] } @@ -14575,7 +14575,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B17S1.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B17S1.DE02') and answer.exists()" } ], "rule": [ @@ -14676,7 +14676,7 @@ ] }, { - "name": "emcareobservationemcareb17s1de06", + "name": "CccobservationCccb17s1de06", "typeMode": "none", "input": [ { @@ -14690,7 +14690,7 @@ ], "rule": [ { - "name": "id-emcareb17s1de06", + "name": "id-Cccb17s1de06", "source": [ { "context": "src" @@ -14774,7 +14774,7 @@ ] }, { - "name": "code-emcareb17s1de06", + "name": "code-Cccb17s1de06", "source": [ { "context": "src", @@ -14813,7 +14813,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -14848,7 +14848,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -14859,7 +14859,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B17S1.DE06" + "valueString": "Ccc.B17S1.DE06" } ] } @@ -14945,7 +14945,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B17S1.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.B17S1.DE06') and answer.exists()" } ], "rule": [ @@ -14961,7 +14961,7 @@ ], "rule": [ { - "name": "final-emcareb17s1de06", + "name": "final-Cccb17s1de06", "source": [ { "context": "a", @@ -14994,7 +14994,7 @@ ] }, { - "name": "notfound-emcareb17s1de06", + "name": "notfound-Cccb17s1de06", "source": [ { "context": "a", @@ -15033,7 +15033,7 @@ ] }, { - "name": "emcareobservationemcareb17s1de07", + "name": "CccobservationCccb17s1de07", "typeMode": "none", "input": [ { @@ -15047,7 +15047,7 @@ ], "rule": [ { - "name": "id-emcareb17s1de07", + "name": "id-Cccb17s1de07", "source": [ { "context": "src" @@ -15131,7 +15131,7 @@ ] }, { - "name": "code-emcareb17s1de07", + "name": "code-Cccb17s1de07", "source": [ { "context": "src", @@ -15170,7 +15170,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -15205,7 +15205,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -15216,7 +15216,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B17S1.DE07" + "valueString": "Ccc.B17S1.DE07" } ] } @@ -15302,7 +15302,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B17S1.DE07') and answer.exists()" + "condition": "(linkId = 'Ccc.B17S1.DE07') and answer.exists()" } ], "rule": [ @@ -15403,7 +15403,7 @@ ] }, { - "name": "emcareobservationemcareb13s2de01", + "name": "CccobservationCccb13s2de01", "typeMode": "none", "input": [ { @@ -15417,7 +15417,7 @@ ], "rule": [ { - "name": "id-emcareb13s2de01", + "name": "id-Cccb13s2de01", "source": [ { "context": "src" @@ -15501,7 +15501,7 @@ ] }, { - "name": "code-emcareb13s2de01", + "name": "code-Cccb13s2de01", "source": [ { "context": "src", @@ -15540,7 +15540,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -15575,7 +15575,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -15586,7 +15586,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B13S2.DE01" + "valueString": "Ccc.B13S2.DE01" } ] } @@ -15672,7 +15672,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B13S2.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B13S2.DE01') and answer.exists()" } ], "rule": [ @@ -15688,7 +15688,7 @@ ], "rule": [ { - "name": "final-emcareb13s2de01", + "name": "final-Cccb13s2de01", "source": [ { "context": "a", @@ -15721,7 +15721,7 @@ ] }, { - "name": "notfound-emcareb13s2de01", + "name": "notfound-Cccb13s2de01", "source": [ { "context": "a", @@ -15760,7 +15760,7 @@ ] }, { - "name": "emcareobservationemcareb13s2de02", + "name": "CccobservationCccb13s2de02", "typeMode": "none", "input": [ { @@ -15774,7 +15774,7 @@ ], "rule": [ { - "name": "id-emcareb13s2de02", + "name": "id-Cccb13s2de02", "source": [ { "context": "src" @@ -15858,7 +15858,7 @@ ] }, { - "name": "code-emcareb13s2de02", + "name": "code-Cccb13s2de02", "source": [ { "context": "src", @@ -15897,7 +15897,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -15932,7 +15932,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -15943,7 +15943,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B13S2.DE02" + "valueString": "Ccc.B13S2.DE02" } ] } @@ -16029,7 +16029,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B13S2.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B13S2.DE02') and answer.exists()" } ], "rule": [ @@ -16045,7 +16045,7 @@ ], "rule": [ { - "name": "final-emcareb13s2de02", + "name": "final-Cccb13s2de02", "source": [ { "context": "a", @@ -16078,7 +16078,7 @@ ] }, { - "name": "notfound-emcareb13s2de02", + "name": "notfound-Cccb13s2de02", "source": [ { "context": "a", @@ -16117,7 +16117,7 @@ ] }, { - "name": "emcareobservationemcareb13s2de03", + "name": "CccobservationCccb13s2de03", "typeMode": "none", "input": [ { @@ -16131,7 +16131,7 @@ ], "rule": [ { - "name": "id-emcareb13s2de03", + "name": "id-Cccb13s2de03", "source": [ { "context": "src" @@ -16215,7 +16215,7 @@ ] }, { - "name": "code-emcareb13s2de03", + "name": "code-Cccb13s2de03", "source": [ { "context": "src", @@ -16254,7 +16254,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -16289,7 +16289,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -16300,7 +16300,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B13S2.DE03" + "valueString": "Ccc.B13S2.DE03" } ] } @@ -16386,7 +16386,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B13S2.DE03') and answer.exists()" + "condition": "(linkId = 'Ccc.B13S2.DE03') and answer.exists()" } ], "rule": [ @@ -16487,7 +16487,7 @@ ] }, { - "name": "emcareobservationemcareb12s2de01", + "name": "CccobservationCccb12s2de01", "typeMode": "none", "input": [ { @@ -16501,7 +16501,7 @@ ], "rule": [ { - "name": "id-emcareb12s2de01", + "name": "id-Cccb12s2de01", "source": [ { "context": "src" @@ -16585,7 +16585,7 @@ ] }, { - "name": "code-emcareb12s2de01", + "name": "code-Cccb12s2de01", "source": [ { "context": "src", @@ -16624,7 +16624,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -16659,7 +16659,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -16670,7 +16670,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B12S2.DE01" + "valueString": "Ccc.B12S2.DE01" } ] } @@ -16756,7 +16756,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B12S2.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B12S2.DE01') and answer.exists()" } ], "rule": [ @@ -16772,7 +16772,7 @@ ], "rule": [ { - "name": "final-emcareb12s2de01", + "name": "final-Cccb12s2de01", "source": [ { "context": "a", @@ -16805,7 +16805,7 @@ ] }, { - "name": "notfound-emcareb12s2de01", + "name": "notfound-Cccb12s2de01", "source": [ { "context": "a", @@ -16844,7 +16844,7 @@ ] }, { - "name": "emcareobservationemcareb12s2de05", + "name": "CccobservationCccb12s2de05", "typeMode": "none", "input": [ { @@ -16858,7 +16858,7 @@ ], "rule": [ { - "name": "id-emcareb12s2de05", + "name": "id-Cccb12s2de05", "source": [ { "context": "src" @@ -16942,7 +16942,7 @@ ] }, { - "name": "code-emcareb12s2de05", + "name": "code-Cccb12s2de05", "source": [ { "context": "src", @@ -16981,7 +16981,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -17016,7 +17016,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -17027,7 +17027,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B12S2.DE05" + "valueString": "Ccc.B12S2.DE05" } ] } @@ -17113,7 +17113,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B12S2.DE05') and answer.exists()" + "condition": "(linkId = 'Ccc.B12S2.DE05') and answer.exists()" } ], "rule": [ @@ -17129,7 +17129,7 @@ ], "rule": [ { - "name": "final-emcareb12s2de05", + "name": "final-Cccb12s2de05", "source": [ { "context": "a", @@ -17162,7 +17162,7 @@ ] }, { - "name": "notfound-emcareb12s2de05", + "name": "notfound-Cccb12s2de05", "source": [ { "context": "a", @@ -17201,7 +17201,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de01", + "name": "CccobservationCccb14s2de01", "typeMode": "none", "input": [ { @@ -17215,7 +17215,7 @@ ], "rule": [ { - "name": "id-emcareb14s2de01", + "name": "id-Cccb14s2de01", "source": [ { "context": "src" @@ -17299,7 +17299,7 @@ ] }, { - "name": "code-emcareb14s2de01", + "name": "code-Cccb14s2de01", "source": [ { "context": "src", @@ -17338,7 +17338,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -17373,7 +17373,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -17384,7 +17384,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE01" + "valueString": "Ccc.B14S2.DE01" } ] } @@ -17470,7 +17470,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE01') and answer.exists()" } ], "rule": [ @@ -17486,7 +17486,7 @@ ], "rule": [ { - "name": "final-emcareb14s2de01", + "name": "final-Cccb14s2de01", "source": [ { "context": "a", @@ -17519,7 +17519,7 @@ ] }, { - "name": "notfound-emcareb14s2de01", + "name": "notfound-Cccb14s2de01", "source": [ { "context": "a", @@ -17558,7 +17558,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de02", + "name": "CccobservationCccb14s2de02", "typeMode": "none", "input": [ { @@ -17572,7 +17572,7 @@ ], "rule": [ { - "name": "id-emcareb14s2de02", + "name": "id-Cccb14s2de02", "source": [ { "context": "src" @@ -17656,7 +17656,7 @@ ] }, { - "name": "code-emcareb14s2de02", + "name": "code-Cccb14s2de02", "source": [ { "context": "src", @@ -17695,7 +17695,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -17730,7 +17730,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -17741,7 +17741,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE02" + "valueString": "Ccc.B14S2.DE02" } ] } @@ -17827,7 +17827,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE02') and answer.exists()" } ], "rule": [ @@ -17843,7 +17843,7 @@ ], "rule": [ { - "name": "final-emcareb14s2de02", + "name": "final-Cccb14s2de02", "source": [ { "context": "a", @@ -17876,7 +17876,7 @@ ] }, { - "name": "notfound-emcareb14s2de02", + "name": "notfound-Cccb14s2de02", "source": [ { "context": "a", @@ -17915,7 +17915,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de03", + "name": "CccobservationCccb14s2de03", "typeMode": "none", "input": [ { @@ -17929,7 +17929,7 @@ ], "rule": [ { - "name": "id-emcareb14s2de03", + "name": "id-Cccb14s2de03", "source": [ { "context": "src" @@ -18013,7 +18013,7 @@ ] }, { - "name": "code-emcareb14s2de03", + "name": "code-Cccb14s2de03", "source": [ { "context": "src", @@ -18052,7 +18052,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -18087,7 +18087,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -18098,7 +18098,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE03" + "valueString": "Ccc.B14S2.DE03" } ] } @@ -18184,7 +18184,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE03') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE03') and answer.exists()" } ], "rule": [ @@ -18200,7 +18200,7 @@ ], "rule": [ { - "name": "final-emcareb14s2de03", + "name": "final-Cccb14s2de03", "source": [ { "context": "a", @@ -18233,7 +18233,7 @@ ] }, { - "name": "notfound-emcareb14s2de03", + "name": "notfound-Cccb14s2de03", "source": [ { "context": "a", @@ -18272,7 +18272,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de04", + "name": "CccobservationCccb14s2de04", "typeMode": "none", "input": [ { @@ -18286,7 +18286,7 @@ ], "rule": [ { - "name": "id-emcareb14s2de04", + "name": "id-Cccb14s2de04", "source": [ { "context": "src" @@ -18370,7 +18370,7 @@ ] }, { - "name": "code-emcareb14s2de04", + "name": "code-Cccb14s2de04", "source": [ { "context": "src", @@ -18409,7 +18409,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -18444,7 +18444,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -18455,7 +18455,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE04" + "valueString": "Ccc.B14S2.DE04" } ] } @@ -18541,7 +18541,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE04') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE04') and answer.exists()" } ], "rule": [ @@ -18557,7 +18557,7 @@ ], "rule": [ { - "name": "final-emcareb14s2de04", + "name": "final-Cccb14s2de04", "source": [ { "context": "a", @@ -18590,7 +18590,7 @@ ] }, { - "name": "notfound-emcareb14s2de04", + "name": "notfound-Cccb14s2de04", "source": [ { "context": "a", @@ -18629,7 +18629,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de05", + "name": "CccobservationCccb14s2de05", "typeMode": "none", "input": [ { @@ -18643,7 +18643,7 @@ ], "rule": [ { - "name": "id-emcareb14s2de05", + "name": "id-Cccb14s2de05", "source": [ { "context": "src" @@ -18727,7 +18727,7 @@ ] }, { - "name": "code-emcareb14s2de05", + "name": "code-Cccb14s2de05", "source": [ { "context": "src", @@ -18766,7 +18766,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -18801,7 +18801,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -18812,7 +18812,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE05" + "valueString": "Ccc.B14S2.DE05" } ] } @@ -18898,7 +18898,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE05') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE05') and answer.exists()" } ], "rule": [ @@ -18914,7 +18914,7 @@ ], "rule": [ { - "name": "final-emcareb14s2de05", + "name": "final-Cccb14s2de05", "source": [ { "context": "a", @@ -18947,7 +18947,7 @@ ] }, { - "name": "notfound-emcareb14s2de05", + "name": "notfound-Cccb14s2de05", "source": [ { "context": "a", @@ -18986,7 +18986,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de06emcareb14s2de07t", + "name": "CccobservationCccb14s2de06Cccb14s2de07t", "typeMode": "none", "input": [ { @@ -19000,7 +19000,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de06emcareb14s2de07t", + "name": "id-CccobservationCccb14s2de06Cccb14s2de07t", "source": [ { "context": "src" @@ -19084,7 +19084,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de06emcareb14s2de07t", + "name": "code-CccobservationCccb14s2de06Cccb14s2de07t", "source": [ { "context": "src", @@ -19123,7 +19123,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -19158,7 +19158,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -19169,7 +19169,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE06&EmCare.B14S2.DE07" + "valueString": "Ccc.B14S2.DE06&Ccc.B14S2.DE07" } ] } @@ -19282,7 +19282,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de06emcareb14s2de07f", + "name": "CccobservationCccb14s2de06Cccb14s2de07f", "typeMode": "none", "input": [ { @@ -19296,7 +19296,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de06emcareb14s2de07f", + "name": "id-CccobservationCccb14s2de06Cccb14s2de07f", "source": [ { "context": "src" @@ -19380,7 +19380,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de06emcareb14s2de07f", + "name": "code-CccobservationCccb14s2de06Cccb14s2de07f", "source": [ { "context": "src", @@ -19419,7 +19419,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -19454,7 +19454,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -19465,7 +19465,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE06&EmCare.B14S2.DE07" + "valueString": "Ccc.B14S2.DE06&Ccc.B14S2.DE07" } ] } @@ -19578,7 +19578,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de06emcareb14s2de08t", + "name": "CccobservationCccb14s2de06Cccb14s2de08t", "typeMode": "none", "input": [ { @@ -19592,7 +19592,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de06emcareb14s2de08t", + "name": "id-CccobservationCccb14s2de06Cccb14s2de08t", "source": [ { "context": "src" @@ -19676,7 +19676,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de06emcareb14s2de08t", + "name": "code-CccobservationCccb14s2de06Cccb14s2de08t", "source": [ { "context": "src", @@ -19715,7 +19715,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -19750,7 +19750,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -19761,7 +19761,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE06&EmCare.B14S2.DE08" + "valueString": "Ccc.B14S2.DE06&Ccc.B14S2.DE08" } ] } @@ -19874,7 +19874,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de06emcareb14s2de08f", + "name": "CccobservationCccb14s2de06Cccb14s2de08f", "typeMode": "none", "input": [ { @@ -19888,7 +19888,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de06emcareb14s2de08f", + "name": "id-CccobservationCccb14s2de06Cccb14s2de08f", "source": [ { "context": "src" @@ -19972,7 +19972,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de06emcareb14s2de08f", + "name": "code-CccobservationCccb14s2de06Cccb14s2de08f", "source": [ { "context": "src", @@ -20011,7 +20011,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -20046,7 +20046,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -20057,7 +20057,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE06&EmCare.B14S2.DE08" + "valueString": "Ccc.B14S2.DE06&Ccc.B14S2.DE08" } ] } @@ -20170,7 +20170,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de06emcareb14s2de09t", + "name": "CccobservationCccb14s2de06Cccb14s2de09t", "typeMode": "none", "input": [ { @@ -20184,7 +20184,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de06emcareb14s2de09t", + "name": "id-CccobservationCccb14s2de06Cccb14s2de09t", "source": [ { "context": "src" @@ -20268,7 +20268,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de06emcareb14s2de09t", + "name": "code-CccobservationCccb14s2de06Cccb14s2de09t", "source": [ { "context": "src", @@ -20307,7 +20307,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -20342,7 +20342,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -20353,7 +20353,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE06&EmCare.B14S2.DE09" + "valueString": "Ccc.B14S2.DE06&Ccc.B14S2.DE09" } ] } @@ -20466,7 +20466,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de06emcareb14s2de09f", + "name": "CccobservationCccb14s2de06Cccb14s2de09f", "typeMode": "none", "input": [ { @@ -20480,7 +20480,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de06emcareb14s2de09f", + "name": "id-CccobservationCccb14s2de06Cccb14s2de09f", "source": [ { "context": "src" @@ -20564,7 +20564,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de06emcareb14s2de09f", + "name": "code-CccobservationCccb14s2de06Cccb14s2de09f", "source": [ { "context": "src", @@ -20603,7 +20603,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -20638,7 +20638,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -20649,7 +20649,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE06&EmCare.B14S2.DE09" + "valueString": "Ccc.B14S2.DE06&Ccc.B14S2.DE09" } ] } @@ -20762,7 +20762,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de10", + "name": "CccobservationCccb14s2de10", "typeMode": "none", "input": [ { @@ -20776,7 +20776,7 @@ ], "rule": [ { - "name": "id-emcareb14s2de10", + "name": "id-Cccb14s2de10", "source": [ { "context": "src" @@ -20860,7 +20860,7 @@ ] }, { - "name": "code-emcareb14s2de10", + "name": "code-Cccb14s2de10", "source": [ { "context": "src", @@ -20899,7 +20899,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -20934,7 +20934,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -20945,7 +20945,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE10" + "valueString": "Ccc.B14S2.DE10" } ] } @@ -21031,7 +21031,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE10') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE10') and answer.exists()" } ], "rule": [ @@ -21047,7 +21047,7 @@ ], "rule": [ { - "name": "final-emcareb14s2de10", + "name": "final-Cccb14s2de10", "source": [ { "context": "a", @@ -21080,7 +21080,7 @@ ] }, { - "name": "notfound-emcareb14s2de10", + "name": "notfound-Cccb14s2de10", "source": [ { "context": "a", @@ -21119,7 +21119,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de11", + "name": "CccobservationCccb14s2de11", "typeMode": "none", "input": [ { @@ -21133,7 +21133,7 @@ ], "rule": [ { - "name": "id-emcareb14s2de11", + "name": "id-Cccb14s2de11", "source": [ { "context": "src" @@ -21217,7 +21217,7 @@ ] }, { - "name": "code-emcareb14s2de11", + "name": "code-Cccb14s2de11", "source": [ { "context": "src", @@ -21256,7 +21256,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -21291,7 +21291,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -21302,7 +21302,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE11" + "valueString": "Ccc.B14S2.DE11" } ] } @@ -21388,7 +21388,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE11') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE11') and answer.exists()" } ], "rule": [ @@ -21404,7 +21404,7 @@ ], "rule": [ { - "name": "final-emcareb14s2de11", + "name": "final-Cccb14s2de11", "source": [ { "context": "a", @@ -21437,7 +21437,7 @@ ] }, { - "name": "notfound-emcareb14s2de11", + "name": "notfound-Cccb14s2de11", "source": [ { "context": "a", @@ -21476,7 +21476,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de12", + "name": "CccobservationCccb14s2de12", "typeMode": "none", "input": [ { @@ -21490,7 +21490,7 @@ ], "rule": [ { - "name": "id-emcareb14s2de12", + "name": "id-Cccb14s2de12", "source": [ { "context": "src" @@ -21574,7 +21574,7 @@ ] }, { - "name": "code-emcareb14s2de12", + "name": "code-Cccb14s2de12", "source": [ { "context": "src", @@ -21613,7 +21613,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -21648,7 +21648,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -21659,7 +21659,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE12" + "valueString": "Ccc.B14S2.DE12" } ] } @@ -21745,7 +21745,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE12') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE12') and answer.exists()" } ], "rule": [ @@ -21761,7 +21761,7 @@ ], "rule": [ { - "name": "final-emcareb14s2de12", + "name": "final-Cccb14s2de12", "source": [ { "context": "a", @@ -21794,7 +21794,7 @@ ] }, { - "name": "notfound-emcareb14s2de12", + "name": "notfound-Cccb14s2de12", "source": [ { "context": "a", @@ -21833,7 +21833,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de13emcareb14s2de18t", + "name": "CccobservationCccb14s2de13Cccb14s2de18t", "typeMode": "none", "input": [ { @@ -21847,7 +21847,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de13emcareb14s2de18t", + "name": "id-CccobservationCccb14s2de13Cccb14s2de18t", "source": [ { "context": "src" @@ -21931,7 +21931,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de13emcareb14s2de18t", + "name": "code-CccobservationCccb14s2de13Cccb14s2de18t", "source": [ { "context": "src", @@ -21970,7 +21970,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -22005,7 +22005,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -22016,7 +22016,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE13&EmCare.B14S2.DE18" + "valueString": "Ccc.B14S2.DE13&Ccc.B14S2.DE18" } ] } @@ -22129,7 +22129,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de13emcareb14s2de18f", + "name": "CccobservationCccb14s2de13Cccb14s2de18f", "typeMode": "none", "input": [ { @@ -22143,7 +22143,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de13emcareb14s2de18f", + "name": "id-CccobservationCccb14s2de13Cccb14s2de18f", "source": [ { "context": "src" @@ -22227,7 +22227,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de13emcareb14s2de18f", + "name": "code-CccobservationCccb14s2de13Cccb14s2de18f", "source": [ { "context": "src", @@ -22266,7 +22266,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -22301,7 +22301,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -22312,7 +22312,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE13&EmCare.B14S2.DE18" + "valueString": "Ccc.B14S2.DE13&Ccc.B14S2.DE18" } ] } @@ -22425,7 +22425,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de13emcareb14s2de19t", + "name": "CccobservationCccb14s2de13Cccb14s2de19t", "typeMode": "none", "input": [ { @@ -22439,7 +22439,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de13emcareb14s2de19t", + "name": "id-CccobservationCccb14s2de13Cccb14s2de19t", "source": [ { "context": "src" @@ -22523,7 +22523,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de13emcareb14s2de19t", + "name": "code-CccobservationCccb14s2de13Cccb14s2de19t", "source": [ { "context": "src", @@ -22562,7 +22562,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -22597,7 +22597,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -22608,7 +22608,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE13&EmCare.B14S2.DE19" + "valueString": "Ccc.B14S2.DE13&Ccc.B14S2.DE19" } ] } @@ -22721,7 +22721,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de13emcareb14s2de19f", + "name": "CccobservationCccb14s2de13Cccb14s2de19f", "typeMode": "none", "input": [ { @@ -22735,7 +22735,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de13emcareb14s2de19f", + "name": "id-CccobservationCccb14s2de13Cccb14s2de19f", "source": [ { "context": "src" @@ -22819,7 +22819,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de13emcareb14s2de19f", + "name": "code-CccobservationCccb14s2de13Cccb14s2de19f", "source": [ { "context": "src", @@ -22858,7 +22858,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -22893,7 +22893,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -22904,7 +22904,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE13&EmCare.B14S2.DE19" + "valueString": "Ccc.B14S2.DE13&Ccc.B14S2.DE19" } ] } @@ -23017,7 +23017,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de13emcareb14s2de21t", + "name": "CccobservationCccb14s2de13Cccb14s2de21t", "typeMode": "none", "input": [ { @@ -23031,7 +23031,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de13emcareb14s2de21t", + "name": "id-CccobservationCccb14s2de13Cccb14s2de21t", "source": [ { "context": "src" @@ -23115,7 +23115,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de13emcareb14s2de21t", + "name": "code-CccobservationCccb14s2de13Cccb14s2de21t", "source": [ { "context": "src", @@ -23154,7 +23154,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -23189,7 +23189,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -23200,7 +23200,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE13&EmCare.B14S2.DE21" + "valueString": "Ccc.B14S2.DE13&Ccc.B14S2.DE21" } ] } @@ -23313,7 +23313,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de13emcareb14s2de21f", + "name": "CccobservationCccb14s2de13Cccb14s2de21f", "typeMode": "none", "input": [ { @@ -23327,7 +23327,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de13emcareb14s2de21f", + "name": "id-CccobservationCccb14s2de13Cccb14s2de21f", "source": [ { "context": "src" @@ -23411,7 +23411,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de13emcareb14s2de21f", + "name": "code-CccobservationCccb14s2de13Cccb14s2de21f", "source": [ { "context": "src", @@ -23450,7 +23450,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -23485,7 +23485,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -23496,7 +23496,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE13&EmCare.B14S2.DE21" + "valueString": "Ccc.B14S2.DE13&Ccc.B14S2.DE21" } ] } @@ -23609,7 +23609,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de13emcareb14s2de22t", + "name": "CccobservationCccb14s2de13Cccb14s2de22t", "typeMode": "none", "input": [ { @@ -23623,7 +23623,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de13emcareb14s2de22t", + "name": "id-CccobservationCccb14s2de13Cccb14s2de22t", "source": [ { "context": "src" @@ -23707,7 +23707,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de13emcareb14s2de22t", + "name": "code-CccobservationCccb14s2de13Cccb14s2de22t", "source": [ { "context": "src", @@ -23746,7 +23746,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -23781,7 +23781,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -23792,7 +23792,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE13&EmCare.B14S2.DE22" + "valueString": "Ccc.B14S2.DE13&Ccc.B14S2.DE22" } ] } @@ -23905,7 +23905,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de13emcareb14s2de22f", + "name": "CccobservationCccb14s2de13Cccb14s2de22f", "typeMode": "none", "input": [ { @@ -23919,7 +23919,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de13emcareb14s2de22f", + "name": "id-CccobservationCccb14s2de13Cccb14s2de22f", "source": [ { "context": "src" @@ -24003,7 +24003,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de13emcareb14s2de22f", + "name": "code-CccobservationCccb14s2de13Cccb14s2de22f", "source": [ { "context": "src", @@ -24042,7 +24042,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -24077,7 +24077,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -24088,7 +24088,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE13&EmCare.B14S2.DE22" + "valueString": "Ccc.B14S2.DE13&Ccc.B14S2.DE22" } ] } @@ -24201,7 +24201,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de13emcareb14s2de23t", + "name": "CccobservationCccb14s2de13Cccb14s2de23t", "typeMode": "none", "input": [ { @@ -24215,7 +24215,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de13emcareb14s2de23t", + "name": "id-CccobservationCccb14s2de13Cccb14s2de23t", "source": [ { "context": "src" @@ -24299,7 +24299,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de13emcareb14s2de23t", + "name": "code-CccobservationCccb14s2de13Cccb14s2de23t", "source": [ { "context": "src", @@ -24338,7 +24338,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -24373,7 +24373,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -24384,7 +24384,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE13&EmCare.B14S2.DE23" + "valueString": "Ccc.B14S2.DE13&Ccc.B14S2.DE23" } ] } @@ -24497,7 +24497,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de13emcareb14s2de23f", + "name": "CccobservationCccb14s2de13Cccb14s2de23f", "typeMode": "none", "input": [ { @@ -24511,7 +24511,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de13emcareb14s2de23f", + "name": "id-CccobservationCccb14s2de13Cccb14s2de23f", "source": [ { "context": "src" @@ -24595,7 +24595,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de13emcareb14s2de23f", + "name": "code-CccobservationCccb14s2de13Cccb14s2de23f", "source": [ { "context": "src", @@ -24634,7 +24634,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -24669,7 +24669,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -24680,7 +24680,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE13&EmCare.B14S2.DE23" + "valueString": "Ccc.B14S2.DE13&Ccc.B14S2.DE23" } ] } @@ -24793,7 +24793,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de13emcareb14s2de25t", + "name": "CccobservationCccb14s2de13Cccb14s2de25t", "typeMode": "none", "input": [ { @@ -24807,7 +24807,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de13emcareb14s2de25t", + "name": "id-CccobservationCccb14s2de13Cccb14s2de25t", "source": [ { "context": "src" @@ -24891,7 +24891,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de13emcareb14s2de25t", + "name": "code-CccobservationCccb14s2de13Cccb14s2de25t", "source": [ { "context": "src", @@ -24930,7 +24930,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -24965,7 +24965,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -24976,7 +24976,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE13&EmCare.B14S2.DE25" + "valueString": "Ccc.B14S2.DE13&Ccc.B14S2.DE25" } ] } @@ -25089,7 +25089,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de13emcareb14s2de25f", + "name": "CccobservationCccb14s2de13Cccb14s2de25f", "typeMode": "none", "input": [ { @@ -25103,7 +25103,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de13emcareb14s2de25f", + "name": "id-CccobservationCccb14s2de13Cccb14s2de25f", "source": [ { "context": "src" @@ -25187,7 +25187,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de13emcareb14s2de25f", + "name": "code-CccobservationCccb14s2de13Cccb14s2de25f", "source": [ { "context": "src", @@ -25226,7 +25226,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -25261,7 +25261,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -25272,7 +25272,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE13&EmCare.B14S2.DE25" + "valueString": "Ccc.B14S2.DE13&Ccc.B14S2.DE25" } ] } @@ -25385,7 +25385,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de13emcareb14s2de31t", + "name": "CccobservationCccb14s2de13Cccb14s2de31t", "typeMode": "none", "input": [ { @@ -25399,7 +25399,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de13emcareb14s2de31t", + "name": "id-CccobservationCccb14s2de13Cccb14s2de31t", "source": [ { "context": "src" @@ -25483,7 +25483,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de13emcareb14s2de31t", + "name": "code-CccobservationCccb14s2de13Cccb14s2de31t", "source": [ { "context": "src", @@ -25522,7 +25522,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -25557,7 +25557,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -25568,7 +25568,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE13&EmCare.B14S2.DE31" + "valueString": "Ccc.B14S2.DE13&Ccc.B14S2.DE31" } ] } @@ -25681,7 +25681,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de13emcareb14s2de31f", + "name": "CccobservationCccb14s2de13Cccb14s2de31f", "typeMode": "none", "input": [ { @@ -25695,7 +25695,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de13emcareb14s2de31f", + "name": "id-CccobservationCccb14s2de13Cccb14s2de31f", "source": [ { "context": "src" @@ -25779,7 +25779,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de13emcareb14s2de31f", + "name": "code-CccobservationCccb14s2de13Cccb14s2de31f", "source": [ { "context": "src", @@ -25818,7 +25818,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -25853,7 +25853,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -25864,7 +25864,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE13&EmCare.B14S2.DE31" + "valueString": "Ccc.B14S2.DE13&Ccc.B14S2.DE31" } ] } @@ -25977,7 +25977,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de13emcareb14s2de32t", + "name": "CccobservationCccb14s2de13Cccb14s2de32t", "typeMode": "none", "input": [ { @@ -25991,7 +25991,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de13emcareb14s2de32t", + "name": "id-CccobservationCccb14s2de13Cccb14s2de32t", "source": [ { "context": "src" @@ -26075,7 +26075,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de13emcareb14s2de32t", + "name": "code-CccobservationCccb14s2de13Cccb14s2de32t", "source": [ { "context": "src", @@ -26114,7 +26114,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -26149,7 +26149,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -26160,7 +26160,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE13&EmCare.B14S2.DE32" + "valueString": "Ccc.B14S2.DE13&Ccc.B14S2.DE32" } ] } @@ -26273,7 +26273,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de13emcareb14s2de32f", + "name": "CccobservationCccb14s2de13Cccb14s2de32f", "typeMode": "none", "input": [ { @@ -26287,7 +26287,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de13emcareb14s2de32f", + "name": "id-CccobservationCccb14s2de13Cccb14s2de32f", "source": [ { "context": "src" @@ -26371,7 +26371,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de13emcareb14s2de32f", + "name": "code-CccobservationCccb14s2de13Cccb14s2de32f", "source": [ { "context": "src", @@ -26410,7 +26410,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -26445,7 +26445,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -26456,7 +26456,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE13&EmCare.B14S2.DE32" + "valueString": "Ccc.B14S2.DE13&Ccc.B14S2.DE32" } ] } @@ -26569,7 +26569,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de13emcareb14s2de33t", + "name": "CccobservationCccb14s2de13Cccb14s2de33t", "typeMode": "none", "input": [ { @@ -26583,7 +26583,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de13emcareb14s2de33t", + "name": "id-CccobservationCccb14s2de13Cccb14s2de33t", "source": [ { "context": "src" @@ -26667,7 +26667,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de13emcareb14s2de33t", + "name": "code-CccobservationCccb14s2de13Cccb14s2de33t", "source": [ { "context": "src", @@ -26706,7 +26706,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -26741,7 +26741,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -26752,7 +26752,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE13&EmCare.B14S2.DE33" + "valueString": "Ccc.B14S2.DE13&Ccc.B14S2.DE33" } ] } @@ -26865,7 +26865,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de13emcareb14s2de33f", + "name": "CccobservationCccb14s2de13Cccb14s2de33f", "typeMode": "none", "input": [ { @@ -26879,7 +26879,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de13emcareb14s2de33f", + "name": "id-CccobservationCccb14s2de13Cccb14s2de33f", "source": [ { "context": "src" @@ -26963,7 +26963,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de13emcareb14s2de33f", + "name": "code-CccobservationCccb14s2de13Cccb14s2de33f", "source": [ { "context": "src", @@ -27002,7 +27002,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -27037,7 +27037,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -27048,7 +27048,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE13&EmCare.B14S2.DE33" + "valueString": "Ccc.B14S2.DE13&Ccc.B14S2.DE33" } ] } @@ -27161,7 +27161,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de13emcareb14s2de35t", + "name": "CccobservationCccb14s2de13Cccb14s2de35t", "typeMode": "none", "input": [ { @@ -27175,7 +27175,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de13emcareb14s2de35t", + "name": "id-CccobservationCccb14s2de13Cccb14s2de35t", "source": [ { "context": "src" @@ -27259,7 +27259,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de13emcareb14s2de35t", + "name": "code-CccobservationCccb14s2de13Cccb14s2de35t", "source": [ { "context": "src", @@ -27298,7 +27298,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -27333,7 +27333,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -27344,7 +27344,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE13&EmCare.B14S2.DE35" + "valueString": "Ccc.B14S2.DE13&Ccc.B14S2.DE35" } ] } @@ -27457,7 +27457,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de13emcareb14s2de35f", + "name": "CccobservationCccb14s2de13Cccb14s2de35f", "typeMode": "none", "input": [ { @@ -27471,7 +27471,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de13emcareb14s2de35f", + "name": "id-CccobservationCccb14s2de13Cccb14s2de35f", "source": [ { "context": "src" @@ -27555,7 +27555,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de13emcareb14s2de35f", + "name": "code-CccobservationCccb14s2de13Cccb14s2de35f", "source": [ { "context": "src", @@ -27594,7 +27594,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -27629,7 +27629,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -27640,7 +27640,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE13&EmCare.B14S2.DE35" + "valueString": "Ccc.B14S2.DE13&Ccc.B14S2.DE35" } ] } @@ -27753,7 +27753,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de13emcareb14s2de36t", + "name": "CccobservationCccb14s2de13Cccb14s2de36t", "typeMode": "none", "input": [ { @@ -27767,7 +27767,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de13emcareb14s2de36t", + "name": "id-CccobservationCccb14s2de13Cccb14s2de36t", "source": [ { "context": "src" @@ -27851,7 +27851,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de13emcareb14s2de36t", + "name": "code-CccobservationCccb14s2de13Cccb14s2de36t", "source": [ { "context": "src", @@ -27890,7 +27890,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -27925,7 +27925,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -27936,7 +27936,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE13&EmCare.B14S2.DE36" + "valueString": "Ccc.B14S2.DE13&Ccc.B14S2.DE36" } ] } @@ -28049,7 +28049,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de13emcareb14s2de36f", + "name": "CccobservationCccb14s2de13Cccb14s2de36f", "typeMode": "none", "input": [ { @@ -28063,7 +28063,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de13emcareb14s2de36f", + "name": "id-CccobservationCccb14s2de13Cccb14s2de36f", "source": [ { "context": "src" @@ -28147,7 +28147,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de13emcareb14s2de36f", + "name": "code-CccobservationCccb14s2de13Cccb14s2de36f", "source": [ { "context": "src", @@ -28186,7 +28186,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -28221,7 +28221,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -28232,7 +28232,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE13&EmCare.B14S2.DE36" + "valueString": "Ccc.B14S2.DE13&Ccc.B14S2.DE36" } ] } @@ -28345,7 +28345,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de13emcareb14s2de37t", + "name": "CccobservationCccb14s2de13Cccb14s2de37t", "typeMode": "none", "input": [ { @@ -28359,7 +28359,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de13emcareb14s2de37t", + "name": "id-CccobservationCccb14s2de13Cccb14s2de37t", "source": [ { "context": "src" @@ -28443,7 +28443,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de13emcareb14s2de37t", + "name": "code-CccobservationCccb14s2de13Cccb14s2de37t", "source": [ { "context": "src", @@ -28482,7 +28482,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -28517,7 +28517,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -28528,7 +28528,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE13&EmCare.B14S2.DE37" + "valueString": "Ccc.B14S2.DE13&Ccc.B14S2.DE37" } ] } @@ -28641,7 +28641,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de13emcareb14s2de37f", + "name": "CccobservationCccb14s2de13Cccb14s2de37f", "typeMode": "none", "input": [ { @@ -28655,7 +28655,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de13emcareb14s2de37f", + "name": "id-CccobservationCccb14s2de13Cccb14s2de37f", "source": [ { "context": "src" @@ -28739,7 +28739,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de13emcareb14s2de37f", + "name": "code-CccobservationCccb14s2de13Cccb14s2de37f", "source": [ { "context": "src", @@ -28778,7 +28778,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -28813,7 +28813,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -28824,7 +28824,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE13&EmCare.B14S2.DE37" + "valueString": "Ccc.B14S2.DE13&Ccc.B14S2.DE37" } ] } @@ -28937,7 +28937,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de19a", + "name": "CccobservationCccb14s2de19a", "typeMode": "none", "input": [ { @@ -28951,7 +28951,7 @@ ], "rule": [ { - "name": "id-emcareb14s2de19a", + "name": "id-Cccb14s2de19a", "source": [ { "context": "src" @@ -29035,7 +29035,7 @@ ] }, { - "name": "code-emcareb14s2de19a", + "name": "code-Cccb14s2de19a", "source": [ { "context": "src", @@ -29074,7 +29074,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -29109,7 +29109,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -29120,7 +29120,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE19a" + "valueString": "Ccc.B14S2.DE19a" } ] } @@ -29206,7 +29206,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE19a') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE19a') and answer.exists()" } ], "rule": [ @@ -29222,7 +29222,7 @@ ], "rule": [ { - "name": "final-emcareb14s2de19a", + "name": "final-Cccb14s2de19a", "source": [ { "context": "a", @@ -29255,7 +29255,7 @@ ] }, { - "name": "notfound-emcareb14s2de19a", + "name": "notfound-Cccb14s2de19a", "source": [ { "context": "a", @@ -29294,7 +29294,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de22a", + "name": "CccobservationCccb14s2de22a", "typeMode": "none", "input": [ { @@ -29308,7 +29308,7 @@ ], "rule": [ { - "name": "id-emcareb14s2de22a", + "name": "id-Cccb14s2de22a", "source": [ { "context": "src" @@ -29392,7 +29392,7 @@ ] }, { - "name": "code-emcareb14s2de22a", + "name": "code-Cccb14s2de22a", "source": [ { "context": "src", @@ -29431,7 +29431,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -29466,7 +29466,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -29477,7 +29477,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE22A" + "valueString": "Ccc.B14S2.DE22A" } ] } @@ -29563,7 +29563,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE22A') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE22A') and answer.exists()" } ], "rule": [ @@ -29579,7 +29579,7 @@ ], "rule": [ { - "name": "final-emcareb14s2de22a", + "name": "final-Cccb14s2de22a", "source": [ { "context": "a", @@ -29612,7 +29612,7 @@ ] }, { - "name": "notfound-emcareb14s2de22a", + "name": "notfound-Cccb14s2de22a", "source": [ { "context": "a", @@ -29651,7 +29651,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de23a", + "name": "CccobservationCccb14s2de23a", "typeMode": "none", "input": [ { @@ -29665,7 +29665,7 @@ ], "rule": [ { - "name": "id-emcareb14s2de23a", + "name": "id-Cccb14s2de23a", "source": [ { "context": "src" @@ -29749,7 +29749,7 @@ ] }, { - "name": "code-emcareb14s2de23a", + "name": "code-Cccb14s2de23a", "source": [ { "context": "src", @@ -29788,7 +29788,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -29823,7 +29823,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -29834,7 +29834,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE23a" + "valueString": "Ccc.B14S2.DE23a" } ] } @@ -29920,7 +29920,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE23a') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE23a') and answer.exists()" } ], "rule": [ @@ -29936,7 +29936,7 @@ ], "rule": [ { - "name": "final-emcareb14s2de23a", + "name": "final-Cccb14s2de23a", "source": [ { "context": "a", @@ -29969,7 +29969,7 @@ ] }, { - "name": "notfound-emcareb14s2de23a", + "name": "notfound-Cccb14s2de23a", "source": [ { "context": "a", @@ -30008,7 +30008,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de24", + "name": "CccobservationCccb14s2de24", "typeMode": "none", "input": [ { @@ -30022,7 +30022,7 @@ ], "rule": [ { - "name": "id-emcareb14s2de24", + "name": "id-Cccb14s2de24", "source": [ { "context": "src" @@ -30106,7 +30106,7 @@ ] }, { - "name": "code-emcareb14s2de24", + "name": "code-Cccb14s2de24", "source": [ { "context": "src", @@ -30145,7 +30145,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -30180,7 +30180,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -30191,7 +30191,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE24" + "valueString": "Ccc.B14S2.DE24" } ] } @@ -30277,7 +30277,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE24') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE24') and answer.exists()" } ], "rule": [ @@ -30293,7 +30293,7 @@ ], "rule": [ { - "name": "final-emcareb14s2de24", + "name": "final-Cccb14s2de24", "source": [ { "context": "a", @@ -30326,7 +30326,7 @@ ] }, { - "name": "notfound-emcareb14s2de24", + "name": "notfound-Cccb14s2de24", "source": [ { "context": "a", @@ -30365,7 +30365,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de30", + "name": "CccobservationCccb14s2de30", "typeMode": "none", "input": [ { @@ -30379,7 +30379,7 @@ ], "rule": [ { - "name": "id-emcareb14s2de30", + "name": "id-Cccb14s2de30", "source": [ { "context": "src" @@ -30463,7 +30463,7 @@ ] }, { - "name": "code-emcareb14s2de30", + "name": "code-Cccb14s2de30", "source": [ { "context": "src", @@ -30502,7 +30502,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -30537,7 +30537,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -30548,7 +30548,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE30" + "valueString": "Ccc.B14S2.DE30" } ] } @@ -30634,7 +30634,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE30') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE30') and answer.exists()" } ], "rule": [ @@ -30650,7 +30650,7 @@ ], "rule": [ { - "name": "final-emcareb14s2de30", + "name": "final-Cccb14s2de30", "source": [ { "context": "a", @@ -30683,7 +30683,7 @@ ] }, { - "name": "notfound-emcareb14s2de30", + "name": "notfound-Cccb14s2de30", "source": [ { "context": "a", @@ -30722,7 +30722,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de30b", + "name": "CccobservationCccb14s2de30b", "typeMode": "none", "input": [ { @@ -30736,7 +30736,7 @@ ], "rule": [ { - "name": "id-emcareb14s2de30b", + "name": "id-Cccb14s2de30b", "source": [ { "context": "src" @@ -30820,7 +30820,7 @@ ] }, { - "name": "code-emcareb14s2de30b", + "name": "code-Cccb14s2de30b", "source": [ { "context": "src", @@ -30859,7 +30859,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -30894,7 +30894,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -30905,7 +30905,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE30b" + "valueString": "Ccc.B14S2.DE30b" } ] } @@ -30991,7 +30991,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE30b') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE30b') and answer.exists()" } ], "rule": [ @@ -31007,7 +31007,7 @@ ], "rule": [ { - "name": "final-emcareb14s2de30b", + "name": "final-Cccb14s2de30b", "source": [ { "context": "a", @@ -31040,7 +31040,7 @@ ] }, { - "name": "notfound-emcareb14s2de30b", + "name": "notfound-Cccb14s2de30b", "source": [ { "context": "a", @@ -31079,7 +31079,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de31a", + "name": "CccobservationCccb14s2de31a", "typeMode": "none", "input": [ { @@ -31093,7 +31093,7 @@ ], "rule": [ { - "name": "id-emcareb14s2de31a", + "name": "id-Cccb14s2de31a", "source": [ { "context": "src" @@ -31177,7 +31177,7 @@ ] }, { - "name": "code-emcareb14s2de31a", + "name": "code-Cccb14s2de31a", "source": [ { "context": "src", @@ -31216,7 +31216,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -31251,7 +31251,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -31262,7 +31262,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE31a" + "valueString": "Ccc.B14S2.DE31a" } ] } @@ -31348,7 +31348,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE31a') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE31a') and answer.exists()" } ], "rule": [ @@ -31364,7 +31364,7 @@ ], "rule": [ { - "name": "final-emcareb14s2de31a", + "name": "final-Cccb14s2de31a", "source": [ { "context": "a", @@ -31397,7 +31397,7 @@ ] }, { - "name": "notfound-emcareb14s2de31a", + "name": "notfound-Cccb14s2de31a", "source": [ { "context": "a", @@ -31436,7 +31436,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de31b", + "name": "CccobservationCccb14s2de31b", "typeMode": "none", "input": [ { @@ -31450,7 +31450,7 @@ ], "rule": [ { - "name": "id-emcareb14s2de31b", + "name": "id-Cccb14s2de31b", "source": [ { "context": "src" @@ -31534,7 +31534,7 @@ ] }, { - "name": "code-emcareb14s2de31b", + "name": "code-Cccb14s2de31b", "source": [ { "context": "src", @@ -31573,7 +31573,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -31608,7 +31608,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -31619,7 +31619,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE31b" + "valueString": "Ccc.B14S2.DE31b" } ] } @@ -31705,7 +31705,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE31b') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE31b') and answer.exists()" } ], "rule": [ @@ -31721,7 +31721,7 @@ ], "rule": [ { - "name": "final-emcareb14s2de31b", + "name": "final-Cccb14s2de31b", "source": [ { "context": "a", @@ -31754,7 +31754,7 @@ ] }, { - "name": "notfound-emcareb14s2de31b", + "name": "notfound-Cccb14s2de31b", "source": [ { "context": "a", @@ -31793,7 +31793,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de32a", + "name": "CccobservationCccb14s2de32a", "typeMode": "none", "input": [ { @@ -31807,7 +31807,7 @@ ], "rule": [ { - "name": "id-emcareb14s2de32a", + "name": "id-Cccb14s2de32a", "source": [ { "context": "src" @@ -31891,7 +31891,7 @@ ] }, { - "name": "code-emcareb14s2de32a", + "name": "code-Cccb14s2de32a", "source": [ { "context": "src", @@ -31930,7 +31930,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -31965,7 +31965,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -31976,7 +31976,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE32a" + "valueString": "Ccc.B14S2.DE32a" } ] } @@ -32062,7 +32062,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE32a') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE32a') and answer.exists()" } ], "rule": [ @@ -32078,7 +32078,7 @@ ], "rule": [ { - "name": "final-emcareb14s2de32a", + "name": "final-Cccb14s2de32a", "source": [ { "context": "a", @@ -32111,7 +32111,7 @@ ] }, { - "name": "notfound-emcareb14s2de32a", + "name": "notfound-Cccb14s2de32a", "source": [ { "context": "a", @@ -32150,7 +32150,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de34", + "name": "CccobservationCccb14s2de34", "typeMode": "none", "input": [ { @@ -32164,7 +32164,7 @@ ], "rule": [ { - "name": "id-emcareb14s2de34", + "name": "id-Cccb14s2de34", "source": [ { "context": "src" @@ -32248,7 +32248,7 @@ ] }, { - "name": "code-emcareb14s2de34", + "name": "code-Cccb14s2de34", "source": [ { "context": "src", @@ -32287,7 +32287,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -32322,7 +32322,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -32333,7 +32333,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE34" + "valueString": "Ccc.B14S2.DE34" } ] } @@ -32419,7 +32419,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE34') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE34') and answer.exists()" } ], "rule": [ @@ -32435,7 +32435,7 @@ ], "rule": [ { - "name": "final-emcareb14s2de34", + "name": "final-Cccb14s2de34", "source": [ { "context": "a", @@ -32468,7 +32468,7 @@ ] }, { - "name": "notfound-emcareb14s2de34", + "name": "notfound-Cccb14s2de34", "source": [ { "context": "a", @@ -32507,7 +32507,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de36a", + "name": "CccobservationCccb14s2de36a", "typeMode": "none", "input": [ { @@ -32521,7 +32521,7 @@ ], "rule": [ { - "name": "id-emcareb14s2de36a", + "name": "id-Cccb14s2de36a", "source": [ { "context": "src" @@ -32605,7 +32605,7 @@ ] }, { - "name": "code-emcareb14s2de36a", + "name": "code-Cccb14s2de36a", "source": [ { "context": "src", @@ -32644,7 +32644,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -32679,7 +32679,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -32690,7 +32690,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE36a" + "valueString": "Ccc.B14S2.DE36a" } ] } @@ -32776,7 +32776,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE36a') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE36a') and answer.exists()" } ], "rule": [ @@ -32792,7 +32792,7 @@ ], "rule": [ { - "name": "final-emcareb14s2de36a", + "name": "final-Cccb14s2de36a", "source": [ { "context": "a", @@ -32825,7 +32825,7 @@ ] }, { - "name": "notfound-emcareb14s2de36a", + "name": "notfound-Cccb14s2de36a", "source": [ { "context": "a", @@ -32864,7 +32864,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de36b", + "name": "CccobservationCccb14s2de36b", "typeMode": "none", "input": [ { @@ -32878,7 +32878,7 @@ ], "rule": [ { - "name": "id-emcareb14s2de36b", + "name": "id-Cccb14s2de36b", "source": [ { "context": "src" @@ -32962,7 +32962,7 @@ ] }, { - "name": "code-emcareb14s2de36b", + "name": "code-Cccb14s2de36b", "source": [ { "context": "src", @@ -33001,7 +33001,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -33036,7 +33036,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -33047,7 +33047,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE36b" + "valueString": "Ccc.B14S2.DE36b" } ] } @@ -33133,7 +33133,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE36b') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE36b') and answer.exists()" } ], "rule": [ @@ -33149,7 +33149,7 @@ ], "rule": [ { - "name": "final-emcareb14s2de36b", + "name": "final-Cccb14s2de36b", "source": [ { "context": "a", @@ -33182,7 +33182,7 @@ ] }, { - "name": "notfound-emcareb14s2de36b", + "name": "notfound-Cccb14s2de36b", "source": [ { "context": "a", @@ -33221,7 +33221,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de36c", + "name": "CccobservationCccb14s2de36c", "typeMode": "none", "input": [ { @@ -33235,7 +33235,7 @@ ], "rule": [ { - "name": "id-emcareb14s2de36c", + "name": "id-Cccb14s2de36c", "source": [ { "context": "src" @@ -33319,7 +33319,7 @@ ] }, { - "name": "code-emcareb14s2de36c", + "name": "code-Cccb14s2de36c", "source": [ { "context": "src", @@ -33358,7 +33358,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -33393,7 +33393,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -33404,7 +33404,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE36c" + "valueString": "Ccc.B14S2.DE36c" } ] } @@ -33490,7 +33490,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE36c') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE36c') and answer.exists()" } ], "rule": [ @@ -33506,7 +33506,7 @@ ], "rule": [ { - "name": "final-emcareb14s2de36c", + "name": "final-Cccb14s2de36c", "source": [ { "context": "a", @@ -33539,7 +33539,7 @@ ] }, { - "name": "notfound-emcareb14s2de36c", + "name": "notfound-Cccb14s2de36c", "source": [ { "context": "a", @@ -33578,7 +33578,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de38", + "name": "CccobservationCccb14s2de38", "typeMode": "none", "input": [ { @@ -33592,7 +33592,7 @@ ], "rule": [ { - "name": "id-emcareb14s2de38", + "name": "id-Cccb14s2de38", "source": [ { "context": "src" @@ -33676,7 +33676,7 @@ ] }, { - "name": "code-emcareb14s2de38", + "name": "code-Cccb14s2de38", "source": [ { "context": "src", @@ -33715,7 +33715,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -33750,7 +33750,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -33761,7 +33761,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE38" + "valueString": "Ccc.B14S2.DE38" } ] } @@ -33847,7 +33847,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B14S2.DE38') and answer.exists()" + "condition": "(linkId = 'Ccc.B14S2.DE38') and answer.exists()" } ], "rule": [ @@ -33948,7 +33948,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de43emcareb14s2de44t", + "name": "CccobservationCccb14s2de43Cccb14s2de44t", "typeMode": "none", "input": [ { @@ -33962,7 +33962,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de43emcareb14s2de44t", + "name": "id-CccobservationCccb14s2de43Cccb14s2de44t", "source": [ { "context": "src" @@ -34046,7 +34046,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de43emcareb14s2de44t", + "name": "code-CccobservationCccb14s2de43Cccb14s2de44t", "source": [ { "context": "src", @@ -34085,7 +34085,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -34120,7 +34120,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -34131,7 +34131,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE43&EmCare.B14S2.DE44" + "valueString": "Ccc.B14S2.DE43&Ccc.B14S2.DE44" } ] } @@ -34244,7 +34244,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de43emcareb14s2de44f", + "name": "CccobservationCccb14s2de43Cccb14s2de44f", "typeMode": "none", "input": [ { @@ -34258,7 +34258,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de43emcareb14s2de44f", + "name": "id-CccobservationCccb14s2de43Cccb14s2de44f", "source": [ { "context": "src" @@ -34342,7 +34342,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de43emcareb14s2de44f", + "name": "code-CccobservationCccb14s2de43Cccb14s2de44f", "source": [ { "context": "src", @@ -34381,7 +34381,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -34416,7 +34416,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -34427,7 +34427,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE43&EmCare.B14S2.DE44" + "valueString": "Ccc.B14S2.DE43&Ccc.B14S2.DE44" } ] } @@ -34540,7 +34540,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de43emcareb14s2de45t", + "name": "CccobservationCccb14s2de43Cccb14s2de45t", "typeMode": "none", "input": [ { @@ -34554,7 +34554,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de43emcareb14s2de45t", + "name": "id-CccobservationCccb14s2de43Cccb14s2de45t", "source": [ { "context": "src" @@ -34638,7 +34638,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de43emcareb14s2de45t", + "name": "code-CccobservationCccb14s2de43Cccb14s2de45t", "source": [ { "context": "src", @@ -34677,7 +34677,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -34712,7 +34712,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -34723,7 +34723,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE43&EmCare.B14S2.DE45" + "valueString": "Ccc.B14S2.DE43&Ccc.B14S2.DE45" } ] } @@ -34836,7 +34836,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de43emcareb14s2de45f", + "name": "CccobservationCccb14s2de43Cccb14s2de45f", "typeMode": "none", "input": [ { @@ -34850,7 +34850,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de43emcareb14s2de45f", + "name": "id-CccobservationCccb14s2de43Cccb14s2de45f", "source": [ { "context": "src" @@ -34934,7 +34934,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de43emcareb14s2de45f", + "name": "code-CccobservationCccb14s2de43Cccb14s2de45f", "source": [ { "context": "src", @@ -34973,7 +34973,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -35008,7 +35008,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -35019,7 +35019,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE43&EmCare.B14S2.DE45" + "valueString": "Ccc.B14S2.DE43&Ccc.B14S2.DE45" } ] } @@ -35132,7 +35132,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de43emcareb14s2de46t", + "name": "CccobservationCccb14s2de43Cccb14s2de46t", "typeMode": "none", "input": [ { @@ -35146,7 +35146,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de43emcareb14s2de46t", + "name": "id-CccobservationCccb14s2de43Cccb14s2de46t", "source": [ { "context": "src" @@ -35230,7 +35230,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de43emcareb14s2de46t", + "name": "code-CccobservationCccb14s2de43Cccb14s2de46t", "source": [ { "context": "src", @@ -35269,7 +35269,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -35304,7 +35304,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -35315,7 +35315,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE43&EmCare.B14S2.DE46" + "valueString": "Ccc.B14S2.DE43&Ccc.B14S2.DE46" } ] } @@ -35428,7 +35428,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de43emcareb14s2de46f", + "name": "CccobservationCccb14s2de43Cccb14s2de46f", "typeMode": "none", "input": [ { @@ -35442,7 +35442,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de43emcareb14s2de46f", + "name": "id-CccobservationCccb14s2de43Cccb14s2de46f", "source": [ { "context": "src" @@ -35526,7 +35526,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de43emcareb14s2de46f", + "name": "code-CccobservationCccb14s2de43Cccb14s2de46f", "source": [ { "context": "src", @@ -35565,7 +35565,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -35600,7 +35600,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -35611,7 +35611,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE43&EmCare.B14S2.DE46" + "valueString": "Ccc.B14S2.DE43&Ccc.B14S2.DE46" } ] } @@ -35724,7 +35724,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de43emcareb14s2de47t", + "name": "CccobservationCccb14s2de43Cccb14s2de47t", "typeMode": "none", "input": [ { @@ -35738,7 +35738,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de43emcareb14s2de47t", + "name": "id-CccobservationCccb14s2de43Cccb14s2de47t", "source": [ { "context": "src" @@ -35822,7 +35822,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de43emcareb14s2de47t", + "name": "code-CccobservationCccb14s2de43Cccb14s2de47t", "source": [ { "context": "src", @@ -35861,7 +35861,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -35896,7 +35896,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -35907,7 +35907,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE43&EmCare.B14S2.DE47" + "valueString": "Ccc.B14S2.DE43&Ccc.B14S2.DE47" } ] } @@ -36020,7 +36020,7 @@ ] }, { - "name": "emcareobservationemcareb14s2de43emcareb14s2de47f", + "name": "CccobservationCccb14s2de43Cccb14s2de47f", "typeMode": "none", "input": [ { @@ -36034,7 +36034,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb14s2de43emcareb14s2de47f", + "name": "id-CccobservationCccb14s2de43Cccb14s2de47f", "source": [ { "context": "src" @@ -36118,7 +36118,7 @@ ] }, { - "name": "code-emcareobservationemcareb14s2de43emcareb14s2de47f", + "name": "code-CccobservationCccb14s2de43Cccb14s2de47f", "source": [ { "context": "src", @@ -36157,7 +36157,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -36192,7 +36192,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -36203,7 +36203,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B14S2.DE43&EmCare.B14S2.DE47" + "valueString": "Ccc.B14S2.DE43&Ccc.B14S2.DE47" } ] } @@ -36316,7 +36316,7 @@ ] }, { - "name": "emcareobservationemcareb15s2de01", + "name": "CccobservationCccb15s2de01", "typeMode": "none", "input": [ { @@ -36330,7 +36330,7 @@ ], "rule": [ { - "name": "id-emcareb15s2de01", + "name": "id-Cccb15s2de01", "source": [ { "context": "src" @@ -36414,7 +36414,7 @@ ] }, { - "name": "code-emcareb15s2de01", + "name": "code-Cccb15s2de01", "source": [ { "context": "src", @@ -36453,7 +36453,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -36488,7 +36488,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -36499,7 +36499,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B15S2.DE01" + "valueString": "Ccc.B15S2.DE01" } ] } @@ -36585,7 +36585,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B15S2.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B15S2.DE01') and answer.exists()" } ], "rule": [ @@ -36686,7 +36686,7 @@ ] }, { - "name": "emcareobservationemcareb15s2de09", + "name": "CccobservationCccb15s2de09", "typeMode": "none", "input": [ { @@ -36700,7 +36700,7 @@ ], "rule": [ { - "name": "id-emcareb15s2de09", + "name": "id-Cccb15s2de09", "source": [ { "context": "src" @@ -36784,7 +36784,7 @@ ] }, { - "name": "code-emcareb15s2de09", + "name": "code-Cccb15s2de09", "source": [ { "context": "src", @@ -36823,7 +36823,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -36858,7 +36858,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -36869,7 +36869,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B15S2.DE09" + "valueString": "Ccc.B15S2.DE09" } ] } @@ -36955,7 +36955,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B15S2.DE09') and answer.exists()" + "condition": "(linkId = 'Ccc.B15S2.DE09') and answer.exists()" } ], "rule": [ @@ -37056,7 +37056,7 @@ ] }, { - "name": "emcareobservationemcareb22de01", + "name": "CccobservationCccb22de01", "typeMode": "none", "input": [ { @@ -37070,7 +37070,7 @@ ], "rule": [ { - "name": "id-emcareb22de01", + "name": "id-Cccb22de01", "source": [ { "context": "src" @@ -37154,7 +37154,7 @@ ] }, { - "name": "code-emcareb22de01", + "name": "code-Cccb22de01", "source": [ { "context": "src", @@ -37193,7 +37193,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -37228,7 +37228,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -37239,7 +37239,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE01" + "valueString": "Ccc.B22.DE01" } ] } @@ -37325,7 +37325,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.RespiratoryRate'" + "condition": "linkId = 'Ccc.B22.RespiratoryRate'" } ], "rule": [ @@ -37337,7 +37337,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE01') and answer.exists()" } ], "rule": [ @@ -37395,7 +37395,7 @@ ] }, { - "name": "emcareobservationemcareb22de02", + "name": "CccobservationCccb22de02", "typeMode": "none", "input": [ { @@ -37409,7 +37409,7 @@ ], "rule": [ { - "name": "id-emcareb22de02", + "name": "id-Cccb22de02", "source": [ { "context": "src" @@ -37493,7 +37493,7 @@ ] }, { - "name": "code-emcareb22de02", + "name": "code-Cccb22de02", "source": [ { "context": "src", @@ -37532,7 +37532,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -37567,7 +37567,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -37578,7 +37578,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE02" + "valueString": "Ccc.B22.DE02" } ] } @@ -37664,7 +37664,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.RespiratoryRate'" + "condition": "linkId = 'Ccc.B22.RespiratoryRate'" } ], "rule": [ @@ -37676,7 +37676,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE02') and answer.exists()" } ], "rule": [ @@ -37745,7 +37745,7 @@ ] }, { - "name": "emcareobservationemcareb22de04", + "name": "CccobservationCccb22de04", "typeMode": "none", "input": [ { @@ -37759,7 +37759,7 @@ ], "rule": [ { - "name": "id-emcareb22de04", + "name": "id-Cccb22de04", "source": [ { "context": "src" @@ -37843,7 +37843,7 @@ ] }, { - "name": "code-emcareb22de04", + "name": "code-Cccb22de04", "source": [ { "context": "src", @@ -37882,7 +37882,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -37917,7 +37917,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -37928,7 +37928,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE04" + "valueString": "Ccc.B22.DE04" } ] } @@ -38014,7 +38014,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.RespiratoryRate'" + "condition": "linkId = 'Ccc.B22.RespiratoryRate'" } ], "rule": [ @@ -38038,7 +38038,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE04') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE04') and answer.exists()" } ], "rule": [ @@ -38098,7 +38098,7 @@ ] }, { - "name": "emcareobservationemcareb22de05", + "name": "CccobservationCccb22de05", "typeMode": "none", "input": [ { @@ -38112,7 +38112,7 @@ ], "rule": [ { - "name": "id-emcareb22de05", + "name": "id-Cccb22de05", "source": [ { "context": "src" @@ -38196,7 +38196,7 @@ ] }, { - "name": "code-emcareb22de05", + "name": "code-Cccb22de05", "source": [ { "context": "src", @@ -38235,7 +38235,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -38270,7 +38270,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -38281,7 +38281,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE05" + "valueString": "Ccc.B22.DE05" } ] } @@ -38367,7 +38367,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.RespiratoryRate'" + "condition": "linkId = 'Ccc.B22.RespiratoryRate'" } ], "rule": [ @@ -38391,7 +38391,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE05') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE05') and answer.exists()" } ], "rule": [ @@ -38462,7 +38462,7 @@ ] }, { - "name": "emcareobservationemcareb22de07", + "name": "CccobservationCccb22de07", "typeMode": "none", "input": [ { @@ -38476,7 +38476,7 @@ ], "rule": [ { - "name": "id-emcareb22de07", + "name": "id-Cccb22de07", "source": [ { "context": "src" @@ -38560,7 +38560,7 @@ ] }, { - "name": "code-emcareb22de07", + "name": "code-Cccb22de07", "source": [ { "context": "src", @@ -38599,7 +38599,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -38634,7 +38634,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -38645,7 +38645,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE07" + "valueString": "Ccc.B22.DE07" } ] } @@ -38731,7 +38731,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.RespiratoryRate'" + "condition": "linkId = 'Ccc.B22.RespiratoryRate'" } ], "rule": [ @@ -38743,7 +38743,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE07') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE07') and answer.exists()" } ], "rule": [ @@ -38759,7 +38759,7 @@ ], "rule": [ { - "name": "final-emcareb22de07", + "name": "final-Cccb22de07", "source": [ { "context": "a", @@ -38792,7 +38792,7 @@ ] }, { - "name": "notfound-emcareb22de07", + "name": "notfound-Cccb22de07", "source": [ { "context": "a", diff --git a/input/resources/structuremap/structuremap-emcare.b18-21.signs.2m.m.json b/input/resources/structuremap/structuremap-Ccc.b18-21.signs.2m.m.json similarity index 89% rename from input/resources/structuremap/structuremap-emcare.b18-21.signs.2m.m.json rename to input/resources/structuremap/structuremap-Ccc.b18-21.signs.2m.m.json index 7a12d933..258adf61 100644 --- a/input/resources/structuremap/structuremap-emcare.b18-21.signs.2m.m.json +++ b/input/resources/structuremap/structuremap-Ccc.b18-21.signs.2m.m.json @@ -1,12 +1,12 @@ { "resourceType": "StructureMap", - "id": "emcare.b18-21.signs.2m.m", + "id": "Ccc.b18-21.signs.2m.m", "text": { "status": "generated", - "div": "
map "https://smart.who.int/ccc/StructureMap/emcare.b18-21.signs.2m.m" = "emcare.b18-21.signs.2m.m"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/observation" alias 'Observation' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/emcareobservation" alias 'EmCare Observation' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src.item first as item where (linkId = 'EmCare.B18S2.DE07') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb18s2de07(src, tgt) "ca6d2440";\r\n      } "4d3562ea";\r\n    } "1f5e2e49";\r\n  } "eeb88b76";\r\n  src.item first as item where (linkId = 'EmCare.B18S2.DE08') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb18s2de08(src, tgt) "c262db3f";\r\n      } "f43b4802";\r\n    } "b192f8b8";\r\n  } "45ffea94";\r\n  src.item first as item where (linkId = 'EmCare.B18S2.DE12') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb18s2de12(src, tgt) "6f6b2618";\r\n      } "09f8d74d";\r\n    } "5e6747fd";\r\n  } "8665f72f";\r\n  src.item first as item where (linkId = 'EmCare.B18S2.DE13') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb18s2de13(src, tgt) "80759c57";\r\n      } "f658f964";\r\n    } "30291a87";\r\n  } "5c0dbbd7";\r\n  src.item first as item where (linkId = 'EmCare.B19S2.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb19s2de01(src, tgt) "732434fb";\r\n      } "a79173fe";\r\n    } "355d3980";\r\n  } "55fa8d66";\r\n  src.item first as item where (linkId = 'EmCare.B19S2.DE02') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb19s2de02(src, tgt) "19b33283";\r\n      } "723e7b39";\r\n    } "ab195945";\r\n  } "a451ea64";\r\n  src.item first as item where (linkId = 'EmCare.B19S2.DE04') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb19s2de04(src, tgt) "5f959962";\r\n      } "ec59f51c";\r\n    } "08a1cfa8";\r\n  } "3bb01182";\r\n  src.item first as item where (linkId = 'EmCare.B11S2.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb11s2de01(src, tgt) "571f12fb";\r\n      } "df9369ca";\r\n    } "b1634b07";\r\n  } "bf55dba7";\r\n  src.item first as item where (linkId = 'EmCare.B11S2.DE02') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb11s2de02(src, tgt) "35df08c4";\r\n      } "52eb002b";\r\n    } "c096f5b2";\r\n  } "f35e6a90";\r\n  src.item first as item where (linkId = 'EmCare.B11S2.DE06') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb11s2de06(src, tgt) "048f10f9";\r\n      } "011caec9";\r\n    } "431cd0b3";\r\n  } "5a3f8e99";\r\n  src.item first as item where (linkId = 'EmCare.B21S2.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb21s2de01(src, tgt) "94478be1";\r\n      } "2cf57502";\r\n    } "a5752431";\r\n  } "431eb374";\r\n  src.item first as item where (linkId = 'EmCare.B21S2.DE05') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb21s2de05(src, tgt) "8cbd2b43";\r\n      } "04b19cec";\r\n    } "1e478ba6";\r\n  } "a6ecc4b7";\r\n  src.item first as item where (linkId = 'EmCare.B21S2.DE06') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb21s2de06(src, tgt) "2d3c82db";\r\n      } "d38f9e09";\r\n    } "18c5885a";\r\n  } "3a24e445";\r\n  src.item first as item where (linkId = 'EmCare.B21S2.DE08') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb21s2de08(src, tgt) "f361a68d";\r\n      } "5189a3f8";\r\n    } "a0b4c2bc";\r\n  } "79ee0a37";\r\n  src where src.item.where(linkId = 'EmCare.B21S2.DE09').answer.where(value.code = 'EmCare.B21S2.DE11') then {\r\n    src.item first as item where (linkId = 'EmCare.B21S2.DE09') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb21s2de09emcareb21s2de11t(src, tgt) "a9a122af";\r\n        } "d7f85848";\r\n      } "6de484e0";\r\n    } "37c1ad1e";\r\n  } "7d349d00";\r\n  src where src.item.where(linkId = 'EmCare.B21S2.DE09').exists() and src.item.where(linkId = 'EmCare.B21S2.DE09').answer.where(value.code = 'EmCare.B21S2.DE11').empty() then {\r\n    src.item first as item where (linkId = 'EmCare.B21S2.DE09') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb21s2de09emcareb21s2de11f(src, tgt) "d1d28f86";\r\n        } "d67305e0";\r\n      } "653bf0a8";\r\n    } "4899742e";\r\n  } "e01f9812";\r\n  src where src.item.where(linkId = 'EmCare.B21S2.DE09').answer.where(value.code = 'EmCare.B21S2.DE10') then {\r\n    src.item first as item where (linkId = 'EmCare.B21S2.DE09') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb21s2de09emcareb21s2de10t(src, tgt) "8e89324d";\r\n        } "93674a9a";\r\n      } "aa6f3f2f";\r\n    } "94e88b7c";\r\n  } "9864ed15";\r\n  src where src.item.where(linkId = 'EmCare.B21S2.DE09').exists() and src.item.where(linkId = 'EmCare.B21S2.DE09').answer.where(value.code = 'EmCare.B21S2.DE10').empty() then {\r\n    src.item first as item where (linkId = 'EmCare.B21S2.DE09') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb21s2de09emcareb21s2de10f(src, tgt) "b433f49e";\r\n        } "e8c61eb0";\r\n      } "fa7e3d84";\r\n    } "68af5a34";\r\n  } "e81b6afa";\r\n  src.item first as item where (linkId = 'EmCare.B21S2.DE12') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb21s2de12(src, tgt) "8f04b3ac";\r\n      } "b1374c84";\r\n    } "8cb03aa0";\r\n  } "e2b672db";\r\n  src.item first as item where (linkId = 'EmCare.B21S2.DE13') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb21s2de13(src, tgt) "0aaf1ecd";\r\n      } "695ddd29";\r\n    } "64398d2e";\r\n  } "e854f1bd";\r\n  src.item first as item where (linkId = 'EmCare.B21S2.DE15') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb21s2de15(src, tgt) "7858a431";\r\n      } "43de516f";\r\n    } "e494830e";\r\n  } "faf9102b";\r\n  src.item first as item where (linkId = 'EmCare.B21S2.DE16') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb21s2de16(src, tgt) "b2e4c410";\r\n      } "b8bfacf5";\r\n    } "9b56be06";\r\n  } "be6683f9";\r\n  src.item first as item where (linkId = 'EmCare.B21S2.DE18') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb21s2de18(src, tgt) "87a87f89";\r\n      } "ecd09b62";\r\n    } "af8f5c24";\r\n  } "c0db11dc";\r\n  src.item first as item where (linkId = 'EmCare.B21S2.DE21') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb21s2de21(src, tgt) "e288e392";\r\n      } "ae968910";\r\n    } "46cbfc52";\r\n  } "8f89318d";\r\n  src.item first as item where (linkId = 'EmCare.B21S2.DE24') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb21s2de24(src, tgt) "c746464e";\r\n      } "6b52ad04";\r\n    } "c7688cc7";\r\n  } "668c3c42";\r\n  src.item first as item where (linkId = 'EmCare.B21S2.DE27') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb21s2de27(src, tgt) "46c80d1a";\r\n      } "1c5eb3d7";\r\n    } "c270b0d1";\r\n  } "24323941";\r\n  src.item first as item where (linkId = 'EmCare.B21S2.DE30') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb21s2de30(src, tgt) "f7a188b4";\r\n      } "8891d1a4";\r\n    } "ec6c3ef3";\r\n  } "5e474dbb";\r\n  src.item first as item where (linkId = 'EmCare.B21S2.DE31') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb21s2de31(src, tgt) "7b00306c";\r\n      } "ded65bf0";\r\n    } "6c051e6d";\r\n  } "0dac018e";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE01') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de01(src, tgt) "94788d70";\r\n        } "cafa1f90";\r\n      } "44017cb3";\r\n    } "1c5108b8";\r\n  } "88bb5c43";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE02') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de02(src, tgt) "c3e885af";\r\n        } "60b301de";\r\n      } "815e425c";\r\n    } "85d3c3a3";\r\n  } "c7e0dbc2";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then {\r\n    itm1.item first as itm2 where linkId = 'second' then {\r\n      itm2.item first as item where (linkId = 'EmCare.B22.DE04') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src -> tgt then emcareobservationemcareb22de04(src, tgt) "42ed4c3a";\r\n          } "b802d4a2";\r\n        } "c7431f4f";\r\n      } "ad5094ed";\r\n    } "3b2e9629";\r\n  } "318dfe75";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then {\r\n    itm1.item first as itm2 where linkId = 'second' then {\r\n      itm2.item first as item where (linkId = 'EmCare.B22.DE05') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src -> tgt then emcareobservationemcareb22de05(src, tgt) "3be4cd34";\r\n          } "b7585bc2";\r\n        } "61b1a5c6";\r\n      } "d9d928a7";\r\n    } "9853d168";\r\n  } "c21c2c7c";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE07') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de07(src, tgt) "fa30cee1";\r\n        } "aad75965";\r\n      } "8267defb";\r\n    } "a2eebe03";\r\n  } "7ef76f25";\r\n}\r\n\r\ngroup emcareobservationemcareb18s2de07(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb18s2de07";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B18S2.DE07' "code-emcareb18s2de07";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B18S2.DE07') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb18s2de07";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb18s2de07";\r\n    } "bdab9370";\r\n  } "03e3bd99";\r\n}\r\n\r\ngroup emcareobservationemcareb18s2de08(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb18s2de08";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B18S2.DE08' "code-emcareb18s2de08";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B18S2.DE08') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "0b46e243";\r\n}\r\n\r\ngroup emcareobservationemcareb18s2de12(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb18s2de12";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B18S2.DE12' "code-emcareb18s2de12";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B18S2.DE12') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb18s2de12";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb18s2de12";\r\n    } "bdab9370";\r\n  } "c2b6211e";\r\n}\r\n\r\ngroup emcareobservationemcareb18s2de13(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb18s2de13";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B18S2.DE13' "code-emcareb18s2de13";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B18S2.DE13') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb18s2de13";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb18s2de13";\r\n    } "bdab9370";\r\n  } "5c58b9dd";\r\n}\r\n\r\ngroup emcareobservationemcareb19s2de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb19s2de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B19S2.DE01' "code-emcareb19s2de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B19S2.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb19s2de01";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb19s2de01";\r\n    } "bdab9370";\r\n  } "9cc43da0";\r\n}\r\n\r\ngroup emcareobservationemcareb19s2de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb19s2de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B19S2.DE02' "code-emcareb19s2de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B19S2.DE02') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb19s2de02";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb19s2de02";\r\n    } "bdab9370";\r\n  } "c6f7f824";\r\n}\r\n\r\ngroup emcareobservationemcareb19s2de04(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb19s2de04";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B19S2.DE04' "code-emcareb19s2de04";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B19S2.DE04') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "42fb84b8";\r\n}\r\n\r\ngroup emcareobservationemcareb11s2de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb11s2de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B11S2.DE01' "code-emcareb11s2de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B11S2.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb11s2de01";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb11s2de01";\r\n    } "bdab9370";\r\n  } "7fc3f941";\r\n}\r\n\r\ngroup emcareobservationemcareb11s2de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb11s2de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B11S2.DE02' "code-emcareb11s2de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B11S2.DE02') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "73bc942d";\r\n}\r\n\r\ngroup emcareobservationemcareb11s2de06(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb11s2de06";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B11S2.DE06' "code-emcareb11s2de06";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B11S2.DE06') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb11s2de06";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb11s2de06";\r\n    } "bdab9370";\r\n  } "47e72c0c";\r\n}\r\n\r\ngroup emcareobservationemcareb21s2de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb21s2de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B21S2.DE01' "code-emcareb21s2de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B21S2.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = create('Coding') as c,  c.code = val,  c.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  tgt.status = 'final' "759a9a54";\r\n      } "1b820ab0";\r\n    } "d39f9088";\r\n  } "75d5dd53";\r\n}\r\n\r\ngroup emcareobservationemcareb21s2de05(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb21s2de05";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B21S2.DE05' "code-emcareb21s2de05";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B21S2.DE05') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n    } "d40466ff";\r\n  } "0d215e07";\r\n}\r\n\r\ngroup emcareobservationemcareb21s2de06(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb21s2de06";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B21S2.DE06' "code-emcareb21s2de06";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B21S2.DE06') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n    } "d40466ff";\r\n  } "3a4a4375";\r\n}\r\n\r\ngroup emcareobservationemcareb21s2de08(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb21s2de08";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B21S2.DE08' "code-emcareb21s2de08";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B21S2.DE08') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb21s2de08";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb21s2de08";\r\n    } "bdab9370";\r\n  } "ac3004d0";\r\n}\r\n\r\ngroup emcareobservationemcareb21s2de09emcareb21s2de11t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb21s2de09emcareb21s2de11t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B21S2.DE09&EmCare.B21S2.DE11' "code-emcareobservationemcareb21s2de09emcareb21s2de11t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup emcareobservationemcareb21s2de09emcareb21s2de11f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb21s2de09emcareb21s2de11f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B21S2.DE09&EmCare.B21S2.DE11' "code-emcareobservationemcareb21s2de09emcareb21s2de11f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup emcareobservationemcareb21s2de09emcareb21s2de10t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb21s2de09emcareb21s2de10t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B21S2.DE09&EmCare.B21S2.DE10' "code-emcareobservationemcareb21s2de09emcareb21s2de10t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup emcareobservationemcareb21s2de09emcareb21s2de10f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb21s2de09emcareb21s2de10f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B21S2.DE09&EmCare.B21S2.DE10' "code-emcareobservationemcareb21s2de09emcareb21s2de10f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup emcareobservationemcareb21s2de12(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb21s2de12";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B21S2.DE12' "code-emcareb21s2de12";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B21S2.DE12') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n    } "d40466ff";\r\n  } "fe73483f";\r\n}\r\n\r\ngroup emcareobservationemcareb21s2de13(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb21s2de13";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B21S2.DE13' "code-emcareb21s2de13";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B21S2.DE13') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb21s2de13";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb21s2de13";\r\n    } "bdab9370";\r\n  } "a1265fc3";\r\n}\r\n\r\ngroup emcareobservationemcareb21s2de15(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb21s2de15";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B21S2.DE15' "code-emcareb21s2de15";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B21S2.DE15') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n    } "d40466ff";\r\n  } "1b63fd85";\r\n}\r\n\r\ngroup emcareobservationemcareb21s2de16(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb21s2de16";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B21S2.DE16' "code-emcareb21s2de16";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B21S2.DE16') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb21s2de16";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb21s2de16";\r\n    } "bdab9370";\r\n  } "e00da6e9";\r\n}\r\n\r\ngroup emcareobservationemcareb21s2de18(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb21s2de18";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B21S2.DE18' "code-emcareb21s2de18";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B21S2.DE18') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "af7f6c69";\r\n}\r\n\r\ngroup emcareobservationemcareb21s2de21(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb21s2de21";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B21S2.DE21' "code-emcareb21s2de21";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B21S2.DE21') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "b4ca78b5";\r\n}\r\n\r\ngroup emcareobservationemcareb21s2de24(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb21s2de24";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B21S2.DE24' "code-emcareb21s2de24";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B21S2.DE24') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "b08f8fe7";\r\n}\r\n\r\ngroup emcareobservationemcareb21s2de27(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb21s2de27";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B21S2.DE27' "code-emcareb21s2de27";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B21S2.DE27') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "49d85a6e";\r\n}\r\n\r\ngroup emcareobservationemcareb21s2de30(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb21s2de30";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B21S2.DE30' "code-emcareb21s2de30";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B21S2.DE30') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb21s2de30";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb21s2de30";\r\n    } "bdab9370";\r\n  } "fe4c0b1a";\r\n}\r\n\r\ngroup emcareobservationemcareb21s2de31(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb21s2de31";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B21S2.DE31' "code-emcareb21s2de31";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B21S2.DE31') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n      } "26c2c8c7";\r\n    } "721205d5";\r\n  } "789ed550";\r\n}\r\n\r\ngroup emcareobservationemcareb22de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE01' "code-emcareb22de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE01') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n      } "d40466ff";\r\n    } "e1cd1fa1";\r\n  } "ad8e4fa6";\r\n}\r\n\r\ngroup emcareobservationemcareb22de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE02' "code-emcareb22de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE02') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val then {\r\n          val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n        } "26c2c8c7";\r\n      } "721205d5";\r\n    } "38b3c27b";\r\n  } "5b046e45";\r\n}\r\n\r\ngroup emcareobservationemcareb22de04(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de04";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE04' "code-emcareb22de04";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then {\r\n    itm1.item first as itm2 where linkId = 'second' then {\r\n      itm2.item first as item where (linkId = 'EmCare.B22.DE04') and answer.exists() then {\r\n        item.answer first as a then {\r\n          a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n        } "d40466ff";\r\n      } "f66ca63f";\r\n    } "1b837896";\r\n  } "6b3a0b06";\r\n}\r\n\r\ngroup emcareobservationemcareb22de05(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de05";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE05' "code-emcareb22de05";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then {\r\n    itm1.item first as itm2 where linkId = 'second' then {\r\n      itm2.item first as item where (linkId = 'EmCare.B22.DE05') and answer.exists() then {\r\n        item.answer first as a then {\r\n          a.value as val then {\r\n            val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n          } "26c2c8c7";\r\n        } "721205d5";\r\n      } "48a81a4f";\r\n    } "9322cbb7";\r\n  } "ed73ec89";\r\n}\r\n\r\ngroup emcareobservationemcareb22de07(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de07";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE07' "code-emcareb22de07";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE07') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de07";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de07";\r\n      } "bdab9370";\r\n    } "b5e73929";\r\n  } "306838ed";\r\n}\r\n\r\n
" + "div": "
map "https://smart.who.int/ccc/StructureMap/Ccc.b18-21.signs.2m.m" = "Ccc.b18-21.signs.2m.m"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/observation" alias 'Observation' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/Cccobservation" alias 'Ccc Observation' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src.item first as item where (linkId = 'Ccc.B18S2.DE07') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb18s2de07(src, tgt) "ca6d2440";\r\n      } "4d3562ea";\r\n    } "1f5e2e49";\r\n  } "eeb88b76";\r\n  src.item first as item where (linkId = 'Ccc.B18S2.DE08') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb18s2de08(src, tgt) "c262db3f";\r\n      } "f43b4802";\r\n    } "b192f8b8";\r\n  } "45ffea94";\r\n  src.item first as item where (linkId = 'Ccc.B18S2.DE12') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb18s2de12(src, tgt) "6f6b2618";\r\n      } "09f8d74d";\r\n    } "5e6747fd";\r\n  } "8665f72f";\r\n  src.item first as item where (linkId = 'Ccc.B18S2.DE13') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb18s2de13(src, tgt) "80759c57";\r\n      } "f658f964";\r\n    } "30291a87";\r\n  } "5c0dbbd7";\r\n  src.item first as item where (linkId = 'Ccc.B19S2.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb19s2de01(src, tgt) "732434fb";\r\n      } "a79173fe";\r\n    } "355d3980";\r\n  } "55fa8d66";\r\n  src.item first as item where (linkId = 'Ccc.B19S2.DE02') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb19s2de02(src, tgt) "19b33283";\r\n      } "723e7b39";\r\n    } "ab195945";\r\n  } "a451ea64";\r\n  src.item first as item where (linkId = 'Ccc.B19S2.DE04') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb19s2de04(src, tgt) "5f959962";\r\n      } "ec59f51c";\r\n    } "08a1cfa8";\r\n  } "3bb01182";\r\n  src.item first as item where (linkId = 'Ccc.B11S2.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb11s2de01(src, tgt) "571f12fb";\r\n      } "df9369ca";\r\n    } "b1634b07";\r\n  } "bf55dba7";\r\n  src.item first as item where (linkId = 'Ccc.B11S2.DE02') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb11s2de02(src, tgt) "35df08c4";\r\n      } "52eb002b";\r\n    } "c096f5b2";\r\n  } "f35e6a90";\r\n  src.item first as item where (linkId = 'Ccc.B11S2.DE06') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb11s2de06(src, tgt) "048f10f9";\r\n      } "011caec9";\r\n    } "431cd0b3";\r\n  } "5a3f8e99";\r\n  src.item first as item where (linkId = 'Ccc.B21S2.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb21s2de01(src, tgt) "94478be1";\r\n      } "2cf57502";\r\n    } "a5752431";\r\n  } "431eb374";\r\n  src.item first as item where (linkId = 'Ccc.B21S2.DE05') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb21s2de05(src, tgt) "8cbd2b43";\r\n      } "04b19cec";\r\n    } "1e478ba6";\r\n  } "a6ecc4b7";\r\n  src.item first as item where (linkId = 'Ccc.B21S2.DE06') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb21s2de06(src, tgt) "2d3c82db";\r\n      } "d38f9e09";\r\n    } "18c5885a";\r\n  } "3a24e445";\r\n  src.item first as item where (linkId = 'Ccc.B21S2.DE08') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb21s2de08(src, tgt) "f361a68d";\r\n      } "5189a3f8";\r\n    } "a0b4c2bc";\r\n  } "79ee0a37";\r\n  src where src.item.where(linkId = 'Ccc.B21S2.DE09').answer.where(value.code = 'Ccc.B21S2.DE11') then {\r\n    src.item first as item where (linkId = 'Ccc.B21S2.DE09') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb21s2de09Cccb21s2de11t(src, tgt) "a9a122af";\r\n        } "d7f85848";\r\n      } "6de484e0";\r\n    } "37c1ad1e";\r\n  } "7d349d00";\r\n  src where src.item.where(linkId = 'Ccc.B21S2.DE09').exists() and src.item.where(linkId = 'Ccc.B21S2.DE09').answer.where(value.code = 'Ccc.B21S2.DE11').empty() then {\r\n    src.item first as item where (linkId = 'Ccc.B21S2.DE09') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb21s2de09Cccb21s2de11f(src, tgt) "d1d28f86";\r\n        } "d67305e0";\r\n      } "653bf0a8";\r\n    } "4899742e";\r\n  } "e01f9812";\r\n  src where src.item.where(linkId = 'Ccc.B21S2.DE09').answer.where(value.code = 'Ccc.B21S2.DE10') then {\r\n    src.item first as item where (linkId = 'Ccc.B21S2.DE09') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb21s2de09Cccb21s2de10t(src, tgt) "8e89324d";\r\n        } "93674a9a";\r\n      } "aa6f3f2f";\r\n    } "94e88b7c";\r\n  } "9864ed15";\r\n  src where src.item.where(linkId = 'Ccc.B21S2.DE09').exists() and src.item.where(linkId = 'Ccc.B21S2.DE09').answer.where(value.code = 'Ccc.B21S2.DE10').empty() then {\r\n    src.item first as item where (linkId = 'Ccc.B21S2.DE09') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb21s2de09Cccb21s2de10f(src, tgt) "b433f49e";\r\n        } "e8c61eb0";\r\n      } "fa7e3d84";\r\n    } "68af5a34";\r\n  } "e81b6afa";\r\n  src.item first as item where (linkId = 'Ccc.B21S2.DE12') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb21s2de12(src, tgt) "8f04b3ac";\r\n      } "b1374c84";\r\n    } "8cb03aa0";\r\n  } "e2b672db";\r\n  src.item first as item where (linkId = 'Ccc.B21S2.DE13') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb21s2de13(src, tgt) "0aaf1ecd";\r\n      } "695ddd29";\r\n    } "64398d2e";\r\n  } "e854f1bd";\r\n  src.item first as item where (linkId = 'Ccc.B21S2.DE15') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb21s2de15(src, tgt) "7858a431";\r\n      } "43de516f";\r\n    } "e494830e";\r\n  } "faf9102b";\r\n  src.item first as item where (linkId = 'Ccc.B21S2.DE16') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb21s2de16(src, tgt) "b2e4c410";\r\n      } "b8bfacf5";\r\n    } "9b56be06";\r\n  } "be6683f9";\r\n  src.item first as item where (linkId = 'Ccc.B21S2.DE18') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb21s2de18(src, tgt) "87a87f89";\r\n      } "ecd09b62";\r\n    } "af8f5c24";\r\n  } "c0db11dc";\r\n  src.item first as item where (linkId = 'Ccc.B21S2.DE21') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb21s2de21(src, tgt) "e288e392";\r\n      } "ae968910";\r\n    } "46cbfc52";\r\n  } "8f89318d";\r\n  src.item first as item where (linkId = 'Ccc.B21S2.DE24') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb21s2de24(src, tgt) "c746464e";\r\n      } "6b52ad04";\r\n    } "c7688cc7";\r\n  } "668c3c42";\r\n  src.item first as item where (linkId = 'Ccc.B21S2.DE27') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb21s2de27(src, tgt) "46c80d1a";\r\n      } "1c5eb3d7";\r\n    } "c270b0d1";\r\n  } "24323941";\r\n  src.item first as item where (linkId = 'Ccc.B21S2.DE30') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb21s2de30(src, tgt) "f7a188b4";\r\n      } "8891d1a4";\r\n    } "ec6c3ef3";\r\n  } "5e474dbb";\r\n  src.item first as item where (linkId = 'Ccc.B21S2.DE31') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb21s2de31(src, tgt) "7b00306c";\r\n      } "ded65bf0";\r\n    } "6c051e6d";\r\n  } "0dac018e";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE01') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de01(src, tgt) "94788d70";\r\n        } "cafa1f90";\r\n      } "44017cb3";\r\n    } "1c5108b8";\r\n  } "88bb5c43";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE02') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de02(src, tgt) "c3e885af";\r\n        } "60b301de";\r\n      } "815e425c";\r\n    } "85d3c3a3";\r\n  } "c7e0dbc2";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as itm2 where linkId = 'second' then {\r\n      itm2.item first as item where (linkId = 'Ccc.B22.DE04') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src -> tgt then CccobservationCccb22de04(src, tgt) "42ed4c3a";\r\n          } "b802d4a2";\r\n        } "c7431f4f";\r\n      } "ad5094ed";\r\n    } "3b2e9629";\r\n  } "318dfe75";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as itm2 where linkId = 'second' then {\r\n      itm2.item first as item where (linkId = 'Ccc.B22.DE05') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src -> tgt then CccobservationCccb22de05(src, tgt) "3be4cd34";\r\n          } "b7585bc2";\r\n        } "61b1a5c6";\r\n      } "d9d928a7";\r\n    } "9853d168";\r\n  } "c21c2c7c";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE07') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de07(src, tgt) "fa30cee1";\r\n        } "aad75965";\r\n      } "8267defb";\r\n    } "a2eebe03";\r\n  } "7ef76f25";\r\n}\r\n\r\ngroup CccobservationCccb18s2de07(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb18s2de07";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B18S2.DE07' "code-Cccb18s2de07";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B18S2.DE07') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb18s2de07";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb18s2de07";\r\n    } "bdab9370";\r\n  } "03e3bd99";\r\n}\r\n\r\ngroup CccobservationCccb18s2de08(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb18s2de08";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B18S2.DE08' "code-Cccb18s2de08";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B18S2.DE08') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "0b46e243";\r\n}\r\n\r\ngroup CccobservationCccb18s2de12(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb18s2de12";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B18S2.DE12' "code-Cccb18s2de12";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B18S2.DE12') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb18s2de12";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb18s2de12";\r\n    } "bdab9370";\r\n  } "c2b6211e";\r\n}\r\n\r\ngroup CccobservationCccb18s2de13(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb18s2de13";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B18S2.DE13' "code-Cccb18s2de13";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B18S2.DE13') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb18s2de13";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb18s2de13";\r\n    } "bdab9370";\r\n  } "5c58b9dd";\r\n}\r\n\r\ngroup CccobservationCccb19s2de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb19s2de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B19S2.DE01' "code-Cccb19s2de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B19S2.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb19s2de01";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb19s2de01";\r\n    } "bdab9370";\r\n  } "9cc43da0";\r\n}\r\n\r\ngroup CccobservationCccb19s2de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb19s2de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B19S2.DE02' "code-Cccb19s2de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B19S2.DE02') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb19s2de02";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb19s2de02";\r\n    } "bdab9370";\r\n  } "c6f7f824";\r\n}\r\n\r\ngroup CccobservationCccb19s2de04(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb19s2de04";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B19S2.DE04' "code-Cccb19s2de04";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B19S2.DE04') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "42fb84b8";\r\n}\r\n\r\ngroup CccobservationCccb11s2de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb11s2de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B11S2.DE01' "code-Cccb11s2de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B11S2.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb11s2de01";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb11s2de01";\r\n    } "bdab9370";\r\n  } "7fc3f941";\r\n}\r\n\r\ngroup CccobservationCccb11s2de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb11s2de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B11S2.DE02' "code-Cccb11s2de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B11S2.DE02') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "73bc942d";\r\n}\r\n\r\ngroup CccobservationCccb11s2de06(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb11s2de06";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B11S2.DE06' "code-Cccb11s2de06";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B11S2.DE06') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb11s2de06";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb11s2de06";\r\n    } "bdab9370";\r\n  } "47e72c0c";\r\n}\r\n\r\ngroup CccobservationCccb21s2de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb21s2de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B21S2.DE01' "code-Cccb21s2de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B21S2.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = create('Coding') as c,  c.code = val,  c.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  tgt.status = 'final' "759a9a54";\r\n      } "1b820ab0";\r\n    } "d39f9088";\r\n  } "75d5dd53";\r\n}\r\n\r\ngroup CccobservationCccb21s2de05(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb21s2de05";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B21S2.DE05' "code-Cccb21s2de05";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B21S2.DE05') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n    } "d40466ff";\r\n  } "0d215e07";\r\n}\r\n\r\ngroup CccobservationCccb21s2de06(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb21s2de06";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B21S2.DE06' "code-Cccb21s2de06";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B21S2.DE06') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n    } "d40466ff";\r\n  } "3a4a4375";\r\n}\r\n\r\ngroup CccobservationCccb21s2de08(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb21s2de08";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B21S2.DE08' "code-Cccb21s2de08";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B21S2.DE08') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb21s2de08";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb21s2de08";\r\n    } "bdab9370";\r\n  } "ac3004d0";\r\n}\r\n\r\ngroup CccobservationCccb21s2de09Cccb21s2de11t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb21s2de09Cccb21s2de11t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B21S2.DE09&Ccc.B21S2.DE11' "code-CccobservationCccb21s2de09Cccb21s2de11t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup CccobservationCccb21s2de09Cccb21s2de11f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb21s2de09Cccb21s2de11f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B21S2.DE09&Ccc.B21S2.DE11' "code-CccobservationCccb21s2de09Cccb21s2de11f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup CccobservationCccb21s2de09Cccb21s2de10t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb21s2de09Cccb21s2de10t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B21S2.DE09&Ccc.B21S2.DE10' "code-CccobservationCccb21s2de09Cccb21s2de10t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup CccobservationCccb21s2de09Cccb21s2de10f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb21s2de09Cccb21s2de10f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B21S2.DE09&Ccc.B21S2.DE10' "code-CccobservationCccb21s2de09Cccb21s2de10f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup CccobservationCccb21s2de12(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb21s2de12";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B21S2.DE12' "code-Cccb21s2de12";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B21S2.DE12') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n    } "d40466ff";\r\n  } "fe73483f";\r\n}\r\n\r\ngroup CccobservationCccb21s2de13(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb21s2de13";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B21S2.DE13' "code-Cccb21s2de13";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B21S2.DE13') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb21s2de13";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb21s2de13";\r\n    } "bdab9370";\r\n  } "a1265fc3";\r\n}\r\n\r\ngroup CccobservationCccb21s2de15(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb21s2de15";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B21S2.DE15' "code-Cccb21s2de15";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B21S2.DE15') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n    } "d40466ff";\r\n  } "1b63fd85";\r\n}\r\n\r\ngroup CccobservationCccb21s2de16(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb21s2de16";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B21S2.DE16' "code-Cccb21s2de16";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B21S2.DE16') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb21s2de16";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb21s2de16";\r\n    } "bdab9370";\r\n  } "e00da6e9";\r\n}\r\n\r\ngroup CccobservationCccb21s2de18(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb21s2de18";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B21S2.DE18' "code-Cccb21s2de18";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B21S2.DE18') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "af7f6c69";\r\n}\r\n\r\ngroup CccobservationCccb21s2de21(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb21s2de21";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B21S2.DE21' "code-Cccb21s2de21";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B21S2.DE21') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "b4ca78b5";\r\n}\r\n\r\ngroup CccobservationCccb21s2de24(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb21s2de24";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B21S2.DE24' "code-Cccb21s2de24";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B21S2.DE24') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "b08f8fe7";\r\n}\r\n\r\ngroup CccobservationCccb21s2de27(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb21s2de27";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B21S2.DE27' "code-Cccb21s2de27";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B21S2.DE27') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "49d85a6e";\r\n}\r\n\r\ngroup CccobservationCccb21s2de30(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb21s2de30";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B21S2.DE30' "code-Cccb21s2de30";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B21S2.DE30') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb21s2de30";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb21s2de30";\r\n    } "bdab9370";\r\n  } "fe4c0b1a";\r\n}\r\n\r\ngroup CccobservationCccb21s2de31(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb21s2de31";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B21S2.DE31' "code-Cccb21s2de31";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B21S2.DE31') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n      } "26c2c8c7";\r\n    } "721205d5";\r\n  } "789ed550";\r\n}\r\n\r\ngroup CccobservationCccb22de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE01' "code-Cccb22de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE01') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n      } "d40466ff";\r\n    } "e1cd1fa1";\r\n  } "ad8e4fa6";\r\n}\r\n\r\ngroup CccobservationCccb22de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE02' "code-Cccb22de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE02') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val then {\r\n          val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n        } "26c2c8c7";\r\n      } "721205d5";\r\n    } "38b3c27b";\r\n  } "5b046e45";\r\n}\r\n\r\ngroup CccobservationCccb22de04(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de04";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE04' "code-Cccb22de04";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as itm2 where linkId = 'second' then {\r\n      itm2.item first as item where (linkId = 'Ccc.B22.DE04') and answer.exists() then {\r\n        item.answer first as a then {\r\n          a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n        } "d40466ff";\r\n      } "f66ca63f";\r\n    } "1b837896";\r\n  } "6b3a0b06";\r\n}\r\n\r\ngroup CccobservationCccb22de05(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de05";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE05' "code-Cccb22de05";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as itm2 where linkId = 'second' then {\r\n      itm2.item first as item where (linkId = 'Ccc.B22.DE05') and answer.exists() then {\r\n        item.answer first as a then {\r\n          a.value as val then {\r\n            val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n          } "26c2c8c7";\r\n        } "721205d5";\r\n      } "48a81a4f";\r\n    } "9322cbb7";\r\n  } "ed73ec89";\r\n}\r\n\r\ngroup CccobservationCccb22de07(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de07";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE07' "code-Cccb22de07";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE07') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de07";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de07";\r\n      } "bdab9370";\r\n    } "b5e73929";\r\n  } "306838ed";\r\n}\r\n\r\n
" }, - "url": "https://smart.who.int/ccc/StructureMap/emcare.b18-21.signs.2m.m", - "name": "emcare.b18-21.signs.2m.m", + "url": "https://smart.who.int/ccc/StructureMap/Ccc.b18-21.signs.2m.m", + "name": "Ccc.b18-21.signs.2m.m", "status": "active", "structure": [ { @@ -25,9 +25,9 @@ "alias": "'Observation'" }, { - "url": "https://smart.who.int/ccc/StructureDefinition/emcareobservation", + "url": "https://smart.who.int/ccc/StructureDefinition/Cccobservation", "mode": "produced", - "alias": "'EmCare Observation'" + "alias": "'Ccc Observation'" } ], "group": [ @@ -92,7 +92,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B18S2.DE07') and answer.exists()" + "condition": "(linkId = 'Ccc.B18S2.DE07') and answer.exists()" } ], "rule": [ @@ -200,7 +200,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb18s2de07", + "name": "CccobservationCccb18s2de07", "variable": [ "src", "tgt" @@ -222,7 +222,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B18S2.DE08') and answer.exists()" + "condition": "(linkId = 'Ccc.B18S2.DE08') and answer.exists()" } ], "rule": [ @@ -330,7 +330,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb18s2de08", + "name": "CccobservationCccb18s2de08", "variable": [ "src", "tgt" @@ -352,7 +352,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B18S2.DE12') and answer.exists()" + "condition": "(linkId = 'Ccc.B18S2.DE12') and answer.exists()" } ], "rule": [ @@ -460,7 +460,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb18s2de12", + "name": "CccobservationCccb18s2de12", "variable": [ "src", "tgt" @@ -482,7 +482,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B18S2.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B18S2.DE13') and answer.exists()" } ], "rule": [ @@ -590,7 +590,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb18s2de13", + "name": "CccobservationCccb18s2de13", "variable": [ "src", "tgt" @@ -612,7 +612,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B19S2.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B19S2.DE01') and answer.exists()" } ], "rule": [ @@ -720,7 +720,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb19s2de01", + "name": "CccobservationCccb19s2de01", "variable": [ "src", "tgt" @@ -742,7 +742,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B19S2.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B19S2.DE02') and answer.exists()" } ], "rule": [ @@ -850,7 +850,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb19s2de02", + "name": "CccobservationCccb19s2de02", "variable": [ "src", "tgt" @@ -872,7 +872,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B19S2.DE04') and answer.exists()" + "condition": "(linkId = 'Ccc.B19S2.DE04') and answer.exists()" } ], "rule": [ @@ -980,7 +980,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb19s2de04", + "name": "CccobservationCccb19s2de04", "variable": [ "src", "tgt" @@ -1002,7 +1002,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B11S2.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B11S2.DE01') and answer.exists()" } ], "rule": [ @@ -1110,7 +1110,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb11s2de01", + "name": "CccobservationCccb11s2de01", "variable": [ "src", "tgt" @@ -1132,7 +1132,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B11S2.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B11S2.DE02') and answer.exists()" } ], "rule": [ @@ -1240,7 +1240,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb11s2de02", + "name": "CccobservationCccb11s2de02", "variable": [ "src", "tgt" @@ -1262,7 +1262,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B11S2.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.B11S2.DE06') and answer.exists()" } ], "rule": [ @@ -1370,7 +1370,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb11s2de06", + "name": "CccobservationCccb11s2de06", "variable": [ "src", "tgt" @@ -1392,7 +1392,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE01') and answer.exists()" } ], "rule": [ @@ -1500,7 +1500,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb21s2de01", + "name": "CccobservationCccb21s2de01", "variable": [ "src", "tgt" @@ -1522,7 +1522,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE05') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE05') and answer.exists()" } ], "rule": [ @@ -1630,7 +1630,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb21s2de05", + "name": "CccobservationCccb21s2de05", "variable": [ "src", "tgt" @@ -1652,7 +1652,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE06') and answer.exists()" } ], "rule": [ @@ -1760,7 +1760,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb21s2de06", + "name": "CccobservationCccb21s2de06", "variable": [ "src", "tgt" @@ -1782,7 +1782,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE08') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE08') and answer.exists()" } ], "rule": [ @@ -1890,7 +1890,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb21s2de08", + "name": "CccobservationCccb21s2de08", "variable": [ "src", "tgt" @@ -1909,7 +1909,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B21S2.DE09').answer.where(value.code = 'EmCare.B21S2.DE11')" + "condition": "src.item.where(linkId = 'Ccc.B21S2.DE09').answer.where(value.code = 'Ccc.B21S2.DE11')" } ], "rule": [ @@ -1921,7 +1921,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE09') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE09') and answer.exists()" } ], "rule": [ @@ -2018,7 +2018,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb21s2de09emcareb21s2de11t", + "name": "CccobservationCccb21s2de09Cccb21s2de11t", "variable": [ "src", "tgt" @@ -2039,7 +2039,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B21S2.DE09').exists() and src.item.where(linkId = 'EmCare.B21S2.DE09').answer.where(value.code = 'EmCare.B21S2.DE11').empty()" + "condition": "src.item.where(linkId = 'Ccc.B21S2.DE09').exists() and src.item.where(linkId = 'Ccc.B21S2.DE09').answer.where(value.code = 'Ccc.B21S2.DE11').empty()" } ], "rule": [ @@ -2051,7 +2051,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE09') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE09') and answer.exists()" } ], "rule": [ @@ -2148,7 +2148,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb21s2de09emcareb21s2de11f", + "name": "CccobservationCccb21s2de09Cccb21s2de11f", "variable": [ "src", "tgt" @@ -2169,7 +2169,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B21S2.DE09').answer.where(value.code = 'EmCare.B21S2.DE10')" + "condition": "src.item.where(linkId = 'Ccc.B21S2.DE09').answer.where(value.code = 'Ccc.B21S2.DE10')" } ], "rule": [ @@ -2181,7 +2181,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE09') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE09') and answer.exists()" } ], "rule": [ @@ -2278,7 +2278,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb21s2de09emcareb21s2de10t", + "name": "CccobservationCccb21s2de09Cccb21s2de10t", "variable": [ "src", "tgt" @@ -2299,7 +2299,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B21S2.DE09').exists() and src.item.where(linkId = 'EmCare.B21S2.DE09').answer.where(value.code = 'EmCare.B21S2.DE10').empty()" + "condition": "src.item.where(linkId = 'Ccc.B21S2.DE09').exists() and src.item.where(linkId = 'Ccc.B21S2.DE09').answer.where(value.code = 'Ccc.B21S2.DE10').empty()" } ], "rule": [ @@ -2311,7 +2311,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE09') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE09') and answer.exists()" } ], "rule": [ @@ -2408,7 +2408,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb21s2de09emcareb21s2de10f", + "name": "CccobservationCccb21s2de09Cccb21s2de10f", "variable": [ "src", "tgt" @@ -2432,7 +2432,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE12') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE12') and answer.exists()" } ], "rule": [ @@ -2540,7 +2540,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb21s2de12", + "name": "CccobservationCccb21s2de12", "variable": [ "src", "tgt" @@ -2562,7 +2562,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE13') and answer.exists()" } ], "rule": [ @@ -2670,7 +2670,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb21s2de13", + "name": "CccobservationCccb21s2de13", "variable": [ "src", "tgt" @@ -2692,7 +2692,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE15') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE15') and answer.exists()" } ], "rule": [ @@ -2800,7 +2800,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb21s2de15", + "name": "CccobservationCccb21s2de15", "variable": [ "src", "tgt" @@ -2822,7 +2822,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE16') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE16') and answer.exists()" } ], "rule": [ @@ -2930,7 +2930,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb21s2de16", + "name": "CccobservationCccb21s2de16", "variable": [ "src", "tgt" @@ -2952,7 +2952,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE18') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE18') and answer.exists()" } ], "rule": [ @@ -3060,7 +3060,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb21s2de18", + "name": "CccobservationCccb21s2de18", "variable": [ "src", "tgt" @@ -3082,7 +3082,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE21') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE21') and answer.exists()" } ], "rule": [ @@ -3190,7 +3190,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb21s2de21", + "name": "CccobservationCccb21s2de21", "variable": [ "src", "tgt" @@ -3212,7 +3212,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE24') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE24') and answer.exists()" } ], "rule": [ @@ -3320,7 +3320,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb21s2de24", + "name": "CccobservationCccb21s2de24", "variable": [ "src", "tgt" @@ -3342,7 +3342,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE27') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE27') and answer.exists()" } ], "rule": [ @@ -3450,7 +3450,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb21s2de27", + "name": "CccobservationCccb21s2de27", "variable": [ "src", "tgt" @@ -3472,7 +3472,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE30') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE30') and answer.exists()" } ], "rule": [ @@ -3580,7 +3580,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb21s2de30", + "name": "CccobservationCccb21s2de30", "variable": [ "src", "tgt" @@ -3602,7 +3602,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE31') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE31') and answer.exists()" } ], "rule": [ @@ -3710,7 +3710,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb21s2de31", + "name": "CccobservationCccb21s2de31", "variable": [ "src", "tgt" @@ -3732,7 +3732,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.RespiratoryRate'" + "condition": "linkId = 'Ccc.B22.RespiratoryRate'" } ], "rule": [ @@ -3744,7 +3744,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE01') and answer.exists()" } ], "rule": [ @@ -3852,7 +3852,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de01", + "name": "CccobservationCccb22de01", "variable": [ "src", "tgt" @@ -3876,7 +3876,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.RespiratoryRate'" + "condition": "linkId = 'Ccc.B22.RespiratoryRate'" } ], "rule": [ @@ -3888,7 +3888,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE02') and answer.exists()" } ], "rule": [ @@ -3996,7 +3996,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de02", + "name": "CccobservationCccb22de02", "variable": [ "src", "tgt" @@ -4020,7 +4020,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.RespiratoryRate'" + "condition": "linkId = 'Ccc.B22.RespiratoryRate'" } ], "rule": [ @@ -4044,7 +4044,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE04') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE04') and answer.exists()" } ], "rule": [ @@ -4152,7 +4152,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de04", + "name": "CccobservationCccb22de04", "variable": [ "src", "tgt" @@ -4178,7 +4178,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.RespiratoryRate'" + "condition": "linkId = 'Ccc.B22.RespiratoryRate'" } ], "rule": [ @@ -4202,7 +4202,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE05') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE05') and answer.exists()" } ], "rule": [ @@ -4310,7 +4310,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de05", + "name": "CccobservationCccb22de05", "variable": [ "src", "tgt" @@ -4336,7 +4336,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.RespiratoryRate'" + "condition": "linkId = 'Ccc.B22.RespiratoryRate'" } ], "rule": [ @@ -4348,7 +4348,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE07') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE07') and answer.exists()" } ], "rule": [ @@ -4456,7 +4456,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de07", + "name": "CccobservationCccb22de07", "variable": [ "src", "tgt" @@ -4475,7 +4475,7 @@ ] }, { - "name": "emcareobservationemcareb18s2de07", + "name": "CccobservationCccb18s2de07", "typeMode": "none", "input": [ { @@ -4489,7 +4489,7 @@ ], "rule": [ { - "name": "id-emcareb18s2de07", + "name": "id-Cccb18s2de07", "source": [ { "context": "src" @@ -4573,7 +4573,7 @@ ] }, { - "name": "code-emcareb18s2de07", + "name": "code-Cccb18s2de07", "source": [ { "context": "src", @@ -4612,7 +4612,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -4647,7 +4647,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -4658,7 +4658,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B18S2.DE07" + "valueString": "Ccc.B18S2.DE07" } ] } @@ -4744,7 +4744,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B18S2.DE07') and answer.exists()" + "condition": "(linkId = 'Ccc.B18S2.DE07') and answer.exists()" } ], "rule": [ @@ -4760,7 +4760,7 @@ ], "rule": [ { - "name": "final-emcareb18s2de07", + "name": "final-Cccb18s2de07", "source": [ { "context": "a", @@ -4793,7 +4793,7 @@ ] }, { - "name": "notfound-emcareb18s2de07", + "name": "notfound-Cccb18s2de07", "source": [ { "context": "a", @@ -4832,7 +4832,7 @@ ] }, { - "name": "emcareobservationemcareb18s2de08", + "name": "CccobservationCccb18s2de08", "typeMode": "none", "input": [ { @@ -4846,7 +4846,7 @@ ], "rule": [ { - "name": "id-emcareb18s2de08", + "name": "id-Cccb18s2de08", "source": [ { "context": "src" @@ -4930,7 +4930,7 @@ ] }, { - "name": "code-emcareb18s2de08", + "name": "code-Cccb18s2de08", "source": [ { "context": "src", @@ -4969,7 +4969,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -5004,7 +5004,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -5015,7 +5015,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B18S2.DE08" + "valueString": "Ccc.B18S2.DE08" } ] } @@ -5101,7 +5101,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B18S2.DE08') and answer.exists()" + "condition": "(linkId = 'Ccc.B18S2.DE08') and answer.exists()" } ], "rule": [ @@ -5202,7 +5202,7 @@ ] }, { - "name": "emcareobservationemcareb18s2de12", + "name": "CccobservationCccb18s2de12", "typeMode": "none", "input": [ { @@ -5216,7 +5216,7 @@ ], "rule": [ { - "name": "id-emcareb18s2de12", + "name": "id-Cccb18s2de12", "source": [ { "context": "src" @@ -5300,7 +5300,7 @@ ] }, { - "name": "code-emcareb18s2de12", + "name": "code-Cccb18s2de12", "source": [ { "context": "src", @@ -5339,7 +5339,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -5374,7 +5374,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -5385,7 +5385,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B18S2.DE12" + "valueString": "Ccc.B18S2.DE12" } ] } @@ -5471,7 +5471,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B18S2.DE12') and answer.exists()" + "condition": "(linkId = 'Ccc.B18S2.DE12') and answer.exists()" } ], "rule": [ @@ -5487,7 +5487,7 @@ ], "rule": [ { - "name": "final-emcareb18s2de12", + "name": "final-Cccb18s2de12", "source": [ { "context": "a", @@ -5520,7 +5520,7 @@ ] }, { - "name": "notfound-emcareb18s2de12", + "name": "notfound-Cccb18s2de12", "source": [ { "context": "a", @@ -5559,7 +5559,7 @@ ] }, { - "name": "emcareobservationemcareb18s2de13", + "name": "CccobservationCccb18s2de13", "typeMode": "none", "input": [ { @@ -5573,7 +5573,7 @@ ], "rule": [ { - "name": "id-emcareb18s2de13", + "name": "id-Cccb18s2de13", "source": [ { "context": "src" @@ -5657,7 +5657,7 @@ ] }, { - "name": "code-emcareb18s2de13", + "name": "code-Cccb18s2de13", "source": [ { "context": "src", @@ -5696,7 +5696,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -5731,7 +5731,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -5742,7 +5742,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B18S2.DE13" + "valueString": "Ccc.B18S2.DE13" } ] } @@ -5828,7 +5828,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B18S2.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B18S2.DE13') and answer.exists()" } ], "rule": [ @@ -5844,7 +5844,7 @@ ], "rule": [ { - "name": "final-emcareb18s2de13", + "name": "final-Cccb18s2de13", "source": [ { "context": "a", @@ -5877,7 +5877,7 @@ ] }, { - "name": "notfound-emcareb18s2de13", + "name": "notfound-Cccb18s2de13", "source": [ { "context": "a", @@ -5916,7 +5916,7 @@ ] }, { - "name": "emcareobservationemcareb19s2de01", + "name": "CccobservationCccb19s2de01", "typeMode": "none", "input": [ { @@ -5930,7 +5930,7 @@ ], "rule": [ { - "name": "id-emcareb19s2de01", + "name": "id-Cccb19s2de01", "source": [ { "context": "src" @@ -6014,7 +6014,7 @@ ] }, { - "name": "code-emcareb19s2de01", + "name": "code-Cccb19s2de01", "source": [ { "context": "src", @@ -6053,7 +6053,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -6088,7 +6088,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -6099,7 +6099,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B19S2.DE01" + "valueString": "Ccc.B19S2.DE01" } ] } @@ -6185,7 +6185,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B19S2.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B19S2.DE01') and answer.exists()" } ], "rule": [ @@ -6201,7 +6201,7 @@ ], "rule": [ { - "name": "final-emcareb19s2de01", + "name": "final-Cccb19s2de01", "source": [ { "context": "a", @@ -6234,7 +6234,7 @@ ] }, { - "name": "notfound-emcareb19s2de01", + "name": "notfound-Cccb19s2de01", "source": [ { "context": "a", @@ -6273,7 +6273,7 @@ ] }, { - "name": "emcareobservationemcareb19s2de02", + "name": "CccobservationCccb19s2de02", "typeMode": "none", "input": [ { @@ -6287,7 +6287,7 @@ ], "rule": [ { - "name": "id-emcareb19s2de02", + "name": "id-Cccb19s2de02", "source": [ { "context": "src" @@ -6371,7 +6371,7 @@ ] }, { - "name": "code-emcareb19s2de02", + "name": "code-Cccb19s2de02", "source": [ { "context": "src", @@ -6410,7 +6410,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -6445,7 +6445,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -6456,7 +6456,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B19S2.DE02" + "valueString": "Ccc.B19S2.DE02" } ] } @@ -6542,7 +6542,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B19S2.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B19S2.DE02') and answer.exists()" } ], "rule": [ @@ -6558,7 +6558,7 @@ ], "rule": [ { - "name": "final-emcareb19s2de02", + "name": "final-Cccb19s2de02", "source": [ { "context": "a", @@ -6591,7 +6591,7 @@ ] }, { - "name": "notfound-emcareb19s2de02", + "name": "notfound-Cccb19s2de02", "source": [ { "context": "a", @@ -6630,7 +6630,7 @@ ] }, { - "name": "emcareobservationemcareb19s2de04", + "name": "CccobservationCccb19s2de04", "typeMode": "none", "input": [ { @@ -6644,7 +6644,7 @@ ], "rule": [ { - "name": "id-emcareb19s2de04", + "name": "id-Cccb19s2de04", "source": [ { "context": "src" @@ -6728,7 +6728,7 @@ ] }, { - "name": "code-emcareb19s2de04", + "name": "code-Cccb19s2de04", "source": [ { "context": "src", @@ -6767,7 +6767,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -6802,7 +6802,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -6813,7 +6813,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B19S2.DE04" + "valueString": "Ccc.B19S2.DE04" } ] } @@ -6899,7 +6899,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B19S2.DE04') and answer.exists()" + "condition": "(linkId = 'Ccc.B19S2.DE04') and answer.exists()" } ], "rule": [ @@ -7000,7 +7000,7 @@ ] }, { - "name": "emcareobservationemcareb11s2de01", + "name": "CccobservationCccb11s2de01", "typeMode": "none", "input": [ { @@ -7014,7 +7014,7 @@ ], "rule": [ { - "name": "id-emcareb11s2de01", + "name": "id-Cccb11s2de01", "source": [ { "context": "src" @@ -7098,7 +7098,7 @@ ] }, { - "name": "code-emcareb11s2de01", + "name": "code-Cccb11s2de01", "source": [ { "context": "src", @@ -7137,7 +7137,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -7172,7 +7172,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -7183,7 +7183,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B11S2.DE01" + "valueString": "Ccc.B11S2.DE01" } ] } @@ -7269,7 +7269,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B11S2.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B11S2.DE01') and answer.exists()" } ], "rule": [ @@ -7285,7 +7285,7 @@ ], "rule": [ { - "name": "final-emcareb11s2de01", + "name": "final-Cccb11s2de01", "source": [ { "context": "a", @@ -7318,7 +7318,7 @@ ] }, { - "name": "notfound-emcareb11s2de01", + "name": "notfound-Cccb11s2de01", "source": [ { "context": "a", @@ -7357,7 +7357,7 @@ ] }, { - "name": "emcareobservationemcareb11s2de02", + "name": "CccobservationCccb11s2de02", "typeMode": "none", "input": [ { @@ -7371,7 +7371,7 @@ ], "rule": [ { - "name": "id-emcareb11s2de02", + "name": "id-Cccb11s2de02", "source": [ { "context": "src" @@ -7455,7 +7455,7 @@ ] }, { - "name": "code-emcareb11s2de02", + "name": "code-Cccb11s2de02", "source": [ { "context": "src", @@ -7494,7 +7494,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -7529,7 +7529,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -7540,7 +7540,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B11S2.DE02" + "valueString": "Ccc.B11S2.DE02" } ] } @@ -7626,7 +7626,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B11S2.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B11S2.DE02') and answer.exists()" } ], "rule": [ @@ -7727,7 +7727,7 @@ ] }, { - "name": "emcareobservationemcareb11s2de06", + "name": "CccobservationCccb11s2de06", "typeMode": "none", "input": [ { @@ -7741,7 +7741,7 @@ ], "rule": [ { - "name": "id-emcareb11s2de06", + "name": "id-Cccb11s2de06", "source": [ { "context": "src" @@ -7825,7 +7825,7 @@ ] }, { - "name": "code-emcareb11s2de06", + "name": "code-Cccb11s2de06", "source": [ { "context": "src", @@ -7864,7 +7864,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -7899,7 +7899,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -7910,7 +7910,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B11S2.DE06" + "valueString": "Ccc.B11S2.DE06" } ] } @@ -7996,7 +7996,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B11S2.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.B11S2.DE06') and answer.exists()" } ], "rule": [ @@ -8012,7 +8012,7 @@ ], "rule": [ { - "name": "final-emcareb11s2de06", + "name": "final-Cccb11s2de06", "source": [ { "context": "a", @@ -8045,7 +8045,7 @@ ] }, { - "name": "notfound-emcareb11s2de06", + "name": "notfound-Cccb11s2de06", "source": [ { "context": "a", @@ -8084,7 +8084,7 @@ ] }, { - "name": "emcareobservationemcareb21s2de01", + "name": "CccobservationCccb21s2de01", "typeMode": "none", "input": [ { @@ -8098,7 +8098,7 @@ ], "rule": [ { - "name": "id-emcareb21s2de01", + "name": "id-Cccb21s2de01", "source": [ { "context": "src" @@ -8182,7 +8182,7 @@ ] }, { - "name": "code-emcareb21s2de01", + "name": "code-Cccb21s2de01", "source": [ { "context": "src", @@ -8221,7 +8221,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -8256,7 +8256,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -8267,7 +8267,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B21S2.DE01" + "valueString": "Ccc.B21S2.DE01" } ] } @@ -8353,7 +8353,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE01') and answer.exists()" } ], "rule": [ @@ -8428,7 +8428,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -8454,7 +8454,7 @@ ] }, { - "name": "emcareobservationemcareb21s2de05", + "name": "CccobservationCccb21s2de05", "typeMode": "none", "input": [ { @@ -8468,7 +8468,7 @@ ], "rule": [ { - "name": "id-emcareb21s2de05", + "name": "id-Cccb21s2de05", "source": [ { "context": "src" @@ -8552,7 +8552,7 @@ ] }, { - "name": "code-emcareb21s2de05", + "name": "code-Cccb21s2de05", "source": [ { "context": "src", @@ -8591,7 +8591,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -8626,7 +8626,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -8637,7 +8637,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B21S2.DE05" + "valueString": "Ccc.B21S2.DE05" } ] } @@ -8723,7 +8723,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE05') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE05') and answer.exists()" } ], "rule": [ @@ -8779,7 +8779,7 @@ ] }, { - "name": "emcareobservationemcareb21s2de06", + "name": "CccobservationCccb21s2de06", "typeMode": "none", "input": [ { @@ -8793,7 +8793,7 @@ ], "rule": [ { - "name": "id-emcareb21s2de06", + "name": "id-Cccb21s2de06", "source": [ { "context": "src" @@ -8877,7 +8877,7 @@ ] }, { - "name": "code-emcareb21s2de06", + "name": "code-Cccb21s2de06", "source": [ { "context": "src", @@ -8916,7 +8916,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -8951,7 +8951,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -8962,7 +8962,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B21S2.DE06" + "valueString": "Ccc.B21S2.DE06" } ] } @@ -9048,7 +9048,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE06') and answer.exists()" } ], "rule": [ @@ -9104,7 +9104,7 @@ ] }, { - "name": "emcareobservationemcareb21s2de08", + "name": "CccobservationCccb21s2de08", "typeMode": "none", "input": [ { @@ -9118,7 +9118,7 @@ ], "rule": [ { - "name": "id-emcareb21s2de08", + "name": "id-Cccb21s2de08", "source": [ { "context": "src" @@ -9202,7 +9202,7 @@ ] }, { - "name": "code-emcareb21s2de08", + "name": "code-Cccb21s2de08", "source": [ { "context": "src", @@ -9241,7 +9241,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -9276,7 +9276,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -9287,7 +9287,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B21S2.DE08" + "valueString": "Ccc.B21S2.DE08" } ] } @@ -9373,7 +9373,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE08') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE08') and answer.exists()" } ], "rule": [ @@ -9389,7 +9389,7 @@ ], "rule": [ { - "name": "final-emcareb21s2de08", + "name": "final-Cccb21s2de08", "source": [ { "context": "a", @@ -9422,7 +9422,7 @@ ] }, { - "name": "notfound-emcareb21s2de08", + "name": "notfound-Cccb21s2de08", "source": [ { "context": "a", @@ -9461,7 +9461,7 @@ ] }, { - "name": "emcareobservationemcareb21s2de09emcareb21s2de11t", + "name": "CccobservationCccb21s2de09Cccb21s2de11t", "typeMode": "none", "input": [ { @@ -9475,7 +9475,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb21s2de09emcareb21s2de11t", + "name": "id-CccobservationCccb21s2de09Cccb21s2de11t", "source": [ { "context": "src" @@ -9559,7 +9559,7 @@ ] }, { - "name": "code-emcareobservationemcareb21s2de09emcareb21s2de11t", + "name": "code-CccobservationCccb21s2de09Cccb21s2de11t", "source": [ { "context": "src", @@ -9598,7 +9598,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -9633,7 +9633,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -9644,7 +9644,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B21S2.DE09&EmCare.B21S2.DE11" + "valueString": "Ccc.B21S2.DE09&Ccc.B21S2.DE11" } ] } @@ -9757,7 +9757,7 @@ ] }, { - "name": "emcareobservationemcareb21s2de09emcareb21s2de11f", + "name": "CccobservationCccb21s2de09Cccb21s2de11f", "typeMode": "none", "input": [ { @@ -9771,7 +9771,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb21s2de09emcareb21s2de11f", + "name": "id-CccobservationCccb21s2de09Cccb21s2de11f", "source": [ { "context": "src" @@ -9855,7 +9855,7 @@ ] }, { - "name": "code-emcareobservationemcareb21s2de09emcareb21s2de11f", + "name": "code-CccobservationCccb21s2de09Cccb21s2de11f", "source": [ { "context": "src", @@ -9894,7 +9894,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -9929,7 +9929,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -9940,7 +9940,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B21S2.DE09&EmCare.B21S2.DE11" + "valueString": "Ccc.B21S2.DE09&Ccc.B21S2.DE11" } ] } @@ -10053,7 +10053,7 @@ ] }, { - "name": "emcareobservationemcareb21s2de09emcareb21s2de10t", + "name": "CccobservationCccb21s2de09Cccb21s2de10t", "typeMode": "none", "input": [ { @@ -10067,7 +10067,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb21s2de09emcareb21s2de10t", + "name": "id-CccobservationCccb21s2de09Cccb21s2de10t", "source": [ { "context": "src" @@ -10151,7 +10151,7 @@ ] }, { - "name": "code-emcareobservationemcareb21s2de09emcareb21s2de10t", + "name": "code-CccobservationCccb21s2de09Cccb21s2de10t", "source": [ { "context": "src", @@ -10190,7 +10190,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -10225,7 +10225,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -10236,7 +10236,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B21S2.DE09&EmCare.B21S2.DE10" + "valueString": "Ccc.B21S2.DE09&Ccc.B21S2.DE10" } ] } @@ -10349,7 +10349,7 @@ ] }, { - "name": "emcareobservationemcareb21s2de09emcareb21s2de10f", + "name": "CccobservationCccb21s2de09Cccb21s2de10f", "typeMode": "none", "input": [ { @@ -10363,7 +10363,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb21s2de09emcareb21s2de10f", + "name": "id-CccobservationCccb21s2de09Cccb21s2de10f", "source": [ { "context": "src" @@ -10447,7 +10447,7 @@ ] }, { - "name": "code-emcareobservationemcareb21s2de09emcareb21s2de10f", + "name": "code-CccobservationCccb21s2de09Cccb21s2de10f", "source": [ { "context": "src", @@ -10486,7 +10486,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -10521,7 +10521,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -10532,7 +10532,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B21S2.DE09&EmCare.B21S2.DE10" + "valueString": "Ccc.B21S2.DE09&Ccc.B21S2.DE10" } ] } @@ -10645,7 +10645,7 @@ ] }, { - "name": "emcareobservationemcareb21s2de12", + "name": "CccobservationCccb21s2de12", "typeMode": "none", "input": [ { @@ -10659,7 +10659,7 @@ ], "rule": [ { - "name": "id-emcareb21s2de12", + "name": "id-Cccb21s2de12", "source": [ { "context": "src" @@ -10743,7 +10743,7 @@ ] }, { - "name": "code-emcareb21s2de12", + "name": "code-Cccb21s2de12", "source": [ { "context": "src", @@ -10782,7 +10782,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -10817,7 +10817,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -10828,7 +10828,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B21S2.DE12" + "valueString": "Ccc.B21S2.DE12" } ] } @@ -10914,7 +10914,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE12') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE12') and answer.exists()" } ], "rule": [ @@ -10970,7 +10970,7 @@ ] }, { - "name": "emcareobservationemcareb21s2de13", + "name": "CccobservationCccb21s2de13", "typeMode": "none", "input": [ { @@ -10984,7 +10984,7 @@ ], "rule": [ { - "name": "id-emcareb21s2de13", + "name": "id-Cccb21s2de13", "source": [ { "context": "src" @@ -11068,7 +11068,7 @@ ] }, { - "name": "code-emcareb21s2de13", + "name": "code-Cccb21s2de13", "source": [ { "context": "src", @@ -11107,7 +11107,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -11142,7 +11142,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -11153,7 +11153,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B21S2.DE13" + "valueString": "Ccc.B21S2.DE13" } ] } @@ -11239,7 +11239,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE13') and answer.exists()" } ], "rule": [ @@ -11255,7 +11255,7 @@ ], "rule": [ { - "name": "final-emcareb21s2de13", + "name": "final-Cccb21s2de13", "source": [ { "context": "a", @@ -11288,7 +11288,7 @@ ] }, { - "name": "notfound-emcareb21s2de13", + "name": "notfound-Cccb21s2de13", "source": [ { "context": "a", @@ -11327,7 +11327,7 @@ ] }, { - "name": "emcareobservationemcareb21s2de15", + "name": "CccobservationCccb21s2de15", "typeMode": "none", "input": [ { @@ -11341,7 +11341,7 @@ ], "rule": [ { - "name": "id-emcareb21s2de15", + "name": "id-Cccb21s2de15", "source": [ { "context": "src" @@ -11425,7 +11425,7 @@ ] }, { - "name": "code-emcareb21s2de15", + "name": "code-Cccb21s2de15", "source": [ { "context": "src", @@ -11464,7 +11464,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -11499,7 +11499,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -11510,7 +11510,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B21S2.DE15" + "valueString": "Ccc.B21S2.DE15" } ] } @@ -11596,7 +11596,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE15') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE15') and answer.exists()" } ], "rule": [ @@ -11652,7 +11652,7 @@ ] }, { - "name": "emcareobservationemcareb21s2de16", + "name": "CccobservationCccb21s2de16", "typeMode": "none", "input": [ { @@ -11666,7 +11666,7 @@ ], "rule": [ { - "name": "id-emcareb21s2de16", + "name": "id-Cccb21s2de16", "source": [ { "context": "src" @@ -11750,7 +11750,7 @@ ] }, { - "name": "code-emcareb21s2de16", + "name": "code-Cccb21s2de16", "source": [ { "context": "src", @@ -11789,7 +11789,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -11824,7 +11824,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -11835,7 +11835,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B21S2.DE16" + "valueString": "Ccc.B21S2.DE16" } ] } @@ -11921,7 +11921,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE16') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE16') and answer.exists()" } ], "rule": [ @@ -11937,7 +11937,7 @@ ], "rule": [ { - "name": "final-emcareb21s2de16", + "name": "final-Cccb21s2de16", "source": [ { "context": "a", @@ -11970,7 +11970,7 @@ ] }, { - "name": "notfound-emcareb21s2de16", + "name": "notfound-Cccb21s2de16", "source": [ { "context": "a", @@ -12009,7 +12009,7 @@ ] }, { - "name": "emcareobservationemcareb21s2de18", + "name": "CccobservationCccb21s2de18", "typeMode": "none", "input": [ { @@ -12023,7 +12023,7 @@ ], "rule": [ { - "name": "id-emcareb21s2de18", + "name": "id-Cccb21s2de18", "source": [ { "context": "src" @@ -12107,7 +12107,7 @@ ] }, { - "name": "code-emcareb21s2de18", + "name": "code-Cccb21s2de18", "source": [ { "context": "src", @@ -12146,7 +12146,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -12181,7 +12181,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -12192,7 +12192,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B21S2.DE18" + "valueString": "Ccc.B21S2.DE18" } ] } @@ -12278,7 +12278,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE18') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE18') and answer.exists()" } ], "rule": [ @@ -12379,7 +12379,7 @@ ] }, { - "name": "emcareobservationemcareb21s2de21", + "name": "CccobservationCccb21s2de21", "typeMode": "none", "input": [ { @@ -12393,7 +12393,7 @@ ], "rule": [ { - "name": "id-emcareb21s2de21", + "name": "id-Cccb21s2de21", "source": [ { "context": "src" @@ -12477,7 +12477,7 @@ ] }, { - "name": "code-emcareb21s2de21", + "name": "code-Cccb21s2de21", "source": [ { "context": "src", @@ -12516,7 +12516,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -12551,7 +12551,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -12562,7 +12562,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B21S2.DE21" + "valueString": "Ccc.B21S2.DE21" } ] } @@ -12648,7 +12648,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE21') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE21') and answer.exists()" } ], "rule": [ @@ -12749,7 +12749,7 @@ ] }, { - "name": "emcareobservationemcareb21s2de24", + "name": "CccobservationCccb21s2de24", "typeMode": "none", "input": [ { @@ -12763,7 +12763,7 @@ ], "rule": [ { - "name": "id-emcareb21s2de24", + "name": "id-Cccb21s2de24", "source": [ { "context": "src" @@ -12847,7 +12847,7 @@ ] }, { - "name": "code-emcareb21s2de24", + "name": "code-Cccb21s2de24", "source": [ { "context": "src", @@ -12886,7 +12886,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -12921,7 +12921,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -12932,7 +12932,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B21S2.DE24" + "valueString": "Ccc.B21S2.DE24" } ] } @@ -13018,7 +13018,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE24') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE24') and answer.exists()" } ], "rule": [ @@ -13119,7 +13119,7 @@ ] }, { - "name": "emcareobservationemcareb21s2de27", + "name": "CccobservationCccb21s2de27", "typeMode": "none", "input": [ { @@ -13133,7 +13133,7 @@ ], "rule": [ { - "name": "id-emcareb21s2de27", + "name": "id-Cccb21s2de27", "source": [ { "context": "src" @@ -13217,7 +13217,7 @@ ] }, { - "name": "code-emcareb21s2de27", + "name": "code-Cccb21s2de27", "source": [ { "context": "src", @@ -13256,7 +13256,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -13291,7 +13291,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -13302,7 +13302,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B21S2.DE27" + "valueString": "Ccc.B21S2.DE27" } ] } @@ -13388,7 +13388,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE27') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE27') and answer.exists()" } ], "rule": [ @@ -13489,7 +13489,7 @@ ] }, { - "name": "emcareobservationemcareb21s2de30", + "name": "CccobservationCccb21s2de30", "typeMode": "none", "input": [ { @@ -13503,7 +13503,7 @@ ], "rule": [ { - "name": "id-emcareb21s2de30", + "name": "id-Cccb21s2de30", "source": [ { "context": "src" @@ -13587,7 +13587,7 @@ ] }, { - "name": "code-emcareb21s2de30", + "name": "code-Cccb21s2de30", "source": [ { "context": "src", @@ -13626,7 +13626,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -13661,7 +13661,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -13672,7 +13672,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B21S2.DE30" + "valueString": "Ccc.B21S2.DE30" } ] } @@ -13758,7 +13758,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE30') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE30') and answer.exists()" } ], "rule": [ @@ -13774,7 +13774,7 @@ ], "rule": [ { - "name": "final-emcareb21s2de30", + "name": "final-Cccb21s2de30", "source": [ { "context": "a", @@ -13807,7 +13807,7 @@ ] }, { - "name": "notfound-emcareb21s2de30", + "name": "notfound-Cccb21s2de30", "source": [ { "context": "a", @@ -13846,7 +13846,7 @@ ] }, { - "name": "emcareobservationemcareb21s2de31", + "name": "CccobservationCccb21s2de31", "typeMode": "none", "input": [ { @@ -13860,7 +13860,7 @@ ], "rule": [ { - "name": "id-emcareb21s2de31", + "name": "id-Cccb21s2de31", "source": [ { "context": "src" @@ -13944,7 +13944,7 @@ ] }, { - "name": "code-emcareb21s2de31", + "name": "code-Cccb21s2de31", "source": [ { "context": "src", @@ -13983,7 +13983,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -14018,7 +14018,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -14029,7 +14029,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B21S2.DE31" + "valueString": "Ccc.B21S2.DE31" } ] } @@ -14115,7 +14115,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S2.DE31') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S2.DE31') and answer.exists()" } ], "rule": [ @@ -14182,7 +14182,7 @@ ] }, { - "name": "emcareobservationemcareb22de01", + "name": "CccobservationCccb22de01", "typeMode": "none", "input": [ { @@ -14196,7 +14196,7 @@ ], "rule": [ { - "name": "id-emcareb22de01", + "name": "id-Cccb22de01", "source": [ { "context": "src" @@ -14280,7 +14280,7 @@ ] }, { - "name": "code-emcareb22de01", + "name": "code-Cccb22de01", "source": [ { "context": "src", @@ -14319,7 +14319,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -14354,7 +14354,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -14365,7 +14365,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE01" + "valueString": "Ccc.B22.DE01" } ] } @@ -14451,7 +14451,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.RespiratoryRate'" + "condition": "linkId = 'Ccc.B22.RespiratoryRate'" } ], "rule": [ @@ -14463,7 +14463,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE01') and answer.exists()" } ], "rule": [ @@ -14521,7 +14521,7 @@ ] }, { - "name": "emcareobservationemcareb22de02", + "name": "CccobservationCccb22de02", "typeMode": "none", "input": [ { @@ -14535,7 +14535,7 @@ ], "rule": [ { - "name": "id-emcareb22de02", + "name": "id-Cccb22de02", "source": [ { "context": "src" @@ -14619,7 +14619,7 @@ ] }, { - "name": "code-emcareb22de02", + "name": "code-Cccb22de02", "source": [ { "context": "src", @@ -14658,7 +14658,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -14693,7 +14693,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -14704,7 +14704,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE02" + "valueString": "Ccc.B22.DE02" } ] } @@ -14790,7 +14790,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.RespiratoryRate'" + "condition": "linkId = 'Ccc.B22.RespiratoryRate'" } ], "rule": [ @@ -14802,7 +14802,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE02') and answer.exists()" } ], "rule": [ @@ -14871,7 +14871,7 @@ ] }, { - "name": "emcareobservationemcareb22de04", + "name": "CccobservationCccb22de04", "typeMode": "none", "input": [ { @@ -14885,7 +14885,7 @@ ], "rule": [ { - "name": "id-emcareb22de04", + "name": "id-Cccb22de04", "source": [ { "context": "src" @@ -14969,7 +14969,7 @@ ] }, { - "name": "code-emcareb22de04", + "name": "code-Cccb22de04", "source": [ { "context": "src", @@ -15008,7 +15008,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -15043,7 +15043,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -15054,7 +15054,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE04" + "valueString": "Ccc.B22.DE04" } ] } @@ -15140,7 +15140,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.RespiratoryRate'" + "condition": "linkId = 'Ccc.B22.RespiratoryRate'" } ], "rule": [ @@ -15164,7 +15164,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE04') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE04') and answer.exists()" } ], "rule": [ @@ -15224,7 +15224,7 @@ ] }, { - "name": "emcareobservationemcareb22de05", + "name": "CccobservationCccb22de05", "typeMode": "none", "input": [ { @@ -15238,7 +15238,7 @@ ], "rule": [ { - "name": "id-emcareb22de05", + "name": "id-Cccb22de05", "source": [ { "context": "src" @@ -15322,7 +15322,7 @@ ] }, { - "name": "code-emcareb22de05", + "name": "code-Cccb22de05", "source": [ { "context": "src", @@ -15361,7 +15361,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -15396,7 +15396,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -15407,7 +15407,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE05" + "valueString": "Ccc.B22.DE05" } ] } @@ -15493,7 +15493,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.RespiratoryRate'" + "condition": "linkId = 'Ccc.B22.RespiratoryRate'" } ], "rule": [ @@ -15517,7 +15517,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE05') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE05') and answer.exists()" } ], "rule": [ @@ -15588,7 +15588,7 @@ ] }, { - "name": "emcareobservationemcareb22de07", + "name": "CccobservationCccb22de07", "typeMode": "none", "input": [ { @@ -15602,7 +15602,7 @@ ], "rule": [ { - "name": "id-emcareb22de07", + "name": "id-Cccb22de07", "source": [ { "context": "src" @@ -15686,7 +15686,7 @@ ] }, { - "name": "code-emcareb22de07", + "name": "code-Cccb22de07", "source": [ { "context": "src", @@ -15725,7 +15725,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -15760,7 +15760,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -15771,7 +15771,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE07" + "valueString": "Ccc.B22.DE07" } ] } @@ -15857,7 +15857,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.RespiratoryRate'" + "condition": "linkId = 'Ccc.B22.RespiratoryRate'" } ], "rule": [ @@ -15869,7 +15869,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE07') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE07') and answer.exists()" } ], "rule": [ @@ -15885,7 +15885,7 @@ ], "rule": [ { - "name": "final-emcareb22de07", + "name": "final-Cccb22de07", "source": [ { "context": "a", @@ -15918,7 +15918,7 @@ ] }, { - "name": "notfound-emcareb22de07", + "name": "notfound-Cccb22de07", "source": [ { "context": "a", diff --git a/input/resources/structuremap/structuremap-emcare.b18-21.symptoms.2m.m.json b/input/resources/structuremap/structuremap-Ccc.b18-21.symptoms.2m.m.json similarity index 88% rename from input/resources/structuremap/structuremap-emcare.b18-21.symptoms.2m.m.json rename to input/resources/structuremap/structuremap-Ccc.b18-21.symptoms.2m.m.json index 7b8888d8..74a891d9 100644 --- a/input/resources/structuremap/structuremap-emcare.b18-21.symptoms.2m.m.json +++ b/input/resources/structuremap/structuremap-Ccc.b18-21.symptoms.2m.m.json @@ -1,12 +1,12 @@ { "resourceType": "StructureMap", - "id": "emcare.b18-21.symptoms.2m.m", + "id": "Ccc.b18-21.symptoms.2m.m", "text": { "status": "generated", - "div": "
map "https://smart.who.int/ccc/StructureMap/emcare.b18-21.symptoms.2m.m" = "emcare.b18-21.symptoms.2m.m"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/observation" alias 'Observation' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/emcareobservation" alias 'EmCare Observation' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src.item first as item where (linkId = 'EmCare.B7.DE03') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb7de03(src, tgt) "f2e89805";\r\n      } "8dded58a";\r\n    } "6d815194";\r\n  } "a2e85aba";\r\n  src.item first as item where (linkId = 'EmCare.B18S1.DE02') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb18s1de02(src, tgt) "25a99ee2";\r\n      } "9a78f7db";\r\n    } "94862cbd";\r\n  } "49e0dedf";\r\n  src.item first as item where (linkId = 'EmCare.B11S1.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb11s1de01(src, tgt) "43d4af59";\r\n      } "bfd970ae";\r\n    } "b8eb69b0";\r\n  } "e1f73648";\r\n  src.item first as item where (linkId = 'EmCare.B21S1.DE06') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb21s1de06(src, tgt) "4fe5485a";\r\n      } "c849765a";\r\n    } "ce9b0830";\r\n  } "919b4a1a";\r\n}\r\n\r\ngroup emcareobservationemcareb7de03(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb7de03";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B7.DE03' "code-emcareb7de03";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B7.DE03') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb7de03";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb7de03";\r\n    } "bdab9370";\r\n  } "4ef6d709";\r\n}\r\n\r\ngroup emcareobservationemcareb18s1de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb18s1de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B18S1.DE02' "code-emcareb18s1de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B18S1.DE02') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "da9e8c81";\r\n}\r\n\r\ngroup emcareobservationemcareb11s1de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb11s1de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B11S1.DE01' "code-emcareb11s1de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B11S1.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb11s1de01";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb11s1de01";\r\n    } "bdab9370";\r\n  } "7b8564b3";\r\n}\r\n\r\ngroup emcareobservationemcareb21s1de06(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb21s1de06";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B21S1.DE06' "code-emcareb21s1de06";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B21S1.DE06') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb21s1de06";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb21s1de06";\r\n    } "bdab9370";\r\n  } "54923cd5";\r\n}\r\n\r\n
" + "div": "
map "https://smart.who.int/ccc/StructureMap/Ccc.b18-21.symptoms.2m.m" = "Ccc.b18-21.symptoms.2m.m"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/observation" alias 'Observation' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/Cccobservation" alias 'Ccc Observation' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src.item first as item where (linkId = 'Ccc.B7.DE03') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb7de03(src, tgt) "f2e89805";\r\n      } "8dded58a";\r\n    } "6d815194";\r\n  } "a2e85aba";\r\n  src.item first as item where (linkId = 'Ccc.B18S1.DE02') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb18s1de02(src, tgt) "25a99ee2";\r\n      } "9a78f7db";\r\n    } "94862cbd";\r\n  } "49e0dedf";\r\n  src.item first as item where (linkId = 'Ccc.B11S1.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb11s1de01(src, tgt) "43d4af59";\r\n      } "bfd970ae";\r\n    } "b8eb69b0";\r\n  } "e1f73648";\r\n  src.item first as item where (linkId = 'Ccc.B21S1.DE06') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb21s1de06(src, tgt) "4fe5485a";\r\n      } "c849765a";\r\n    } "ce9b0830";\r\n  } "919b4a1a";\r\n}\r\n\r\ngroup CccobservationCccb7de03(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb7de03";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B7.DE03' "code-Cccb7de03";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B7.DE03') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb7de03";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb7de03";\r\n    } "bdab9370";\r\n  } "4ef6d709";\r\n}\r\n\r\ngroup CccobservationCccb18s1de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb18s1de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B18S1.DE02' "code-Cccb18s1de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B18S1.DE02') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "da9e8c81";\r\n}\r\n\r\ngroup CccobservationCccb11s1de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb11s1de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B11S1.DE01' "code-Cccb11s1de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B11S1.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb11s1de01";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb11s1de01";\r\n    } "bdab9370";\r\n  } "7b8564b3";\r\n}\r\n\r\ngroup CccobservationCccb21s1de06(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb21s1de06";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B21S1.DE06' "code-Cccb21s1de06";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B21S1.DE06') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb21s1de06";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb21s1de06";\r\n    } "bdab9370";\r\n  } "54923cd5";\r\n}\r\n\r\n
" }, - "url": "https://smart.who.int/ccc/StructureMap/emcare.b18-21.symptoms.2m.m", - "name": "emcare.b18-21.symptoms.2m.m", + "url": "https://smart.who.int/ccc/StructureMap/Ccc.b18-21.symptoms.2m.m", + "name": "Ccc.b18-21.symptoms.2m.m", "status": "active", "structure": [ { @@ -25,9 +25,9 @@ "alias": "'Observation'" }, { - "url": "https://smart.who.int/ccc/StructureDefinition/emcareobservation", + "url": "https://smart.who.int/ccc/StructureDefinition/Cccobservation", "mode": "produced", - "alias": "'EmCare Observation'" + "alias": "'Ccc Observation'" } ], "group": [ @@ -92,7 +92,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B7.DE03') and answer.exists()" + "condition": "(linkId = 'Ccc.B7.DE03') and answer.exists()" } ], "rule": [ @@ -200,7 +200,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb7de03", + "name": "CccobservationCccb7de03", "variable": [ "src", "tgt" @@ -222,7 +222,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B18S1.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B18S1.DE02') and answer.exists()" } ], "rule": [ @@ -330,7 +330,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb18s1de02", + "name": "CccobservationCccb18s1de02", "variable": [ "src", "tgt" @@ -352,7 +352,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B11S1.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B11S1.DE01') and answer.exists()" } ], "rule": [ @@ -460,7 +460,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb11s1de01", + "name": "CccobservationCccb11s1de01", "variable": [ "src", "tgt" @@ -482,7 +482,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S1.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S1.DE06') and answer.exists()" } ], "rule": [ @@ -590,7 +590,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb21s1de06", + "name": "CccobservationCccb21s1de06", "variable": [ "src", "tgt" @@ -607,7 +607,7 @@ ] }, { - "name": "emcareobservationemcareb7de03", + "name": "CccobservationCccb7de03", "typeMode": "none", "input": [ { @@ -621,7 +621,7 @@ ], "rule": [ { - "name": "id-emcareb7de03", + "name": "id-Cccb7de03", "source": [ { "context": "src" @@ -705,7 +705,7 @@ ] }, { - "name": "code-emcareb7de03", + "name": "code-Cccb7de03", "source": [ { "context": "src", @@ -744,7 +744,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -779,7 +779,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -790,7 +790,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B7.DE03" + "valueString": "Ccc.B7.DE03" } ] } @@ -876,7 +876,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B7.DE03') and answer.exists()" + "condition": "(linkId = 'Ccc.B7.DE03') and answer.exists()" } ], "rule": [ @@ -892,7 +892,7 @@ ], "rule": [ { - "name": "final-emcareb7de03", + "name": "final-Cccb7de03", "source": [ { "context": "a", @@ -925,7 +925,7 @@ ] }, { - "name": "notfound-emcareb7de03", + "name": "notfound-Cccb7de03", "source": [ { "context": "a", @@ -964,7 +964,7 @@ ] }, { - "name": "emcareobservationemcareb18s1de02", + "name": "CccobservationCccb18s1de02", "typeMode": "none", "input": [ { @@ -978,7 +978,7 @@ ], "rule": [ { - "name": "id-emcareb18s1de02", + "name": "id-Cccb18s1de02", "source": [ { "context": "src" @@ -1062,7 +1062,7 @@ ] }, { - "name": "code-emcareb18s1de02", + "name": "code-Cccb18s1de02", "source": [ { "context": "src", @@ -1101,7 +1101,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -1136,7 +1136,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -1147,7 +1147,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B18S1.DE02" + "valueString": "Ccc.B18S1.DE02" } ] } @@ -1233,7 +1233,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B18S1.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B18S1.DE02') and answer.exists()" } ], "rule": [ @@ -1334,7 +1334,7 @@ ] }, { - "name": "emcareobservationemcareb11s1de01", + "name": "CccobservationCccb11s1de01", "typeMode": "none", "input": [ { @@ -1348,7 +1348,7 @@ ], "rule": [ { - "name": "id-emcareb11s1de01", + "name": "id-Cccb11s1de01", "source": [ { "context": "src" @@ -1432,7 +1432,7 @@ ] }, { - "name": "code-emcareb11s1de01", + "name": "code-Cccb11s1de01", "source": [ { "context": "src", @@ -1471,7 +1471,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -1506,7 +1506,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -1517,7 +1517,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B11S1.DE01" + "valueString": "Ccc.B11S1.DE01" } ] } @@ -1603,7 +1603,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B11S1.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B11S1.DE01') and answer.exists()" } ], "rule": [ @@ -1619,7 +1619,7 @@ ], "rule": [ { - "name": "final-emcareb11s1de01", + "name": "final-Cccb11s1de01", "source": [ { "context": "a", @@ -1652,7 +1652,7 @@ ] }, { - "name": "notfound-emcareb11s1de01", + "name": "notfound-Cccb11s1de01", "source": [ { "context": "a", @@ -1691,7 +1691,7 @@ ] }, { - "name": "emcareobservationemcareb21s1de06", + "name": "CccobservationCccb21s1de06", "typeMode": "none", "input": [ { @@ -1705,7 +1705,7 @@ ], "rule": [ { - "name": "id-emcareb21s1de06", + "name": "id-Cccb21s1de06", "source": [ { "context": "src" @@ -1789,7 +1789,7 @@ ] }, { - "name": "code-emcareb21s1de06", + "name": "code-Cccb21s1de06", "source": [ { "context": "src", @@ -1828,7 +1828,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -1863,7 +1863,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -1874,7 +1874,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B21S1.DE06" + "valueString": "Ccc.B21S1.DE06" } ] } @@ -1960,7 +1960,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B21S1.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.B21S1.DE06') and answer.exists()" } ], "rule": [ @@ -1976,7 +1976,7 @@ ], "rule": [ { - "name": "final-emcareb21s1de06", + "name": "final-Cccb21s1de06", "source": [ { "context": "a", @@ -2009,7 +2009,7 @@ ] }, { - "name": "notfound-emcareb21s1de06", + "name": "notfound-Cccb21s1de06", "source": [ { "context": "a", diff --git a/input/resources/structuremap/structuremap-emcare.b22.assessmentstests.json b/input/resources/structuremap/structuremap-Ccc.b22.assessmentstests.json similarity index 89% rename from input/resources/structuremap/structuremap-emcare.b22.assessmentstests.json rename to input/resources/structuremap/structuremap-Ccc.b22.assessmentstests.json index 9060b2df..a0a20ae3 100644 --- a/input/resources/structuremap/structuremap-emcare.b22.assessmentstests.json +++ b/input/resources/structuremap/structuremap-Ccc.b22.assessmentstests.json @@ -1,12 +1,12 @@ { "resourceType": "StructureMap", - "id": "emcare.b22.assessmentstests", + "id": "Ccc.b22.assessmentstests", "text": { "status": "generated", - "div": "
map "https://smart.who.int/ccc/StructureMap/emcare.b22.assessmentstests" = "emcare.b22.assessmentstests"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/observation" alias 'Observation' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/emcareobservation" alias 'EmCare Observation' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE01') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de01(src, tgt) "94788d70";\r\n        } "cafa1f90";\r\n      } "44017cb3";\r\n    } "1c5108b8";\r\n  } "88bb5c43";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE02') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de02(src, tgt) "c3e885af";\r\n        } "60b301de";\r\n      } "815e425c";\r\n    } "85d3c3a3";\r\n  } "c7e0dbc2";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then {\r\n    itm1.item first as itm2 where linkId = 'second' then {\r\n      itm2.item first as item where (linkId = 'EmCare.B22.DE04') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src -> tgt then emcareobservationemcareb22de04(src, tgt) "42ed4c3a";\r\n          } "b802d4a2";\r\n        } "c7431f4f";\r\n      } "ad5094ed";\r\n    } "3b2e9629";\r\n  } "318dfe75";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then {\r\n    itm1.item first as itm2 where linkId = 'second' then {\r\n      itm2.item first as item where (linkId = 'EmCare.B22.DE05') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src -> tgt then emcareobservationemcareb22de05(src, tgt) "3be4cd34";\r\n          } "b7585bc2";\r\n        } "61b1a5c6";\r\n      } "d9d928a7";\r\n    } "9853d168";\r\n  } "c21c2c7c";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE07') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de07(src, tgt) "fa30cee1";\r\n        } "aad75965";\r\n      } "8267defb";\r\n    } "a2eebe03";\r\n  } "7ef76f25";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.FluidTest' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE08') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de08(src, tgt) "d34db40c";\r\n        } "bd8403a6";\r\n      } "09eb3e1a";\r\n    } "1b0282c4";\r\n  } "38d251fb";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.FluidTest' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE14') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de14(src, tgt) "128f555c";\r\n        } "2cba61ee";\r\n      } "1eb502ac";\r\n    } "b29de87e";\r\n  } "83edc111";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.FluidTest' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE14a') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de14a(src, tgt) "7b46291c";\r\n        } "17f1508c";\r\n      } "64f82f5e";\r\n    } "37f27338";\r\n  } "e265d4b9";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.FluidTest' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE15') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de15(src, tgt) "0d25d61c";\r\n        } "49095bbf";\r\n      } "7ffa5829";\r\n    } "fe87fcb7";\r\n  } "5149a74c";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.FluidTest' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE16') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de16(src, tgt) "2bef72fa";\r\n        } "f426fdde";\r\n      } "f53bf22c";\r\n    } "e18b8f07";\r\n  } "5b507a5c";\r\n  src where src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE18') then {\r\n    src.item first as itm1 where linkId = 'EmCare.B22.BronchodilatorTest' then {\r\n      itm1.item first as item where (linkId = 'EmCare.B22.DE17') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src then emcareobservationemcareb22de17emcareb22de18t(src, tgt) "4b4e3882";\r\n          } "a29f448d";\r\n        } "8c5fbec1";\r\n      } "34815add";\r\n    } "a5dcb8ca";\r\n  } "ea50860d";\r\n  src where src.item.where(linkId = 'EmCare.B22.DE17').exists() and src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE18').empty() then {\r\n    src.item first as itm1 where linkId = 'EmCare.B22.BronchodilatorTest' then {\r\n      itm1.item first as item where (linkId = 'EmCare.B22.DE17') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src then emcareobservationemcareb22de17emcareb22de18f(src, tgt) "4fd23ec4";\r\n          } "e477bbcc";\r\n        } "c329f1a7";\r\n      } "05305e3f";\r\n    } "b43560b2";\r\n  } "b2efd7b0";\r\n  src where src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE19') then {\r\n    src.item first as itm1 where linkId = 'EmCare.B22.BronchodilatorTest' then {\r\n      itm1.item first as item where (linkId = 'EmCare.B22.DE17') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src then emcareobservationemcareb22de17emcareb22de19t(src, tgt) "832556c2";\r\n          } "25d864fa";\r\n        } "d659dd64";\r\n      } "b4d55b8a";\r\n    } "427a7e63";\r\n  } "bb829570";\r\n  src where src.item.where(linkId = 'EmCare.B22.DE17').exists() and src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE19').empty() then {\r\n    src.item first as itm1 where linkId = 'EmCare.B22.BronchodilatorTest' then {\r\n      itm1.item first as item where (linkId = 'EmCare.B22.DE17') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src then emcareobservationemcareb22de17emcareb22de19f(src, tgt) "917126ea";\r\n          } "4d341549";\r\n        } "7cf5a310";\r\n      } "f627de60";\r\n    } "b50887e7";\r\n  } "65731df1";\r\n  src where src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE20') then {\r\n    src.item first as itm1 where linkId = 'EmCare.B22.BronchodilatorTest' then {\r\n      itm1.item first as item where (linkId = 'EmCare.B22.DE17') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src then emcareobservationemcareb22de17emcareb22de20t(src, tgt) "178da581";\r\n          } "1e80b046";\r\n        } "d67193a2";\r\n      } "43435fc6";\r\n    } "663fb49d";\r\n  } "720e8bc9";\r\n  src where src.item.where(linkId = 'EmCare.B22.DE17').exists() and src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE20').empty() then {\r\n    src.item first as itm1 where linkId = 'EmCare.B22.BronchodilatorTest' then {\r\n      itm1.item first as item where (linkId = 'EmCare.B22.DE17') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src then emcareobservationemcareb22de17emcareb22de20f(src, tgt) "4fa88d49";\r\n          } "30a84474";\r\n        } "25416983";\r\n      } "6a7e0a13";\r\n    } "16556d1c";\r\n  } "ddaf5ab3";\r\n  src where src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE21') then {\r\n    src.item first as itm1 where linkId = 'EmCare.B22.BronchodilatorTest' then {\r\n      itm1.item first as item where (linkId = 'EmCare.B22.DE17') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src then emcareobservationemcareb22de17emcareb22de21t(src, tgt) "628bfa1d";\r\n          } "0bf9d78c";\r\n        } "b0fa129e";\r\n      } "32b27262";\r\n    } "9c9cb9cf";\r\n  } "c28d7273";\r\n  src where src.item.where(linkId = 'EmCare.B22.DE17').exists() and src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE21').empty() then {\r\n    src.item first as itm1 where linkId = 'EmCare.B22.BronchodilatorTest' then {\r\n      itm1.item first as item where (linkId = 'EmCare.B22.DE17') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src then emcareobservationemcareb22de17emcareb22de21f(src, tgt) "f42ef3e7";\r\n          } "65279195";\r\n        } "954bbaec";\r\n      } "db19cd6e";\r\n    } "a57951b9";\r\n  } "00b8d186";\r\n  src where src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE22') then {\r\n    src.item first as itm1 where linkId = 'EmCare.B22.BronchodilatorTest' then {\r\n      itm1.item first as item where (linkId = 'EmCare.B22.DE17') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src then emcareobservationemcareb22de17emcareb22de22t(src, tgt) "a1caf2e7";\r\n          } "cea3f121";\r\n        } "f3d4e5ff";\r\n      } "b7ccc20a";\r\n    } "a057c365";\r\n  } "6bf6c194";\r\n  src where src.item.where(linkId = 'EmCare.B22.DE17').exists() and src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE22').empty() then {\r\n    src.item first as itm1 where linkId = 'EmCare.B22.BronchodilatorTest' then {\r\n      itm1.item first as item where (linkId = 'EmCare.B22.DE17') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src then emcareobservationemcareb22de17emcareb22de22f(src, tgt) "df402cb9";\r\n          } "a7736492";\r\n        } "0fd648ea";\r\n      } "708ba8cc";\r\n    } "141fcb13";\r\n  } "0a2cfb8c";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.BronchodilatorTest' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE22') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de22(src, tgt) "b9010fac";\r\n        } "109bcf94";\r\n      } "88ceffcd";\r\n    } "f6b5295e";\r\n  } "ff982ab4";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.BronchodilatorTest' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE21') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de21(src, tgt) "7c45409d";\r\n        } "ec6cbc70";\r\n      } "2bc763d0";\r\n    } "08d4fa9d";\r\n  } "dbbe5168";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE41') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de41(src, tgt) "35802f20";\r\n        } "765c240d";\r\n      } "9de4a229";\r\n    } "95a734dc";\r\n  } "e0648fb3";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE28') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de28(src, tgt) "dd9106b0";\r\n        } "72695e81";\r\n      } "5cc117e5";\r\n    } "72d43aa2";\r\n  } "2eb0afb7";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE29') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de29(src, tgt) "0bd03bad";\r\n        } "64565ab8";\r\n      } "a568a312";\r\n    } "c9435680";\r\n  } "532862db";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE30') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de30(src, tgt) "a8dbbfa4";\r\n        } "470a9773";\r\n      } "6aff1bf2";\r\n    } "58ef8f91";\r\n  } "d3925452";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE31') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de31(src, tgt) "3a858f1f";\r\n        } "bab0e868";\r\n      } "47ecf4e4";\r\n    } "adf0b112";\r\n  } "800f010d";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE32') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de32(src, tgt) "5537f1d1";\r\n        } "38fb811c";\r\n      } "77934152";\r\n    } "07d1a84a";\r\n  } "41f81bdf";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE33') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de33(src, tgt) "b9ca07b3";\r\n        } "e7981b54";\r\n      } "b81929fc";\r\n    } "65ea8f25";\r\n  } "92c89def";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE34') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de34(src, tgt) "81a7b6a0";\r\n        } "a60a44da";\r\n      } "9f5867b0";\r\n    } "7a811ac1";\r\n  } "c95a75ed";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE35') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de35(src, tgt) "99cdb2a9";\r\n        } "7976f991";\r\n      } "6b8eb7c7";\r\n    } "b3f8de08";\r\n  } "4d431e35";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE36') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de36(src, tgt) "5d275331";\r\n        } "cec8e27b";\r\n      } "e67b8382";\r\n    } "a45c350b";\r\n  } "3cf7714c";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE42') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de42(src, tgt) "273b1a16";\r\n        } "213a0dca";\r\n      } "56a5bbd9";\r\n    } "d7b806aa";\r\n  } "840b2bb8";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE44') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de44(src, tgt) "843d7b1e";\r\n        } "70061b03";\r\n      } "0e593cb2";\r\n    } "f7138270";\r\n  } "3f3d258e";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.Hemoglobin' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE81') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de81(src, tgt) "f56b8d65";\r\n        } "42cac8d1";\r\n      } "00ff1e0b";\r\n    } "12925695";\r\n  } "c39fe6fd";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.Hemoglobin' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE82') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de82(src, tgt) "1118b2e0";\r\n        } "565f125e";\r\n      } "cc5012ad";\r\n    } "ebd0ce98";\r\n  } "26935d1f";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.SecondTemperature' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE47') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de47(src, tgt) "27e1ae58";\r\n        } "68ad31bf";\r\n      } "6ac0c1c9";\r\n    } "39718bc0";\r\n  } "9b034abe";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.SecondTemperature' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE46') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de46(src, tgt) "d4ea6333";\r\n        } "1ee0adeb";\r\n      } "9266b262";\r\n    } "47f73f1e";\r\n  } "20d6b9bb";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.SecondTemperature' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE50') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de50(src, tgt) "b5c48578";\r\n        } "1d3deeec";\r\n      } "82120e52";\r\n    } "618f3cba";\r\n  } "f1772432";\r\n}\r\n\r\ngroup emcareobservationemcareb22de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE01' "code-emcareb22de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE01') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n      } "d40466ff";\r\n    } "e1cd1fa1";\r\n  } "ad8e4fa6";\r\n}\r\n\r\ngroup emcareobservationemcareb22de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE02' "code-emcareb22de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE02') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val then {\r\n          val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n        } "26c2c8c7";\r\n      } "721205d5";\r\n    } "38b3c27b";\r\n  } "5b046e45";\r\n}\r\n\r\ngroup emcareobservationemcareb22de04(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de04";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE04' "code-emcareb22de04";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then {\r\n    itm1.item first as itm2 where linkId = 'second' then {\r\n      itm2.item first as item where (linkId = 'EmCare.B22.DE04') and answer.exists() then {\r\n        item.answer first as a then {\r\n          a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n        } "d40466ff";\r\n      } "f66ca63f";\r\n    } "1b837896";\r\n  } "6b3a0b06";\r\n}\r\n\r\ngroup emcareobservationemcareb22de05(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de05";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE05' "code-emcareb22de05";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then {\r\n    itm1.item first as itm2 where linkId = 'second' then {\r\n      itm2.item first as item where (linkId = 'EmCare.B22.DE05') and answer.exists() then {\r\n        item.answer first as a then {\r\n          a.value as val then {\r\n            val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n          } "26c2c8c7";\r\n        } "721205d5";\r\n      } "48a81a4f";\r\n    } "9322cbb7";\r\n  } "ed73ec89";\r\n}\r\n\r\ngroup emcareobservationemcareb22de07(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de07";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE07' "code-emcareb22de07";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE07') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de07";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de07";\r\n      } "bdab9370";\r\n    } "b5e73929";\r\n  } "306838ed";\r\n}\r\n\r\ngroup emcareobservationemcareb22de08(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de08";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE08' "code-emcareb22de08";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.FluidTest' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE08') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val then {\r\n          val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n          val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n        } "310f4b1f";\r\n      } "6af9bfcc";\r\n    } "3b9ba04d";\r\n  } "6d73c74e";\r\n}\r\n\r\ngroup emcareobservationemcareb22de14(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de14";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE14' "code-emcareb22de14";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.FluidTest' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE14') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val then {\r\n          val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n        } "26c2c8c7";\r\n      } "721205d5";\r\n    } "55651876";\r\n  } "5bdf34bc";\r\n}\r\n\r\ngroup emcareobservationemcareb22de14a(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de14a";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE14a' "code-emcareb22de14a";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.FluidTest' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE14a') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de14a";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de14a";\r\n      } "bdab9370";\r\n    } "e332bfd7";\r\n  } "1a47ca2a";\r\n}\r\n\r\ngroup emcareobservationemcareb22de15(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de15";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE15' "code-emcareb22de15";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.FluidTest' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE15') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de15";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de15";\r\n      } "bdab9370";\r\n    } "166040b8";\r\n  } "e23593aa";\r\n}\r\n\r\ngroup emcareobservationemcareb22de16(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de16";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE16' "code-emcareb22de16";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.FluidTest' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE16') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val then {\r\n          val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n          val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n        } "310f4b1f";\r\n      } "6af9bfcc";\r\n    } "b1dde0d2";\r\n  } "b36b8a09";\r\n}\r\n\r\ngroup emcareobservationemcareb22de17emcareb22de18t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb22de17emcareb22de18t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE17&EmCare.B22.DE18' "code-emcareobservationemcareb22de17emcareb22de18t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup emcareobservationemcareb22de17emcareb22de18f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb22de17emcareb22de18f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE17&EmCare.B22.DE18' "code-emcareobservationemcareb22de17emcareb22de18f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup emcareobservationemcareb22de17emcareb22de19t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb22de17emcareb22de19t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE17&EmCare.B22.DE19' "code-emcareobservationemcareb22de17emcareb22de19t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup emcareobservationemcareb22de17emcareb22de19f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb22de17emcareb22de19f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE17&EmCare.B22.DE19' "code-emcareobservationemcareb22de17emcareb22de19f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup emcareobservationemcareb22de17emcareb22de20t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb22de17emcareb22de20t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE17&EmCare.B22.DE20' "code-emcareobservationemcareb22de17emcareb22de20t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup emcareobservationemcareb22de17emcareb22de20f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb22de17emcareb22de20f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE17&EmCare.B22.DE20' "code-emcareobservationemcareb22de17emcareb22de20f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup emcareobservationemcareb22de17emcareb22de21t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb22de17emcareb22de21t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE17&EmCare.B22.DE21' "code-emcareobservationemcareb22de17emcareb22de21t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup emcareobservationemcareb22de17emcareb22de21f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb22de17emcareb22de21f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE17&EmCare.B22.DE21' "code-emcareobservationemcareb22de17emcareb22de21f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup emcareobservationemcareb22de17emcareb22de22t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb22de17emcareb22de22t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE17&EmCare.B22.DE22' "code-emcareobservationemcareb22de17emcareb22de22t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup emcareobservationemcareb22de17emcareb22de22f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb22de17emcareb22de22f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE17&EmCare.B22.DE22' "code-emcareobservationemcareb22de17emcareb22de22f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup emcareobservationemcareb22de22(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de22";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE22' "code-emcareb22de22";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.BronchodilatorTest' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE22') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val then {\r\n          val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n        } "26c2c8c7";\r\n      } "721205d5";\r\n    } "3e1d6082";\r\n  } "e1414539";\r\n}\r\n\r\ngroup emcareobservationemcareb22de21(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de21";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE21' "code-emcareb22de21";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.BronchodilatorTest' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE21') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de21";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de21";\r\n      } "bdab9370";\r\n    } "36586abf";\r\n  } "a412e00a";\r\n}\r\n\r\ngroup emcareobservationemcareb22de41(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de41";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE41' "code-emcareb22de41";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE41') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val then {\r\n          val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n        } "26c2c8c7";\r\n      } "721205d5";\r\n    } "6df944ed";\r\n  } "d888a973";\r\n}\r\n\r\ngroup emcareobservationemcareb22de28(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de28";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE28' "code-emcareb22de28";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE28') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de28";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de28";\r\n      } "bdab9370";\r\n    } "58c52233";\r\n  } "aad3db2c";\r\n}\r\n\r\ngroup emcareobservationemcareb22de29(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de29";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE29' "code-emcareb22de29";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE29') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de29";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de29";\r\n      } "bdab9370";\r\n    } "95a367de";\r\n  } "960d28f0";\r\n}\r\n\r\ngroup emcareobservationemcareb22de30(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de30";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE30' "code-emcareb22de30";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE30') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de30";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de30";\r\n      } "bdab9370";\r\n    } "c3834bca";\r\n  } "3b102368";\r\n}\r\n\r\ngroup emcareobservationemcareb22de31(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de31";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE31' "code-emcareb22de31";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE31') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de31";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de31";\r\n      } "bdab9370";\r\n    } "bb8ba529";\r\n  } "9e9be797";\r\n}\r\n\r\ngroup emcareobservationemcareb22de32(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de32";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE32' "code-emcareb22de32";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE32') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de32";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de32";\r\n      } "bdab9370";\r\n    } "4adca3b8";\r\n  } "59b588e0";\r\n}\r\n\r\ngroup emcareobservationemcareb22de33(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de33";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE33' "code-emcareb22de33";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE33') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de33";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de33";\r\n      } "bdab9370";\r\n    } "ba6b3c81";\r\n  } "56745630";\r\n}\r\n\r\ngroup emcareobservationemcareb22de34(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de34";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE34' "code-emcareb22de34";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE34') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de34";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de34";\r\n      } "bdab9370";\r\n    } "a958300a";\r\n  } "f384d1b9";\r\n}\r\n\r\ngroup emcareobservationemcareb22de35(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de35";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE35' "code-emcareb22de35";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE35') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de35";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de35";\r\n      } "bdab9370";\r\n    } "9412283c";\r\n  } "5ed5ea0e";\r\n}\r\n\r\ngroup emcareobservationemcareb22de36(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb22de36";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE36' "code-emcareobservationemcareb22de36";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE36') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where value = 'Not well Attached to Breast', a.value as val then {\r\n          val ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = create('Coding') as c,  c.code = EmCare.B22.DE37,  c.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  tgt.status = 'final' "71afb672";\r\n        } "a53091ee";\r\n        a where value = 'Good Attachment', a.value as val then {\r\n          val ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = create('Coding') as c,  c.code = EmCare.B22.DE38,  c.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  tgt.status = 'final' "3053aa3e";\r\n        } "239a32e6";\r\n        a where value = 'Not Sucking Effectively', a.value as val then {\r\n          val ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = create('Coding') as c,  c.code = EmCare.B22.DE39,  c.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  tgt.status = 'final' "0e60e5cc";\r\n        } "ae925fc5";\r\n        a where value = 'Sucking Effectively', a.value as val then {\r\n          val ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = create('Coding') as c,  c.code = EmCare.B22.DE40,  c.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  tgt.status = 'final' "5eeaf122";\r\n        } "714e8fb5";\r\n      } "bd419d51";\r\n    } "713debc5";\r\n  } "b4145e76";\r\n}\r\n\r\ngroup emcareobservationemcareb22de42(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de42";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE42' "code-emcareb22de42";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE42') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de42";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de42";\r\n      } "bdab9370";\r\n    } "3dcc04b3";\r\n  } "0d852c2e";\r\n}\r\n\r\ngroup emcareobservationemcareb22de44(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de44";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE44' "code-emcareb22de44";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE44') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de44";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de44";\r\n      } "bdab9370";\r\n    } "d4bad53b";\r\n  } "fbdc7921";\r\n}\r\n\r\ngroup emcareobservationemcareb22de81(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de81";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE81' "code-emcareb22de81";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.Hemoglobin' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE81') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n      } "d40466ff";\r\n    } "185ffa99";\r\n  } "44836ba1";\r\n}\r\n\r\ngroup emcareobservationemcareb22de82(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de82";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE82' "code-emcareb22de82";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.Hemoglobin' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE82') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val then {\r\n          val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n        } "26c2c8c7";\r\n      } "721205d5";\r\n    } "29107a72";\r\n  } "7485a680";\r\n}\r\n\r\ngroup emcareobservationemcareb22de47(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de47";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE47' "code-emcareb22de47";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.SecondTemperature' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE47') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n      } "d40466ff";\r\n    } "10fc9c80";\r\n  } "932aad6b";\r\n}\r\n\r\ngroup emcareobservationemcareb22de46(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de46";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE46' "code-emcareb22de46";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.SecondTemperature' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE46') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val then {\r\n          val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n        } "26c2c8c7";\r\n      } "721205d5";\r\n    } "b66a0bcd";\r\n  } "b937d546";\r\n}\r\n\r\ngroup emcareobservationemcareb22de50(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de50";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE50' "code-emcareb22de50";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'EmCare.B22.SecondTemperature' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE50') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val then {\r\n          val ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = create('Coding') as c,  c.code = val,  c.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  tgt.status = 'final' "759a9a54";\r\n        } "1b820ab0";\r\n      } "d39f9088";\r\n    } "336c73e3";\r\n  } "3bf9ecd0";\r\n}\r\n\r\n
" + "div": "
map "https://smart.who.int/ccc/StructureMap/Ccc.b22.assessmentstests" = "Ccc.b22.assessmentstests"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/observation" alias 'Observation' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/Cccobservation" alias 'Ccc Observation' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE01') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de01(src, tgt) "94788d70";\r\n        } "cafa1f90";\r\n      } "44017cb3";\r\n    } "1c5108b8";\r\n  } "88bb5c43";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE02') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de02(src, tgt) "c3e885af";\r\n        } "60b301de";\r\n      } "815e425c";\r\n    } "85d3c3a3";\r\n  } "c7e0dbc2";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as itm2 where linkId = 'second' then {\r\n      itm2.item first as item where (linkId = 'Ccc.B22.DE04') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src -> tgt then CccobservationCccb22de04(src, tgt) "42ed4c3a";\r\n          } "b802d4a2";\r\n        } "c7431f4f";\r\n      } "ad5094ed";\r\n    } "3b2e9629";\r\n  } "318dfe75";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as itm2 where linkId = 'second' then {\r\n      itm2.item first as item where (linkId = 'Ccc.B22.DE05') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src -> tgt then CccobservationCccb22de05(src, tgt) "3be4cd34";\r\n          } "b7585bc2";\r\n        } "61b1a5c6";\r\n      } "d9d928a7";\r\n    } "9853d168";\r\n  } "c21c2c7c";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE07') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de07(src, tgt) "fa30cee1";\r\n        } "aad75965";\r\n      } "8267defb";\r\n    } "a2eebe03";\r\n  } "7ef76f25";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.FluidTest' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE08') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de08(src, tgt) "d34db40c";\r\n        } "bd8403a6";\r\n      } "09eb3e1a";\r\n    } "1b0282c4";\r\n  } "38d251fb";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.FluidTest' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE14') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de14(src, tgt) "128f555c";\r\n        } "2cba61ee";\r\n      } "1eb502ac";\r\n    } "b29de87e";\r\n  } "83edc111";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.FluidTest' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE14a') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de14a(src, tgt) "7b46291c";\r\n        } "17f1508c";\r\n      } "64f82f5e";\r\n    } "37f27338";\r\n  } "e265d4b9";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.FluidTest' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE15') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de15(src, tgt) "0d25d61c";\r\n        } "49095bbf";\r\n      } "7ffa5829";\r\n    } "fe87fcb7";\r\n  } "5149a74c";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.FluidTest' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE16') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de16(src, tgt) "2bef72fa";\r\n        } "f426fdde";\r\n      } "f53bf22c";\r\n    } "e18b8f07";\r\n  } "5b507a5c";\r\n  src where src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE18') then {\r\n    src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then {\r\n      itm1.item first as item where (linkId = 'Ccc.B22.DE17') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src then CccobservationCccb22de17Cccb22de18t(src, tgt) "4b4e3882";\r\n          } "a29f448d";\r\n        } "8c5fbec1";\r\n      } "34815add";\r\n    } "a5dcb8ca";\r\n  } "ea50860d";\r\n  src where src.item.where(linkId = 'Ccc.B22.DE17').exists() and src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE18').empty() then {\r\n    src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then {\r\n      itm1.item first as item where (linkId = 'Ccc.B22.DE17') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src then CccobservationCccb22de17Cccb22de18f(src, tgt) "4fd23ec4";\r\n          } "e477bbcc";\r\n        } "c329f1a7";\r\n      } "05305e3f";\r\n    } "b43560b2";\r\n  } "b2efd7b0";\r\n  src where src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE19') then {\r\n    src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then {\r\n      itm1.item first as item where (linkId = 'Ccc.B22.DE17') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src then CccobservationCccb22de17Cccb22de19t(src, tgt) "832556c2";\r\n          } "25d864fa";\r\n        } "d659dd64";\r\n      } "b4d55b8a";\r\n    } "427a7e63";\r\n  } "bb829570";\r\n  src where src.item.where(linkId = 'Ccc.B22.DE17').exists() and src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE19').empty() then {\r\n    src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then {\r\n      itm1.item first as item where (linkId = 'Ccc.B22.DE17') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src then CccobservationCccb22de17Cccb22de19f(src, tgt) "917126ea";\r\n          } "4d341549";\r\n        } "7cf5a310";\r\n      } "f627de60";\r\n    } "b50887e7";\r\n  } "65731df1";\r\n  src where src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE20') then {\r\n    src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then {\r\n      itm1.item first as item where (linkId = 'Ccc.B22.DE17') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src then CccobservationCccb22de17Cccb22de20t(src, tgt) "178da581";\r\n          } "1e80b046";\r\n        } "d67193a2";\r\n      } "43435fc6";\r\n    } "663fb49d";\r\n  } "720e8bc9";\r\n  src where src.item.where(linkId = 'Ccc.B22.DE17').exists() and src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE20').empty() then {\r\n    src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then {\r\n      itm1.item first as item where (linkId = 'Ccc.B22.DE17') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src then CccobservationCccb22de17Cccb22de20f(src, tgt) "4fa88d49";\r\n          } "30a84474";\r\n        } "25416983";\r\n      } "6a7e0a13";\r\n    } "16556d1c";\r\n  } "ddaf5ab3";\r\n  src where src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE21') then {\r\n    src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then {\r\n      itm1.item first as item where (linkId = 'Ccc.B22.DE17') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src then CccobservationCccb22de17Cccb22de21t(src, tgt) "628bfa1d";\r\n          } "0bf9d78c";\r\n        } "b0fa129e";\r\n      } "32b27262";\r\n    } "9c9cb9cf";\r\n  } "c28d7273";\r\n  src where src.item.where(linkId = 'Ccc.B22.DE17').exists() and src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE21').empty() then {\r\n    src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then {\r\n      itm1.item first as item where (linkId = 'Ccc.B22.DE17') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src then CccobservationCccb22de17Cccb22de21f(src, tgt) "f42ef3e7";\r\n          } "65279195";\r\n        } "954bbaec";\r\n      } "db19cd6e";\r\n    } "a57951b9";\r\n  } "00b8d186";\r\n  src where src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE22') then {\r\n    src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then {\r\n      itm1.item first as item where (linkId = 'Ccc.B22.DE17') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src then CccobservationCccb22de17Cccb22de22t(src, tgt) "a1caf2e7";\r\n          } "cea3f121";\r\n        } "f3d4e5ff";\r\n      } "b7ccc20a";\r\n    } "a057c365";\r\n  } "6bf6c194";\r\n  src where src.item.where(linkId = 'Ccc.B22.DE17').exists() and src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE22').empty() then {\r\n    src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then {\r\n      itm1.item first as item where (linkId = 'Ccc.B22.DE17') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src then CccobservationCccb22de17Cccb22de22f(src, tgt) "df402cb9";\r\n          } "a7736492";\r\n        } "0fd648ea";\r\n      } "708ba8cc";\r\n    } "141fcb13";\r\n  } "0a2cfb8c";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE22') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de22(src, tgt) "b9010fac";\r\n        } "109bcf94";\r\n      } "88ceffcd";\r\n    } "f6b5295e";\r\n  } "ff982ab4";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE21') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de21(src, tgt) "7c45409d";\r\n        } "ec6cbc70";\r\n      } "2bc763d0";\r\n    } "08d4fa9d";\r\n  } "dbbe5168";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE41') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de41(src, tgt) "35802f20";\r\n        } "765c240d";\r\n      } "9de4a229";\r\n    } "95a734dc";\r\n  } "e0648fb3";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE28') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de28(src, tgt) "dd9106b0";\r\n        } "72695e81";\r\n      } "5cc117e5";\r\n    } "72d43aa2";\r\n  } "2eb0afb7";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE29') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de29(src, tgt) "0bd03bad";\r\n        } "64565ab8";\r\n      } "a568a312";\r\n    } "c9435680";\r\n  } "532862db";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE30') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de30(src, tgt) "a8dbbfa4";\r\n        } "470a9773";\r\n      } "6aff1bf2";\r\n    } "58ef8f91";\r\n  } "d3925452";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE31') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de31(src, tgt) "3a858f1f";\r\n        } "bab0e868";\r\n      } "47ecf4e4";\r\n    } "adf0b112";\r\n  } "800f010d";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE32') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de32(src, tgt) "5537f1d1";\r\n        } "38fb811c";\r\n      } "77934152";\r\n    } "07d1a84a";\r\n  } "41f81bdf";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE33') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de33(src, tgt) "b9ca07b3";\r\n        } "e7981b54";\r\n      } "b81929fc";\r\n    } "65ea8f25";\r\n  } "92c89def";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE34') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de34(src, tgt) "81a7b6a0";\r\n        } "a60a44da";\r\n      } "9f5867b0";\r\n    } "7a811ac1";\r\n  } "c95a75ed";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE35') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de35(src, tgt) "99cdb2a9";\r\n        } "7976f991";\r\n      } "6b8eb7c7";\r\n    } "b3f8de08";\r\n  } "4d431e35";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE36') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de36(src, tgt) "5d275331";\r\n        } "cec8e27b";\r\n      } "e67b8382";\r\n    } "a45c350b";\r\n  } "3cf7714c";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE42') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de42(src, tgt) "273b1a16";\r\n        } "213a0dca";\r\n      } "56a5bbd9";\r\n    } "d7b806aa";\r\n  } "840b2bb8";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE44') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de44(src, tgt) "843d7b1e";\r\n        } "70061b03";\r\n      } "0e593cb2";\r\n    } "f7138270";\r\n  } "3f3d258e";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.Hemoglobin' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE81') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de81(src, tgt) "f56b8d65";\r\n        } "42cac8d1";\r\n      } "00ff1e0b";\r\n    } "12925695";\r\n  } "c39fe6fd";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.Hemoglobin' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE82') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de82(src, tgt) "1118b2e0";\r\n        } "565f125e";\r\n      } "cc5012ad";\r\n    } "ebd0ce98";\r\n  } "26935d1f";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.SecondTemperature' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE47') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de47(src, tgt) "27e1ae58";\r\n        } "68ad31bf";\r\n      } "6ac0c1c9";\r\n    } "39718bc0";\r\n  } "9b034abe";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.SecondTemperature' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE46') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de46(src, tgt) "d4ea6333";\r\n        } "1ee0adeb";\r\n      } "9266b262";\r\n    } "47f73f1e";\r\n  } "20d6b9bb";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.SecondTemperature' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE50') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de50(src, tgt) "b5c48578";\r\n        } "1d3deeec";\r\n      } "82120e52";\r\n    } "618f3cba";\r\n  } "f1772432";\r\n}\r\n\r\ngroup CccobservationCccb22de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE01' "code-Cccb22de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE01') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n      } "d40466ff";\r\n    } "e1cd1fa1";\r\n  } "ad8e4fa6";\r\n}\r\n\r\ngroup CccobservationCccb22de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE02' "code-Cccb22de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE02') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val then {\r\n          val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n        } "26c2c8c7";\r\n      } "721205d5";\r\n    } "38b3c27b";\r\n  } "5b046e45";\r\n}\r\n\r\ngroup CccobservationCccb22de04(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de04";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE04' "code-Cccb22de04";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as itm2 where linkId = 'second' then {\r\n      itm2.item first as item where (linkId = 'Ccc.B22.DE04') and answer.exists() then {\r\n        item.answer first as a then {\r\n          a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n        } "d40466ff";\r\n      } "f66ca63f";\r\n    } "1b837896";\r\n  } "6b3a0b06";\r\n}\r\n\r\ngroup CccobservationCccb22de05(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de05";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE05' "code-Cccb22de05";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as itm2 where linkId = 'second' then {\r\n      itm2.item first as item where (linkId = 'Ccc.B22.DE05') and answer.exists() then {\r\n        item.answer first as a then {\r\n          a.value as val then {\r\n            val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n          } "26c2c8c7";\r\n        } "721205d5";\r\n      } "48a81a4f";\r\n    } "9322cbb7";\r\n  } "ed73ec89";\r\n}\r\n\r\ngroup CccobservationCccb22de07(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de07";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE07' "code-Cccb22de07";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE07') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de07";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de07";\r\n      } "bdab9370";\r\n    } "b5e73929";\r\n  } "306838ed";\r\n}\r\n\r\ngroup CccobservationCccb22de08(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de08";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE08' "code-Cccb22de08";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.FluidTest' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE08') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val then {\r\n          val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n          val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n        } "310f4b1f";\r\n      } "6af9bfcc";\r\n    } "3b9ba04d";\r\n  } "6d73c74e";\r\n}\r\n\r\ngroup CccobservationCccb22de14(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de14";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE14' "code-Cccb22de14";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.FluidTest' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE14') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val then {\r\n          val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n        } "26c2c8c7";\r\n      } "721205d5";\r\n    } "55651876";\r\n  } "5bdf34bc";\r\n}\r\n\r\ngroup CccobservationCccb22de14a(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de14a";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE14a' "code-Cccb22de14a";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.FluidTest' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE14a') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de14a";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de14a";\r\n      } "bdab9370";\r\n    } "e332bfd7";\r\n  } "1a47ca2a";\r\n}\r\n\r\ngroup CccobservationCccb22de15(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de15";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE15' "code-Cccb22de15";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.FluidTest' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE15') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de15";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de15";\r\n      } "bdab9370";\r\n    } "166040b8";\r\n  } "e23593aa";\r\n}\r\n\r\ngroup CccobservationCccb22de16(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de16";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE16' "code-Cccb22de16";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.FluidTest' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE16') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val then {\r\n          val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n          val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n        } "310f4b1f";\r\n      } "6af9bfcc";\r\n    } "b1dde0d2";\r\n  } "b36b8a09";\r\n}\r\n\r\ngroup CccobservationCccb22de17Cccb22de18t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb22de17Cccb22de18t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE17&Ccc.B22.DE18' "code-CccobservationCccb22de17Cccb22de18t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup CccobservationCccb22de17Cccb22de18f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb22de17Cccb22de18f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE17&Ccc.B22.DE18' "code-CccobservationCccb22de17Cccb22de18f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup CccobservationCccb22de17Cccb22de19t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb22de17Cccb22de19t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE17&Ccc.B22.DE19' "code-CccobservationCccb22de17Cccb22de19t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup CccobservationCccb22de17Cccb22de19f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb22de17Cccb22de19f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE17&Ccc.B22.DE19' "code-CccobservationCccb22de17Cccb22de19f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup CccobservationCccb22de17Cccb22de20t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb22de17Cccb22de20t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE17&Ccc.B22.DE20' "code-CccobservationCccb22de17Cccb22de20t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup CccobservationCccb22de17Cccb22de20f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb22de17Cccb22de20f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE17&Ccc.B22.DE20' "code-CccobservationCccb22de17Cccb22de20f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup CccobservationCccb22de17Cccb22de21t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb22de17Cccb22de21t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE17&Ccc.B22.DE21' "code-CccobservationCccb22de17Cccb22de21t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup CccobservationCccb22de17Cccb22de21f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb22de17Cccb22de21f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE17&Ccc.B22.DE21' "code-CccobservationCccb22de17Cccb22de21f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup CccobservationCccb22de17Cccb22de22t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb22de17Cccb22de22t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE17&Ccc.B22.DE22' "code-CccobservationCccb22de17Cccb22de22t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup CccobservationCccb22de17Cccb22de22f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb22de17Cccb22de22f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE17&Ccc.B22.DE22' "code-CccobservationCccb22de17Cccb22de22f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup CccobservationCccb22de22(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de22";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE22' "code-Cccb22de22";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE22') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val then {\r\n          val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n        } "26c2c8c7";\r\n      } "721205d5";\r\n    } "3e1d6082";\r\n  } "e1414539";\r\n}\r\n\r\ngroup CccobservationCccb22de21(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de21";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE21' "code-Cccb22de21";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE21') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de21";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de21";\r\n      } "bdab9370";\r\n    } "36586abf";\r\n  } "a412e00a";\r\n}\r\n\r\ngroup CccobservationCccb22de41(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de41";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE41' "code-Cccb22de41";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE41') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val then {\r\n          val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n        } "26c2c8c7";\r\n      } "721205d5";\r\n    } "6df944ed";\r\n  } "d888a973";\r\n}\r\n\r\ngroup CccobservationCccb22de28(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de28";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE28' "code-Cccb22de28";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE28') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de28";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de28";\r\n      } "bdab9370";\r\n    } "58c52233";\r\n  } "aad3db2c";\r\n}\r\n\r\ngroup CccobservationCccb22de29(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de29";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE29' "code-Cccb22de29";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE29') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de29";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de29";\r\n      } "bdab9370";\r\n    } "95a367de";\r\n  } "960d28f0";\r\n}\r\n\r\ngroup CccobservationCccb22de30(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de30";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE30' "code-Cccb22de30";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE30') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de30";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de30";\r\n      } "bdab9370";\r\n    } "c3834bca";\r\n  } "3b102368";\r\n}\r\n\r\ngroup CccobservationCccb22de31(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de31";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE31' "code-Cccb22de31";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE31') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de31";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de31";\r\n      } "bdab9370";\r\n    } "bb8ba529";\r\n  } "9e9be797";\r\n}\r\n\r\ngroup CccobservationCccb22de32(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de32";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE32' "code-Cccb22de32";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE32') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de32";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de32";\r\n      } "bdab9370";\r\n    } "4adca3b8";\r\n  } "59b588e0";\r\n}\r\n\r\ngroup CccobservationCccb22de33(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de33";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE33' "code-Cccb22de33";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE33') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de33";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de33";\r\n      } "bdab9370";\r\n    } "ba6b3c81";\r\n  } "56745630";\r\n}\r\n\r\ngroup CccobservationCccb22de34(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de34";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE34' "code-Cccb22de34";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE34') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de34";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de34";\r\n      } "bdab9370";\r\n    } "a958300a";\r\n  } "f384d1b9";\r\n}\r\n\r\ngroup CccobservationCccb22de35(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de35";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE35' "code-Cccb22de35";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE35') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de35";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de35";\r\n      } "bdab9370";\r\n    } "9412283c";\r\n  } "5ed5ea0e";\r\n}\r\n\r\ngroup CccobservationCccb22de36(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb22de36";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE36' "code-CccobservationCccb22de36";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE36') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where value = 'Not well Attached to Breast', a.value as val then {\r\n          val ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = create('Coding') as c,  c.code = Ccc.B22.DE37,  c.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  tgt.status = 'final' "71afb672";\r\n        } "a53091ee";\r\n        a where value = 'Good Attachment', a.value as val then {\r\n          val ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = create('Coding') as c,  c.code = Ccc.B22.DE38,  c.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  tgt.status = 'final' "3053aa3e";\r\n        } "239a32e6";\r\n        a where value = 'Not Sucking Effectively', a.value as val then {\r\n          val ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = create('Coding') as c,  c.code = Ccc.B22.DE39,  c.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  tgt.status = 'final' "0e60e5cc";\r\n        } "ae925fc5";\r\n        a where value = 'Sucking Effectively', a.value as val then {\r\n          val ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = create('Coding') as c,  c.code = Ccc.B22.DE40,  c.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  tgt.status = 'final' "5eeaf122";\r\n        } "714e8fb5";\r\n      } "bd419d51";\r\n    } "713debc5";\r\n  } "b4145e76";\r\n}\r\n\r\ngroup CccobservationCccb22de42(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de42";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE42' "code-Cccb22de42";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE42') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de42";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de42";\r\n      } "bdab9370";\r\n    } "3dcc04b3";\r\n  } "0d852c2e";\r\n}\r\n\r\ngroup CccobservationCccb22de44(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de44";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE44' "code-Cccb22de44";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE44') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de44";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de44";\r\n      } "bdab9370";\r\n    } "d4bad53b";\r\n  } "fbdc7921";\r\n}\r\n\r\ngroup CccobservationCccb22de81(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de81";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE81' "code-Cccb22de81";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.Hemoglobin' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE81') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n      } "d40466ff";\r\n    } "185ffa99";\r\n  } "44836ba1";\r\n}\r\n\r\ngroup CccobservationCccb22de82(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de82";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE82' "code-Cccb22de82";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.Hemoglobin' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE82') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val then {\r\n          val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n        } "26c2c8c7";\r\n      } "721205d5";\r\n    } "29107a72";\r\n  } "7485a680";\r\n}\r\n\r\ngroup CccobservationCccb22de47(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de47";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE47' "code-Cccb22de47";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.SecondTemperature' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE47') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n      } "d40466ff";\r\n    } "10fc9c80";\r\n  } "932aad6b";\r\n}\r\n\r\ngroup CccobservationCccb22de46(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de46";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE46' "code-Cccb22de46";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.SecondTemperature' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE46') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val then {\r\n          val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n        } "26c2c8c7";\r\n      } "721205d5";\r\n    } "b66a0bcd";\r\n  } "b937d546";\r\n}\r\n\r\ngroup CccobservationCccb22de50(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de50";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE50' "code-Cccb22de50";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'Ccc.B22.SecondTemperature' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE50') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val then {\r\n          val ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = create('Coding') as c,  c.code = val,  c.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  tgt.status = 'final' "759a9a54";\r\n        } "1b820ab0";\r\n      } "d39f9088";\r\n    } "336c73e3";\r\n  } "3bf9ecd0";\r\n}\r\n\r\n
" }, - "url": "https://smart.who.int/ccc/StructureMap/emcare.b22.assessmentstests", - "name": "emcare.b22.assessmentstests", + "url": "https://smart.who.int/ccc/StructureMap/Ccc.b22.assessmentstests", + "name": "Ccc.b22.assessmentstests", "status": "active", "structure": [ { @@ -25,9 +25,9 @@ "alias": "'Observation'" }, { - "url": "https://smart.who.int/ccc/StructureDefinition/emcareobservation", + "url": "https://smart.who.int/ccc/StructureDefinition/Cccobservation", "mode": "produced", - "alias": "'EmCare Observation'" + "alias": "'Ccc Observation'" } ], "group": [ @@ -92,7 +92,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.RespiratoryRate'" + "condition": "linkId = 'Ccc.B22.RespiratoryRate'" } ], "rule": [ @@ -104,7 +104,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE01') and answer.exists()" } ], "rule": [ @@ -212,7 +212,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de01", + "name": "CccobservationCccb22de01", "variable": [ "src", "tgt" @@ -236,7 +236,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.RespiratoryRate'" + "condition": "linkId = 'Ccc.B22.RespiratoryRate'" } ], "rule": [ @@ -248,7 +248,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE02') and answer.exists()" } ], "rule": [ @@ -356,7 +356,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de02", + "name": "CccobservationCccb22de02", "variable": [ "src", "tgt" @@ -380,7 +380,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.RespiratoryRate'" + "condition": "linkId = 'Ccc.B22.RespiratoryRate'" } ], "rule": [ @@ -404,7 +404,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE04') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE04') and answer.exists()" } ], "rule": [ @@ -512,7 +512,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de04", + "name": "CccobservationCccb22de04", "variable": [ "src", "tgt" @@ -538,7 +538,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.RespiratoryRate'" + "condition": "linkId = 'Ccc.B22.RespiratoryRate'" } ], "rule": [ @@ -562,7 +562,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE05') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE05') and answer.exists()" } ], "rule": [ @@ -670,7 +670,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de05", + "name": "CccobservationCccb22de05", "variable": [ "src", "tgt" @@ -696,7 +696,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.RespiratoryRate'" + "condition": "linkId = 'Ccc.B22.RespiratoryRate'" } ], "rule": [ @@ -708,7 +708,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE07') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE07') and answer.exists()" } ], "rule": [ @@ -816,7 +816,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de07", + "name": "CccobservationCccb22de07", "variable": [ "src", "tgt" @@ -840,7 +840,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.FluidTest'" + "condition": "linkId = 'Ccc.B22.FluidTest'" } ], "rule": [ @@ -852,7 +852,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE08') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE08') and answer.exists()" } ], "rule": [ @@ -960,7 +960,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de08", + "name": "CccobservationCccb22de08", "variable": [ "src", "tgt" @@ -984,7 +984,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.FluidTest'" + "condition": "linkId = 'Ccc.B22.FluidTest'" } ], "rule": [ @@ -996,7 +996,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE14') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE14') and answer.exists()" } ], "rule": [ @@ -1104,7 +1104,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de14", + "name": "CccobservationCccb22de14", "variable": [ "src", "tgt" @@ -1128,7 +1128,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.FluidTest'" + "condition": "linkId = 'Ccc.B22.FluidTest'" } ], "rule": [ @@ -1140,7 +1140,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE14a') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE14a') and answer.exists()" } ], "rule": [ @@ -1248,7 +1248,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de14a", + "name": "CccobservationCccb22de14a", "variable": [ "src", "tgt" @@ -1272,7 +1272,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.FluidTest'" + "condition": "linkId = 'Ccc.B22.FluidTest'" } ], "rule": [ @@ -1284,7 +1284,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE15') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE15') and answer.exists()" } ], "rule": [ @@ -1392,7 +1392,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de15", + "name": "CccobservationCccb22de15", "variable": [ "src", "tgt" @@ -1416,7 +1416,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.FluidTest'" + "condition": "linkId = 'Ccc.B22.FluidTest'" } ], "rule": [ @@ -1428,7 +1428,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE16') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE16') and answer.exists()" } ], "rule": [ @@ -1536,7 +1536,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de16", + "name": "CccobservationCccb22de16", "variable": [ "src", "tgt" @@ -1557,7 +1557,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE18')" + "condition": "src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE18')" } ], "rule": [ @@ -1569,7 +1569,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BronchodilatorTest'" + "condition": "linkId = 'Ccc.B22.BronchodilatorTest'" } ], "rule": [ @@ -1581,7 +1581,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE17') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE17') and answer.exists()" } ], "rule": [ @@ -1678,7 +1678,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de17emcareb22de18t", + "name": "CccobservationCccb22de17Cccb22de18t", "variable": [ "src", "tgt" @@ -1701,7 +1701,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B22.DE17').exists() and src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE18').empty()" + "condition": "src.item.where(linkId = 'Ccc.B22.DE17').exists() and src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE18').empty()" } ], "rule": [ @@ -1713,7 +1713,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BronchodilatorTest'" + "condition": "linkId = 'Ccc.B22.BronchodilatorTest'" } ], "rule": [ @@ -1725,7 +1725,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE17') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE17') and answer.exists()" } ], "rule": [ @@ -1822,7 +1822,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de17emcareb22de18f", + "name": "CccobservationCccb22de17Cccb22de18f", "variable": [ "src", "tgt" @@ -1845,7 +1845,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE19')" + "condition": "src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE19')" } ], "rule": [ @@ -1857,7 +1857,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BronchodilatorTest'" + "condition": "linkId = 'Ccc.B22.BronchodilatorTest'" } ], "rule": [ @@ -1869,7 +1869,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE17') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE17') and answer.exists()" } ], "rule": [ @@ -1966,7 +1966,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de17emcareb22de19t", + "name": "CccobservationCccb22de17Cccb22de19t", "variable": [ "src", "tgt" @@ -1989,7 +1989,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B22.DE17').exists() and src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE19').empty()" + "condition": "src.item.where(linkId = 'Ccc.B22.DE17').exists() and src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE19').empty()" } ], "rule": [ @@ -2001,7 +2001,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BronchodilatorTest'" + "condition": "linkId = 'Ccc.B22.BronchodilatorTest'" } ], "rule": [ @@ -2013,7 +2013,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE17') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE17') and answer.exists()" } ], "rule": [ @@ -2110,7 +2110,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de17emcareb22de19f", + "name": "CccobservationCccb22de17Cccb22de19f", "variable": [ "src", "tgt" @@ -2133,7 +2133,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE20')" + "condition": "src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE20')" } ], "rule": [ @@ -2145,7 +2145,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BronchodilatorTest'" + "condition": "linkId = 'Ccc.B22.BronchodilatorTest'" } ], "rule": [ @@ -2157,7 +2157,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE17') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE17') and answer.exists()" } ], "rule": [ @@ -2254,7 +2254,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de17emcareb22de20t", + "name": "CccobservationCccb22de17Cccb22de20t", "variable": [ "src", "tgt" @@ -2277,7 +2277,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B22.DE17').exists() and src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE20').empty()" + "condition": "src.item.where(linkId = 'Ccc.B22.DE17').exists() and src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE20').empty()" } ], "rule": [ @@ -2289,7 +2289,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BronchodilatorTest'" + "condition": "linkId = 'Ccc.B22.BronchodilatorTest'" } ], "rule": [ @@ -2301,7 +2301,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE17') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE17') and answer.exists()" } ], "rule": [ @@ -2398,7 +2398,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de17emcareb22de20f", + "name": "CccobservationCccb22de17Cccb22de20f", "variable": [ "src", "tgt" @@ -2421,7 +2421,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE21')" + "condition": "src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE21')" } ], "rule": [ @@ -2433,7 +2433,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BronchodilatorTest'" + "condition": "linkId = 'Ccc.B22.BronchodilatorTest'" } ], "rule": [ @@ -2445,7 +2445,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE17') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE17') and answer.exists()" } ], "rule": [ @@ -2542,7 +2542,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de17emcareb22de21t", + "name": "CccobservationCccb22de17Cccb22de21t", "variable": [ "src", "tgt" @@ -2565,7 +2565,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B22.DE17').exists() and src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE21').empty()" + "condition": "src.item.where(linkId = 'Ccc.B22.DE17').exists() and src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE21').empty()" } ], "rule": [ @@ -2577,7 +2577,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BronchodilatorTest'" + "condition": "linkId = 'Ccc.B22.BronchodilatorTest'" } ], "rule": [ @@ -2589,7 +2589,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE17') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE17') and answer.exists()" } ], "rule": [ @@ -2686,7 +2686,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de17emcareb22de21f", + "name": "CccobservationCccb22de17Cccb22de21f", "variable": [ "src", "tgt" @@ -2709,7 +2709,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE22')" + "condition": "src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE22')" } ], "rule": [ @@ -2721,7 +2721,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BronchodilatorTest'" + "condition": "linkId = 'Ccc.B22.BronchodilatorTest'" } ], "rule": [ @@ -2733,7 +2733,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE17') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE17') and answer.exists()" } ], "rule": [ @@ -2830,7 +2830,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de17emcareb22de22t", + "name": "CccobservationCccb22de17Cccb22de22t", "variable": [ "src", "tgt" @@ -2853,7 +2853,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B22.DE17').exists() and src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE22').empty()" + "condition": "src.item.where(linkId = 'Ccc.B22.DE17').exists() and src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE22').empty()" } ], "rule": [ @@ -2865,7 +2865,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BronchodilatorTest'" + "condition": "linkId = 'Ccc.B22.BronchodilatorTest'" } ], "rule": [ @@ -2877,7 +2877,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE17') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE17') and answer.exists()" } ], "rule": [ @@ -2974,7 +2974,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de17emcareb22de22f", + "name": "CccobservationCccb22de17Cccb22de22f", "variable": [ "src", "tgt" @@ -3000,7 +3000,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BronchodilatorTest'" + "condition": "linkId = 'Ccc.B22.BronchodilatorTest'" } ], "rule": [ @@ -3012,7 +3012,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE22') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE22') and answer.exists()" } ], "rule": [ @@ -3120,7 +3120,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de22", + "name": "CccobservationCccb22de22", "variable": [ "src", "tgt" @@ -3144,7 +3144,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BronchodilatorTest'" + "condition": "linkId = 'Ccc.B22.BronchodilatorTest'" } ], "rule": [ @@ -3156,7 +3156,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE21') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE21') and answer.exists()" } ], "rule": [ @@ -3264,7 +3264,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de21", + "name": "CccobservationCccb22de21", "variable": [ "src", "tgt" @@ -3288,7 +3288,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BreastFeeding'" + "condition": "linkId = 'Ccc.B22.BreastFeeding'" } ], "rule": [ @@ -3300,7 +3300,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE41') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE41') and answer.exists()" } ], "rule": [ @@ -3408,7 +3408,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de41", + "name": "CccobservationCccb22de41", "variable": [ "src", "tgt" @@ -3432,7 +3432,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BreastFeeding'" + "condition": "linkId = 'Ccc.B22.BreastFeeding'" } ], "rule": [ @@ -3444,7 +3444,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE28') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE28') and answer.exists()" } ], "rule": [ @@ -3552,7 +3552,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de28", + "name": "CccobservationCccb22de28", "variable": [ "src", "tgt" @@ -3576,7 +3576,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BreastFeeding'" + "condition": "linkId = 'Ccc.B22.BreastFeeding'" } ], "rule": [ @@ -3588,7 +3588,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE29') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE29') and answer.exists()" } ], "rule": [ @@ -3696,7 +3696,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de29", + "name": "CccobservationCccb22de29", "variable": [ "src", "tgt" @@ -3720,7 +3720,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BreastFeeding'" + "condition": "linkId = 'Ccc.B22.BreastFeeding'" } ], "rule": [ @@ -3732,7 +3732,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE30') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE30') and answer.exists()" } ], "rule": [ @@ -3840,7 +3840,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de30", + "name": "CccobservationCccb22de30", "variable": [ "src", "tgt" @@ -3864,7 +3864,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BreastFeeding'" + "condition": "linkId = 'Ccc.B22.BreastFeeding'" } ], "rule": [ @@ -3876,7 +3876,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE31') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE31') and answer.exists()" } ], "rule": [ @@ -3984,7 +3984,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de31", + "name": "CccobservationCccb22de31", "variable": [ "src", "tgt" @@ -4008,7 +4008,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BreastFeeding'" + "condition": "linkId = 'Ccc.B22.BreastFeeding'" } ], "rule": [ @@ -4020,7 +4020,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE32') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE32') and answer.exists()" } ], "rule": [ @@ -4128,7 +4128,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de32", + "name": "CccobservationCccb22de32", "variable": [ "src", "tgt" @@ -4152,7 +4152,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BreastFeeding'" + "condition": "linkId = 'Ccc.B22.BreastFeeding'" } ], "rule": [ @@ -4164,7 +4164,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE33') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE33') and answer.exists()" } ], "rule": [ @@ -4272,7 +4272,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de33", + "name": "CccobservationCccb22de33", "variable": [ "src", "tgt" @@ -4296,7 +4296,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BreastFeeding'" + "condition": "linkId = 'Ccc.B22.BreastFeeding'" } ], "rule": [ @@ -4308,7 +4308,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE34') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE34') and answer.exists()" } ], "rule": [ @@ -4416,7 +4416,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de34", + "name": "CccobservationCccb22de34", "variable": [ "src", "tgt" @@ -4440,7 +4440,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BreastFeeding'" + "condition": "linkId = 'Ccc.B22.BreastFeeding'" } ], "rule": [ @@ -4452,7 +4452,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE35') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE35') and answer.exists()" } ], "rule": [ @@ -4560,7 +4560,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de35", + "name": "CccobservationCccb22de35", "variable": [ "src", "tgt" @@ -4584,7 +4584,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BreastFeeding'" + "condition": "linkId = 'Ccc.B22.BreastFeeding'" } ], "rule": [ @@ -4596,7 +4596,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE36') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE36') and answer.exists()" } ], "rule": [ @@ -4704,7 +4704,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de36", + "name": "CccobservationCccb22de36", "variable": [ "src", "tgt" @@ -4728,7 +4728,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BreastFeeding'" + "condition": "linkId = 'Ccc.B22.BreastFeeding'" } ], "rule": [ @@ -4740,7 +4740,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE42') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE42') and answer.exists()" } ], "rule": [ @@ -4848,7 +4848,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de42", + "name": "CccobservationCccb22de42", "variable": [ "src", "tgt" @@ -4872,7 +4872,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BreastFeeding'" + "condition": "linkId = 'Ccc.B22.BreastFeeding'" } ], "rule": [ @@ -4884,7 +4884,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE44') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE44') and answer.exists()" } ], "rule": [ @@ -4992,7 +4992,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de44", + "name": "CccobservationCccb22de44", "variable": [ "src", "tgt" @@ -5016,7 +5016,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.Hemoglobin'" + "condition": "linkId = 'Ccc.B22.Hemoglobin'" } ], "rule": [ @@ -5028,7 +5028,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE81') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE81') and answer.exists()" } ], "rule": [ @@ -5136,7 +5136,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de81", + "name": "CccobservationCccb22de81", "variable": [ "src", "tgt" @@ -5160,7 +5160,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.Hemoglobin'" + "condition": "linkId = 'Ccc.B22.Hemoglobin'" } ], "rule": [ @@ -5172,7 +5172,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE82') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE82') and answer.exists()" } ], "rule": [ @@ -5280,7 +5280,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de82", + "name": "CccobservationCccb22de82", "variable": [ "src", "tgt" @@ -5304,7 +5304,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.SecondTemperature'" + "condition": "linkId = 'Ccc.B22.SecondTemperature'" } ], "rule": [ @@ -5316,7 +5316,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE47') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE47') and answer.exists()" } ], "rule": [ @@ -5424,7 +5424,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de47", + "name": "CccobservationCccb22de47", "variable": [ "src", "tgt" @@ -5448,7 +5448,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.SecondTemperature'" + "condition": "linkId = 'Ccc.B22.SecondTemperature'" } ], "rule": [ @@ -5460,7 +5460,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE46') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE46') and answer.exists()" } ], "rule": [ @@ -5568,7 +5568,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de46", + "name": "CccobservationCccb22de46", "variable": [ "src", "tgt" @@ -5592,7 +5592,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.SecondTemperature'" + "condition": "linkId = 'Ccc.B22.SecondTemperature'" } ], "rule": [ @@ -5604,7 +5604,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE50') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE50') and answer.exists()" } ], "rule": [ @@ -5712,7 +5712,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de50", + "name": "CccobservationCccb22de50", "variable": [ "src", "tgt" @@ -5731,7 +5731,7 @@ ] }, { - "name": "emcareobservationemcareb22de01", + "name": "CccobservationCccb22de01", "typeMode": "none", "input": [ { @@ -5745,7 +5745,7 @@ ], "rule": [ { - "name": "id-emcareb22de01", + "name": "id-Cccb22de01", "source": [ { "context": "src" @@ -5829,7 +5829,7 @@ ] }, { - "name": "code-emcareb22de01", + "name": "code-Cccb22de01", "source": [ { "context": "src", @@ -5868,7 +5868,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -5903,7 +5903,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -5914,7 +5914,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE01" + "valueString": "Ccc.B22.DE01" } ] } @@ -6000,7 +6000,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.RespiratoryRate'" + "condition": "linkId = 'Ccc.B22.RespiratoryRate'" } ], "rule": [ @@ -6012,7 +6012,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE01') and answer.exists()" } ], "rule": [ @@ -6070,7 +6070,7 @@ ] }, { - "name": "emcareobservationemcareb22de02", + "name": "CccobservationCccb22de02", "typeMode": "none", "input": [ { @@ -6084,7 +6084,7 @@ ], "rule": [ { - "name": "id-emcareb22de02", + "name": "id-Cccb22de02", "source": [ { "context": "src" @@ -6168,7 +6168,7 @@ ] }, { - "name": "code-emcareb22de02", + "name": "code-Cccb22de02", "source": [ { "context": "src", @@ -6207,7 +6207,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -6242,7 +6242,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -6253,7 +6253,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE02" + "valueString": "Ccc.B22.DE02" } ] } @@ -6339,7 +6339,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.RespiratoryRate'" + "condition": "linkId = 'Ccc.B22.RespiratoryRate'" } ], "rule": [ @@ -6351,7 +6351,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE02') and answer.exists()" } ], "rule": [ @@ -6420,7 +6420,7 @@ ] }, { - "name": "emcareobservationemcareb22de04", + "name": "CccobservationCccb22de04", "typeMode": "none", "input": [ { @@ -6434,7 +6434,7 @@ ], "rule": [ { - "name": "id-emcareb22de04", + "name": "id-Cccb22de04", "source": [ { "context": "src" @@ -6518,7 +6518,7 @@ ] }, { - "name": "code-emcareb22de04", + "name": "code-Cccb22de04", "source": [ { "context": "src", @@ -6557,7 +6557,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -6592,7 +6592,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -6603,7 +6603,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE04" + "valueString": "Ccc.B22.DE04" } ] } @@ -6689,7 +6689,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.RespiratoryRate'" + "condition": "linkId = 'Ccc.B22.RespiratoryRate'" } ], "rule": [ @@ -6713,7 +6713,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE04') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE04') and answer.exists()" } ], "rule": [ @@ -6773,7 +6773,7 @@ ] }, { - "name": "emcareobservationemcareb22de05", + "name": "CccobservationCccb22de05", "typeMode": "none", "input": [ { @@ -6787,7 +6787,7 @@ ], "rule": [ { - "name": "id-emcareb22de05", + "name": "id-Cccb22de05", "source": [ { "context": "src" @@ -6871,7 +6871,7 @@ ] }, { - "name": "code-emcareb22de05", + "name": "code-Cccb22de05", "source": [ { "context": "src", @@ -6910,7 +6910,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -6945,7 +6945,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -6956,7 +6956,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE05" + "valueString": "Ccc.B22.DE05" } ] } @@ -7042,7 +7042,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.RespiratoryRate'" + "condition": "linkId = 'Ccc.B22.RespiratoryRate'" } ], "rule": [ @@ -7066,7 +7066,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE05') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE05') and answer.exists()" } ], "rule": [ @@ -7137,7 +7137,7 @@ ] }, { - "name": "emcareobservationemcareb22de07", + "name": "CccobservationCccb22de07", "typeMode": "none", "input": [ { @@ -7151,7 +7151,7 @@ ], "rule": [ { - "name": "id-emcareb22de07", + "name": "id-Cccb22de07", "source": [ { "context": "src" @@ -7235,7 +7235,7 @@ ] }, { - "name": "code-emcareb22de07", + "name": "code-Cccb22de07", "source": [ { "context": "src", @@ -7274,7 +7274,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -7309,7 +7309,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -7320,7 +7320,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE07" + "valueString": "Ccc.B22.DE07" } ] } @@ -7406,7 +7406,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.RespiratoryRate'" + "condition": "linkId = 'Ccc.B22.RespiratoryRate'" } ], "rule": [ @@ -7418,7 +7418,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE07') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE07') and answer.exists()" } ], "rule": [ @@ -7434,7 +7434,7 @@ ], "rule": [ { - "name": "final-emcareb22de07", + "name": "final-Cccb22de07", "source": [ { "context": "a", @@ -7467,7 +7467,7 @@ ] }, { - "name": "notfound-emcareb22de07", + "name": "notfound-Cccb22de07", "source": [ { "context": "a", @@ -7508,7 +7508,7 @@ ] }, { - "name": "emcareobservationemcareb22de08", + "name": "CccobservationCccb22de08", "typeMode": "none", "input": [ { @@ -7522,7 +7522,7 @@ ], "rule": [ { - "name": "id-emcareb22de08", + "name": "id-Cccb22de08", "source": [ { "context": "src" @@ -7606,7 +7606,7 @@ ] }, { - "name": "code-emcareb22de08", + "name": "code-Cccb22de08", "source": [ { "context": "src", @@ -7645,7 +7645,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -7680,7 +7680,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -7691,7 +7691,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE08" + "valueString": "Ccc.B22.DE08" } ] } @@ -7777,7 +7777,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.FluidTest'" + "condition": "linkId = 'Ccc.B22.FluidTest'" } ], "rule": [ @@ -7789,7 +7789,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE08') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE08') and answer.exists()" } ], "rule": [ @@ -7892,7 +7892,7 @@ ] }, { - "name": "emcareobservationemcareb22de14", + "name": "CccobservationCccb22de14", "typeMode": "none", "input": [ { @@ -7906,7 +7906,7 @@ ], "rule": [ { - "name": "id-emcareb22de14", + "name": "id-Cccb22de14", "source": [ { "context": "src" @@ -7990,7 +7990,7 @@ ] }, { - "name": "code-emcareb22de14", + "name": "code-Cccb22de14", "source": [ { "context": "src", @@ -8029,7 +8029,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -8064,7 +8064,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -8075,7 +8075,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE14" + "valueString": "Ccc.B22.DE14" } ] } @@ -8161,7 +8161,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.FluidTest'" + "condition": "linkId = 'Ccc.B22.FluidTest'" } ], "rule": [ @@ -8173,7 +8173,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE14') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE14') and answer.exists()" } ], "rule": [ @@ -8242,7 +8242,7 @@ ] }, { - "name": "emcareobservationemcareb22de14a", + "name": "CccobservationCccb22de14a", "typeMode": "none", "input": [ { @@ -8256,7 +8256,7 @@ ], "rule": [ { - "name": "id-emcareb22de14a", + "name": "id-Cccb22de14a", "source": [ { "context": "src" @@ -8340,7 +8340,7 @@ ] }, { - "name": "code-emcareb22de14a", + "name": "code-Cccb22de14a", "source": [ { "context": "src", @@ -8379,7 +8379,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -8414,7 +8414,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -8425,7 +8425,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE14a" + "valueString": "Ccc.B22.DE14a" } ] } @@ -8511,7 +8511,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.FluidTest'" + "condition": "linkId = 'Ccc.B22.FluidTest'" } ], "rule": [ @@ -8523,7 +8523,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE14a') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE14a') and answer.exists()" } ], "rule": [ @@ -8539,7 +8539,7 @@ ], "rule": [ { - "name": "final-emcareb22de14a", + "name": "final-Cccb22de14a", "source": [ { "context": "a", @@ -8572,7 +8572,7 @@ ] }, { - "name": "notfound-emcareb22de14a", + "name": "notfound-Cccb22de14a", "source": [ { "context": "a", @@ -8613,7 +8613,7 @@ ] }, { - "name": "emcareobservationemcareb22de15", + "name": "CccobservationCccb22de15", "typeMode": "none", "input": [ { @@ -8627,7 +8627,7 @@ ], "rule": [ { - "name": "id-emcareb22de15", + "name": "id-Cccb22de15", "source": [ { "context": "src" @@ -8711,7 +8711,7 @@ ] }, { - "name": "code-emcareb22de15", + "name": "code-Cccb22de15", "source": [ { "context": "src", @@ -8750,7 +8750,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -8785,7 +8785,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -8796,7 +8796,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE15" + "valueString": "Ccc.B22.DE15" } ] } @@ -8882,7 +8882,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.FluidTest'" + "condition": "linkId = 'Ccc.B22.FluidTest'" } ], "rule": [ @@ -8894,7 +8894,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE15') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE15') and answer.exists()" } ], "rule": [ @@ -8910,7 +8910,7 @@ ], "rule": [ { - "name": "final-emcareb22de15", + "name": "final-Cccb22de15", "source": [ { "context": "a", @@ -8943,7 +8943,7 @@ ] }, { - "name": "notfound-emcareb22de15", + "name": "notfound-Cccb22de15", "source": [ { "context": "a", @@ -8984,7 +8984,7 @@ ] }, { - "name": "emcareobservationemcareb22de16", + "name": "CccobservationCccb22de16", "typeMode": "none", "input": [ { @@ -8998,7 +8998,7 @@ ], "rule": [ { - "name": "id-emcareb22de16", + "name": "id-Cccb22de16", "source": [ { "context": "src" @@ -9082,7 +9082,7 @@ ] }, { - "name": "code-emcareb22de16", + "name": "code-Cccb22de16", "source": [ { "context": "src", @@ -9121,7 +9121,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -9156,7 +9156,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -9167,7 +9167,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE16" + "valueString": "Ccc.B22.DE16" } ] } @@ -9253,7 +9253,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.FluidTest'" + "condition": "linkId = 'Ccc.B22.FluidTest'" } ], "rule": [ @@ -9265,7 +9265,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE16') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE16') and answer.exists()" } ], "rule": [ @@ -9368,7 +9368,7 @@ ] }, { - "name": "emcareobservationemcareb22de17emcareb22de18t", + "name": "CccobservationCccb22de17Cccb22de18t", "typeMode": "none", "input": [ { @@ -9382,7 +9382,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb22de17emcareb22de18t", + "name": "id-CccobservationCccb22de17Cccb22de18t", "source": [ { "context": "src" @@ -9466,7 +9466,7 @@ ] }, { - "name": "code-emcareobservationemcareb22de17emcareb22de18t", + "name": "code-CccobservationCccb22de17Cccb22de18t", "source": [ { "context": "src", @@ -9505,7 +9505,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -9540,7 +9540,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -9551,7 +9551,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE17&EmCare.B22.DE18" + "valueString": "Ccc.B22.DE17&Ccc.B22.DE18" } ] } @@ -9664,7 +9664,7 @@ ] }, { - "name": "emcareobservationemcareb22de17emcareb22de18f", + "name": "CccobservationCccb22de17Cccb22de18f", "typeMode": "none", "input": [ { @@ -9678,7 +9678,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb22de17emcareb22de18f", + "name": "id-CccobservationCccb22de17Cccb22de18f", "source": [ { "context": "src" @@ -9762,7 +9762,7 @@ ] }, { - "name": "code-emcareobservationemcareb22de17emcareb22de18f", + "name": "code-CccobservationCccb22de17Cccb22de18f", "source": [ { "context": "src", @@ -9801,7 +9801,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -9836,7 +9836,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -9847,7 +9847,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE17&EmCare.B22.DE18" + "valueString": "Ccc.B22.DE17&Ccc.B22.DE18" } ] } @@ -9960,7 +9960,7 @@ ] }, { - "name": "emcareobservationemcareb22de17emcareb22de19t", + "name": "CccobservationCccb22de17Cccb22de19t", "typeMode": "none", "input": [ { @@ -9974,7 +9974,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb22de17emcareb22de19t", + "name": "id-CccobservationCccb22de17Cccb22de19t", "source": [ { "context": "src" @@ -10058,7 +10058,7 @@ ] }, { - "name": "code-emcareobservationemcareb22de17emcareb22de19t", + "name": "code-CccobservationCccb22de17Cccb22de19t", "source": [ { "context": "src", @@ -10097,7 +10097,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -10132,7 +10132,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -10143,7 +10143,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE17&EmCare.B22.DE19" + "valueString": "Ccc.B22.DE17&Ccc.B22.DE19" } ] } @@ -10256,7 +10256,7 @@ ] }, { - "name": "emcareobservationemcareb22de17emcareb22de19f", + "name": "CccobservationCccb22de17Cccb22de19f", "typeMode": "none", "input": [ { @@ -10270,7 +10270,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb22de17emcareb22de19f", + "name": "id-CccobservationCccb22de17Cccb22de19f", "source": [ { "context": "src" @@ -10354,7 +10354,7 @@ ] }, { - "name": "code-emcareobservationemcareb22de17emcareb22de19f", + "name": "code-CccobservationCccb22de17Cccb22de19f", "source": [ { "context": "src", @@ -10393,7 +10393,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -10428,7 +10428,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -10439,7 +10439,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE17&EmCare.B22.DE19" + "valueString": "Ccc.B22.DE17&Ccc.B22.DE19" } ] } @@ -10552,7 +10552,7 @@ ] }, { - "name": "emcareobservationemcareb22de17emcareb22de20t", + "name": "CccobservationCccb22de17Cccb22de20t", "typeMode": "none", "input": [ { @@ -10566,7 +10566,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb22de17emcareb22de20t", + "name": "id-CccobservationCccb22de17Cccb22de20t", "source": [ { "context": "src" @@ -10650,7 +10650,7 @@ ] }, { - "name": "code-emcareobservationemcareb22de17emcareb22de20t", + "name": "code-CccobservationCccb22de17Cccb22de20t", "source": [ { "context": "src", @@ -10689,7 +10689,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -10724,7 +10724,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -10735,7 +10735,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE17&EmCare.B22.DE20" + "valueString": "Ccc.B22.DE17&Ccc.B22.DE20" } ] } @@ -10848,7 +10848,7 @@ ] }, { - "name": "emcareobservationemcareb22de17emcareb22de20f", + "name": "CccobservationCccb22de17Cccb22de20f", "typeMode": "none", "input": [ { @@ -10862,7 +10862,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb22de17emcareb22de20f", + "name": "id-CccobservationCccb22de17Cccb22de20f", "source": [ { "context": "src" @@ -10946,7 +10946,7 @@ ] }, { - "name": "code-emcareobservationemcareb22de17emcareb22de20f", + "name": "code-CccobservationCccb22de17Cccb22de20f", "source": [ { "context": "src", @@ -10985,7 +10985,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -11020,7 +11020,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -11031,7 +11031,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE17&EmCare.B22.DE20" + "valueString": "Ccc.B22.DE17&Ccc.B22.DE20" } ] } @@ -11144,7 +11144,7 @@ ] }, { - "name": "emcareobservationemcareb22de17emcareb22de21t", + "name": "CccobservationCccb22de17Cccb22de21t", "typeMode": "none", "input": [ { @@ -11158,7 +11158,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb22de17emcareb22de21t", + "name": "id-CccobservationCccb22de17Cccb22de21t", "source": [ { "context": "src" @@ -11242,7 +11242,7 @@ ] }, { - "name": "code-emcareobservationemcareb22de17emcareb22de21t", + "name": "code-CccobservationCccb22de17Cccb22de21t", "source": [ { "context": "src", @@ -11281,7 +11281,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -11316,7 +11316,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -11327,7 +11327,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE17&EmCare.B22.DE21" + "valueString": "Ccc.B22.DE17&Ccc.B22.DE21" } ] } @@ -11440,7 +11440,7 @@ ] }, { - "name": "emcareobservationemcareb22de17emcareb22de21f", + "name": "CccobservationCccb22de17Cccb22de21f", "typeMode": "none", "input": [ { @@ -11454,7 +11454,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb22de17emcareb22de21f", + "name": "id-CccobservationCccb22de17Cccb22de21f", "source": [ { "context": "src" @@ -11538,7 +11538,7 @@ ] }, { - "name": "code-emcareobservationemcareb22de17emcareb22de21f", + "name": "code-CccobservationCccb22de17Cccb22de21f", "source": [ { "context": "src", @@ -11577,7 +11577,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -11612,7 +11612,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -11623,7 +11623,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE17&EmCare.B22.DE21" + "valueString": "Ccc.B22.DE17&Ccc.B22.DE21" } ] } @@ -11736,7 +11736,7 @@ ] }, { - "name": "emcareobservationemcareb22de17emcareb22de22t", + "name": "CccobservationCccb22de17Cccb22de22t", "typeMode": "none", "input": [ { @@ -11750,7 +11750,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb22de17emcareb22de22t", + "name": "id-CccobservationCccb22de17Cccb22de22t", "source": [ { "context": "src" @@ -11834,7 +11834,7 @@ ] }, { - "name": "code-emcareobservationemcareb22de17emcareb22de22t", + "name": "code-CccobservationCccb22de17Cccb22de22t", "source": [ { "context": "src", @@ -11873,7 +11873,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -11908,7 +11908,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -11919,7 +11919,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE17&EmCare.B22.DE22" + "valueString": "Ccc.B22.DE17&Ccc.B22.DE22" } ] } @@ -12032,7 +12032,7 @@ ] }, { - "name": "emcareobservationemcareb22de17emcareb22de22f", + "name": "CccobservationCccb22de17Cccb22de22f", "typeMode": "none", "input": [ { @@ -12046,7 +12046,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb22de17emcareb22de22f", + "name": "id-CccobservationCccb22de17Cccb22de22f", "source": [ { "context": "src" @@ -12130,7 +12130,7 @@ ] }, { - "name": "code-emcareobservationemcareb22de17emcareb22de22f", + "name": "code-CccobservationCccb22de17Cccb22de22f", "source": [ { "context": "src", @@ -12169,7 +12169,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -12204,7 +12204,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -12215,7 +12215,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE17&EmCare.B22.DE22" + "valueString": "Ccc.B22.DE17&Ccc.B22.DE22" } ] } @@ -12328,7 +12328,7 @@ ] }, { - "name": "emcareobservationemcareb22de22", + "name": "CccobservationCccb22de22", "typeMode": "none", "input": [ { @@ -12342,7 +12342,7 @@ ], "rule": [ { - "name": "id-emcareb22de22", + "name": "id-Cccb22de22", "source": [ { "context": "src" @@ -12426,7 +12426,7 @@ ] }, { - "name": "code-emcareb22de22", + "name": "code-Cccb22de22", "source": [ { "context": "src", @@ -12465,7 +12465,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -12500,7 +12500,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -12511,7 +12511,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE22" + "valueString": "Ccc.B22.DE22" } ] } @@ -12597,7 +12597,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BronchodilatorTest'" + "condition": "linkId = 'Ccc.B22.BronchodilatorTest'" } ], "rule": [ @@ -12609,7 +12609,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE22') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE22') and answer.exists()" } ], "rule": [ @@ -12678,7 +12678,7 @@ ] }, { - "name": "emcareobservationemcareb22de21", + "name": "CccobservationCccb22de21", "typeMode": "none", "input": [ { @@ -12692,7 +12692,7 @@ ], "rule": [ { - "name": "id-emcareb22de21", + "name": "id-Cccb22de21", "source": [ { "context": "src" @@ -12776,7 +12776,7 @@ ] }, { - "name": "code-emcareb22de21", + "name": "code-Cccb22de21", "source": [ { "context": "src", @@ -12815,7 +12815,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -12850,7 +12850,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -12861,7 +12861,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE21" + "valueString": "Ccc.B22.DE21" } ] } @@ -12947,7 +12947,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BronchodilatorTest'" + "condition": "linkId = 'Ccc.B22.BronchodilatorTest'" } ], "rule": [ @@ -12959,7 +12959,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE21') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE21') and answer.exists()" } ], "rule": [ @@ -12975,7 +12975,7 @@ ], "rule": [ { - "name": "final-emcareb22de21", + "name": "final-Cccb22de21", "source": [ { "context": "a", @@ -13008,7 +13008,7 @@ ] }, { - "name": "notfound-emcareb22de21", + "name": "notfound-Cccb22de21", "source": [ { "context": "a", @@ -13049,7 +13049,7 @@ ] }, { - "name": "emcareobservationemcareb22de41", + "name": "CccobservationCccb22de41", "typeMode": "none", "input": [ { @@ -13063,7 +13063,7 @@ ], "rule": [ { - "name": "id-emcareb22de41", + "name": "id-Cccb22de41", "source": [ { "context": "src" @@ -13147,7 +13147,7 @@ ] }, { - "name": "code-emcareb22de41", + "name": "code-Cccb22de41", "source": [ { "context": "src", @@ -13186,7 +13186,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -13221,7 +13221,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -13232,7 +13232,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE41" + "valueString": "Ccc.B22.DE41" } ] } @@ -13318,7 +13318,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BreastFeeding'" + "condition": "linkId = 'Ccc.B22.BreastFeeding'" } ], "rule": [ @@ -13330,7 +13330,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE41') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE41') and answer.exists()" } ], "rule": [ @@ -13399,7 +13399,7 @@ ] }, { - "name": "emcareobservationemcareb22de28", + "name": "CccobservationCccb22de28", "typeMode": "none", "input": [ { @@ -13413,7 +13413,7 @@ ], "rule": [ { - "name": "id-emcareb22de28", + "name": "id-Cccb22de28", "source": [ { "context": "src" @@ -13497,7 +13497,7 @@ ] }, { - "name": "code-emcareb22de28", + "name": "code-Cccb22de28", "source": [ { "context": "src", @@ -13536,7 +13536,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -13571,7 +13571,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -13582,7 +13582,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE28" + "valueString": "Ccc.B22.DE28" } ] } @@ -13668,7 +13668,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BreastFeeding'" + "condition": "linkId = 'Ccc.B22.BreastFeeding'" } ], "rule": [ @@ -13680,7 +13680,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE28') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE28') and answer.exists()" } ], "rule": [ @@ -13696,7 +13696,7 @@ ], "rule": [ { - "name": "final-emcareb22de28", + "name": "final-Cccb22de28", "source": [ { "context": "a", @@ -13729,7 +13729,7 @@ ] }, { - "name": "notfound-emcareb22de28", + "name": "notfound-Cccb22de28", "source": [ { "context": "a", @@ -13770,7 +13770,7 @@ ] }, { - "name": "emcareobservationemcareb22de29", + "name": "CccobservationCccb22de29", "typeMode": "none", "input": [ { @@ -13784,7 +13784,7 @@ ], "rule": [ { - "name": "id-emcareb22de29", + "name": "id-Cccb22de29", "source": [ { "context": "src" @@ -13868,7 +13868,7 @@ ] }, { - "name": "code-emcareb22de29", + "name": "code-Cccb22de29", "source": [ { "context": "src", @@ -13907,7 +13907,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -13942,7 +13942,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -13953,7 +13953,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE29" + "valueString": "Ccc.B22.DE29" } ] } @@ -14039,7 +14039,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BreastFeeding'" + "condition": "linkId = 'Ccc.B22.BreastFeeding'" } ], "rule": [ @@ -14051,7 +14051,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE29') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE29') and answer.exists()" } ], "rule": [ @@ -14067,7 +14067,7 @@ ], "rule": [ { - "name": "final-emcareb22de29", + "name": "final-Cccb22de29", "source": [ { "context": "a", @@ -14100,7 +14100,7 @@ ] }, { - "name": "notfound-emcareb22de29", + "name": "notfound-Cccb22de29", "source": [ { "context": "a", @@ -14141,7 +14141,7 @@ ] }, { - "name": "emcareobservationemcareb22de30", + "name": "CccobservationCccb22de30", "typeMode": "none", "input": [ { @@ -14155,7 +14155,7 @@ ], "rule": [ { - "name": "id-emcareb22de30", + "name": "id-Cccb22de30", "source": [ { "context": "src" @@ -14239,7 +14239,7 @@ ] }, { - "name": "code-emcareb22de30", + "name": "code-Cccb22de30", "source": [ { "context": "src", @@ -14278,7 +14278,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -14313,7 +14313,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -14324,7 +14324,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE30" + "valueString": "Ccc.B22.DE30" } ] } @@ -14410,7 +14410,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BreastFeeding'" + "condition": "linkId = 'Ccc.B22.BreastFeeding'" } ], "rule": [ @@ -14422,7 +14422,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE30') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE30') and answer.exists()" } ], "rule": [ @@ -14438,7 +14438,7 @@ ], "rule": [ { - "name": "final-emcareb22de30", + "name": "final-Cccb22de30", "source": [ { "context": "a", @@ -14471,7 +14471,7 @@ ] }, { - "name": "notfound-emcareb22de30", + "name": "notfound-Cccb22de30", "source": [ { "context": "a", @@ -14512,7 +14512,7 @@ ] }, { - "name": "emcareobservationemcareb22de31", + "name": "CccobservationCccb22de31", "typeMode": "none", "input": [ { @@ -14526,7 +14526,7 @@ ], "rule": [ { - "name": "id-emcareb22de31", + "name": "id-Cccb22de31", "source": [ { "context": "src" @@ -14610,7 +14610,7 @@ ] }, { - "name": "code-emcareb22de31", + "name": "code-Cccb22de31", "source": [ { "context": "src", @@ -14649,7 +14649,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -14684,7 +14684,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -14695,7 +14695,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE31" + "valueString": "Ccc.B22.DE31" } ] } @@ -14781,7 +14781,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BreastFeeding'" + "condition": "linkId = 'Ccc.B22.BreastFeeding'" } ], "rule": [ @@ -14793,7 +14793,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE31') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE31') and answer.exists()" } ], "rule": [ @@ -14809,7 +14809,7 @@ ], "rule": [ { - "name": "final-emcareb22de31", + "name": "final-Cccb22de31", "source": [ { "context": "a", @@ -14842,7 +14842,7 @@ ] }, { - "name": "notfound-emcareb22de31", + "name": "notfound-Cccb22de31", "source": [ { "context": "a", @@ -14883,7 +14883,7 @@ ] }, { - "name": "emcareobservationemcareb22de32", + "name": "CccobservationCccb22de32", "typeMode": "none", "input": [ { @@ -14897,7 +14897,7 @@ ], "rule": [ { - "name": "id-emcareb22de32", + "name": "id-Cccb22de32", "source": [ { "context": "src" @@ -14981,7 +14981,7 @@ ] }, { - "name": "code-emcareb22de32", + "name": "code-Cccb22de32", "source": [ { "context": "src", @@ -15020,7 +15020,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -15055,7 +15055,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -15066,7 +15066,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE32" + "valueString": "Ccc.B22.DE32" } ] } @@ -15152,7 +15152,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BreastFeeding'" + "condition": "linkId = 'Ccc.B22.BreastFeeding'" } ], "rule": [ @@ -15164,7 +15164,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE32') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE32') and answer.exists()" } ], "rule": [ @@ -15180,7 +15180,7 @@ ], "rule": [ { - "name": "final-emcareb22de32", + "name": "final-Cccb22de32", "source": [ { "context": "a", @@ -15213,7 +15213,7 @@ ] }, { - "name": "notfound-emcareb22de32", + "name": "notfound-Cccb22de32", "source": [ { "context": "a", @@ -15254,7 +15254,7 @@ ] }, { - "name": "emcareobservationemcareb22de33", + "name": "CccobservationCccb22de33", "typeMode": "none", "input": [ { @@ -15268,7 +15268,7 @@ ], "rule": [ { - "name": "id-emcareb22de33", + "name": "id-Cccb22de33", "source": [ { "context": "src" @@ -15352,7 +15352,7 @@ ] }, { - "name": "code-emcareb22de33", + "name": "code-Cccb22de33", "source": [ { "context": "src", @@ -15391,7 +15391,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -15426,7 +15426,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -15437,7 +15437,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE33" + "valueString": "Ccc.B22.DE33" } ] } @@ -15523,7 +15523,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BreastFeeding'" + "condition": "linkId = 'Ccc.B22.BreastFeeding'" } ], "rule": [ @@ -15535,7 +15535,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE33') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE33') and answer.exists()" } ], "rule": [ @@ -15551,7 +15551,7 @@ ], "rule": [ { - "name": "final-emcareb22de33", + "name": "final-Cccb22de33", "source": [ { "context": "a", @@ -15584,7 +15584,7 @@ ] }, { - "name": "notfound-emcareb22de33", + "name": "notfound-Cccb22de33", "source": [ { "context": "a", @@ -15625,7 +15625,7 @@ ] }, { - "name": "emcareobservationemcareb22de34", + "name": "CccobservationCccb22de34", "typeMode": "none", "input": [ { @@ -15639,7 +15639,7 @@ ], "rule": [ { - "name": "id-emcareb22de34", + "name": "id-Cccb22de34", "source": [ { "context": "src" @@ -15723,7 +15723,7 @@ ] }, { - "name": "code-emcareb22de34", + "name": "code-Cccb22de34", "source": [ { "context": "src", @@ -15762,7 +15762,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -15797,7 +15797,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -15808,7 +15808,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE34" + "valueString": "Ccc.B22.DE34" } ] } @@ -15894,7 +15894,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BreastFeeding'" + "condition": "linkId = 'Ccc.B22.BreastFeeding'" } ], "rule": [ @@ -15906,7 +15906,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE34') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE34') and answer.exists()" } ], "rule": [ @@ -15922,7 +15922,7 @@ ], "rule": [ { - "name": "final-emcareb22de34", + "name": "final-Cccb22de34", "source": [ { "context": "a", @@ -15955,7 +15955,7 @@ ] }, { - "name": "notfound-emcareb22de34", + "name": "notfound-Cccb22de34", "source": [ { "context": "a", @@ -15996,7 +15996,7 @@ ] }, { - "name": "emcareobservationemcareb22de35", + "name": "CccobservationCccb22de35", "typeMode": "none", "input": [ { @@ -16010,7 +16010,7 @@ ], "rule": [ { - "name": "id-emcareb22de35", + "name": "id-Cccb22de35", "source": [ { "context": "src" @@ -16094,7 +16094,7 @@ ] }, { - "name": "code-emcareb22de35", + "name": "code-Cccb22de35", "source": [ { "context": "src", @@ -16133,7 +16133,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -16168,7 +16168,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -16179,7 +16179,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE35" + "valueString": "Ccc.B22.DE35" } ] } @@ -16265,7 +16265,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BreastFeeding'" + "condition": "linkId = 'Ccc.B22.BreastFeeding'" } ], "rule": [ @@ -16277,7 +16277,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE35') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE35') and answer.exists()" } ], "rule": [ @@ -16293,7 +16293,7 @@ ], "rule": [ { - "name": "final-emcareb22de35", + "name": "final-Cccb22de35", "source": [ { "context": "a", @@ -16326,7 +16326,7 @@ ] }, { - "name": "notfound-emcareb22de35", + "name": "notfound-Cccb22de35", "source": [ { "context": "a", @@ -16367,7 +16367,7 @@ ] }, { - "name": "emcareobservationemcareb22de36", + "name": "CccobservationCccb22de36", "typeMode": "none", "input": [ { @@ -16381,7 +16381,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb22de36", + "name": "id-CccobservationCccb22de36", "source": [ { "context": "src" @@ -16465,7 +16465,7 @@ ] }, { - "name": "code-emcareobservationemcareb22de36", + "name": "code-CccobservationCccb22de36", "source": [ { "context": "src", @@ -16504,7 +16504,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -16539,7 +16539,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -16550,7 +16550,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE36" + "valueString": "Ccc.B22.DE36" } ] } @@ -16636,7 +16636,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BreastFeeding'" + "condition": "linkId = 'Ccc.B22.BreastFeeding'" } ], "rule": [ @@ -16648,7 +16648,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE36') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE36') and answer.exists()" } ], "rule": [ @@ -16716,7 +16716,7 @@ "transform": "copy", "parameter": [ { - "valueId": "EmCare.B22.DE37" + "valueId": "Ccc.B22.DE37" } ] }, @@ -16727,7 +16727,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -16799,7 +16799,7 @@ "transform": "copy", "parameter": [ { - "valueId": "EmCare.B22.DE38" + "valueId": "Ccc.B22.DE38" } ] }, @@ -16810,7 +16810,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -16882,7 +16882,7 @@ "transform": "copy", "parameter": [ { - "valueId": "EmCare.B22.DE39" + "valueId": "Ccc.B22.DE39" } ] }, @@ -16893,7 +16893,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -16965,7 +16965,7 @@ "transform": "copy", "parameter": [ { - "valueId": "EmCare.B22.DE40" + "valueId": "Ccc.B22.DE40" } ] }, @@ -16976,7 +16976,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -17004,7 +17004,7 @@ ] }, { - "name": "emcareobservationemcareb22de42", + "name": "CccobservationCccb22de42", "typeMode": "none", "input": [ { @@ -17018,7 +17018,7 @@ ], "rule": [ { - "name": "id-emcareb22de42", + "name": "id-Cccb22de42", "source": [ { "context": "src" @@ -17102,7 +17102,7 @@ ] }, { - "name": "code-emcareb22de42", + "name": "code-Cccb22de42", "source": [ { "context": "src", @@ -17141,7 +17141,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -17176,7 +17176,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -17187,7 +17187,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE42" + "valueString": "Ccc.B22.DE42" } ] } @@ -17273,7 +17273,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BreastFeeding'" + "condition": "linkId = 'Ccc.B22.BreastFeeding'" } ], "rule": [ @@ -17285,7 +17285,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE42') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE42') and answer.exists()" } ], "rule": [ @@ -17301,7 +17301,7 @@ ], "rule": [ { - "name": "final-emcareb22de42", + "name": "final-Cccb22de42", "source": [ { "context": "a", @@ -17334,7 +17334,7 @@ ] }, { - "name": "notfound-emcareb22de42", + "name": "notfound-Cccb22de42", "source": [ { "context": "a", @@ -17375,7 +17375,7 @@ ] }, { - "name": "emcareobservationemcareb22de44", + "name": "CccobservationCccb22de44", "typeMode": "none", "input": [ { @@ -17389,7 +17389,7 @@ ], "rule": [ { - "name": "id-emcareb22de44", + "name": "id-Cccb22de44", "source": [ { "context": "src" @@ -17473,7 +17473,7 @@ ] }, { - "name": "code-emcareb22de44", + "name": "code-Cccb22de44", "source": [ { "context": "src", @@ -17512,7 +17512,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -17547,7 +17547,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -17558,7 +17558,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE44" + "valueString": "Ccc.B22.DE44" } ] } @@ -17644,7 +17644,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.BreastFeeding'" + "condition": "linkId = 'Ccc.B22.BreastFeeding'" } ], "rule": [ @@ -17656,7 +17656,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE44') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE44') and answer.exists()" } ], "rule": [ @@ -17672,7 +17672,7 @@ ], "rule": [ { - "name": "final-emcareb22de44", + "name": "final-Cccb22de44", "source": [ { "context": "a", @@ -17705,7 +17705,7 @@ ] }, { - "name": "notfound-emcareb22de44", + "name": "notfound-Cccb22de44", "source": [ { "context": "a", @@ -17746,7 +17746,7 @@ ] }, { - "name": "emcareobservationemcareb22de81", + "name": "CccobservationCccb22de81", "typeMode": "none", "input": [ { @@ -17760,7 +17760,7 @@ ], "rule": [ { - "name": "id-emcareb22de81", + "name": "id-Cccb22de81", "source": [ { "context": "src" @@ -17844,7 +17844,7 @@ ] }, { - "name": "code-emcareb22de81", + "name": "code-Cccb22de81", "source": [ { "context": "src", @@ -17883,7 +17883,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -17918,7 +17918,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -17929,7 +17929,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE81" + "valueString": "Ccc.B22.DE81" } ] } @@ -18015,7 +18015,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.Hemoglobin'" + "condition": "linkId = 'Ccc.B22.Hemoglobin'" } ], "rule": [ @@ -18027,7 +18027,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE81') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE81') and answer.exists()" } ], "rule": [ @@ -18085,7 +18085,7 @@ ] }, { - "name": "emcareobservationemcareb22de82", + "name": "CccobservationCccb22de82", "typeMode": "none", "input": [ { @@ -18099,7 +18099,7 @@ ], "rule": [ { - "name": "id-emcareb22de82", + "name": "id-Cccb22de82", "source": [ { "context": "src" @@ -18183,7 +18183,7 @@ ] }, { - "name": "code-emcareb22de82", + "name": "code-Cccb22de82", "source": [ { "context": "src", @@ -18222,7 +18222,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -18257,7 +18257,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -18268,7 +18268,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE82" + "valueString": "Ccc.B22.DE82" } ] } @@ -18354,7 +18354,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.Hemoglobin'" + "condition": "linkId = 'Ccc.B22.Hemoglobin'" } ], "rule": [ @@ -18366,7 +18366,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE82') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE82') and answer.exists()" } ], "rule": [ @@ -18435,7 +18435,7 @@ ] }, { - "name": "emcareobservationemcareb22de47", + "name": "CccobservationCccb22de47", "typeMode": "none", "input": [ { @@ -18449,7 +18449,7 @@ ], "rule": [ { - "name": "id-emcareb22de47", + "name": "id-Cccb22de47", "source": [ { "context": "src" @@ -18533,7 +18533,7 @@ ] }, { - "name": "code-emcareb22de47", + "name": "code-Cccb22de47", "source": [ { "context": "src", @@ -18572,7 +18572,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -18607,7 +18607,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -18618,7 +18618,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE47" + "valueString": "Ccc.B22.DE47" } ] } @@ -18704,7 +18704,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.SecondTemperature'" + "condition": "linkId = 'Ccc.B22.SecondTemperature'" } ], "rule": [ @@ -18716,7 +18716,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE47') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE47') and answer.exists()" } ], "rule": [ @@ -18774,7 +18774,7 @@ ] }, { - "name": "emcareobservationemcareb22de46", + "name": "CccobservationCccb22de46", "typeMode": "none", "input": [ { @@ -18788,7 +18788,7 @@ ], "rule": [ { - "name": "id-emcareb22de46", + "name": "id-Cccb22de46", "source": [ { "context": "src" @@ -18872,7 +18872,7 @@ ] }, { - "name": "code-emcareb22de46", + "name": "code-Cccb22de46", "source": [ { "context": "src", @@ -18911,7 +18911,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -18946,7 +18946,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -18957,7 +18957,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE46" + "valueString": "Ccc.B22.DE46" } ] } @@ -19043,7 +19043,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.SecondTemperature'" + "condition": "linkId = 'Ccc.B22.SecondTemperature'" } ], "rule": [ @@ -19055,7 +19055,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE46') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE46') and answer.exists()" } ], "rule": [ @@ -19124,7 +19124,7 @@ ] }, { - "name": "emcareobservationemcareb22de50", + "name": "CccobservationCccb22de50", "typeMode": "none", "input": [ { @@ -19138,7 +19138,7 @@ ], "rule": [ { - "name": "id-emcareb22de50", + "name": "id-Cccb22de50", "source": [ { "context": "src" @@ -19222,7 +19222,7 @@ ] }, { - "name": "code-emcareb22de50", + "name": "code-Cccb22de50", "source": [ { "context": "src", @@ -19261,7 +19261,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -19296,7 +19296,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -19307,7 +19307,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE50" + "valueString": "Ccc.B22.DE50" } ] } @@ -19393,7 +19393,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B22.SecondTemperature'" + "condition": "linkId = 'Ccc.B22.SecondTemperature'" } ], "rule": [ @@ -19405,7 +19405,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE50') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE50') and answer.exists()" } ], "rule": [ @@ -19480,7 +19480,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, diff --git a/input/resources/structuremap/structuremap-emcare.b22.breastfeeding.json b/input/resources/structuremap/structuremap-Ccc.b22.breastfeeding.json similarity index 88% rename from input/resources/structuremap/structuremap-emcare.b22.breastfeeding.json rename to input/resources/structuremap/structuremap-Ccc.b22.breastfeeding.json index c38a2c33..74525ba2 100644 --- a/input/resources/structuremap/structuremap-emcare.b22.breastfeeding.json +++ b/input/resources/structuremap/structuremap-Ccc.b22.breastfeeding.json @@ -1,12 +1,12 @@ { "resourceType": "StructureMap", - "id": "emcare.b22.breastfeeding", + "id": "Ccc.b22.breastfeeding", "text": { "status": "generated", - "div": "
map "https://smart.who.int/ccc/StructureMap/emcare.b22.breastfeeding" = "emcare.b22.breastfeeding"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/observation" alias 'Observation' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/emcareobservation" alias 'EmCare Observation' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE41') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb22de41(src, tgt) "35802f20";\r\n      } "765c240d";\r\n    } "9de4a229";\r\n  } "75985b2b";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE28') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb22de28(src, tgt) "dd9106b0";\r\n      } "72695e81";\r\n    } "5cc117e5";\r\n  } "9bad69d4";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE29') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb22de29(src, tgt) "0bd03bad";\r\n      } "64565ab8";\r\n    } "a568a312";\r\n  } "76a8dde8";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE30') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb22de30(src, tgt) "a8dbbfa4";\r\n      } "470a9773";\r\n    } "6aff1bf2";\r\n  } "2229067c";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE31') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb22de31(src, tgt) "3a858f1f";\r\n      } "bab0e868";\r\n    } "47ecf4e4";\r\n  } "c5443b3c";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE32') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb22de32(src, tgt) "5537f1d1";\r\n      } "38fb811c";\r\n    } "77934152";\r\n  } "42b13a25";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE33') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb22de33(src, tgt) "b9ca07b3";\r\n      } "e7981b54";\r\n    } "b81929fc";\r\n  } "09721163";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE34') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb22de34(src, tgt) "81a7b6a0";\r\n      } "a60a44da";\r\n    } "9f5867b0";\r\n  } "22a4c1bd";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE35') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb22de35(src, tgt) "99cdb2a9";\r\n      } "7976f991";\r\n    } "6b8eb7c7";\r\n  } "2d0973e6";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE36') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb22de36(src, tgt) "5d275331";\r\n      } "cec8e27b";\r\n    } "e67b8382";\r\n  } "407c94f0";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE42') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb22de42(src, tgt) "273b1a16";\r\n      } "213a0dca";\r\n    } "56a5bbd9";\r\n  } "36bdb5b8";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE44') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb22de44(src, tgt) "843d7b1e";\r\n      } "70061b03";\r\n    } "0e593cb2";\r\n  } "4199346d";\r\n}\r\n\r\ngroup emcareobservationemcareb22de41(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de41";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE41' "code-emcareb22de41";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE41') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n      } "26c2c8c7";\r\n    } "721205d5";\r\n  } "24def288";\r\n}\r\n\r\ngroup emcareobservationemcareb22de28(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de28";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE28' "code-emcareb22de28";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE28') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de28";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de28";\r\n    } "bdab9370";\r\n  } "f2e6f4c7";\r\n}\r\n\r\ngroup emcareobservationemcareb22de29(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de29";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE29' "code-emcareb22de29";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE29') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de29";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de29";\r\n    } "bdab9370";\r\n  } "9c93669f";\r\n}\r\n\r\ngroup emcareobservationemcareb22de30(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de30";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE30' "code-emcareb22de30";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE30') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de30";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de30";\r\n    } "bdab9370";\r\n  } "46ca8d36";\r\n}\r\n\r\ngroup emcareobservationemcareb22de31(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de31";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE31' "code-emcareb22de31";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE31') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de31";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de31";\r\n    } "bdab9370";\r\n  } "27a8c087";\r\n}\r\n\r\ngroup emcareobservationemcareb22de32(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de32";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE32' "code-emcareb22de32";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE32') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de32";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de32";\r\n    } "bdab9370";\r\n  } "24ee0901";\r\n}\r\n\r\ngroup emcareobservationemcareb22de33(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de33";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE33' "code-emcareb22de33";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE33') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de33";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de33";\r\n    } "bdab9370";\r\n  } "17cd42bb";\r\n}\r\n\r\ngroup emcareobservationemcareb22de34(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de34";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE34' "code-emcareb22de34";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE34') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de34";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de34";\r\n    } "bdab9370";\r\n  } "aa1487ce";\r\n}\r\n\r\ngroup emcareobservationemcareb22de35(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de35";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE35' "code-emcareb22de35";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE35') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de35";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de35";\r\n    } "bdab9370";\r\n  } "4be5f694";\r\n}\r\n\r\ngroup emcareobservationemcareb22de36(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb22de36";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE36' "code-emcareobservationemcareb22de36";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE36') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where value = 'Not well Attached to Breast', a.value as val then {\r\n        val ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = create('Coding') as c,  c.code = EmCare.B22.DE37,  c.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  tgt.status = 'final' "71afb672";\r\n      } "a53091ee";\r\n      a where value = 'Good Attachment', a.value as val then {\r\n        val ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = create('Coding') as c,  c.code = EmCare.B22.DE38,  c.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  tgt.status = 'final' "3053aa3e";\r\n      } "239a32e6";\r\n      a where value = 'Not Sucking Effectively', a.value as val then {\r\n        val ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = create('Coding') as c,  c.code = EmCare.B22.DE39,  c.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  tgt.status = 'final' "0e60e5cc";\r\n      } "ae925fc5";\r\n      a where value = 'Sucking Effectively', a.value as val then {\r\n        val ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = create('Coding') as c,  c.code = EmCare.B22.DE40,  c.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  tgt.status = 'final' "5eeaf122";\r\n      } "714e8fb5";\r\n    } "bd419d51";\r\n  } "1b30376c";\r\n}\r\n\r\ngroup emcareobservationemcareb22de42(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de42";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE42' "code-emcareb22de42";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE42') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de42";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de42";\r\n    } "bdab9370";\r\n  } "da98ddbd";\r\n}\r\n\r\ngroup emcareobservationemcareb22de44(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de44";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE44' "code-emcareb22de44";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE44') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de44";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de44";\r\n    } "bdab9370";\r\n  } "53869acc";\r\n}\r\n\r\n
" + "div": "
map "https://smart.who.int/ccc/StructureMap/Ccc.b22.breastfeeding" = "Ccc.b22.breastfeeding"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/observation" alias 'Observation' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/Cccobservation" alias 'Ccc Observation' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE41') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb22de41(src, tgt) "35802f20";\r\n      } "765c240d";\r\n    } "9de4a229";\r\n  } "75985b2b";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE28') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb22de28(src, tgt) "dd9106b0";\r\n      } "72695e81";\r\n    } "5cc117e5";\r\n  } "9bad69d4";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE29') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb22de29(src, tgt) "0bd03bad";\r\n      } "64565ab8";\r\n    } "a568a312";\r\n  } "76a8dde8";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE30') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb22de30(src, tgt) "a8dbbfa4";\r\n      } "470a9773";\r\n    } "6aff1bf2";\r\n  } "2229067c";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE31') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb22de31(src, tgt) "3a858f1f";\r\n      } "bab0e868";\r\n    } "47ecf4e4";\r\n  } "c5443b3c";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE32') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb22de32(src, tgt) "5537f1d1";\r\n      } "38fb811c";\r\n    } "77934152";\r\n  } "42b13a25";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE33') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb22de33(src, tgt) "b9ca07b3";\r\n      } "e7981b54";\r\n    } "b81929fc";\r\n  } "09721163";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE34') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb22de34(src, tgt) "81a7b6a0";\r\n      } "a60a44da";\r\n    } "9f5867b0";\r\n  } "22a4c1bd";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE35') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb22de35(src, tgt) "99cdb2a9";\r\n      } "7976f991";\r\n    } "6b8eb7c7";\r\n  } "2d0973e6";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE36') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb22de36(src, tgt) "5d275331";\r\n      } "cec8e27b";\r\n    } "e67b8382";\r\n  } "407c94f0";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE42') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb22de42(src, tgt) "273b1a16";\r\n      } "213a0dca";\r\n    } "56a5bbd9";\r\n  } "36bdb5b8";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE44') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb22de44(src, tgt) "843d7b1e";\r\n      } "70061b03";\r\n    } "0e593cb2";\r\n  } "4199346d";\r\n}\r\n\r\ngroup CccobservationCccb22de41(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de41";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE41' "code-Cccb22de41";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE41') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n      } "26c2c8c7";\r\n    } "721205d5";\r\n  } "24def288";\r\n}\r\n\r\ngroup CccobservationCccb22de28(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de28";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE28' "code-Cccb22de28";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE28') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de28";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de28";\r\n    } "bdab9370";\r\n  } "f2e6f4c7";\r\n}\r\n\r\ngroup CccobservationCccb22de29(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de29";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE29' "code-Cccb22de29";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE29') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de29";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de29";\r\n    } "bdab9370";\r\n  } "9c93669f";\r\n}\r\n\r\ngroup CccobservationCccb22de30(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de30";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE30' "code-Cccb22de30";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE30') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de30";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de30";\r\n    } "bdab9370";\r\n  } "46ca8d36";\r\n}\r\n\r\ngroup CccobservationCccb22de31(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de31";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE31' "code-Cccb22de31";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE31') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de31";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de31";\r\n    } "bdab9370";\r\n  } "27a8c087";\r\n}\r\n\r\ngroup CccobservationCccb22de32(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de32";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE32' "code-Cccb22de32";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE32') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de32";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de32";\r\n    } "bdab9370";\r\n  } "24ee0901";\r\n}\r\n\r\ngroup CccobservationCccb22de33(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de33";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE33' "code-Cccb22de33";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE33') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de33";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de33";\r\n    } "bdab9370";\r\n  } "17cd42bb";\r\n}\r\n\r\ngroup CccobservationCccb22de34(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de34";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE34' "code-Cccb22de34";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE34') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de34";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de34";\r\n    } "bdab9370";\r\n  } "aa1487ce";\r\n}\r\n\r\ngroup CccobservationCccb22de35(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de35";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE35' "code-Cccb22de35";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE35') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de35";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de35";\r\n    } "bdab9370";\r\n  } "4be5f694";\r\n}\r\n\r\ngroup CccobservationCccb22de36(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb22de36";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE36' "code-CccobservationCccb22de36";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE36') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where value = 'Not well Attached to Breast', a.value as val then {\r\n        val ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = create('Coding') as c,  c.code = Ccc.B22.DE37,  c.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  tgt.status = 'final' "71afb672";\r\n      } "a53091ee";\r\n      a where value = 'Good Attachment', a.value as val then {\r\n        val ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = create('Coding') as c,  c.code = Ccc.B22.DE38,  c.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  tgt.status = 'final' "3053aa3e";\r\n      } "239a32e6";\r\n      a where value = 'Not Sucking Effectively', a.value as val then {\r\n        val ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = create('Coding') as c,  c.code = Ccc.B22.DE39,  c.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  tgt.status = 'final' "0e60e5cc";\r\n      } "ae925fc5";\r\n      a where value = 'Sucking Effectively', a.value as val then {\r\n        val ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = create('Coding') as c,  c.code = Ccc.B22.DE40,  c.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  tgt.status = 'final' "5eeaf122";\r\n      } "714e8fb5";\r\n    } "bd419d51";\r\n  } "1b30376c";\r\n}\r\n\r\ngroup CccobservationCccb22de42(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de42";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE42' "code-Cccb22de42";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE42') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de42";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de42";\r\n    } "bdab9370";\r\n  } "da98ddbd";\r\n}\r\n\r\ngroup CccobservationCccb22de44(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de44";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE44' "code-Cccb22de44";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE44') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de44";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de44";\r\n    } "bdab9370";\r\n  } "53869acc";\r\n}\r\n\r\n
" }, - "url": "https://smart.who.int/ccc/StructureMap/emcare.b22.breastfeeding", - "name": "emcare.b22.breastfeeding", + "url": "https://smart.who.int/ccc/StructureMap/Ccc.b22.breastfeeding", + "name": "Ccc.b22.breastfeeding", "status": "active", "structure": [ { @@ -25,9 +25,9 @@ "alias": "'Observation'" }, { - "url": "https://smart.who.int/ccc/StructureDefinition/emcareobservation", + "url": "https://smart.who.int/ccc/StructureDefinition/Cccobservation", "mode": "produced", - "alias": "'EmCare Observation'" + "alias": "'Ccc Observation'" } ], "group": [ @@ -92,7 +92,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE41') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE41') and answer.exists()" } ], "rule": [ @@ -200,7 +200,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de41", + "name": "CccobservationCccb22de41", "variable": [ "src", "tgt" @@ -222,7 +222,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE28') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE28') and answer.exists()" } ], "rule": [ @@ -330,7 +330,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de28", + "name": "CccobservationCccb22de28", "variable": [ "src", "tgt" @@ -352,7 +352,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE29') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE29') and answer.exists()" } ], "rule": [ @@ -460,7 +460,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de29", + "name": "CccobservationCccb22de29", "variable": [ "src", "tgt" @@ -482,7 +482,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE30') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE30') and answer.exists()" } ], "rule": [ @@ -590,7 +590,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de30", + "name": "CccobservationCccb22de30", "variable": [ "src", "tgt" @@ -612,7 +612,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE31') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE31') and answer.exists()" } ], "rule": [ @@ -720,7 +720,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de31", + "name": "CccobservationCccb22de31", "variable": [ "src", "tgt" @@ -742,7 +742,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE32') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE32') and answer.exists()" } ], "rule": [ @@ -850,7 +850,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de32", + "name": "CccobservationCccb22de32", "variable": [ "src", "tgt" @@ -872,7 +872,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE33') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE33') and answer.exists()" } ], "rule": [ @@ -980,7 +980,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de33", + "name": "CccobservationCccb22de33", "variable": [ "src", "tgt" @@ -1002,7 +1002,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE34') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE34') and answer.exists()" } ], "rule": [ @@ -1110,7 +1110,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de34", + "name": "CccobservationCccb22de34", "variable": [ "src", "tgt" @@ -1132,7 +1132,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE35') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE35') and answer.exists()" } ], "rule": [ @@ -1240,7 +1240,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de35", + "name": "CccobservationCccb22de35", "variable": [ "src", "tgt" @@ -1262,7 +1262,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE36') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE36') and answer.exists()" } ], "rule": [ @@ -1370,7 +1370,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de36", + "name": "CccobservationCccb22de36", "variable": [ "src", "tgt" @@ -1392,7 +1392,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE42') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE42') and answer.exists()" } ], "rule": [ @@ -1500,7 +1500,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de42", + "name": "CccobservationCccb22de42", "variable": [ "src", "tgt" @@ -1522,7 +1522,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE44') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE44') and answer.exists()" } ], "rule": [ @@ -1630,7 +1630,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de44", + "name": "CccobservationCccb22de44", "variable": [ "src", "tgt" @@ -1647,7 +1647,7 @@ ] }, { - "name": "emcareobservationemcareb22de41", + "name": "CccobservationCccb22de41", "typeMode": "none", "input": [ { @@ -1661,7 +1661,7 @@ ], "rule": [ { - "name": "id-emcareb22de41", + "name": "id-Cccb22de41", "source": [ { "context": "src" @@ -1745,7 +1745,7 @@ ] }, { - "name": "code-emcareb22de41", + "name": "code-Cccb22de41", "source": [ { "context": "src", @@ -1784,7 +1784,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -1819,7 +1819,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -1830,7 +1830,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE41" + "valueString": "Ccc.B22.DE41" } ] } @@ -1916,7 +1916,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE41') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE41') and answer.exists()" } ], "rule": [ @@ -1983,7 +1983,7 @@ ] }, { - "name": "emcareobservationemcareb22de28", + "name": "CccobservationCccb22de28", "typeMode": "none", "input": [ { @@ -1997,7 +1997,7 @@ ], "rule": [ { - "name": "id-emcareb22de28", + "name": "id-Cccb22de28", "source": [ { "context": "src" @@ -2081,7 +2081,7 @@ ] }, { - "name": "code-emcareb22de28", + "name": "code-Cccb22de28", "source": [ { "context": "src", @@ -2120,7 +2120,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -2155,7 +2155,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -2166,7 +2166,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE28" + "valueString": "Ccc.B22.DE28" } ] } @@ -2252,7 +2252,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE28') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE28') and answer.exists()" } ], "rule": [ @@ -2268,7 +2268,7 @@ ], "rule": [ { - "name": "final-emcareb22de28", + "name": "final-Cccb22de28", "source": [ { "context": "a", @@ -2301,7 +2301,7 @@ ] }, { - "name": "notfound-emcareb22de28", + "name": "notfound-Cccb22de28", "source": [ { "context": "a", @@ -2340,7 +2340,7 @@ ] }, { - "name": "emcareobservationemcareb22de29", + "name": "CccobservationCccb22de29", "typeMode": "none", "input": [ { @@ -2354,7 +2354,7 @@ ], "rule": [ { - "name": "id-emcareb22de29", + "name": "id-Cccb22de29", "source": [ { "context": "src" @@ -2438,7 +2438,7 @@ ] }, { - "name": "code-emcareb22de29", + "name": "code-Cccb22de29", "source": [ { "context": "src", @@ -2477,7 +2477,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -2512,7 +2512,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -2523,7 +2523,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE29" + "valueString": "Ccc.B22.DE29" } ] } @@ -2609,7 +2609,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE29') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE29') and answer.exists()" } ], "rule": [ @@ -2625,7 +2625,7 @@ ], "rule": [ { - "name": "final-emcareb22de29", + "name": "final-Cccb22de29", "source": [ { "context": "a", @@ -2658,7 +2658,7 @@ ] }, { - "name": "notfound-emcareb22de29", + "name": "notfound-Cccb22de29", "source": [ { "context": "a", @@ -2697,7 +2697,7 @@ ] }, { - "name": "emcareobservationemcareb22de30", + "name": "CccobservationCccb22de30", "typeMode": "none", "input": [ { @@ -2711,7 +2711,7 @@ ], "rule": [ { - "name": "id-emcareb22de30", + "name": "id-Cccb22de30", "source": [ { "context": "src" @@ -2795,7 +2795,7 @@ ] }, { - "name": "code-emcareb22de30", + "name": "code-Cccb22de30", "source": [ { "context": "src", @@ -2834,7 +2834,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -2869,7 +2869,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -2880,7 +2880,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE30" + "valueString": "Ccc.B22.DE30" } ] } @@ -2966,7 +2966,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE30') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE30') and answer.exists()" } ], "rule": [ @@ -2982,7 +2982,7 @@ ], "rule": [ { - "name": "final-emcareb22de30", + "name": "final-Cccb22de30", "source": [ { "context": "a", @@ -3015,7 +3015,7 @@ ] }, { - "name": "notfound-emcareb22de30", + "name": "notfound-Cccb22de30", "source": [ { "context": "a", @@ -3054,7 +3054,7 @@ ] }, { - "name": "emcareobservationemcareb22de31", + "name": "CccobservationCccb22de31", "typeMode": "none", "input": [ { @@ -3068,7 +3068,7 @@ ], "rule": [ { - "name": "id-emcareb22de31", + "name": "id-Cccb22de31", "source": [ { "context": "src" @@ -3152,7 +3152,7 @@ ] }, { - "name": "code-emcareb22de31", + "name": "code-Cccb22de31", "source": [ { "context": "src", @@ -3191,7 +3191,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -3226,7 +3226,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -3237,7 +3237,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE31" + "valueString": "Ccc.B22.DE31" } ] } @@ -3323,7 +3323,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE31') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE31') and answer.exists()" } ], "rule": [ @@ -3339,7 +3339,7 @@ ], "rule": [ { - "name": "final-emcareb22de31", + "name": "final-Cccb22de31", "source": [ { "context": "a", @@ -3372,7 +3372,7 @@ ] }, { - "name": "notfound-emcareb22de31", + "name": "notfound-Cccb22de31", "source": [ { "context": "a", @@ -3411,7 +3411,7 @@ ] }, { - "name": "emcareobservationemcareb22de32", + "name": "CccobservationCccb22de32", "typeMode": "none", "input": [ { @@ -3425,7 +3425,7 @@ ], "rule": [ { - "name": "id-emcareb22de32", + "name": "id-Cccb22de32", "source": [ { "context": "src" @@ -3509,7 +3509,7 @@ ] }, { - "name": "code-emcareb22de32", + "name": "code-Cccb22de32", "source": [ { "context": "src", @@ -3548,7 +3548,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -3583,7 +3583,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -3594,7 +3594,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE32" + "valueString": "Ccc.B22.DE32" } ] } @@ -3680,7 +3680,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE32') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE32') and answer.exists()" } ], "rule": [ @@ -3696,7 +3696,7 @@ ], "rule": [ { - "name": "final-emcareb22de32", + "name": "final-Cccb22de32", "source": [ { "context": "a", @@ -3729,7 +3729,7 @@ ] }, { - "name": "notfound-emcareb22de32", + "name": "notfound-Cccb22de32", "source": [ { "context": "a", @@ -3768,7 +3768,7 @@ ] }, { - "name": "emcareobservationemcareb22de33", + "name": "CccobservationCccb22de33", "typeMode": "none", "input": [ { @@ -3782,7 +3782,7 @@ ], "rule": [ { - "name": "id-emcareb22de33", + "name": "id-Cccb22de33", "source": [ { "context": "src" @@ -3866,7 +3866,7 @@ ] }, { - "name": "code-emcareb22de33", + "name": "code-Cccb22de33", "source": [ { "context": "src", @@ -3905,7 +3905,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -3940,7 +3940,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -3951,7 +3951,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE33" + "valueString": "Ccc.B22.DE33" } ] } @@ -4037,7 +4037,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE33') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE33') and answer.exists()" } ], "rule": [ @@ -4053,7 +4053,7 @@ ], "rule": [ { - "name": "final-emcareb22de33", + "name": "final-Cccb22de33", "source": [ { "context": "a", @@ -4086,7 +4086,7 @@ ] }, { - "name": "notfound-emcareb22de33", + "name": "notfound-Cccb22de33", "source": [ { "context": "a", @@ -4125,7 +4125,7 @@ ] }, { - "name": "emcareobservationemcareb22de34", + "name": "CccobservationCccb22de34", "typeMode": "none", "input": [ { @@ -4139,7 +4139,7 @@ ], "rule": [ { - "name": "id-emcareb22de34", + "name": "id-Cccb22de34", "source": [ { "context": "src" @@ -4223,7 +4223,7 @@ ] }, { - "name": "code-emcareb22de34", + "name": "code-Cccb22de34", "source": [ { "context": "src", @@ -4262,7 +4262,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -4297,7 +4297,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -4308,7 +4308,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE34" + "valueString": "Ccc.B22.DE34" } ] } @@ -4394,7 +4394,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE34') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE34') and answer.exists()" } ], "rule": [ @@ -4410,7 +4410,7 @@ ], "rule": [ { - "name": "final-emcareb22de34", + "name": "final-Cccb22de34", "source": [ { "context": "a", @@ -4443,7 +4443,7 @@ ] }, { - "name": "notfound-emcareb22de34", + "name": "notfound-Cccb22de34", "source": [ { "context": "a", @@ -4482,7 +4482,7 @@ ] }, { - "name": "emcareobservationemcareb22de35", + "name": "CccobservationCccb22de35", "typeMode": "none", "input": [ { @@ -4496,7 +4496,7 @@ ], "rule": [ { - "name": "id-emcareb22de35", + "name": "id-Cccb22de35", "source": [ { "context": "src" @@ -4580,7 +4580,7 @@ ] }, { - "name": "code-emcareb22de35", + "name": "code-Cccb22de35", "source": [ { "context": "src", @@ -4619,7 +4619,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -4654,7 +4654,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -4665,7 +4665,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE35" + "valueString": "Ccc.B22.DE35" } ] } @@ -4751,7 +4751,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE35') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE35') and answer.exists()" } ], "rule": [ @@ -4767,7 +4767,7 @@ ], "rule": [ { - "name": "final-emcareb22de35", + "name": "final-Cccb22de35", "source": [ { "context": "a", @@ -4800,7 +4800,7 @@ ] }, { - "name": "notfound-emcareb22de35", + "name": "notfound-Cccb22de35", "source": [ { "context": "a", @@ -4839,7 +4839,7 @@ ] }, { - "name": "emcareobservationemcareb22de36", + "name": "CccobservationCccb22de36", "typeMode": "none", "input": [ { @@ -4853,7 +4853,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb22de36", + "name": "id-CccobservationCccb22de36", "source": [ { "context": "src" @@ -4937,7 +4937,7 @@ ] }, { - "name": "code-emcareobservationemcareb22de36", + "name": "code-CccobservationCccb22de36", "source": [ { "context": "src", @@ -4976,7 +4976,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -5011,7 +5011,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -5022,7 +5022,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE36" + "valueString": "Ccc.B22.DE36" } ] } @@ -5108,7 +5108,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE36') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE36') and answer.exists()" } ], "rule": [ @@ -5176,7 +5176,7 @@ "transform": "copy", "parameter": [ { - "valueId": "EmCare.B22.DE37" + "valueId": "Ccc.B22.DE37" } ] }, @@ -5187,7 +5187,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -5259,7 +5259,7 @@ "transform": "copy", "parameter": [ { - "valueId": "EmCare.B22.DE38" + "valueId": "Ccc.B22.DE38" } ] }, @@ -5270,7 +5270,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -5342,7 +5342,7 @@ "transform": "copy", "parameter": [ { - "valueId": "EmCare.B22.DE39" + "valueId": "Ccc.B22.DE39" } ] }, @@ -5353,7 +5353,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -5425,7 +5425,7 @@ "transform": "copy", "parameter": [ { - "valueId": "EmCare.B22.DE40" + "valueId": "Ccc.B22.DE40" } ] }, @@ -5436,7 +5436,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -5462,7 +5462,7 @@ ] }, { - "name": "emcareobservationemcareb22de42", + "name": "CccobservationCccb22de42", "typeMode": "none", "input": [ { @@ -5476,7 +5476,7 @@ ], "rule": [ { - "name": "id-emcareb22de42", + "name": "id-Cccb22de42", "source": [ { "context": "src" @@ -5560,7 +5560,7 @@ ] }, { - "name": "code-emcareb22de42", + "name": "code-Cccb22de42", "source": [ { "context": "src", @@ -5599,7 +5599,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -5634,7 +5634,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -5645,7 +5645,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE42" + "valueString": "Ccc.B22.DE42" } ] } @@ -5731,7 +5731,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE42') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE42') and answer.exists()" } ], "rule": [ @@ -5747,7 +5747,7 @@ ], "rule": [ { - "name": "final-emcareb22de42", + "name": "final-Cccb22de42", "source": [ { "context": "a", @@ -5780,7 +5780,7 @@ ] }, { - "name": "notfound-emcareb22de42", + "name": "notfound-Cccb22de42", "source": [ { "context": "a", @@ -5819,7 +5819,7 @@ ] }, { - "name": "emcareobservationemcareb22de44", + "name": "CccobservationCccb22de44", "typeMode": "none", "input": [ { @@ -5833,7 +5833,7 @@ ], "rule": [ { - "name": "id-emcareb22de44", + "name": "id-Cccb22de44", "source": [ { "context": "src" @@ -5917,7 +5917,7 @@ ] }, { - "name": "code-emcareb22de44", + "name": "code-Cccb22de44", "source": [ { "context": "src", @@ -5956,7 +5956,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -5991,7 +5991,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -6002,7 +6002,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE44" + "valueString": "Ccc.B22.DE44" } ] } @@ -6088,7 +6088,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE44') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE44') and answer.exists()" } ], "rule": [ @@ -6104,7 +6104,7 @@ ], "rule": [ { - "name": "final-emcareb22de44", + "name": "final-Cccb22de44", "source": [ { "context": "a", @@ -6137,7 +6137,7 @@ ] }, { - "name": "notfound-emcareb22de44", + "name": "notfound-Cccb22de44", "source": [ { "context": "a", diff --git a/input/resources/structuremap/structuremap-emcare.b22.bronchodilatortest.json b/input/resources/structuremap/structuremap-Ccc.b22.bronchodilatortest.json similarity index 88% rename from input/resources/structuremap/structuremap-emcare.b22.bronchodilatortest.json rename to input/resources/structuremap/structuremap-Ccc.b22.bronchodilatortest.json index 5ed27d4b..6fece451 100644 --- a/input/resources/structuremap/structuremap-emcare.b22.bronchodilatortest.json +++ b/input/resources/structuremap/structuremap-Ccc.b22.bronchodilatortest.json @@ -1,12 +1,12 @@ { "resourceType": "StructureMap", - "id": "emcare.b22.bronchodilatortest", + "id": "Ccc.b22.bronchodilatortest", "text": { "status": "generated", - "div": "
map "https://smart.who.int/ccc/StructureMap/emcare.b22.bronchodilatortest" = "emcare.b22.bronchodilatortest"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/observation" alias 'Observation' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/emcareobservation" alias 'EmCare Observation' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src where src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE18') then {\r\n    src.item first as item where (linkId = 'EmCare.B22.DE17') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb22de17emcareb22de18t(src, tgt) "4b4e3882";\r\n        } "a29f448d";\r\n      } "8c5fbec1";\r\n    } "b0f57b45";\r\n  } "21951d21";\r\n  src where src.item.where(linkId = 'EmCare.B22.DE17').exists() and src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE18').empty() then {\r\n    src.item first as item where (linkId = 'EmCare.B22.DE17') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb22de17emcareb22de18f(src, tgt) "4fd23ec4";\r\n        } "e477bbcc";\r\n      } "c329f1a7";\r\n    } "78424877";\r\n  } "c5976cd7";\r\n  src where src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE19') then {\r\n    src.item first as item where (linkId = 'EmCare.B22.DE17') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb22de17emcareb22de19t(src, tgt) "832556c2";\r\n        } "25d864fa";\r\n      } "d659dd64";\r\n    } "5b545a39";\r\n  } "5e2e09fd";\r\n  src where src.item.where(linkId = 'EmCare.B22.DE17').exists() and src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE19').empty() then {\r\n    src.item first as item where (linkId = 'EmCare.B22.DE17') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb22de17emcareb22de19f(src, tgt) "917126ea";\r\n        } "4d341549";\r\n      } "7cf5a310";\r\n    } "c89d7013";\r\n  } "9e5f2bdb";\r\n  src where src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE20') then {\r\n    src.item first as item where (linkId = 'EmCare.B22.DE17') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb22de17emcareb22de20t(src, tgt) "178da581";\r\n        } "1e80b046";\r\n      } "d67193a2";\r\n    } "59186280";\r\n  } "f429fd81";\r\n  src where src.item.where(linkId = 'EmCare.B22.DE17').exists() and src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE20').empty() then {\r\n    src.item first as item where (linkId = 'EmCare.B22.DE17') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb22de17emcareb22de20f(src, tgt) "4fa88d49";\r\n        } "30a84474";\r\n      } "25416983";\r\n    } "7552e3d3";\r\n  } "8363b35b";\r\n  src where src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE21') then {\r\n    src.item first as item where (linkId = 'EmCare.B22.DE17') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb22de17emcareb22de21t(src, tgt) "628bfa1d";\r\n        } "0bf9d78c";\r\n      } "b0fa129e";\r\n    } "913a00ce";\r\n  } "1561f370";\r\n  src where src.item.where(linkId = 'EmCare.B22.DE17').exists() and src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE21').empty() then {\r\n    src.item first as item where (linkId = 'EmCare.B22.DE17') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb22de17emcareb22de21f(src, tgt) "f42ef3e7";\r\n        } "65279195";\r\n      } "954bbaec";\r\n    } "f61383c6";\r\n  } "530338c0";\r\n  src where src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE22') then {\r\n    src.item first as item where (linkId = 'EmCare.B22.DE17') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb22de17emcareb22de22t(src, tgt) "a1caf2e7";\r\n        } "cea3f121";\r\n      } "f3d4e5ff";\r\n    } "119d61d2";\r\n  } "ba871435";\r\n  src where src.item.where(linkId = 'EmCare.B22.DE17').exists() and src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE22').empty() then {\r\n    src.item first as item where (linkId = 'EmCare.B22.DE17') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then emcareobservationemcareb22de17emcareb22de22f(src, tgt) "df402cb9";\r\n        } "a7736492";\r\n      } "0fd648ea";\r\n    } "cad5ab21";\r\n  } "e57a3dc1";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE22') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb22de22(src, tgt) "b9010fac";\r\n      } "109bcf94";\r\n    } "88ceffcd";\r\n  } "88960ea0";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE21') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb22de21(src, tgt) "7c45409d";\r\n      } "ec6cbc70";\r\n    } "2bc763d0";\r\n  } "86c6f66b";\r\n}\r\n\r\ngroup emcareobservationemcareb22de17emcareb22de18t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb22de17emcareb22de18t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE17&EmCare.B22.DE18' "code-emcareobservationemcareb22de17emcareb22de18t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup emcareobservationemcareb22de17emcareb22de18f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb22de17emcareb22de18f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE17&EmCare.B22.DE18' "code-emcareobservationemcareb22de17emcareb22de18f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup emcareobservationemcareb22de17emcareb22de19t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb22de17emcareb22de19t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE17&EmCare.B22.DE19' "code-emcareobservationemcareb22de17emcareb22de19t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup emcareobservationemcareb22de17emcareb22de19f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb22de17emcareb22de19f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE17&EmCare.B22.DE19' "code-emcareobservationemcareb22de17emcareb22de19f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup emcareobservationemcareb22de17emcareb22de20t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb22de17emcareb22de20t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE17&EmCare.B22.DE20' "code-emcareobservationemcareb22de17emcareb22de20t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup emcareobservationemcareb22de17emcareb22de20f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb22de17emcareb22de20f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE17&EmCare.B22.DE20' "code-emcareobservationemcareb22de17emcareb22de20f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup emcareobservationemcareb22de17emcareb22de21t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb22de17emcareb22de21t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE17&EmCare.B22.DE21' "code-emcareobservationemcareb22de17emcareb22de21t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup emcareobservationemcareb22de17emcareb22de21f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb22de17emcareb22de21f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE17&EmCare.B22.DE21' "code-emcareobservationemcareb22de17emcareb22de21f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup emcareobservationemcareb22de17emcareb22de22t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb22de17emcareb22de22t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE17&EmCare.B22.DE22' "code-emcareobservationemcareb22de17emcareb22de22t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup emcareobservationemcareb22de17emcareb22de22f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareobservationemcareb22de17emcareb22de22f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE17&EmCare.B22.DE22' "code-emcareobservationemcareb22de17emcareb22de22f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup emcareobservationemcareb22de22(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de22";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE22' "code-emcareb22de22";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE22') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n      } "26c2c8c7";\r\n    } "721205d5";\r\n  } "dd2a446b";\r\n}\r\n\r\ngroup emcareobservationemcareb22de21(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de21";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE21' "code-emcareb22de21";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE21') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de21";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de21";\r\n    } "bdab9370";\r\n  } "be0b9dbe";\r\n}\r\n\r\n
" + "div": "
map "https://smart.who.int/ccc/StructureMap/Ccc.b22.bronchodilatortest" = "Ccc.b22.bronchodilatortest"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/observation" alias 'Observation' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/Cccobservation" alias 'Ccc Observation' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src where src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE18') then {\r\n    src.item first as item where (linkId = 'Ccc.B22.DE17') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb22de17Cccb22de18t(src, tgt) "4b4e3882";\r\n        } "a29f448d";\r\n      } "8c5fbec1";\r\n    } "b0f57b45";\r\n  } "21951d21";\r\n  src where src.item.where(linkId = 'Ccc.B22.DE17').exists() and src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE18').empty() then {\r\n    src.item first as item where (linkId = 'Ccc.B22.DE17') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb22de17Cccb22de18f(src, tgt) "4fd23ec4";\r\n        } "e477bbcc";\r\n      } "c329f1a7";\r\n    } "78424877";\r\n  } "c5976cd7";\r\n  src where src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE19') then {\r\n    src.item first as item where (linkId = 'Ccc.B22.DE17') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb22de17Cccb22de19t(src, tgt) "832556c2";\r\n        } "25d864fa";\r\n      } "d659dd64";\r\n    } "5b545a39";\r\n  } "5e2e09fd";\r\n  src where src.item.where(linkId = 'Ccc.B22.DE17').exists() and src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE19').empty() then {\r\n    src.item first as item where (linkId = 'Ccc.B22.DE17') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb22de17Cccb22de19f(src, tgt) "917126ea";\r\n        } "4d341549";\r\n      } "7cf5a310";\r\n    } "c89d7013";\r\n  } "9e5f2bdb";\r\n  src where src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE20') then {\r\n    src.item first as item where (linkId = 'Ccc.B22.DE17') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb22de17Cccb22de20t(src, tgt) "178da581";\r\n        } "1e80b046";\r\n      } "d67193a2";\r\n    } "59186280";\r\n  } "f429fd81";\r\n  src where src.item.where(linkId = 'Ccc.B22.DE17').exists() and src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE20').empty() then {\r\n    src.item first as item where (linkId = 'Ccc.B22.DE17') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb22de17Cccb22de20f(src, tgt) "4fa88d49";\r\n        } "30a84474";\r\n      } "25416983";\r\n    } "7552e3d3";\r\n  } "8363b35b";\r\n  src where src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE21') then {\r\n    src.item first as item where (linkId = 'Ccc.B22.DE17') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb22de17Cccb22de21t(src, tgt) "628bfa1d";\r\n        } "0bf9d78c";\r\n      } "b0fa129e";\r\n    } "913a00ce";\r\n  } "1561f370";\r\n  src where src.item.where(linkId = 'Ccc.B22.DE17').exists() and src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE21').empty() then {\r\n    src.item first as item where (linkId = 'Ccc.B22.DE17') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb22de17Cccb22de21f(src, tgt) "f42ef3e7";\r\n        } "65279195";\r\n      } "954bbaec";\r\n    } "f61383c6";\r\n  } "530338c0";\r\n  src where src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE22') then {\r\n    src.item first as item where (linkId = 'Ccc.B22.DE17') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb22de17Cccb22de22t(src, tgt) "a1caf2e7";\r\n        } "cea3f121";\r\n      } "f3d4e5ff";\r\n    } "119d61d2";\r\n  } "ba871435";\r\n  src where src.item.where(linkId = 'Ccc.B22.DE17').exists() and src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE22').empty() then {\r\n    src.item first as item where (linkId = 'Ccc.B22.DE17') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src then CccobservationCccb22de17Cccb22de22f(src, tgt) "df402cb9";\r\n        } "a7736492";\r\n      } "0fd648ea";\r\n    } "cad5ab21";\r\n  } "e57a3dc1";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE22') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb22de22(src, tgt) "b9010fac";\r\n      } "109bcf94";\r\n    } "88ceffcd";\r\n  } "88960ea0";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE21') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb22de21(src, tgt) "7c45409d";\r\n      } "ec6cbc70";\r\n    } "2bc763d0";\r\n  } "86c6f66b";\r\n}\r\n\r\ngroup CccobservationCccb22de17Cccb22de18t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb22de17Cccb22de18t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE17&Ccc.B22.DE18' "code-CccobservationCccb22de17Cccb22de18t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup CccobservationCccb22de17Cccb22de18f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb22de17Cccb22de18f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE17&Ccc.B22.DE18' "code-CccobservationCccb22de17Cccb22de18f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup CccobservationCccb22de17Cccb22de19t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb22de17Cccb22de19t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE17&Ccc.B22.DE19' "code-CccobservationCccb22de17Cccb22de19t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup CccobservationCccb22de17Cccb22de19f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb22de17Cccb22de19f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE17&Ccc.B22.DE19' "code-CccobservationCccb22de17Cccb22de19f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup CccobservationCccb22de17Cccb22de20t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb22de17Cccb22de20t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE17&Ccc.B22.DE20' "code-CccobservationCccb22de17Cccb22de20t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup CccobservationCccb22de17Cccb22de20f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb22de17Cccb22de20f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE17&Ccc.B22.DE20' "code-CccobservationCccb22de17Cccb22de20f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup CccobservationCccb22de17Cccb22de21t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb22de17Cccb22de21t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE17&Ccc.B22.DE21' "code-CccobservationCccb22de17Cccb22de21t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup CccobservationCccb22de17Cccb22de21f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb22de17Cccb22de21f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE17&Ccc.B22.DE21' "code-CccobservationCccb22de17Cccb22de21f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup CccobservationCccb22de17Cccb22de22t(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb22de17Cccb22de22t";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE17&Ccc.B22.DE22' "code-CccobservationCccb22de17Cccb22de22t";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";\r\n}\r\n\r\ngroup CccobservationCccb22de17Cccb22de22f(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb22de17Cccb22de22f";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE17&Ccc.B22.DE22' "code-CccobservationCccb22de17Cccb22de22f";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";\r\n}\r\n\r\ngroup CccobservationCccb22de22(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de22";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE22' "code-Cccb22de22";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE22') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n      } "26c2c8c7";\r\n    } "721205d5";\r\n  } "dd2a446b";\r\n}\r\n\r\ngroup CccobservationCccb22de21(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de21";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE21' "code-Cccb22de21";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE21') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de21";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de21";\r\n    } "bdab9370";\r\n  } "be0b9dbe";\r\n}\r\n\r\n
" }, - "url": "https://smart.who.int/ccc/StructureMap/emcare.b22.bronchodilatortest", - "name": "emcare.b22.bronchodilatortest", + "url": "https://smart.who.int/ccc/StructureMap/Ccc.b22.bronchodilatortest", + "name": "Ccc.b22.bronchodilatortest", "status": "active", "structure": [ { @@ -25,9 +25,9 @@ "alias": "'Observation'" }, { - "url": "https://smart.who.int/ccc/StructureDefinition/emcareobservation", + "url": "https://smart.who.int/ccc/StructureDefinition/Cccobservation", "mode": "produced", - "alias": "'EmCare Observation'" + "alias": "'Ccc Observation'" } ], "group": [ @@ -89,7 +89,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE18')" + "condition": "src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE18')" } ], "rule": [ @@ -101,7 +101,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE17') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE17') and answer.exists()" } ], "rule": [ @@ -198,7 +198,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de17emcareb22de18t", + "name": "CccobservationCccb22de17Cccb22de18t", "variable": [ "src", "tgt" @@ -219,7 +219,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B22.DE17').exists() and src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE18').empty()" + "condition": "src.item.where(linkId = 'Ccc.B22.DE17').exists() and src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE18').empty()" } ], "rule": [ @@ -231,7 +231,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE17') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE17') and answer.exists()" } ], "rule": [ @@ -328,7 +328,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de17emcareb22de18f", + "name": "CccobservationCccb22de17Cccb22de18f", "variable": [ "src", "tgt" @@ -349,7 +349,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE19')" + "condition": "src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE19')" } ], "rule": [ @@ -361,7 +361,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE17') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE17') and answer.exists()" } ], "rule": [ @@ -458,7 +458,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de17emcareb22de19t", + "name": "CccobservationCccb22de17Cccb22de19t", "variable": [ "src", "tgt" @@ -479,7 +479,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B22.DE17').exists() and src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE19').empty()" + "condition": "src.item.where(linkId = 'Ccc.B22.DE17').exists() and src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE19').empty()" } ], "rule": [ @@ -491,7 +491,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE17') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE17') and answer.exists()" } ], "rule": [ @@ -588,7 +588,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de17emcareb22de19f", + "name": "CccobservationCccb22de17Cccb22de19f", "variable": [ "src", "tgt" @@ -609,7 +609,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE20')" + "condition": "src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE20')" } ], "rule": [ @@ -621,7 +621,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE17') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE17') and answer.exists()" } ], "rule": [ @@ -718,7 +718,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de17emcareb22de20t", + "name": "CccobservationCccb22de17Cccb22de20t", "variable": [ "src", "tgt" @@ -739,7 +739,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B22.DE17').exists() and src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE20').empty()" + "condition": "src.item.where(linkId = 'Ccc.B22.DE17').exists() and src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE20').empty()" } ], "rule": [ @@ -751,7 +751,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE17') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE17') and answer.exists()" } ], "rule": [ @@ -848,7 +848,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de17emcareb22de20f", + "name": "CccobservationCccb22de17Cccb22de20f", "variable": [ "src", "tgt" @@ -869,7 +869,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE21')" + "condition": "src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE21')" } ], "rule": [ @@ -881,7 +881,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE17') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE17') and answer.exists()" } ], "rule": [ @@ -978,7 +978,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de17emcareb22de21t", + "name": "CccobservationCccb22de17Cccb22de21t", "variable": [ "src", "tgt" @@ -999,7 +999,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B22.DE17').exists() and src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE21').empty()" + "condition": "src.item.where(linkId = 'Ccc.B22.DE17').exists() and src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE21').empty()" } ], "rule": [ @@ -1011,7 +1011,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE17') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE17') and answer.exists()" } ], "rule": [ @@ -1108,7 +1108,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de17emcareb22de21f", + "name": "CccobservationCccb22de17Cccb22de21f", "variable": [ "src", "tgt" @@ -1129,7 +1129,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE22')" + "condition": "src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE22')" } ], "rule": [ @@ -1141,7 +1141,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE17') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE17') and answer.exists()" } ], "rule": [ @@ -1238,7 +1238,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de17emcareb22de22t", + "name": "CccobservationCccb22de17Cccb22de22t", "variable": [ "src", "tgt" @@ -1259,7 +1259,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'EmCare.B22.DE17').exists() and src.item.where(linkId = 'EmCare.B22.DE17').answer.where(value.code = 'EmCare.B22.DE22').empty()" + "condition": "src.item.where(linkId = 'Ccc.B22.DE17').exists() and src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE22').empty()" } ], "rule": [ @@ -1271,7 +1271,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE17') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE17') and answer.exists()" } ], "rule": [ @@ -1368,7 +1368,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de17emcareb22de22f", + "name": "CccobservationCccb22de17Cccb22de22f", "variable": [ "src", "tgt" @@ -1392,7 +1392,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE22') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE22') and answer.exists()" } ], "rule": [ @@ -1500,7 +1500,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de22", + "name": "CccobservationCccb22de22", "variable": [ "src", "tgt" @@ -1522,7 +1522,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE21') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE21') and answer.exists()" } ], "rule": [ @@ -1630,7 +1630,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de21", + "name": "CccobservationCccb22de21", "variable": [ "src", "tgt" @@ -1647,7 +1647,7 @@ ] }, { - "name": "emcareobservationemcareb22de17emcareb22de18t", + "name": "CccobservationCccb22de17Cccb22de18t", "typeMode": "none", "input": [ { @@ -1661,7 +1661,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb22de17emcareb22de18t", + "name": "id-CccobservationCccb22de17Cccb22de18t", "source": [ { "context": "src" @@ -1745,7 +1745,7 @@ ] }, { - "name": "code-emcareobservationemcareb22de17emcareb22de18t", + "name": "code-CccobservationCccb22de17Cccb22de18t", "source": [ { "context": "src", @@ -1784,7 +1784,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -1819,7 +1819,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -1830,7 +1830,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE17&EmCare.B22.DE18" + "valueString": "Ccc.B22.DE17&Ccc.B22.DE18" } ] } @@ -1943,7 +1943,7 @@ ] }, { - "name": "emcareobservationemcareb22de17emcareb22de18f", + "name": "CccobservationCccb22de17Cccb22de18f", "typeMode": "none", "input": [ { @@ -1957,7 +1957,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb22de17emcareb22de18f", + "name": "id-CccobservationCccb22de17Cccb22de18f", "source": [ { "context": "src" @@ -2041,7 +2041,7 @@ ] }, { - "name": "code-emcareobservationemcareb22de17emcareb22de18f", + "name": "code-CccobservationCccb22de17Cccb22de18f", "source": [ { "context": "src", @@ -2080,7 +2080,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -2115,7 +2115,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -2126,7 +2126,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE17&EmCare.B22.DE18" + "valueString": "Ccc.B22.DE17&Ccc.B22.DE18" } ] } @@ -2239,7 +2239,7 @@ ] }, { - "name": "emcareobservationemcareb22de17emcareb22de19t", + "name": "CccobservationCccb22de17Cccb22de19t", "typeMode": "none", "input": [ { @@ -2253,7 +2253,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb22de17emcareb22de19t", + "name": "id-CccobservationCccb22de17Cccb22de19t", "source": [ { "context": "src" @@ -2337,7 +2337,7 @@ ] }, { - "name": "code-emcareobservationemcareb22de17emcareb22de19t", + "name": "code-CccobservationCccb22de17Cccb22de19t", "source": [ { "context": "src", @@ -2376,7 +2376,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -2411,7 +2411,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -2422,7 +2422,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE17&EmCare.B22.DE19" + "valueString": "Ccc.B22.DE17&Ccc.B22.DE19" } ] } @@ -2535,7 +2535,7 @@ ] }, { - "name": "emcareobservationemcareb22de17emcareb22de19f", + "name": "CccobservationCccb22de17Cccb22de19f", "typeMode": "none", "input": [ { @@ -2549,7 +2549,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb22de17emcareb22de19f", + "name": "id-CccobservationCccb22de17Cccb22de19f", "source": [ { "context": "src" @@ -2633,7 +2633,7 @@ ] }, { - "name": "code-emcareobservationemcareb22de17emcareb22de19f", + "name": "code-CccobservationCccb22de17Cccb22de19f", "source": [ { "context": "src", @@ -2672,7 +2672,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -2707,7 +2707,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -2718,7 +2718,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE17&EmCare.B22.DE19" + "valueString": "Ccc.B22.DE17&Ccc.B22.DE19" } ] } @@ -2831,7 +2831,7 @@ ] }, { - "name": "emcareobservationemcareb22de17emcareb22de20t", + "name": "CccobservationCccb22de17Cccb22de20t", "typeMode": "none", "input": [ { @@ -2845,7 +2845,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb22de17emcareb22de20t", + "name": "id-CccobservationCccb22de17Cccb22de20t", "source": [ { "context": "src" @@ -2929,7 +2929,7 @@ ] }, { - "name": "code-emcareobservationemcareb22de17emcareb22de20t", + "name": "code-CccobservationCccb22de17Cccb22de20t", "source": [ { "context": "src", @@ -2968,7 +2968,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -3003,7 +3003,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -3014,7 +3014,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE17&EmCare.B22.DE20" + "valueString": "Ccc.B22.DE17&Ccc.B22.DE20" } ] } @@ -3127,7 +3127,7 @@ ] }, { - "name": "emcareobservationemcareb22de17emcareb22de20f", + "name": "CccobservationCccb22de17Cccb22de20f", "typeMode": "none", "input": [ { @@ -3141,7 +3141,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb22de17emcareb22de20f", + "name": "id-CccobservationCccb22de17Cccb22de20f", "source": [ { "context": "src" @@ -3225,7 +3225,7 @@ ] }, { - "name": "code-emcareobservationemcareb22de17emcareb22de20f", + "name": "code-CccobservationCccb22de17Cccb22de20f", "source": [ { "context": "src", @@ -3264,7 +3264,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -3299,7 +3299,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -3310,7 +3310,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE17&EmCare.B22.DE20" + "valueString": "Ccc.B22.DE17&Ccc.B22.DE20" } ] } @@ -3423,7 +3423,7 @@ ] }, { - "name": "emcareobservationemcareb22de17emcareb22de21t", + "name": "CccobservationCccb22de17Cccb22de21t", "typeMode": "none", "input": [ { @@ -3437,7 +3437,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb22de17emcareb22de21t", + "name": "id-CccobservationCccb22de17Cccb22de21t", "source": [ { "context": "src" @@ -3521,7 +3521,7 @@ ] }, { - "name": "code-emcareobservationemcareb22de17emcareb22de21t", + "name": "code-CccobservationCccb22de17Cccb22de21t", "source": [ { "context": "src", @@ -3560,7 +3560,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -3595,7 +3595,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -3606,7 +3606,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE17&EmCare.B22.DE21" + "valueString": "Ccc.B22.DE17&Ccc.B22.DE21" } ] } @@ -3719,7 +3719,7 @@ ] }, { - "name": "emcareobservationemcareb22de17emcareb22de21f", + "name": "CccobservationCccb22de17Cccb22de21f", "typeMode": "none", "input": [ { @@ -3733,7 +3733,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb22de17emcareb22de21f", + "name": "id-CccobservationCccb22de17Cccb22de21f", "source": [ { "context": "src" @@ -3817,7 +3817,7 @@ ] }, { - "name": "code-emcareobservationemcareb22de17emcareb22de21f", + "name": "code-CccobservationCccb22de17Cccb22de21f", "source": [ { "context": "src", @@ -3856,7 +3856,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -3891,7 +3891,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -3902,7 +3902,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE17&EmCare.B22.DE21" + "valueString": "Ccc.B22.DE17&Ccc.B22.DE21" } ] } @@ -4015,7 +4015,7 @@ ] }, { - "name": "emcareobservationemcareb22de17emcareb22de22t", + "name": "CccobservationCccb22de17Cccb22de22t", "typeMode": "none", "input": [ { @@ -4029,7 +4029,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb22de17emcareb22de22t", + "name": "id-CccobservationCccb22de17Cccb22de22t", "source": [ { "context": "src" @@ -4113,7 +4113,7 @@ ] }, { - "name": "code-emcareobservationemcareb22de17emcareb22de22t", + "name": "code-CccobservationCccb22de17Cccb22de22t", "source": [ { "context": "src", @@ -4152,7 +4152,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -4187,7 +4187,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -4198,7 +4198,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE17&EmCare.B22.DE22" + "valueString": "Ccc.B22.DE17&Ccc.B22.DE22" } ] } @@ -4311,7 +4311,7 @@ ] }, { - "name": "emcareobservationemcareb22de17emcareb22de22f", + "name": "CccobservationCccb22de17Cccb22de22f", "typeMode": "none", "input": [ { @@ -4325,7 +4325,7 @@ ], "rule": [ { - "name": "id-emcareobservationemcareb22de17emcareb22de22f", + "name": "id-CccobservationCccb22de17Cccb22de22f", "source": [ { "context": "src" @@ -4409,7 +4409,7 @@ ] }, { - "name": "code-emcareobservationemcareb22de17emcareb22de22f", + "name": "code-CccobservationCccb22de17Cccb22de22f", "source": [ { "context": "src", @@ -4448,7 +4448,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -4483,7 +4483,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -4494,7 +4494,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE17&EmCare.B22.DE22" + "valueString": "Ccc.B22.DE17&Ccc.B22.DE22" } ] } @@ -4607,7 +4607,7 @@ ] }, { - "name": "emcareobservationemcareb22de22", + "name": "CccobservationCccb22de22", "typeMode": "none", "input": [ { @@ -4621,7 +4621,7 @@ ], "rule": [ { - "name": "id-emcareb22de22", + "name": "id-Cccb22de22", "source": [ { "context": "src" @@ -4705,7 +4705,7 @@ ] }, { - "name": "code-emcareb22de22", + "name": "code-Cccb22de22", "source": [ { "context": "src", @@ -4744,7 +4744,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -4779,7 +4779,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -4790,7 +4790,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE22" + "valueString": "Ccc.B22.DE22" } ] } @@ -4876,7 +4876,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE22') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE22') and answer.exists()" } ], "rule": [ @@ -4943,7 +4943,7 @@ ] }, { - "name": "emcareobservationemcareb22de21", + "name": "CccobservationCccb22de21", "typeMode": "none", "input": [ { @@ -4957,7 +4957,7 @@ ], "rule": [ { - "name": "id-emcareb22de21", + "name": "id-Cccb22de21", "source": [ { "context": "src" @@ -5041,7 +5041,7 @@ ] }, { - "name": "code-emcareb22de21", + "name": "code-Cccb22de21", "source": [ { "context": "src", @@ -5080,7 +5080,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -5115,7 +5115,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -5126,7 +5126,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE21" + "valueString": "Ccc.B22.DE21" } ] } @@ -5212,7 +5212,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE21') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE21') and answer.exists()" } ], "rule": [ @@ -5228,7 +5228,7 @@ ], "rule": [ { - "name": "final-emcareb22de21", + "name": "final-Cccb22de21", "source": [ { "context": "a", @@ -5261,7 +5261,7 @@ ] }, { - "name": "notfound-emcareb22de21", + "name": "notfound-Cccb22de21", "source": [ { "context": "a", diff --git a/input/resources/structuremap/structuremap-emcare.b22.fluidtest.json b/input/resources/structuremap/structuremap-Ccc.b22.fluidtest.json similarity index 88% rename from input/resources/structuremap/structuremap-emcare.b22.fluidtest.json rename to input/resources/structuremap/structuremap-Ccc.b22.fluidtest.json index d563a58c..e6fc627e 100644 --- a/input/resources/structuremap/structuremap-emcare.b22.fluidtest.json +++ b/input/resources/structuremap/structuremap-Ccc.b22.fluidtest.json @@ -1,12 +1,12 @@ { "resourceType": "StructureMap", - "id": "emcare.b22.fluidtest", + "id": "Ccc.b22.fluidtest", "text": { "status": "generated", - "div": "
map "https://smart.who.int/ccc/StructureMap/emcare.b22.fluidtest" = "emcare.b22.fluidtest"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/observation" alias 'Observation' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/emcareobservation" alias 'EmCare Observation' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE08') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb22de08(src, tgt) "d34db40c";\r\n      } "bd8403a6";\r\n    } "09eb3e1a";\r\n  } "9a6f78aa";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE14') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb22de14(src, tgt) "128f555c";\r\n      } "2cba61ee";\r\n    } "1eb502ac";\r\n  } "4a69f58d";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE14a') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb22de14a(src, tgt) "7b46291c";\r\n      } "17f1508c";\r\n    } "64f82f5e";\r\n  } "17d5b370";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE15') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb22de15(src, tgt) "0d25d61c";\r\n      } "49095bbf";\r\n    } "7ffa5829";\r\n  } "33c9d538";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE16') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb22de16(src, tgt) "2bef72fa";\r\n      } "f426fdde";\r\n    } "f53bf22c";\r\n  } "1a49e616";\r\n}\r\n\r\ngroup emcareobservationemcareb22de08(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de08";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE08' "code-emcareb22de08";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE08') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "64bb2211";\r\n}\r\n\r\ngroup emcareobservationemcareb22de14(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de14";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE14' "code-emcareb22de14";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE14') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n      } "26c2c8c7";\r\n    } "721205d5";\r\n  } "0ac7445d";\r\n}\r\n\r\ngroup emcareobservationemcareb22de14a(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de14a";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE14a' "code-emcareb22de14a";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE14a') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de14a";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de14a";\r\n    } "bdab9370";\r\n  } "b79a05a4";\r\n}\r\n\r\ngroup emcareobservationemcareb22de15(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de15";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE15' "code-emcareb22de15";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE15') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de15";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de15";\r\n    } "bdab9370";\r\n  } "6c50dbd5";\r\n}\r\n\r\ngroup emcareobservationemcareb22de16(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de16";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE16' "code-emcareb22de16";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE16') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "6d23b905";\r\n}\r\n\r\n
" + "div": "
map "https://smart.who.int/ccc/StructureMap/Ccc.b22.fluidtest" = "Ccc.b22.fluidtest"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/observation" alias 'Observation' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/Cccobservation" alias 'Ccc Observation' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE08') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb22de08(src, tgt) "d34db40c";\r\n      } "bd8403a6";\r\n    } "09eb3e1a";\r\n  } "9a6f78aa";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE14') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb22de14(src, tgt) "128f555c";\r\n      } "2cba61ee";\r\n    } "1eb502ac";\r\n  } "4a69f58d";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE14a') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb22de14a(src, tgt) "7b46291c";\r\n      } "17f1508c";\r\n    } "64f82f5e";\r\n  } "17d5b370";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE15') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb22de15(src, tgt) "0d25d61c";\r\n      } "49095bbf";\r\n    } "7ffa5829";\r\n  } "33c9d538";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE16') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb22de16(src, tgt) "2bef72fa";\r\n      } "f426fdde";\r\n    } "f53bf22c";\r\n  } "1a49e616";\r\n}\r\n\r\ngroup CccobservationCccb22de08(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de08";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE08' "code-Cccb22de08";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE08') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "64bb2211";\r\n}\r\n\r\ngroup CccobservationCccb22de14(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de14";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE14' "code-Cccb22de14";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE14') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n      } "26c2c8c7";\r\n    } "721205d5";\r\n  } "0ac7445d";\r\n}\r\n\r\ngroup CccobservationCccb22de14a(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de14a";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE14a' "code-Cccb22de14a";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE14a') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de14a";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de14a";\r\n    } "bdab9370";\r\n  } "b79a05a4";\r\n}\r\n\r\ngroup CccobservationCccb22de15(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de15";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE15' "code-Cccb22de15";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE15') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de15";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de15";\r\n    } "bdab9370";\r\n  } "6c50dbd5";\r\n}\r\n\r\ngroup CccobservationCccb22de16(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de16";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE16' "code-Cccb22de16";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE16') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "6d23b905";\r\n}\r\n\r\n
" }, - "url": "https://smart.who.int/ccc/StructureMap/emcare.b22.fluidtest", - "name": "emcare.b22.fluidtest", + "url": "https://smart.who.int/ccc/StructureMap/Ccc.b22.fluidtest", + "name": "Ccc.b22.fluidtest", "status": "active", "structure": [ { @@ -25,9 +25,9 @@ "alias": "'Observation'" }, { - "url": "https://smart.who.int/ccc/StructureDefinition/emcareobservation", + "url": "https://smart.who.int/ccc/StructureDefinition/Cccobservation", "mode": "produced", - "alias": "'EmCare Observation'" + "alias": "'Ccc Observation'" } ], "group": [ @@ -92,7 +92,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE08') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE08') and answer.exists()" } ], "rule": [ @@ -200,7 +200,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de08", + "name": "CccobservationCccb22de08", "variable": [ "src", "tgt" @@ -222,7 +222,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE14') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE14') and answer.exists()" } ], "rule": [ @@ -330,7 +330,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de14", + "name": "CccobservationCccb22de14", "variable": [ "src", "tgt" @@ -352,7 +352,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE14a') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE14a') and answer.exists()" } ], "rule": [ @@ -460,7 +460,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de14a", + "name": "CccobservationCccb22de14a", "variable": [ "src", "tgt" @@ -482,7 +482,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE15') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE15') and answer.exists()" } ], "rule": [ @@ -590,7 +590,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de15", + "name": "CccobservationCccb22de15", "variable": [ "src", "tgt" @@ -612,7 +612,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE16') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE16') and answer.exists()" } ], "rule": [ @@ -720,7 +720,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de16", + "name": "CccobservationCccb22de16", "variable": [ "src", "tgt" @@ -737,7 +737,7 @@ ] }, { - "name": "emcareobservationemcareb22de08", + "name": "CccobservationCccb22de08", "typeMode": "none", "input": [ { @@ -751,7 +751,7 @@ ], "rule": [ { - "name": "id-emcareb22de08", + "name": "id-Cccb22de08", "source": [ { "context": "src" @@ -835,7 +835,7 @@ ] }, { - "name": "code-emcareb22de08", + "name": "code-Cccb22de08", "source": [ { "context": "src", @@ -874,7 +874,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -909,7 +909,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -920,7 +920,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE08" + "valueString": "Ccc.B22.DE08" } ] } @@ -1006,7 +1006,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE08') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE08') and answer.exists()" } ], "rule": [ @@ -1107,7 +1107,7 @@ ] }, { - "name": "emcareobservationemcareb22de14", + "name": "CccobservationCccb22de14", "typeMode": "none", "input": [ { @@ -1121,7 +1121,7 @@ ], "rule": [ { - "name": "id-emcareb22de14", + "name": "id-Cccb22de14", "source": [ { "context": "src" @@ -1205,7 +1205,7 @@ ] }, { - "name": "code-emcareb22de14", + "name": "code-Cccb22de14", "source": [ { "context": "src", @@ -1244,7 +1244,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -1279,7 +1279,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -1290,7 +1290,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE14" + "valueString": "Ccc.B22.DE14" } ] } @@ -1376,7 +1376,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE14') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE14') and answer.exists()" } ], "rule": [ @@ -1443,7 +1443,7 @@ ] }, { - "name": "emcareobservationemcareb22de14a", + "name": "CccobservationCccb22de14a", "typeMode": "none", "input": [ { @@ -1457,7 +1457,7 @@ ], "rule": [ { - "name": "id-emcareb22de14a", + "name": "id-Cccb22de14a", "source": [ { "context": "src" @@ -1541,7 +1541,7 @@ ] }, { - "name": "code-emcareb22de14a", + "name": "code-Cccb22de14a", "source": [ { "context": "src", @@ -1580,7 +1580,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -1615,7 +1615,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -1626,7 +1626,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE14a" + "valueString": "Ccc.B22.DE14a" } ] } @@ -1712,7 +1712,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE14a') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE14a') and answer.exists()" } ], "rule": [ @@ -1728,7 +1728,7 @@ ], "rule": [ { - "name": "final-emcareb22de14a", + "name": "final-Cccb22de14a", "source": [ { "context": "a", @@ -1761,7 +1761,7 @@ ] }, { - "name": "notfound-emcareb22de14a", + "name": "notfound-Cccb22de14a", "source": [ { "context": "a", @@ -1800,7 +1800,7 @@ ] }, { - "name": "emcareobservationemcareb22de15", + "name": "CccobservationCccb22de15", "typeMode": "none", "input": [ { @@ -1814,7 +1814,7 @@ ], "rule": [ { - "name": "id-emcareb22de15", + "name": "id-Cccb22de15", "source": [ { "context": "src" @@ -1898,7 +1898,7 @@ ] }, { - "name": "code-emcareb22de15", + "name": "code-Cccb22de15", "source": [ { "context": "src", @@ -1937,7 +1937,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -1972,7 +1972,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -1983,7 +1983,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE15" + "valueString": "Ccc.B22.DE15" } ] } @@ -2069,7 +2069,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE15') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE15') and answer.exists()" } ], "rule": [ @@ -2085,7 +2085,7 @@ ], "rule": [ { - "name": "final-emcareb22de15", + "name": "final-Cccb22de15", "source": [ { "context": "a", @@ -2118,7 +2118,7 @@ ] }, { - "name": "notfound-emcareb22de15", + "name": "notfound-Cccb22de15", "source": [ { "context": "a", @@ -2157,7 +2157,7 @@ ] }, { - "name": "emcareobservationemcareb22de16", + "name": "CccobservationCccb22de16", "typeMode": "none", "input": [ { @@ -2171,7 +2171,7 @@ ], "rule": [ { - "name": "id-emcareb22de16", + "name": "id-Cccb22de16", "source": [ { "context": "src" @@ -2255,7 +2255,7 @@ ] }, { - "name": "code-emcareb22de16", + "name": "code-Cccb22de16", "source": [ { "context": "src", @@ -2294,7 +2294,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -2329,7 +2329,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -2340,7 +2340,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE16" + "valueString": "Ccc.B22.DE16" } ] } @@ -2426,7 +2426,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE16') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE16') and answer.exists()" } ], "rule": [ diff --git a/input/resources/structuremap/structuremap-emcare.b22.hemoglobin.json b/input/resources/structuremap/structuremap-Ccc.b22.hemoglobin.json similarity index 87% rename from input/resources/structuremap/structuremap-emcare.b22.hemoglobin.json rename to input/resources/structuremap/structuremap-Ccc.b22.hemoglobin.json index de7c45b3..409fa590 100644 --- a/input/resources/structuremap/structuremap-emcare.b22.hemoglobin.json +++ b/input/resources/structuremap/structuremap-Ccc.b22.hemoglobin.json @@ -1,12 +1,12 @@ { "resourceType": "StructureMap", - "id": "emcare.b22.hemoglobin", + "id": "Ccc.b22.hemoglobin", "text": { "status": "generated", - "div": "
map "https://smart.who.int/ccc/StructureMap/emcare.b22.hemoglobin" = "emcare.b22.hemoglobin"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/observation" alias 'Observation' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/emcareobservation" alias 'EmCare Observation' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE81') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb22de81(src, tgt) "f56b8d65";\r\n      } "42cac8d1";\r\n    } "00ff1e0b";\r\n  } "f4f9d360";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE82') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb22de82(src, tgt) "1118b2e0";\r\n      } "565f125e";\r\n    } "cc5012ad";\r\n  } "ba583c69";\r\n}\r\n\r\ngroup emcareobservationemcareb22de81(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de81";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE81' "code-emcareb22de81";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE81') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n    } "d40466ff";\r\n  } "dfc1d2c2";\r\n}\r\n\r\ngroup emcareobservationemcareb22de82(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de82";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE82' "code-emcareb22de82";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE82') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n      } "26c2c8c7";\r\n    } "721205d5";\r\n  } "cc79d81a";\r\n}\r\n\r\n
" + "div": "
map "https://smart.who.int/ccc/StructureMap/Ccc.b22.hemoglobin" = "Ccc.b22.hemoglobin"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/observation" alias 'Observation' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/Cccobservation" alias 'Ccc Observation' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE81') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb22de81(src, tgt) "f56b8d65";\r\n      } "42cac8d1";\r\n    } "00ff1e0b";\r\n  } "f4f9d360";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE82') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb22de82(src, tgt) "1118b2e0";\r\n      } "565f125e";\r\n    } "cc5012ad";\r\n  } "ba583c69";\r\n}\r\n\r\ngroup CccobservationCccb22de81(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de81";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE81' "code-Cccb22de81";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE81') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n    } "d40466ff";\r\n  } "dfc1d2c2";\r\n}\r\n\r\ngroup CccobservationCccb22de82(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de82";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE82' "code-Cccb22de82";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE82') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n      } "26c2c8c7";\r\n    } "721205d5";\r\n  } "cc79d81a";\r\n}\r\n\r\n
" }, - "url": "https://smart.who.int/ccc/StructureMap/emcare.b22.hemoglobin", - "name": "emcare.b22.hemoglobin", + "url": "https://smart.who.int/ccc/StructureMap/Ccc.b22.hemoglobin", + "name": "Ccc.b22.hemoglobin", "status": "active", "structure": [ { @@ -25,9 +25,9 @@ "alias": "'Observation'" }, { - "url": "https://smart.who.int/ccc/StructureDefinition/emcareobservation", + "url": "https://smart.who.int/ccc/StructureDefinition/Cccobservation", "mode": "produced", - "alias": "'EmCare Observation'" + "alias": "'Ccc Observation'" } ], "group": [ @@ -92,7 +92,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE81') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE81') and answer.exists()" } ], "rule": [ @@ -200,7 +200,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de81", + "name": "CccobservationCccb22de81", "variable": [ "src", "tgt" @@ -222,7 +222,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE82') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE82') and answer.exists()" } ], "rule": [ @@ -330,7 +330,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de82", + "name": "CccobservationCccb22de82", "variable": [ "src", "tgt" @@ -347,7 +347,7 @@ ] }, { - "name": "emcareobservationemcareb22de81", + "name": "CccobservationCccb22de81", "typeMode": "none", "input": [ { @@ -361,7 +361,7 @@ ], "rule": [ { - "name": "id-emcareb22de81", + "name": "id-Cccb22de81", "source": [ { "context": "src" @@ -445,7 +445,7 @@ ] }, { - "name": "code-emcareb22de81", + "name": "code-Cccb22de81", "source": [ { "context": "src", @@ -484,7 +484,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -519,7 +519,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -530,7 +530,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE81" + "valueString": "Ccc.B22.DE81" } ] } @@ -616,7 +616,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE81') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE81') and answer.exists()" } ], "rule": [ @@ -672,7 +672,7 @@ ] }, { - "name": "emcareobservationemcareb22de82", + "name": "CccobservationCccb22de82", "typeMode": "none", "input": [ { @@ -686,7 +686,7 @@ ], "rule": [ { - "name": "id-emcareb22de82", + "name": "id-Cccb22de82", "source": [ { "context": "src" @@ -770,7 +770,7 @@ ] }, { - "name": "code-emcareb22de82", + "name": "code-Cccb22de82", "source": [ { "context": "src", @@ -809,7 +809,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -844,7 +844,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -855,7 +855,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE82" + "valueString": "Ccc.B22.DE82" } ] } @@ -941,7 +941,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE82') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE82') and answer.exists()" } ], "rule": [ diff --git a/input/resources/structuremap/structuremap-emcare.b22.respiratoryrate.json b/input/resources/structuremap/structuremap-Ccc.b22.respiratoryrate.json similarity index 88% rename from input/resources/structuremap/structuremap-emcare.b22.respiratoryrate.json rename to input/resources/structuremap/structuremap-Ccc.b22.respiratoryrate.json index 862b1f20..ffa13530 100644 --- a/input/resources/structuremap/structuremap-emcare.b22.respiratoryrate.json +++ b/input/resources/structuremap/structuremap-Ccc.b22.respiratoryrate.json @@ -1,12 +1,12 @@ { "resourceType": "StructureMap", - "id": "emcare.b22.respiratoryrate", + "id": "Ccc.b22.respiratoryrate", "text": { "status": "generated", - "div": "
map "https://smart.who.int/ccc/StructureMap/emcare.b22.respiratoryrate" = "emcare.b22.respiratoryrate"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/observation" alias 'Observation' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/emcareobservation" alias 'EmCare Observation' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb22de01(src, tgt) "94788d70";\r\n      } "cafa1f90";\r\n    } "44017cb3";\r\n  } "77649f73";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE02') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb22de02(src, tgt) "c3e885af";\r\n      } "60b301de";\r\n    } "815e425c";\r\n  } "7ee0496a";\r\n  src.item first as itm1 where linkId = 'second' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE04') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de04(src, tgt) "42ed4c3a";\r\n        } "b802d4a2";\r\n      } "c7431f4f";\r\n    } "db1f14c6";\r\n  } "b4376f1a";\r\n  src.item first as itm1 where linkId = 'second' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE05') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb22de05(src, tgt) "3be4cd34";\r\n        } "b7585bc2";\r\n      } "61b1a5c6";\r\n    } "e18939cc";\r\n  } "521e128f";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE07') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb22de07(src, tgt) "fa30cee1";\r\n      } "aad75965";\r\n    } "8267defb";\r\n  } "f682bc2d";\r\n}\r\n\r\ngroup emcareobservationemcareb22de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE01' "code-emcareb22de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n    } "d40466ff";\r\n  } "49ffb8b4";\r\n}\r\n\r\ngroup emcareobservationemcareb22de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE02' "code-emcareb22de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE02') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n      } "26c2c8c7";\r\n    } "721205d5";\r\n  } "3b9acb5e";\r\n}\r\n\r\ngroup emcareobservationemcareb22de04(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de04";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE04' "code-emcareb22de04";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'second' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE04') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n      } "d40466ff";\r\n    } "a51bfd6b";\r\n  } "dfb413f3";\r\n}\r\n\r\ngroup emcareobservationemcareb22de05(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de05";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE05' "code-emcareb22de05";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'second' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B22.DE05') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val then {\r\n          val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n        } "26c2c8c7";\r\n      } "721205d5";\r\n    } "64195ab2";\r\n  } "e7a272dd";\r\n}\r\n\r\ngroup emcareobservationemcareb22de07(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de07";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE07' "code-emcareb22de07";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE07') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de07";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de07";\r\n    } "bdab9370";\r\n  } "07e9b85b";\r\n}\r\n\r\n
" + "div": "
map "https://smart.who.int/ccc/StructureMap/Ccc.b22.respiratoryrate" = "Ccc.b22.respiratoryrate"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/observation" alias 'Observation' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/Cccobservation" alias 'Ccc Observation' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb22de01(src, tgt) "94788d70";\r\n      } "cafa1f90";\r\n    } "44017cb3";\r\n  } "77649f73";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE02') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb22de02(src, tgt) "c3e885af";\r\n      } "60b301de";\r\n    } "815e425c";\r\n  } "7ee0496a";\r\n  src.item first as itm1 where linkId = 'second' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE04') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de04(src, tgt) "42ed4c3a";\r\n        } "b802d4a2";\r\n      } "c7431f4f";\r\n    } "db1f14c6";\r\n  } "b4376f1a";\r\n  src.item first as itm1 where linkId = 'second' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE05') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb22de05(src, tgt) "3be4cd34";\r\n        } "b7585bc2";\r\n      } "61b1a5c6";\r\n    } "e18939cc";\r\n  } "521e128f";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE07') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb22de07(src, tgt) "fa30cee1";\r\n      } "aad75965";\r\n    } "8267defb";\r\n  } "f682bc2d";\r\n}\r\n\r\ngroup CccobservationCccb22de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE01' "code-Cccb22de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n    } "d40466ff";\r\n  } "49ffb8b4";\r\n}\r\n\r\ngroup CccobservationCccb22de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE02' "code-Cccb22de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE02') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n      } "26c2c8c7";\r\n    } "721205d5";\r\n  } "3b9acb5e";\r\n}\r\n\r\ngroup CccobservationCccb22de04(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de04";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE04' "code-Cccb22de04";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'second' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE04') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n      } "d40466ff";\r\n    } "a51bfd6b";\r\n  } "dfb413f3";\r\n}\r\n\r\ngroup CccobservationCccb22de05(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de05";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE05' "code-Cccb22de05";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'second' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE05') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val then {\r\n          val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n        } "26c2c8c7";\r\n      } "721205d5";\r\n    } "64195ab2";\r\n  } "e7a272dd";\r\n}\r\n\r\ngroup CccobservationCccb22de07(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de07";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE07' "code-Cccb22de07";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE07') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de07";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de07";\r\n    } "bdab9370";\r\n  } "07e9b85b";\r\n}\r\n\r\n
" }, - "url": "https://smart.who.int/ccc/StructureMap/emcare.b22.respiratoryrate", - "name": "emcare.b22.respiratoryrate", + "url": "https://smart.who.int/ccc/StructureMap/Ccc.b22.respiratoryrate", + "name": "Ccc.b22.respiratoryrate", "status": "active", "structure": [ { @@ -25,9 +25,9 @@ "alias": "'Observation'" }, { - "url": "https://smart.who.int/ccc/StructureDefinition/emcareobservation", + "url": "https://smart.who.int/ccc/StructureDefinition/Cccobservation", "mode": "produced", - "alias": "'EmCare Observation'" + "alias": "'Ccc Observation'" } ], "group": [ @@ -92,7 +92,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE01') and answer.exists()" } ], "rule": [ @@ -200,7 +200,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de01", + "name": "CccobservationCccb22de01", "variable": [ "src", "tgt" @@ -222,7 +222,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE02') and answer.exists()" } ], "rule": [ @@ -330,7 +330,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de02", + "name": "CccobservationCccb22de02", "variable": [ "src", "tgt" @@ -364,7 +364,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE04') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE04') and answer.exists()" } ], "rule": [ @@ -472,7 +472,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de04", + "name": "CccobservationCccb22de04", "variable": [ "src", "tgt" @@ -508,7 +508,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE05') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE05') and answer.exists()" } ], "rule": [ @@ -616,7 +616,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de05", + "name": "CccobservationCccb22de05", "variable": [ "src", "tgt" @@ -640,7 +640,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE07') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE07') and answer.exists()" } ], "rule": [ @@ -748,7 +748,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de07", + "name": "CccobservationCccb22de07", "variable": [ "src", "tgt" @@ -765,7 +765,7 @@ ] }, { - "name": "emcareobservationemcareb22de01", + "name": "CccobservationCccb22de01", "typeMode": "none", "input": [ { @@ -779,7 +779,7 @@ ], "rule": [ { - "name": "id-emcareb22de01", + "name": "id-Cccb22de01", "source": [ { "context": "src" @@ -863,7 +863,7 @@ ] }, { - "name": "code-emcareb22de01", + "name": "code-Cccb22de01", "source": [ { "context": "src", @@ -902,7 +902,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -937,7 +937,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -948,7 +948,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE01" + "valueString": "Ccc.B22.DE01" } ] } @@ -1034,7 +1034,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE01') and answer.exists()" } ], "rule": [ @@ -1090,7 +1090,7 @@ ] }, { - "name": "emcareobservationemcareb22de02", + "name": "CccobservationCccb22de02", "typeMode": "none", "input": [ { @@ -1104,7 +1104,7 @@ ], "rule": [ { - "name": "id-emcareb22de02", + "name": "id-Cccb22de02", "source": [ { "context": "src" @@ -1188,7 +1188,7 @@ ] }, { - "name": "code-emcareb22de02", + "name": "code-Cccb22de02", "source": [ { "context": "src", @@ -1227,7 +1227,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -1262,7 +1262,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -1273,7 +1273,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE02" + "valueString": "Ccc.B22.DE02" } ] } @@ -1359,7 +1359,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE02') and answer.exists()" } ], "rule": [ @@ -1426,7 +1426,7 @@ ] }, { - "name": "emcareobservationemcareb22de04", + "name": "CccobservationCccb22de04", "typeMode": "none", "input": [ { @@ -1440,7 +1440,7 @@ ], "rule": [ { - "name": "id-emcareb22de04", + "name": "id-Cccb22de04", "source": [ { "context": "src" @@ -1524,7 +1524,7 @@ ] }, { - "name": "code-emcareb22de04", + "name": "code-Cccb22de04", "source": [ { "context": "src", @@ -1563,7 +1563,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -1598,7 +1598,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -1609,7 +1609,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE04" + "valueString": "Ccc.B22.DE04" } ] } @@ -1707,7 +1707,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE04') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE04') and answer.exists()" } ], "rule": [ @@ -1765,7 +1765,7 @@ ] }, { - "name": "emcareobservationemcareb22de05", + "name": "CccobservationCccb22de05", "typeMode": "none", "input": [ { @@ -1779,7 +1779,7 @@ ], "rule": [ { - "name": "id-emcareb22de05", + "name": "id-Cccb22de05", "source": [ { "context": "src" @@ -1863,7 +1863,7 @@ ] }, { - "name": "code-emcareb22de05", + "name": "code-Cccb22de05", "source": [ { "context": "src", @@ -1902,7 +1902,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -1937,7 +1937,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -1948,7 +1948,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE05" + "valueString": "Ccc.B22.DE05" } ] } @@ -2046,7 +2046,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE05') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE05') and answer.exists()" } ], "rule": [ @@ -2115,7 +2115,7 @@ ] }, { - "name": "emcareobservationemcareb22de07", + "name": "CccobservationCccb22de07", "typeMode": "none", "input": [ { @@ -2129,7 +2129,7 @@ ], "rule": [ { - "name": "id-emcareb22de07", + "name": "id-Cccb22de07", "source": [ { "context": "src" @@ -2213,7 +2213,7 @@ ] }, { - "name": "code-emcareb22de07", + "name": "code-Cccb22de07", "source": [ { "context": "src", @@ -2252,7 +2252,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -2287,7 +2287,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -2298,7 +2298,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE07" + "valueString": "Ccc.B22.DE07" } ] } @@ -2384,7 +2384,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE07') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE07') and answer.exists()" } ], "rule": [ @@ -2400,7 +2400,7 @@ ], "rule": [ { - "name": "final-emcareb22de07", + "name": "final-Cccb22de07", "source": [ { "context": "a", @@ -2433,7 +2433,7 @@ ] }, { - "name": "notfound-emcareb22de07", + "name": "notfound-Cccb22de07", "source": [ { "context": "a", diff --git a/input/resources/structuremap/structuremap-emcare.b22.secondtemperature.json b/input/resources/structuremap/structuremap-Ccc.b22.secondtemperature.json similarity index 87% rename from input/resources/structuremap/structuremap-emcare.b22.secondtemperature.json rename to input/resources/structuremap/structuremap-Ccc.b22.secondtemperature.json index 8e9060b1..6e0f4776 100644 --- a/input/resources/structuremap/structuremap-emcare.b22.secondtemperature.json +++ b/input/resources/structuremap/structuremap-Ccc.b22.secondtemperature.json @@ -1,12 +1,12 @@ { "resourceType": "StructureMap", - "id": "emcare.b22.secondtemperature", + "id": "Ccc.b22.secondtemperature", "text": { "status": "generated", - "div": "
map "https://smart.who.int/ccc/StructureMap/emcare.b22.secondtemperature" = "emcare.b22.secondtemperature"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/observation" alias 'Observation' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/emcareobservation" alias 'EmCare Observation' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE47') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb22de47(src, tgt) "27e1ae58";\r\n      } "68ad31bf";\r\n    } "6ac0c1c9";\r\n  } "921b6c4e";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE46') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb22de46(src, tgt) "d4ea6333";\r\n      } "1ee0adeb";\r\n    } "9266b262";\r\n  } "822ffc0d";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE50') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb22de50(src, tgt) "b5c48578";\r\n      } "1d3deeec";\r\n    } "82120e52";\r\n  } "7a077eb8";\r\n}\r\n\r\ngroup emcareobservationemcareb22de47(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de47";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE47' "code-emcareb22de47";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE47') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n    } "d40466ff";\r\n  } "48393240";\r\n}\r\n\r\ngroup emcareobservationemcareb22de46(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de46";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE46' "code-emcareb22de46";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE46') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n      } "26c2c8c7";\r\n    } "721205d5";\r\n  } "a4475795";\r\n}\r\n\r\ngroup emcareobservationemcareb22de50(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de50";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE50' "code-emcareb22de50";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B22.DE50') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = create('Coding') as c,  c.code = val,  c.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  tgt.status = 'final' "759a9a54";\r\n      } "1b820ab0";\r\n    } "d39f9088";\r\n  } "7972a70f";\r\n}\r\n\r\n
" + "div": "
map "https://smart.who.int/ccc/StructureMap/Ccc.b22.secondtemperature" = "Ccc.b22.secondtemperature"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/observation" alias 'Observation' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/Cccobservation" alias 'Ccc Observation' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE47') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb22de47(src, tgt) "27e1ae58";\r\n      } "68ad31bf";\r\n    } "6ac0c1c9";\r\n  } "921b6c4e";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE46') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb22de46(src, tgt) "d4ea6333";\r\n      } "1ee0adeb";\r\n    } "9266b262";\r\n  } "822ffc0d";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE50') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb22de50(src, tgt) "b5c48578";\r\n      } "1d3deeec";\r\n    } "82120e52";\r\n  } "7a077eb8";\r\n}\r\n\r\ngroup CccobservationCccb22de47(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de47";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE47' "code-Cccb22de47";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE47') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n    } "d40466ff";\r\n  } "48393240";\r\n}\r\n\r\ngroup CccobservationCccb22de46(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de46";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE46' "code-Cccb22de46";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE46') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n      } "26c2c8c7";\r\n    } "721205d5";\r\n  } "a4475795";\r\n}\r\n\r\ngroup CccobservationCccb22de50(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de50";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE50' "code-Cccb22de50";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B22.DE50') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = create('Coding') as c,  c.code = val,  c.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  tgt.status = 'final' "759a9a54";\r\n      } "1b820ab0";\r\n    } "d39f9088";\r\n  } "7972a70f";\r\n}\r\n\r\n
" }, - "url": "https://smart.who.int/ccc/StructureMap/emcare.b22.secondtemperature", - "name": "emcare.b22.secondtemperature", + "url": "https://smart.who.int/ccc/StructureMap/Ccc.b22.secondtemperature", + "name": "Ccc.b22.secondtemperature", "status": "active", "structure": [ { @@ -25,9 +25,9 @@ "alias": "'Observation'" }, { - "url": "https://smart.who.int/ccc/StructureDefinition/emcareobservation", + "url": "https://smart.who.int/ccc/StructureDefinition/Cccobservation", "mode": "produced", - "alias": "'EmCare Observation'" + "alias": "'Ccc Observation'" } ], "group": [ @@ -92,7 +92,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE47') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE47') and answer.exists()" } ], "rule": [ @@ -200,7 +200,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de47", + "name": "CccobservationCccb22de47", "variable": [ "src", "tgt" @@ -222,7 +222,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE46') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE46') and answer.exists()" } ], "rule": [ @@ -330,7 +330,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de46", + "name": "CccobservationCccb22de46", "variable": [ "src", "tgt" @@ -352,7 +352,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE50') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE50') and answer.exists()" } ], "rule": [ @@ -460,7 +460,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de50", + "name": "CccobservationCccb22de50", "variable": [ "src", "tgt" @@ -477,7 +477,7 @@ ] }, { - "name": "emcareobservationemcareb22de47", + "name": "CccobservationCccb22de47", "typeMode": "none", "input": [ { @@ -491,7 +491,7 @@ ], "rule": [ { - "name": "id-emcareb22de47", + "name": "id-Cccb22de47", "source": [ { "context": "src" @@ -575,7 +575,7 @@ ] }, { - "name": "code-emcareb22de47", + "name": "code-Cccb22de47", "source": [ { "context": "src", @@ -614,7 +614,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -649,7 +649,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -660,7 +660,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE47" + "valueString": "Ccc.B22.DE47" } ] } @@ -746,7 +746,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE47') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE47') and answer.exists()" } ], "rule": [ @@ -802,7 +802,7 @@ ] }, { - "name": "emcareobservationemcareb22de46", + "name": "CccobservationCccb22de46", "typeMode": "none", "input": [ { @@ -816,7 +816,7 @@ ], "rule": [ { - "name": "id-emcareb22de46", + "name": "id-Cccb22de46", "source": [ { "context": "src" @@ -900,7 +900,7 @@ ] }, { - "name": "code-emcareb22de46", + "name": "code-Cccb22de46", "source": [ { "context": "src", @@ -939,7 +939,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -974,7 +974,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -985,7 +985,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE46" + "valueString": "Ccc.B22.DE46" } ] } @@ -1071,7 +1071,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE46') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE46') and answer.exists()" } ], "rule": [ @@ -1138,7 +1138,7 @@ ] }, { - "name": "emcareobservationemcareb22de50", + "name": "CccobservationCccb22de50", "typeMode": "none", "input": [ { @@ -1152,7 +1152,7 @@ ], "rule": [ { - "name": "id-emcareb22de50", + "name": "id-Cccb22de50", "source": [ { "context": "src" @@ -1236,7 +1236,7 @@ ] }, { - "name": "code-emcareb22de50", + "name": "code-Cccb22de50", "source": [ { "context": "src", @@ -1275,7 +1275,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -1310,7 +1310,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -1321,7 +1321,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE50" + "valueString": "Ccc.B22.DE50" } ] } @@ -1407,7 +1407,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE50') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE50') and answer.exists()" } ], "rule": [ @@ -1482,7 +1482,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, diff --git a/input/resources/structuremap/structuremap-emcare.b23.classification.json b/input/resources/structuremap/structuremap-Ccc.b23.classification.json similarity index 94% rename from input/resources/structuremap/structuremap-emcare.b23.classification.json rename to input/resources/structuremap/structuremap-Ccc.b23.classification.json index 5247b877..a85cbc8e 100644 --- a/input/resources/structuremap/structuremap-emcare.b23.classification.json +++ b/input/resources/structuremap/structuremap-Ccc.b23.classification.json @@ -1,12 +1,12 @@ { "resourceType": "StructureMap", - "id": "emcare.b23.classification", + "id": "Ccc.b23.classification", "text": { "status": "generated", - "div": "
map "https://smart.who.int/ccc/StructureMap/emcare.b23.classification" = "emcare.b23.classification"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/observation" alias 'Observation' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/condition" alias 'Condition' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/emcareobservation" alias 'EmCare Observation' as produced\r\nuses "https://smart.who.int/ccc/StructureDefinition/emcarecondition" alias 'EmCare Condition' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src.item first as item where (linkId = 'EmCare.B6.DE08') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb6de08(src, tgt) "6bb35e76";\r\n      } "eb449882";\r\n    } "e71738d1";\r\n  } "b739680e";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE01') and answer.exists() then {\r\n          item then emcareconditionemcareb23de01(src, item, tgt) "2f5a16b2";\r\n        } "bfe7a55c";\r\n      } "50a5819f";\r\n    } "e8f6cc23";\r\n  } "7a454a82";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE03') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE03') and answer.exists() then {\r\n          item then emcareconditionemcareb23de03(src, item, tgt) "a67360e4";\r\n        } "42024447";\r\n      } "78d1fec3";\r\n    } "ab9b8f9b";\r\n  } "f63c99d7";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE06') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE06') and answer.exists() then {\r\n          item then emcareconditionemcareb23de06(src, item, tgt) "9c759e88";\r\n        } "060d6b0f";\r\n      } "6909c9cb";\r\n    } "80a2a642";\r\n  } "93603109";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE10') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE10') and answer.exists() then {\r\n          item then emcareconditionemcareb23de10(src, item, tgt) "68412bef";\r\n        } "f7cba384";\r\n      } "395852f7";\r\n    } "fe607810";\r\n  } "b387304c";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE13') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE13') and answer.exists() then {\r\n          item then emcareconditionemcareb23de13(src, item, tgt) "66186a0c";\r\n        } "a1450efb";\r\n      } "076ff820";\r\n    } "08bcb577";\r\n  } "feb0d657";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE14') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE14') and answer.exists() then {\r\n          item then emcareconditionemcareb23de14(src, item, tgt) "2dcb0090";\r\n        } "88d1e8c7";\r\n      } "3ef7f05b";\r\n    } "90e804b6";\r\n  } "d819a392";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE15') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE15') and answer.exists() then {\r\n          item then emcareconditionemcareb23de15(src, item, tgt) "fe470a2a";\r\n        } "21fccbde";\r\n      } "2eb659f8";\r\n    } "79ef4ab2";\r\n  } "e3b54720";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE16') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE16') and answer.exists() then {\r\n          item then emcareconditionemcareb23de16(src, item, tgt) "5ca68bc9";\r\n        } "13f73669";\r\n      } "004176aa";\r\n    } "f197824a";\r\n  } "30f296ff";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE17') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE17') and answer.exists() then {\r\n          item then emcareconditionemcareb23de17(src, item, tgt) "b84270e5";\r\n        } "40c0e1f5";\r\n      } "ed28a431";\r\n    } "8655026f";\r\n  } "e00a237b";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE18') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE18') and answer.exists() then {\r\n          item then emcareconditionemcareb23de18(src, item, tgt) "dfbf48ee";\r\n        } "ad789b95";\r\n      } "d65389e8";\r\n    } "78232367";\r\n  } "8cc4fc87";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE18.a') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE18.a') and answer.exists() then {\r\n          item then emcareconditionemcareb23de18a(src, item, tgt) "5c3c2d1d";\r\n        } "43c599a6";\r\n      } "75af673e";\r\n    } "f32ce9b9";\r\n  } "316d35e0";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE100') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE100') and answer.exists() then {\r\n          item then emcareconditionemcareb23de100(src, item, tgt) "56f36841";\r\n        } "97f35c84";\r\n      } "89555aa7";\r\n    } "f85ae159";\r\n  } "af08e4be";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE6101') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE6101') and answer.exists() then {\r\n          item then emcareconditionemcareb23de6101(src, item, tgt) "753668eb";\r\n        } "1e95b03f";\r\n      } "098ed11a";\r\n    } "3ad2ebe1";\r\n  } "083bdfa7";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE6102') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE6102') and answer.exists() then {\r\n          item then emcareconditionemcareb23de6102(src, item, tgt) "b18c060f";\r\n        } "9885316c";\r\n      } "02844368";\r\n    } "60e42bf7";\r\n  } "be28d894";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE6103') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE6103') and answer.exists() then {\r\n          item then emcareconditionemcareb23de6103(src, item, tgt) "694ad147";\r\n        } "f8d3c6a0";\r\n      } "deaa28f3";\r\n    } "39431803";\r\n  } "8c74e110";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE30') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE30') and answer.exists() then {\r\n          item then emcareconditionemcareb23de30(src, item, tgt) "32bbb313";\r\n        } "92db22d8";\r\n      } "8cd3b82f";\r\n    } "98322930";\r\n  } "304f990a";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE31') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE31') and answer.exists() then {\r\n          item then emcareconditionemcareb23de31(src, item, tgt) "9964826f";\r\n        } "f5203f81";\r\n      } "0f3128f2";\r\n    } "062d38a4";\r\n  } "8d94ef29";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE32') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE32') and answer.exists() then {\r\n          item then emcareconditionemcareb23de32(src, item, tgt) "59173520";\r\n        } "d5cfadca";\r\n      } "0f17a43e";\r\n    } "b3942453";\r\n  } "1d3e64f6";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE33') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE33') and answer.exists() then {\r\n          item then emcareconditionemcareb23de33(src, item, tgt) "c837ebf0";\r\n        } "1edd3bf3";\r\n      } "4ae746e1";\r\n    } "5b4ed518";\r\n  } "932b4857";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE19') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE19') and answer.exists() then {\r\n          item then emcareconditionemcareb23de19(src, item, tgt) "52279224";\r\n        } "6f81d3f9";\r\n      } "113ecc5c";\r\n    } "04d55a2c";\r\n  } "12b7ac16";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE104') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE104') and answer.exists() then {\r\n          item then emcareconditionemcareb23de104(src, item, tgt) "70ac88c0";\r\n        } "ba965067";\r\n      } "7af6d913";\r\n    } "b926b389";\r\n  } "b8498228";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE105') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE105') and answer.exists() then {\r\n          item then emcareconditionemcareb23de105(src, item, tgt) "fd65bdec";\r\n        } "2814799c";\r\n      } "4c17029d";\r\n    } "50b5f05d";\r\n  } "fd02db7e";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE27') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE27') and answer.exists() then {\r\n          item then emcareconditionemcareb23de27(src, item, tgt) "26e04269";\r\n        } "101a50d8";\r\n      } "202d5c60";\r\n    } "79e4637e";\r\n  } "7034785e";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE28') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE28') and answer.exists() then {\r\n          item then emcareconditionemcareb23de28(src, item, tgt) "9cd8c124";\r\n        } "a14217b2";\r\n      } "22888f47";\r\n    } "037df360";\r\n  } "a0c36d7f";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE29') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE29') and answer.exists() then {\r\n          item then emcareconditionemcareb23de29(src, item, tgt) "d4810ead";\r\n        } "1c12d5db";\r\n      } "ea7f1382";\r\n    } "905f043d";\r\n  } "5f2e1416";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE62') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE62') and answer.exists() then {\r\n          item then emcareconditionemcareb23de62(src, item, tgt) "2054edb9";\r\n        } "02044741";\r\n      } "159e31e9";\r\n    } "b02885dc";\r\n  } "112da7cb";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE63') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE63') and answer.exists() then {\r\n          item then emcareconditionemcareb23de63(src, item, tgt) "a3f40895";\r\n        } "7d52bc70";\r\n      } "20460d5f";\r\n    } "ff14bba0";\r\n  } "f48b3870";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE64') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE64') and answer.exists() then {\r\n          item then emcareconditionemcareb23de64(src, item, tgt) "f29b8184";\r\n        } "14c8b550";\r\n      } "e5734e77";\r\n    } "36cc09a7";\r\n  } "66a082c4";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE34') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE34') and answer.exists() then {\r\n          item then emcareconditionemcareb23de34(src, item, tgt) "d9034209";\r\n        } "551a67f8";\r\n      } "8b3401ff";\r\n    } "640f5832";\r\n  } "f733b9d7";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE35') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE35') and answer.exists() then {\r\n          item then emcareconditionemcareb23de35(src, item, tgt) "04b69b69";\r\n        } "edd58a6a";\r\n      } "171d392a";\r\n    } "074be390";\r\n  } "7234989d";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE41') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE41') and answer.exists() then {\r\n          item then emcareconditionemcareb23de41(src, item, tgt) "e644496b";\r\n        } "b0b2d547";\r\n      } "10a4e114";\r\n    } "144ac84e";\r\n  } "be581407";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE42') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE42') and answer.exists() then {\r\n          item then emcareconditionemcareb23de42(src, item, tgt) "8906f237";\r\n        } "825180a4";\r\n      } "cdb5f085";\r\n    } "61767b45";\r\n  } "fd2318de";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE44') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE44') and answer.exists() then {\r\n          item then emcareconditionemcareb23de44(src, item, tgt) "8b745e32";\r\n        } "a297489e";\r\n      } "2a87d904";\r\n    } "31c42b4a";\r\n  } "15c107e8";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE45') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE45') and answer.exists() then {\r\n          item then emcareconditionemcareb23de45(src, item, tgt) "e2a48a8a";\r\n        } "5ac1cbfe";\r\n      } "3ae81ddc";\r\n    } "af5a73ee";\r\n  } "b89e4982";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE47') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE47') and answer.exists() then {\r\n          item then emcareconditionemcareb23de47(src, item, tgt) "59e3f98e";\r\n        } "94021c1f";\r\n      } "bdb92c29";\r\n    } "4313c455";\r\n  } "f4732c43";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE49') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE49') and answer.exists() then {\r\n          item then emcareconditionemcareb23de49(src, item, tgt) "12ffb049";\r\n        } "586e9069";\r\n      } "38e3ba7c";\r\n    } "09e8e39a";\r\n  } "b716ffcf";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE52') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE52') and answer.exists() then {\r\n          item then emcareconditionemcareb23de52(src, item, tgt) "a793cbe8";\r\n        } "db3fe5e7";\r\n      } "dbb84c90";\r\n    } "87a2f3d1";\r\n  } "c771fb59";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE53') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE53') and answer.exists() then {\r\n          item then emcareconditionemcareb23de53(src, item, tgt) "649c99ff";\r\n        } "07fdede8";\r\n      } "6c7dda52";\r\n    } "65dc7390";\r\n  } "aabd61a9";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE54') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE54') and answer.exists() then {\r\n          item then emcareconditionemcareb23de54(src, item, tgt) "c44c1a67";\r\n        } "33495720";\r\n      } "f537bd3f";\r\n    } "3292a5b7";\r\n  } "5586adfb";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE56') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE56') and answer.exists() then {\r\n          item then emcareconditionemcareb23de56(src, item, tgt) "c075c713";\r\n        } "b19e1e77";\r\n      } "1f53e6e7";\r\n    } "1fff823c";\r\n  } "eb0fa007";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE57') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE57') and answer.exists() then {\r\n          item then emcareconditionemcareb23de57(src, item, tgt) "3fef72d0";\r\n        } "95696bb5";\r\n      } "c36398d4";\r\n    } "e245f919";\r\n  } "bd893565";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE58') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE58') and answer.exists() then {\r\n          item then emcareconditionemcareb23de58(src, item, tgt) "59c41e8c";\r\n        } "39386628";\r\n      } "18b79c9c";\r\n    } "0e7307dc";\r\n  } "d0cc854b";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE59') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE59') and answer.exists() then {\r\n          item then emcareconditionemcareb23de59(src, item, tgt) "2cb1e1ca";\r\n        } "ab082ec2";\r\n      } "6065b9b9";\r\n    } "351db615";\r\n  } "6ff9138e";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE61') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE61') and answer.exists() then {\r\n          item then emcareconditionemcareb23de61(src, item, tgt) "260b475c";\r\n        } "c464855a";\r\n      } "9bc3a2f7";\r\n    } "fb4ac959";\r\n  } "d7071092";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE106') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE106') and answer.exists() then {\r\n          item then emcareconditionemcareb23de106(src, item, tgt) "1385c52a";\r\n        } "f5b0e691";\r\n      } "cffa49c6";\r\n    } "f8df0e47";\r\n  } "a8b97e3f";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE107') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE107') and answer.exists() then {\r\n          item then emcareconditionemcareb23de107(src, item, tgt) "c2e4c8aa";\r\n        } "b47a06ed";\r\n      } "ddc34ddb";\r\n    } "4bd4c8ca";\r\n  } "80a21e15";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE108') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE108') and answer.exists() then {\r\n          item then emcareconditionemcareb23de108(src, item, tgt) "71dee3f9";\r\n        } "6dd7f385";\r\n      } "f9f042d3";\r\n    } "aa990e3b";\r\n  } "62bc2a23";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE01') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de01(src, item, tgt) "64b9f2ed";\r\n        } "8ac761e7";\r\n      } "4d3c5911";\r\n    } "8a9e262f";\r\n  } "1a7bd4e6";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE03') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de03(src, item, tgt) "b1c1cd66";\r\n        } "010509dd";\r\n      } "d18e6c9c";\r\n    } "0ddf1e04";\r\n  } "b4ab6b36";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE06') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de06(src, item, tgt) "ab6f052f";\r\n        } "e87439ac";\r\n      } "37d42e73";\r\n    } "7708b4b0";\r\n  } "ca7b518e";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE10') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de10(src, item, tgt) "0b7e0dd8";\r\n        } "2addbd30";\r\n      } "944a4843";\r\n    } "0e6c6c5e";\r\n  } "624540df";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE13') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de13(src, item, tgt) "ca1c2344";\r\n        } "e291ac38";\r\n      } "a3790ce2";\r\n    } "df1da7ee";\r\n  } "db30808b";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE14') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de14(src, item, tgt) "d2d217d7";\r\n        } "71ec8c01";\r\n      } "eec21165";\r\n    } "4bec0867";\r\n  } "b6cebe17";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE15') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de15(src, item, tgt) "d06cdfa3";\r\n        } "78497d5c";\r\n      } "5f0e524b";\r\n    } "84c7d9e0";\r\n  } "5fb77efc";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE16') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de16(src, item, tgt) "694adbe8";\r\n        } "b4ffe6d7";\r\n      } "019739d6";\r\n    } "f03364f0";\r\n  } "80b4094a";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE17') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de17(src, item, tgt) "cc19d396";\r\n        } "18e9e9c8";\r\n      } "c03c1182";\r\n    } "77b63bab";\r\n  } "ff70de9a";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE18') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de18(src, item, tgt) "7bb9024b";\r\n        } "68fe032f";\r\n      } "ed54cd94";\r\n    } "8b8510f5";\r\n  } "632cb525";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE18.a') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de18a(src, item, tgt) "b60dcb5b";\r\n        } "b812de89";\r\n      } "7e16782b";\r\n    } "2e857828";\r\n  } "44580a8e";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE100') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de100(src, item, tgt) "630c1b4f";\r\n        } "41d237f0";\r\n      } "ac9a35e1";\r\n    } "490124cb";\r\n  } "3cac9099";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE6101') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de6101(src, item, tgt) "b8a94b6b";\r\n        } "c5e81286";\r\n      } "f91c76bc";\r\n    } "004bae37";\r\n  } "0fefd9c9";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE6102') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de6102(src, item, tgt) "7660041a";\r\n        } "b83d5bd8";\r\n      } "afa6d915";\r\n    } "e56c0843";\r\n  } "1cfede52";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE6103') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de6103(src, item, tgt) "4acf003e";\r\n        } "052597db";\r\n      } "0d306c2e";\r\n    } "bde18a8c";\r\n  } "9e8a0879";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE30') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de30(src, item, tgt) "6aa7cf7e";\r\n        } "21ed2b92";\r\n      } "b950cabe";\r\n    } "38dc397b";\r\n  } "a771b576";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE31') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de31(src, item, tgt) "0b62776c";\r\n        } "718d4b87";\r\n      } "a826c054";\r\n    } "50550799";\r\n  } "2fb7bb3e";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE32') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de32(src, item, tgt) "8d2e2b23";\r\n        } "85fecf83";\r\n      } "115750dd";\r\n    } "130e1c53";\r\n  } "ac3dd1e5";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE33') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de33(src, item, tgt) "30d2abfe";\r\n        } "e6a31cdd";\r\n      } "d1297d3e";\r\n    } "ef3283c2";\r\n  } "b5d854cd";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE19') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de19(src, item, tgt) "9d939c47";\r\n        } "b6456e02";\r\n      } "88264770";\r\n    } "18e9b3aa";\r\n  } "4af8b98f";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE104') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de104(src, item, tgt) "7124044e";\r\n        } "6dd0b0f1";\r\n      } "362898cd";\r\n    } "6ee2f034";\r\n  } "87957a8c";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE105') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de105(src, item, tgt) "565f9699";\r\n        } "deccc025";\r\n      } "6ffe0a40";\r\n    } "ca66f70c";\r\n  } "4981fb26";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE27') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de27(src, item, tgt) "0da758bb";\r\n        } "240424fd";\r\n      } "42ac4364";\r\n    } "14da060d";\r\n  } "ad5837c4";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE28') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de28(src, item, tgt) "f02ea85f";\r\n        } "9674e4f8";\r\n      } "4215cfc9";\r\n    } "cc83a9a6";\r\n  } "10b29f3a";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE29') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de29(src, item, tgt) "30518e39";\r\n        } "443496d9";\r\n      } "4b8a2cfa";\r\n    } "45aa51e3";\r\n  } "29a1e48b";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE62') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de62(src, item, tgt) "923ea559";\r\n        } "253ad99c";\r\n      } "e1d211b3";\r\n    } "66d2ac7f";\r\n  } "34070da4";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE63') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de63(src, item, tgt) "2cba00a0";\r\n        } "7431d7aa";\r\n      } "dd159d2b";\r\n    } "6088497e";\r\n  } "6d937c64";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE64') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de64(src, item, tgt) "1bdeb81e";\r\n        } "823b626d";\r\n      } "6c269ed8";\r\n    } "c0166a2f";\r\n  } "ef32feea";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE34') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de34(src, item, tgt) "1b5079e7";\r\n        } "e3eec4b3";\r\n      } "c0170815";\r\n    } "9a1a4b51";\r\n  } "02fb5c32";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE35') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de35(src, item, tgt) "359aadb6";\r\n        } "8752dcf9";\r\n      } "5587f633";\r\n    } "436512de";\r\n  } "f74fb871";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE41') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de41(src, item, tgt) "6b245d77";\r\n        } "7880e418";\r\n      } "31ed2847";\r\n    } "69bddf54";\r\n  } "f3925752";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE42') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de42(src, item, tgt) "a013ff50";\r\n        } "a1112e83";\r\n      } "80f89c3b";\r\n    } "c28e55f5";\r\n  } "5a4f405d";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE44') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de44(src, item, tgt) "2e18a455";\r\n        } "05602096";\r\n      } "14ff0531";\r\n    } "e4d8d14c";\r\n  } "106b8412";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE45') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de45(src, item, tgt) "b7776d8c";\r\n        } "0161a3e1";\r\n      } "9041cce3";\r\n    } "d5a11665";\r\n  } "fa69f51a";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE47') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de47(src, item, tgt) "3ef4c39a";\r\n        } "cc30da8e";\r\n      } "3c571f7a";\r\n    } "9c46143a";\r\n  } "7ce713b2";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE49') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de49(src, item, tgt) "9422f693";\r\n        } "270f01c9";\r\n      } "2e5719c3";\r\n    } "86381b92";\r\n  } "dba4472f";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE52') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de52(src, item, tgt) "4dc5850c";\r\n        } "1305ff09";\r\n      } "1e7a4f1d";\r\n    } "823dad96";\r\n  } "f8980fc9";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE53') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de53(src, item, tgt) "f3ebb24f";\r\n        } "8a06bf9b";\r\n      } "82127571";\r\n    } "438bfa1e";\r\n  } "a6b3b052";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE54') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de54(src, item, tgt) "7d9b72a9";\r\n        } "57b6a17c";\r\n      } "3f0c44e2";\r\n    } "9176d48e";\r\n  } "472d138a";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE56') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de56(src, item, tgt) "171d0d02";\r\n        } "a8403d8d";\r\n      } "933c8359";\r\n    } "29b48437";\r\n  } "8633ecac";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE57') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de57(src, item, tgt) "28c69067";\r\n        } "712614f8";\r\n      } "f5aa3751";\r\n    } "b4b69b8b";\r\n  } "275e0558";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE58') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de58(src, item, tgt) "1ecfb370";\r\n        } "a5d3fb11";\r\n      } "abbb00cd";\r\n    } "5c12666c";\r\n  } "9ee9a18a";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE59') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de59(src, item, tgt) "f3cc5dd6";\r\n        } "c2af2708";\r\n      } "420f3c42";\r\n    } "940b499b";\r\n  } "77bb110d";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE61') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de61(src, item, tgt) "3ee47ea8";\r\n        } "14a2cbce";\r\n      } "69da036c";\r\n    } "8d2fc1e7";\r\n  } "5baa46cb";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE106') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de106(src, item, tgt) "5f3c80c3";\r\n        } "8a9ab3d6";\r\n      } "b3badac5";\r\n    } "8aec9c45";\r\n  } "332b8a91";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE107') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de107(src, item, tgt) "d7ceb954";\r\n        } "62594d12";\r\n      } "6660c144";\r\n    } "897c260c";\r\n  } "4dfafc7a";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE108') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de108(src, item, tgt) "ed29c4d5";\r\n        } "a304721d";\r\n      } "f9a90d39";\r\n    } "031643b1";\r\n  } "f52a6f86";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'collector') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectorcollector(src, item, tgt) "dee30196";\r\n        } "dbad65ac";\r\n      } "652cfd04";\r\n    } "63e7ab00";\r\n  } "d596b39a";\r\n}\r\n\r\ngroup emcareobservationemcareb6de08(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb6de08";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B6.DE08' "code-emcareb6de08";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B6.DE08') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n    } "d40466ff";\r\n  } "dc896557";\r\n}\r\n\r\ngroup emcareconditionemcareb23de01(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE01',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "38c776ef";\r\n    } "dcfcb65d";\r\n  } "48b723fb";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de03(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE03',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "97f42802";\r\n    } "539676b6";\r\n  } "72db4093";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE04') and answer.exists() then {\r\n    item.answer first as a where a.value = true then {\r\n      src ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/postcoordination',  ext.value = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE04',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "38e7535e";\r\n    } "dd1642cb";\r\n  } "c35c9cd0";\r\n}\r\n\r\ngroup emcareconditionemcareb23de06(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE06',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "dd0fd01c";\r\n    } "8ef845b0";\r\n  } "558d6c0d";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE05') and answer.exists() then {\r\n    item.answer first as a where a.value = true then {\r\n      src ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/postcoordination',  ext.value = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE05',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "45430313";\r\n    } "fbb8aa6b";\r\n  } "2361285f";\r\n}\r\n\r\ngroup emcareconditionemcareb23de10(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE10',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "901c4fa4";\r\n    } "39e6334e";\r\n  } "f313d249";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE05') and answer.exists() then {\r\n    item.answer first as a where a.value = true then {\r\n      src ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/postcoordination',  ext.value = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE05',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "45430313";\r\n    } "fbb8aa6b";\r\n  } "2361285f";\r\n}\r\n\r\ngroup emcareconditionemcareb23de13(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE13',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "0b87b4e7";\r\n    } "6cc1c549";\r\n  } "dc54929c";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de14(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE14',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "c77e81e6";\r\n    } "a3de578a";\r\n  } "d565e84e";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de15(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE15',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "16e4a2c3";\r\n    } "088a39f1";\r\n  } "b194144a";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de16(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE16',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "672b006b";\r\n    } "c458ff7e";\r\n  } "a834b1c4";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de17(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE17',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "bd34c671";\r\n    } "0cc3c5de";\r\n  } "8b51a13d";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de18(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE18',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "422373d9";\r\n    } "8f1dcdd2";\r\n  } "6c227934";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de18a(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE18.a',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "b2c23048";\r\n    } "422663d8";\r\n  } "12b34bed";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de100(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE100',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "515f36ee";\r\n    } "e9f1a397";\r\n  } "5e6079c2";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de6101(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE6101',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "6a9c0b56";\r\n    } "970b5053";\r\n  } "ce2b70a1";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de6102(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE6102',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "1522be60";\r\n    } "18159ba1";\r\n  } "cb2b50a2";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de6103(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE6103',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "248ab88b";\r\n    } "9f402fa1";\r\n  } "5f770596";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de30(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE30',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "60650f2a";\r\n    } "453d3cff";\r\n  } "e00da291";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de31(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE31',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "ab1c5076";\r\n    } "11935d2f";\r\n  } "e29a8881";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de32(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE32',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "b634fab6";\r\n    } "4ead4dac";\r\n  } "48ea19ef";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n  src.item first as itm1 where linkId = 'EmCare.B23.DE32' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B23.DE32a_l') and answer.exists() then {\r\n      item.answer first as a where a.value = true then {\r\n        src ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/postcoordination',  ext.value = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE32a_l',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "e1fd65a9";\r\n      } "c8109922";\r\n    } "812d89a8";\r\n  } "c3ccc3f2";\r\n}\r\n\r\ngroup emcareconditionemcareb23de33(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE33',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "57e99b51";\r\n    } "82481cbe";\r\n  } "ef2558fa";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de19(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE19',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "8cb2637d";\r\n    } "69ddcad6";\r\n  } "36529e3a";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de104(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE104',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "6627d17b";\r\n    } "008eb1e8";\r\n  } "99bdabd7";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n  src.item first as itm1 where linkId = 'EmCare.B23.DE104' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B23.DE26a_l') and answer.exists() then {\r\n      item.answer first as a where a.value = true then {\r\n        src ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/postcoordination',  ext.value = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE26a_l',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "2bb3282a";\r\n      } "059c54a8";\r\n    } "bfa2f7ed";\r\n  } "d6b41478";\r\n}\r\n\r\ngroup emcareconditionemcareb23de105(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE105',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "bfa6a728";\r\n    } "503587f4";\r\n  } "b4cd8d75";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de27(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE27',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "10a11fd8";\r\n    } "7e9f6c96";\r\n  } "47747496";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de28(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE28',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "bd635f9e";\r\n    } "ac92c02f";\r\n  } "591966f0";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de29(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE29',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "59037b30";\r\n    } "cfcf61aa";\r\n  } "b6fcf002";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de62(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE62',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "1d89b4e7";\r\n    } "7a9976ac";\r\n  } "59bce4a5";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de63(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE63',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "7160c75f";\r\n    } "f74f505b";\r\n  } "ab307e84";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de64(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE64',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "f6ad72a0";\r\n    } "9035e530";\r\n  } "9a8830e5";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de34(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE34',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "e5f9a7d3";\r\n    } "ff3ce60d";\r\n  } "c84a5f54";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de35(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE35',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "7f5b9cb3";\r\n    } "30144f76";\r\n  } "b15dce6e";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE36') and answer.exists() then {\r\n    item.answer first as a where a.value = true then {\r\n      src ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/postcoordination',  ext.value = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE36',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "337a4af0";\r\n    } "00bff3d2";\r\n  } "9a029988";\r\n}\r\n\r\ngroup emcareconditionemcareb23de41(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE41',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "e288c87d";\r\n    } "8173bdfa";\r\n  } "2297565b";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de42(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE42',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "94e86dfd";\r\n    } "1282d921";\r\n  } "f89496b0";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE43a') and answer.exists() then {\r\n    item.answer first as a where a.value = true then {\r\n      src ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/postcoordination',  ext.value = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE43a',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "3982894f";\r\n    } "bb6efca4";\r\n  } "fc0928c7";\r\n}\r\n\r\ngroup emcareconditionemcareb23de44(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE44',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "e3f3e6d5";\r\n    } "bed4feb4";\r\n  } "629e48b0";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de45(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE45',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "606d51c8";\r\n    } "7d5d59ca";\r\n  } "e36660f4";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE46A') and answer.exists() then {\r\n    item.answer first as a where a.value = true then {\r\n      src ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/postcoordination',  ext.value = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE46A',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "b043e119";\r\n    } "b1d8b88c";\r\n  } "a1ec2dd1";\r\n}\r\n\r\ngroup emcareconditionemcareb23de47(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE47',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "6bae8d25";\r\n    } "5e31a07c";\r\n  } "a43d53e8";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE48') and answer.exists() then {\r\n    item.answer first as a where a.value = true then {\r\n      src ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/postcoordination',  ext.value = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE48',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "88de7a80";\r\n    } "7cd5181a";\r\n  } "3c6f199b";\r\n}\r\n\r\ngroup emcareconditionemcareb23de49(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE49',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "b581f2e7";\r\n    } "1cc86632";\r\n  } "f58199bf";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE50') and answer.exists() then {\r\n    item.answer first as a where a.value = true then {\r\n      src ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/postcoordination',  ext.value = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE50',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "b871091f";\r\n    } "3562dee3";\r\n  } "ba9bd30c";\r\n}\r\n\r\ngroup emcareconditionemcareb23de52(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE52',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "eb984457";\r\n    } "124cd652";\r\n  } "c77f1d4e";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE52a') and answer.exists() then {\r\n    item.answer first as a where a.value = true then {\r\n      src ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/postcoordination',  ext.value = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE52a',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "3a81b32e";\r\n    } "2c4ce5dc";\r\n  } "510e64e3";\r\n}\r\n\r\ngroup emcareconditionemcareb23de53(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE53',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "0f3a6755";\r\n    } "863552f3";\r\n  } "35439fa7";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE53a') and answer.exists() then {\r\n    item.answer first as a where a.value = true then {\r\n      src ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/postcoordination',  ext.value = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE53a',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "172c98f5";\r\n    } "77f7bdf7";\r\n  } "6481f816";\r\n}\r\n\r\ngroup emcareconditionemcareb23de54(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE54',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "fafd5b25";\r\n    } "61c9d7c8";\r\n  } "78b12d83";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE55') and answer.exists() then {\r\n    item.answer first as a where a.value = true then {\r\n      src ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/postcoordination',  ext.value = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE55',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "703de849";\r\n    } "82394009";\r\n  } "626ae745";\r\n}\r\n\r\ngroup emcareconditionemcareb23de56(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE56',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "9a929971";\r\n    } "b7c8a104";\r\n  } "0dd631f3";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de57(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE57',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "2c0d395c";\r\n    } "f04e9b50";\r\n  } "af692636";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE57a') and answer.exists() then {\r\n    item.answer first as a where a.value = true then {\r\n      src ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/postcoordination',  ext.value = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE57a',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "0273738c";\r\n    } "3e41ae3b";\r\n  } "d8c20ee2";\r\n}\r\n\r\ngroup emcareconditionemcareb23de58(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE58',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "d913f145";\r\n    } "ecd18d6c";\r\n  } "a88f6164";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de59(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE59',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "8f74fb03";\r\n    } "4cae7202";\r\n  } "b30797dc";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE60') and answer.exists() then {\r\n    item.answer first as a where a.value = true then {\r\n      src ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/postcoordination',  ext.value = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE60',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "da15433c";\r\n    } "8622d264";\r\n  } "0e509ca1";\r\n}\r\n\r\ngroup emcareconditionemcareb23de61(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE61',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "9134fe36";\r\n    } "280470c5";\r\n  } "8aa97bdd";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de106(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE106',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "70f0a4fa";\r\n    } "d8d6d130";\r\n  } "671ed411";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de107(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE107',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "4b1b0c22";\r\n    } "d096a052";\r\n  } "8e8ee9b4";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de108(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE108',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "3de5c106";\r\n    } "58d1e9ce";\r\n  } "81cf1715";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de01(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE01',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "38c776ef";\r\n    } "dcfcb65d";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "9ef26449";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de03(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE03',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "97f42802";\r\n    } "539676b6";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "cfd7a9f6";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de06(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE06',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "dd0fd01c";\r\n    } "8ef845b0";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "8ede6446";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de10(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE10',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "901c4fa4";\r\n    } "39e6334e";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "91de6eff";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de13(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE13',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "0b87b4e7";\r\n    } "6cc1c549";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "39e0fe5e";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de14(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE14',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "c77e81e6";\r\n    } "a3de578a";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "da0791a5";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de15(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE15',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "16e4a2c3";\r\n    } "088a39f1";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "b16e2ac9";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de16(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE16',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "672b006b";\r\n    } "c458ff7e";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "56c3513e";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de17(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE17',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "bd34c671";\r\n    } "0cc3c5de";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "bcc64d8c";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de18(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE18',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "422373d9";\r\n    } "8f1dcdd2";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "c59123ce";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de18a(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE18.a',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "b2c23048";\r\n    } "422663d8";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "25273533";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de100(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE100',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "515f36ee";\r\n    } "e9f1a397";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "8c3a108e";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de6101(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE6101',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "6a9c0b56";\r\n    } "970b5053";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "bcd054c6";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de6102(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE6102',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "1522be60";\r\n    } "18159ba1";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "d067f021";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de6103(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE6103',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "248ab88b";\r\n    } "9f402fa1";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "63883e24";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de30(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE30',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "60650f2a";\r\n    } "453d3cff";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "a68b918e";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de31(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE31',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "ab1c5076";\r\n    } "11935d2f";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "822b0f6f";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de32(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE32',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "b634fab6";\r\n    } "4ead4dac";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "d4c988ea";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de33(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE33',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "57e99b51";\r\n    } "82481cbe";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "fe5543e1";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de19(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE19',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "8cb2637d";\r\n    } "69ddcad6";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "70cc0dd3";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de104(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE104',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "6627d17b";\r\n    } "008eb1e8";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "20bd1c4d";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de105(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE105',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "bfa6a728";\r\n    } "503587f4";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "fef353a9";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de27(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE27',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "10a11fd8";\r\n    } "7e9f6c96";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "0290fee9";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de28(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE28',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "bd635f9e";\r\n    } "ac92c02f";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "83be838f";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de29(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE29',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "59037b30";\r\n    } "cfcf61aa";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "6e4bf79f";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de62(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE62',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "1d89b4e7";\r\n    } "7a9976ac";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "57723227";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de63(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE63',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "7160c75f";\r\n    } "f74f505b";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "33888f75";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de64(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE64',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "f6ad72a0";\r\n    } "9035e530";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "1cf80989";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de34(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE34',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "e5f9a7d3";\r\n    } "ff3ce60d";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "d108e57f";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de35(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE35',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "7f5b9cb3";\r\n    } "30144f76";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "1b6c2929";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de41(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE41',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "e288c87d";\r\n    } "8173bdfa";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "6346630d";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de42(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE42',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "94e86dfd";\r\n    } "1282d921";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "8bdb0925";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de44(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE44',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "e3f3e6d5";\r\n    } "bed4feb4";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "01ad58f9";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de45(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE45',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "606d51c8";\r\n    } "7d5d59ca";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "8d718fac";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de47(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE47',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "6bae8d25";\r\n    } "5e31a07c";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "0403cb73";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de49(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE49',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "b581f2e7";\r\n    } "1cc86632";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "01b77ffc";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de52(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE52',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "eb984457";\r\n    } "124cd652";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "4f42555c";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de53(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE53',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "0f3a6755";\r\n    } "863552f3";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "28aceb4b";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de54(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE54',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "fafd5b25";\r\n    } "61c9d7c8";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "4a7c61b0";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de56(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE56',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "9a929971";\r\n    } "b7c8a104";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "0a350e2a";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de57(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE57',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "2c0d395c";\r\n    } "f04e9b50";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "4581b0aa";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de58(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE58',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "d913f145";\r\n    } "ecd18d6c";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "52e04bef";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de59(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE59',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "8f74fb03";\r\n    } "4cae7202";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "4fd3684b";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de61(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE61',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "9134fe36";\r\n    } "280470c5";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "ebbc1c98";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de106(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE106',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "70f0a4fa";\r\n    } "d8d6d130";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "c5746d18";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de107(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE107',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "4b1b0c22";\r\n    } "d096a052";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "1df42064";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de108(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE108',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "3de5c106";\r\n    } "58d1e9ce";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "474da804";\r\n}\r\n\r\ngroup emcareconditioncollectorcollector(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'collector',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "ab5440b5";\r\n    } "6fc817a4";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "d8e38123";\r\n}\r\n\r\n
" + "div": "
map "https://smart.who.int/ccc/StructureMap/Ccc.b23.classification" = "Ccc.b23.classification"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/observation" alias 'Observation' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/condition" alias 'Condition' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/Cccobservation" alias 'Ccc Observation' as produced\r\nuses "https://smart.who.int/ccc/StructureDefinition/Ccccondition" alias 'Ccc Condition' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src.item first as item where (linkId = 'Ccc.B6.DE08') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb6de08(src, tgt) "6bb35e76";\r\n      } "eb449882";\r\n    } "e71738d1";\r\n  } "b739680e";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE01') and answer.exists() then {\r\n          item then CccconditionCccb23de01(src, item, tgt) "2f5a16b2";\r\n        } "bfe7a55c";\r\n      } "50a5819f";\r\n    } "e8f6cc23";\r\n  } "7a454a82";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE03') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE03') and answer.exists() then {\r\n          item then CccconditionCccb23de03(src, item, tgt) "a67360e4";\r\n        } "42024447";\r\n      } "78d1fec3";\r\n    } "ab9b8f9b";\r\n  } "f63c99d7";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE06') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE06') and answer.exists() then {\r\n          item then CccconditionCccb23de06(src, item, tgt) "9c759e88";\r\n        } "060d6b0f";\r\n      } "6909c9cb";\r\n    } "80a2a642";\r\n  } "93603109";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE10') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE10') and answer.exists() then {\r\n          item then CccconditionCccb23de10(src, item, tgt) "68412bef";\r\n        } "f7cba384";\r\n      } "395852f7";\r\n    } "fe607810";\r\n  } "b387304c";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE13') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE13') and answer.exists() then {\r\n          item then CccconditionCccb23de13(src, item, tgt) "66186a0c";\r\n        } "a1450efb";\r\n      } "076ff820";\r\n    } "08bcb577";\r\n  } "feb0d657";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE14') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE14') and answer.exists() then {\r\n          item then CccconditionCccb23de14(src, item, tgt) "2dcb0090";\r\n        } "88d1e8c7";\r\n      } "3ef7f05b";\r\n    } "90e804b6";\r\n  } "d819a392";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE15') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE15') and answer.exists() then {\r\n          item then CccconditionCccb23de15(src, item, tgt) "fe470a2a";\r\n        } "21fccbde";\r\n      } "2eb659f8";\r\n    } "79ef4ab2";\r\n  } "e3b54720";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE16') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE16') and answer.exists() then {\r\n          item then CccconditionCccb23de16(src, item, tgt) "5ca68bc9";\r\n        } "13f73669";\r\n      } "004176aa";\r\n    } "f197824a";\r\n  } "30f296ff";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE17') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE17') and answer.exists() then {\r\n          item then CccconditionCccb23de17(src, item, tgt) "b84270e5";\r\n        } "40c0e1f5";\r\n      } "ed28a431";\r\n    } "8655026f";\r\n  } "e00a237b";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE18') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE18') and answer.exists() then {\r\n          item then CccconditionCccb23de18(src, item, tgt) "dfbf48ee";\r\n        } "ad789b95";\r\n      } "d65389e8";\r\n    } "78232367";\r\n  } "8cc4fc87";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE18.a') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE18.a') and answer.exists() then {\r\n          item then CccconditionCccb23de18a(src, item, tgt) "5c3c2d1d";\r\n        } "43c599a6";\r\n      } "75af673e";\r\n    } "f32ce9b9";\r\n  } "316d35e0";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE100') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE100') and answer.exists() then {\r\n          item then CccconditionCccb23de100(src, item, tgt) "56f36841";\r\n        } "97f35c84";\r\n      } "89555aa7";\r\n    } "f85ae159";\r\n  } "af08e4be";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE6101') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE6101') and answer.exists() then {\r\n          item then CccconditionCccb23de6101(src, item, tgt) "753668eb";\r\n        } "1e95b03f";\r\n      } "098ed11a";\r\n    } "3ad2ebe1";\r\n  } "083bdfa7";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE6102') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE6102') and answer.exists() then {\r\n          item then CccconditionCccb23de6102(src, item, tgt) "b18c060f";\r\n        } "9885316c";\r\n      } "02844368";\r\n    } "60e42bf7";\r\n  } "be28d894";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE6103') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE6103') and answer.exists() then {\r\n          item then CccconditionCccb23de6103(src, item, tgt) "694ad147";\r\n        } "f8d3c6a0";\r\n      } "deaa28f3";\r\n    } "39431803";\r\n  } "8c74e110";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE30') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE30') and answer.exists() then {\r\n          item then CccconditionCccb23de30(src, item, tgt) "32bbb313";\r\n        } "92db22d8";\r\n      } "8cd3b82f";\r\n    } "98322930";\r\n  } "304f990a";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE31') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE31') and answer.exists() then {\r\n          item then CccconditionCccb23de31(src, item, tgt) "9964826f";\r\n        } "f5203f81";\r\n      } "0f3128f2";\r\n    } "062d38a4";\r\n  } "8d94ef29";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE32') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE32') and answer.exists() then {\r\n          item then CccconditionCccb23de32(src, item, tgt) "59173520";\r\n        } "d5cfadca";\r\n      } "0f17a43e";\r\n    } "b3942453";\r\n  } "1d3e64f6";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE33') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE33') and answer.exists() then {\r\n          item then CccconditionCccb23de33(src, item, tgt) "c837ebf0";\r\n        } "1edd3bf3";\r\n      } "4ae746e1";\r\n    } "5b4ed518";\r\n  } "932b4857";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE19') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE19') and answer.exists() then {\r\n          item then CccconditionCccb23de19(src, item, tgt) "52279224";\r\n        } "6f81d3f9";\r\n      } "113ecc5c";\r\n    } "04d55a2c";\r\n  } "12b7ac16";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE104') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE104') and answer.exists() then {\r\n          item then CccconditionCccb23de104(src, item, tgt) "70ac88c0";\r\n        } "ba965067";\r\n      } "7af6d913";\r\n    } "b926b389";\r\n  } "b8498228";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE105') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE105') and answer.exists() then {\r\n          item then CccconditionCccb23de105(src, item, tgt) "fd65bdec";\r\n        } "2814799c";\r\n      } "4c17029d";\r\n    } "50b5f05d";\r\n  } "fd02db7e";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE27') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE27') and answer.exists() then {\r\n          item then CccconditionCccb23de27(src, item, tgt) "26e04269";\r\n        } "101a50d8";\r\n      } "202d5c60";\r\n    } "79e4637e";\r\n  } "7034785e";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE28') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE28') and answer.exists() then {\r\n          item then CccconditionCccb23de28(src, item, tgt) "9cd8c124";\r\n        } "a14217b2";\r\n      } "22888f47";\r\n    } "037df360";\r\n  } "a0c36d7f";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE29') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE29') and answer.exists() then {\r\n          item then CccconditionCccb23de29(src, item, tgt) "d4810ead";\r\n        } "1c12d5db";\r\n      } "ea7f1382";\r\n    } "905f043d";\r\n  } "5f2e1416";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE62') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE62') and answer.exists() then {\r\n          item then CccconditionCccb23de62(src, item, tgt) "2054edb9";\r\n        } "02044741";\r\n      } "159e31e9";\r\n    } "b02885dc";\r\n  } "112da7cb";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE63') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE63') and answer.exists() then {\r\n          item then CccconditionCccb23de63(src, item, tgt) "a3f40895";\r\n        } "7d52bc70";\r\n      } "20460d5f";\r\n    } "ff14bba0";\r\n  } "f48b3870";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE64') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE64') and answer.exists() then {\r\n          item then CccconditionCccb23de64(src, item, tgt) "f29b8184";\r\n        } "14c8b550";\r\n      } "e5734e77";\r\n    } "36cc09a7";\r\n  } "66a082c4";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE34') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE34') and answer.exists() then {\r\n          item then CccconditionCccb23de34(src, item, tgt) "d9034209";\r\n        } "551a67f8";\r\n      } "8b3401ff";\r\n    } "640f5832";\r\n  } "f733b9d7";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE35') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE35') and answer.exists() then {\r\n          item then CccconditionCccb23de35(src, item, tgt) "04b69b69";\r\n        } "edd58a6a";\r\n      } "171d392a";\r\n    } "074be390";\r\n  } "7234989d";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE41') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE41') and answer.exists() then {\r\n          item then CccconditionCccb23de41(src, item, tgt) "e644496b";\r\n        } "b0b2d547";\r\n      } "10a4e114";\r\n    } "144ac84e";\r\n  } "be581407";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE42') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE42') and answer.exists() then {\r\n          item then CccconditionCccb23de42(src, item, tgt) "8906f237";\r\n        } "825180a4";\r\n      } "cdb5f085";\r\n    } "61767b45";\r\n  } "fd2318de";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE44') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE44') and answer.exists() then {\r\n          item then CccconditionCccb23de44(src, item, tgt) "8b745e32";\r\n        } "a297489e";\r\n      } "2a87d904";\r\n    } "31c42b4a";\r\n  } "15c107e8";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE45') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE45') and answer.exists() then {\r\n          item then CccconditionCccb23de45(src, item, tgt) "e2a48a8a";\r\n        } "5ac1cbfe";\r\n      } "3ae81ddc";\r\n    } "af5a73ee";\r\n  } "b89e4982";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE47') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE47') and answer.exists() then {\r\n          item then CccconditionCccb23de47(src, item, tgt) "59e3f98e";\r\n        } "94021c1f";\r\n      } "bdb92c29";\r\n    } "4313c455";\r\n  } "f4732c43";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE49') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE49') and answer.exists() then {\r\n          item then CccconditionCccb23de49(src, item, tgt) "12ffb049";\r\n        } "586e9069";\r\n      } "38e3ba7c";\r\n    } "09e8e39a";\r\n  } "b716ffcf";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE52') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE52') and answer.exists() then {\r\n          item then CccconditionCccb23de52(src, item, tgt) "a793cbe8";\r\n        } "db3fe5e7";\r\n      } "dbb84c90";\r\n    } "87a2f3d1";\r\n  } "c771fb59";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE53') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE53') and answer.exists() then {\r\n          item then CccconditionCccb23de53(src, item, tgt) "649c99ff";\r\n        } "07fdede8";\r\n      } "6c7dda52";\r\n    } "65dc7390";\r\n  } "aabd61a9";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE54') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE54') and answer.exists() then {\r\n          item then CccconditionCccb23de54(src, item, tgt) "c44c1a67";\r\n        } "33495720";\r\n      } "f537bd3f";\r\n    } "3292a5b7";\r\n  } "5586adfb";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE56') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE56') and answer.exists() then {\r\n          item then CccconditionCccb23de56(src, item, tgt) "c075c713";\r\n        } "b19e1e77";\r\n      } "1f53e6e7";\r\n    } "1fff823c";\r\n  } "eb0fa007";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE57') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE57') and answer.exists() then {\r\n          item then CccconditionCccb23de57(src, item, tgt) "3fef72d0";\r\n        } "95696bb5";\r\n      } "c36398d4";\r\n    } "e245f919";\r\n  } "bd893565";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE58') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE58') and answer.exists() then {\r\n          item then CccconditionCccb23de58(src, item, tgt) "59c41e8c";\r\n        } "39386628";\r\n      } "18b79c9c";\r\n    } "0e7307dc";\r\n  } "d0cc854b";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE59') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE59') and answer.exists() then {\r\n          item then CccconditionCccb23de59(src, item, tgt) "2cb1e1ca";\r\n        } "ab082ec2";\r\n      } "6065b9b9";\r\n    } "351db615";\r\n  } "6ff9138e";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE61') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE61') and answer.exists() then {\r\n          item then CccconditionCccb23de61(src, item, tgt) "260b475c";\r\n        } "c464855a";\r\n      } "9bc3a2f7";\r\n    } "fb4ac959";\r\n  } "d7071092";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE106') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE106') and answer.exists() then {\r\n          item then CccconditionCccb23de106(src, item, tgt) "1385c52a";\r\n        } "f5b0e691";\r\n      } "cffa49c6";\r\n    } "f8df0e47";\r\n  } "a8b97e3f";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE107') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE107') and answer.exists() then {\r\n          item then CccconditionCccb23de107(src, item, tgt) "c2e4c8aa";\r\n        } "b47a06ed";\r\n      } "ddc34ddb";\r\n    } "4bd4c8ca";\r\n  } "80a21e15";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE108') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE108') and answer.exists() then {\r\n          item then CccconditionCccb23de108(src, item, tgt) "71dee3f9";\r\n        } "6dd7f385";\r\n      } "f9f042d3";\r\n    } "aa990e3b";\r\n  } "62bc2a23";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE01') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de01(src, item, tgt) "64b9f2ed";\r\n        } "8ac761e7";\r\n      } "4d3c5911";\r\n    } "8a9e262f";\r\n  } "1a7bd4e6";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE03') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de03(src, item, tgt) "b1c1cd66";\r\n        } "010509dd";\r\n      } "d18e6c9c";\r\n    } "0ddf1e04";\r\n  } "b4ab6b36";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE06') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de06(src, item, tgt) "ab6f052f";\r\n        } "e87439ac";\r\n      } "37d42e73";\r\n    } "7708b4b0";\r\n  } "ca7b518e";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE10') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de10(src, item, tgt) "0b7e0dd8";\r\n        } "2addbd30";\r\n      } "944a4843";\r\n    } "0e6c6c5e";\r\n  } "624540df";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE13') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de13(src, item, tgt) "ca1c2344";\r\n        } "e291ac38";\r\n      } "a3790ce2";\r\n    } "df1da7ee";\r\n  } "db30808b";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE14') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de14(src, item, tgt) "d2d217d7";\r\n        } "71ec8c01";\r\n      } "eec21165";\r\n    } "4bec0867";\r\n  } "b6cebe17";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE15') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de15(src, item, tgt) "d06cdfa3";\r\n        } "78497d5c";\r\n      } "5f0e524b";\r\n    } "84c7d9e0";\r\n  } "5fb77efc";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE16') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de16(src, item, tgt) "694adbe8";\r\n        } "b4ffe6d7";\r\n      } "019739d6";\r\n    } "f03364f0";\r\n  } "80b4094a";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE17') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de17(src, item, tgt) "cc19d396";\r\n        } "18e9e9c8";\r\n      } "c03c1182";\r\n    } "77b63bab";\r\n  } "ff70de9a";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE18') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de18(src, item, tgt) "7bb9024b";\r\n        } "68fe032f";\r\n      } "ed54cd94";\r\n    } "8b8510f5";\r\n  } "632cb525";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE18.a') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de18a(src, item, tgt) "b60dcb5b";\r\n        } "b812de89";\r\n      } "7e16782b";\r\n    } "2e857828";\r\n  } "44580a8e";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE100') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de100(src, item, tgt) "630c1b4f";\r\n        } "41d237f0";\r\n      } "ac9a35e1";\r\n    } "490124cb";\r\n  } "3cac9099";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE6101') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de6101(src, item, tgt) "b8a94b6b";\r\n        } "c5e81286";\r\n      } "f91c76bc";\r\n    } "004bae37";\r\n  } "0fefd9c9";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE6102') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de6102(src, item, tgt) "7660041a";\r\n        } "b83d5bd8";\r\n      } "afa6d915";\r\n    } "e56c0843";\r\n  } "1cfede52";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE6103') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de6103(src, item, tgt) "4acf003e";\r\n        } "052597db";\r\n      } "0d306c2e";\r\n    } "bde18a8c";\r\n  } "9e8a0879";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE30') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de30(src, item, tgt) "6aa7cf7e";\r\n        } "21ed2b92";\r\n      } "b950cabe";\r\n    } "38dc397b";\r\n  } "a771b576";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE31') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de31(src, item, tgt) "0b62776c";\r\n        } "718d4b87";\r\n      } "a826c054";\r\n    } "50550799";\r\n  } "2fb7bb3e";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE32') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de32(src, item, tgt) "8d2e2b23";\r\n        } "85fecf83";\r\n      } "115750dd";\r\n    } "130e1c53";\r\n  } "ac3dd1e5";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE33') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de33(src, item, tgt) "30d2abfe";\r\n        } "e6a31cdd";\r\n      } "d1297d3e";\r\n    } "ef3283c2";\r\n  } "b5d854cd";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE19') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de19(src, item, tgt) "9d939c47";\r\n        } "b6456e02";\r\n      } "88264770";\r\n    } "18e9b3aa";\r\n  } "4af8b98f";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE104') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de104(src, item, tgt) "7124044e";\r\n        } "6dd0b0f1";\r\n      } "362898cd";\r\n    } "6ee2f034";\r\n  } "87957a8c";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE105') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de105(src, item, tgt) "565f9699";\r\n        } "deccc025";\r\n      } "6ffe0a40";\r\n    } "ca66f70c";\r\n  } "4981fb26";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE27') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de27(src, item, tgt) "0da758bb";\r\n        } "240424fd";\r\n      } "42ac4364";\r\n    } "14da060d";\r\n  } "ad5837c4";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE28') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de28(src, item, tgt) "f02ea85f";\r\n        } "9674e4f8";\r\n      } "4215cfc9";\r\n    } "cc83a9a6";\r\n  } "10b29f3a";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE29') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de29(src, item, tgt) "30518e39";\r\n        } "443496d9";\r\n      } "4b8a2cfa";\r\n    } "45aa51e3";\r\n  } "29a1e48b";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE62') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de62(src, item, tgt) "923ea559";\r\n        } "253ad99c";\r\n      } "e1d211b3";\r\n    } "66d2ac7f";\r\n  } "34070da4";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE63') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de63(src, item, tgt) "2cba00a0";\r\n        } "7431d7aa";\r\n      } "dd159d2b";\r\n    } "6088497e";\r\n  } "6d937c64";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE64') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de64(src, item, tgt) "1bdeb81e";\r\n        } "823b626d";\r\n      } "6c269ed8";\r\n    } "c0166a2f";\r\n  } "ef32feea";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE34') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de34(src, item, tgt) "1b5079e7";\r\n        } "e3eec4b3";\r\n      } "c0170815";\r\n    } "9a1a4b51";\r\n  } "02fb5c32";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE35') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de35(src, item, tgt) "359aadb6";\r\n        } "8752dcf9";\r\n      } "5587f633";\r\n    } "436512de";\r\n  } "f74fb871";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE41') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de41(src, item, tgt) "6b245d77";\r\n        } "7880e418";\r\n      } "31ed2847";\r\n    } "69bddf54";\r\n  } "f3925752";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE42') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de42(src, item, tgt) "a013ff50";\r\n        } "a1112e83";\r\n      } "80f89c3b";\r\n    } "c28e55f5";\r\n  } "5a4f405d";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE44') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de44(src, item, tgt) "2e18a455";\r\n        } "05602096";\r\n      } "14ff0531";\r\n    } "e4d8d14c";\r\n  } "106b8412";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE45') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de45(src, item, tgt) "b7776d8c";\r\n        } "0161a3e1";\r\n      } "9041cce3";\r\n    } "d5a11665";\r\n  } "fa69f51a";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE47') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de47(src, item, tgt) "3ef4c39a";\r\n        } "cc30da8e";\r\n      } "3c571f7a";\r\n    } "9c46143a";\r\n  } "7ce713b2";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE49') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de49(src, item, tgt) "9422f693";\r\n        } "270f01c9";\r\n      } "2e5719c3";\r\n    } "86381b92";\r\n  } "dba4472f";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE52') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de52(src, item, tgt) "4dc5850c";\r\n        } "1305ff09";\r\n      } "1e7a4f1d";\r\n    } "823dad96";\r\n  } "f8980fc9";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE53') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de53(src, item, tgt) "f3ebb24f";\r\n        } "8a06bf9b";\r\n      } "82127571";\r\n    } "438bfa1e";\r\n  } "a6b3b052";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE54') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de54(src, item, tgt) "7d9b72a9";\r\n        } "57b6a17c";\r\n      } "3f0c44e2";\r\n    } "9176d48e";\r\n  } "472d138a";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE56') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de56(src, item, tgt) "171d0d02";\r\n        } "a8403d8d";\r\n      } "933c8359";\r\n    } "29b48437";\r\n  } "8633ecac";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE57') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de57(src, item, tgt) "28c69067";\r\n        } "712614f8";\r\n      } "f5aa3751";\r\n    } "b4b69b8b";\r\n  } "275e0558";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE58') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de58(src, item, tgt) "1ecfb370";\r\n        } "a5d3fb11";\r\n      } "abbb00cd";\r\n    } "5c12666c";\r\n  } "9ee9a18a";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE59') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de59(src, item, tgt) "f3cc5dd6";\r\n        } "c2af2708";\r\n      } "420f3c42";\r\n    } "940b499b";\r\n  } "77bb110d";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE61') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de61(src, item, tgt) "3ee47ea8";\r\n        } "14a2cbce";\r\n      } "69da036c";\r\n    } "8d2fc1e7";\r\n  } "5baa46cb";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE106') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de106(src, item, tgt) "5f3c80c3";\r\n        } "8a9ab3d6";\r\n      } "b3badac5";\r\n    } "8aec9c45";\r\n  } "332b8a91";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE107') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de107(src, item, tgt) "d7ceb954";\r\n        } "62594d12";\r\n      } "6660c144";\r\n    } "897c260c";\r\n  } "4dfafc7a";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE108') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de108(src, item, tgt) "ed29c4d5";\r\n        } "a304721d";\r\n      } "f9a90d39";\r\n    } "031643b1";\r\n  } "f52a6f86";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'collector') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then Cccconditioncollectorcollector(src, item, tgt) "dee30196";\r\n        } "dbad65ac";\r\n      } "652cfd04";\r\n    } "63e7ab00";\r\n  } "d596b39a";\r\n}\r\n\r\ngroup CccobservationCccb6de08(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb6de08";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B6.DE08' "code-Cccb6de08";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B6.DE08') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n    } "d40466ff";\r\n  } "dc896557";\r\n}\r\n\r\ngroup CccconditionCccb23de01(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE01',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "38c776ef";\r\n    } "dcfcb65d";\r\n  } "48b723fb";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de03(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE03',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "97f42802";\r\n    } "539676b6";\r\n  } "72db4093";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE04') and answer.exists() then {\r\n    item.answer first as a where a.value = true then {\r\n      src ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/postcoordination',  ext.value = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE04',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "38e7535e";\r\n    } "dd1642cb";\r\n  } "c35c9cd0";\r\n}\r\n\r\ngroup CccconditionCccb23de06(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE06',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "dd0fd01c";\r\n    } "8ef845b0";\r\n  } "558d6c0d";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE05') and answer.exists() then {\r\n    item.answer first as a where a.value = true then {\r\n      src ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/postcoordination',  ext.value = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE05',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "45430313";\r\n    } "fbb8aa6b";\r\n  } "2361285f";\r\n}\r\n\r\ngroup CccconditionCccb23de10(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE10',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "901c4fa4";\r\n    } "39e6334e";\r\n  } "f313d249";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE05') and answer.exists() then {\r\n    item.answer first as a where a.value = true then {\r\n      src ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/postcoordination',  ext.value = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE05',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "45430313";\r\n    } "fbb8aa6b";\r\n  } "2361285f";\r\n}\r\n\r\ngroup CccconditionCccb23de13(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE13',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "0b87b4e7";\r\n    } "6cc1c549";\r\n  } "dc54929c";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de14(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE14',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "c77e81e6";\r\n    } "a3de578a";\r\n  } "d565e84e";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de15(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE15',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "16e4a2c3";\r\n    } "088a39f1";\r\n  } "b194144a";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de16(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE16',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "672b006b";\r\n    } "c458ff7e";\r\n  } "a834b1c4";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de17(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE17',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "bd34c671";\r\n    } "0cc3c5de";\r\n  } "8b51a13d";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de18(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE18',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "422373d9";\r\n    } "8f1dcdd2";\r\n  } "6c227934";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de18a(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE18.a',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "b2c23048";\r\n    } "422663d8";\r\n  } "12b34bed";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de100(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE100',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "515f36ee";\r\n    } "e9f1a397";\r\n  } "5e6079c2";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de6101(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE6101',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "6a9c0b56";\r\n    } "970b5053";\r\n  } "ce2b70a1";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de6102(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE6102',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "1522be60";\r\n    } "18159ba1";\r\n  } "cb2b50a2";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de6103(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE6103',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "248ab88b";\r\n    } "9f402fa1";\r\n  } "5f770596";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de30(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE30',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "60650f2a";\r\n    } "453d3cff";\r\n  } "e00da291";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de31(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE31',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "ab1c5076";\r\n    } "11935d2f";\r\n  } "e29a8881";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de32(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE32',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "b634fab6";\r\n    } "4ead4dac";\r\n  } "48ea19ef";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n  src.item first as itm1 where linkId = 'Ccc.B23.DE32' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B23.DE32a_l') and answer.exists() then {\r\n      item.answer first as a where a.value = true then {\r\n        src ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/postcoordination',  ext.value = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE32a_l',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "e1fd65a9";\r\n      } "c8109922";\r\n    } "812d89a8";\r\n  } "c3ccc3f2";\r\n}\r\n\r\ngroup CccconditionCccb23de33(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE33',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "57e99b51";\r\n    } "82481cbe";\r\n  } "ef2558fa";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de19(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE19',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "8cb2637d";\r\n    } "69ddcad6";\r\n  } "36529e3a";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de104(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE104',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "6627d17b";\r\n    } "008eb1e8";\r\n  } "99bdabd7";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n  src.item first as itm1 where linkId = 'Ccc.B23.DE104' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B23.DE26a_l') and answer.exists() then {\r\n      item.answer first as a where a.value = true then {\r\n        src ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/postcoordination',  ext.value = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE26a_l',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "2bb3282a";\r\n      } "059c54a8";\r\n    } "bfa2f7ed";\r\n  } "d6b41478";\r\n}\r\n\r\ngroup CccconditionCccb23de105(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE105',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "bfa6a728";\r\n    } "503587f4";\r\n  } "b4cd8d75";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de27(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE27',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "10a11fd8";\r\n    } "7e9f6c96";\r\n  } "47747496";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de28(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE28',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "bd635f9e";\r\n    } "ac92c02f";\r\n  } "591966f0";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de29(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE29',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "59037b30";\r\n    } "cfcf61aa";\r\n  } "b6fcf002";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de62(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE62',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "1d89b4e7";\r\n    } "7a9976ac";\r\n  } "59bce4a5";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de63(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE63',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "7160c75f";\r\n    } "f74f505b";\r\n  } "ab307e84";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de64(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE64',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "f6ad72a0";\r\n    } "9035e530";\r\n  } "9a8830e5";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de34(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE34',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "e5f9a7d3";\r\n    } "ff3ce60d";\r\n  } "c84a5f54";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de35(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE35',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "7f5b9cb3";\r\n    } "30144f76";\r\n  } "b15dce6e";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE36') and answer.exists() then {\r\n    item.answer first as a where a.value = true then {\r\n      src ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/postcoordination',  ext.value = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE36',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "337a4af0";\r\n    } "00bff3d2";\r\n  } "9a029988";\r\n}\r\n\r\ngroup CccconditionCccb23de41(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE41',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "e288c87d";\r\n    } "8173bdfa";\r\n  } "2297565b";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de42(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE42',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "94e86dfd";\r\n    } "1282d921";\r\n  } "f89496b0";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE43a') and answer.exists() then {\r\n    item.answer first as a where a.value = true then {\r\n      src ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/postcoordination',  ext.value = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE43a',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "3982894f";\r\n    } "bb6efca4";\r\n  } "fc0928c7";\r\n}\r\n\r\ngroup CccconditionCccb23de44(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE44',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "e3f3e6d5";\r\n    } "bed4feb4";\r\n  } "629e48b0";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de45(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE45',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "606d51c8";\r\n    } "7d5d59ca";\r\n  } "e36660f4";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE46A') and answer.exists() then {\r\n    item.answer first as a where a.value = true then {\r\n      src ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/postcoordination',  ext.value = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE46A',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "b043e119";\r\n    } "b1d8b88c";\r\n  } "a1ec2dd1";\r\n}\r\n\r\ngroup CccconditionCccb23de47(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE47',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "6bae8d25";\r\n    } "5e31a07c";\r\n  } "a43d53e8";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE48') and answer.exists() then {\r\n    item.answer first as a where a.value = true then {\r\n      src ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/postcoordination',  ext.value = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE48',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "88de7a80";\r\n    } "7cd5181a";\r\n  } "3c6f199b";\r\n}\r\n\r\ngroup CccconditionCccb23de49(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE49',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "b581f2e7";\r\n    } "1cc86632";\r\n  } "f58199bf";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE50') and answer.exists() then {\r\n    item.answer first as a where a.value = true then {\r\n      src ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/postcoordination',  ext.value = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE50',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "b871091f";\r\n    } "3562dee3";\r\n  } "ba9bd30c";\r\n}\r\n\r\ngroup CccconditionCccb23de52(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE52',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "eb984457";\r\n    } "124cd652";\r\n  } "c77f1d4e";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE52a') and answer.exists() then {\r\n    item.answer first as a where a.value = true then {\r\n      src ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/postcoordination',  ext.value = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE52a',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "3a81b32e";\r\n    } "2c4ce5dc";\r\n  } "510e64e3";\r\n}\r\n\r\ngroup CccconditionCccb23de53(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE53',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "0f3a6755";\r\n    } "863552f3";\r\n  } "35439fa7";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE53a') and answer.exists() then {\r\n    item.answer first as a where a.value = true then {\r\n      src ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/postcoordination',  ext.value = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE53a',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "172c98f5";\r\n    } "77f7bdf7";\r\n  } "6481f816";\r\n}\r\n\r\ngroup CccconditionCccb23de54(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE54',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "fafd5b25";\r\n    } "61c9d7c8";\r\n  } "78b12d83";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE55') and answer.exists() then {\r\n    item.answer first as a where a.value = true then {\r\n      src ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/postcoordination',  ext.value = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE55',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "703de849";\r\n    } "82394009";\r\n  } "626ae745";\r\n}\r\n\r\ngroup CccconditionCccb23de56(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE56',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "9a929971";\r\n    } "b7c8a104";\r\n  } "0dd631f3";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de57(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE57',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "2c0d395c";\r\n    } "f04e9b50";\r\n  } "af692636";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE57a') and answer.exists() then {\r\n    item.answer first as a where a.value = true then {\r\n      src ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/postcoordination',  ext.value = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE57a',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "0273738c";\r\n    } "3e41ae3b";\r\n  } "d8c20ee2";\r\n}\r\n\r\ngroup CccconditionCccb23de58(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE58',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "d913f145";\r\n    } "ecd18d6c";\r\n  } "a88f6164";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de59(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE59',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "8f74fb03";\r\n    } "4cae7202";\r\n  } "b30797dc";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE60') and answer.exists() then {\r\n    item.answer first as a where a.value = true then {\r\n      src ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/postcoordination',  ext.value = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE60',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "da15433c";\r\n    } "8622d264";\r\n  } "0e509ca1";\r\n}\r\n\r\ngroup CccconditionCccb23de61(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE61',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "9134fe36";\r\n    } "280470c5";\r\n  } "8aa97bdd";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de106(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE106',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "70f0a4fa";\r\n    } "d8d6d130";\r\n  } "671ed411";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de107(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE107',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "4b1b0c22";\r\n    } "d096a052";\r\n  } "8e8ee9b4";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de108(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE108',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "3de5c106";\r\n    } "58d1e9ce";\r\n  } "81cf1715";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de01(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE01',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "38c776ef";\r\n    } "dcfcb65d";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "9ef26449";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de03(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE03',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "97f42802";\r\n    } "539676b6";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "cfd7a9f6";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de06(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE06',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "dd0fd01c";\r\n    } "8ef845b0";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "8ede6446";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de10(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE10',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "901c4fa4";\r\n    } "39e6334e";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "91de6eff";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de13(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE13',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "0b87b4e7";\r\n    } "6cc1c549";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "39e0fe5e";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de14(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE14',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "c77e81e6";\r\n    } "a3de578a";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "da0791a5";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de15(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE15',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "16e4a2c3";\r\n    } "088a39f1";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "b16e2ac9";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de16(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE16',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "672b006b";\r\n    } "c458ff7e";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "56c3513e";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de17(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE17',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "bd34c671";\r\n    } "0cc3c5de";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "bcc64d8c";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de18(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE18',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "422373d9";\r\n    } "8f1dcdd2";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "c59123ce";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de18a(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE18.a',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "b2c23048";\r\n    } "422663d8";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "25273533";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de100(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE100',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "515f36ee";\r\n    } "e9f1a397";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "8c3a108e";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de6101(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE6101',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "6a9c0b56";\r\n    } "970b5053";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "bcd054c6";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de6102(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE6102',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "1522be60";\r\n    } "18159ba1";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "d067f021";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de6103(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE6103',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "248ab88b";\r\n    } "9f402fa1";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "63883e24";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de30(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE30',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "60650f2a";\r\n    } "453d3cff";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "a68b918e";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de31(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE31',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "ab1c5076";\r\n    } "11935d2f";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "822b0f6f";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de32(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE32',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "b634fab6";\r\n    } "4ead4dac";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "d4c988ea";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de33(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE33',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "57e99b51";\r\n    } "82481cbe";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "fe5543e1";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de19(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE19',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "8cb2637d";\r\n    } "69ddcad6";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "70cc0dd3";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de104(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE104',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "6627d17b";\r\n    } "008eb1e8";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "20bd1c4d";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de105(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE105',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "bfa6a728";\r\n    } "503587f4";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "fef353a9";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de27(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE27',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "10a11fd8";\r\n    } "7e9f6c96";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "0290fee9";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de28(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE28',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "bd635f9e";\r\n    } "ac92c02f";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "83be838f";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de29(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE29',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "59037b30";\r\n    } "cfcf61aa";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "6e4bf79f";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de62(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE62',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "1d89b4e7";\r\n    } "7a9976ac";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "57723227";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de63(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE63',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "7160c75f";\r\n    } "f74f505b";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "33888f75";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de64(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE64',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "f6ad72a0";\r\n    } "9035e530";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "1cf80989";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de34(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE34',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "e5f9a7d3";\r\n    } "ff3ce60d";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "d108e57f";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de35(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE35',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "7f5b9cb3";\r\n    } "30144f76";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "1b6c2929";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de41(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE41',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "e288c87d";\r\n    } "8173bdfa";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "6346630d";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de42(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE42',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "94e86dfd";\r\n    } "1282d921";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "8bdb0925";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de44(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE44',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "e3f3e6d5";\r\n    } "bed4feb4";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "01ad58f9";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de45(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE45',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "606d51c8";\r\n    } "7d5d59ca";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "8d718fac";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de47(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE47',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "6bae8d25";\r\n    } "5e31a07c";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "0403cb73";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de49(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE49',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "b581f2e7";\r\n    } "1cc86632";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "01b77ffc";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de52(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE52',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "eb984457";\r\n    } "124cd652";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "4f42555c";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de53(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE53',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "0f3a6755";\r\n    } "863552f3";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "28aceb4b";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de54(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE54',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "fafd5b25";\r\n    } "61c9d7c8";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "4a7c61b0";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de56(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE56',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "9a929971";\r\n    } "b7c8a104";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "0a350e2a";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de57(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE57',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "2c0d395c";\r\n    } "f04e9b50";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "4581b0aa";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de58(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE58',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "d913f145";\r\n    } "ecd18d6c";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "52e04bef";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de59(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE59',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "8f74fb03";\r\n    } "4cae7202";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "4fd3684b";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de61(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE61',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "9134fe36";\r\n    } "280470c5";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "ebbc1c98";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de106(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE106',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "70f0a4fa";\r\n    } "d8d6d130";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "c5746d18";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de107(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE107',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "4b1b0c22";\r\n    } "d096a052";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "1df42064";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de108(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE108',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "3de5c106";\r\n    } "58d1e9ce";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "474da804";\r\n}\r\n\r\ngroup Cccconditioncollectorcollector(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'collector',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "ab5440b5";\r\n    } "6fc817a4";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "d8e38123";\r\n}\r\n\r\n
" }, - "url": "https://smart.who.int/ccc/StructureMap/emcare.b23.classification", - "name": "emcare.b23.classification", + "url": "https://smart.who.int/ccc/StructureMap/Ccc.b23.classification", + "name": "Ccc.b23.classification", "status": "active", "structure": [ { @@ -30,14 +30,14 @@ "alias": "'Condition'" }, { - "url": "https://smart.who.int/ccc/StructureDefinition/emcareobservation", + "url": "https://smart.who.int/ccc/StructureDefinition/Cccobservation", "mode": "produced", - "alias": "'EmCare Observation'" + "alias": "'Ccc Observation'" }, { - "url": "https://smart.who.int/ccc/StructureDefinition/emcarecondition", + "url": "https://smart.who.int/ccc/StructureDefinition/Ccccondition", "mode": "produced", - "alias": "'EmCare Condition'" + "alias": "'Ccc Condition'" } ], "group": [ @@ -102,7 +102,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B6.DE08') and answer.exists()" + "condition": "(linkId = 'Ccc.B6.DE08') and answer.exists()" } ], "rule": [ @@ -210,7 +210,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb6de08", + "name": "CccobservationCccb6de08", "variable": [ "src", "tgt" @@ -232,7 +232,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE01') and answer.exists()" } ], "rule": [ @@ -328,7 +328,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE01') and answer.exists()" } ], "rule": [ @@ -341,7 +341,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de01", + "name": "CccconditionCccb23de01", "variable": [ "src", "item", @@ -366,7 +366,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE03') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE03') and answer.exists()" } ], "rule": [ @@ -462,7 +462,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE03') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE03') and answer.exists()" } ], "rule": [ @@ -475,7 +475,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de03", + "name": "CccconditionCccb23de03", "variable": [ "src", "item", @@ -500,7 +500,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE06') and answer.exists()" } ], "rule": [ @@ -596,7 +596,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE06') and answer.exists()" } ], "rule": [ @@ -609,7 +609,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de06", + "name": "CccconditionCccb23de06", "variable": [ "src", "item", @@ -634,7 +634,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE10') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE10') and answer.exists()" } ], "rule": [ @@ -730,7 +730,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE10') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE10') and answer.exists()" } ], "rule": [ @@ -743,7 +743,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de10", + "name": "CccconditionCccb23de10", "variable": [ "src", "item", @@ -768,7 +768,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE13') and answer.exists()" } ], "rule": [ @@ -864,7 +864,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE13') and answer.exists()" } ], "rule": [ @@ -877,7 +877,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de13", + "name": "CccconditionCccb23de13", "variable": [ "src", "item", @@ -902,7 +902,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE14') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE14') and answer.exists()" } ], "rule": [ @@ -998,7 +998,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE14') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE14') and answer.exists()" } ], "rule": [ @@ -1011,7 +1011,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de14", + "name": "CccconditionCccb23de14", "variable": [ "src", "item", @@ -1036,7 +1036,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE15') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE15') and answer.exists()" } ], "rule": [ @@ -1132,7 +1132,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE15') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE15') and answer.exists()" } ], "rule": [ @@ -1145,7 +1145,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de15", + "name": "CccconditionCccb23de15", "variable": [ "src", "item", @@ -1170,7 +1170,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE16') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE16') and answer.exists()" } ], "rule": [ @@ -1266,7 +1266,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE16') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE16') and answer.exists()" } ], "rule": [ @@ -1279,7 +1279,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de16", + "name": "CccconditionCccb23de16", "variable": [ "src", "item", @@ -1304,7 +1304,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE17') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE17') and answer.exists()" } ], "rule": [ @@ -1400,7 +1400,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE17') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE17') and answer.exists()" } ], "rule": [ @@ -1413,7 +1413,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de17", + "name": "CccconditionCccb23de17", "variable": [ "src", "item", @@ -1438,7 +1438,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE18') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE18') and answer.exists()" } ], "rule": [ @@ -1534,7 +1534,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE18') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE18') and answer.exists()" } ], "rule": [ @@ -1547,7 +1547,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de18", + "name": "CccconditionCccb23de18", "variable": [ "src", "item", @@ -1572,7 +1572,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE18.a') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE18.a') and answer.exists()" } ], "rule": [ @@ -1668,7 +1668,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE18.a') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE18.a') and answer.exists()" } ], "rule": [ @@ -1681,7 +1681,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de18a", + "name": "CccconditionCccb23de18a", "variable": [ "src", "item", @@ -1706,7 +1706,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE100') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE100') and answer.exists()" } ], "rule": [ @@ -1802,7 +1802,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE100') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE100') and answer.exists()" } ], "rule": [ @@ -1815,7 +1815,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de100", + "name": "CccconditionCccb23de100", "variable": [ "src", "item", @@ -1840,7 +1840,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE6101') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE6101') and answer.exists()" } ], "rule": [ @@ -1936,7 +1936,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE6101') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE6101') and answer.exists()" } ], "rule": [ @@ -1949,7 +1949,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de6101", + "name": "CccconditionCccb23de6101", "variable": [ "src", "item", @@ -1974,7 +1974,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE6102') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE6102') and answer.exists()" } ], "rule": [ @@ -2070,7 +2070,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE6102') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE6102') and answer.exists()" } ], "rule": [ @@ -2083,7 +2083,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de6102", + "name": "CccconditionCccb23de6102", "variable": [ "src", "item", @@ -2108,7 +2108,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE6103') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE6103') and answer.exists()" } ], "rule": [ @@ -2204,7 +2204,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE6103') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE6103') and answer.exists()" } ], "rule": [ @@ -2217,7 +2217,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de6103", + "name": "CccconditionCccb23de6103", "variable": [ "src", "item", @@ -2242,7 +2242,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE30') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE30') and answer.exists()" } ], "rule": [ @@ -2338,7 +2338,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE30') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE30') and answer.exists()" } ], "rule": [ @@ -2351,7 +2351,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de30", + "name": "CccconditionCccb23de30", "variable": [ "src", "item", @@ -2376,7 +2376,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE31') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE31') and answer.exists()" } ], "rule": [ @@ -2472,7 +2472,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE31') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE31') and answer.exists()" } ], "rule": [ @@ -2485,7 +2485,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de31", + "name": "CccconditionCccb23de31", "variable": [ "src", "item", @@ -2510,7 +2510,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE32') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE32') and answer.exists()" } ], "rule": [ @@ -2606,7 +2606,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE32') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE32') and answer.exists()" } ], "rule": [ @@ -2619,7 +2619,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de32", + "name": "CccconditionCccb23de32", "variable": [ "src", "item", @@ -2644,7 +2644,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE33') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE33') and answer.exists()" } ], "rule": [ @@ -2740,7 +2740,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE33') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE33') and answer.exists()" } ], "rule": [ @@ -2753,7 +2753,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de33", + "name": "CccconditionCccb23de33", "variable": [ "src", "item", @@ -2778,7 +2778,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE19') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE19') and answer.exists()" } ], "rule": [ @@ -2874,7 +2874,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE19') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE19') and answer.exists()" } ], "rule": [ @@ -2887,7 +2887,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de19", + "name": "CccconditionCccb23de19", "variable": [ "src", "item", @@ -2912,7 +2912,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE104') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE104') and answer.exists()" } ], "rule": [ @@ -3008,7 +3008,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE104') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE104') and answer.exists()" } ], "rule": [ @@ -3021,7 +3021,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de104", + "name": "CccconditionCccb23de104", "variable": [ "src", "item", @@ -3046,7 +3046,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE105') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE105') and answer.exists()" } ], "rule": [ @@ -3142,7 +3142,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE105') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE105') and answer.exists()" } ], "rule": [ @@ -3155,7 +3155,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de105", + "name": "CccconditionCccb23de105", "variable": [ "src", "item", @@ -3180,7 +3180,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE27') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE27') and answer.exists()" } ], "rule": [ @@ -3276,7 +3276,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE27') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE27') and answer.exists()" } ], "rule": [ @@ -3289,7 +3289,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de27", + "name": "CccconditionCccb23de27", "variable": [ "src", "item", @@ -3314,7 +3314,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE28') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE28') and answer.exists()" } ], "rule": [ @@ -3410,7 +3410,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE28') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE28') and answer.exists()" } ], "rule": [ @@ -3423,7 +3423,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de28", + "name": "CccconditionCccb23de28", "variable": [ "src", "item", @@ -3448,7 +3448,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE29') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE29') and answer.exists()" } ], "rule": [ @@ -3544,7 +3544,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE29') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE29') and answer.exists()" } ], "rule": [ @@ -3557,7 +3557,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de29", + "name": "CccconditionCccb23de29", "variable": [ "src", "item", @@ -3582,7 +3582,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE62') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE62') and answer.exists()" } ], "rule": [ @@ -3678,7 +3678,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE62') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE62') and answer.exists()" } ], "rule": [ @@ -3691,7 +3691,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de62", + "name": "CccconditionCccb23de62", "variable": [ "src", "item", @@ -3716,7 +3716,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE63') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE63') and answer.exists()" } ], "rule": [ @@ -3812,7 +3812,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE63') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE63') and answer.exists()" } ], "rule": [ @@ -3825,7 +3825,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de63", + "name": "CccconditionCccb23de63", "variable": [ "src", "item", @@ -3850,7 +3850,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE64') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE64') and answer.exists()" } ], "rule": [ @@ -3946,7 +3946,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE64') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE64') and answer.exists()" } ], "rule": [ @@ -3959,7 +3959,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de64", + "name": "CccconditionCccb23de64", "variable": [ "src", "item", @@ -3984,7 +3984,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE34') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE34') and answer.exists()" } ], "rule": [ @@ -4080,7 +4080,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE34') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE34') and answer.exists()" } ], "rule": [ @@ -4093,7 +4093,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de34", + "name": "CccconditionCccb23de34", "variable": [ "src", "item", @@ -4118,7 +4118,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE35') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE35') and answer.exists()" } ], "rule": [ @@ -4214,7 +4214,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE35') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE35') and answer.exists()" } ], "rule": [ @@ -4227,7 +4227,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de35", + "name": "CccconditionCccb23de35", "variable": [ "src", "item", @@ -4252,7 +4252,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE41') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE41') and answer.exists()" } ], "rule": [ @@ -4348,7 +4348,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE41') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE41') and answer.exists()" } ], "rule": [ @@ -4361,7 +4361,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de41", + "name": "CccconditionCccb23de41", "variable": [ "src", "item", @@ -4386,7 +4386,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE42') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE42') and answer.exists()" } ], "rule": [ @@ -4482,7 +4482,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE42') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE42') and answer.exists()" } ], "rule": [ @@ -4495,7 +4495,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de42", + "name": "CccconditionCccb23de42", "variable": [ "src", "item", @@ -4520,7 +4520,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE44') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE44') and answer.exists()" } ], "rule": [ @@ -4616,7 +4616,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE44') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE44') and answer.exists()" } ], "rule": [ @@ -4629,7 +4629,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de44", + "name": "CccconditionCccb23de44", "variable": [ "src", "item", @@ -4654,7 +4654,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE45') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE45') and answer.exists()" } ], "rule": [ @@ -4750,7 +4750,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE45') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE45') and answer.exists()" } ], "rule": [ @@ -4763,7 +4763,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de45", + "name": "CccconditionCccb23de45", "variable": [ "src", "item", @@ -4788,7 +4788,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE47') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE47') and answer.exists()" } ], "rule": [ @@ -4884,7 +4884,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE47') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE47') and answer.exists()" } ], "rule": [ @@ -4897,7 +4897,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de47", + "name": "CccconditionCccb23de47", "variable": [ "src", "item", @@ -4922,7 +4922,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE49') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE49') and answer.exists()" } ], "rule": [ @@ -5018,7 +5018,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE49') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE49') and answer.exists()" } ], "rule": [ @@ -5031,7 +5031,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de49", + "name": "CccconditionCccb23de49", "variable": [ "src", "item", @@ -5056,7 +5056,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE52') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE52') and answer.exists()" } ], "rule": [ @@ -5152,7 +5152,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE52') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE52') and answer.exists()" } ], "rule": [ @@ -5165,7 +5165,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de52", + "name": "CccconditionCccb23de52", "variable": [ "src", "item", @@ -5190,7 +5190,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE53') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE53') and answer.exists()" } ], "rule": [ @@ -5286,7 +5286,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE53') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE53') and answer.exists()" } ], "rule": [ @@ -5299,7 +5299,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de53", + "name": "CccconditionCccb23de53", "variable": [ "src", "item", @@ -5324,7 +5324,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE54') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE54') and answer.exists()" } ], "rule": [ @@ -5420,7 +5420,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE54') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE54') and answer.exists()" } ], "rule": [ @@ -5433,7 +5433,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de54", + "name": "CccconditionCccb23de54", "variable": [ "src", "item", @@ -5458,7 +5458,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE56') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE56') and answer.exists()" } ], "rule": [ @@ -5554,7 +5554,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE56') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE56') and answer.exists()" } ], "rule": [ @@ -5567,7 +5567,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de56", + "name": "CccconditionCccb23de56", "variable": [ "src", "item", @@ -5592,7 +5592,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE57') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE57') and answer.exists()" } ], "rule": [ @@ -5688,7 +5688,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE57') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE57') and answer.exists()" } ], "rule": [ @@ -5701,7 +5701,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de57", + "name": "CccconditionCccb23de57", "variable": [ "src", "item", @@ -5726,7 +5726,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE58') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE58') and answer.exists()" } ], "rule": [ @@ -5822,7 +5822,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE58') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE58') and answer.exists()" } ], "rule": [ @@ -5835,7 +5835,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de58", + "name": "CccconditionCccb23de58", "variable": [ "src", "item", @@ -5860,7 +5860,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE59') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE59') and answer.exists()" } ], "rule": [ @@ -5956,7 +5956,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE59') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE59') and answer.exists()" } ], "rule": [ @@ -5969,7 +5969,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de59", + "name": "CccconditionCccb23de59", "variable": [ "src", "item", @@ -5994,7 +5994,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE61') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE61') and answer.exists()" } ], "rule": [ @@ -6090,7 +6090,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE61') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE61') and answer.exists()" } ], "rule": [ @@ -6103,7 +6103,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de61", + "name": "CccconditionCccb23de61", "variable": [ "src", "item", @@ -6128,7 +6128,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE106') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE106') and answer.exists()" } ], "rule": [ @@ -6224,7 +6224,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE106') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE106') and answer.exists()" } ], "rule": [ @@ -6237,7 +6237,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de106", + "name": "CccconditionCccb23de106", "variable": [ "src", "item", @@ -6262,7 +6262,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE107') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE107') and answer.exists()" } ], "rule": [ @@ -6358,7 +6358,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE107') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE107') and answer.exists()" } ], "rule": [ @@ -6371,7 +6371,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de107", + "name": "CccconditionCccb23de107", "variable": [ "src", "item", @@ -6396,7 +6396,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE108') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE108') and answer.exists()" } ], "rule": [ @@ -6492,7 +6492,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE108') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE108') and answer.exists()" } ], "rule": [ @@ -6505,7 +6505,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de108", + "name": "CccconditionCccb23de108", "variable": [ "src", "item", @@ -6527,7 +6527,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE01')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE01')" } ], "rule": [ @@ -6636,7 +6636,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de01", + "name": "CccconditioncollectorCccb23de01", "variable": [ "src", "item", @@ -6658,7 +6658,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE03')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE03')" } ], "rule": [ @@ -6767,7 +6767,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de03", + "name": "CccconditioncollectorCccb23de03", "variable": [ "src", "item", @@ -6789,7 +6789,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE06')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE06')" } ], "rule": [ @@ -6898,7 +6898,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de06", + "name": "CccconditioncollectorCccb23de06", "variable": [ "src", "item", @@ -6920,7 +6920,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE10')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE10')" } ], "rule": [ @@ -7029,7 +7029,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de10", + "name": "CccconditioncollectorCccb23de10", "variable": [ "src", "item", @@ -7051,7 +7051,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE13')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE13')" } ], "rule": [ @@ -7160,7 +7160,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de13", + "name": "CccconditioncollectorCccb23de13", "variable": [ "src", "item", @@ -7182,7 +7182,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE14')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE14')" } ], "rule": [ @@ -7291,7 +7291,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de14", + "name": "CccconditioncollectorCccb23de14", "variable": [ "src", "item", @@ -7313,7 +7313,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE15')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE15')" } ], "rule": [ @@ -7422,7 +7422,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de15", + "name": "CccconditioncollectorCccb23de15", "variable": [ "src", "item", @@ -7444,7 +7444,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE16')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE16')" } ], "rule": [ @@ -7553,7 +7553,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de16", + "name": "CccconditioncollectorCccb23de16", "variable": [ "src", "item", @@ -7575,7 +7575,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE17')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE17')" } ], "rule": [ @@ -7684,7 +7684,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de17", + "name": "CccconditioncollectorCccb23de17", "variable": [ "src", "item", @@ -7706,7 +7706,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE18')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE18')" } ], "rule": [ @@ -7815,7 +7815,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de18", + "name": "CccconditioncollectorCccb23de18", "variable": [ "src", "item", @@ -7837,7 +7837,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE18.a')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE18.a')" } ], "rule": [ @@ -7946,7 +7946,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de18a", + "name": "CccconditioncollectorCccb23de18a", "variable": [ "src", "item", @@ -7968,7 +7968,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE100')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE100')" } ], "rule": [ @@ -8077,7 +8077,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de100", + "name": "CccconditioncollectorCccb23de100", "variable": [ "src", "item", @@ -8099,7 +8099,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE6101')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE6101')" } ], "rule": [ @@ -8208,7 +8208,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de6101", + "name": "CccconditioncollectorCccb23de6101", "variable": [ "src", "item", @@ -8230,7 +8230,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE6102')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE6102')" } ], "rule": [ @@ -8339,7 +8339,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de6102", + "name": "CccconditioncollectorCccb23de6102", "variable": [ "src", "item", @@ -8361,7 +8361,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE6103')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE6103')" } ], "rule": [ @@ -8470,7 +8470,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de6103", + "name": "CccconditioncollectorCccb23de6103", "variable": [ "src", "item", @@ -8492,7 +8492,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE30')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE30')" } ], "rule": [ @@ -8601,7 +8601,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de30", + "name": "CccconditioncollectorCccb23de30", "variable": [ "src", "item", @@ -8623,7 +8623,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE31')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE31')" } ], "rule": [ @@ -8732,7 +8732,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de31", + "name": "CccconditioncollectorCccb23de31", "variable": [ "src", "item", @@ -8754,7 +8754,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE32')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE32')" } ], "rule": [ @@ -8863,7 +8863,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de32", + "name": "CccconditioncollectorCccb23de32", "variable": [ "src", "item", @@ -8885,7 +8885,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE33')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE33')" } ], "rule": [ @@ -8994,7 +8994,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de33", + "name": "CccconditioncollectorCccb23de33", "variable": [ "src", "item", @@ -9016,7 +9016,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE19')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE19')" } ], "rule": [ @@ -9125,7 +9125,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de19", + "name": "CccconditioncollectorCccb23de19", "variable": [ "src", "item", @@ -9147,7 +9147,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE104')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE104')" } ], "rule": [ @@ -9256,7 +9256,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de104", + "name": "CccconditioncollectorCccb23de104", "variable": [ "src", "item", @@ -9278,7 +9278,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE105')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE105')" } ], "rule": [ @@ -9387,7 +9387,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de105", + "name": "CccconditioncollectorCccb23de105", "variable": [ "src", "item", @@ -9409,7 +9409,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE27')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE27')" } ], "rule": [ @@ -9518,7 +9518,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de27", + "name": "CccconditioncollectorCccb23de27", "variable": [ "src", "item", @@ -9540,7 +9540,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE28')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE28')" } ], "rule": [ @@ -9649,7 +9649,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de28", + "name": "CccconditioncollectorCccb23de28", "variable": [ "src", "item", @@ -9671,7 +9671,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE29')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE29')" } ], "rule": [ @@ -9780,7 +9780,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de29", + "name": "CccconditioncollectorCccb23de29", "variable": [ "src", "item", @@ -9802,7 +9802,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE62')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE62')" } ], "rule": [ @@ -9911,7 +9911,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de62", + "name": "CccconditioncollectorCccb23de62", "variable": [ "src", "item", @@ -9933,7 +9933,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE63')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE63')" } ], "rule": [ @@ -10042,7 +10042,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de63", + "name": "CccconditioncollectorCccb23de63", "variable": [ "src", "item", @@ -10064,7 +10064,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE64')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE64')" } ], "rule": [ @@ -10173,7 +10173,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de64", + "name": "CccconditioncollectorCccb23de64", "variable": [ "src", "item", @@ -10195,7 +10195,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE34')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE34')" } ], "rule": [ @@ -10304,7 +10304,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de34", + "name": "CccconditioncollectorCccb23de34", "variable": [ "src", "item", @@ -10326,7 +10326,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE35')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE35')" } ], "rule": [ @@ -10435,7 +10435,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de35", + "name": "CccconditioncollectorCccb23de35", "variable": [ "src", "item", @@ -10457,7 +10457,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE41')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE41')" } ], "rule": [ @@ -10566,7 +10566,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de41", + "name": "CccconditioncollectorCccb23de41", "variable": [ "src", "item", @@ -10588,7 +10588,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE42')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE42')" } ], "rule": [ @@ -10697,7 +10697,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de42", + "name": "CccconditioncollectorCccb23de42", "variable": [ "src", "item", @@ -10719,7 +10719,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE44')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE44')" } ], "rule": [ @@ -10828,7 +10828,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de44", + "name": "CccconditioncollectorCccb23de44", "variable": [ "src", "item", @@ -10850,7 +10850,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE45')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE45')" } ], "rule": [ @@ -10959,7 +10959,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de45", + "name": "CccconditioncollectorCccb23de45", "variable": [ "src", "item", @@ -10981,7 +10981,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE47')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE47')" } ], "rule": [ @@ -11090,7 +11090,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de47", + "name": "CccconditioncollectorCccb23de47", "variable": [ "src", "item", @@ -11112,7 +11112,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE49')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE49')" } ], "rule": [ @@ -11221,7 +11221,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de49", + "name": "CccconditioncollectorCccb23de49", "variable": [ "src", "item", @@ -11243,7 +11243,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE52')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE52')" } ], "rule": [ @@ -11352,7 +11352,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de52", + "name": "CccconditioncollectorCccb23de52", "variable": [ "src", "item", @@ -11374,7 +11374,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE53')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE53')" } ], "rule": [ @@ -11483,7 +11483,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de53", + "name": "CccconditioncollectorCccb23de53", "variable": [ "src", "item", @@ -11505,7 +11505,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE54')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE54')" } ], "rule": [ @@ -11614,7 +11614,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de54", + "name": "CccconditioncollectorCccb23de54", "variable": [ "src", "item", @@ -11636,7 +11636,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE56')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE56')" } ], "rule": [ @@ -11745,7 +11745,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de56", + "name": "CccconditioncollectorCccb23de56", "variable": [ "src", "item", @@ -11767,7 +11767,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE57')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE57')" } ], "rule": [ @@ -11876,7 +11876,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de57", + "name": "CccconditioncollectorCccb23de57", "variable": [ "src", "item", @@ -11898,7 +11898,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE58')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE58')" } ], "rule": [ @@ -12007,7 +12007,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de58", + "name": "CccconditioncollectorCccb23de58", "variable": [ "src", "item", @@ -12029,7 +12029,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE59')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE59')" } ], "rule": [ @@ -12138,7 +12138,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de59", + "name": "CccconditioncollectorCccb23de59", "variable": [ "src", "item", @@ -12160,7 +12160,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE61')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE61')" } ], "rule": [ @@ -12269,7 +12269,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de61", + "name": "CccconditioncollectorCccb23de61", "variable": [ "src", "item", @@ -12291,7 +12291,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE106')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE106')" } ], "rule": [ @@ -12400,7 +12400,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de106", + "name": "CccconditioncollectorCccb23de106", "variable": [ "src", "item", @@ -12422,7 +12422,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE107')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE107')" } ], "rule": [ @@ -12531,7 +12531,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de107", + "name": "CccconditioncollectorCccb23de107", "variable": [ "src", "item", @@ -12553,7 +12553,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE108')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE108')" } ], "rule": [ @@ -12662,7 +12662,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de108", + "name": "CccconditioncollectorCccb23de108", "variable": [ "src", "item", @@ -12793,7 +12793,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectorcollector", + "name": "Cccconditioncollectorcollector", "variable": [ "src", "item", @@ -12813,7 +12813,7 @@ ] }, { - "name": "emcareobservationemcareb6de08", + "name": "CccobservationCccb6de08", "typeMode": "none", "input": [ { @@ -12827,7 +12827,7 @@ ], "rule": [ { - "name": "id-emcareb6de08", + "name": "id-Cccb6de08", "source": [ { "context": "src" @@ -12911,7 +12911,7 @@ ] }, { - "name": "code-emcareb6de08", + "name": "code-Cccb6de08", "source": [ { "context": "src", @@ -12950,7 +12950,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -12985,7 +12985,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -12996,7 +12996,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B6.DE08" + "valueString": "Ccc.B6.DE08" } ] } @@ -13082,7 +13082,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B6.DE08') and answer.exists()" + "condition": "(linkId = 'Ccc.B6.DE08') and answer.exists()" } ], "rule": [ @@ -13138,7 +13138,7 @@ ] }, { - "name": "emcareconditionemcareb23de01", + "name": "CccconditionCccb23de01", "typeMode": "none", "input": [ { @@ -13322,7 +13322,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE01" + "valueString": "Ccc.B23.DE01" } ] }, @@ -13333,7 +13333,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -13594,7 +13594,7 @@ ] }, { - "name": "emcareconditionemcareb23de03", + "name": "CccconditionCccb23de03", "typeMode": "none", "input": [ { @@ -13778,7 +13778,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE03" + "valueString": "Ccc.B23.DE03" } ] }, @@ -13789,7 +13789,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -14055,7 +14055,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE04') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE04') and answer.exists()" } ], "rule": [ @@ -14133,7 +14133,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE04" + "valueString": "Ccc.B23.DE04" } ] }, @@ -14144,7 +14144,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -14157,7 +14157,7 @@ ] }, { - "name": "emcareconditionemcareb23de06", + "name": "CccconditionCccb23de06", "typeMode": "none", "input": [ { @@ -14341,7 +14341,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE06" + "valueString": "Ccc.B23.DE06" } ] }, @@ -14352,7 +14352,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -14618,7 +14618,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE05') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE05') and answer.exists()" } ], "rule": [ @@ -14696,7 +14696,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE05" + "valueString": "Ccc.B23.DE05" } ] }, @@ -14707,7 +14707,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -14720,7 +14720,7 @@ ] }, { - "name": "emcareconditionemcareb23de10", + "name": "CccconditionCccb23de10", "typeMode": "none", "input": [ { @@ -14904,7 +14904,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE10" + "valueString": "Ccc.B23.DE10" } ] }, @@ -14915,7 +14915,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -15181,7 +15181,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE05') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE05') and answer.exists()" } ], "rule": [ @@ -15259,7 +15259,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE05" + "valueString": "Ccc.B23.DE05" } ] }, @@ -15270,7 +15270,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -15283,7 +15283,7 @@ ] }, { - "name": "emcareconditionemcareb23de13", + "name": "CccconditionCccb23de13", "typeMode": "none", "input": [ { @@ -15467,7 +15467,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE13" + "valueString": "Ccc.B23.DE13" } ] }, @@ -15478,7 +15478,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -15739,7 +15739,7 @@ ] }, { - "name": "emcareconditionemcareb23de14", + "name": "CccconditionCccb23de14", "typeMode": "none", "input": [ { @@ -15923,7 +15923,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE14" + "valueString": "Ccc.B23.DE14" } ] }, @@ -15934,7 +15934,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -16195,7 +16195,7 @@ ] }, { - "name": "emcareconditionemcareb23de15", + "name": "CccconditionCccb23de15", "typeMode": "none", "input": [ { @@ -16379,7 +16379,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE15" + "valueString": "Ccc.B23.DE15" } ] }, @@ -16390,7 +16390,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -16651,7 +16651,7 @@ ] }, { - "name": "emcareconditionemcareb23de16", + "name": "CccconditionCccb23de16", "typeMode": "none", "input": [ { @@ -16835,7 +16835,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE16" + "valueString": "Ccc.B23.DE16" } ] }, @@ -16846,7 +16846,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -17107,7 +17107,7 @@ ] }, { - "name": "emcareconditionemcareb23de17", + "name": "CccconditionCccb23de17", "typeMode": "none", "input": [ { @@ -17291,7 +17291,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE17" + "valueString": "Ccc.B23.DE17" } ] }, @@ -17302,7 +17302,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -17563,7 +17563,7 @@ ] }, { - "name": "emcareconditionemcareb23de18", + "name": "CccconditionCccb23de18", "typeMode": "none", "input": [ { @@ -17747,7 +17747,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE18" + "valueString": "Ccc.B23.DE18" } ] }, @@ -17758,7 +17758,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -18019,7 +18019,7 @@ ] }, { - "name": "emcareconditionemcareb23de18a", + "name": "CccconditionCccb23de18a", "typeMode": "none", "input": [ { @@ -18203,7 +18203,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE18.a" + "valueString": "Ccc.B23.DE18.a" } ] }, @@ -18214,7 +18214,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -18475,7 +18475,7 @@ ] }, { - "name": "emcareconditionemcareb23de100", + "name": "CccconditionCccb23de100", "typeMode": "none", "input": [ { @@ -18659,7 +18659,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE100" + "valueString": "Ccc.B23.DE100" } ] }, @@ -18670,7 +18670,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -18931,7 +18931,7 @@ ] }, { - "name": "emcareconditionemcareb23de6101", + "name": "CccconditionCccb23de6101", "typeMode": "none", "input": [ { @@ -19115,7 +19115,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE6101" + "valueString": "Ccc.B23.DE6101" } ] }, @@ -19126,7 +19126,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -19387,7 +19387,7 @@ ] }, { - "name": "emcareconditionemcareb23de6102", + "name": "CccconditionCccb23de6102", "typeMode": "none", "input": [ { @@ -19571,7 +19571,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE6102" + "valueString": "Ccc.B23.DE6102" } ] }, @@ -19582,7 +19582,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -19843,7 +19843,7 @@ ] }, { - "name": "emcareconditionemcareb23de6103", + "name": "CccconditionCccb23de6103", "typeMode": "none", "input": [ { @@ -20027,7 +20027,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE6103" + "valueString": "Ccc.B23.DE6103" } ] }, @@ -20038,7 +20038,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -20299,7 +20299,7 @@ ] }, { - "name": "emcareconditionemcareb23de30", + "name": "CccconditionCccb23de30", "typeMode": "none", "input": [ { @@ -20483,7 +20483,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE30" + "valueString": "Ccc.B23.DE30" } ] }, @@ -20494,7 +20494,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -20755,7 +20755,7 @@ ] }, { - "name": "emcareconditionemcareb23de31", + "name": "CccconditionCccb23de31", "typeMode": "none", "input": [ { @@ -20939,7 +20939,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE31" + "valueString": "Ccc.B23.DE31" } ] }, @@ -20950,7 +20950,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -21211,7 +21211,7 @@ ] }, { - "name": "emcareconditionemcareb23de32", + "name": "CccconditionCccb23de32", "typeMode": "none", "input": [ { @@ -21395,7 +21395,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE32" + "valueString": "Ccc.B23.DE32" } ] }, @@ -21406,7 +21406,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -21672,7 +21672,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B23.DE32'" + "condition": "linkId = 'Ccc.B23.DE32'" } ], "rule": [ @@ -21684,7 +21684,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE32a_l') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE32a_l') and answer.exists()" } ], "rule": [ @@ -21762,7 +21762,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE32a_l" + "valueString": "Ccc.B23.DE32a_l" } ] }, @@ -21773,7 +21773,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -21788,7 +21788,7 @@ ] }, { - "name": "emcareconditionemcareb23de33", + "name": "CccconditionCccb23de33", "typeMode": "none", "input": [ { @@ -21972,7 +21972,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE33" + "valueString": "Ccc.B23.DE33" } ] }, @@ -21983,7 +21983,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -22244,7 +22244,7 @@ ] }, { - "name": "emcareconditionemcareb23de19", + "name": "CccconditionCccb23de19", "typeMode": "none", "input": [ { @@ -22428,7 +22428,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE19" + "valueString": "Ccc.B23.DE19" } ] }, @@ -22439,7 +22439,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -22700,7 +22700,7 @@ ] }, { - "name": "emcareconditionemcareb23de104", + "name": "CccconditionCccb23de104", "typeMode": "none", "input": [ { @@ -22884,7 +22884,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE104" + "valueString": "Ccc.B23.DE104" } ] }, @@ -22895,7 +22895,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -23161,7 +23161,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.B23.DE104'" + "condition": "linkId = 'Ccc.B23.DE104'" } ], "rule": [ @@ -23173,7 +23173,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE26a_l') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE26a_l') and answer.exists()" } ], "rule": [ @@ -23251,7 +23251,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE26a_l" + "valueString": "Ccc.B23.DE26a_l" } ] }, @@ -23262,7 +23262,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -23277,7 +23277,7 @@ ] }, { - "name": "emcareconditionemcareb23de105", + "name": "CccconditionCccb23de105", "typeMode": "none", "input": [ { @@ -23461,7 +23461,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE105" + "valueString": "Ccc.B23.DE105" } ] }, @@ -23472,7 +23472,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -23733,7 +23733,7 @@ ] }, { - "name": "emcareconditionemcareb23de27", + "name": "CccconditionCccb23de27", "typeMode": "none", "input": [ { @@ -23917,7 +23917,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE27" + "valueString": "Ccc.B23.DE27" } ] }, @@ -23928,7 +23928,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -24189,7 +24189,7 @@ ] }, { - "name": "emcareconditionemcareb23de28", + "name": "CccconditionCccb23de28", "typeMode": "none", "input": [ { @@ -24373,7 +24373,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE28" + "valueString": "Ccc.B23.DE28" } ] }, @@ -24384,7 +24384,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -24645,7 +24645,7 @@ ] }, { - "name": "emcareconditionemcareb23de29", + "name": "CccconditionCccb23de29", "typeMode": "none", "input": [ { @@ -24829,7 +24829,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE29" + "valueString": "Ccc.B23.DE29" } ] }, @@ -24840,7 +24840,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -25101,7 +25101,7 @@ ] }, { - "name": "emcareconditionemcareb23de62", + "name": "CccconditionCccb23de62", "typeMode": "none", "input": [ { @@ -25285,7 +25285,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE62" + "valueString": "Ccc.B23.DE62" } ] }, @@ -25296,7 +25296,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -25557,7 +25557,7 @@ ] }, { - "name": "emcareconditionemcareb23de63", + "name": "CccconditionCccb23de63", "typeMode": "none", "input": [ { @@ -25741,7 +25741,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE63" + "valueString": "Ccc.B23.DE63" } ] }, @@ -25752,7 +25752,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -26013,7 +26013,7 @@ ] }, { - "name": "emcareconditionemcareb23de64", + "name": "CccconditionCccb23de64", "typeMode": "none", "input": [ { @@ -26197,7 +26197,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE64" + "valueString": "Ccc.B23.DE64" } ] }, @@ -26208,7 +26208,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -26469,7 +26469,7 @@ ] }, { - "name": "emcareconditionemcareb23de34", + "name": "CccconditionCccb23de34", "typeMode": "none", "input": [ { @@ -26653,7 +26653,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE34" + "valueString": "Ccc.B23.DE34" } ] }, @@ -26664,7 +26664,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -26925,7 +26925,7 @@ ] }, { - "name": "emcareconditionemcareb23de35", + "name": "CccconditionCccb23de35", "typeMode": "none", "input": [ { @@ -27109,7 +27109,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE35" + "valueString": "Ccc.B23.DE35" } ] }, @@ -27120,7 +27120,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -27386,7 +27386,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE36') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE36') and answer.exists()" } ], "rule": [ @@ -27464,7 +27464,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE36" + "valueString": "Ccc.B23.DE36" } ] }, @@ -27475,7 +27475,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -27488,7 +27488,7 @@ ] }, { - "name": "emcareconditionemcareb23de41", + "name": "CccconditionCccb23de41", "typeMode": "none", "input": [ { @@ -27672,7 +27672,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE41" + "valueString": "Ccc.B23.DE41" } ] }, @@ -27683,7 +27683,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -27944,7 +27944,7 @@ ] }, { - "name": "emcareconditionemcareb23de42", + "name": "CccconditionCccb23de42", "typeMode": "none", "input": [ { @@ -28128,7 +28128,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE42" + "valueString": "Ccc.B23.DE42" } ] }, @@ -28139,7 +28139,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -28405,7 +28405,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE43a') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE43a') and answer.exists()" } ], "rule": [ @@ -28483,7 +28483,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE43a" + "valueString": "Ccc.B23.DE43a" } ] }, @@ -28494,7 +28494,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -28507,7 +28507,7 @@ ] }, { - "name": "emcareconditionemcareb23de44", + "name": "CccconditionCccb23de44", "typeMode": "none", "input": [ { @@ -28691,7 +28691,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE44" + "valueString": "Ccc.B23.DE44" } ] }, @@ -28702,7 +28702,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -28963,7 +28963,7 @@ ] }, { - "name": "emcareconditionemcareb23de45", + "name": "CccconditionCccb23de45", "typeMode": "none", "input": [ { @@ -29147,7 +29147,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE45" + "valueString": "Ccc.B23.DE45" } ] }, @@ -29158,7 +29158,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -29424,7 +29424,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE46A') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE46A') and answer.exists()" } ], "rule": [ @@ -29502,7 +29502,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE46A" + "valueString": "Ccc.B23.DE46A" } ] }, @@ -29513,7 +29513,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -29526,7 +29526,7 @@ ] }, { - "name": "emcareconditionemcareb23de47", + "name": "CccconditionCccb23de47", "typeMode": "none", "input": [ { @@ -29710,7 +29710,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE47" + "valueString": "Ccc.B23.DE47" } ] }, @@ -29721,7 +29721,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -29987,7 +29987,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE48') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE48') and answer.exists()" } ], "rule": [ @@ -30065,7 +30065,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE48" + "valueString": "Ccc.B23.DE48" } ] }, @@ -30076,7 +30076,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -30089,7 +30089,7 @@ ] }, { - "name": "emcareconditionemcareb23de49", + "name": "CccconditionCccb23de49", "typeMode": "none", "input": [ { @@ -30273,7 +30273,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE49" + "valueString": "Ccc.B23.DE49" } ] }, @@ -30284,7 +30284,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -30550,7 +30550,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE50') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE50') and answer.exists()" } ], "rule": [ @@ -30628,7 +30628,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE50" + "valueString": "Ccc.B23.DE50" } ] }, @@ -30639,7 +30639,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -30652,7 +30652,7 @@ ] }, { - "name": "emcareconditionemcareb23de52", + "name": "CccconditionCccb23de52", "typeMode": "none", "input": [ { @@ -30836,7 +30836,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE52" + "valueString": "Ccc.B23.DE52" } ] }, @@ -30847,7 +30847,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -31113,7 +31113,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE52a') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE52a') and answer.exists()" } ], "rule": [ @@ -31191,7 +31191,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE52a" + "valueString": "Ccc.B23.DE52a" } ] }, @@ -31202,7 +31202,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -31215,7 +31215,7 @@ ] }, { - "name": "emcareconditionemcareb23de53", + "name": "CccconditionCccb23de53", "typeMode": "none", "input": [ { @@ -31399,7 +31399,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE53" + "valueString": "Ccc.B23.DE53" } ] }, @@ -31410,7 +31410,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -31676,7 +31676,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE53a') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE53a') and answer.exists()" } ], "rule": [ @@ -31754,7 +31754,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE53a" + "valueString": "Ccc.B23.DE53a" } ] }, @@ -31765,7 +31765,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -31778,7 +31778,7 @@ ] }, { - "name": "emcareconditionemcareb23de54", + "name": "CccconditionCccb23de54", "typeMode": "none", "input": [ { @@ -31962,7 +31962,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE54" + "valueString": "Ccc.B23.DE54" } ] }, @@ -31973,7 +31973,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -32239,7 +32239,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE55') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE55') and answer.exists()" } ], "rule": [ @@ -32317,7 +32317,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE55" + "valueString": "Ccc.B23.DE55" } ] }, @@ -32328,7 +32328,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -32341,7 +32341,7 @@ ] }, { - "name": "emcareconditionemcareb23de56", + "name": "CccconditionCccb23de56", "typeMode": "none", "input": [ { @@ -32525,7 +32525,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE56" + "valueString": "Ccc.B23.DE56" } ] }, @@ -32536,7 +32536,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -32797,7 +32797,7 @@ ] }, { - "name": "emcareconditionemcareb23de57", + "name": "CccconditionCccb23de57", "typeMode": "none", "input": [ { @@ -32981,7 +32981,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE57" + "valueString": "Ccc.B23.DE57" } ] }, @@ -32992,7 +32992,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -33258,7 +33258,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE57a') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE57a') and answer.exists()" } ], "rule": [ @@ -33336,7 +33336,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE57a" + "valueString": "Ccc.B23.DE57a" } ] }, @@ -33347,7 +33347,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -33360,7 +33360,7 @@ ] }, { - "name": "emcareconditionemcareb23de58", + "name": "CccconditionCccb23de58", "typeMode": "none", "input": [ { @@ -33544,7 +33544,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE58" + "valueString": "Ccc.B23.DE58" } ] }, @@ -33555,7 +33555,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -33816,7 +33816,7 @@ ] }, { - "name": "emcareconditionemcareb23de59", + "name": "CccconditionCccb23de59", "typeMode": "none", "input": [ { @@ -34000,7 +34000,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE59" + "valueString": "Ccc.B23.DE59" } ] }, @@ -34011,7 +34011,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -34277,7 +34277,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE60') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE60') and answer.exists()" } ], "rule": [ @@ -34355,7 +34355,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE60" + "valueString": "Ccc.B23.DE60" } ] }, @@ -34366,7 +34366,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -34379,7 +34379,7 @@ ] }, { - "name": "emcareconditionemcareb23de61", + "name": "CccconditionCccb23de61", "typeMode": "none", "input": [ { @@ -34563,7 +34563,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE61" + "valueString": "Ccc.B23.DE61" } ] }, @@ -34574,7 +34574,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -34835,7 +34835,7 @@ ] }, { - "name": "emcareconditionemcareb23de106", + "name": "CccconditionCccb23de106", "typeMode": "none", "input": [ { @@ -35019,7 +35019,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE106" + "valueString": "Ccc.B23.DE106" } ] }, @@ -35030,7 +35030,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -35291,7 +35291,7 @@ ] }, { - "name": "emcareconditionemcareb23de107", + "name": "CccconditionCccb23de107", "typeMode": "none", "input": [ { @@ -35475,7 +35475,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE107" + "valueString": "Ccc.B23.DE107" } ] }, @@ -35486,7 +35486,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -35747,7 +35747,7 @@ ] }, { - "name": "emcareconditionemcareb23de108", + "name": "CccconditionCccb23de108", "typeMode": "none", "input": [ { @@ -35931,7 +35931,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE108" + "valueString": "Ccc.B23.DE108" } ] }, @@ -35942,7 +35942,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -36203,7 +36203,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de01", + "name": "CccconditioncollectorCccb23de01", "typeMode": "none", "input": [ { @@ -36387,7 +36387,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE01" + "valueString": "Ccc.B23.DE01" } ] }, @@ -36398,7 +36398,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -36523,7 +36523,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de03", + "name": "CccconditioncollectorCccb23de03", "typeMode": "none", "input": [ { @@ -36707,7 +36707,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE03" + "valueString": "Ccc.B23.DE03" } ] }, @@ -36718,7 +36718,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -36843,7 +36843,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de06", + "name": "CccconditioncollectorCccb23de06", "typeMode": "none", "input": [ { @@ -37027,7 +37027,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE06" + "valueString": "Ccc.B23.DE06" } ] }, @@ -37038,7 +37038,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -37163,7 +37163,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de10", + "name": "CccconditioncollectorCccb23de10", "typeMode": "none", "input": [ { @@ -37347,7 +37347,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE10" + "valueString": "Ccc.B23.DE10" } ] }, @@ -37358,7 +37358,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -37483,7 +37483,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de13", + "name": "CccconditioncollectorCccb23de13", "typeMode": "none", "input": [ { @@ -37667,7 +37667,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE13" + "valueString": "Ccc.B23.DE13" } ] }, @@ -37678,7 +37678,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -37803,7 +37803,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de14", + "name": "CccconditioncollectorCccb23de14", "typeMode": "none", "input": [ { @@ -37987,7 +37987,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE14" + "valueString": "Ccc.B23.DE14" } ] }, @@ -37998,7 +37998,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -38123,7 +38123,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de15", + "name": "CccconditioncollectorCccb23de15", "typeMode": "none", "input": [ { @@ -38307,7 +38307,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE15" + "valueString": "Ccc.B23.DE15" } ] }, @@ -38318,7 +38318,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -38443,7 +38443,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de16", + "name": "CccconditioncollectorCccb23de16", "typeMode": "none", "input": [ { @@ -38627,7 +38627,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE16" + "valueString": "Ccc.B23.DE16" } ] }, @@ -38638,7 +38638,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -38763,7 +38763,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de17", + "name": "CccconditioncollectorCccb23de17", "typeMode": "none", "input": [ { @@ -38947,7 +38947,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE17" + "valueString": "Ccc.B23.DE17" } ] }, @@ -38958,7 +38958,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -39083,7 +39083,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de18", + "name": "CccconditioncollectorCccb23de18", "typeMode": "none", "input": [ { @@ -39267,7 +39267,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE18" + "valueString": "Ccc.B23.DE18" } ] }, @@ -39278,7 +39278,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -39403,7 +39403,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de18a", + "name": "CccconditioncollectorCccb23de18a", "typeMode": "none", "input": [ { @@ -39587,7 +39587,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE18.a" + "valueString": "Ccc.B23.DE18.a" } ] }, @@ -39598,7 +39598,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -39723,7 +39723,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de100", + "name": "CccconditioncollectorCccb23de100", "typeMode": "none", "input": [ { @@ -39907,7 +39907,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE100" + "valueString": "Ccc.B23.DE100" } ] }, @@ -39918,7 +39918,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -40043,7 +40043,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de6101", + "name": "CccconditioncollectorCccb23de6101", "typeMode": "none", "input": [ { @@ -40227,7 +40227,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE6101" + "valueString": "Ccc.B23.DE6101" } ] }, @@ -40238,7 +40238,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -40363,7 +40363,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de6102", + "name": "CccconditioncollectorCccb23de6102", "typeMode": "none", "input": [ { @@ -40547,7 +40547,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE6102" + "valueString": "Ccc.B23.DE6102" } ] }, @@ -40558,7 +40558,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -40683,7 +40683,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de6103", + "name": "CccconditioncollectorCccb23de6103", "typeMode": "none", "input": [ { @@ -40867,7 +40867,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE6103" + "valueString": "Ccc.B23.DE6103" } ] }, @@ -40878,7 +40878,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -41003,7 +41003,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de30", + "name": "CccconditioncollectorCccb23de30", "typeMode": "none", "input": [ { @@ -41187,7 +41187,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE30" + "valueString": "Ccc.B23.DE30" } ] }, @@ -41198,7 +41198,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -41323,7 +41323,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de31", + "name": "CccconditioncollectorCccb23de31", "typeMode": "none", "input": [ { @@ -41507,7 +41507,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE31" + "valueString": "Ccc.B23.DE31" } ] }, @@ -41518,7 +41518,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -41643,7 +41643,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de32", + "name": "CccconditioncollectorCccb23de32", "typeMode": "none", "input": [ { @@ -41827,7 +41827,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE32" + "valueString": "Ccc.B23.DE32" } ] }, @@ -41838,7 +41838,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -41963,7 +41963,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de33", + "name": "CccconditioncollectorCccb23de33", "typeMode": "none", "input": [ { @@ -42147,7 +42147,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE33" + "valueString": "Ccc.B23.DE33" } ] }, @@ -42158,7 +42158,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -42283,7 +42283,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de19", + "name": "CccconditioncollectorCccb23de19", "typeMode": "none", "input": [ { @@ -42467,7 +42467,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE19" + "valueString": "Ccc.B23.DE19" } ] }, @@ -42478,7 +42478,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -42603,7 +42603,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de104", + "name": "CccconditioncollectorCccb23de104", "typeMode": "none", "input": [ { @@ -42787,7 +42787,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE104" + "valueString": "Ccc.B23.DE104" } ] }, @@ -42798,7 +42798,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -42923,7 +42923,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de105", + "name": "CccconditioncollectorCccb23de105", "typeMode": "none", "input": [ { @@ -43107,7 +43107,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE105" + "valueString": "Ccc.B23.DE105" } ] }, @@ -43118,7 +43118,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -43243,7 +43243,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de27", + "name": "CccconditioncollectorCccb23de27", "typeMode": "none", "input": [ { @@ -43427,7 +43427,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE27" + "valueString": "Ccc.B23.DE27" } ] }, @@ -43438,7 +43438,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -43563,7 +43563,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de28", + "name": "CccconditioncollectorCccb23de28", "typeMode": "none", "input": [ { @@ -43747,7 +43747,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE28" + "valueString": "Ccc.B23.DE28" } ] }, @@ -43758,7 +43758,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -43883,7 +43883,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de29", + "name": "CccconditioncollectorCccb23de29", "typeMode": "none", "input": [ { @@ -44067,7 +44067,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE29" + "valueString": "Ccc.B23.DE29" } ] }, @@ -44078,7 +44078,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -44203,7 +44203,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de62", + "name": "CccconditioncollectorCccb23de62", "typeMode": "none", "input": [ { @@ -44387,7 +44387,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE62" + "valueString": "Ccc.B23.DE62" } ] }, @@ -44398,7 +44398,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -44523,7 +44523,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de63", + "name": "CccconditioncollectorCccb23de63", "typeMode": "none", "input": [ { @@ -44707,7 +44707,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE63" + "valueString": "Ccc.B23.DE63" } ] }, @@ -44718,7 +44718,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -44843,7 +44843,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de64", + "name": "CccconditioncollectorCccb23de64", "typeMode": "none", "input": [ { @@ -45027,7 +45027,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE64" + "valueString": "Ccc.B23.DE64" } ] }, @@ -45038,7 +45038,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -45163,7 +45163,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de34", + "name": "CccconditioncollectorCccb23de34", "typeMode": "none", "input": [ { @@ -45347,7 +45347,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE34" + "valueString": "Ccc.B23.DE34" } ] }, @@ -45358,7 +45358,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -45483,7 +45483,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de35", + "name": "CccconditioncollectorCccb23de35", "typeMode": "none", "input": [ { @@ -45667,7 +45667,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE35" + "valueString": "Ccc.B23.DE35" } ] }, @@ -45678,7 +45678,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -45803,7 +45803,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de41", + "name": "CccconditioncollectorCccb23de41", "typeMode": "none", "input": [ { @@ -45987,7 +45987,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE41" + "valueString": "Ccc.B23.DE41" } ] }, @@ -45998,7 +45998,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -46123,7 +46123,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de42", + "name": "CccconditioncollectorCccb23de42", "typeMode": "none", "input": [ { @@ -46307,7 +46307,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE42" + "valueString": "Ccc.B23.DE42" } ] }, @@ -46318,7 +46318,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -46443,7 +46443,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de44", + "name": "CccconditioncollectorCccb23de44", "typeMode": "none", "input": [ { @@ -46627,7 +46627,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE44" + "valueString": "Ccc.B23.DE44" } ] }, @@ -46638,7 +46638,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -46763,7 +46763,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de45", + "name": "CccconditioncollectorCccb23de45", "typeMode": "none", "input": [ { @@ -46947,7 +46947,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE45" + "valueString": "Ccc.B23.DE45" } ] }, @@ -46958,7 +46958,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -47083,7 +47083,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de47", + "name": "CccconditioncollectorCccb23de47", "typeMode": "none", "input": [ { @@ -47267,7 +47267,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE47" + "valueString": "Ccc.B23.DE47" } ] }, @@ -47278,7 +47278,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -47403,7 +47403,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de49", + "name": "CccconditioncollectorCccb23de49", "typeMode": "none", "input": [ { @@ -47587,7 +47587,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE49" + "valueString": "Ccc.B23.DE49" } ] }, @@ -47598,7 +47598,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -47723,7 +47723,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de52", + "name": "CccconditioncollectorCccb23de52", "typeMode": "none", "input": [ { @@ -47907,7 +47907,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE52" + "valueString": "Ccc.B23.DE52" } ] }, @@ -47918,7 +47918,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -48043,7 +48043,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de53", + "name": "CccconditioncollectorCccb23de53", "typeMode": "none", "input": [ { @@ -48227,7 +48227,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE53" + "valueString": "Ccc.B23.DE53" } ] }, @@ -48238,7 +48238,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -48363,7 +48363,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de54", + "name": "CccconditioncollectorCccb23de54", "typeMode": "none", "input": [ { @@ -48547,7 +48547,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE54" + "valueString": "Ccc.B23.DE54" } ] }, @@ -48558,7 +48558,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -48683,7 +48683,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de56", + "name": "CccconditioncollectorCccb23de56", "typeMode": "none", "input": [ { @@ -48867,7 +48867,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE56" + "valueString": "Ccc.B23.DE56" } ] }, @@ -48878,7 +48878,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -49003,7 +49003,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de57", + "name": "CccconditioncollectorCccb23de57", "typeMode": "none", "input": [ { @@ -49187,7 +49187,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE57" + "valueString": "Ccc.B23.DE57" } ] }, @@ -49198,7 +49198,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -49323,7 +49323,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de58", + "name": "CccconditioncollectorCccb23de58", "typeMode": "none", "input": [ { @@ -49507,7 +49507,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE58" + "valueString": "Ccc.B23.DE58" } ] }, @@ -49518,7 +49518,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -49643,7 +49643,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de59", + "name": "CccconditioncollectorCccb23de59", "typeMode": "none", "input": [ { @@ -49827,7 +49827,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE59" + "valueString": "Ccc.B23.DE59" } ] }, @@ -49838,7 +49838,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -49963,7 +49963,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de61", + "name": "CccconditioncollectorCccb23de61", "typeMode": "none", "input": [ { @@ -50147,7 +50147,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE61" + "valueString": "Ccc.B23.DE61" } ] }, @@ -50158,7 +50158,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -50283,7 +50283,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de106", + "name": "CccconditioncollectorCccb23de106", "typeMode": "none", "input": [ { @@ -50467,7 +50467,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE106" + "valueString": "Ccc.B23.DE106" } ] }, @@ -50478,7 +50478,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -50603,7 +50603,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de107", + "name": "CccconditioncollectorCccb23de107", "typeMode": "none", "input": [ { @@ -50787,7 +50787,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE107" + "valueString": "Ccc.B23.DE107" } ] }, @@ -50798,7 +50798,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -50923,7 +50923,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de108", + "name": "CccconditioncollectorCccb23de108", "typeMode": "none", "input": [ { @@ -51107,7 +51107,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE108" + "valueString": "Ccc.B23.DE108" } ] }, @@ -51118,7 +51118,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -51243,7 +51243,7 @@ ] }, { - "name": "emcareconditioncollectorcollector", + "name": "Cccconditioncollectorcollector", "typeMode": "none", "input": [ { @@ -51438,7 +51438,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } diff --git a/input/resources/structuremap/structuremap-emcare.b23.classification.m.json b/input/resources/structuremap/structuremap-Ccc.b23.classification.m.json similarity index 92% rename from input/resources/structuremap/structuremap-emcare.b23.classification.m.json rename to input/resources/structuremap/structuremap-Ccc.b23.classification.m.json index 76098de3..336bb74f 100644 --- a/input/resources/structuremap/structuremap-emcare.b23.classification.m.json +++ b/input/resources/structuremap/structuremap-Ccc.b23.classification.m.json @@ -1,12 +1,12 @@ { "resourceType": "StructureMap", - "id": "emcare.b23.classification.m", + "id": "Ccc.b23.classification.m", "text": { "status": "generated", - "div": "
map "https://smart.who.int/ccc/StructureMap/emcare.b23.classification.m" = "emcare.b23.classification.m"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/condition" alias 'Condition' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/emcarecondition" alias 'EmCare Condition' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE83') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE83') and answer.exists() then {\r\n          item then emcareconditionemcareb23de83(src, item, tgt) "178343d7";\r\n        } "a8097d41";\r\n      } "ad9073a1";\r\n    } "83bc4493";\r\n  } "09b682e0";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE06') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE06') and answer.exists() then {\r\n          item then emcareconditionemcareb23de06(src, item, tgt) "9c759e88";\r\n        } "060d6b0f";\r\n      } "6909c9cb";\r\n    } "80a2a642";\r\n  } "93603109";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE85') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE85') and answer.exists() then {\r\n          item then emcareconditionemcareb23de85(src, item, tgt) "935222a8";\r\n        } "d50b3ee7";\r\n      } "b5ace6e4";\r\n    } "6e6a68c3";\r\n  } "a87e641b";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE86') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE86') and answer.exists() then {\r\n          item then emcareconditionemcareb23de86(src, item, tgt) "7b5655d0";\r\n        } "a02dff61";\r\n      } "f6d60d42";\r\n    } "e66f46ee";\r\n  } "67b6f016";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE106') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE106') and answer.exists() then {\r\n          item then emcareconditionemcareb23de106(src, item, tgt) "1385c52a";\r\n        } "f5b0e691";\r\n      } "cffa49c6";\r\n    } "f8df0e47";\r\n  } "a8b97e3f";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE87') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE87') and answer.exists() then {\r\n          item then emcareconditionemcareb23de87(src, item, tgt) "ba174f0b";\r\n        } "30f36551";\r\n      } "7e51b325";\r\n    } "efdd0e20";\r\n  } "2521504d";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE88') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE88') and answer.exists() then {\r\n          item then emcareconditionemcareb23de88(src, item, tgt) "f570c42d";\r\n        } "f0521ba0";\r\n      } "999ae6b0";\r\n    } "0077703f";\r\n  } "3efea57e";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE89') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE89') and answer.exists() then {\r\n          item then emcareconditionemcareb23de89(src, item, tgt) "226a96b3";\r\n        } "72e06a74";\r\n      } "d6e439e9";\r\n    } "09b39961";\r\n  } "cc634914";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE13') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE13') and answer.exists() then {\r\n          item then emcareconditionemcareb23de13(src, item, tgt) "66186a0c";\r\n        } "a1450efb";\r\n      } "076ff820";\r\n    } "08bcb577";\r\n  } "feb0d657";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE14') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE14') and answer.exists() then {\r\n          item then emcareconditionemcareb23de14(src, item, tgt) "2dcb0090";\r\n        } "88d1e8c7";\r\n      } "3ef7f05b";\r\n    } "90e804b6";\r\n  } "d819a392";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE15') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE15') and answer.exists() then {\r\n          item then emcareconditionemcareb23de15(src, item, tgt) "fe470a2a";\r\n        } "21fccbde";\r\n      } "2eb659f8";\r\n    } "79ef4ab2";\r\n  } "e3b54720";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE94') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE94') and answer.exists() then {\r\n          item then emcareconditionemcareb23de94(src, item, tgt) "4bfe2573";\r\n        } "a323ced7";\r\n      } "4238505f";\r\n    } "cb434a7e";\r\n  } "974a1d36";\r\n  src.item first as item where (linkId = 'EmCare.B23.DE98') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'EmCare.B23.DE98') and answer.exists() then {\r\n          item then emcareconditionemcareb23de98(src, item, tgt) "ec699e2c";\r\n        } "19da18a9";\r\n      } "b82b0c05";\r\n    } "67075fc4";\r\n  } "51f9d108";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE83') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de83(src, item, tgt) "a49f2674";\r\n        } "5a82b6a2";\r\n      } "d2d9497c";\r\n    } "c5fd054e";\r\n  } "0a3b92c9";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE06') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de06(src, item, tgt) "ab6f052f";\r\n        } "e87439ac";\r\n      } "37d42e73";\r\n    } "7708b4b0";\r\n  } "ca7b518e";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE85') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de85(src, item, tgt) "34be21c7";\r\n        } "dd73e267";\r\n      } "17b29f54";\r\n    } "7a81127f";\r\n  } "3bb7e65c";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE86') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de86(src, item, tgt) "85e79f33";\r\n        } "b37e1f00";\r\n      } "5ebec517";\r\n    } "742af28b";\r\n  } "125b7e31";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE106') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de106(src, item, tgt) "5f3c80c3";\r\n        } "8a9ab3d6";\r\n      } "b3badac5";\r\n    } "8aec9c45";\r\n  } "332b8a91";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE87') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de87(src, item, tgt) "69dafef9";\r\n        } "7d2dd85f";\r\n      } "3814725e";\r\n    } "98d3b1f5";\r\n  } "4afba6d2";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE88') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de88(src, item, tgt) "b8d9f845";\r\n        } "65150a1a";\r\n      } "43b46f0d";\r\n    } "c4a03e24";\r\n  } "4ed6008e";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE89') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de89(src, item, tgt) "e0b2a7ea";\r\n        } "5f78e785";\r\n      } "4b1fc155";\r\n    } "ad230210";\r\n  } "fd95ca9c";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE13') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de13(src, item, tgt) "ca1c2344";\r\n        } "e291ac38";\r\n      } "a3790ce2";\r\n    } "df1da7ee";\r\n  } "db30808b";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE14') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de14(src, item, tgt) "d2d217d7";\r\n        } "71ec8c01";\r\n      } "eec21165";\r\n    } "4bec0867";\r\n  } "b6cebe17";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE15') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de15(src, item, tgt) "d06cdfa3";\r\n        } "78497d5c";\r\n      } "5f0e524b";\r\n    } "84c7d9e0";\r\n  } "5fb77efc";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE94') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de94(src, item, tgt) "fd905dcf";\r\n        } "887a5cf4";\r\n      } "e9cd9662";\r\n    } "d351f4bc";\r\n  } "1277893a";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE98') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectoremcareb23de98(src, item, tgt) "50233ad8";\r\n        } "3c87eb32";\r\n      } "ac7c8731";\r\n    } "18115b63";\r\n  } "a8b5fbe8";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'collector') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then emcareconditioncollectorcollector(src, item, tgt) "dee30196";\r\n        } "dbad65ac";\r\n      } "652cfd04";\r\n    } "63e7ab00";\r\n  } "d596b39a";\r\n}\r\n\r\ngroup emcareconditionemcareb23de83(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE83',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "8e761921";\r\n    } "a10c1e7b";\r\n  } "13fd46f9";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de06(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE06',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "dd0fd01c";\r\n    } "8ef845b0";\r\n  } "558d6c0d";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de85(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE85',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "edf923c3";\r\n    } "a2ce3a97";\r\n  } "6f3a3752";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de86(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE86',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "342850aa";\r\n    } "9338b358";\r\n  } "fc719a3c";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de106(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE106',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "70f0a4fa";\r\n    } "d8d6d130";\r\n  } "671ed411";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de87(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE87',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "01f1ca5f";\r\n    } "62727c30";\r\n  } "9ff74c9e";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de88(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE88',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "2803d2d8";\r\n    } "360a74b4";\r\n  } "36ea706b";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de89(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE89',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "d0ba1006";\r\n    } "10f03284";\r\n  } "0d943b47";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de13(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE13',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "0b87b4e7";\r\n    } "6cc1c549";\r\n  } "dc54929c";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de14(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE14',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "c77e81e6";\r\n    } "a3de578a";\r\n  } "d565e84e";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de15(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE15',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "16e4a2c3";\r\n    } "088a39f1";\r\n  } "b194144a";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de94(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE94',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "61234ed0";\r\n    } "ba5673dd";\r\n  } "b957f076";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditionemcareb23de98(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE98',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "11d6b9d2";\r\n    } "cbe98666";\r\n  } "98163aba";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de83(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE83',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "8e761921";\r\n    } "a10c1e7b";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "64537b70";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de06(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE06',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "dd0fd01c";\r\n    } "8ef845b0";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "8ede6446";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de85(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE85',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "edf923c3";\r\n    } "a2ce3a97";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "7ab58b18";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de86(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE86',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "342850aa";\r\n    } "9338b358";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "c7e15e0e";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de106(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE106',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "70f0a4fa";\r\n    } "d8d6d130";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "c5746d18";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de87(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE87',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "01f1ca5f";\r\n    } "62727c30";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "8dee988b";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de88(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE88',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "2803d2d8";\r\n    } "360a74b4";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "e6ded7f8";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de89(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE89',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "d0ba1006";\r\n    } "10f03284";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "38f340fb";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de13(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE13',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "0b87b4e7";\r\n    } "6cc1c549";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "39e0fe5e";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de14(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE14',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "c77e81e6";\r\n    } "a3de578a";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "da0791a5";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de15(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE15',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "16e4a2c3";\r\n    } "088a39f1";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "b16e2ac9";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de94(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE94',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "61234ed0";\r\n    } "ba5673dd";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "82182761";\r\n}\r\n\r\ngroup emcareconditioncollectoremcareb23de98(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'EmCare.B23.DE98',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "11d6b9d2";\r\n    } "cbe98666";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "869e7605";\r\n}\r\n\r\ngroup emcareconditioncollectorcollector(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'collector',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' "ab5440b5";\r\n    } "6fc817a4";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "d8e38123";\r\n}\r\n\r\n
" + "div": "
map "https://smart.who.int/ccc/StructureMap/Ccc.b23.classification.m" = "Ccc.b23.classification.m"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/condition" alias 'Condition' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/Ccccondition" alias 'Ccc Condition' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE83') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE83') and answer.exists() then {\r\n          item then CccconditionCccb23de83(src, item, tgt) "178343d7";\r\n        } "a8097d41";\r\n      } "ad9073a1";\r\n    } "83bc4493";\r\n  } "09b682e0";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE06') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE06') and answer.exists() then {\r\n          item then CccconditionCccb23de06(src, item, tgt) "9c759e88";\r\n        } "060d6b0f";\r\n      } "6909c9cb";\r\n    } "80a2a642";\r\n  } "93603109";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE85') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE85') and answer.exists() then {\r\n          item then CccconditionCccb23de85(src, item, tgt) "935222a8";\r\n        } "d50b3ee7";\r\n      } "b5ace6e4";\r\n    } "6e6a68c3";\r\n  } "a87e641b";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE86') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE86') and answer.exists() then {\r\n          item then CccconditionCccb23de86(src, item, tgt) "7b5655d0";\r\n        } "a02dff61";\r\n      } "f6d60d42";\r\n    } "e66f46ee";\r\n  } "67b6f016";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE106') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE106') and answer.exists() then {\r\n          item then CccconditionCccb23de106(src, item, tgt) "1385c52a";\r\n        } "f5b0e691";\r\n      } "cffa49c6";\r\n    } "f8df0e47";\r\n  } "a8b97e3f";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE87') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE87') and answer.exists() then {\r\n          item then CccconditionCccb23de87(src, item, tgt) "ba174f0b";\r\n        } "30f36551";\r\n      } "7e51b325";\r\n    } "efdd0e20";\r\n  } "2521504d";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE88') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE88') and answer.exists() then {\r\n          item then CccconditionCccb23de88(src, item, tgt) "f570c42d";\r\n        } "f0521ba0";\r\n      } "999ae6b0";\r\n    } "0077703f";\r\n  } "3efea57e";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE89') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE89') and answer.exists() then {\r\n          item then CccconditionCccb23de89(src, item, tgt) "226a96b3";\r\n        } "72e06a74";\r\n      } "d6e439e9";\r\n    } "09b39961";\r\n  } "cc634914";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE13') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE13') and answer.exists() then {\r\n          item then CccconditionCccb23de13(src, item, tgt) "66186a0c";\r\n        } "a1450efb";\r\n      } "076ff820";\r\n    } "08bcb577";\r\n  } "feb0d657";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE14') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE14') and answer.exists() then {\r\n          item then CccconditionCccb23de14(src, item, tgt) "2dcb0090";\r\n        } "88d1e8c7";\r\n      } "3ef7f05b";\r\n    } "90e804b6";\r\n  } "d819a392";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE15') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE15') and answer.exists() then {\r\n          item then CccconditionCccb23de15(src, item, tgt) "fe470a2a";\r\n        } "21fccbde";\r\n      } "2eb659f8";\r\n    } "79ef4ab2";\r\n  } "e3b54720";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE94') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE94') and answer.exists() then {\r\n          item then CccconditionCccb23de94(src, item, tgt) "4bfe2573";\r\n        } "a323ced7";\r\n      } "4238505f";\r\n    } "cb434a7e";\r\n  } "974a1d36";\r\n  src.item first as item where (linkId = 'Ccc.B23.DE98') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n      src -> entry.resource = create('Condition') as tgt then {\r\n        src.item first as item where (linkId = 'Ccc.B23.DE98') and answer.exists() then {\r\n          item then CccconditionCccb23de98(src, item, tgt) "ec699e2c";\r\n        } "19da18a9";\r\n      } "b82b0c05";\r\n    } "67075fc4";\r\n  } "51f9d108";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE83') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de83(src, item, tgt) "a49f2674";\r\n        } "5a82b6a2";\r\n      } "d2d9497c";\r\n    } "c5fd054e";\r\n  } "0a3b92c9";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE06') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de06(src, item, tgt) "ab6f052f";\r\n        } "e87439ac";\r\n      } "37d42e73";\r\n    } "7708b4b0";\r\n  } "ca7b518e";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE85') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de85(src, item, tgt) "34be21c7";\r\n        } "dd73e267";\r\n      } "17b29f54";\r\n    } "7a81127f";\r\n  } "3bb7e65c";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE86') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de86(src, item, tgt) "85e79f33";\r\n        } "b37e1f00";\r\n      } "5ebec517";\r\n    } "742af28b";\r\n  } "125b7e31";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE106') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de106(src, item, tgt) "5f3c80c3";\r\n        } "8a9ab3d6";\r\n      } "b3badac5";\r\n    } "8aec9c45";\r\n  } "332b8a91";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE87') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de87(src, item, tgt) "69dafef9";\r\n        } "7d2dd85f";\r\n      } "3814725e";\r\n    } "98d3b1f5";\r\n  } "4afba6d2";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE88') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de88(src, item, tgt) "b8d9f845";\r\n        } "65150a1a";\r\n      } "43b46f0d";\r\n    } "c4a03e24";\r\n  } "4ed6008e";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE89') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de89(src, item, tgt) "e0b2a7ea";\r\n        } "5f78e785";\r\n      } "4b1fc155";\r\n    } "ad230210";\r\n  } "fd95ca9c";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE13') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de13(src, item, tgt) "ca1c2344";\r\n        } "e291ac38";\r\n      } "a3790ce2";\r\n    } "df1da7ee";\r\n  } "db30808b";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE14') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de14(src, item, tgt) "d2d217d7";\r\n        } "71ec8c01";\r\n      } "eec21165";\r\n    } "4bec0867";\r\n  } "b6cebe17";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE15') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de15(src, item, tgt) "d06cdfa3";\r\n        } "78497d5c";\r\n      } "5f0e524b";\r\n    } "84c7d9e0";\r\n  } "5fb77efc";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE94') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de94(src, item, tgt) "fd905dcf";\r\n        } "887a5cf4";\r\n      } "e9cd9662";\r\n    } "d351f4bc";\r\n  } "1277893a";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE98') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then CccconditioncollectorCccb23de98(src, item, tgt) "50233ad8";\r\n        } "3c87eb32";\r\n      } "ac7c8731";\r\n    } "18115b63";\r\n  } "a8b5fbe8";\r\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'collector') then {\r\n    src.item first as item where (linkId = 'collector') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) "9805d737";\r\n        src -> entry.resource = create('Condition') as tgt then {\r\n          src then Cccconditioncollectorcollector(src, item, tgt) "dee30196";\r\n        } "dbad65ac";\r\n      } "652cfd04";\r\n    } "63e7ab00";\r\n  } "d596b39a";\r\n}\r\n\r\ngroup CccconditionCccb23de83(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE83',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "8e761921";\r\n    } "a10c1e7b";\r\n  } "13fd46f9";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de06(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE06',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "dd0fd01c";\r\n    } "8ef845b0";\r\n  } "558d6c0d";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de85(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE85',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "edf923c3";\r\n    } "a2ce3a97";\r\n  } "6f3a3752";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de86(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE86',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "342850aa";\r\n    } "9338b358";\r\n  } "fc719a3c";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de106(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE106',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "70f0a4fa";\r\n    } "d8d6d130";\r\n  } "671ed411";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de87(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE87',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "01f1ca5f";\r\n    } "62727c30";\r\n  } "9ff74c9e";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de88(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE88',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "2803d2d8";\r\n    } "360a74b4";\r\n  } "36ea706b";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de89(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE89',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "d0ba1006";\r\n    } "10f03284";\r\n  } "0d943b47";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de13(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE13',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "0b87b4e7";\r\n    } "6cc1c549";\r\n  } "dc54929c";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de14(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE14',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "c77e81e6";\r\n    } "a3de578a";\r\n  } "d565e84e";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de15(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE15',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "16e4a2c3";\r\n    } "088a39f1";\r\n  } "b194144a";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de94(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE94',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "61234ed0";\r\n    } "ba5673dd";\r\n  } "b957f076";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditionCccb23de98(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE98',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "11d6b9d2";\r\n    } "cbe98666";\r\n  } "98163aba";\r\n  item.answer where value.code = 'agree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "05de813c";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'confirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "eb81c749";\r\n  } "a8956d4e";\r\n  item.answer where value.code = 'disagree' then {\r\n    src ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'inactive',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "d058c96f";\r\n    src ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'refuted',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "e74cae6e";\r\n  } "2219f1ae";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de83(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE83',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "8e761921";\r\n    } "a10c1e7b";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "64537b70";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de06(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE06',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "dd0fd01c";\r\n    } "8ef845b0";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "8ede6446";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de85(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE85',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "edf923c3";\r\n    } "a2ce3a97";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "7ab58b18";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de86(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE86',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "342850aa";\r\n    } "9338b358";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "c7e15e0e";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de106(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE106',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "70f0a4fa";\r\n    } "d8d6d130";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "c5746d18";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de87(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE87',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "01f1ca5f";\r\n    } "62727c30";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "8dee988b";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de88(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE88',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "2803d2d8";\r\n    } "360a74b4";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "e6ded7f8";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de89(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE89',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "d0ba1006";\r\n    } "10f03284";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "38f340fb";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de13(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE13',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "0b87b4e7";\r\n    } "6cc1c549";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "39e0fe5e";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de14(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE14',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "c77e81e6";\r\n    } "a3de578a";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "da0791a5";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de15(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE15',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "16e4a2c3";\r\n    } "088a39f1";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "b16e2ac9";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de94(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE94',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "61234ed0";\r\n    } "ba5673dd";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "82182761";\r\n}\r\n\r\ngroup CccconditioncollectorCccb23de98(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE98',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "11d6b9d2";\r\n    } "cbe98666";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "869e7605";\r\n}\r\n\r\ngroup Cccconditioncollectorcollector(source src, source item, target tgt) {\r\n  item.answer first as a then {\r\n    src.subject as sub -> tgt.subject = sub "23252e10";\r\n    src.encounter as en -> tgt.encounter = en "553aae7e";\r\n    src.item as itemtimestamp where linkId = 'timestamp' then {\r\n      itemtimestamp.answer first as atimestamp then {\r\n        atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";\r\n      } "46018ce4";\r\n    } "cce2a9b1";\r\n    src -> tgt.code = create('CodeableConcept') as cs then {\r\n      src ->  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'collector',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "ab5440b5";\r\n    } "6fc817a4";\r\n    a ->  tgt.clinicalStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'active',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-clinical' "b7901585";\r\n    a ->  tgt.verificationStatus = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'unconfirmed',  ccs.system = 'http://terminology.hl7.org/CodeSystem/condition-ver-status' "3e544e1e";\r\n  } "d8e38123";\r\n}\r\n\r\n
" }, - "url": "https://smart.who.int/ccc/StructureMap/emcare.b23.classification.m", - "name": "emcare.b23.classification.m", + "url": "https://smart.who.int/ccc/StructureMap/Ccc.b23.classification.m", + "name": "Ccc.b23.classification.m", "status": "active", "structure": [ { @@ -25,9 +25,9 @@ "alias": "'Condition'" }, { - "url": "https://smart.who.int/ccc/StructureDefinition/emcarecondition", + "url": "https://smart.who.int/ccc/StructureDefinition/Ccccondition", "mode": "produced", - "alias": "'EmCare Condition'" + "alias": "'Ccc Condition'" } ], "group": [ @@ -92,7 +92,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE83') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE83') and answer.exists()" } ], "rule": [ @@ -188,7 +188,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE83') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE83') and answer.exists()" } ], "rule": [ @@ -201,7 +201,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de83", + "name": "CccconditionCccb23de83", "variable": [ "src", "item", @@ -226,7 +226,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE06') and answer.exists()" } ], "rule": [ @@ -322,7 +322,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE06') and answer.exists()" } ], "rule": [ @@ -335,7 +335,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de06", + "name": "CccconditionCccb23de06", "variable": [ "src", "item", @@ -360,7 +360,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE85') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE85') and answer.exists()" } ], "rule": [ @@ -456,7 +456,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE85') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE85') and answer.exists()" } ], "rule": [ @@ -469,7 +469,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de85", + "name": "CccconditionCccb23de85", "variable": [ "src", "item", @@ -494,7 +494,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE86') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE86') and answer.exists()" } ], "rule": [ @@ -590,7 +590,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE86') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE86') and answer.exists()" } ], "rule": [ @@ -603,7 +603,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de86", + "name": "CccconditionCccb23de86", "variable": [ "src", "item", @@ -628,7 +628,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE106') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE106') and answer.exists()" } ], "rule": [ @@ -724,7 +724,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE106') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE106') and answer.exists()" } ], "rule": [ @@ -737,7 +737,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de106", + "name": "CccconditionCccb23de106", "variable": [ "src", "item", @@ -762,7 +762,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE87') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE87') and answer.exists()" } ], "rule": [ @@ -858,7 +858,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE87') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE87') and answer.exists()" } ], "rule": [ @@ -871,7 +871,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de87", + "name": "CccconditionCccb23de87", "variable": [ "src", "item", @@ -896,7 +896,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE88') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE88') and answer.exists()" } ], "rule": [ @@ -992,7 +992,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE88') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE88') and answer.exists()" } ], "rule": [ @@ -1005,7 +1005,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de88", + "name": "CccconditionCccb23de88", "variable": [ "src", "item", @@ -1030,7 +1030,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE89') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE89') and answer.exists()" } ], "rule": [ @@ -1126,7 +1126,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE89') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE89') and answer.exists()" } ], "rule": [ @@ -1139,7 +1139,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de89", + "name": "CccconditionCccb23de89", "variable": [ "src", "item", @@ -1164,7 +1164,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE13') and answer.exists()" } ], "rule": [ @@ -1260,7 +1260,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE13') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE13') and answer.exists()" } ], "rule": [ @@ -1273,7 +1273,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de13", + "name": "CccconditionCccb23de13", "variable": [ "src", "item", @@ -1298,7 +1298,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE14') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE14') and answer.exists()" } ], "rule": [ @@ -1394,7 +1394,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE14') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE14') and answer.exists()" } ], "rule": [ @@ -1407,7 +1407,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de14", + "name": "CccconditionCccb23de14", "variable": [ "src", "item", @@ -1432,7 +1432,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE15') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE15') and answer.exists()" } ], "rule": [ @@ -1528,7 +1528,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE15') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE15') and answer.exists()" } ], "rule": [ @@ -1541,7 +1541,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de15", + "name": "CccconditionCccb23de15", "variable": [ "src", "item", @@ -1566,7 +1566,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE94') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE94') and answer.exists()" } ], "rule": [ @@ -1662,7 +1662,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE94') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE94') and answer.exists()" } ], "rule": [ @@ -1675,7 +1675,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de94", + "name": "CccconditionCccb23de94", "variable": [ "src", "item", @@ -1700,7 +1700,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE98') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE98') and answer.exists()" } ], "rule": [ @@ -1796,7 +1796,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B23.DE98') and answer.exists()" + "condition": "(linkId = 'Ccc.B23.DE98') and answer.exists()" } ], "rule": [ @@ -1809,7 +1809,7 @@ ], "dependent": [ { - "name": "emcareconditionemcareb23de98", + "name": "CccconditionCccb23de98", "variable": [ "src", "item", @@ -1831,7 +1831,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE83')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE83')" } ], "rule": [ @@ -1940,7 +1940,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de83", + "name": "CccconditioncollectorCccb23de83", "variable": [ "src", "item", @@ -1962,7 +1962,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE06')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE06')" } ], "rule": [ @@ -2071,7 +2071,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de06", + "name": "CccconditioncollectorCccb23de06", "variable": [ "src", "item", @@ -2093,7 +2093,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE85')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE85')" } ], "rule": [ @@ -2202,7 +2202,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de85", + "name": "CccconditioncollectorCccb23de85", "variable": [ "src", "item", @@ -2224,7 +2224,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE86')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE86')" } ], "rule": [ @@ -2333,7 +2333,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de86", + "name": "CccconditioncollectorCccb23de86", "variable": [ "src", "item", @@ -2355,7 +2355,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE106')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE106')" } ], "rule": [ @@ -2464,7 +2464,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de106", + "name": "CccconditioncollectorCccb23de106", "variable": [ "src", "item", @@ -2486,7 +2486,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE87')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE87')" } ], "rule": [ @@ -2595,7 +2595,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de87", + "name": "CccconditioncollectorCccb23de87", "variable": [ "src", "item", @@ -2617,7 +2617,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE88')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE88')" } ], "rule": [ @@ -2726,7 +2726,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de88", + "name": "CccconditioncollectorCccb23de88", "variable": [ "src", "item", @@ -2748,7 +2748,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE89')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE89')" } ], "rule": [ @@ -2857,7 +2857,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de89", + "name": "CccconditioncollectorCccb23de89", "variable": [ "src", "item", @@ -2879,7 +2879,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE13')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE13')" } ], "rule": [ @@ -2988,7 +2988,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de13", + "name": "CccconditioncollectorCccb23de13", "variable": [ "src", "item", @@ -3010,7 +3010,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE14')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE14')" } ], "rule": [ @@ -3119,7 +3119,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de14", + "name": "CccconditioncollectorCccb23de14", "variable": [ "src", "item", @@ -3141,7 +3141,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE15')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE15')" } ], "rule": [ @@ -3250,7 +3250,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de15", + "name": "CccconditioncollectorCccb23de15", "variable": [ "src", "item", @@ -3272,7 +3272,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE94')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE94')" } ], "rule": [ @@ -3381,7 +3381,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de94", + "name": "CccconditioncollectorCccb23de94", "variable": [ "src", "item", @@ -3403,7 +3403,7 @@ "source": [ { "context": "src", - "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'EmCare.B23.DE98')" + "condition": "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE98')" } ], "rule": [ @@ -3512,7 +3512,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectoremcareb23de98", + "name": "CccconditioncollectorCccb23de98", "variable": [ "src", "item", @@ -3643,7 +3643,7 @@ ], "dependent": [ { - "name": "emcareconditioncollectorcollector", + "name": "Cccconditioncollectorcollector", "variable": [ "src", "item", @@ -3663,7 +3663,7 @@ ] }, { - "name": "emcareconditionemcareb23de83", + "name": "CccconditionCccb23de83", "typeMode": "none", "input": [ { @@ -3847,7 +3847,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE83" + "valueString": "Ccc.B23.DE83" } ] }, @@ -3858,7 +3858,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -4119,7 +4119,7 @@ ] }, { - "name": "emcareconditionemcareb23de06", + "name": "CccconditionCccb23de06", "typeMode": "none", "input": [ { @@ -4303,7 +4303,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE06" + "valueString": "Ccc.B23.DE06" } ] }, @@ -4314,7 +4314,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -4575,7 +4575,7 @@ ] }, { - "name": "emcareconditionemcareb23de85", + "name": "CccconditionCccb23de85", "typeMode": "none", "input": [ { @@ -4759,7 +4759,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE85" + "valueString": "Ccc.B23.DE85" } ] }, @@ -4770,7 +4770,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -5031,7 +5031,7 @@ ] }, { - "name": "emcareconditionemcareb23de86", + "name": "CccconditionCccb23de86", "typeMode": "none", "input": [ { @@ -5215,7 +5215,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE86" + "valueString": "Ccc.B23.DE86" } ] }, @@ -5226,7 +5226,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -5487,7 +5487,7 @@ ] }, { - "name": "emcareconditionemcareb23de106", + "name": "CccconditionCccb23de106", "typeMode": "none", "input": [ { @@ -5671,7 +5671,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE106" + "valueString": "Ccc.B23.DE106" } ] }, @@ -5682,7 +5682,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -5943,7 +5943,7 @@ ] }, { - "name": "emcareconditionemcareb23de87", + "name": "CccconditionCccb23de87", "typeMode": "none", "input": [ { @@ -6127,7 +6127,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE87" + "valueString": "Ccc.B23.DE87" } ] }, @@ -6138,7 +6138,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -6399,7 +6399,7 @@ ] }, { - "name": "emcareconditionemcareb23de88", + "name": "CccconditionCccb23de88", "typeMode": "none", "input": [ { @@ -6583,7 +6583,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE88" + "valueString": "Ccc.B23.DE88" } ] }, @@ -6594,7 +6594,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -6855,7 +6855,7 @@ ] }, { - "name": "emcareconditionemcareb23de89", + "name": "CccconditionCccb23de89", "typeMode": "none", "input": [ { @@ -7039,7 +7039,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE89" + "valueString": "Ccc.B23.DE89" } ] }, @@ -7050,7 +7050,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -7311,7 +7311,7 @@ ] }, { - "name": "emcareconditionemcareb23de13", + "name": "CccconditionCccb23de13", "typeMode": "none", "input": [ { @@ -7495,7 +7495,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE13" + "valueString": "Ccc.B23.DE13" } ] }, @@ -7506,7 +7506,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -7767,7 +7767,7 @@ ] }, { - "name": "emcareconditionemcareb23de14", + "name": "CccconditionCccb23de14", "typeMode": "none", "input": [ { @@ -7951,7 +7951,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE14" + "valueString": "Ccc.B23.DE14" } ] }, @@ -7962,7 +7962,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -8223,7 +8223,7 @@ ] }, { - "name": "emcareconditionemcareb23de15", + "name": "CccconditionCccb23de15", "typeMode": "none", "input": [ { @@ -8407,7 +8407,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE15" + "valueString": "Ccc.B23.DE15" } ] }, @@ -8418,7 +8418,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -8679,7 +8679,7 @@ ] }, { - "name": "emcareconditionemcareb23de94", + "name": "CccconditionCccb23de94", "typeMode": "none", "input": [ { @@ -8863,7 +8863,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE94" + "valueString": "Ccc.B23.DE94" } ] }, @@ -8874,7 +8874,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -9135,7 +9135,7 @@ ] }, { - "name": "emcareconditionemcareb23de98", + "name": "CccconditionCccb23de98", "typeMode": "none", "input": [ { @@ -9319,7 +9319,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE98" + "valueString": "Ccc.B23.DE98" } ] }, @@ -9330,7 +9330,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -9591,7 +9591,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de83", + "name": "CccconditioncollectorCccb23de83", "typeMode": "none", "input": [ { @@ -9775,7 +9775,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE83" + "valueString": "Ccc.B23.DE83" } ] }, @@ -9786,7 +9786,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -9911,7 +9911,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de06", + "name": "CccconditioncollectorCccb23de06", "typeMode": "none", "input": [ { @@ -10095,7 +10095,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE06" + "valueString": "Ccc.B23.DE06" } ] }, @@ -10106,7 +10106,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -10231,7 +10231,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de85", + "name": "CccconditioncollectorCccb23de85", "typeMode": "none", "input": [ { @@ -10415,7 +10415,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE85" + "valueString": "Ccc.B23.DE85" } ] }, @@ -10426,7 +10426,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -10551,7 +10551,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de86", + "name": "CccconditioncollectorCccb23de86", "typeMode": "none", "input": [ { @@ -10735,7 +10735,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE86" + "valueString": "Ccc.B23.DE86" } ] }, @@ -10746,7 +10746,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -10871,7 +10871,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de106", + "name": "CccconditioncollectorCccb23de106", "typeMode": "none", "input": [ { @@ -11055,7 +11055,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE106" + "valueString": "Ccc.B23.DE106" } ] }, @@ -11066,7 +11066,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -11191,7 +11191,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de87", + "name": "CccconditioncollectorCccb23de87", "typeMode": "none", "input": [ { @@ -11375,7 +11375,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE87" + "valueString": "Ccc.B23.DE87" } ] }, @@ -11386,7 +11386,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -11511,7 +11511,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de88", + "name": "CccconditioncollectorCccb23de88", "typeMode": "none", "input": [ { @@ -11695,7 +11695,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE88" + "valueString": "Ccc.B23.DE88" } ] }, @@ -11706,7 +11706,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -11831,7 +11831,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de89", + "name": "CccconditioncollectorCccb23de89", "typeMode": "none", "input": [ { @@ -12015,7 +12015,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE89" + "valueString": "Ccc.B23.DE89" } ] }, @@ -12026,7 +12026,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -12151,7 +12151,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de13", + "name": "CccconditioncollectorCccb23de13", "typeMode": "none", "input": [ { @@ -12335,7 +12335,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE13" + "valueString": "Ccc.B23.DE13" } ] }, @@ -12346,7 +12346,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -12471,7 +12471,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de14", + "name": "CccconditioncollectorCccb23de14", "typeMode": "none", "input": [ { @@ -12655,7 +12655,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE14" + "valueString": "Ccc.B23.DE14" } ] }, @@ -12666,7 +12666,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -12791,7 +12791,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de15", + "name": "CccconditioncollectorCccb23de15", "typeMode": "none", "input": [ { @@ -12975,7 +12975,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE15" + "valueString": "Ccc.B23.DE15" } ] }, @@ -12986,7 +12986,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -13111,7 +13111,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de94", + "name": "CccconditioncollectorCccb23de94", "typeMode": "none", "input": [ { @@ -13295,7 +13295,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE94" + "valueString": "Ccc.B23.DE94" } ] }, @@ -13306,7 +13306,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -13431,7 +13431,7 @@ ] }, { - "name": "emcareconditioncollectoremcareb23de98", + "name": "CccconditioncollectorCccb23de98", "typeMode": "none", "input": [ { @@ -13615,7 +13615,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B23.DE98" + "valueString": "Ccc.B23.DE98" } ] }, @@ -13626,7 +13626,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } @@ -13751,7 +13751,7 @@ ] }, { - "name": "emcareconditioncollectorcollector", + "name": "Cccconditioncollectorcollector", "typeMode": "none", "input": [ { @@ -13946,7 +13946,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] } diff --git a/input/resources/structuremap/structuremap-emcare.b6.measurements.json b/input/resources/structuremap/structuremap-Ccc.b6.measurements.json similarity index 89% rename from input/resources/structuremap/structuremap-emcare.b6.measurements.json rename to input/resources/structuremap/structuremap-Ccc.b6.measurements.json index fc87bd77..75145eda 100644 --- a/input/resources/structuremap/structuremap-emcare.b6.measurements.json +++ b/input/resources/structuremap/structuremap-Ccc.b6.measurements.json @@ -1,12 +1,12 @@ { "resourceType": "StructureMap", - "id": "emcare.b6.measurements", + "id": "Ccc.b6.measurements", "text": { "status": "generated", - "div": "
map "https://smart.who.int/ccc/StructureMap/emcare.b6.measurements" = "emcare.b6.measurements"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/observation" alias 'Observation' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/emcareobservation" alias 'EmCare Observation' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src.item first as item where (linkId = 'EmCare.B6.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb6de01(src, tgt) "7b9e1570";\r\n      } "9adbf767";\r\n    } "a36f7a7c";\r\n  } "5af679c2";\r\n  src.item first as item where (linkId = 'EmCare.B6.DE04') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb6de04(src, tgt) "67f4a10a";\r\n      } "0e7daada";\r\n    } "536a3c54";\r\n  } "1e7dc3b3";\r\n  src.item first as item where (linkId = 'EmCare.B6.DE05') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb6de05(src, tgt) "1b781b40";\r\n      } "b078a223";\r\n    } "8261a595";\r\n  } "f69a4aa0";\r\n  src.item first as item where (linkId = 'EmCare.B6.DE01A') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb6de01a(src, tgt) "12e03591";\r\n      } "ce53c93f";\r\n    } "b254b7a3";\r\n  } "75778e5d";\r\n  src.item first as item where (linkId = 'EmCare.B6.DE06') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb6de06(src, tgt) "12cee51c";\r\n      } "2efb0b06";\r\n    } "b561f2d8";\r\n  } "a4bb9383";\r\n  src.item first as item where (linkId = 'EmCare.B6.DE08') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb6de08(src, tgt) "6bb35e76";\r\n      } "eb449882";\r\n    } "e71738d1";\r\n  } "b739680e";\r\n  src.item first as itm1 where linkId = 'HeightOrLength' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B6.DE09') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb6de09(src, tgt) "266493b1";\r\n        } "2f726482";\r\n      } "6e52b729";\r\n    } "8eeae5c7";\r\n  } "b0d72fdc";\r\n  src.item first as itm1 where linkId = 'HeightOrLength' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B6.DE11') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb6de11(src, tgt) "561b6a20";\r\n        } "e820b17c";\r\n      } "083c0960";\r\n    } "89d9cbf4";\r\n  } "407446d8";\r\n  src.item first as itm1 where linkId = 'HeightOrLength' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B6.DE12') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb6de12(src, tgt) "68ca10f0";\r\n        } "c5484336";\r\n      } "36f4bed7";\r\n    } "af843ed1";\r\n  } "3eece966";\r\n  src.item first as itm1 where linkId = 'HeightOrLength' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B6.DE16') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb6de16(src, tgt) "e096bb18";\r\n        } "bd26fdf7";\r\n      } "6699c1df";\r\n    } "22423885";\r\n  } "f65b099d";\r\n  src.item first as itm1 where linkId = 'HeightOrLength' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B6.DE17') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb6de17(src, tgt) "ba2a3c82";\r\n        } "e7d4b396";\r\n      } "5b9abbd1";\r\n    } "69c61b5c";\r\n  } "ec872a8f";\r\n  src.item first as itm1 where linkId = 'HeightOrLength' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B6.DE17a') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb6de17a(src, tgt) "7bc3b5ea";\r\n        } "5622cb01";\r\n      } "d4830ac3";\r\n    } "75bc4091";\r\n  } "40e94db6";\r\n  src.item first as itm1 where linkId = 'HeightOrLength' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B6.DE18') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb6de18(src, tgt) "307489c1";\r\n        } "e8491d3e";\r\n      } "9e7c1f1c";\r\n    } "4570d962";\r\n  } "f83a9a0e";\r\n}\r\n\r\ngroup emcareobservationemcareb6de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb6de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B6.DE01' "code-emcareb6de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B6.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n    } "d40466ff";\r\n  } "74f627a9";\r\n}\r\n\r\ngroup emcareobservationemcareb6de04(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb6de04";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B6.DE04' "code-emcareb6de04";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B6.DE04') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n      } "26c2c8c7";\r\n    } "721205d5";\r\n  } "a27d71d0";\r\n}\r\n\r\ngroup emcareobservationemcareb6de05(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb6de05";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B6.DE05' "code-emcareb6de05";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B6.DE05') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb6de05";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb6de05";\r\n    } "bdab9370";\r\n  } "fe4a3fce";\r\n}\r\n\r\ngroup emcareobservationemcareb6de01a(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb6de01a";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B6.DE01A' "code-emcareb6de01a";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B6.DE01A') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = create('Coding') as c,  c.code = val,  c.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  tgt.status = 'final' "759a9a54";\r\n      } "1b820ab0";\r\n    } "d39f9088";\r\n  } "a471ce48";\r\n}\r\n\r\ngroup emcareobservationemcareb6de06(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb6de06";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B6.DE06' "code-emcareb6de06";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B6.DE06') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n    } "d40466ff";\r\n  } "39925fe2";\r\n}\r\n\r\ngroup emcareobservationemcareb6de08(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb6de08";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B6.DE08' "code-emcareb6de08";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B6.DE08') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n    } "d40466ff";\r\n  } "dc896557";\r\n}\r\n\r\ngroup emcareobservationemcareb6de09(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb6de09";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B6.DE09' "code-emcareb6de09";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'HeightOrLength' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B6.DE09') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n      } "d40466ff";\r\n    } "589bbaf1";\r\n  } "a045bbd4";\r\n}\r\n\r\ngroup emcareobservationemcareb6de11(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb6de11";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B6.DE11' "code-emcareb6de11";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'HeightOrLength' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B6.DE11') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val then {\r\n          val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n        } "26c2c8c7";\r\n      } "721205d5";\r\n    } "d64ae780";\r\n  } "9a6a0b00";\r\n}\r\n\r\ngroup emcareobservationemcareb6de12(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb6de12";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B6.DE12' "code-emcareb6de12";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'HeightOrLength' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B6.DE12') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n      } "d40466ff";\r\n    } "c68f5944";\r\n  } "145f1ff6";\r\n}\r\n\r\ngroup emcareobservationemcareb6de16(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb6de16";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B6.DE16' "code-emcareb6de16";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'HeightOrLength' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B6.DE16') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb6de16";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb6de16";\r\n      } "bdab9370";\r\n    } "c4642432";\r\n  } "8e8f1cd4";\r\n}\r\n\r\ngroup emcareobservationemcareb6de17(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb6de17";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B6.DE17' "code-emcareb6de17";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'HeightOrLength' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B6.DE17') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n      } "d40466ff";\r\n    } "66a9743a";\r\n  } "b27154a0";\r\n}\r\n\r\ngroup emcareobservationemcareb6de17a(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb6de17a";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B6.DE17a' "code-emcareb6de17a";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'HeightOrLength' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B6.DE17a') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val then {\r\n          val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n        } "26c2c8c7";\r\n      } "721205d5";\r\n    } "a25ca60a";\r\n  } "04002c97";\r\n}\r\n\r\ngroup emcareobservationemcareb6de18(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb6de18";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B6.DE18' "code-emcareb6de18";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'HeightOrLength' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B6.DE18') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val then {\r\n          val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n          val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n        } "310f4b1f";\r\n      } "6af9bfcc";\r\n    } "a14ebcf7";\r\n  } "72053a9a";\r\n}\r\n\r\n
" + "div": "
map "https://smart.who.int/ccc/StructureMap/Ccc.b6.measurements" = "Ccc.b6.measurements"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/observation" alias 'Observation' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/Cccobservation" alias 'Ccc Observation' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src.item first as item where (linkId = 'Ccc.B6.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb6de01(src, tgt) "7b9e1570";\r\n      } "9adbf767";\r\n    } "a36f7a7c";\r\n  } "5af679c2";\r\n  src.item first as item where (linkId = 'Ccc.B6.DE04') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb6de04(src, tgt) "67f4a10a";\r\n      } "0e7daada";\r\n    } "536a3c54";\r\n  } "1e7dc3b3";\r\n  src.item first as item where (linkId = 'Ccc.B6.DE05') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb6de05(src, tgt) "1b781b40";\r\n      } "b078a223";\r\n    } "8261a595";\r\n  } "f69a4aa0";\r\n  src.item first as item where (linkId = 'Ccc.B6.DE01A') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb6de01a(src, tgt) "12e03591";\r\n      } "ce53c93f";\r\n    } "b254b7a3";\r\n  } "75778e5d";\r\n  src.item first as item where (linkId = 'Ccc.B6.DE06') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb6de06(src, tgt) "12cee51c";\r\n      } "2efb0b06";\r\n    } "b561f2d8";\r\n  } "a4bb9383";\r\n  src.item first as item where (linkId = 'Ccc.B6.DE08') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb6de08(src, tgt) "6bb35e76";\r\n      } "eb449882";\r\n    } "e71738d1";\r\n  } "b739680e";\r\n  src.item first as itm1 where linkId = 'HeightOrLength' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B6.DE09') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb6de09(src, tgt) "266493b1";\r\n        } "2f726482";\r\n      } "6e52b729";\r\n    } "8eeae5c7";\r\n  } "b0d72fdc";\r\n  src.item first as itm1 where linkId = 'HeightOrLength' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B6.DE11') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb6de11(src, tgt) "561b6a20";\r\n        } "e820b17c";\r\n      } "083c0960";\r\n    } "89d9cbf4";\r\n  } "407446d8";\r\n  src.item first as itm1 where linkId = 'HeightOrLength' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B6.DE12') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb6de12(src, tgt) "68ca10f0";\r\n        } "c5484336";\r\n      } "36f4bed7";\r\n    } "af843ed1";\r\n  } "3eece966";\r\n  src.item first as itm1 where linkId = 'HeightOrLength' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B6.DE16') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb6de16(src, tgt) "e096bb18";\r\n        } "bd26fdf7";\r\n      } "6699c1df";\r\n    } "22423885";\r\n  } "f65b099d";\r\n  src.item first as itm1 where linkId = 'HeightOrLength' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B6.DE17') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb6de17(src, tgt) "ba2a3c82";\r\n        } "e7d4b396";\r\n      } "5b9abbd1";\r\n    } "69c61b5c";\r\n  } "ec872a8f";\r\n  src.item first as itm1 where linkId = 'HeightOrLength' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B6.DE17a') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb6de17a(src, tgt) "7bc3b5ea";\r\n        } "5622cb01";\r\n      } "d4830ac3";\r\n    } "75bc4091";\r\n  } "40e94db6";\r\n  src.item first as itm1 where linkId = 'HeightOrLength' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B6.DE18') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb6de18(src, tgt) "307489c1";\r\n        } "e8491d3e";\r\n      } "9e7c1f1c";\r\n    } "4570d962";\r\n  } "f83a9a0e";\r\n}\r\n\r\ngroup CccobservationCccb6de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb6de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B6.DE01' "code-Cccb6de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B6.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n    } "d40466ff";\r\n  } "74f627a9";\r\n}\r\n\r\ngroup CccobservationCccb6de04(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb6de04";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B6.DE04' "code-Cccb6de04";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B6.DE04') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n      } "26c2c8c7";\r\n    } "721205d5";\r\n  } "a27d71d0";\r\n}\r\n\r\ngroup CccobservationCccb6de05(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb6de05";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B6.DE05' "code-Cccb6de05";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B6.DE05') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb6de05";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb6de05";\r\n    } "bdab9370";\r\n  } "fe4a3fce";\r\n}\r\n\r\ngroup CccobservationCccb6de01a(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb6de01a";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B6.DE01A' "code-Cccb6de01a";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B6.DE01A') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = create('Coding') as c,  c.code = val,  c.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  tgt.status = 'final' "759a9a54";\r\n      } "1b820ab0";\r\n    } "d39f9088";\r\n  } "a471ce48";\r\n}\r\n\r\ngroup CccobservationCccb6de06(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb6de06";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B6.DE06' "code-Cccb6de06";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B6.DE06') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n    } "d40466ff";\r\n  } "39925fe2";\r\n}\r\n\r\ngroup CccobservationCccb6de08(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb6de08";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B6.DE08' "code-Cccb6de08";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B6.DE08') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n    } "d40466ff";\r\n  } "dc896557";\r\n}\r\n\r\ngroup CccobservationCccb6de09(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb6de09";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B6.DE09' "code-Cccb6de09";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'HeightOrLength' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B6.DE09') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n      } "d40466ff";\r\n    } "589bbaf1";\r\n  } "a045bbd4";\r\n}\r\n\r\ngroup CccobservationCccb6de11(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb6de11";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B6.DE11' "code-Cccb6de11";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'HeightOrLength' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B6.DE11') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val then {\r\n          val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n        } "26c2c8c7";\r\n      } "721205d5";\r\n    } "d64ae780";\r\n  } "9a6a0b00";\r\n}\r\n\r\ngroup CccobservationCccb6de12(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb6de12";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B6.DE12' "code-Cccb6de12";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'HeightOrLength' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B6.DE12') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n      } "d40466ff";\r\n    } "c68f5944";\r\n  } "145f1ff6";\r\n}\r\n\r\ngroup CccobservationCccb6de16(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb6de16";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B6.DE16' "code-Cccb6de16";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'HeightOrLength' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B6.DE16') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb6de16";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb6de16";\r\n      } "bdab9370";\r\n    } "c4642432";\r\n  } "8e8f1cd4";\r\n}\r\n\r\ngroup CccobservationCccb6de17(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb6de17";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B6.DE17' "code-Cccb6de17";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'HeightOrLength' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B6.DE17') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";\r\n      } "d40466ff";\r\n    } "66a9743a";\r\n  } "b27154a0";\r\n}\r\n\r\ngroup CccobservationCccb6de17a(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb6de17a";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B6.DE17a' "code-Cccb6de17a";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'HeightOrLength' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B6.DE17a') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val then {\r\n          val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n        } "26c2c8c7";\r\n      } "721205d5";\r\n    } "a25ca60a";\r\n  } "04002c97";\r\n}\r\n\r\ngroup CccobservationCccb6de18(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb6de18";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B6.DE18' "code-Cccb6de18";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'HeightOrLength' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B6.DE18') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val then {\r\n          val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n          val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n        } "310f4b1f";\r\n      } "6af9bfcc";\r\n    } "a14ebcf7";\r\n  } "72053a9a";\r\n}\r\n\r\n
" }, - "url": "https://smart.who.int/ccc/StructureMap/emcare.b6.measurements", - "name": "emcare.b6.measurements", + "url": "https://smart.who.int/ccc/StructureMap/Ccc.b6.measurements", + "name": "Ccc.b6.measurements", "status": "active", "structure": [ { @@ -25,9 +25,9 @@ "alias": "'Observation'" }, { - "url": "https://smart.who.int/ccc/StructureDefinition/emcareobservation", + "url": "https://smart.who.int/ccc/StructureDefinition/Cccobservation", "mode": "produced", - "alias": "'EmCare Observation'" + "alias": "'Ccc Observation'" } ], "group": [ @@ -92,7 +92,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B6.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B6.DE01') and answer.exists()" } ], "rule": [ @@ -200,7 +200,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb6de01", + "name": "CccobservationCccb6de01", "variable": [ "src", "tgt" @@ -222,7 +222,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B6.DE04') and answer.exists()" + "condition": "(linkId = 'Ccc.B6.DE04') and answer.exists()" } ], "rule": [ @@ -330,7 +330,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb6de04", + "name": "CccobservationCccb6de04", "variable": [ "src", "tgt" @@ -352,7 +352,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B6.DE05') and answer.exists()" + "condition": "(linkId = 'Ccc.B6.DE05') and answer.exists()" } ], "rule": [ @@ -460,7 +460,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb6de05", + "name": "CccobservationCccb6de05", "variable": [ "src", "tgt" @@ -482,7 +482,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B6.DE01A') and answer.exists()" + "condition": "(linkId = 'Ccc.B6.DE01A') and answer.exists()" } ], "rule": [ @@ -590,7 +590,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb6de01a", + "name": "CccobservationCccb6de01a", "variable": [ "src", "tgt" @@ -612,7 +612,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B6.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.B6.DE06') and answer.exists()" } ], "rule": [ @@ -720,7 +720,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb6de06", + "name": "CccobservationCccb6de06", "variable": [ "src", "tgt" @@ -742,7 +742,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B6.DE08') and answer.exists()" + "condition": "(linkId = 'Ccc.B6.DE08') and answer.exists()" } ], "rule": [ @@ -850,7 +850,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb6de08", + "name": "CccobservationCccb6de08", "variable": [ "src", "tgt" @@ -884,7 +884,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B6.DE09') and answer.exists()" + "condition": "(linkId = 'Ccc.B6.DE09') and answer.exists()" } ], "rule": [ @@ -992,7 +992,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb6de09", + "name": "CccobservationCccb6de09", "variable": [ "src", "tgt" @@ -1028,7 +1028,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B6.DE11') and answer.exists()" + "condition": "(linkId = 'Ccc.B6.DE11') and answer.exists()" } ], "rule": [ @@ -1136,7 +1136,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb6de11", + "name": "CccobservationCccb6de11", "variable": [ "src", "tgt" @@ -1172,7 +1172,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B6.DE12') and answer.exists()" + "condition": "(linkId = 'Ccc.B6.DE12') and answer.exists()" } ], "rule": [ @@ -1280,7 +1280,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb6de12", + "name": "CccobservationCccb6de12", "variable": [ "src", "tgt" @@ -1316,7 +1316,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B6.DE16') and answer.exists()" + "condition": "(linkId = 'Ccc.B6.DE16') and answer.exists()" } ], "rule": [ @@ -1424,7 +1424,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb6de16", + "name": "CccobservationCccb6de16", "variable": [ "src", "tgt" @@ -1460,7 +1460,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B6.DE17') and answer.exists()" + "condition": "(linkId = 'Ccc.B6.DE17') and answer.exists()" } ], "rule": [ @@ -1568,7 +1568,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb6de17", + "name": "CccobservationCccb6de17", "variable": [ "src", "tgt" @@ -1604,7 +1604,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B6.DE17a') and answer.exists()" + "condition": "(linkId = 'Ccc.B6.DE17a') and answer.exists()" } ], "rule": [ @@ -1712,7 +1712,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb6de17a", + "name": "CccobservationCccb6de17a", "variable": [ "src", "tgt" @@ -1748,7 +1748,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B6.DE18') and answer.exists()" + "condition": "(linkId = 'Ccc.B6.DE18') and answer.exists()" } ], "rule": [ @@ -1856,7 +1856,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb6de18", + "name": "CccobservationCccb6de18", "variable": [ "src", "tgt" @@ -1875,7 +1875,7 @@ ] }, { - "name": "emcareobservationemcareb6de01", + "name": "CccobservationCccb6de01", "typeMode": "none", "input": [ { @@ -1889,7 +1889,7 @@ ], "rule": [ { - "name": "id-emcareb6de01", + "name": "id-Cccb6de01", "source": [ { "context": "src" @@ -1973,7 +1973,7 @@ ] }, { - "name": "code-emcareb6de01", + "name": "code-Cccb6de01", "source": [ { "context": "src", @@ -2012,7 +2012,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -2047,7 +2047,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -2058,7 +2058,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B6.DE01" + "valueString": "Ccc.B6.DE01" } ] } @@ -2144,7 +2144,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B6.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B6.DE01') and answer.exists()" } ], "rule": [ @@ -2200,7 +2200,7 @@ ] }, { - "name": "emcareobservationemcareb6de04", + "name": "CccobservationCccb6de04", "typeMode": "none", "input": [ { @@ -2214,7 +2214,7 @@ ], "rule": [ { - "name": "id-emcareb6de04", + "name": "id-Cccb6de04", "source": [ { "context": "src" @@ -2298,7 +2298,7 @@ ] }, { - "name": "code-emcareb6de04", + "name": "code-Cccb6de04", "source": [ { "context": "src", @@ -2337,7 +2337,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -2372,7 +2372,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -2383,7 +2383,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B6.DE04" + "valueString": "Ccc.B6.DE04" } ] } @@ -2469,7 +2469,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B6.DE04') and answer.exists()" + "condition": "(linkId = 'Ccc.B6.DE04') and answer.exists()" } ], "rule": [ @@ -2536,7 +2536,7 @@ ] }, { - "name": "emcareobservationemcareb6de05", + "name": "CccobservationCccb6de05", "typeMode": "none", "input": [ { @@ -2550,7 +2550,7 @@ ], "rule": [ { - "name": "id-emcareb6de05", + "name": "id-Cccb6de05", "source": [ { "context": "src" @@ -2634,7 +2634,7 @@ ] }, { - "name": "code-emcareb6de05", + "name": "code-Cccb6de05", "source": [ { "context": "src", @@ -2673,7 +2673,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -2708,7 +2708,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -2719,7 +2719,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B6.DE05" + "valueString": "Ccc.B6.DE05" } ] } @@ -2805,7 +2805,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B6.DE05') and answer.exists()" + "condition": "(linkId = 'Ccc.B6.DE05') and answer.exists()" } ], "rule": [ @@ -2821,7 +2821,7 @@ ], "rule": [ { - "name": "final-emcareb6de05", + "name": "final-Cccb6de05", "source": [ { "context": "a", @@ -2854,7 +2854,7 @@ ] }, { - "name": "notfound-emcareb6de05", + "name": "notfound-Cccb6de05", "source": [ { "context": "a", @@ -2893,7 +2893,7 @@ ] }, { - "name": "emcareobservationemcareb6de01a", + "name": "CccobservationCccb6de01a", "typeMode": "none", "input": [ { @@ -2907,7 +2907,7 @@ ], "rule": [ { - "name": "id-emcareb6de01a", + "name": "id-Cccb6de01a", "source": [ { "context": "src" @@ -2991,7 +2991,7 @@ ] }, { - "name": "code-emcareb6de01a", + "name": "code-Cccb6de01a", "source": [ { "context": "src", @@ -3030,7 +3030,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -3065,7 +3065,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -3076,7 +3076,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B6.DE01A" + "valueString": "Ccc.B6.DE01A" } ] } @@ -3162,7 +3162,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B6.DE01A') and answer.exists()" + "condition": "(linkId = 'Ccc.B6.DE01A') and answer.exists()" } ], "rule": [ @@ -3237,7 +3237,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -3263,7 +3263,7 @@ ] }, { - "name": "emcareobservationemcareb6de06", + "name": "CccobservationCccb6de06", "typeMode": "none", "input": [ { @@ -3277,7 +3277,7 @@ ], "rule": [ { - "name": "id-emcareb6de06", + "name": "id-Cccb6de06", "source": [ { "context": "src" @@ -3361,7 +3361,7 @@ ] }, { - "name": "code-emcareb6de06", + "name": "code-Cccb6de06", "source": [ { "context": "src", @@ -3400,7 +3400,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -3435,7 +3435,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -3446,7 +3446,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B6.DE06" + "valueString": "Ccc.B6.DE06" } ] } @@ -3532,7 +3532,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B6.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.B6.DE06') and answer.exists()" } ], "rule": [ @@ -3588,7 +3588,7 @@ ] }, { - "name": "emcareobservationemcareb6de08", + "name": "CccobservationCccb6de08", "typeMode": "none", "input": [ { @@ -3602,7 +3602,7 @@ ], "rule": [ { - "name": "id-emcareb6de08", + "name": "id-Cccb6de08", "source": [ { "context": "src" @@ -3686,7 +3686,7 @@ ] }, { - "name": "code-emcareb6de08", + "name": "code-Cccb6de08", "source": [ { "context": "src", @@ -3725,7 +3725,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -3760,7 +3760,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -3771,7 +3771,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B6.DE08" + "valueString": "Ccc.B6.DE08" } ] } @@ -3857,7 +3857,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B6.DE08') and answer.exists()" + "condition": "(linkId = 'Ccc.B6.DE08') and answer.exists()" } ], "rule": [ @@ -3913,7 +3913,7 @@ ] }, { - "name": "emcareobservationemcareb6de09", + "name": "CccobservationCccb6de09", "typeMode": "none", "input": [ { @@ -3927,7 +3927,7 @@ ], "rule": [ { - "name": "id-emcareb6de09", + "name": "id-Cccb6de09", "source": [ { "context": "src" @@ -4011,7 +4011,7 @@ ] }, { - "name": "code-emcareb6de09", + "name": "code-Cccb6de09", "source": [ { "context": "src", @@ -4050,7 +4050,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -4085,7 +4085,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -4096,7 +4096,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B6.DE09" + "valueString": "Ccc.B6.DE09" } ] } @@ -4194,7 +4194,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B6.DE09') and answer.exists()" + "condition": "(linkId = 'Ccc.B6.DE09') and answer.exists()" } ], "rule": [ @@ -4252,7 +4252,7 @@ ] }, { - "name": "emcareobservationemcareb6de11", + "name": "CccobservationCccb6de11", "typeMode": "none", "input": [ { @@ -4266,7 +4266,7 @@ ], "rule": [ { - "name": "id-emcareb6de11", + "name": "id-Cccb6de11", "source": [ { "context": "src" @@ -4350,7 +4350,7 @@ ] }, { - "name": "code-emcareb6de11", + "name": "code-Cccb6de11", "source": [ { "context": "src", @@ -4389,7 +4389,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -4424,7 +4424,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -4435,7 +4435,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B6.DE11" + "valueString": "Ccc.B6.DE11" } ] } @@ -4533,7 +4533,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B6.DE11') and answer.exists()" + "condition": "(linkId = 'Ccc.B6.DE11') and answer.exists()" } ], "rule": [ @@ -4602,7 +4602,7 @@ ] }, { - "name": "emcareobservationemcareb6de12", + "name": "CccobservationCccb6de12", "typeMode": "none", "input": [ { @@ -4616,7 +4616,7 @@ ], "rule": [ { - "name": "id-emcareb6de12", + "name": "id-Cccb6de12", "source": [ { "context": "src" @@ -4700,7 +4700,7 @@ ] }, { - "name": "code-emcareb6de12", + "name": "code-Cccb6de12", "source": [ { "context": "src", @@ -4739,7 +4739,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -4774,7 +4774,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -4785,7 +4785,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B6.DE12" + "valueString": "Ccc.B6.DE12" } ] } @@ -4883,7 +4883,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B6.DE12') and answer.exists()" + "condition": "(linkId = 'Ccc.B6.DE12') and answer.exists()" } ], "rule": [ @@ -4941,7 +4941,7 @@ ] }, { - "name": "emcareobservationemcareb6de16", + "name": "CccobservationCccb6de16", "typeMode": "none", "input": [ { @@ -4955,7 +4955,7 @@ ], "rule": [ { - "name": "id-emcareb6de16", + "name": "id-Cccb6de16", "source": [ { "context": "src" @@ -5039,7 +5039,7 @@ ] }, { - "name": "code-emcareb6de16", + "name": "code-Cccb6de16", "source": [ { "context": "src", @@ -5078,7 +5078,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -5113,7 +5113,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -5124,7 +5124,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B6.DE16" + "valueString": "Ccc.B6.DE16" } ] } @@ -5222,7 +5222,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B6.DE16') and answer.exists()" + "condition": "(linkId = 'Ccc.B6.DE16') and answer.exists()" } ], "rule": [ @@ -5238,7 +5238,7 @@ ], "rule": [ { - "name": "final-emcareb6de16", + "name": "final-Cccb6de16", "source": [ { "context": "a", @@ -5271,7 +5271,7 @@ ] }, { - "name": "notfound-emcareb6de16", + "name": "notfound-Cccb6de16", "source": [ { "context": "a", @@ -5312,7 +5312,7 @@ ] }, { - "name": "emcareobservationemcareb6de17", + "name": "CccobservationCccb6de17", "typeMode": "none", "input": [ { @@ -5326,7 +5326,7 @@ ], "rule": [ { - "name": "id-emcareb6de17", + "name": "id-Cccb6de17", "source": [ { "context": "src" @@ -5410,7 +5410,7 @@ ] }, { - "name": "code-emcareb6de17", + "name": "code-Cccb6de17", "source": [ { "context": "src", @@ -5449,7 +5449,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -5484,7 +5484,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -5495,7 +5495,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B6.DE17" + "valueString": "Ccc.B6.DE17" } ] } @@ -5593,7 +5593,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B6.DE17') and answer.exists()" + "condition": "(linkId = 'Ccc.B6.DE17') and answer.exists()" } ], "rule": [ @@ -5651,7 +5651,7 @@ ] }, { - "name": "emcareobservationemcareb6de17a", + "name": "CccobservationCccb6de17a", "typeMode": "none", "input": [ { @@ -5665,7 +5665,7 @@ ], "rule": [ { - "name": "id-emcareb6de17a", + "name": "id-Cccb6de17a", "source": [ { "context": "src" @@ -5749,7 +5749,7 @@ ] }, { - "name": "code-emcareb6de17a", + "name": "code-Cccb6de17a", "source": [ { "context": "src", @@ -5788,7 +5788,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -5823,7 +5823,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -5834,7 +5834,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B6.DE17a" + "valueString": "Ccc.B6.DE17a" } ] } @@ -5932,7 +5932,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B6.DE17a') and answer.exists()" + "condition": "(linkId = 'Ccc.B6.DE17a') and answer.exists()" } ], "rule": [ @@ -6001,7 +6001,7 @@ ] }, { - "name": "emcareobservationemcareb6de18", + "name": "CccobservationCccb6de18", "typeMode": "none", "input": [ { @@ -6015,7 +6015,7 @@ ], "rule": [ { - "name": "id-emcareb6de18", + "name": "id-Cccb6de18", "source": [ { "context": "src" @@ -6099,7 +6099,7 @@ ] }, { - "name": "code-emcareb6de18", + "name": "code-Cccb6de18", "source": [ { "context": "src", @@ -6138,7 +6138,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -6173,7 +6173,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -6184,7 +6184,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B6.DE18" + "valueString": "Ccc.B6.DE18" } ] } @@ -6282,7 +6282,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B6.DE18') and answer.exists()" + "condition": "(linkId = 'Ccc.B6.DE18') and answer.exists()" } ], "rule": [ diff --git a/input/resources/structuremap/structuremap-emcare.b7.lti-dangersigns.json b/input/resources/structuremap/structuremap-Ccc.b7.lti-dangersigns.json similarity index 89% rename from input/resources/structuremap/structuremap-emcare.b7.lti-dangersigns.json rename to input/resources/structuremap/structuremap-Ccc.b7.lti-dangersigns.json index ad64e6bb..0fa116c7 100644 --- a/input/resources/structuremap/structuremap-emcare.b7.lti-dangersigns.json +++ b/input/resources/structuremap/structuremap-Ccc.b7.lti-dangersigns.json @@ -1,12 +1,12 @@ { "resourceType": "StructureMap", - "id": "emcare.b7.lti-dangersigns", + "id": "Ccc.b7.lti-dangersigns", "text": { "status": "generated", - "div": "
map "https://smart.who.int/ccc/StructureMap/emcare.b7.lti-dangersigns" = "emcare.b7.lti-dangersigns"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/observation" alias 'Observation' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/emcareobservation" alias 'EmCare Observation' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src.item first as item where (linkId = 'EmCare.B7.DE02') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb7de02(src, tgt) "004b4d1e";\r\n      } "92e7f5f9";\r\n    } "402826af";\r\n  } "8c26175a";\r\n  src.item first as item where (linkId = 'EmCare.B7-B8-B9.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb7b8b9de01(src, tgt) "ff2fa2ef";\r\n      } "a8c4cecd";\r\n    } "cab32791";\r\n  } "8f0ade51";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B7.DE03') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb7de03(src, tgt) "f2e89805";\r\n        } "8dded58a";\r\n      } "6d815194";\r\n    } "b1580360";\r\n  } "f9ff931c";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B7.DE08b') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb7de08b(src, tgt) "7c424dce";\r\n        } "090c71e8";\r\n      } "366ba7ba";\r\n    } "65aaf8e5";\r\n  } "340cad6a";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B7.DE08') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb7de08(src, tgt) "279d6969";\r\n        } "20cc88b6";\r\n      } "3f40ba3d";\r\n    } "350d6fc4";\r\n  } "eaa550b2";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B7.DE08a') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb7de08a(src, tgt) "d2861aff";\r\n        } "7be6660a";\r\n      } "bd06a10d";\r\n    } "1343a39a";\r\n  } "d8ac86b0";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B7.DE09') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb7de09(src, tgt) "3f6a9726";\r\n        } "2c4ac41f";\r\n      } "98869034";\r\n    } "0ea146b2";\r\n  } "dd9b5c52";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B7.DE10') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then emcareobservationemcareb7de10(src, tgt) "1fe53b0d";\r\n        } "0fb952bc";\r\n      } "980ae740";\r\n    } "5b813bca";\r\n  } "492052bb";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as itm2 where linkId = 'EmCare.B22.FluidTest' then {\r\n      itm2.item first as item where (linkId = 'EmCare.B22.DE08') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src -> tgt then emcareobservationemcareb22de08(src, tgt) "d34db40c";\r\n          } "bd8403a6";\r\n        } "09eb3e1a";\r\n      } "5b2cdf2b";\r\n    } "147ec831";\r\n  } "e1f072a2";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as itm2 where linkId = 'EmCare.B22.FluidTest' then {\r\n      itm2.item first as item where (linkId = 'EmCare.B22.DE14') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src -> tgt then emcareobservationemcareb22de14(src, tgt) "128f555c";\r\n          } "2cba61ee";\r\n        } "1eb502ac";\r\n      } "9758fd8e";\r\n    } "680dcb34";\r\n  } "8bc21454";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as itm2 where linkId = 'EmCare.B22.FluidTest' then {\r\n      itm2.item first as item where (linkId = 'EmCare.B22.DE14a') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src -> tgt then emcareobservationemcareb22de14a(src, tgt) "7b46291c";\r\n          } "17f1508c";\r\n        } "64f82f5e";\r\n      } "d955cd1e";\r\n    } "29fc59e7";\r\n  } "5a220c96";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as itm2 where linkId = 'EmCare.B22.FluidTest' then {\r\n      itm2.item first as item where (linkId = 'EmCare.B22.DE15') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src -> tgt then emcareobservationemcareb22de15(src, tgt) "0d25d61c";\r\n          } "49095bbf";\r\n        } "7ffa5829";\r\n      } "408d099b";\r\n    } "f64298f5";\r\n  } "28f93c51";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as itm2 where linkId = 'EmCare.B22.FluidTest' then {\r\n      itm2.item first as item where (linkId = 'EmCare.B22.DE16') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src -> tgt then emcareobservationemcareb22de16(src, tgt) "2bef72fa";\r\n          } "f426fdde";\r\n        } "f53bf22c";\r\n      } "756331ed";\r\n    } "bc80f5f5";\r\n  } "0636116b";\r\n}\r\n\r\ngroup emcareobservationemcareb7de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb7de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B7.DE02' "code-emcareb7de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B7.DE02') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb7de02";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb7de02";\r\n    } "bdab9370";\r\n  } "25c89b41";\r\n}\r\n\r\ngroup emcareobservationemcareb7b8b9de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb7b8b9de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B7-B8-B9.DE01' "code-emcareb7b8b9de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B7-B8-B9.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "1deb5925";\r\n}\r\n\r\ngroup emcareobservationemcareb7de03(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb7de03";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B7.DE03' "code-emcareb7de03";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B7.DE03') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb7de03";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb7de03";\r\n      } "bdab9370";\r\n    } "a2c65533";\r\n  } "06440f2e";\r\n}\r\n\r\ngroup emcareobservationemcareb7de08b(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb7de08b";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B7.DE08b' "code-emcareb7de08b";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B7.DE08b') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb7de08b";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb7de08b";\r\n      } "bdab9370";\r\n    } "9b1cc305";\r\n  } "5c09828f";\r\n}\r\n\r\ngroup emcareobservationemcareb7de08(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb7de08";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B7.DE08' "code-emcareb7de08";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B7.DE08') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb7de08";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb7de08";\r\n      } "bdab9370";\r\n    } "2bfe418a";\r\n  } "899ae4be";\r\n}\r\n\r\ngroup emcareobservationemcareb7de08a(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb7de08a";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B7.DE08a' "code-emcareb7de08a";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B7.DE08a') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb7de08a";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb7de08a";\r\n      } "bdab9370";\r\n    } "f01cf4cb";\r\n  } "dffa204b";\r\n}\r\n\r\ngroup emcareobservationemcareb7de09(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb7de09";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B7.DE09' "code-emcareb7de09";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B7.DE09') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb7de09";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb7de09";\r\n      } "bdab9370";\r\n    } "d2857a7f";\r\n  } "9311a6c3";\r\n}\r\n\r\ngroup emcareobservationemcareb7de10(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb7de10";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B7.DE10' "code-emcareb7de10";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as item where (linkId = 'EmCare.B7.DE10') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb7de10";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb7de10";\r\n      } "bdab9370";\r\n    } "86a60301";\r\n  } "d7b8fbb0";\r\n}\r\n\r\ngroup emcareobservationemcareb22de08(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de08";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE08' "code-emcareb22de08";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as itm2 where linkId = 'EmCare.B22.FluidTest' then {\r\n      itm2.item first as item where (linkId = 'EmCare.B22.DE08') and answer.exists() then {\r\n        item.answer first as a then {\r\n          a.value as val then {\r\n            val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n            val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n          } "310f4b1f";\r\n        } "6af9bfcc";\r\n      } "217a0abc";\r\n    } "1ebe5f9b";\r\n  } "4113c5c7";\r\n}\r\n\r\ngroup emcareobservationemcareb22de14(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de14";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE14' "code-emcareb22de14";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as itm2 where linkId = 'EmCare.B22.FluidTest' then {\r\n      itm2.item first as item where (linkId = 'EmCare.B22.DE14') and answer.exists() then {\r\n        item.answer first as a then {\r\n          a.value as val then {\r\n            val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n          } "26c2c8c7";\r\n        } "721205d5";\r\n      } "b72aac92";\r\n    } "e7d47de7";\r\n  } "0204726e";\r\n}\r\n\r\ngroup emcareobservationemcareb22de14a(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de14a";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE14a' "code-emcareb22de14a";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as itm2 where linkId = 'EmCare.B22.FluidTest' then {\r\n      itm2.item first as item where (linkId = 'EmCare.B22.DE14a') and answer.exists() then {\r\n        item.answer first as a then {\r\n          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de14a";\r\n          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de14a";\r\n        } "bdab9370";\r\n      } "120b0bc5";\r\n    } "ffa20ee2";\r\n  } "e1505882";\r\n}\r\n\r\ngroup emcareobservationemcareb22de15(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de15";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE15' "code-emcareb22de15";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as itm2 where linkId = 'EmCare.B22.FluidTest' then {\r\n      itm2.item first as item where (linkId = 'EmCare.B22.DE15') and answer.exists() then {\r\n        item.answer first as a then {\r\n          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb22de15";\r\n          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb22de15";\r\n        } "bdab9370";\r\n      } "f886f65c";\r\n    } "0ff7ff35";\r\n  } "455546fc";\r\n}\r\n\r\ngroup emcareobservationemcareb22de16(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb22de16";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B22.DE16' "code-emcareb22de16";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as itm2 where linkId = 'EmCare.B22.FluidTest' then {\r\n      itm2.item first as item where (linkId = 'EmCare.B22.DE16') and answer.exists() then {\r\n        item.answer first as a then {\r\n          a.value as val then {\r\n            val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n            val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n          } "310f4b1f";\r\n        } "6af9bfcc";\r\n      } "56e7c54b";\r\n    } "270c6d04";\r\n  } "1b98a048";\r\n}\r\n\r\n
" + "div": "
map "https://smart.who.int/ccc/StructureMap/Ccc.b7.lti-dangersigns" = "Ccc.b7.lti-dangersigns"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/observation" alias 'Observation' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/Cccobservation" alias 'Ccc Observation' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src.item first as item where (linkId = 'Ccc.B7.DE02') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb7de02(src, tgt) "004b4d1e";\r\n      } "92e7f5f9";\r\n    } "402826af";\r\n  } "8c26175a";\r\n  src.item first as item where (linkId = 'Ccc.B7-B8-B9.DE01') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb7b8b9de01(src, tgt) "ff2fa2ef";\r\n      } "a8c4cecd";\r\n    } "cab32791";\r\n  } "8f0ade51";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B7.DE03') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb7de03(src, tgt) "f2e89805";\r\n        } "8dded58a";\r\n      } "6d815194";\r\n    } "b1580360";\r\n  } "f9ff931c";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B7.DE08b') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb7de08b(src, tgt) "7c424dce";\r\n        } "090c71e8";\r\n      } "366ba7ba";\r\n    } "65aaf8e5";\r\n  } "340cad6a";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B7.DE08') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb7de08(src, tgt) "279d6969";\r\n        } "20cc88b6";\r\n      } "3f40ba3d";\r\n    } "350d6fc4";\r\n  } "eaa550b2";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B7.DE08a') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb7de08a(src, tgt) "d2861aff";\r\n        } "7be6660a";\r\n      } "bd06a10d";\r\n    } "1343a39a";\r\n  } "d8ac86b0";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B7.DE09') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb7de09(src, tgt) "3f6a9726";\r\n        } "2c4ac41f";\r\n      } "98869034";\r\n    } "0ea146b2";\r\n  } "dd9b5c52";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B7.DE10') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n        src -> entry.resource = create('Observation') as tgt then {\r\n          src -> tgt then CccobservationCccb7de10(src, tgt) "1fe53b0d";\r\n        } "0fb952bc";\r\n      } "980ae740";\r\n    } "5b813bca";\r\n  } "492052bb";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as itm2 where linkId = 'Ccc.B22.FluidTest' then {\r\n      itm2.item first as item where (linkId = 'Ccc.B22.DE08') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src -> tgt then CccobservationCccb22de08(src, tgt) "d34db40c";\r\n          } "bd8403a6";\r\n        } "09eb3e1a";\r\n      } "5b2cdf2b";\r\n    } "147ec831";\r\n  } "e1f072a2";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as itm2 where linkId = 'Ccc.B22.FluidTest' then {\r\n      itm2.item first as item where (linkId = 'Ccc.B22.DE14') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src -> tgt then CccobservationCccb22de14(src, tgt) "128f555c";\r\n          } "2cba61ee";\r\n        } "1eb502ac";\r\n      } "9758fd8e";\r\n    } "680dcb34";\r\n  } "8bc21454";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as itm2 where linkId = 'Ccc.B22.FluidTest' then {\r\n      itm2.item first as item where (linkId = 'Ccc.B22.DE14a') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src -> tgt then CccobservationCccb22de14a(src, tgt) "7b46291c";\r\n          } "17f1508c";\r\n        } "64f82f5e";\r\n      } "d955cd1e";\r\n    } "29fc59e7";\r\n  } "5a220c96";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as itm2 where linkId = 'Ccc.B22.FluidTest' then {\r\n      itm2.item first as item where (linkId = 'Ccc.B22.DE15') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src -> tgt then CccobservationCccb22de15(src, tgt) "0d25d61c";\r\n          } "49095bbf";\r\n        } "7ffa5829";\r\n      } "408d099b";\r\n    } "f64298f5";\r\n  } "28f93c51";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as itm2 where linkId = 'Ccc.B22.FluidTest' then {\r\n      itm2.item first as item where (linkId = 'Ccc.B22.DE16') and answer.exists() then {\r\n        src -> bundle.entry as entry then {\r\n          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n          src -> entry.resource = create('Observation') as tgt then {\r\n            src -> tgt then CccobservationCccb22de16(src, tgt) "2bef72fa";\r\n          } "f426fdde";\r\n        } "f53bf22c";\r\n      } "756331ed";\r\n    } "bc80f5f5";\r\n  } "0636116b";\r\n}\r\n\r\ngroup CccobservationCccb7de02(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb7de02";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B7.DE02' "code-Cccb7de02";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B7.DE02') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb7de02";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb7de02";\r\n    } "bdab9370";\r\n  } "25c89b41";\r\n}\r\n\r\ngroup CccobservationCccb7b8b9de01(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb7b8b9de01";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B7-B8-B9.DE01' "code-Cccb7b8b9de01";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B7-B8-B9.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val then {\r\n        val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n        val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n      } "310f4b1f";\r\n    } "6af9bfcc";\r\n  } "1deb5925";\r\n}\r\n\r\ngroup CccobservationCccb7de03(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb7de03";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B7.DE03' "code-Cccb7de03";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B7.DE03') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb7de03";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb7de03";\r\n      } "bdab9370";\r\n    } "a2c65533";\r\n  } "06440f2e";\r\n}\r\n\r\ngroup CccobservationCccb7de08b(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb7de08b";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B7.DE08b' "code-Cccb7de08b";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B7.DE08b') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb7de08b";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb7de08b";\r\n      } "bdab9370";\r\n    } "9b1cc305";\r\n  } "5c09828f";\r\n}\r\n\r\ngroup CccobservationCccb7de08(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb7de08";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B7.DE08' "code-Cccb7de08";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B7.DE08') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb7de08";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb7de08";\r\n      } "bdab9370";\r\n    } "2bfe418a";\r\n  } "899ae4be";\r\n}\r\n\r\ngroup CccobservationCccb7de08a(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb7de08a";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B7.DE08a' "code-Cccb7de08a";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B7.DE08a') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb7de08a";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb7de08a";\r\n      } "bdab9370";\r\n    } "f01cf4cb";\r\n  } "dffa204b";\r\n}\r\n\r\ngroup CccobservationCccb7de09(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb7de09";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B7.DE09' "code-Cccb7de09";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B7.DE09') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb7de09";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb7de09";\r\n      } "bdab9370";\r\n    } "d2857a7f";\r\n  } "9311a6c3";\r\n}\r\n\r\ngroup CccobservationCccb7de10(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb7de10";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B7.DE10' "code-Cccb7de10";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B7.DE10') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb7de10";\r\n        a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb7de10";\r\n      } "bdab9370";\r\n    } "86a60301";\r\n  } "d7b8fbb0";\r\n}\r\n\r\ngroup CccobservationCccb22de08(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de08";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE08' "code-Cccb22de08";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as itm2 where linkId = 'Ccc.B22.FluidTest' then {\r\n      itm2.item first as item where (linkId = 'Ccc.B22.DE08') and answer.exists() then {\r\n        item.answer first as a then {\r\n          a.value as val then {\r\n            val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n            val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n          } "310f4b1f";\r\n        } "6af9bfcc";\r\n      } "217a0abc";\r\n    } "1ebe5f9b";\r\n  } "4113c5c7";\r\n}\r\n\r\ngroup CccobservationCccb22de14(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de14";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE14' "code-Cccb22de14";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as itm2 where linkId = 'Ccc.B22.FluidTest' then {\r\n      itm2.item first as item where (linkId = 'Ccc.B22.DE14') and answer.exists() then {\r\n        item.answer first as a then {\r\n          a.value as val then {\r\n            val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";\r\n          } "26c2c8c7";\r\n        } "721205d5";\r\n      } "b72aac92";\r\n    } "e7d47de7";\r\n  } "0204726e";\r\n}\r\n\r\ngroup CccobservationCccb22de14a(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de14a";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE14a' "code-Cccb22de14a";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as itm2 where linkId = 'Ccc.B22.FluidTest' then {\r\n      itm2.item first as item where (linkId = 'Ccc.B22.DE14a') and answer.exists() then {\r\n        item.answer first as a then {\r\n          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de14a";\r\n          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de14a";\r\n        } "bdab9370";\r\n      } "120b0bc5";\r\n    } "ffa20ee2";\r\n  } "e1505882";\r\n}\r\n\r\ngroup CccobservationCccb22de15(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de15";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE15' "code-Cccb22de15";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as itm2 where linkId = 'Ccc.B22.FluidTest' then {\r\n      itm2.item first as item where (linkId = 'Ccc.B22.DE15') and answer.exists() then {\r\n        item.answer first as a then {\r\n          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de15";\r\n          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de15";\r\n        } "bdab9370";\r\n      } "f886f65c";\r\n    } "0ff7ff35";\r\n  } "455546fc";\r\n}\r\n\r\ngroup CccobservationCccb22de16(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de16";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE16' "code-Cccb22de16";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as itm1 where linkId = 'stable-child' then {\r\n    itm1.item first as itm2 where linkId = 'Ccc.B22.FluidTest' then {\r\n      itm2.item first as item where (linkId = 'Ccc.B22.DE16') and answer.exists() then {\r\n        item.answer first as a then {\r\n          a.value as val then {\r\n            val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";\r\n            val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";\r\n          } "310f4b1f";\r\n        } "6af9bfcc";\r\n      } "56e7c54b";\r\n    } "270c6d04";\r\n  } "1b98a048";\r\n}\r\n\r\n
" }, - "url": "https://smart.who.int/ccc/StructureMap/emcare.b7.lti-dangersigns", - "name": "emcare.b7.lti-dangersigns", + "url": "https://smart.who.int/ccc/StructureMap/Ccc.b7.lti-dangersigns", + "name": "Ccc.b7.lti-dangersigns", "status": "active", "structure": [ { @@ -25,9 +25,9 @@ "alias": "'Observation'" }, { - "url": "https://smart.who.int/ccc/StructureDefinition/emcareobservation", + "url": "https://smart.who.int/ccc/StructureDefinition/Cccobservation", "mode": "produced", - "alias": "'EmCare Observation'" + "alias": "'Ccc Observation'" } ], "group": [ @@ -92,7 +92,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B7.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B7.DE02') and answer.exists()" } ], "rule": [ @@ -200,7 +200,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb7de02", + "name": "CccobservationCccb7de02", "variable": [ "src", "tgt" @@ -222,7 +222,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B7-B8-B9.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B7-B8-B9.DE01') and answer.exists()" } ], "rule": [ @@ -330,7 +330,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb7b8b9de01", + "name": "CccobservationCccb7b8b9de01", "variable": [ "src", "tgt" @@ -364,7 +364,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B7.DE03') and answer.exists()" + "condition": "(linkId = 'Ccc.B7.DE03') and answer.exists()" } ], "rule": [ @@ -472,7 +472,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb7de03", + "name": "CccobservationCccb7de03", "variable": [ "src", "tgt" @@ -508,7 +508,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B7.DE08b') and answer.exists()" + "condition": "(linkId = 'Ccc.B7.DE08b') and answer.exists()" } ], "rule": [ @@ -616,7 +616,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb7de08b", + "name": "CccobservationCccb7de08b", "variable": [ "src", "tgt" @@ -652,7 +652,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B7.DE08') and answer.exists()" + "condition": "(linkId = 'Ccc.B7.DE08') and answer.exists()" } ], "rule": [ @@ -760,7 +760,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb7de08", + "name": "CccobservationCccb7de08", "variable": [ "src", "tgt" @@ -796,7 +796,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B7.DE08a') and answer.exists()" + "condition": "(linkId = 'Ccc.B7.DE08a') and answer.exists()" } ], "rule": [ @@ -904,7 +904,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb7de08a", + "name": "CccobservationCccb7de08a", "variable": [ "src", "tgt" @@ -940,7 +940,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B7.DE09') and answer.exists()" + "condition": "(linkId = 'Ccc.B7.DE09') and answer.exists()" } ], "rule": [ @@ -1048,7 +1048,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb7de09", + "name": "CccobservationCccb7de09", "variable": [ "src", "tgt" @@ -1084,7 +1084,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B7.DE10') and answer.exists()" + "condition": "(linkId = 'Ccc.B7.DE10') and answer.exists()" } ], "rule": [ @@ -1192,7 +1192,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb7de10", + "name": "CccobservationCccb7de10", "variable": [ "src", "tgt" @@ -1228,7 +1228,7 @@ "element": "item", "listMode": "first", "variable": "itm2", - "condition": "linkId = 'EmCare.B22.FluidTest'" + "condition": "linkId = 'Ccc.B22.FluidTest'" } ], "rule": [ @@ -1240,7 +1240,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE08') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE08') and answer.exists()" } ], "rule": [ @@ -1348,7 +1348,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de08", + "name": "CccobservationCccb22de08", "variable": [ "src", "tgt" @@ -1386,7 +1386,7 @@ "element": "item", "listMode": "first", "variable": "itm2", - "condition": "linkId = 'EmCare.B22.FluidTest'" + "condition": "linkId = 'Ccc.B22.FluidTest'" } ], "rule": [ @@ -1398,7 +1398,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE14') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE14') and answer.exists()" } ], "rule": [ @@ -1506,7 +1506,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de14", + "name": "CccobservationCccb22de14", "variable": [ "src", "tgt" @@ -1544,7 +1544,7 @@ "element": "item", "listMode": "first", "variable": "itm2", - "condition": "linkId = 'EmCare.B22.FluidTest'" + "condition": "linkId = 'Ccc.B22.FluidTest'" } ], "rule": [ @@ -1556,7 +1556,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE14a') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE14a') and answer.exists()" } ], "rule": [ @@ -1664,7 +1664,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de14a", + "name": "CccobservationCccb22de14a", "variable": [ "src", "tgt" @@ -1702,7 +1702,7 @@ "element": "item", "listMode": "first", "variable": "itm2", - "condition": "linkId = 'EmCare.B22.FluidTest'" + "condition": "linkId = 'Ccc.B22.FluidTest'" } ], "rule": [ @@ -1714,7 +1714,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE15') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE15') and answer.exists()" } ], "rule": [ @@ -1822,7 +1822,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de15", + "name": "CccobservationCccb22de15", "variable": [ "src", "tgt" @@ -1860,7 +1860,7 @@ "element": "item", "listMode": "first", "variable": "itm2", - "condition": "linkId = 'EmCare.B22.FluidTest'" + "condition": "linkId = 'Ccc.B22.FluidTest'" } ], "rule": [ @@ -1872,7 +1872,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE16') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE16') and answer.exists()" } ], "rule": [ @@ -1980,7 +1980,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb22de16", + "name": "CccobservationCccb22de16", "variable": [ "src", "tgt" @@ -2001,7 +2001,7 @@ ] }, { - "name": "emcareobservationemcareb7de02", + "name": "CccobservationCccb7de02", "typeMode": "none", "input": [ { @@ -2015,7 +2015,7 @@ ], "rule": [ { - "name": "id-emcareb7de02", + "name": "id-Cccb7de02", "source": [ { "context": "src" @@ -2099,7 +2099,7 @@ ] }, { - "name": "code-emcareb7de02", + "name": "code-Cccb7de02", "source": [ { "context": "src", @@ -2138,7 +2138,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -2173,7 +2173,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -2184,7 +2184,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B7.DE02" + "valueString": "Ccc.B7.DE02" } ] } @@ -2270,7 +2270,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B7.DE02') and answer.exists()" + "condition": "(linkId = 'Ccc.B7.DE02') and answer.exists()" } ], "rule": [ @@ -2286,7 +2286,7 @@ ], "rule": [ { - "name": "final-emcareb7de02", + "name": "final-Cccb7de02", "source": [ { "context": "a", @@ -2319,7 +2319,7 @@ ] }, { - "name": "notfound-emcareb7de02", + "name": "notfound-Cccb7de02", "source": [ { "context": "a", @@ -2358,7 +2358,7 @@ ] }, { - "name": "emcareobservationemcareb7b8b9de01", + "name": "CccobservationCccb7b8b9de01", "typeMode": "none", "input": [ { @@ -2372,7 +2372,7 @@ ], "rule": [ { - "name": "id-emcareb7b8b9de01", + "name": "id-Cccb7b8b9de01", "source": [ { "context": "src" @@ -2456,7 +2456,7 @@ ] }, { - "name": "code-emcareb7b8b9de01", + "name": "code-Cccb7b8b9de01", "source": [ { "context": "src", @@ -2495,7 +2495,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -2530,7 +2530,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -2541,7 +2541,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B7-B8-B9.DE01" + "valueString": "Ccc.B7-B8-B9.DE01" } ] } @@ -2627,7 +2627,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B7-B8-B9.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B7-B8-B9.DE01') and answer.exists()" } ], "rule": [ @@ -2728,7 +2728,7 @@ ] }, { - "name": "emcareobservationemcareb7de03", + "name": "CccobservationCccb7de03", "typeMode": "none", "input": [ { @@ -2742,7 +2742,7 @@ ], "rule": [ { - "name": "id-emcareb7de03", + "name": "id-Cccb7de03", "source": [ { "context": "src" @@ -2826,7 +2826,7 @@ ] }, { - "name": "code-emcareb7de03", + "name": "code-Cccb7de03", "source": [ { "context": "src", @@ -2865,7 +2865,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -2900,7 +2900,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -2911,7 +2911,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B7.DE03" + "valueString": "Ccc.B7.DE03" } ] } @@ -3009,7 +3009,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B7.DE03') and answer.exists()" + "condition": "(linkId = 'Ccc.B7.DE03') and answer.exists()" } ], "rule": [ @@ -3025,7 +3025,7 @@ ], "rule": [ { - "name": "final-emcareb7de03", + "name": "final-Cccb7de03", "source": [ { "context": "a", @@ -3058,7 +3058,7 @@ ] }, { - "name": "notfound-emcareb7de03", + "name": "notfound-Cccb7de03", "source": [ { "context": "a", @@ -3099,7 +3099,7 @@ ] }, { - "name": "emcareobservationemcareb7de08b", + "name": "CccobservationCccb7de08b", "typeMode": "none", "input": [ { @@ -3113,7 +3113,7 @@ ], "rule": [ { - "name": "id-emcareb7de08b", + "name": "id-Cccb7de08b", "source": [ { "context": "src" @@ -3197,7 +3197,7 @@ ] }, { - "name": "code-emcareb7de08b", + "name": "code-Cccb7de08b", "source": [ { "context": "src", @@ -3236,7 +3236,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -3271,7 +3271,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -3282,7 +3282,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B7.DE08b" + "valueString": "Ccc.B7.DE08b" } ] } @@ -3380,7 +3380,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B7.DE08b') and answer.exists()" + "condition": "(linkId = 'Ccc.B7.DE08b') and answer.exists()" } ], "rule": [ @@ -3396,7 +3396,7 @@ ], "rule": [ { - "name": "final-emcareb7de08b", + "name": "final-Cccb7de08b", "source": [ { "context": "a", @@ -3429,7 +3429,7 @@ ] }, { - "name": "notfound-emcareb7de08b", + "name": "notfound-Cccb7de08b", "source": [ { "context": "a", @@ -3470,7 +3470,7 @@ ] }, { - "name": "emcareobservationemcareb7de08", + "name": "CccobservationCccb7de08", "typeMode": "none", "input": [ { @@ -3484,7 +3484,7 @@ ], "rule": [ { - "name": "id-emcareb7de08", + "name": "id-Cccb7de08", "source": [ { "context": "src" @@ -3568,7 +3568,7 @@ ] }, { - "name": "code-emcareb7de08", + "name": "code-Cccb7de08", "source": [ { "context": "src", @@ -3607,7 +3607,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -3642,7 +3642,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -3653,7 +3653,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B7.DE08" + "valueString": "Ccc.B7.DE08" } ] } @@ -3751,7 +3751,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B7.DE08') and answer.exists()" + "condition": "(linkId = 'Ccc.B7.DE08') and answer.exists()" } ], "rule": [ @@ -3767,7 +3767,7 @@ ], "rule": [ { - "name": "final-emcareb7de08", + "name": "final-Cccb7de08", "source": [ { "context": "a", @@ -3800,7 +3800,7 @@ ] }, { - "name": "notfound-emcareb7de08", + "name": "notfound-Cccb7de08", "source": [ { "context": "a", @@ -3841,7 +3841,7 @@ ] }, { - "name": "emcareobservationemcareb7de08a", + "name": "CccobservationCccb7de08a", "typeMode": "none", "input": [ { @@ -3855,7 +3855,7 @@ ], "rule": [ { - "name": "id-emcareb7de08a", + "name": "id-Cccb7de08a", "source": [ { "context": "src" @@ -3939,7 +3939,7 @@ ] }, { - "name": "code-emcareb7de08a", + "name": "code-Cccb7de08a", "source": [ { "context": "src", @@ -3978,7 +3978,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -4013,7 +4013,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -4024,7 +4024,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B7.DE08a" + "valueString": "Ccc.B7.DE08a" } ] } @@ -4122,7 +4122,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B7.DE08a') and answer.exists()" + "condition": "(linkId = 'Ccc.B7.DE08a') and answer.exists()" } ], "rule": [ @@ -4138,7 +4138,7 @@ ], "rule": [ { - "name": "final-emcareb7de08a", + "name": "final-Cccb7de08a", "source": [ { "context": "a", @@ -4171,7 +4171,7 @@ ] }, { - "name": "notfound-emcareb7de08a", + "name": "notfound-Cccb7de08a", "source": [ { "context": "a", @@ -4212,7 +4212,7 @@ ] }, { - "name": "emcareobservationemcareb7de09", + "name": "CccobservationCccb7de09", "typeMode": "none", "input": [ { @@ -4226,7 +4226,7 @@ ], "rule": [ { - "name": "id-emcareb7de09", + "name": "id-Cccb7de09", "source": [ { "context": "src" @@ -4310,7 +4310,7 @@ ] }, { - "name": "code-emcareb7de09", + "name": "code-Cccb7de09", "source": [ { "context": "src", @@ -4349,7 +4349,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -4384,7 +4384,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -4395,7 +4395,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B7.DE09" + "valueString": "Ccc.B7.DE09" } ] } @@ -4493,7 +4493,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B7.DE09') and answer.exists()" + "condition": "(linkId = 'Ccc.B7.DE09') and answer.exists()" } ], "rule": [ @@ -4509,7 +4509,7 @@ ], "rule": [ { - "name": "final-emcareb7de09", + "name": "final-Cccb7de09", "source": [ { "context": "a", @@ -4542,7 +4542,7 @@ ] }, { - "name": "notfound-emcareb7de09", + "name": "notfound-Cccb7de09", "source": [ { "context": "a", @@ -4583,7 +4583,7 @@ ] }, { - "name": "emcareobservationemcareb7de10", + "name": "CccobservationCccb7de10", "typeMode": "none", "input": [ { @@ -4597,7 +4597,7 @@ ], "rule": [ { - "name": "id-emcareb7de10", + "name": "id-Cccb7de10", "source": [ { "context": "src" @@ -4681,7 +4681,7 @@ ] }, { - "name": "code-emcareb7de10", + "name": "code-Cccb7de10", "source": [ { "context": "src", @@ -4720,7 +4720,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -4755,7 +4755,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -4766,7 +4766,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B7.DE10" + "valueString": "Ccc.B7.DE10" } ] } @@ -4864,7 +4864,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B7.DE10') and answer.exists()" + "condition": "(linkId = 'Ccc.B7.DE10') and answer.exists()" } ], "rule": [ @@ -4880,7 +4880,7 @@ ], "rule": [ { - "name": "final-emcareb7de10", + "name": "final-Cccb7de10", "source": [ { "context": "a", @@ -4913,7 +4913,7 @@ ] }, { - "name": "notfound-emcareb7de10", + "name": "notfound-Cccb7de10", "source": [ { "context": "a", @@ -4954,7 +4954,7 @@ ] }, { - "name": "emcareobservationemcareb22de08", + "name": "CccobservationCccb22de08", "typeMode": "none", "input": [ { @@ -4968,7 +4968,7 @@ ], "rule": [ { - "name": "id-emcareb22de08", + "name": "id-Cccb22de08", "source": [ { "context": "src" @@ -5052,7 +5052,7 @@ ] }, { - "name": "code-emcareb22de08", + "name": "code-Cccb22de08", "source": [ { "context": "src", @@ -5091,7 +5091,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -5126,7 +5126,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -5137,7 +5137,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE08" + "valueString": "Ccc.B22.DE08" } ] } @@ -5235,7 +5235,7 @@ "element": "item", "listMode": "first", "variable": "itm2", - "condition": "linkId = 'EmCare.B22.FluidTest'" + "condition": "linkId = 'Ccc.B22.FluidTest'" } ], "rule": [ @@ -5247,7 +5247,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE08') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE08') and answer.exists()" } ], "rule": [ @@ -5352,7 +5352,7 @@ ] }, { - "name": "emcareobservationemcareb22de14", + "name": "CccobservationCccb22de14", "typeMode": "none", "input": [ { @@ -5366,7 +5366,7 @@ ], "rule": [ { - "name": "id-emcareb22de14", + "name": "id-Cccb22de14", "source": [ { "context": "src" @@ -5450,7 +5450,7 @@ ] }, { - "name": "code-emcareb22de14", + "name": "code-Cccb22de14", "source": [ { "context": "src", @@ -5489,7 +5489,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -5524,7 +5524,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -5535,7 +5535,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE14" + "valueString": "Ccc.B22.DE14" } ] } @@ -5633,7 +5633,7 @@ "element": "item", "listMode": "first", "variable": "itm2", - "condition": "linkId = 'EmCare.B22.FluidTest'" + "condition": "linkId = 'Ccc.B22.FluidTest'" } ], "rule": [ @@ -5645,7 +5645,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE14') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE14') and answer.exists()" } ], "rule": [ @@ -5716,7 +5716,7 @@ ] }, { - "name": "emcareobservationemcareb22de14a", + "name": "CccobservationCccb22de14a", "typeMode": "none", "input": [ { @@ -5730,7 +5730,7 @@ ], "rule": [ { - "name": "id-emcareb22de14a", + "name": "id-Cccb22de14a", "source": [ { "context": "src" @@ -5814,7 +5814,7 @@ ] }, { - "name": "code-emcareb22de14a", + "name": "code-Cccb22de14a", "source": [ { "context": "src", @@ -5853,7 +5853,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -5888,7 +5888,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -5899,7 +5899,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE14a" + "valueString": "Ccc.B22.DE14a" } ] } @@ -5997,7 +5997,7 @@ "element": "item", "listMode": "first", "variable": "itm2", - "condition": "linkId = 'EmCare.B22.FluidTest'" + "condition": "linkId = 'Ccc.B22.FluidTest'" } ], "rule": [ @@ -6009,7 +6009,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE14a') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE14a') and answer.exists()" } ], "rule": [ @@ -6025,7 +6025,7 @@ ], "rule": [ { - "name": "final-emcareb22de14a", + "name": "final-Cccb22de14a", "source": [ { "context": "a", @@ -6058,7 +6058,7 @@ ] }, { - "name": "notfound-emcareb22de14a", + "name": "notfound-Cccb22de14a", "source": [ { "context": "a", @@ -6101,7 +6101,7 @@ ] }, { - "name": "emcareobservationemcareb22de15", + "name": "CccobservationCccb22de15", "typeMode": "none", "input": [ { @@ -6115,7 +6115,7 @@ ], "rule": [ { - "name": "id-emcareb22de15", + "name": "id-Cccb22de15", "source": [ { "context": "src" @@ -6199,7 +6199,7 @@ ] }, { - "name": "code-emcareb22de15", + "name": "code-Cccb22de15", "source": [ { "context": "src", @@ -6238,7 +6238,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -6273,7 +6273,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -6284,7 +6284,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE15" + "valueString": "Ccc.B22.DE15" } ] } @@ -6382,7 +6382,7 @@ "element": "item", "listMode": "first", "variable": "itm2", - "condition": "linkId = 'EmCare.B22.FluidTest'" + "condition": "linkId = 'Ccc.B22.FluidTest'" } ], "rule": [ @@ -6394,7 +6394,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE15') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE15') and answer.exists()" } ], "rule": [ @@ -6410,7 +6410,7 @@ ], "rule": [ { - "name": "final-emcareb22de15", + "name": "final-Cccb22de15", "source": [ { "context": "a", @@ -6443,7 +6443,7 @@ ] }, { - "name": "notfound-emcareb22de15", + "name": "notfound-Cccb22de15", "source": [ { "context": "a", @@ -6486,7 +6486,7 @@ ] }, { - "name": "emcareobservationemcareb22de16", + "name": "CccobservationCccb22de16", "typeMode": "none", "input": [ { @@ -6500,7 +6500,7 @@ ], "rule": [ { - "name": "id-emcareb22de16", + "name": "id-Cccb22de16", "source": [ { "context": "src" @@ -6584,7 +6584,7 @@ ] }, { - "name": "code-emcareb22de16", + "name": "code-Cccb22de16", "source": [ { "context": "src", @@ -6623,7 +6623,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -6658,7 +6658,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -6669,7 +6669,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B22.DE16" + "valueString": "Ccc.B22.DE16" } ] } @@ -6767,7 +6767,7 @@ "element": "item", "listMode": "first", "variable": "itm2", - "condition": "linkId = 'EmCare.B22.FluidTest'" + "condition": "linkId = 'Ccc.B22.FluidTest'" } ], "rule": [ @@ -6779,7 +6779,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B22.DE16') and answer.exists()" + "condition": "(linkId = 'Ccc.B22.DE16') and answer.exists()" } ], "rule": [ diff --git a/input/resources/structuremap/structuremap-emcare.treatment.json b/input/resources/structuremap/structuremap-Ccc.treatment.json similarity index 76% rename from input/resources/structuremap/structuremap-emcare.treatment.json rename to input/resources/structuremap/structuremap-Ccc.treatment.json index 579f845e..7fe74e33 100644 --- a/input/resources/structuremap/structuremap-emcare.treatment.json +++ b/input/resources/structuremap/structuremap-Ccc.treatment.json @@ -1,12 +1,12 @@ { "resourceType": "StructureMap", - "id": "emcare.treatment", + "id": "Ccc.treatment", "text": { "status": "generated", - "div": "
map "https://smart.who.int/ccc/StructureMap/emcare.treatment" = "emcare.treatment"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n}\r\n\r\n
" + "div": "
map "https://smart.who.int/ccc/StructureMap/Ccc.treatment" = "Ccc.treatment"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n}\r\n\r\n
" }, - "url": "https://smart.who.int/ccc/StructureMap/emcare.treatment", - "name": "emcare.treatment", + "url": "https://smart.who.int/ccc/StructureMap/Ccc.treatment", + "name": "Ccc.treatment", "status": "active", "structure": [ { diff --git a/input/resources/structuremap/structuremap-emcarea.registration.p.json b/input/resources/structuremap/structuremap-Ccca.registration.p.json similarity index 86% rename from input/resources/structuremap/structuremap-emcarea.registration.p.json rename to input/resources/structuremap/structuremap-Ccca.registration.p.json index a54c1435..6d858f4d 100644 --- a/input/resources/structuremap/structuremap-emcarea.registration.p.json +++ b/input/resources/structuremap/structuremap-Ccca.registration.p.json @@ -1,12 +1,12 @@ { "resourceType": "StructureMap", - "id": "emcarea.registration.p", + "id": "Ccca.registration.p", "text": { "status": "generated", - "div": "
map "https://smart.who.int/ccc/StructureMap/emcarea.registration.p" = "emcarea.registration.p"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/patient" alias 'Patient' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/relatedperson" alias 'RelatedPerson' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/communicationrequest" alias 'CommunicationRequest' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/emcarepatient" alias 'EmCare Patient' as produced\r\nuses "https://smart.who.int/ccc/StructureDefinition/relatedperson" alias 'RelatedPerson' as produced\r\nuses "https://smart.who.int/ccc/StructureDefinition/communicationrequest" alias 'CommunicationRequest' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src -> bundle.entry as entry then {\r\n    src.subject as subject then {\r\n      subject.id as idval ->  entry.request as request,  request.method = 'PUT',  request.url = append('/Patient/', idval) "1153aa45";\r\n    } "cf5b2513";\r\n    src -> entry.resource = create('Patient') as tgt then {\r\n      src -> tgt then emcarepatient(src, tgt) "77f3ac03";\r\n    } "75beb242";\r\n  } "put-emcarepatient";\r\n  src.item first as itm1 where linkId = 'EmCare.A.DE21.1' then {\r\n    itm1.item first as item where (linkId = 'relatedpersonid') and answer.exists() then {\r\n      src ->  bundle.entry as entry,  entry.request as request,  request.method = 'POST',  entry.resource = create('RelatedPerson') as tgt then {\r\n        src -> tgt then relatedperson(src, tgt) "8f0b9602";\r\n        item.answer first as a then {\r\n          a.value as val -> request.url = append('/RelatedPerson/', val) "78d8bc69";\r\n        } "eec70023";\r\n      } "00574b8e";\r\n    } "74cc3511";\r\n  } "54daac33";\r\n  src.item first as itm1 where linkId = 'EmCare.A.DE21.1' then {\r\n    itm1.item first as item where (linkId = 'EmCare.A.DE38') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/CommunicationRequest/', uuid) "e5343f50";\r\n        src -> entry.resource = create('CommunicationRequest') as tgt then {\r\n          src -> tgt then communicationrequestemcareade38(src, tgt) "82d8a873";\r\n        } "33eeb100";\r\n      } "d4cd942b";\r\n    } "5ca7be0f";\r\n  } "b78fbe33";\r\n}\r\n\r\ngroup SetOfficalGivenNameemcarepatient(source src, target tgt) {\r\n  src -> tgt.use = 'official' then {\r\n    src.item first as item where (linkId = 'EmCare.A.DE06') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val -> tgt.family = val "77d1bd4f";\r\n      } "e0827d5d";\r\n    } "607c4e16";\r\n    src.item first as item where (linkId = 'EmCare.A.DE04') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val -> tgt.given = val "5d3d44f6";\r\n      } "18edd234";\r\n    } "e9deb0f3";\r\n    src.item first as item where (linkId = 'EmCare.A.DE05') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val -> tgt.given = val "5d3d44f6";\r\n      } "18edd234";\r\n    } "d95279c0";\r\n  } "ef0f6810";\r\n}\r\n\r\ngroup MapValueSetExtCodeemcareade16(source src, target tgt) {\r\n  src -> tgt then {\r\n    src -> tgt then {\r\n      src where value.code = 'EmCare.A.DE17' -> tgt.gender = 'female' "368f2e2a";\r\n      src where value.code = 'EmCare.A.DE18' -> tgt.gender = 'male' "2ae3beca";\r\n      src where value.code = 'EmCare.A.DE19' -> tgt.gender = 'unknown' "de22e8b7";\r\n    } "mapbase";\r\n  } "57676688";\r\n}\r\n\r\ngroup emcarepatient(source src : questionnaireResponse, target tgt : Patient) {\r\n  src.item first as item where (linkId = 'EmCare.A.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val -> tgt.identifier = create('Identifier') as identifier then {\r\n        val ->  identifier.value = val,  identifier.use = 'official' "id";\r\n      } "aemcareade01";\r\n    } "aemcareade01";\r\n  } "c243b020";\r\n  src.item first as item where (linkId = 'EmCare.A.DE03') and answer.exists() then {\r\n    item.answer first as a ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/anonymous',  ext.value = true "aemcareade03";\r\n  } "54d12495";\r\n  src.item first as item where (linkId = 'EmCare.A.DE06') or (linkId = 'EmCare.A.DE04') or ((linkId = 'EmCare.A.DE05') and answer.exists()) then {\r\n    src ->  tgt as target,  target.name as name then SetOfficalGivenNameemcarepatient(src, name) "30643049";\r\n  } "7483ae2e";\r\n  src.item first as item where (linkId = 'EmCare.A.DE12') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/birthDateEstimator',  ext.value = val "aemcareade12";\r\n    } "aemcareade12";\r\n  } "c05cf203";\r\n  src.item first as item where (linkId = 'EmCare.A.DE08') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val -> tgt.birthDate = val "aemcareade08";\r\n    } "aemcareade08";\r\n  } "bded6ae8";\r\n  src.item first as item where (linkId = 'EmCare.A.DE16') and answer.exists() then {\r\n    item.answer first as a then MapValueSetExtCodeemcareade16(a, tgt) "225baa79";\r\n  } "bf4b35f0";\r\n  src.item first as item where (linkId = 'EmCare.A.DE48') and answer.exists() then {\r\n    item.answer first as a ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/primarycaregiver',  ext.value = create('Reference') as ref,  ref.reference = 'relatated-person-id' "aemcareade48";\r\n  } "04772b09";\r\n  src.item first as itm1 where linkId = 'EmCare.A.DE21.1' then {\r\n    itm1.item first as item where (linkId = 'EmCare.A.DE31') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/Extension/motherVitalStatus',  ext.value = val "aemcareade31";\r\n      } "aemcareade31";\r\n    } "7f408694";\r\n  } "39f45e5d";\r\n  src.item first as itm1 where linkId = 'EmCare.A.DE21.1' then {\r\n    itm1.item first as item where (linkId = 'EmCare.A.DE32') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/Extension/fatherVitalStatus',  ext.value = val "aemcareade32";\r\n      } "aemcareade32";\r\n    } "06ec2524";\r\n  } "f7424037";\r\n}\r\n\r\ngroup SetOfficalGivenNamerelatedperson(source src, target tgt) {\r\n  src -> tgt.use = 'official' then {\r\n    src.item first as itm1 where linkId = 'EmCare.A.DE21.1' then {\r\n      itm1.item first as item where (linkId = 'EmCare.A.DE23') and answer.exists() then {\r\n        item.answer first as a then {\r\n          a.value as val -> tgt.family = val "77d1bd4f";\r\n        } "e0827d5d";\r\n      } "8c426238";\r\n    } "4cc155ee";\r\n    src.item first as itm1 where linkId = 'EmCare.A.DE21.1' then {\r\n      itm1.item first as item where (linkId = 'EmCare.A.DE21') and answer.exists() then {\r\n        item.answer first as a then {\r\n          a.value as val -> tgt.given = val "5d3d44f6";\r\n        } "18edd234";\r\n      } "ad3fbc15";\r\n    } "8bc880ed";\r\n    src.item first as itm1 where linkId = 'EmCare.A.DE21.1' then {\r\n      itm1.item first as item where (linkId = 'EmCare.A.DE22') and answer.exists() then {\r\n        item.answer first as a then {\r\n          a.value as val -> tgt.given = val "5d3d44f6";\r\n        } "18edd234";\r\n      } "e9ba83c8";\r\n    } "17d8d988";\r\n  } "f41b9847";\r\n}\r\n\r\ngroup MapValueSetExtCodeemcareade24(source src, target tgt) {\r\n  src -> tgt then {\r\n    src ->  tgt.relationship = create('CodeableConcept') as cc,  cc.coding = create('Coding') as coding then {\r\n      src where value.code = 'EmCare.A.DE25' ->  coding.code = 'MTH',  coding.system = 'http://terminology.hl7.org/CodeSystem/v3-RoleCode' "abd34a78";\r\n      src where value.code = 'EmCare.A.DE26' ->  coding.code = 'FTH',  coding.system = 'http://terminology.hl7.org/CodeSystem/v3-RoleCode' "b53d1d15";\r\n      src where value.code = 'EmCare.A.DE27' ->  coding.code = 'SIB',  coding.system = 'http://terminology.hl7.org/CodeSystem/v3-RoleCode' "949ee35f";\r\n      src where value.code = 'EmCare.A.DE28' ->  coding.code = 'EXT',  coding.system = 'http://terminology.hl7.org/CodeSystem/v3-RoleCode' "7c5a4400";\r\n      src where value.code = 'EmCare.A.DE29' ->  coding.code = 'PRNINLAW',  coding.system = 'http://terminology.hl7.org/CodeSystem/v3-RoleCode' "544df0cc";\r\n      src where value.code = 'EmCare.A.DE30' ->  coding.code = 'U',  coding.system = 'http://terminology.hl7.org/CodeSystem/v2-0131' "8c2d96fc";\r\n    } "4a251df5";\r\n  } "1b7b6d7a";\r\n}\r\n\r\ngroup relatedperson(source src : questionnaireResponse, target tgt : RelatedPerson) {\r\n  src.item first as item where (linkId = 'emcarerelatedpersoncaregiverid') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/primary-caregiver',  ext.value = create('Reference') as ref,  ref.reference = append('/RelatedPerson/', val) "aemcarerelatedpersoncaregiverid";\r\n    } "aemcarerelatedpersoncaregiverid";\r\n  } "04cd0ec2";\r\n  src.item first as itm1 where linkId = 'EmCare.A.DE21.1' then {\r\n    itm1.item first as item where (linkId = 'EmCare.A.DE23') or (linkId = 'EmCare.A.DE21') or ((linkId = 'EmCare.A.DE22') and answer.exists()) then {\r\n      src ->  tgt as target,  target.name as name then SetOfficalGivenNamerelatedperson(src, name) "8e1455ea";\r\n    } "18dc21d5";\r\n  } "f0e6459e";\r\n  src.item first as itm1 where linkId = 'EmCare.A.DE21.1' then {\r\n    itm1.item first as item where (linkId = 'EmCare.A.DE35') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val ->  tgt.telecom as tel,  tel.system = 'phone',  tel.use = 'mobile',  tel.value = val "aemcareade35";\r\n      } "aemcareade35";\r\n    } "9731ba92";\r\n  } "30b90d37";\r\n  src.item first as itm1 where linkId = 'EmCare.A.DE21.1' then {\r\n    itm1.item first as item where (linkId = 'relatedpersonid') and answer.exists() then {\r\n      item.answer first as a -> tgt then {\r\n        src.subject as subject -> tgt.patient = subject "patient";\r\n      } "arelatedpersonid";\r\n    } "d79d72db";\r\n  } "d50c1aed";\r\n  src.item first as itm1 where linkId = 'EmCare.A.DE21.1' then {\r\n    itm1.item first as item where (linkId = 'EmCare.A.DE24') and answer.exists() then {\r\n      item.answer first as a then MapValueSetExtCodeemcareade24(a, tgt) "24e5e488";\r\n    } "6adb811a";\r\n  } "92a0e955";\r\n}\r\n\r\ngroup communicationrequestemcareade38(source src, target tgt) {\r\n  src ->  tgt.category = create('CodeableConcept') as cc,  cc.coding = create('Coding') as c,  c.system = 'http://hl7.org/fhir/ValueSet/communication-category',  c.code = 'notification' "053233cd";\r\n  src.questionnaire as q ->  tgt.about = create('Reference') as ref,  ref.type = 'Questionnaire',  ref.reference = q "quest";\r\n  src.subject as subject -> tgt.subject = subject "fe3bec4d";\r\n  src -> tgt.recipient = create('Reference') as ref then {\r\n    src -> ref.type = 'RelatedPerson' "c26ab31f";\r\n    src.item first as item where linkId = 'emcarerelatedpersonCaregiveruuid' -> tgt then {\r\n      item.answer first as a -> tgt then {\r\n        a.value as val -> ref.reference = append('/RelatedPerson/', val) "25b16148";\r\n      } "00b2016a";\r\n    } "3c6c4c80";\r\n  } "eaa7d3cf";\r\n}\r\n\r\n
" + "div": "
map "https://smart.who.int/ccc/StructureMap/Ccca.registration.p" = "Ccca.registration.p"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/patient" alias 'Patient' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/relatedperson" alias 'RelatedPerson' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/communicationrequest" alias 'CommunicationRequest' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/Cccpatient" alias 'Ccc Patient' as produced\r\nuses "https://smart.who.int/ccc/StructureDefinition/relatedperson" alias 'RelatedPerson' as produced\r\nuses "https://smart.who.int/ccc/StructureDefinition/communicationrequest" alias 'CommunicationRequest' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src -> bundle.entry as entry then {\r\n    src.subject as subject then {\r\n      subject.id as idval ->  entry.request as request,  request.method = 'PUT',  request.url = append('/Patient/', idval) "1153aa45";\r\n    } "cf5b2513";\r\n    src -> entry.resource = create('Patient') as tgt then {\r\n      src -> tgt then Cccpatient(src, tgt) "77f3ac03";\r\n    } "75beb242";\r\n  } "put-Cccpatient";\r\n  src.item first as itm1 where linkId = 'Ccc.A.DE21.1' then {\r\n    itm1.item first as item where (linkId = 'relatedpersonid') and answer.exists() then {\r\n      src ->  bundle.entry as entry,  entry.request as request,  request.method = 'POST',  entry.resource = create('RelatedPerson') as tgt then {\r\n        src -> tgt then relatedperson(src, tgt) "8f0b9602";\r\n        item.answer first as a then {\r\n          a.value as val -> request.url = append('/RelatedPerson/', val) "78d8bc69";\r\n        } "eec70023";\r\n      } "00574b8e";\r\n    } "74cc3511";\r\n  } "54daac33";\r\n  src.item first as itm1 where linkId = 'Ccc.A.DE21.1' then {\r\n    itm1.item first as item where (linkId = 'Ccc.A.DE38') and answer.exists() then {\r\n      src -> bundle.entry as entry then {\r\n        src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/CommunicationRequest/', uuid) "e5343f50";\r\n        src -> entry.resource = create('CommunicationRequest') as tgt then {\r\n          src -> tgt then communicationrequestCccade38(src, tgt) "82d8a873";\r\n        } "33eeb100";\r\n      } "d4cd942b";\r\n    } "5ca7be0f";\r\n  } "b78fbe33";\r\n}\r\n\r\ngroup SetOfficalGivenNameCccpatient(source src, target tgt) {\r\n  src -> tgt.use = 'official' then {\r\n    src.item first as item where (linkId = 'Ccc.A.DE06') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val -> tgt.family = val "77d1bd4f";\r\n      } "e0827d5d";\r\n    } "607c4e16";\r\n    src.item first as item where (linkId = 'Ccc.A.DE04') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val -> tgt.given = val "5d3d44f6";\r\n      } "18edd234";\r\n    } "e9deb0f3";\r\n    src.item first as item where (linkId = 'Ccc.A.DE05') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val -> tgt.given = val "5d3d44f6";\r\n      } "18edd234";\r\n    } "d95279c0";\r\n  } "ef0f6810";\r\n}\r\n\r\ngroup MapValueSetExtCodeCccade16(source src, target tgt) {\r\n  src -> tgt then {\r\n    src -> tgt then {\r\n      src where value.code = 'Ccc.A.DE17' -> tgt.gender = 'female' "368f2e2a";\r\n      src where value.code = 'Ccc.A.DE18' -> tgt.gender = 'male' "2ae3beca";\r\n      src where value.code = 'Ccc.A.DE19' -> tgt.gender = 'unknown' "de22e8b7";\r\n    } "mapbase";\r\n  } "57676688";\r\n}\r\n\r\ngroup Cccpatient(source src : questionnaireResponse, target tgt : Patient) {\r\n  src.item first as item where (linkId = 'Ccc.A.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val -> tgt.identifier = create('Identifier') as identifier then {\r\n        val ->  identifier.value = val,  identifier.use = 'official' "id";\r\n      } "aCccade01";\r\n    } "aCccade01";\r\n  } "c243b020";\r\n  src.item first as item where (linkId = 'Ccc.A.DE03') and answer.exists() then {\r\n    item.answer first as a ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/anonymous',  ext.value = true "aCccade03";\r\n  } "54d12495";\r\n  src.item first as item where (linkId = 'Ccc.A.DE06') or (linkId = 'Ccc.A.DE04') or ((linkId = 'Ccc.A.DE05') and answer.exists()) then {\r\n    src ->  tgt as target,  target.name as name then SetOfficalGivenNameCccpatient(src, name) "30643049";\r\n  } "7483ae2e";\r\n  src.item first as item where (linkId = 'Ccc.A.DE12') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/birthDateEstimator',  ext.value = val "aCccade12";\r\n    } "aCccade12";\r\n  } "c05cf203";\r\n  src.item first as item where (linkId = 'Ccc.A.DE08') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val -> tgt.birthDate = val "aCccade08";\r\n    } "aCccade08";\r\n  } "bded6ae8";\r\n  src.item first as item where (linkId = 'Ccc.A.DE16') and answer.exists() then {\r\n    item.answer first as a then MapValueSetExtCodeCccade16(a, tgt) "225baa79";\r\n  } "bf4b35f0";\r\n  src.item first as item where (linkId = 'Ccc.A.DE48') and answer.exists() then {\r\n    item.answer first as a ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/primarycaregiver',  ext.value = create('Reference') as ref,  ref.reference = 'relatated-person-id' "aCccade48";\r\n  } "04772b09";\r\n  src.item first as itm1 where linkId = 'Ccc.A.DE21.1' then {\r\n    itm1.item first as item where (linkId = 'Ccc.A.DE31') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/Extension/motherVitalStatus',  ext.value = val "aCccade31";\r\n      } "aCccade31";\r\n    } "7f408694";\r\n  } "39f45e5d";\r\n  src.item first as itm1 where linkId = 'Ccc.A.DE21.1' then {\r\n    itm1.item first as item where (linkId = 'Ccc.A.DE32') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/Extension/fatherVitalStatus',  ext.value = val "aCccade32";\r\n      } "aCccade32";\r\n    } "06ec2524";\r\n  } "f7424037";\r\n}\r\n\r\ngroup SetOfficalGivenNamerelatedperson(source src, target tgt) {\r\n  src -> tgt.use = 'official' then {\r\n    src.item first as itm1 where linkId = 'Ccc.A.DE21.1' then {\r\n      itm1.item first as item where (linkId = 'Ccc.A.DE23') and answer.exists() then {\r\n        item.answer first as a then {\r\n          a.value as val -> tgt.family = val "77d1bd4f";\r\n        } "e0827d5d";\r\n      } "8c426238";\r\n    } "4cc155ee";\r\n    src.item first as itm1 where linkId = 'Ccc.A.DE21.1' then {\r\n      itm1.item first as item where (linkId = 'Ccc.A.DE21') and answer.exists() then {\r\n        item.answer first as a then {\r\n          a.value as val -> tgt.given = val "5d3d44f6";\r\n        } "18edd234";\r\n      } "ad3fbc15";\r\n    } "8bc880ed";\r\n    src.item first as itm1 where linkId = 'Ccc.A.DE21.1' then {\r\n      itm1.item first as item where (linkId = 'Ccc.A.DE22') and answer.exists() then {\r\n        item.answer first as a then {\r\n          a.value as val -> tgt.given = val "5d3d44f6";\r\n        } "18edd234";\r\n      } "e9ba83c8";\r\n    } "17d8d988";\r\n  } "f41b9847";\r\n}\r\n\r\ngroup MapValueSetExtCodeCccade24(source src, target tgt) {\r\n  src -> tgt then {\r\n    src ->  tgt.relationship = create('CodeableConcept') as cc,  cc.coding = create('Coding') as coding then {\r\n      src where value.code = 'Ccc.A.DE25' ->  coding.code = 'MTH',  coding.system = 'http://terminology.hl7.org/CodeSystem/v3-RoleCode' "abd34a78";\r\n      src where value.code = 'Ccc.A.DE26' ->  coding.code = 'FTH',  coding.system = 'http://terminology.hl7.org/CodeSystem/v3-RoleCode' "b53d1d15";\r\n      src where value.code = 'Ccc.A.DE27' ->  coding.code = 'SIB',  coding.system = 'http://terminology.hl7.org/CodeSystem/v3-RoleCode' "949ee35f";\r\n      src where value.code = 'Ccc.A.DE28' ->  coding.code = 'EXT',  coding.system = 'http://terminology.hl7.org/CodeSystem/v3-RoleCode' "7c5a4400";\r\n      src where value.code = 'Ccc.A.DE29' ->  coding.code = 'PRNINLAW',  coding.system = 'http://terminology.hl7.org/CodeSystem/v3-RoleCode' "544df0cc";\r\n      src where value.code = 'Ccc.A.DE30' ->  coding.code = 'U',  coding.system = 'http://terminology.hl7.org/CodeSystem/v2-0131' "8c2d96fc";\r\n    } "4a251df5";\r\n  } "1b7b6d7a";\r\n}\r\n\r\ngroup relatedperson(source src : questionnaireResponse, target tgt : RelatedPerson) {\r\n  src.item first as item where (linkId = 'Cccrelatedpersoncaregiverid') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val ->  tgt.extension = create('Extension') as ext,  ext.url = 'https://smart.who.int/ccc/StructureDefinition/primary-caregiver',  ext.value = create('Reference') as ref,  ref.reference = append('/RelatedPerson/', val) "aCccrelatedpersoncaregiverid";\r\n    } "aCccrelatedpersoncaregiverid";\r\n  } "04cd0ec2";\r\n  src.item first as itm1 where linkId = 'Ccc.A.DE21.1' then {\r\n    itm1.item first as item where (linkId = 'Ccc.A.DE23') or (linkId = 'Ccc.A.DE21') or ((linkId = 'Ccc.A.DE22') and answer.exists()) then {\r\n      src ->  tgt as target,  target.name as name then SetOfficalGivenNamerelatedperson(src, name) "8e1455ea";\r\n    } "18dc21d5";\r\n  } "f0e6459e";\r\n  src.item first as itm1 where linkId = 'Ccc.A.DE21.1' then {\r\n    itm1.item first as item where (linkId = 'Ccc.A.DE35') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a.value as val ->  tgt.telecom as tel,  tel.system = 'phone',  tel.use = 'mobile',  tel.value = val "aCccade35";\r\n      } "aCccade35";\r\n    } "9731ba92";\r\n  } "30b90d37";\r\n  src.item first as itm1 where linkId = 'Ccc.A.DE21.1' then {\r\n    itm1.item first as item where (linkId = 'relatedpersonid') and answer.exists() then {\r\n      item.answer first as a -> tgt then {\r\n        src.subject as subject -> tgt.patient = subject "patient";\r\n      } "arelatedpersonid";\r\n    } "d79d72db";\r\n  } "d50c1aed";\r\n  src.item first as itm1 where linkId = 'Ccc.A.DE21.1' then {\r\n    itm1.item first as item where (linkId = 'Ccc.A.DE24') and answer.exists() then {\r\n      item.answer first as a then MapValueSetExtCodeCccade24(a, tgt) "24e5e488";\r\n    } "6adb811a";\r\n  } "92a0e955";\r\n}\r\n\r\ngroup communicationrequestCccade38(source src, target tgt) {\r\n  src ->  tgt.category = create('CodeableConcept') as cc,  cc.coding = create('Coding') as c,  c.system = 'http://hl7.org/fhir/ValueSet/communication-category',  c.code = 'notification' "053233cd";\r\n  src.questionnaire as q ->  tgt.about = create('Reference') as ref,  ref.type = 'Questionnaire',  ref.reference = q "quest";\r\n  src.subject as subject -> tgt.subject = subject "fe3bec4d";\r\n  src -> tgt.recipient = create('Reference') as ref then {\r\n    src -> ref.type = 'RelatedPerson' "c26ab31f";\r\n    src.item first as item where linkId = 'CccrelatedpersonCaregiveruuid' -> tgt then {\r\n      item.answer first as a -> tgt then {\r\n        a.value as val -> ref.reference = append('/RelatedPerson/', val) "25b16148";\r\n      } "00b2016a";\r\n    } "3c6c4c80";\r\n  } "eaa7d3cf";\r\n}\r\n\r\n
" }, - "url": "https://smart.who.int/ccc/StructureMap/emcarea.registration.p", - "name": "emcarea.registration.p", + "url": "https://smart.who.int/ccc/StructureMap/Ccca.registration.p", + "name": "Ccca.registration.p", "status": "active", "structure": [ { @@ -35,9 +35,9 @@ "alias": "'CommunicationRequest'" }, { - "url": "https://smart.who.int/ccc/StructureDefinition/emcarepatient", + "url": "https://smart.who.int/ccc/StructureDefinition/Cccpatient", "mode": "produced", - "alias": "'EmCare Patient'" + "alias": "'Ccc Patient'" }, { "url": "https://smart.who.int/ccc/StructureDefinition/relatedperson", @@ -105,7 +105,7 @@ ] }, { - "name": "put-emcarepatient", + "name": "put-Cccpatient", "source": [ { "context": "src" @@ -217,7 +217,7 @@ ], "dependent": [ { - "name": "emcarepatient", + "name": "Cccpatient", "variable": [ "src", "tgt" @@ -237,7 +237,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.A.DE21.1'" + "condition": "linkId = 'Ccc.A.DE21.1'" } ], "rule": [ @@ -379,7 +379,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.A.DE21.1'" + "condition": "linkId = 'Ccc.A.DE21.1'" } ], "rule": [ @@ -391,7 +391,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.A.DE38') and answer.exists()" + "condition": "(linkId = 'Ccc.A.DE38') and answer.exists()" } ], "rule": [ @@ -499,7 +499,7 @@ ], "dependent": [ { - "name": "communicationrequestemcareade38", + "name": "communicationrequestCccade38", "variable": [ "src", "tgt" @@ -518,7 +518,7 @@ ] }, { - "name": "SetOfficalGivenNameemcarepatient", + "name": "SetOfficalGivenNameCccpatient", "typeMode": "none", "input": [ { @@ -560,7 +560,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.A.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.A.DE06') and answer.exists()" } ], "rule": [ @@ -610,7 +610,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.A.DE04') and answer.exists()" + "condition": "(linkId = 'Ccc.A.DE04') and answer.exists()" } ], "rule": [ @@ -660,7 +660,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.A.DE05') and answer.exists()" + "condition": "(linkId = 'Ccc.A.DE05') and answer.exists()" } ], "rule": [ @@ -707,7 +707,7 @@ ] }, { - "name": "MapValueSetExtCodeemcareade16", + "name": "MapValueSetExtCodeCccade16", "typeMode": "none", "input": [ { @@ -763,7 +763,7 @@ "source": [ { "context": "src", - "condition": "value.code = 'EmCare.A.DE17'" + "condition": "value.code = 'Ccc.A.DE17'" } ], "target": [ @@ -785,7 +785,7 @@ "source": [ { "context": "src", - "condition": "value.code = 'EmCare.A.DE18'" + "condition": "value.code = 'Ccc.A.DE18'" } ], "target": [ @@ -807,7 +807,7 @@ "source": [ { "context": "src", - "condition": "value.code = 'EmCare.A.DE19'" + "condition": "value.code = 'Ccc.A.DE19'" } ], "target": [ @@ -831,7 +831,7 @@ ] }, { - "name": "emcarepatient", + "name": "Cccpatient", "typeMode": "none", "input": [ { @@ -854,12 +854,12 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.A.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.A.DE01') and answer.exists()" } ], "rule": [ { - "name": "aemcareade01", + "name": "aCccade01", "source": [ { "context": "item", @@ -870,7 +870,7 @@ ], "rule": [ { - "name": "aemcareade01", + "name": "aCccade01", "source": [ { "context": "a", @@ -939,12 +939,12 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.A.DE03') and answer.exists()" + "condition": "(linkId = 'Ccc.A.DE03') and answer.exists()" } ], "rule": [ { - "name": "aemcareade03", + "name": "aCccade03", "source": [ { "context": "item", @@ -1000,7 +1000,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.A.DE06') or (linkId = 'EmCare.A.DE04') or ((linkId = 'EmCare.A.DE05') and answer.exists())" + "condition": "(linkId = 'Ccc.A.DE06') or (linkId = 'Ccc.A.DE04') or ((linkId = 'Ccc.A.DE05') and answer.exists())" } ], "rule": [ @@ -1031,7 +1031,7 @@ ], "dependent": [ { - "name": "SetOfficalGivenNameemcarepatient", + "name": "SetOfficalGivenNameCccpatient", "variable": [ "src", "name" @@ -1049,12 +1049,12 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.A.DE12') and answer.exists()" + "condition": "(linkId = 'Ccc.A.DE12') and answer.exists()" } ], "rule": [ { - "name": "aemcareade12", + "name": "aCccade12", "source": [ { "context": "item", @@ -1065,7 +1065,7 @@ ], "rule": [ { - "name": "aemcareade12", + "name": "aCccade12", "source": [ { "context": "a", @@ -1122,12 +1122,12 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.A.DE08') and answer.exists()" + "condition": "(linkId = 'Ccc.A.DE08') and answer.exists()" } ], "rule": [ { - "name": "aemcareade08", + "name": "aCccade08", "source": [ { "context": "item", @@ -1138,7 +1138,7 @@ ], "rule": [ { - "name": "aemcareade08", + "name": "aCccade08", "source": [ { "context": "a", @@ -1172,7 +1172,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.A.DE16') and answer.exists()" + "condition": "(linkId = 'Ccc.A.DE16') and answer.exists()" } ], "rule": [ @@ -1188,7 +1188,7 @@ ], "dependent": [ { - "name": "MapValueSetExtCodeemcareade16", + "name": "MapValueSetExtCodeCccade16", "variable": [ "a", "tgt" @@ -1206,12 +1206,12 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.A.DE48') and answer.exists()" + "condition": "(linkId = 'Ccc.A.DE48') and answer.exists()" } ], "rule": [ { - "name": "aemcareade48", + "name": "aCccade48", "source": [ { "context": "item", @@ -1279,7 +1279,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.A.DE21.1'" + "condition": "linkId = 'Ccc.A.DE21.1'" } ], "rule": [ @@ -1291,12 +1291,12 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.A.DE31') and answer.exists()" + "condition": "(linkId = 'Ccc.A.DE31') and answer.exists()" } ], "rule": [ { - "name": "aemcareade31", + "name": "aCccade31", "source": [ { "context": "item", @@ -1307,7 +1307,7 @@ ], "rule": [ { - "name": "aemcareade31", + "name": "aCccade31", "source": [ { "context": "a", @@ -1366,7 +1366,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.A.DE21.1'" + "condition": "linkId = 'Ccc.A.DE21.1'" } ], "rule": [ @@ -1378,12 +1378,12 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.A.DE32') and answer.exists()" + "condition": "(linkId = 'Ccc.A.DE32') and answer.exists()" } ], "rule": [ { - "name": "aemcareade32", + "name": "aCccade32", "source": [ { "context": "item", @@ -1394,7 +1394,7 @@ ], "rule": [ { - "name": "aemcareade32", + "name": "aCccade32", "source": [ { "context": "a", @@ -1490,7 +1490,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.A.DE21.1'" + "condition": "linkId = 'Ccc.A.DE21.1'" } ], "rule": [ @@ -1502,7 +1502,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.A.DE23') and answer.exists()" + "condition": "(linkId = 'Ccc.A.DE23') and answer.exists()" } ], "rule": [ @@ -1554,7 +1554,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.A.DE21.1'" + "condition": "linkId = 'Ccc.A.DE21.1'" } ], "rule": [ @@ -1566,7 +1566,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.A.DE21') and answer.exists()" + "condition": "(linkId = 'Ccc.A.DE21') and answer.exists()" } ], "rule": [ @@ -1618,7 +1618,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.A.DE21.1'" + "condition": "linkId = 'Ccc.A.DE21.1'" } ], "rule": [ @@ -1630,7 +1630,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.A.DE22') and answer.exists()" + "condition": "(linkId = 'Ccc.A.DE22') and answer.exists()" } ], "rule": [ @@ -1679,7 +1679,7 @@ ] }, { - "name": "MapValueSetExtCodeemcareade24", + "name": "MapValueSetExtCodeCccade24", "typeMode": "none", "input": [ { @@ -1750,7 +1750,7 @@ "source": [ { "context": "src", - "condition": "value.code = 'EmCare.A.DE25'" + "condition": "value.code = 'Ccc.A.DE25'" } ], "target": [ @@ -1783,7 +1783,7 @@ "source": [ { "context": "src", - "condition": "value.code = 'EmCare.A.DE26'" + "condition": "value.code = 'Ccc.A.DE26'" } ], "target": [ @@ -1816,7 +1816,7 @@ "source": [ { "context": "src", - "condition": "value.code = 'EmCare.A.DE27'" + "condition": "value.code = 'Ccc.A.DE27'" } ], "target": [ @@ -1849,7 +1849,7 @@ "source": [ { "context": "src", - "condition": "value.code = 'EmCare.A.DE28'" + "condition": "value.code = 'Ccc.A.DE28'" } ], "target": [ @@ -1882,7 +1882,7 @@ "source": [ { "context": "src", - "condition": "value.code = 'EmCare.A.DE29'" + "condition": "value.code = 'Ccc.A.DE29'" } ], "target": [ @@ -1915,7 +1915,7 @@ "source": [ { "context": "src", - "condition": "value.code = 'EmCare.A.DE30'" + "condition": "value.code = 'Ccc.A.DE30'" } ], "target": [ @@ -1973,12 +1973,12 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'emcarerelatedpersoncaregiverid') and answer.exists()" + "condition": "(linkId = 'Cccrelatedpersoncaregiverid') and answer.exists()" } ], "rule": [ { - "name": "aemcarerelatedpersoncaregiverid", + "name": "aCccrelatedpersoncaregiverid", "source": [ { "context": "item", @@ -1989,7 +1989,7 @@ ], "rule": [ { - "name": "aemcarerelatedpersoncaregiverid", + "name": "aCccrelatedpersoncaregiverid", "source": [ { "context": "a", @@ -2061,7 +2061,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.A.DE21.1'" + "condition": "linkId = 'Ccc.A.DE21.1'" } ], "rule": [ @@ -2073,7 +2073,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.A.DE23') or (linkId = 'EmCare.A.DE21') or ((linkId = 'EmCare.A.DE22') and answer.exists())" + "condition": "(linkId = 'Ccc.A.DE23') or (linkId = 'Ccc.A.DE21') or ((linkId = 'Ccc.A.DE22') and answer.exists())" } ], "rule": [ @@ -2124,7 +2124,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.A.DE21.1'" + "condition": "linkId = 'Ccc.A.DE21.1'" } ], "rule": [ @@ -2136,12 +2136,12 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.A.DE35') and answer.exists()" + "condition": "(linkId = 'Ccc.A.DE35') and answer.exists()" } ], "rule": [ { - "name": "aemcareade35", + "name": "aCccade35", "source": [ { "context": "item", @@ -2152,7 +2152,7 @@ ], "rule": [ { - "name": "aemcareade35", + "name": "aCccade35", "source": [ { "context": "a", @@ -2216,7 +2216,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.A.DE21.1'" + "condition": "linkId = 'Ccc.A.DE21.1'" } ], "rule": [ @@ -2291,7 +2291,7 @@ "element": "item", "listMode": "first", "variable": "itm1", - "condition": "linkId = 'EmCare.A.DE21.1'" + "condition": "linkId = 'Ccc.A.DE21.1'" } ], "rule": [ @@ -2303,7 +2303,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.A.DE24') and answer.exists()" + "condition": "(linkId = 'Ccc.A.DE24') and answer.exists()" } ], "rule": [ @@ -2319,7 +2319,7 @@ ], "dependent": [ { - "name": "MapValueSetExtCodeemcareade24", + "name": "MapValueSetExtCodeCccade24", "variable": [ "a", "tgt" @@ -2334,7 +2334,7 @@ ] }, { - "name": "communicationrequestemcareade38", + "name": "communicationrequestCccade38", "typeMode": "none", "input": [ { @@ -2523,7 +2523,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "linkId = 'emcarerelatedpersonCaregiveruuid'" + "condition": "linkId = 'CccrelatedpersonCaregiveruuid'" } ], "target": [ diff --git a/input/resources/structuremap/structuremap-emcareb.registration.e.json b/input/resources/structuremap/structuremap-Cccb.registration.e.json similarity index 86% rename from input/resources/structuremap/structuremap-emcareb.registration.e.json rename to input/resources/structuremap/structuremap-Cccb.registration.e.json index ddacc2b0..7e316630 100644 --- a/input/resources/structuremap/structuremap-emcareb.registration.e.json +++ b/input/resources/structuremap/structuremap-Cccb.registration.e.json @@ -1,12 +1,12 @@ { "resourceType": "StructureMap", - "id": "emcareb.registration.e", + "id": "Cccb.registration.e", "text": { "status": "generated", - "div": "
map "https://smart.who.int/ccc/StructureMap/emcareb.registration.e" = "emcareb.registration.e"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/encounter" alias 'Encounter' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/observation" alias 'Observation' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/emcareencounter" alias 'EmCare Encounter' as produced\r\nuses "https://smart.who.int/ccc/StructureDefinition/emcareobservation" alias 'EmCare Observation' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src -> bundle.entry as entry then {\r\n    src.encounter as encounter then {\r\n      encounter.id as idval ->  entry.request as request,  request.method = 'PUT',  request.url = append('/Encounter/', idval) "f7ed42d5";\r\n    } "49f4ed45";\r\n    src -> entry.resource = create('Encounter') as tgt then {\r\n      src -> tgt then emcareencounter(src, tgt) "fd415ba8";\r\n      src.subject as sub -> tgt.subject = sub "23252e10";\r\n    } "8f0160c6";\r\n  } "put-emcareencounter";\r\n  src.item first as item where (linkId = 'EmCare.B3.DE05') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then emcareobservationemcareb3de05(src, tgt) "918130f9";\r\n      } "172606cb";\r\n    } "a322e7db";\r\n  } "1af195c5";\r\n}\r\n\r\ngroup emcareencounter(source src : questionnaireResponse, target tgt : Encounter) {\r\n  src.item first as item where (linkId = 'EmCare.B3.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val ->  tgt.reasonCode = create('CodeableConcept') as CC,  CC.text = 'new consultation',  CC.coding = val "aemcareb3de01";\r\n    } "aemcareb3de01";\r\n  } "5ea28a7f";\r\n  src.item first as item where (linkId = 'EmCare.B3.DE06') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val ->  tgt.type = create('CodeableConcept') as CC,  CC.text = 'new consultation',  CC.coding = val "aemcareb3de06";\r\n    } "aemcareb3de06";\r\n  } "58ee7f8b";\r\n}\r\n\r\ngroup emcareobservationemcareb3de05(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-emcareb3de05";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/emcareobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes',  coding.code = 'EmCare.B3.DE05' "code-emcareb3de05";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'EmCare.B3.DE05') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-emcareb3de05";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-emcareb3de05";\r\n    } "bdab9370";\r\n  } "5cf8dcb4";\r\n}\r\n\r\n
" + "div": "
map "https://smart.who.int/ccc/StructureMap/Cccb.registration.e" = "Cccb.registration.e"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/encounter" alias 'Encounter' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/observation" alias 'Observation' as target\r\nuses "https://smart.who.int/ccc/StructureDefinition/Cccencounter" alias 'Ccc Encounter' as produced\r\nuses "https://smart.who.int/ccc/StructureDefinition/Cccobservation" alias 'Ccc Observation' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n  src -> bundle.id = uuid() "id";\r\n  src -> bundle.type = 'batch' "type";\r\n  src -> bundle.entry as entry then {\r\n    src.encounter as encounter then {\r\n      encounter.id as idval ->  entry.request as request,  request.method = 'PUT',  request.url = append('/Encounter/', idval) "f7ed42d5";\r\n    } "49f4ed45";\r\n    src -> entry.resource = create('Encounter') as tgt then {\r\n      src -> tgt then Cccencounter(src, tgt) "fd415ba8";\r\n      src.subject as sub -> tgt.subject = sub "23252e10";\r\n    } "8f0160c6";\r\n  } "put-Cccencounter";\r\n  src.item first as item where (linkId = 'Ccc.B3.DE05') and answer.exists() then {\r\n    src -> bundle.entry as entry then {\r\n      src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";\r\n      src -> entry.resource = create('Observation') as tgt then {\r\n        src -> tgt then CccobservationCccb3de05(src, tgt) "918130f9";\r\n      } "172606cb";\r\n    } "a322e7db";\r\n  } "1af195c5";\r\n}\r\n\r\ngroup Cccencounter(source src : questionnaireResponse, target tgt : Encounter) {\r\n  src.item first as item where (linkId = 'Ccc.B3.DE01') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val ->  tgt.reasonCode = create('CodeableConcept') as CC,  CC.text = 'new consultation',  CC.coding = val "aCccb3de01";\r\n    } "aCccb3de01";\r\n  } "5ea28a7f";\r\n  src.item first as item where (linkId = 'Ccc.B3.DE06') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a.value as val ->  tgt.type = create('CodeableConcept') as CC,  CC.text = 'new consultation',  CC.coding = val "aCccb3de06";\r\n    } "aCccb3de06";\r\n  } "58ee7f8b";\r\n}\r\n\r\ngroup CccobservationCccb3de05(source src, target tgt) {\r\n  src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb3de05";\r\n  src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n  src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B3.DE05' "code-Cccb3de05";\r\n  src.item as itemtimestamp where linkId = 'timestamp' then {\r\n    itemtimestamp.answer first as atimestamp then {\r\n      atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n    } "7f22f29f";\r\n  } "aae7a11d";\r\n  src.subject as subject -> tgt.subject = subject "patient";\r\n  src.item first as item where (linkId = 'Ccc.B3.DE05') and answer.exists() then {\r\n    item.answer first as a then {\r\n      a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb3de05";\r\n      a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb3de05";\r\n    } "bdab9370";\r\n  } "5cf8dcb4";\r\n}\r\n\r\n
" }, - "url": "https://smart.who.int/ccc/StructureMap/emcareb.registration.e", - "name": "emcareb.registration.e", + "url": "https://smart.who.int/ccc/StructureMap/Cccb.registration.e", + "name": "Cccb.registration.e", "status": "active", "structure": [ { @@ -30,14 +30,14 @@ "alias": "'Observation'" }, { - "url": "https://smart.who.int/ccc/StructureDefinition/emcareencounter", + "url": "https://smart.who.int/ccc/StructureDefinition/Cccencounter", "mode": "produced", - "alias": "'EmCare Encounter'" + "alias": "'Ccc Encounter'" }, { - "url": "https://smart.who.int/ccc/StructureDefinition/emcareobservation", + "url": "https://smart.who.int/ccc/StructureDefinition/Cccobservation", "mode": "produced", - "alias": "'EmCare Observation'" + "alias": "'Ccc Observation'" } ], "group": [ @@ -95,7 +95,7 @@ ] }, { - "name": "put-emcareencounter", + "name": "put-Cccencounter", "source": [ { "context": "src" @@ -207,7 +207,7 @@ ], "dependent": [ { - "name": "emcareencounter", + "name": "Cccencounter", "variable": [ "src", "tgt" @@ -250,7 +250,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B3.DE05') and answer.exists()" + "condition": "(linkId = 'Ccc.B3.DE05') and answer.exists()" } ], "rule": [ @@ -358,7 +358,7 @@ ], "dependent": [ { - "name": "emcareobservationemcareb3de05", + "name": "CccobservationCccb3de05", "variable": [ "src", "tgt" @@ -375,7 +375,7 @@ ] }, { - "name": "emcareencounter", + "name": "Cccencounter", "typeMode": "none", "input": [ { @@ -398,12 +398,12 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B3.DE01') and answer.exists()" + "condition": "(linkId = 'Ccc.B3.DE01') and answer.exists()" } ], "rule": [ { - "name": "aemcareb3de01", + "name": "aCccb3de01", "source": [ { "context": "item", @@ -414,7 +414,7 @@ ], "rule": [ { - "name": "aemcareb3de01", + "name": "aCccb3de01", "source": [ { "context": "a", @@ -471,12 +471,12 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B3.DE06') and answer.exists()" + "condition": "(linkId = 'Ccc.B3.DE06') and answer.exists()" } ], "rule": [ { - "name": "aemcareb3de06", + "name": "aCccb3de06", "source": [ { "context": "item", @@ -487,7 +487,7 @@ ], "rule": [ { - "name": "aemcareb3de06", + "name": "aCccb3de06", "source": [ { "context": "a", @@ -539,7 +539,7 @@ ] }, { - "name": "emcareobservationemcareb3de05", + "name": "CccobservationCccb3de05", "typeMode": "none", "input": [ { @@ -553,7 +553,7 @@ ], "rule": [ { - "name": "id-emcareb3de05", + "name": "id-Cccb3de05", "source": [ { "context": "src" @@ -637,7 +637,7 @@ ] }, { - "name": "code-emcareb3de05", + "name": "code-Cccb3de05", "source": [ { "context": "src", @@ -676,7 +676,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/StructureDefinition/emcareobservation" + "valueString": "https://smart.who.int/ccc/StructureDefinition/Cccobservation" } ] }, @@ -711,7 +711,7 @@ "transform": "copy", "parameter": [ { - "valueString": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes" + "valueString": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes" } ] }, @@ -722,7 +722,7 @@ "transform": "copy", "parameter": [ { - "valueString": "EmCare.B3.DE05" + "valueString": "Ccc.B3.DE05" } ] } @@ -808,7 +808,7 @@ "element": "item", "listMode": "first", "variable": "item", - "condition": "(linkId = 'EmCare.B3.DE05') and answer.exists()" + "condition": "(linkId = 'Ccc.B3.DE05') and answer.exists()" } ], "rule": [ @@ -824,7 +824,7 @@ ], "rule": [ { - "name": "final-emcareb3de05", + "name": "final-Cccb3de05", "source": [ { "context": "a", @@ -857,7 +857,7 @@ ] }, { - "name": "notfound-emcareb3de05", + "name": "notfound-Cccb3de05", "source": [ { "context": "a", diff --git a/input/resources/valueset/valueset-emcarecondition.json b/input/resources/valueset/valueset-Ccccondition.json similarity index 70% rename from input/resources/valueset/valueset-emcarecondition.json rename to input/resources/valueset/valueset-Ccccondition.json index 3186dce6..874c785f 100644 --- a/input/resources/valueset/valueset-emcarecondition.json +++ b/input/resources/valueset/valueset-Ccccondition.json @@ -1,8 +1,8 @@ { "resourceType": "ValueSet", - "id": "emcarecondition", - "url": "https://smart.who.int/ccc/ValueSet/emcarecondition", - "name": "valueset-emcarecondition", + "id": "Ccccondition", + "url": "https://smart.who.int/ccc/ValueSet/Ccccondition", + "name": "valueset-Ccccondition", "status": "draft", "experimental": false, "description": "Codes representing possible values for the Provide an estimated age or estimated date of birth element", @@ -10,58 +10,58 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B23.DE83", + "code": "Ccc.B23.DE83", "display": "possible serious bacterial infection or very severe disease" }, { - "code": "EmCare.B23.DE06", + "code": "Ccc.B23.DE06", "display": "pneumonia" }, { - "code": "EmCare.B23.DE85", + "code": "Ccc.B23.DE85", "display": "local infection" }, { - "code": "EmCare.B23.DE86", + "code": "Ccc.B23.DE86", "display": "infection unlikely" }, { - "code": "EmCare.B23.DE106", + "code": "Ccc.B23.DE106", "display": "very low weight for age" }, { - "code": "EmCare.B23.DE87", + "code": "Ccc.B23.DE87", "display": "severe jaundice" }, { - "code": "EmCare.B23.DE88", + "code": "Ccc.B23.DE88", "display": "jaundice" }, { - "code": "EmCare.B23.DE89", + "code": "Ccc.B23.DE89", "display": "no jaundice" }, { - "code": "EmCare.B23.DE13", + "code": "Ccc.B23.DE13", "display": "severe dehydration" }, { - "code": "EmCare.B23.DE14", + "code": "Ccc.B23.DE14", "display": "some dehydration" }, { - "code": "EmCare.B23.DE15", + "code": "Ccc.B23.DE15", "display": "no dehydration" }, { - "code": "EmCare.B23.DE94", + "code": "Ccc.B23.DE94", "display": "feeding problem and / or low weight for age" }, { - "code": "EmCare.B23.DE98", + "code": "Ccc.B23.DE98", "display": "no feeding problem" }, { @@ -69,15 +69,15 @@ "display": "add other classifications" }, { - "code": "EmCare.B23.DE01", + "code": "Ccc.B23.DE01", "display": "very severe disease" }, { - "code": "EmCare.B23.DE03", + "code": "Ccc.B23.DE03", "display": "severe pneumonia or very severe disease" }, { - "code": "EmCare.B23.DE10", + "code": "Ccc.B23.DE10", "display": "cough or cold", "designation": [ { @@ -86,7 +86,7 @@ ] }, { - "code": "EmCare.B23.DE16", + "code": "Ccc.B23.DE16", "display": "severe persistent diarrhoea", "designation": [ { @@ -95,7 +95,7 @@ ] }, { - "code": "EmCare.B23.DE17", + "code": "Ccc.B23.DE17", "display": "persistent diarrhoea", "designation": [ { @@ -104,7 +104,7 @@ ] }, { - "code": "EmCare.B23.DE18", + "code": "Ccc.B23.DE18", "display": "dysentery", "designation": [ { @@ -113,7 +113,7 @@ ] }, { - "code": "EmCare.B23.DE18.a", + "code": "Ccc.B23.DE18.a", "display": "possible shigella", "designation": [ { @@ -122,143 +122,143 @@ ] }, { - "code": "EmCare.B23.DE100", + "code": "Ccc.B23.DE100", "display": "throat abscess or possible diptheria" }, { - "code": "EmCare.B23.DE6101", + "code": "Ccc.B23.DE6101", "display": "streptococcal sore throat" }, { - "code": "EmCare.B23.DE6102", + "code": "Ccc.B23.DE6102", "display": "non-streptococcal sore throat" }, { - "code": "EmCare.B23.DE6103", + "code": "Ccc.B23.DE6103", "display": "no throat problem" }, { - "code": "EmCare.B23.DE30", + "code": "Ccc.B23.DE30", "display": "mastoiditis" }, { - "code": "EmCare.B23.DE31", + "code": "Ccc.B23.DE31", "display": "acute ear infection" }, { - "code": "EmCare.B23.DE32", + "code": "Ccc.B23.DE32", "display": "chronic ear infection" }, { - "code": "EmCare.B23.DE33", + "code": "Ccc.B23.DE33", "display": "no ear infection" }, { - "code": "EmCare.B23.DE19", + "code": "Ccc.B23.DE19", "display": "very severe febrile disease" }, { - "code": "EmCare.B23.DE104", + "code": "Ccc.B23.DE104", "display": "fever: possible bacterial infection" }, { - "code": "EmCare.B23.DE105", + "code": "Ccc.B23.DE105", "display": "fever: bacterial infection unlikely" }, { - "code": "EmCare.B23.DE27", + "code": "Ccc.B23.DE27", "display": "severe complicated measles" }, { - "code": "EmCare.B23.DE28", + "code": "Ccc.B23.DE28", "display": "measles with eye or mouth complication" }, { - "code": "EmCare.B23.DE29", + "code": "Ccc.B23.DE29", "display": "possible measles" }, { - "code": "EmCare.B23.DE62", + "code": "Ccc.B23.DE62", "display": "severe anaemia" }, { - "code": "EmCare.B23.DE63", + "code": "Ccc.B23.DE63", "display": "anaemia" }, { - "code": "EmCare.B23.DE64", + "code": "Ccc.B23.DE64", "display": "no anaemia" }, { - "code": "EmCare.B23.DE34", + "code": "Ccc.B23.DE34", "display": "eye infection" }, { - "code": "EmCare.B23.DE35", + "code": "Ccc.B23.DE35", "display": "clouding of the cornea" }, { - "code": "EmCare.B23.DE41", + "code": "Ccc.B23.DE41", "display": "papular urticaria or papular pruritic eruptions" }, { - "code": "EmCare.B23.DE42", + "code": "Ccc.B23.DE42", "display": "ringworm (tinea)" }, { - "code": "EmCare.B23.DE44", + "code": "Ccc.B23.DE44", "display": "scabies" }, { - "code": "EmCare.B23.DE45", + "code": "Ccc.B23.DE45", "display": "chickenpox" }, { - "code": "EmCare.B23.DE47", + "code": "Ccc.B23.DE47", "display": "herpes zoster" }, { - "code": "EmCare.B23.DE49", + "code": "Ccc.B23.DE49", "display": "impetigo" }, { - "code": "EmCare.B23.DE52", + "code": "Ccc.B23.DE52", "display": "molluscum contagiosum" }, { - "code": "EmCare.B23.DE53", + "code": "Ccc.B23.DE53", "display": "warts" }, { - "code": "EmCare.B23.DE54", + "code": "Ccc.B23.DE54", "display": "seborrhoeic dermatitis" }, { - "code": "EmCare.B23.DE56", + "code": "Ccc.B23.DE56", "display": "fixed drug reaction" }, { - "code": "EmCare.B23.DE57", + "code": "Ccc.B23.DE57", "display": "eczema" }, { - "code": "EmCare.B23.DE58", + "code": "Ccc.B23.DE58", "display": "steven johnson syndrome (sjs)" }, { - "code": "EmCare.B23.DE59", + "code": "Ccc.B23.DE59", "display": "mouth sores or ulcer" }, { - "code": "EmCare.B23.DE61", + "code": "Ccc.B23.DE61", "display": "oral thrush" }, { - "code": "EmCare.B23.DE107", + "code": "Ccc.B23.DE107", "display": "low weight for age" }, { - "code": "EmCare.B23.DE108", + "code": "Ccc.B23.DE108", "display": "low muac or visual report of wasting" } ] diff --git a/input/resources/valueset/valueset-emcareobservationvalueset.json b/input/resources/valueset/valueset-Cccobservation-valueset.json similarity index 86% rename from input/resources/valueset/valueset-emcareobservationvalueset.json rename to input/resources/valueset/valueset-Cccobservation-valueset.json index fc1d48cd..627da1cf 100644 --- a/input/resources/valueset/valueset-emcareobservationvalueset.json +++ b/input/resources/valueset/valueset-Cccobservation-valueset.json @@ -1,8 +1,8 @@ { "resourceType": "ValueSet", - "id": "emcareobservationvalueset", - "url": "https://smart.who.int/ccc/ValueSet/emcareobservationvalueset", - "name": "valueset-emcareobservationvalueset", + "id": "Cccobservation-valueset", + "url": "https://smart.who.int/ccc/ValueSet/Cccobservation-valueset", + "name": "valueset-Cccobservation-valueset", "status": "draft", "experimental": false, "description": "Codes representing possible values for the Provide an estimated age or estimated date of birth element", @@ -10,10 +10,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B14S2.DE07", + "code": "Ccc.B14S2.DE07", "display": "generalised skin problem", "designation": [ { @@ -22,7 +22,7 @@ ] }, { - "code": "EmCare.B14S2.DE08", + "code": "Ccc.B14S2.DE08", "display": "localised skin problem", "designation": [ { @@ -31,7 +31,7 @@ ] }, { - "code": "EmCare.B14S2.DE09", + "code": "Ccc.B14S2.DE09", "display": "no problem", "designation": [ { @@ -40,7 +40,7 @@ ] }, { - "code": "EmCare.B14S2.DE18", + "code": "Ccc.B14S2.DE18", "display": "papular urticaria or papular pruritic eruptions", "designation": [ { @@ -49,7 +49,7 @@ ] }, { - "code": "EmCare.B14S2.DE19", + "code": "Ccc.B14S2.DE19", "display": "ringworm (tinea)", "designation": [ { @@ -58,7 +58,7 @@ ] }, { - "code": "EmCare.B14S2.DE21", + "code": "Ccc.B14S2.DE21", "display": "scabies", "designation": [ { @@ -67,7 +67,7 @@ ] }, { - "code": "EmCare.B14S2.DE22", + "code": "Ccc.B14S2.DE22", "display": "chickenpox", "designation": [ { @@ -76,7 +76,7 @@ ] }, { - "code": "EmCare.B14S2.DE23", + "code": "Ccc.B14S2.DE23", "display": "herpes zoster", "designation": [ { @@ -85,7 +85,7 @@ ] }, { - "code": "EmCare.B14S2.DE25", + "code": "Ccc.B14S2.DE25", "display": "impetigo", "designation": [ { @@ -94,7 +94,7 @@ ] }, { - "code": "EmCare.B14S2.DE31", + "code": "Ccc.B14S2.DE31", "display": "molluscum contagiosum", "designation": [ { @@ -103,7 +103,7 @@ ] }, { - "code": "EmCare.B14S2.DE32", + "code": "Ccc.B14S2.DE32", "display": "warts", "designation": [ { @@ -112,7 +112,7 @@ ] }, { - "code": "EmCare.B14S2.DE33", + "code": "Ccc.B14S2.DE33", "display": "seborrhoeic dermatitis", "designation": [ { @@ -121,7 +121,7 @@ ] }, { - "code": "EmCare.B14S2.DE35", + "code": "Ccc.B14S2.DE35", "display": "fixed drug reaction", "designation": [ { @@ -130,7 +130,7 @@ ] }, { - "code": "EmCare.B14S2.DE36", + "code": "Ccc.B14S2.DE36", "display": "eczema", "designation": [ { @@ -139,7 +139,7 @@ ] }, { - "code": "EmCare.B14S2.DE37", + "code": "Ccc.B14S2.DE37", "display": "steven johnson syndrome (sjs)", "designation": [ { @@ -148,7 +148,7 @@ ] }, { - "code": "EmCare.B14S2.DE44", + "code": "Ccc.B14S2.DE44", "display": "skin problem", "designation": [ { @@ -157,7 +157,7 @@ ] }, { - "code": "EmCare.B14S2.DE45", + "code": "Ccc.B14S2.DE45", "display": "oral sores or mouth ulcers", "designation": [ { @@ -166,7 +166,7 @@ ] }, { - "code": "EmCare.B14S2.DE46", + "code": "Ccc.B14S2.DE46", "display": "eye problem", "designation": [ { @@ -175,7 +175,7 @@ ] }, { - "code": "EmCare.B14S2.DE47", + "code": "Ccc.B14S2.DE47", "display": "no - do not add a skin or mouth or eye problem", "designation": [ { @@ -184,7 +184,7 @@ ] }, { - "code": "EmCare.B21S2.DE29", + "code": "Ccc.B21S2.DE29", "display": "no breastmilk at all", "designation": [ { @@ -193,7 +193,7 @@ ] }, { - "code": "EmCare.B21S2.DE11", + "code": "Ccc.B21S2.DE11", "display": "inappropriate replacement milk", "designation": [ { @@ -202,7 +202,7 @@ ] }, { - "code": "EmCare.B21S2.DE10", + "code": "Ccc.B21S2.DE10", "display": "appropriate replacement milk", "designation": [ { @@ -211,23 +211,23 @@ ] }, { - "code": "EmCare.B22.DE18", + "code": "Ccc.B22.DE18", "display": "chest indrawing (post inhaled bronchodilator trial)" }, { - "code": "EmCare.B22.DE19", + "code": "Ccc.B22.DE19", "display": "respiratory rate (post inhaled bronchodilator trial)" }, { - "code": "EmCare.B22.DE20", + "code": "Ccc.B22.DE20", "display": "fast breathing (post inhaled bronchodilator trial)" }, { - "code": "EmCare.B22.DE21", + "code": "Ccc.B22.DE21", "display": "no fast breathing and no chest indrawing (post inhaled bronchodilator trial)" }, { - "code": "EmCare.B22.DE22", + "code": "Ccc.B22.DE22", "display": "inhaled bronchodilator trial not feasible or available" } ] diff --git a/input/resources/valueset/valueset-emcareobservation.json b/input/resources/valueset/valueset-Cccobservation.json similarity index 86% rename from input/resources/valueset/valueset-emcareobservation.json rename to input/resources/valueset/valueset-Cccobservation.json index d9329355..4e914f41 100644 --- a/input/resources/valueset/valueset-emcareobservation.json +++ b/input/resources/valueset/valueset-Cccobservation.json @@ -1,8 +1,8 @@ { "resourceType": "ValueSet", - "id": "emcareobservation", - "url": "https://smart.who.int/ccc/ValueSet/emcareobservation", - "name": "valueset-emcareobservation", + "id": "Cccobservation", + "url": "https://smart.who.int/ccc/ValueSet/Cccobservation", + "name": "valueset-Cccobservation", "status": "draft", "experimental": false, "description": "Codes representing possible values for the Provide an estimated age or estimated date of birth element", @@ -10,10 +10,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B3.DE05", + "code": "Ccc.B3.DE05", "display": "is the child sick today?", "designation": [ { @@ -22,7 +22,7 @@ ] }, { - "code": "EmCare.B7.DE02", + "code": "Ccc.B7.DE02", "display": "convulsing now", "designation": [ { @@ -31,7 +31,7 @@ ] }, { - "code": "EmCare.B7-B8-B9.DE01", + "code": "Ccc.B7-B8-B9.DE01", "display": "continue to assess sick child", "designation": [ { @@ -40,7 +40,7 @@ ] }, { - "code": "EmCare.B7.DE03", + "code": "Ccc.B7.DE03", "display": "convulsion(s) in this illness", "designation": [ { @@ -49,7 +49,7 @@ ] }, { - "code": "EmCare.B7.DE08b", + "code": "Ccc.B7.DE08b", "display": "unconscious or lethargic", "designation": [ { @@ -58,7 +58,7 @@ ] }, { - "code": "EmCare.B7.DE08", + "code": "Ccc.B7.DE08", "display": "unconscious", "designation": [ { @@ -67,7 +67,7 @@ ] }, { - "code": "EmCare.B7.DE08a", + "code": "Ccc.B7.DE08a", "display": "lethargic", "designation": [ { @@ -76,7 +76,7 @@ ] }, { - "code": "EmCare.B7.DE09", + "code": "Ccc.B7.DE09", "display": "not able to drink or breastfeed", "designation": [ { @@ -85,7 +85,7 @@ ] }, { - "code": "EmCare.B7.DE10", + "code": "Ccc.B7.DE10", "display": "vomiting everything", "designation": [ { @@ -94,7 +94,7 @@ ] }, { - "code": "EmCare.B6.DE01", + "code": "Ccc.B6.DE01", "display": "axillary temperature (degrees celcius)", "designation": [ { @@ -103,7 +103,7 @@ ] }, { - "code": "EmCare.B6.DE04", + "code": "Ccc.B6.DE04", "display": "thermometer not available", "designation": [ { @@ -112,7 +112,7 @@ ] }, { - "code": "EmCare.B6.DE05", + "code": "Ccc.B6.DE05", "display": "hot to touch", "designation": [ { @@ -121,7 +121,7 @@ ] }, { - "code": "EmCare.B6.DE01A", + "code": "Ccc.B6.DE01A", "display": "measured temperature", "designation": [ { @@ -130,7 +130,7 @@ ] }, { - "code": "EmCare.B6.DE06", + "code": "Ccc.B6.DE06", "display": "weight (kg)", "designation": [ { @@ -139,7 +139,7 @@ ] }, { - "code": "EmCare.B6.DE08", + "code": "Ccc.B6.DE08", "display": "estimated weight", "designation": [ { @@ -148,7 +148,7 @@ ] }, { - "code": "EmCare.B6.DE09", + "code": "Ccc.B6.DE09", "display": "height", "designation": [ { @@ -157,7 +157,7 @@ ] }, { - "code": "EmCare.B6.DE11", + "code": "Ccc.B6.DE11", "display": "height cannot be measured", "designation": [ { @@ -166,7 +166,7 @@ ] }, { - "code": "EmCare.B6.DE12", + "code": "Ccc.B6.DE12", "display": "length", "designation": [ { @@ -175,7 +175,7 @@ ] }, { - "code": "EmCare.B6.DE16", + "code": "Ccc.B6.DE16", "display": "weight for age (wfa) z scores", "designation": [ { @@ -184,7 +184,7 @@ ] }, { - "code": "EmCare.B6.DE17", + "code": "Ccc.B6.DE17", "display": "muac (mm)", "designation": [ { @@ -193,7 +193,7 @@ ] }, { - "code": "EmCare.B6.DE17a", + "code": "Ccc.B6.DE17a", "display": "muac cannot be measured", "designation": [ { @@ -202,7 +202,7 @@ ] }, { - "code": "EmCare.B6.DE18", + "code": "Ccc.B6.DE18", "display": "visually assess for whether underweight (for drug dose calculation)", "designation": [ { @@ -211,7 +211,7 @@ ] }, { - "code": "EmCare.B18S1.DE02", + "code": "Ccc.B18S1.DE02", "display": "difficulty with feeding", "designation": [ { @@ -220,7 +220,7 @@ ] }, { - "code": "EmCare.B11S1.DE01", + "code": "Ccc.B11S1.DE01", "display": "diarrhoea", "designation": [ { @@ -229,7 +229,7 @@ ] }, { - "code": "EmCare.B21S1.DE06", + "code": "Ccc.B21S1.DE06", "display": "breastfed", "designation": [ { @@ -238,7 +238,7 @@ ] }, { - "code": "EmCare.B18S2.DE07", + "code": "Ccc.B18S2.DE07", "display": "severe chest indrawing", "designation": [ { @@ -247,7 +247,7 @@ ] }, { - "code": "EmCare.B18S2.DE08", + "code": "Ccc.B18S2.DE08", "display": "movements", "designation": [ { @@ -256,7 +256,7 @@ ] }, { - "code": "EmCare.B18S2.DE12", + "code": "Ccc.B18S2.DE12", "display": "umbilicus red or pus draining", "designation": [ { @@ -265,7 +265,7 @@ ] }, { - "code": "EmCare.B18S2.DE13", + "code": "Ccc.B18S2.DE13", "display": "skin pustules", "designation": [ { @@ -274,7 +274,7 @@ ] }, { - "code": "EmCare.B19S2.DE01", + "code": "Ccc.B19S2.DE01", "display": "yellow skin", "designation": [ { @@ -283,7 +283,7 @@ ] }, { - "code": "EmCare.B19S2.DE02", + "code": "Ccc.B19S2.DE02", "display": "yellow palms or yellow soles", "designation": [ { @@ -292,7 +292,7 @@ ] }, { - "code": "EmCare.B19S2.DE04", + "code": "Ccc.B19S2.DE04", "display": "when did the jaundice first appear?", "designation": [ { @@ -301,7 +301,7 @@ ] }, { - "code": "EmCare.B11S2.DE01", + "code": "Ccc.B11S2.DE01", "display": "sunken eyes", "designation": [ { @@ -310,7 +310,7 @@ ] }, { - "code": "EmCare.B11S2.DE02", + "code": "Ccc.B11S2.DE02", "display": "skin pinch of abdomen", "designation": [ { @@ -319,7 +319,7 @@ ] }, { - "code": "EmCare.B11S2.DE06", + "code": "Ccc.B11S2.DE06", "display": "restless and irritable", "designation": [ { @@ -328,7 +328,7 @@ ] }, { - "code": "EmCare.B21S2.DE01", + "code": "Ccc.B21S2.DE01", "display": "weight status", "designation": [ { @@ -337,7 +337,7 @@ ] }, { - "code": "EmCare.B21S2.DE05", + "code": "Ccc.B21S2.DE05", "display": "breastfed how many times in 24 hours?", "designation": [ { @@ -346,7 +346,7 @@ ] }, { - "code": "EmCare.B21S2.DE06", + "code": "Ccc.B21S2.DE06", "display": "sufficient feeds", "designation": [ { @@ -355,7 +355,7 @@ ] }, { - "code": "EmCare.B21S2.DE08", + "code": "Ccc.B21S2.DE08", "display": "young infant receives food or fluids other than breast milk", "designation": [ { @@ -364,7 +364,7 @@ ] }, { - "code": "EmCare.B21S2.DE09", + "code": "Ccc.B21S2.DE09", "display": "what milk is being given as a replacement feed?", "designation": [ { @@ -373,7 +373,7 @@ ] }, { - "code": "EmCare.B21S2.DE12", + "code": "Ccc.B21S2.DE12", "display": "how many replacement feeds during the day and night (24 hours)?", "designation": [ { @@ -382,7 +382,7 @@ ] }, { - "code": "EmCare.B21S2.DE13", + "code": "Ccc.B21S2.DE13", "display": "sufficient replacement feeds (in 24 hours)", "designation": [ { @@ -391,7 +391,7 @@ ] }, { - "code": "EmCare.B21S2.DE15", + "code": "Ccc.B21S2.DE15", "display": "how much milk is given at each feed (ml)?", "designation": [ { @@ -400,7 +400,7 @@ ] }, { - "code": "EmCare.B21S2.DE16", + "code": "Ccc.B21S2.DE16", "display": "sufficient replacement feeds", "designation": [ { @@ -409,7 +409,7 @@ ] }, { - "code": "EmCare.B21S2.DE18", + "code": "Ccc.B21S2.DE18", "display": "how is the milk prepared?", "designation": [ { @@ -418,7 +418,7 @@ ] }, { - "code": "EmCare.B21S2.DE21", + "code": "Ccc.B21S2.DE21", "display": "how is the milk given?", "designation": [ { @@ -427,7 +427,7 @@ ] }, { - "code": "EmCare.B21S2.DE24", + "code": "Ccc.B21S2.DE24", "display": "how are the feeding utensils cleaned?", "designation": [ { @@ -436,7 +436,7 @@ ] }, { - "code": "EmCare.B21S2.DE27", + "code": "Ccc.B21S2.DE27", "display": "do you give any breastmilk at all?", "designation": [ { @@ -445,7 +445,7 @@ ] }, { - "code": "EmCare.B21S2.DE30", + "code": "Ccc.B21S2.DE30", "display": "ulcers or white patches in mouth", "designation": [ { @@ -454,7 +454,7 @@ ] }, { - "code": "EmCare.B21S2.DE31", + "code": "Ccc.B21S2.DE31", "display": "unable to check if ulcers or white patches in mouth", "designation": [ { @@ -463,7 +463,7 @@ ] }, { - "code": "EmCare.B10S1.DE05", + "code": "Ccc.B10S1.DE05", "display": "cough", "designation": [ { @@ -472,7 +472,7 @@ ] }, { - "code": "EmCare.B10S1.DE06", + "code": "Ccc.B10S1.DE06", "display": "cough for how long?", "designation": [ { @@ -481,7 +481,7 @@ ] }, { - "code": "EmCare.B10S1.DE01", + "code": "Ccc.B10S1.DE01", "display": "difficulty breathing", "designation": [ { @@ -490,7 +490,7 @@ ] }, { - "code": "EmCare.B10S1.DE02", + "code": "Ccc.B10S1.DE02", "display": "difficulty breathing for how long?", "designation": [ { @@ -499,7 +499,7 @@ ] }, { - "code": "EmCare.B11S1.DE02", + "code": "Ccc.B11S1.DE02", "display": "diarrhoea for how long?", "designation": [ { @@ -508,7 +508,7 @@ ] }, { - "code": "EmCare.B11S1.DE05", + "code": "Ccc.B11S1.DE05", "display": "blood in the stool in this illness", "designation": [ { @@ -517,7 +517,7 @@ ] }, { - "code": "EmCare.B12S1.DE02", + "code": "Ccc.B12S1.DE02", "display": "fever reported", "designation": [ { @@ -526,15 +526,15 @@ ] }, { - "code": "EmCare.B12S1.DE03", + "code": "Ccc.B12S1.DE03", "display": "fever for how long?" }, { - "code": "EmCare.B.G.DE06", + "code": "Ccc.B.G.DE06", "display": "fever" }, { - "code": "EmCare.B12S1.DE06", + "code": "Ccc.B12S1.DE06", "display": "has fever been present every day since the fever started?", "designation": [ { @@ -543,7 +543,7 @@ ] }, { - "code": "EmCare.B13S1.DE01", + "code": "Ccc.B13S1.DE01", "display": "ear problem", "designation": [ { @@ -552,7 +552,7 @@ ] }, { - "code": "EmCare.B13S1.DE02", + "code": "Ccc.B13S1.DE02", "display": "ear pain", "designation": [ { @@ -561,7 +561,7 @@ ] }, { - "code": "EmCare.B13S1.DE03", + "code": "Ccc.B13S1.DE03", "display": "ear discharge", "designation": [ { @@ -570,7 +570,7 @@ ] }, { - "code": "EmCare.B13S1.DE04", + "code": "Ccc.B13S1.DE04", "display": "ear discharge for how long?", "designation": [ { @@ -579,7 +579,7 @@ ] }, { - "code": "EmCare.B14S1.DE03", + "code": "Ccc.B14S1.DE03", "display": "eye problem", "designation": [ { @@ -588,7 +588,7 @@ ] }, { - "code": "EmCare.B14S1.DE01", + "code": "Ccc.B14S1.DE01", "display": "skin problem", "designation": [ { @@ -597,7 +597,7 @@ ] }, { - "code": "EmCare.B14S1.DE02", + "code": "Ccc.B14S1.DE02", "display": "itchy skin", "designation": [ { @@ -606,7 +606,7 @@ ] }, { - "code": "EmCare.B10S2.DE03", + "code": "Ccc.B10S2.DE03", "display": "chest indrawing", "designation": [ { @@ -615,7 +615,7 @@ ] }, { - "code": "EmCare.B10S2.DE04", + "code": "Ccc.B10S2.DE04", "display": "stridor in a calm child", "designation": [ { @@ -624,7 +624,7 @@ ] }, { - "code": "EmCare.B10S2.DE05", + "code": "Ccc.B10S2.DE05", "display": "wheezing", "designation": [ { @@ -633,7 +633,7 @@ ] }, { - "code": "EmCare.B10S2.DE06", + "code": "Ccc.B10S2.DE06", "display": "recurrent wheeze", "designation": [ { @@ -642,7 +642,7 @@ ] }, { - "code": "EmCare.B10S2.DE07", + "code": "Ccc.B10S2.DE07", "display": "oxygen saturation", "designation": [ { @@ -651,7 +651,7 @@ ] }, { - "code": "EmCare.B17S1.DE01", + "code": "Ccc.B17S1.DE01", "display": "throat problem", "designation": [ { @@ -660,7 +660,7 @@ ] }, { - "code": "EmCare.B17S1.DE02", + "code": "Ccc.B17S1.DE02", "display": "specify throat problem", "designation": [ { @@ -669,7 +669,7 @@ ] }, { - "code": "EmCare.B17S1.DE06", + "code": "Ccc.B17S1.DE06", "display": "enlarged lymph nodes on front of neck", "designation": [ { @@ -678,7 +678,7 @@ ] }, { - "code": "EmCare.B17S1.DE07", + "code": "Ccc.B17S1.DE07", "display": "ability to swallow", "designation": [ { @@ -687,7 +687,7 @@ ] }, { - "code": "EmCare.B13S2.DE01", + "code": "Ccc.B13S2.DE01", "display": "tender swelling behind the ear", "designation": [ { @@ -696,7 +696,7 @@ ] }, { - "code": "EmCare.B13S2.DE02", + "code": "Ccc.B13S2.DE02", "display": "pus seen draining from the ear", "designation": [ { @@ -705,7 +705,7 @@ ] }, { - "code": "EmCare.B13S2.DE03", + "code": "Ccc.B13S2.DE03", "display": "pus seen draining from the ear for how long?", "designation": [ { @@ -714,7 +714,7 @@ ] }, { - "code": "EmCare.B12S2.DE01", + "code": "Ccc.B12S2.DE01", "display": "stiff neck", "designation": [ { @@ -723,7 +723,7 @@ ] }, { - "code": "EmCare.B12S2.DE05", + "code": "Ccc.B12S2.DE05", "display": "runny nose", "designation": [ { @@ -732,7 +732,7 @@ ] }, { - "code": "EmCare.B14S2.DE01", + "code": "Ccc.B14S2.DE01", "display": "red eyes", "designation": [ { @@ -741,7 +741,7 @@ ] }, { - "code": "EmCare.B14S2.DE02", + "code": "Ccc.B14S2.DE02", "display": "pus draining from eye", "designation": [ { @@ -750,7 +750,7 @@ ] }, { - "code": "EmCare.B14S2.DE03", + "code": "Ccc.B14S2.DE03", "display": "clouding of the cornea", "designation": [ { @@ -759,7 +759,7 @@ ] }, { - "code": "EmCare.B14S2.DE04", + "code": "Ccc.B14S2.DE04", "display": "is clouding of the cornea a new problem", "designation": [ { @@ -768,7 +768,7 @@ ] }, { - "code": "EmCare.B14S2.DE05", + "code": "Ccc.B14S2.DE05", "display": "has clouding of the cornea previously been treated", "designation": [ { @@ -777,7 +777,7 @@ ] }, { - "code": "EmCare.B14S2.DE06", + "code": "Ccc.B14S2.DE06", "display": "generalised or localised skin problem", "designation": [ { @@ -786,7 +786,7 @@ ] }, { - "code": "EmCare.B14S2.DE10", + "code": "Ccc.B14S2.DE10", "display": "measles rash", "designation": [ { @@ -795,7 +795,7 @@ ] }, { - "code": "EmCare.B14S2.DE11", + "code": "Ccc.B14S2.DE11", "display": "measles within the last 3 months", "designation": [ { @@ -804,7 +804,7 @@ ] }, { - "code": "EmCare.B14S2.DE12", + "code": "Ccc.B14S2.DE12", "display": "blisters, sores or pustules", "designation": [ { @@ -813,7 +813,7 @@ ] }, { - "code": "EmCare.B14S2.DE13", + "code": "Ccc.B14S2.DE13", "display": "type of skin problem", "designation": [ { @@ -822,7 +822,7 @@ ] }, { - "code": "EmCare.B14S2.DE19a", + "code": "Ccc.B14S2.DE19a", "display": "scalp infection (tinea capitis)", "designation": [ { @@ -831,7 +831,7 @@ ] }, { - "code": "EmCare.B14S2.DE22A", + "code": "Ccc.B14S2.DE22A", "display": "severe rash", "designation": [ { @@ -840,7 +840,7 @@ ] }, { - "code": "EmCare.B14S2.DE23a", + "code": "Ccc.B14S2.DE23a", "display": "disseminated herpes zoster", "designation": [ { @@ -849,7 +849,7 @@ ] }, { - "code": "EmCare.B14S2.DE24", + "code": "Ccc.B14S2.DE24", "display": "eye involvement", "designation": [ { @@ -858,7 +858,7 @@ ] }, { - "code": "EmCare.B14S2.DE30", + "code": "Ccc.B14S2.DE30", "display": "skin infection extends to muscle", "designation": [ { @@ -867,7 +867,7 @@ ] }, { - "code": "EmCare.B14S2.DE30b", + "code": "Ccc.B14S2.DE30b", "display": "extensive impetigo lesions", "designation": [ { @@ -876,7 +876,7 @@ ] }, { - "code": "EmCare.B14S2.DE31a", + "code": "Ccc.B14S2.DE31a", "display": "extensive molluscum lesions", "designation": [ { @@ -885,7 +885,7 @@ ] }, { - "code": "EmCare.B14S2.DE31b", + "code": "Ccc.B14S2.DE31b", "display": "molluscum lesions close to the eye", "designation": [ { @@ -894,7 +894,7 @@ ] }, { - "code": "EmCare.B14S2.DE32a", + "code": "Ccc.B14S2.DE32a", "display": "extensive warts", "designation": [ { @@ -903,7 +903,7 @@ ] }, { - "code": "EmCare.B14S2.DE34", + "code": "Ccc.B14S2.DE34", "display": "severe seborrhoeic dermatitis", "designation": [ { @@ -912,7 +912,7 @@ ] }, { - "code": "EmCare.B14S2.DE36a", + "code": "Ccc.B14S2.DE36a", "display": "secondary bacterial infection of eczema", "designation": [ { @@ -921,7 +921,7 @@ ] }, { - "code": "EmCare.B14S2.DE36b", + "code": "Ccc.B14S2.DE36b", "display": "severe acute moist or weeping eczema", "designation": [ { @@ -930,7 +930,7 @@ ] }, { - "code": "EmCare.B14S2.DE36c", + "code": "Ccc.B14S2.DE36c", "display": "secondary herpes infection of eczema (eczema herpeticum)", "designation": [ { @@ -939,7 +939,7 @@ ] }, { - "code": "EmCare.B14S2.DE38", + "code": "Ccc.B14S2.DE38", "display": "oral sores or mouth ulcers", "designation": [ { @@ -948,7 +948,7 @@ ] }, { - "code": "EmCare.B14S2.DE43", + "code": "Ccc.B14S2.DE43", "display": "add a skin or mouth or eye problem", "designation": [ { @@ -957,7 +957,7 @@ ] }, { - "code": "EmCare.B15S2.DE01", + "code": "Ccc.B15S2.DE01", "display": "palmar pallor", "designation": [ { @@ -966,7 +966,7 @@ ] }, { - "code": "EmCare.B15S2.DE09", + "code": "Ccc.B15S2.DE09", "display": "mucous membrane pallor", "designation": [ { @@ -975,7 +975,7 @@ ] }, { - "code": "EmCare.B22.DE08", + "code": "Ccc.B22.DE08", "display": "oral fluid test results", "designation": [ { @@ -984,7 +984,7 @@ ] }, { - "code": "EmCare.B22.DE14", + "code": "Ccc.B22.DE14", "display": "unable to perform oral fluid test", "designation": [ { @@ -993,7 +993,7 @@ ] }, { - "code": "EmCare.B22.DE14a", + "code": "Ccc.B22.DE14a", "display": "completely unable to drink or vomits immediately / everything", "designation": [ { @@ -1002,7 +1002,7 @@ ] }, { - "code": "EmCare.B22.DE15", + "code": "Ccc.B22.DE15", "display": "has the child had anything to drink today?", "designation": [ { @@ -1011,7 +1011,7 @@ ] }, { - "code": "EmCare.B22.DE16", + "code": "Ccc.B22.DE16", "display": "how did the child last drink", "designation": [ { @@ -1020,7 +1020,7 @@ ] }, { - "code": "EmCare.B22.DE01", + "code": "Ccc.B22.DE01", "display": "respiratory rate (breaths per minute)", "designation": [ { @@ -1029,7 +1029,7 @@ ] }, { - "code": "EmCare.B22.DE02", + "code": "Ccc.B22.DE02", "display": "unable to perform respiratory rate at this time", "designation": [ { @@ -1038,7 +1038,7 @@ ] }, { - "code": "EmCare.B22.DE04", + "code": "Ccc.B22.DE04", "display": "respiratory rate second count (breaths per minute)", "designation": [ { @@ -1047,7 +1047,7 @@ ] }, { - "code": "EmCare.B22.DE05", + "code": "Ccc.B22.DE05", "display": "respiratory rate second count not possible", "designation": [ { @@ -1056,7 +1056,7 @@ ] }, { - "code": "EmCare.B22.DE07", + "code": "Ccc.B22.DE07", "display": "fast breathing", "designation": [ { @@ -1065,7 +1065,7 @@ ] }, { - "code": "EmCare.B22.DE17", + "code": "Ccc.B22.DE17", "display": "inhaled bronchodilator trial results", "designation": [ { @@ -1074,11 +1074,11 @@ ] }, { - "code": "EmCare.B22.DE22", + "code": "Ccc.B22.DE22", "display": "inhaled bronchodilator trial not feasible or available" }, { - "code": "EmCare.B22.DE21", + "code": "Ccc.B22.DE21", "display": "no fast breathing and no chest indrawing (post inhaled bronchodilator trial)", "designation": [ { @@ -1087,7 +1087,7 @@ ] }, { - "code": "EmCare.B22.DE41", + "code": "Ccc.B22.DE41", "display": "breastfeeding assessment not possible", "designation": [ { @@ -1096,7 +1096,7 @@ ] }, { - "code": "EmCare.B22.DE28", + "code": "Ccc.B22.DE28", "display": "breastfed in the previous hour", "designation": [ { @@ -1105,7 +1105,7 @@ ] }, { - "code": "EmCare.B22.DE29", + "code": "Ccc.B22.DE29", "display": "mother able to wait until young infant is willing to breastfeed again", "designation": [ { @@ -1114,7 +1114,7 @@ ] }, { - "code": "EmCare.B22.DE30", + "code": "Ccc.B22.DE30", "display": "mother reports difficulty breastfeeding", "designation": [ { @@ -1123,7 +1123,7 @@ ] }, { - "code": "EmCare.B22.DE31", + "code": "Ccc.B22.DE31", "display": "chin touching breast", "designation": [ { @@ -1132,7 +1132,7 @@ ] }, { - "code": "EmCare.B22.DE32", + "code": "Ccc.B22.DE32", "display": "mouth wide open", "designation": [ { @@ -1141,7 +1141,7 @@ ] }, { - "code": "EmCare.B22.DE33", + "code": "Ccc.B22.DE33", "display": "lower lip turned outwards", "designation": [ { @@ -1150,7 +1150,7 @@ ] }, { - "code": "EmCare.B22.DE34", + "code": "Ccc.B22.DE34", "display": "more areola visible above than below the mouth", "designation": [ { @@ -1159,7 +1159,7 @@ ] }, { - "code": "EmCare.B22.DE35", + "code": "Ccc.B22.DE35", "display": "slow deep sucks, sometimes pausing", "designation": [ { @@ -1168,7 +1168,7 @@ ] }, { - "code": "EmCare.B22.DE36", + "code": "Ccc.B22.DE36", "display": "breastfeeding assessment results", "designation": [ { @@ -1177,7 +1177,7 @@ ] }, { - "code": "EmCare.B22.DE42", + "code": "Ccc.B22.DE42", "display": "difficulty breastfeeding reported", "designation": [ { @@ -1186,7 +1186,7 @@ ] }, { - "code": "EmCare.B22.DE44", + "code": "Ccc.B22.DE44", "display": "difficulty breastfeeding observed", "designation": [ { @@ -1195,7 +1195,7 @@ ] }, { - "code": "EmCare.B22.DE81", + "code": "Ccc.B22.DE81", "display": "hemoglobin (hb) g/dl", "designation": [ { @@ -1204,7 +1204,7 @@ ] }, { - "code": "EmCare.B22.DE82", + "code": "Ccc.B22.DE82", "display": "hemoglobin test not available", "designation": [ { @@ -1213,7 +1213,7 @@ ] }, { - "code": "EmCare.B22.DE47", + "code": "Ccc.B22.DE47", "display": "axillary temperature (second measurement)", "designation": [ { @@ -1222,7 +1222,7 @@ ] }, { - "code": "EmCare.B22.DE46", + "code": "Ccc.B22.DE46", "display": "second temperature measurement not feasible", "designation": [ { @@ -1231,7 +1231,7 @@ ] }, { - "code": "EmCare.B22.DE50", + "code": "Ccc.B22.DE50", "display": "measured temperature (second measurement)" } ] diff --git a/input/resources/valueset/valueset-emcareobservation-valueset.json b/input/resources/valueset/valueset-Cccobservationvalueset.json similarity index 86% rename from input/resources/valueset/valueset-emcareobservation-valueset.json rename to input/resources/valueset/valueset-Cccobservationvalueset.json index 17999157..96d5b74c 100644 --- a/input/resources/valueset/valueset-emcareobservation-valueset.json +++ b/input/resources/valueset/valueset-Cccobservationvalueset.json @@ -1,8 +1,8 @@ { "resourceType": "ValueSet", - "id": "emcareobservation-valueset", - "url": "https://smart.who.int/ccc/ValueSet/emcareobservation-valueset", - "name": "valueset-emcareobservation-valueset", + "id": "Cccobservationvalueset", + "url": "https://smart.who.int/ccc/ValueSet/Cccobservationvalueset", + "name": "valueset-Cccobservationvalueset", "status": "draft", "experimental": false, "description": "Codes representing possible values for the Provide an estimated age or estimated date of birth element", @@ -10,10 +10,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B14S2.DE07", + "code": "Ccc.B14S2.DE07", "display": "generalised skin problem", "designation": [ { @@ -22,7 +22,7 @@ ] }, { - "code": "EmCare.B14S2.DE08", + "code": "Ccc.B14S2.DE08", "display": "localised skin problem", "designation": [ { @@ -31,7 +31,7 @@ ] }, { - "code": "EmCare.B14S2.DE09", + "code": "Ccc.B14S2.DE09", "display": "no problem", "designation": [ { @@ -40,7 +40,7 @@ ] }, { - "code": "EmCare.B14S2.DE18", + "code": "Ccc.B14S2.DE18", "display": "papular urticaria or papular pruritic eruptions", "designation": [ { @@ -49,7 +49,7 @@ ] }, { - "code": "EmCare.B14S2.DE19", + "code": "Ccc.B14S2.DE19", "display": "ringworm (tinea)", "designation": [ { @@ -58,7 +58,7 @@ ] }, { - "code": "EmCare.B14S2.DE21", + "code": "Ccc.B14S2.DE21", "display": "scabies", "designation": [ { @@ -67,7 +67,7 @@ ] }, { - "code": "EmCare.B14S2.DE22", + "code": "Ccc.B14S2.DE22", "display": "chickenpox", "designation": [ { @@ -76,7 +76,7 @@ ] }, { - "code": "EmCare.B14S2.DE23", + "code": "Ccc.B14S2.DE23", "display": "herpes zoster", "designation": [ { @@ -85,7 +85,7 @@ ] }, { - "code": "EmCare.B14S2.DE25", + "code": "Ccc.B14S2.DE25", "display": "impetigo", "designation": [ { @@ -94,7 +94,7 @@ ] }, { - "code": "EmCare.B14S2.DE31", + "code": "Ccc.B14S2.DE31", "display": "molluscum contagiosum", "designation": [ { @@ -103,7 +103,7 @@ ] }, { - "code": "EmCare.B14S2.DE32", + "code": "Ccc.B14S2.DE32", "display": "warts", "designation": [ { @@ -112,7 +112,7 @@ ] }, { - "code": "EmCare.B14S2.DE33", + "code": "Ccc.B14S2.DE33", "display": "seborrhoeic dermatitis", "designation": [ { @@ -121,7 +121,7 @@ ] }, { - "code": "EmCare.B14S2.DE35", + "code": "Ccc.B14S2.DE35", "display": "fixed drug reaction", "designation": [ { @@ -130,7 +130,7 @@ ] }, { - "code": "EmCare.B14S2.DE36", + "code": "Ccc.B14S2.DE36", "display": "eczema", "designation": [ { @@ -139,7 +139,7 @@ ] }, { - "code": "EmCare.B14S2.DE37", + "code": "Ccc.B14S2.DE37", "display": "steven johnson syndrome (sjs)", "designation": [ { @@ -148,7 +148,7 @@ ] }, { - "code": "EmCare.B14S2.DE44", + "code": "Ccc.B14S2.DE44", "display": "skin problem", "designation": [ { @@ -157,7 +157,7 @@ ] }, { - "code": "EmCare.B14S2.DE45", + "code": "Ccc.B14S2.DE45", "display": "oral sores or mouth ulcers", "designation": [ { @@ -166,7 +166,7 @@ ] }, { - "code": "EmCare.B14S2.DE46", + "code": "Ccc.B14S2.DE46", "display": "eye problem", "designation": [ { @@ -175,7 +175,7 @@ ] }, { - "code": "EmCare.B14S2.DE47", + "code": "Ccc.B14S2.DE47", "display": "no - do not add a skin or mouth or eye problem", "designation": [ { @@ -184,7 +184,7 @@ ] }, { - "code": "EmCare.B21S2.DE29", + "code": "Ccc.B21S2.DE29", "display": "no breastmilk at all", "designation": [ { @@ -193,7 +193,7 @@ ] }, { - "code": "EmCare.B21S2.DE11", + "code": "Ccc.B21S2.DE11", "display": "inappropriate replacement milk", "designation": [ { @@ -202,7 +202,7 @@ ] }, { - "code": "EmCare.B21S2.DE10", + "code": "Ccc.B21S2.DE10", "display": "appropriate replacement milk", "designation": [ { @@ -211,23 +211,23 @@ ] }, { - "code": "EmCare.B22.DE18", + "code": "Ccc.B22.DE18", "display": "chest indrawing (post inhaled bronchodilator trial)" }, { - "code": "EmCare.B22.DE19", + "code": "Ccc.B22.DE19", "display": "respiratory rate (post inhaled bronchodilator trial)" }, { - "code": "EmCare.B22.DE20", + "code": "Ccc.B22.DE20", "display": "fast breathing (post inhaled bronchodilator trial)" }, { - "code": "EmCare.B22.DE21", + "code": "Ccc.B22.DE21", "display": "no fast breathing and no chest indrawing (post inhaled bronchodilator trial)" }, { - "code": "EmCare.B22.DE22", + "code": "Ccc.B22.DE22", "display": "inhaled bronchodilator trial not feasible or available" } ] diff --git a/input/resources/valueset/valueset-abilitytoswallow.json b/input/resources/valueset/valueset-abilitytoswallow.json index 247a4283..19ec8e08 100644 --- a/input/resources/valueset/valueset-abilitytoswallow.json +++ b/input/resources/valueset/valueset-abilitytoswallow.json @@ -10,10 +10,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B17S1.DE08", + "code": "Ccc.B17S1.DE08", "display": "Yes, without difficulty", "designation": [ { @@ -22,7 +22,7 @@ ] }, { - "code": "EmCare.B17S1.DE09", + "code": "Ccc.B17S1.DE09", "display": "Difficulty in swallowing", "designation": [ { @@ -31,7 +31,7 @@ ] }, { - "code": "EmCare.B17S1.DE10", + "code": "Ccc.B17S1.DE10", "display": "Unable to swallow", "designation": [ { diff --git a/input/resources/valueset/valueset-add-pb.json b/input/resources/valueset/valueset-add-pb.json index cec5f5ab..0c285565 100644 --- a/input/resources/valueset/valueset-add-pb.json +++ b/input/resources/valueset/valueset-add-pb.json @@ -3,7 +3,7 @@ "id": "add-pb", "url": "https://smart.who.int/ccc/ValueSet/add-pb", "name": "valueset-add-pb", - "title": "EmCare.B14S2.DE43", + "title": "Ccc.B14S2.DE43", "status": "draft", "experimental": false, "description": "Add a Skin or Mouth or Eye Problem", @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B14S2.DE44", + "code": "Ccc.B14S2.DE44", "display": "Skin Problem", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.B14S2.DE45", + "code": "Ccc.B14S2.DE45", "display": "Oral Sores or Mouth Ulcers", "designation": [ { @@ -32,7 +32,7 @@ ] }, { - "code": "EmCare.B14S2.DE46", + "code": "Ccc.B14S2.DE46", "display": "Eye Problem", "designation": [ { @@ -41,7 +41,7 @@ ] }, { - "code": "EmCare.B14S2.DE47", + "code": "Ccc.B14S2.DE47", "display": "No - Do not add a Skin or Mouth or Eye Problem", "designation": [ { diff --git a/input/resources/valueset/valueset-agreedisagree.json b/input/resources/valueset/valueset-agreedisagree.json index 992cc4d9..d4f75437 100644 --- a/input/resources/valueset/valueset-agreedisagree.json +++ b/input/resources/valueset/valueset-agreedisagree.json @@ -10,7 +10,7 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { "code": "agree", diff --git a/input/resources/valueset/valueset-appetite-test.json b/input/resources/valueset/valueset-appetite-test.json index e6513e7b..ed4fd720 100644 --- a/input/resources/valueset/valueset-appetite-test.json +++ b/input/resources/valueset/valueset-appetite-test.json @@ -3,7 +3,7 @@ "id": "appetite-test", "url": "https://smart.who.int/ccc/ValueSet/appetite-test", "name": "valueset-appetite-test", - "title": "EmCare.B22.DE23", + "title": "Ccc.B22.DE23", "status": "draft", "experimental": false, "description": "Appetite Test (using RUTF) Results", @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B22.DE24", + "code": "Ccc.B22.DE24", "display": "Able to finish RUTF", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.B22.DE25", + "code": "Ccc.B22.DE25", "display": "Unable to finish RUTF", "designation": [ { @@ -32,7 +32,7 @@ ] }, { - "code": "EmCare.B22.DE26", + "code": "Ccc.B22.DE26", "display": "RUTF Not Available", "designation": [ { diff --git a/input/resources/valueset/valueset-bioparent-status.json b/input/resources/valueset/valueset-bioparent-status.json index 9342a675..c29d8e7a 100644 --- a/input/resources/valueset/valueset-bioparent-status.json +++ b/input/resources/valueset/valueset-bioparent-status.json @@ -10,10 +10,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.A.DE46", + "code": "Ccc.A.DE46", "display": "Biological Mother Alive", "designation": [ { @@ -22,7 +22,7 @@ ] }, { - "code": "EmCare.A.DE44", + "code": "Ccc.A.DE44", "display": "Biological Mother Alive but not caring for child", "designation": [ { @@ -31,7 +31,7 @@ ] }, { - "code": "EmCare.A.DE32", + "code": "Ccc.A.DE32", "display": "Biological Mother Dead", "designation": [ { @@ -40,7 +40,7 @@ ] }, { - "code": "EmCare.A.DE47", + "code": "Ccc.A.DE47", "display": "Biological Father Alive", "designation": [ { @@ -49,7 +49,7 @@ ] }, { - "code": "EmCare.A.DE33", + "code": "Ccc.A.DE33", "display": "Biological Father Dead", "designation": [ { @@ -58,7 +58,7 @@ ] }, { - "code": "EmCare.A.DE34", + "code": "Ccc.A.DE34", "display": "Paternal Vital Status Unknown", "designation": [ { diff --git a/input/resources/valueset/valueset-breastfeed-assessment.json b/input/resources/valueset/valueset-breastfeed-assessment.json index 22f32f44..40fa73c2 100644 --- a/input/resources/valueset/valueset-breastfeed-assessment.json +++ b/input/resources/valueset/valueset-breastfeed-assessment.json @@ -3,7 +3,7 @@ "id": "breastfeed-assessment", "url": "https://smart.who.int/ccc/ValueSet/breastfeed-assessment", "name": "valueset-breastfeed-assessment", - "title": "EmCare.B22.DE36", + "title": "Ccc.B22.DE36", "status": "draft", "experimental": false, "description": "Breastfeeding Assessment Results", @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B22.DE37", + "code": "Ccc.B22.DE37", "display": "Not well Attached to Breast", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.B22.DE38", + "code": "Ccc.B22.DE38", "display": "Good Attachment", "designation": [ { @@ -32,7 +32,7 @@ ] }, { - "code": "EmCare.B22.DE39", + "code": "Ccc.B22.DE39", "display": "Not Sucking Effectively", "designation": [ { @@ -41,7 +41,7 @@ ] }, { - "code": "EmCare.B22.DE40", + "code": "Ccc.B22.DE40", "display": "Sucking Effectively", "designation": [ { diff --git a/input/resources/valueset/valueset-child-last-hiv-status.json b/input/resources/valueset/valueset-child-last-hiv-status.json index 2a7f37c0..7be2e92a 100644 --- a/input/resources/valueset/valueset-child-last-hiv-status.json +++ b/input/resources/valueset/valueset-child-last-hiv-status.json @@ -3,7 +3,7 @@ "id": "child-last-hiv-status", "url": "https://smart.who.int/ccc/ValueSet/child-last-hiv-status", "name": "valueset-child-last-hiv-status", - "title": "EmCare.B17.DE30", + "title": "Ccc.B17.DE30", "status": "draft", "experimental": false, "description": "Child's Last HIV Test Results", @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B17.DE31", + "code": "Ccc.B17.DE31", "display": "Child HIV Positive - Virological", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.B17.DE32", + "code": "Ccc.B17.DE32", "display": "Child HIV Positive - Serological", "designation": [ { @@ -32,7 +32,7 @@ ] }, { - "code": "EmCare.B17.DE33", + "code": "Ccc.B17.DE33", "display": "Child HIV Positive - Unknown Type of Test", "designation": [ { @@ -41,7 +41,7 @@ ] }, { - "code": "EmCare.B17.DE34", + "code": "Ccc.B17.DE34", "display": "Child HIV Negative", "designation": [ { @@ -50,7 +50,7 @@ ] }, { - "code": "EmCare.B17.DE35", + "code": "Ccc.B17.DE35", "display": "Child HIV Status - Unknown or Not Tested", "designation": [ { @@ -59,7 +59,7 @@ ] }, { - "code": "EmCare.B17.DE36", + "code": "Ccc.B17.DE36", "display": "Child HIV Status - Decline to answer", "designation": [ { diff --git a/input/resources/valueset/valueset-child-vaccination-status.json b/input/resources/valueset/valueset-child-vaccination-status.json index 9895a8d0..b0298c5d 100644 --- a/input/resources/valueset/valueset-child-vaccination-status.json +++ b/input/resources/valueset/valueset-child-vaccination-status.json @@ -3,7 +3,7 @@ "id": "child-vaccination-status", "url": "https://smart.who.int/ccc/ValueSet/child-vaccination-status", "name": "valueset-child-vaccination-status", - "title": "EmCare.B17.DE45", + "title": "Ccc.B17.DE45", "status": "draft", "experimental": false, "description": "Check the child's vaccination record: has the child received all vaccines they are eligible for", @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B17.DE46", + "code": "Ccc.B17.DE46", "display": "Yes", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.B17.DE47", + "code": "Ccc.B17.DE47", "display": "No, incomplete vaccination", "designation": [ { @@ -32,7 +32,7 @@ ] }, { - "code": "EmCare.B17.DE48", + "code": "Ccc.B17.DE48", "display": "No, the child has never received any vaccinations to date", "designation": [ { @@ -41,7 +41,7 @@ ] }, { - "code": "EmCare.B17.DE49", + "code": "Ccc.B17.DE49", "display": "Unknown", "designation": [ { diff --git a/input/resources/valueset/valueset-child-vaccines.json b/input/resources/valueset/valueset-child-vaccines.json index c2c6ddaa..26ebd64e 100644 --- a/input/resources/valueset/valueset-child-vaccines.json +++ b/input/resources/valueset/valueset-child-vaccines.json @@ -3,7 +3,7 @@ "id": "child-vaccines", "url": "https://smart.who.int/ccc/ValueSet/child-vaccines", "name": "valueset-child-vaccines", - "title": "EmCare.B17.DE50", + "title": "Ccc.B17.DE50", "status": "draft", "experimental": false, "description": "Immunizations for Age", @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B17.DE51", + "code": "Ccc.B17.DE51", "display": "BCG", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.B17.DE52", + "code": "Ccc.B17.DE52", "display": "OPV", "designation": [ { @@ -32,7 +32,7 @@ ] }, { - "code": "EmCare.B17.DE53", + "code": "Ccc.B17.DE53", "display": "Hep B", "designation": [ { @@ -41,7 +41,7 @@ ] }, { - "code": "EmCare.B17.DE54", + "code": "Ccc.B17.DE54", "display": "DPT", "designation": [ { @@ -50,7 +50,7 @@ ] }, { - "code": "EmCare.B17.DE55", + "code": "Ccc.B17.DE55", "display": "DPT 18 month booster", "designation": [ { @@ -59,7 +59,7 @@ ] }, { - "code": "EmCare.B17.DE56", + "code": "Ccc.B17.DE56", "display": "HIB", "designation": [ { @@ -68,7 +68,7 @@ ] }, { - "code": "EmCare.B17.DE57", + "code": "Ccc.B17.DE57", "display": "RTV", "designation": [ { @@ -77,7 +77,7 @@ ] }, { - "code": "EmCare.B17.DE58", + "code": "Ccc.B17.DE58", "display": "PCV", "designation": [ { @@ -86,7 +86,7 @@ ] }, { - "code": "EmCare.B17.DE59", + "code": "Ccc.B17.DE59", "display": "PCV Booster 1 for Confirmed HIV Infection", "designation": [ { @@ -95,7 +95,7 @@ ] }, { - "code": "EmCare.B17.DE60", + "code": "Ccc.B17.DE60", "display": "PCV Booster 2 for Confirmed HIV Infection", "designation": [ { @@ -104,7 +104,7 @@ ] }, { - "code": "EmCare.B17.DE61", + "code": "Ccc.B17.DE61", "display": "Measles", "designation": [ { diff --git a/input/resources/valueset/valueset-consultation-status.json b/input/resources/valueset/valueset-consultation-status.json index bfa88f4c..92edabba 100644 --- a/input/resources/valueset/valueset-consultation-status.json +++ b/input/resources/valueset/valueset-consultation-status.json @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B7-B8-B9.DE03", + "code": "Ccc.B7-B8-B9.DE03", "display": "End consultation", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.B7-B8-B9.DE02", + "code": "Ccc.B7-B8-B9.DE02", "display": "Stabilised, continue consultation", "designation": [ { diff --git a/input/resources/valueset/valueset-consultation-type.json b/input/resources/valueset/valueset-consultation-type.json index 177fdfa6..aac17821 100644 --- a/input/resources/valueset/valueset-consultation-type.json +++ b/input/resources/valueset/valueset-consultation-type.json @@ -10,10 +10,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B3.DE07", + "code": "Ccc.B3.DE07", "display": "Initial visit", "designation": [ { @@ -22,7 +22,7 @@ ] }, { - "code": "EmCare.B3.DE08", + "code": "Ccc.B3.DE08", "display": "Follow Up", "designation": [ { diff --git a/input/resources/valueset/valueset-difficulty-feeding.json b/input/resources/valueset/valueset-difficulty-feeding.json index 33aaf810..90bb7d7d 100644 --- a/input/resources/valueset/valueset-difficulty-feeding.json +++ b/input/resources/valueset/valueset-difficulty-feeding.json @@ -3,7 +3,7 @@ "id": "difficulty-feeding", "url": "https://smart.who.int/ccc/ValueSet/difficulty-feeding", "name": "valueset-difficulty-feeding", - "title": "EmCare.B18S1.DE02", + "title": "Ccc.B18S1.DE02", "status": "draft", "experimental": false, "description": "Difficulty with Feeding", diff --git a/input/resources/valueset/valueset-dob-estimator.json b/input/resources/valueset/valueset-dob-estimator.json index b97aca5d..d74ff4b3 100644 --- a/input/resources/valueset/valueset-dob-estimator.json +++ b/input/resources/valueset/valueset-dob-estimator.json @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.A.DE13", + "code": "Ccc.A.DE13", "display": "Estimated age in years/months for child (2 months or older)", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.A.DE14", + "code": "Ccc.A.DE14", "display": "Estimated age in weeks/days for young infant (under 2 months old)", "designation": [ { @@ -32,7 +32,7 @@ ] }, { - "code": "EmCare.A.DE15", + "code": "Ccc.A.DE15", "display": "Estimated Date of Birth", "designation": [ { diff --git a/input/resources/valueset/valueset-feeding-problem.json b/input/resources/valueset/valueset-feeding-problem.json index 698ea247..43a4508c 100644 --- a/input/resources/valueset/valueset-feeding-problem.json +++ b/input/resources/valueset/valueset-feeding-problem.json @@ -3,7 +3,7 @@ "id": "feeding-problem", "url": "https://smart.who.int/ccc/ValueSet/feeding-problem", "name": "valueset-feeding-problem", - "title": "EmCare.B21S2.DE27", + "title": "Ccc.B21S2.DE27", "status": "draft", "experimental": false, "description": "Do you give any breastmilk at all?", @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B21S2.DE28", + "code": "Ccc.B21S2.DE28", "display": "Breastmilk also given", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.B21S2.DE29", + "code": "Ccc.B21S2.DE29", "display": "No Breastmilk at all", "designation": [ { diff --git a/input/resources/valueset/valueset-hiv-prevalence.json b/input/resources/valueset/valueset-hiv-prevalence.json index fdd180b7..1d93e504 100644 --- a/input/resources/valueset/valueset-hiv-prevalence.json +++ b/input/resources/valueset/valueset-hiv-prevalence.json @@ -3,7 +3,7 @@ "id": "hiv-prevalence", "url": "https://smart.who.int/ccc/ValueSet/hiv-prevalence", "name": "valueset-hiv-prevalence", - "title": "EmCare.B17.DE22", + "title": "Ccc.B17.DE22", "status": "draft", "experimental": false, "description": "HIV Prevalence", @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B17.DE23", + "code": "Ccc.B17.DE23", "display": "High HIV Risk", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.B17.DE24", + "code": "Ccc.B17.DE24", "display": "Low HIV Risk", "designation": [ { diff --git a/input/resources/valueset/valueset-hiv-status.json b/input/resources/valueset/valueset-hiv-status.json index 23da4c3c..b2f040a6 100644 --- a/input/resources/valueset/valueset-hiv-status.json +++ b/input/resources/valueset/valueset-hiv-status.json @@ -3,7 +3,7 @@ "id": "hiv-status", "url": "https://smart.who.int/ccc/ValueSet/hiv-status", "name": "valueset-hiv-status", - "title": "EmCare.B21S1.DE01", + "title": "Ccc.B21S1.DE01", "status": "draft", "experimental": false, "description": "The client's mother's HIV Status", @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B21S1.DE02", + "code": "Ccc.B21S1.DE02", "display": "Mother HIV Positive", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.B21S1.DE03", + "code": "Ccc.B21S1.DE03", "display": "Mother HIV Negative", "designation": [ { @@ -32,7 +32,7 @@ ] }, { - "code": "EmCare.B21S1.DE04", + "code": "Ccc.B21S1.DE04", "display": "Mother HIV Status - Unknown or Not Tested", "designation": [ { @@ -41,7 +41,7 @@ ] }, { - "code": "EmCare.B21S1.DE05", + "code": "Ccc.B21S1.DE05", "display": "Mother HIV Status - Decline to answer", "designation": [ { diff --git a/input/resources/valueset/valueset-inhaled-bronchodilator-trial.json b/input/resources/valueset/valueset-inhaled-bronchodilator-trial.json index 4e410fbb..c2a65163 100644 --- a/input/resources/valueset/valueset-inhaled-bronchodilator-trial.json +++ b/input/resources/valueset/valueset-inhaled-bronchodilator-trial.json @@ -10,26 +10,26 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B22.DE18", + "code": "Ccc.B22.DE18", "display": "Chest Indrawing (post inhaled bronchodilator trial)" }, { - "code": "EmCare.B22.DE19", + "code": "Ccc.B22.DE19", "display": "Respiratory Rate (post inhaled bronchodilator trial)" }, { - "code": "EmCare.B22.DE20", + "code": "Ccc.B22.DE20", "display": "Fast Breathing (post inhaled bronchodilator trial)" }, { - "code": "EmCare.B22.DE21", + "code": "Ccc.B22.DE21", "display": "No Fast Breathing and No Chest Indrawing (post Inhaled Bronchodilator Trial)" }, { - "code": "EmCare.B22.DE22", + "code": "Ccc.B22.DE22", "display": "Inhaled Bronchodilator Trial Not Feasible or Available" } ] diff --git a/input/resources/valueset/valueset-is-recorded.json b/input/resources/valueset/valueset-is-recorded.json index b21c43f4..1b51c018 100644 --- a/input/resources/valueset/valueset-is-recorded.json +++ b/input/resources/valueset/valueset-is-recorded.json @@ -3,7 +3,7 @@ "id": "is-recorded", "url": "https://smart.who.int/ccc/ValueSet/is-recorded", "name": "valueset-is-recorded", - "title": "EmCare.B17.DE05", + "title": "Ccc.B17.DE05", "status": "draft", "experimental": false, "description": "Can record of Vitamin A Supplementation be obtained at a future visit?", @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B17.DE06", + "code": "Ccc.B17.DE06", "display": "Yes, Date documented, but not here", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.B17.DE07", + "code": "Ccc.B17.DE07", "display": "No, but last dose given less than 1 month ago", "designation": [ { @@ -32,7 +32,7 @@ ] }, { - "code": "EmCare.B17.DE08", + "code": "Ccc.B17.DE08", "display": "No, but last dose given between 1 and 6 months ago", "designation": [ { @@ -41,7 +41,7 @@ ] }, { - "code": "EmCare.B17.DE09", + "code": "Ccc.B17.DE09", "display": "No, but last dose given more than 6 months ago", "designation": [ { @@ -50,7 +50,7 @@ ] }, { - "code": "EmCare.B17.DE10", + "code": "Ccc.B17.DE10", "display": "No, Do not know when last dose was given", "designation": [ { diff --git a/input/resources/valueset/valueset-malaria-microscopy-species.json b/input/resources/valueset/valueset-malaria-microscopy-species.json index d11e185d..27bd238f 100644 --- a/input/resources/valueset/valueset-malaria-microscopy-species.json +++ b/input/resources/valueset/valueset-malaria-microscopy-species.json @@ -10,10 +10,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B22.DE75", + "code": "Ccc.B22.DE75", "display": "No Species Reported", "designation": [ { diff --git a/input/resources/valueset/valueset-malaria-rdt-species.json b/input/resources/valueset/valueset-malaria-rdt-species.json index dce2b5a5..baf8dafc 100644 --- a/input/resources/valueset/valueset-malaria-rdt-species.json +++ b/input/resources/valueset/valueset-malaria-rdt-species.json @@ -3,7 +3,7 @@ "id": "malaria-rdt-species", "url": "https://smart.who.int/ccc/ValueSet/malaria-rdt-species", "name": "valueset-malaria-rdt-species", - "title": "EmCare.B22.DE61", + "title": "Ccc.B22.DE61", "status": "draft", "experimental": false, "description": "RDT Species Result", @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B22.DE62", + "code": "Ccc.B22.DE62", "display": "P. falciparum", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.B22.DE63", + "code": "Ccc.B22.DE63", "display": "Non-falciparum", "designation": [ { @@ -32,7 +32,7 @@ ] }, { - "code": "EmCare.B22.DE64", + "code": "Ccc.B22.DE64", "display": "P. vivax", "designation": [ { @@ -41,7 +41,7 @@ ] }, { - "code": "EmCare.B22.DE65", + "code": "Ccc.B22.DE65", "display": "P. ovale", "designation": [ { @@ -50,7 +50,7 @@ ] }, { - "code": "EmCare.B22.DE66", + "code": "Ccc.B22.DE66", "display": "P. malariae", "designation": [ { @@ -59,7 +59,7 @@ ] }, { - "code": "EmCare.B22.DE67", + "code": "Ccc.B22.DE67", "display": "P. knowlesi", "designation": [ { diff --git a/input/resources/valueset/valueset-malaria-risk-region-2.json b/input/resources/valueset/valueset-malaria-risk-region-2.json index 0fe35264..fa5547cc 100644 --- a/input/resources/valueset/valueset-malaria-risk-region-2.json +++ b/input/resources/valueset/valueset-malaria-risk-region-2.json @@ -3,7 +3,7 @@ "id": "malaria-risk-region-2", "url": "https://smart.who.int/ccc/ValueSet/malaria-risk-region-2", "name": "valueset-malaria-risk-region-2", - "title": "EmCare.B15S2.DE05", + "title": "Ccc.B15S2.DE05", "status": "draft", "experimental": false, "description": "Malaria Risk", @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B15S2.DE06", + "code": "Ccc.B15S2.DE06", "display": "High Malaria Risk", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.B15S2.DE07", + "code": "Ccc.B15S2.DE07", "display": "Low Malaria Risk", "designation": [ { @@ -32,7 +32,7 @@ ] }, { - "code": "EmCare.B15S2.DE08", + "code": "Ccc.B15S2.DE08", "display": "No Malaria Risk", "designation": [ { diff --git a/input/resources/valueset/valueset-malaria-test-type.json b/input/resources/valueset/valueset-malaria-test-type.json index 16475156..1840c17d 100644 --- a/input/resources/valueset/valueset-malaria-test-type.json +++ b/input/resources/valueset/valueset-malaria-test-type.json @@ -3,7 +3,7 @@ "id": "malaria-test-type", "url": "https://smart.who.int/ccc/ValueSet/malaria-test-type", "name": "valueset-malaria-test-type", - "title": "EmCare.B22.DE57", + "title": "Ccc.B22.DE57", "status": "draft", "experimental": false, "description": "Type of Malaria Test", @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B22.DE58", + "code": "Ccc.B22.DE58", "display": "RDT", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.B22.DE59", + "code": "Ccc.B22.DE59", "display": "Microscopy", "designation": [ { @@ -32,7 +32,7 @@ ] }, { - "code": "EmCare.B22.DE60", + "code": "Ccc.B22.DE60", "display": "Not Recorded / Unsure", "designation": [ { diff --git a/input/resources/valueset/valueset-malaria-test.json b/input/resources/valueset/valueset-malaria-test.json index c9aacb7a..900fd640 100644 --- a/input/resources/valueset/valueset-malaria-test.json +++ b/input/resources/valueset/valueset-malaria-test.json @@ -3,7 +3,7 @@ "id": "malaria-test", "url": "https://smart.who.int/ccc/ValueSet/malaria-test", "name": "valueset-malaria-test", - "title": "EmCare.B22.DE53", + "title": "Ccc.B22.DE53", "status": "draft", "experimental": false, "description": "Malaria Test Results", @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B22.DE54", + "code": "Ccc.B22.DE54", "display": "Malaria Positive", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.B22.DE55", + "code": "Ccc.B22.DE55", "display": "Malaria Negative", "designation": [ { @@ -32,7 +32,7 @@ ] }, { - "code": "EmCare.B22.DE56", + "code": "Ccc.B22.DE56", "display": "Malaria Status Unknown / Unavailable / Invalid / Not Feasible", "designation": [ { diff --git a/input/resources/valueset/valueset-measured-temperature.json b/input/resources/valueset/valueset-measured-temperature.json index b96f17f2..ae2dda78 100644 --- a/input/resources/valueset/valueset-measured-temperature.json +++ b/input/resources/valueset/valueset-measured-temperature.json @@ -3,7 +3,7 @@ "id": "measured-temperature", "url": "https://smart.who.int/ccc/ValueSet/measured-temperature", "name": "valueset-measured-temperature", - "title": "EmCare.B18S2.DE01", + "title": "Ccc.B18S2.DE01", "status": "draft", "experimental": false, "description": "Measured Temperature", diff --git a/input/resources/valueset/valueset-milk-given.json b/input/resources/valueset/valueset-milk-given.json index da71eec8..1b2213f1 100644 --- a/input/resources/valueset/valueset-milk-given.json +++ b/input/resources/valueset/valueset-milk-given.json @@ -3,7 +3,7 @@ "id": "milk-given", "url": "https://smart.who.int/ccc/ValueSet/milk-given", "name": "valueset-milk-given", - "title": "EmCare.B21S2.DE21", + "title": "Ccc.B21S2.DE21", "status": "draft", "experimental": false, "description": "How is the milk given?", @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B21S2.DE22", + "code": "Ccc.B21S2.DE22", "display": "Cup", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.B21S2.DE23", + "code": "Ccc.B21S2.DE23", "display": "Bottle", "designation": [ { diff --git a/input/resources/valueset/valueset-milk-preparation.json b/input/resources/valueset/valueset-milk-preparation.json index b60074a7..42833449 100644 --- a/input/resources/valueset/valueset-milk-preparation.json +++ b/input/resources/valueset/valueset-milk-preparation.json @@ -3,7 +3,7 @@ "id": "milk-preparation", "url": "https://smart.who.int/ccc/ValueSet/milk-preparation", "name": "valueset-milk-preparation", - "title": "EmCare.B21S2.DE18", + "title": "Ccc.B21S2.DE18", "status": "draft", "experimental": false, "description": "How much milk is given at each feed?", @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B21S2.DE19", + "code": "Ccc.B21S2.DE19", "display": "Correct and hygienic feed preparation", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.B21S2.DE20", + "code": "Ccc.B21S2.DE20", "display": "Incorrect or unhygienic feed preparation", "designation": [ { diff --git a/input/resources/valueset/valueset-more-than-14d.json b/input/resources/valueset/valueset-more-than-14d.json index 9711a26d..ec4a85f1 100644 --- a/input/resources/valueset/valueset-more-than-14d.json +++ b/input/resources/valueset/valueset-more-than-14d.json @@ -10,10 +10,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B10S1.DE08", + "code": "Ccc.B10S1.DE08", "display": "14 days or more", "designation": [ { @@ -22,7 +22,7 @@ ] }, { - "code": "EmCare.B10S1.DE07", + "code": "Ccc.B10S1.DE07", "display": "Less than 14 days", "designation": [ { diff --git a/input/resources/valueset/valueset-more-than-7d.json b/input/resources/valueset/valueset-more-than-7d.json index 4615cdc0..383eaee7 100644 --- a/input/resources/valueset/valueset-more-than-7d.json +++ b/input/resources/valueset/valueset-more-than-7d.json @@ -10,10 +10,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B12S1.DE05", + "code": "Ccc.B12S1.DE05", "display": "7 Days or more", "designation": [ { @@ -22,7 +22,7 @@ ] }, { - "code": "EmCare.B12S1.DE04", + "code": "Ccc.B12S1.DE04", "display": "Less than 7 days", "designation": [ { diff --git a/input/resources/valueset/valueset-movements.json b/input/resources/valueset/valueset-movements.json index 68394e2a..f1b41b32 100644 --- a/input/resources/valueset/valueset-movements.json +++ b/input/resources/valueset/valueset-movements.json @@ -3,7 +3,7 @@ "id": "movements", "url": "https://smart.who.int/ccc/ValueSet/movements", "name": "valueset-movements", - "title": "EmCare.B18S2.DE08", + "title": "Ccc.B18S2.DE08", "status": "draft", "experimental": false, "description": "Movements", diff --git a/input/resources/valueset/valueset-mucus-membrane-pallor.json b/input/resources/valueset/valueset-mucus-membrane-pallor.json index 6fead3a6..8acc24d4 100644 --- a/input/resources/valueset/valueset-mucus-membrane-pallor.json +++ b/input/resources/valueset/valueset-mucus-membrane-pallor.json @@ -3,7 +3,7 @@ "id": "mucus-membrane-pallor", "url": "https://smart.who.int/ccc/ValueSet/mucus-membrane-pallor", "name": "valueset-mucus-membrane-pallor", - "title": "EmCare.B15S2.DE09", + "title": "Ccc.B15S2.DE09", "status": "draft", "experimental": false, "description": "Mucous membrane pallor", @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B15S2.DE10", + "code": "Ccc.B15S2.DE10", "display": "Severe mucous membrane pallor", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.B15S2.DE11", + "code": "Ccc.B15S2.DE11", "display": "Some mucous membrane pallor", "designation": [ { @@ -32,7 +32,7 @@ ] }, { - "code": "EmCare.B15S2.DE12", + "code": "Ccc.B15S2.DE12", "display": "No mucous membrane pallor", "designation": [ { diff --git a/input/resources/valueset/valueset-number-of-convulsions.json b/input/resources/valueset/valueset-number-of-convulsions.json index b6e5cfa9..ee3cc98e 100644 --- a/input/resources/valueset/valueset-number-of-convulsions.json +++ b/input/resources/valueset/valueset-number-of-convulsions.json @@ -10,10 +10,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B7.DE06", + "code": "Ccc.B7.DE06", "display": "Two or more convulsions", "designation": [ { @@ -22,7 +22,7 @@ ] }, { - "code": "EmCare.B7.DE05", + "code": "Ccc.B7.DE05", "display": "One Convulsion", "designation": [ { diff --git a/input/resources/valueset/valueset-observation.json b/input/resources/valueset/valueset-observation.json index 47bca0ab..8042b7a3 100644 --- a/input/resources/valueset/valueset-observation.json +++ b/input/resources/valueset/valueset-observation.json @@ -10,10 +10,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B3.DE05", + "code": "Ccc.B3.DE05", "display": "is the child sick today?", "designation": [ { @@ -22,7 +22,7 @@ ] }, { - "code": "EmCare.B7.DE02", + "code": "Ccc.B7.DE02", "display": "convulsing now", "designation": [ { @@ -31,7 +31,7 @@ ] }, { - "code": "EmCare.B7.DE03", + "code": "Ccc.B7.DE03", "display": "convulsion(s) in this illness", "designation": [ { @@ -40,7 +40,7 @@ ] }, { - "code": "EmCare.B7.DE08b", + "code": "Ccc.B7.DE08b", "display": "unconscious or lethargic", "designation": [ { @@ -49,7 +49,7 @@ ] }, { - "code": "EmCare.B7.DE08", + "code": "Ccc.B7.DE08", "display": "unconscious", "designation": [ { @@ -58,7 +58,7 @@ ] }, { - "code": "EmCare.B7.DE08a", + "code": "Ccc.B7.DE08a", "display": "lethargic", "designation": [ { @@ -67,7 +67,7 @@ ] }, { - "code": "EmCare.B7.DE09", + "code": "Ccc.B7.DE09", "display": "not able to drink or breastfeed", "designation": [ { @@ -76,7 +76,7 @@ ] }, { - "code": "EmCare.B7.DE10", + "code": "Ccc.B7.DE10", "display": "vomiting everything", "designation": [ { @@ -85,7 +85,7 @@ ] }, { - "code": "EmCare.B7-B8-B9.DE01", + "code": "Ccc.B7-B8-B9.DE01", "display": "continue to assess sick child", "designation": [ { @@ -94,7 +94,7 @@ ] }, { - "code": "EmCare.B6.DE01", + "code": "Ccc.B6.DE01", "display": "axillary temperature", "designation": [ { @@ -103,7 +103,7 @@ ] }, { - "code": "EmCare.B6.DE05", + "code": "Ccc.B6.DE05", "display": "hot to touch", "designation": [ { @@ -112,7 +112,7 @@ ] }, { - "code": "EmCare.B6.DE06", + "code": "Ccc.B6.DE06", "display": "weight", "designation": [ { @@ -121,7 +121,7 @@ ] }, { - "code": "EmCare.B6.DE07", + "code": "Ccc.B6.DE07", "display": "weight cannot be measured", "designation": [ { @@ -130,7 +130,7 @@ ] }, { - "code": "EmCare.B6.DE08", + "code": "Ccc.B6.DE08", "display": "estimated weight", "designation": [ { @@ -139,7 +139,7 @@ ] }, { - "code": "EmCare.B6.DE09", + "code": "Ccc.B6.DE09", "display": "height", "designation": [ { @@ -148,7 +148,7 @@ ] }, { - "code": "EmCare.B6.DE11", + "code": "Ccc.B6.DE11", "display": "height cannot be measured", "designation": [ { @@ -157,7 +157,7 @@ ] }, { - "code": "EmCare.B6.DE12", + "code": "Ccc.B6.DE12", "display": "length", "designation": [ { @@ -166,7 +166,7 @@ ] }, { - "code": "EmCare.B6.DE14", + "code": "Ccc.B6.DE14", "display": "weight for height (wfh) z scores", "designation": [ { @@ -175,7 +175,7 @@ ] }, { - "code": "EmCare.B6.DE15", + "code": "Ccc.B6.DE15", "display": "weight for length (wfl) z scores", "designation": [ { @@ -184,7 +184,7 @@ ] }, { - "code": "EmCare.B6.DE16", + "code": "Ccc.B6.DE16", "display": "weight for age (wfa) z scores", "designation": [ { @@ -193,7 +193,7 @@ ] }, { - "code": "EmCare.B6.DE17", + "code": "Ccc.B6.DE17", "display": "muac (mid upper arm circumference)", "designation": [ { @@ -202,7 +202,7 @@ ] }, { - "code": "EmCare.B6.DE17a", + "code": "Ccc.B6.DE17a", "display": "muac cannot be measured", "designation": [ { @@ -211,7 +211,7 @@ ] }, { - "code": "EmCare.B6.DE18", + "code": "Ccc.B6.DE18", "display": "visually assess for whether underweight (for drug dose calculation)", "designation": [ { @@ -220,7 +220,7 @@ ] }, { - "code": "EmCare.B18S1.DE01", + "code": "Ccc.B18S1.DE01", "display": "convulsions in this illness", "designation": [ { @@ -229,7 +229,7 @@ ] }, { - "code": "EmCare.B18S1.DE02", + "code": "Ccc.B18S1.DE02", "display": "difficulty with feeding", "designation": [ { @@ -238,7 +238,7 @@ ] }, { - "code": "EmCare.B20S1.DE01", + "code": "Ccc.B20S1.DE01", "display": "diarrhoea", "designation": [ { @@ -247,7 +247,7 @@ ] }, { - "code": "EmCare.B21S1.DE06", + "code": "Ccc.B21S1.DE06", "display": "breastfed", "designation": [ { @@ -256,7 +256,7 @@ ] }, { - "code": "EmCare.B18S2.DE02", + "code": "Ccc.B18S2.DE02", "display": "measured fever", "designation": [ { @@ -265,7 +265,7 @@ ] }, { - "code": "EmCare.B18S2.DE03", + "code": "Ccc.B18S2.DE03", "display": "measured low body temperature", "designation": [ { @@ -274,7 +274,7 @@ ] }, { - "code": "EmCare.B18S2.DE07", + "code": "Ccc.B18S2.DE07", "display": "severe chest indrawing", "designation": [ { @@ -283,7 +283,7 @@ ] }, { - "code": "EmCare.B18S2.DE08", + "code": "Ccc.B18S2.DE08", "display": "movements", "designation": [ { @@ -292,7 +292,7 @@ ] }, { - "code": "EmCare.B18S2.DE12", + "code": "Ccc.B18S2.DE12", "display": "umbilicus red or pus draining", "designation": [ { @@ -301,7 +301,7 @@ ] }, { - "code": "EmCare.B18S2.DE13", + "code": "Ccc.B18S2.DE13", "display": "skin pustules", "designation": [ { @@ -310,7 +310,7 @@ ] }, { - "code": "EmCare.B19S2.DE01", + "code": "Ccc.B19S2.DE01", "display": "yellow skin", "designation": [ { @@ -319,7 +319,7 @@ ] }, { - "code": "EmCare.B19S2.DE02", + "code": "Ccc.B19S2.DE02", "display": "yellow palms or yellow soles", "designation": [ { @@ -328,7 +328,7 @@ ] }, { - "code": "EmCare.B19S2.DE04", + "code": "Ccc.B19S2.DE04", "display": "when did the jaundice first appear?", "designation": [ { @@ -337,7 +337,7 @@ ] }, { - "code": "EmCare.B20S2.DE01", + "code": "Ccc.B20S2.DE01", "display": "sunken eyes", "designation": [ { @@ -346,7 +346,7 @@ ] }, { - "code": "EmCare.B20S2.DE02", + "code": "Ccc.B20S2.DE02", "display": "skin pinch of abdomen", "designation": [ { @@ -355,7 +355,7 @@ ] }, { - "code": "EmCare.B20S2.DE06", + "code": "Ccc.B20S2.DE06", "display": "restless and irritable", "designation": [ { @@ -364,7 +364,7 @@ ] }, { - "code": "EmCare.B21S2.DE01", + "code": "Ccc.B21S2.DE01", "display": "weight status", "designation": [ { @@ -373,7 +373,7 @@ ] }, { - "code": "EmCare.B21S2.DE05", + "code": "Ccc.B21S2.DE05", "display": "breastfed how many times in 24 hours?", "designation": [ { @@ -382,7 +382,7 @@ ] }, { - "code": "EmCare.B21S2.DE06", + "code": "Ccc.B21S2.DE06", "display": "sufficient feeds", "designation": [ { @@ -391,7 +391,7 @@ ] }, { - "code": "EmCare.B21S2.DE07", + "code": "Ccc.B21S2.DE07", "display": "insufficient feeds", "designation": [ { @@ -400,7 +400,7 @@ ] }, { - "code": "EmCare.B21S2.DE08", + "code": "Ccc.B21S2.DE08", "display": "young infant receives other food or fluids", "designation": [ { @@ -409,7 +409,7 @@ ] }, { - "code": "EmCare.B21S2.DE09", + "code": "Ccc.B21S2.DE09", "display": "what milk is being given as a replacement feed?", "designation": [ { @@ -418,7 +418,7 @@ ] }, { - "code": "EmCare.B21S2.DE12", + "code": "Ccc.B21S2.DE12", "display": "how many replacement feeds during the day and night (24 hours)?", "designation": [ { @@ -427,7 +427,7 @@ ] }, { - "code": "EmCare.B21S2.DE13", + "code": "Ccc.B21S2.DE13", "display": "sufficient replacement feeds (in 24 hours)", "designation": [ { @@ -436,7 +436,7 @@ ] }, { - "code": "EmCare.B21S2.DE14", + "code": "Ccc.B21S2.DE14", "display": "insufficient replacement feeds (in 24 hours)", "designation": [ { @@ -445,7 +445,7 @@ ] }, { - "code": "EmCare.B21S2.DE15", + "code": "Ccc.B21S2.DE15", "display": "how much milk is given at each feed?", "designation": [ { @@ -454,7 +454,7 @@ ] }, { - "code": "EmCare.B21S2.DE16", + "code": "Ccc.B21S2.DE16", "display": "sufficient replacement feeds", "designation": [ { @@ -463,7 +463,7 @@ ] }, { - "code": "EmCare.B21S2.DE17", + "code": "Ccc.B21S2.DE17", "display": "insufficient replacement feeds", "designation": [ { @@ -472,7 +472,7 @@ ] }, { - "code": "EmCare.B21S2.DE18", + "code": "Ccc.B21S2.DE18", "display": "how is the milk prepared?", "designation": [ { @@ -481,7 +481,7 @@ ] }, { - "code": "EmCare.B21S2.DE21", + "code": "Ccc.B21S2.DE21", "display": "how is the milk given?", "designation": [ { @@ -490,7 +490,7 @@ ] }, { - "code": "EmCare.B21S2.DE24", + "code": "Ccc.B21S2.DE24", "display": "how are the feeding utensils cleaned?", "designation": [ { @@ -499,7 +499,7 @@ ] }, { - "code": "EmCare.B21S2.DE27", + "code": "Ccc.B21S2.DE27", "display": "do you give any breastmilk at all?", "designation": [ { @@ -508,7 +508,7 @@ ] }, { - "code": "EmCare.B21S2.DE30", + "code": "Ccc.B21S2.DE30", "display": "ulcers or white patches in mouth", "designation": [ { @@ -517,7 +517,7 @@ ] }, { - "code": "EmCare.B21S2.DE31", + "code": "Ccc.B21S2.DE31", "display": "unable to check if ulcers or white patches in mouth", "designation": [ { @@ -526,7 +526,7 @@ ] }, { - "code": "EmCare.B10S1.DE05", + "code": "Ccc.B10S1.DE05", "display": "cough", "designation": [ { @@ -535,7 +535,7 @@ ] }, { - "code": "EmCare.B10S1.DE06", + "code": "Ccc.B10S1.DE06", "display": "cough for how long?", "designation": [ { @@ -544,7 +544,7 @@ ] }, { - "code": "EmCare.B10S1.DE01", + "code": "Ccc.B10S1.DE01", "display": "difficulty breathing", "designation": [ { @@ -553,7 +553,7 @@ ] }, { - "code": "EmCare.B10S1.DE02", + "code": "Ccc.B10S1.DE02", "display": "difficulty breathing for how long?", "designation": [ { @@ -562,7 +562,7 @@ ] }, { - "code": "EmCare.B11S1.DE01", + "code": "Ccc.B11S1.DE01", "display": "diarrhoea", "designation": [ { @@ -571,7 +571,7 @@ ] }, { - "code": "EmCare.B11S1.DE02", + "code": "Ccc.B11S1.DE02", "display": "diarrhoea for how long?", "designation": [ { @@ -580,7 +580,7 @@ ] }, { - "code": "EmCare.B11S1.DE05", + "code": "Ccc.B11S1.DE05", "display": "blood in the stool in this illness", "designation": [ { @@ -589,7 +589,7 @@ ] }, { - "code": "EmCare.B12S1.DE01", + "code": "Ccc.B12S1.DE01", "display": "measured fever", "designation": [ { @@ -598,7 +598,7 @@ ] }, { - "code": "EmCare.B12S1.DE02", + "code": "Ccc.B12S1.DE02", "display": "fever reported", "designation": [ { @@ -607,7 +607,7 @@ ] }, { - "code": "EmCare.B12S1.DE03", + "code": "Ccc.B12S1.DE03", "display": "fever for how long?", "designation": [ { @@ -616,7 +616,7 @@ ] }, { - "code": "EmCare.B.G.DE06", + "code": "Ccc.B.G.DE06", "display": "fever", "designation": [ { @@ -625,7 +625,7 @@ ] }, { - "code": "EmCare.B12S1.DE06", + "code": "Ccc.B12S1.DE06", "display": "has fever been present every day since the fever started?", "designation": [ { @@ -634,7 +634,7 @@ ] }, { - "code": "EmCare.B13S1.DE01", + "code": "Ccc.B13S1.DE01", "display": "ear problem", "designation": [ { @@ -643,7 +643,7 @@ ] }, { - "code": "EmCare.B13S1.DE02", + "code": "Ccc.B13S1.DE02", "display": "ear pain", "designation": [ { @@ -652,7 +652,7 @@ ] }, { - "code": "EmCare.B13S1.DE03", + "code": "Ccc.B13S1.DE03", "display": "ear discharge", "designation": [ { @@ -661,7 +661,7 @@ ] }, { - "code": "EmCare.B13S1.DE04", + "code": "Ccc.B13S1.DE04", "display": "ear discharge for how long?", "designation": [ { @@ -670,7 +670,7 @@ ] }, { - "code": "EmCare.B14S1.DE03", + "code": "Ccc.B14S1.DE03", "display": "eye problem", "designation": [ { @@ -679,7 +679,7 @@ ] }, { - "code": "EmCare.B14S1.DE01", + "code": "Ccc.B14S1.DE01", "display": "skin problem", "designation": [ { @@ -688,7 +688,7 @@ ] }, { - "code": "EmCare.B14S1.DE02", + "code": "Ccc.B14S1.DE02", "display": "itchy skin", "designation": [ { @@ -697,7 +697,7 @@ ] }, { - "code": "EmCare.B10S2.DE03", + "code": "Ccc.B10S2.DE03", "display": "chest indrawing", "designation": [ { @@ -706,7 +706,7 @@ ] }, { - "code": "EmCare.B10S2.DE04", + "code": "Ccc.B10S2.DE04", "display": "stridor in a calm child", "designation": [ { @@ -715,7 +715,7 @@ ] }, { - "code": "EmCare.B10S2.DE05", + "code": "Ccc.B10S2.DE05", "display": "wheezing", "designation": [ { @@ -724,7 +724,7 @@ ] }, { - "code": "EmCare.B10S2.DE06", + "code": "Ccc.B10S2.DE06", "display": "recurrent wheeze", "designation": [ { @@ -733,7 +733,7 @@ ] }, { - "code": "EmCare.B10S2.DE07", + "code": "Ccc.B10S2.DE07", "display": "oxygen saturation", "designation": [ { @@ -742,7 +742,7 @@ ] }, { - "code": "EmCare.B11S2.DE01", + "code": "Ccc.B11S2.DE01", "display": "sunken eyes", "designation": [ { @@ -751,7 +751,7 @@ ] }, { - "code": "EmCare.B11S2.DE02", + "code": "Ccc.B11S2.DE02", "display": "skin pinch of abdomen", "designation": [ { @@ -760,7 +760,7 @@ ] }, { - "code": "EmCare.B11S2.DE06", + "code": "Ccc.B11S2.DE06", "display": "restless and irritable", "designation": [ { @@ -769,7 +769,7 @@ ] }, { - "code": "EmCare.B17S1.DE01", + "code": "Ccc.B17S1.DE01", "display": "throat problem", "designation": [ { @@ -778,7 +778,7 @@ ] }, { - "code": "EmCare.B17S1.DE02", + "code": "Ccc.B17S1.DE02", "display": "specify throat problem", "designation": [ { @@ -787,7 +787,7 @@ ] }, { - "code": "EmCare.B17S1.DE06", + "code": "Ccc.B17S1.DE06", "display": "enlarged lymph nodes on front of neck", "designation": [ { @@ -796,7 +796,7 @@ ] }, { - "code": "EmCare.B17S1.DE07", + "code": "Ccc.B17S1.DE07", "display": "ability to swallow", "designation": [ { @@ -805,7 +805,7 @@ ] }, { - "code": "EmCare.B13S2.DE01", + "code": "Ccc.B13S2.DE01", "display": "tender swelling behind the ear", "designation": [ { @@ -814,7 +814,7 @@ ] }, { - "code": "EmCare.B13S2.DE02", + "code": "Ccc.B13S2.DE02", "display": "pus seen draining from the ear", "designation": [ { @@ -823,7 +823,7 @@ ] }, { - "code": "EmCare.B13S2.DE03", + "code": "Ccc.B13S2.DE03", "display": "pus seen draining from the ear for how long?", "designation": [ { @@ -832,7 +832,7 @@ ] }, { - "code": "EmCare.B12S2.DE01", + "code": "Ccc.B12S2.DE01", "display": "stiff neck", "designation": [ { @@ -841,7 +841,7 @@ ] }, { - "code": "EmCare.B12S2.DE05", + "code": "Ccc.B12S2.DE05", "display": "runny nose", "designation": [ { @@ -850,7 +850,7 @@ ] }, { - "code": "EmCare.B14S2.DE01", + "code": "Ccc.B14S2.DE01", "display": "red eyes", "designation": [ { @@ -859,7 +859,7 @@ ] }, { - "code": "EmCare.B14S2.DE02", + "code": "Ccc.B14S2.DE02", "display": "pus draining from eye", "designation": [ { @@ -868,7 +868,7 @@ ] }, { - "code": "EmCare.B14S2.DE03", + "code": "Ccc.B14S2.DE03", "display": "clouding of the cornea", "designation": [ { @@ -877,7 +877,7 @@ ] }, { - "code": "EmCare.B14S2.DE04", + "code": "Ccc.B14S2.DE04", "display": "is clouding of the cornea a new problem", "designation": [ { @@ -886,7 +886,7 @@ ] }, { - "code": "EmCare.B14S2.DE05", + "code": "Ccc.B14S2.DE05", "display": "has clouding of the cornea previously been treated", "designation": [ { @@ -895,7 +895,7 @@ ] }, { - "code": "EmCare.B14S2.DE06", + "code": "Ccc.B14S2.DE06", "display": "generalised or localised skin problem", "designation": [ { @@ -904,7 +904,7 @@ ] }, { - "code": "EmCare.B14S2.DE10", + "code": "Ccc.B14S2.DE10", "display": "measles rash", "designation": [ { @@ -913,7 +913,7 @@ ] }, { - "code": "EmCare.B14S2.DE11", + "code": "Ccc.B14S2.DE11", "display": "measles within the last 3 months", "designation": [ { @@ -922,7 +922,7 @@ ] }, { - "code": "EmCare.B14S2.DE12", + "code": "Ccc.B14S2.DE12", "display": "blisters, sores or pustules", "designation": [ { @@ -931,7 +931,7 @@ ] }, { - "code": "EmCare.B14S2.DE13", + "code": "Ccc.B14S2.DE13", "display": "type of skin problem", "designation": [ { @@ -940,7 +940,7 @@ ] }, { - "code": "EmCare.B14S2.DE19a", + "code": "Ccc.B14S2.DE19a", "display": "scalp infection (tinea capitis)", "designation": [ { @@ -949,7 +949,7 @@ ] }, { - "code": "EmCare.B14S2.DE22A", + "code": "Ccc.B14S2.DE22A", "display": "severe rash", "designation": [ { @@ -958,7 +958,7 @@ ] }, { - "code": "EmCare.B14S2.DE23a", + "code": "Ccc.B14S2.DE23a", "display": "disseminated herpes zoster", "designation": [ { @@ -967,7 +967,7 @@ ] }, { - "code": "EmCare.B14S2.DE24", + "code": "Ccc.B14S2.DE24", "display": "eye involvement", "designation": [ { @@ -976,7 +976,7 @@ ] }, { - "code": "EmCare.B14S2.DE30", + "code": "Ccc.B14S2.DE30", "display": "skin infection extends to muscle", "designation": [ { @@ -985,7 +985,7 @@ ] }, { - "code": "EmCare.B14S2.DE30b", + "code": "Ccc.B14S2.DE30b", "display": "extensive impetigo lesions", "designation": [ { @@ -994,7 +994,7 @@ ] }, { - "code": "EmCare.B14S2.DE31a", + "code": "Ccc.B14S2.DE31a", "display": "extensive molluscum lesions", "designation": [ { @@ -1003,7 +1003,7 @@ ] }, { - "code": "EmCare.B14S2.DE31b", + "code": "Ccc.B14S2.DE31b", "display": "molluscum lesions close to the eye", "designation": [ { @@ -1012,7 +1012,7 @@ ] }, { - "code": "EmCare.B14S2.DE32a", + "code": "Ccc.B14S2.DE32a", "display": "extensive warts", "designation": [ { @@ -1021,7 +1021,7 @@ ] }, { - "code": "EmCare.B14S2.DE34", + "code": "Ccc.B14S2.DE34", "display": "severe seborrhoeic dermatitis", "designation": [ { @@ -1030,7 +1030,7 @@ ] }, { - "code": "EmCare.B14S2.DE36a", + "code": "Ccc.B14S2.DE36a", "display": "secondary bacterial infection of eczema", "designation": [ { @@ -1039,7 +1039,7 @@ ] }, { - "code": "EmCare.B14S2.DE36b", + "code": "Ccc.B14S2.DE36b", "display": "severe acute moist or weeping eczema", "designation": [ { @@ -1048,7 +1048,7 @@ ] }, { - "code": "EmCare.B14S2.DE36c", + "code": "Ccc.B14S2.DE36c", "display": "secondary herpes infection of eczema (eczema herpeticum)", "designation": [ { @@ -1057,7 +1057,7 @@ ] }, { - "code": "EmCare.B14S2.DE38", + "code": "Ccc.B14S2.DE38", "display": "oral sores or mouth ulcers", "designation": [ { @@ -1066,7 +1066,7 @@ ] }, { - "code": "EmCare.B14S2.DE43", + "code": "Ccc.B14S2.DE43", "display": "add a skin or mouth or eye problem", "designation": [ { @@ -1075,7 +1075,7 @@ ] }, { - "code": "EmCare.B15S2.DE01", + "code": "Ccc.B15S2.DE01", "display": "palmar pallor", "designation": [ { @@ -1084,7 +1084,7 @@ ] }, { - "code": "EmCare.B15S2.DE09", + "code": "Ccc.B15S2.DE09", "display": "mucous membrane pallor", "designation": [ { @@ -1093,7 +1093,7 @@ ] }, { - "code": "EmCare.B22.DE08", + "code": "Ccc.B22.DE08", "display": "oral fluid test results", "designation": [ { @@ -1102,7 +1102,7 @@ ] }, { - "code": "EmCare.B22.DE14", + "code": "Ccc.B22.DE14", "display": "unable to perform oral fluid test", "designation": [ { @@ -1111,7 +1111,7 @@ ] }, { - "code": "EmCare.B22.DE14a", + "code": "Ccc.B22.DE14a", "display": "completely unable to drink or vomits immediately / everything", "designation": [ { @@ -1120,7 +1120,7 @@ ] }, { - "code": "EmCare.B22.DE15", + "code": "Ccc.B22.DE15", "display": "has the child had anything to drink today?", "designation": [ { @@ -1129,7 +1129,7 @@ ] }, { - "code": "EmCare.B22.DE16", + "code": "Ccc.B22.DE16", "display": "how did the child last drink", "designation": [ { @@ -1138,7 +1138,7 @@ ] }, { - "code": "EmCare.B22.DE01", + "code": "Ccc.B22.DE01", "display": "respiratory rate", "designation": [ { @@ -1147,7 +1147,7 @@ ] }, { - "code": "EmCare.B22.DE02", + "code": "Ccc.B22.DE02", "display": "unable to perform respiratory rate at this time", "designation": [ { @@ -1156,7 +1156,7 @@ ] }, { - "code": "EmCare.B22.DE03", + "code": "Ccc.B22.DE03", "display": "respiratory rate first count", "designation": [ { @@ -1165,7 +1165,7 @@ ] }, { - "code": "EmCare.B22.DE04", + "code": "Ccc.B22.DE04", "display": "respiratory rate second count", "designation": [ { @@ -1174,7 +1174,7 @@ ] }, { - "code": "EmCare.B22.DE05", + "code": "Ccc.B22.DE05", "display": "respiratory rate second count not possible", "designation": [ { @@ -1183,7 +1183,7 @@ ] }, { - "code": "EmCare.B22.DE07", + "code": "Ccc.B22.DE07", "display": "fast breathing", "designation": [ { @@ -1192,7 +1192,7 @@ ] }, { - "code": "EmCare.B22.DE17", + "code": "Ccc.B22.DE17", "display": "inhaled bronchodilator trial results", "designation": [ { @@ -1201,7 +1201,7 @@ ] }, { - "code": "EmCare.B22.DE22", + "code": "Ccc.B22.DE22", "display": "inhaled bronchodilator trial not feasible or available", "designation": [ { @@ -1210,7 +1210,7 @@ ] }, { - "code": "EmCare.B22.DE21", + "code": "Ccc.B22.DE21", "display": "no fast breathing and no chest indrawing (post inhaled bronchodilator trial)", "designation": [ { @@ -1219,7 +1219,7 @@ ] }, { - "code": "EmCare.B22.DE27", + "code": "Ccc.B22.DE27", "display": "breastfeeding assessment", "designation": [ { @@ -1228,7 +1228,7 @@ ] }, { - "code": "EmCare.B22.DE28", + "code": "Ccc.B22.DE28", "display": "breastfed in the previous hour", "designation": [ { @@ -1237,7 +1237,7 @@ ] }, { - "code": "EmCare.B22.DE29", + "code": "Ccc.B22.DE29", "display": "mother able to wait until young infant is willing to breastfeed again", "designation": [ { @@ -1246,7 +1246,7 @@ ] }, { - "code": "EmCare.B22.DE30", + "code": "Ccc.B22.DE30", "display": "mother reports difficulty breastfeeding", "designation": [ { @@ -1255,7 +1255,7 @@ ] }, { - "code": "EmCare.B22.DE31", + "code": "Ccc.B22.DE31", "display": "chin touching breast", "designation": [ { @@ -1264,7 +1264,7 @@ ] }, { - "code": "EmCare.B22.DE32", + "code": "Ccc.B22.DE32", "display": "mouth wide open", "designation": [ { @@ -1273,7 +1273,7 @@ ] }, { - "code": "EmCare.B22.DE33", + "code": "Ccc.B22.DE33", "display": "lower lip turned outwards", "designation": [ { @@ -1282,7 +1282,7 @@ ] }, { - "code": "EmCare.B22.DE34", + "code": "Ccc.B22.DE34", "display": "more areola visible above than below the mouth", "designation": [ { @@ -1291,7 +1291,7 @@ ] }, { - "code": "EmCare.B22.DE35", + "code": "Ccc.B22.DE35", "display": "slow deep sucks, sometimes pausing", "designation": [ { @@ -1300,7 +1300,7 @@ ] }, { - "code": "EmCare.B22.DE36", + "code": "Ccc.B22.DE36", "display": "breastfeeding assessment results", "designation": [ { @@ -1309,7 +1309,7 @@ ] }, { - "code": "EmCare.B22.DE41", + "code": "Ccc.B22.DE41", "display": "breastfeeding assessment not possible", "designation": [ { @@ -1318,7 +1318,7 @@ ] }, { - "code": "EmCare.B22.DE42", + "code": "Ccc.B22.DE42", "display": "difficulty breastfeeding reported", "designation": [ { @@ -1327,7 +1327,7 @@ ] }, { - "code": "EmCare.B22.DE43", + "code": "Ccc.B22.DE43", "display": "no difficulty breastfeeding reported", "designation": [ { @@ -1336,7 +1336,7 @@ ] }, { - "code": "EmCare.B22.DE44", + "code": "Ccc.B22.DE44", "display": "difficulty breastfeeding observed", "designation": [ { @@ -1345,7 +1345,7 @@ ] }, { - "code": "EmCare.B22.DE45", + "code": "Ccc.B22.DE45", "display": "no difficulty breastfeeding observed", "designation": [ { @@ -1354,7 +1354,7 @@ ] }, { - "code": "EmCare.B22.DE81", + "code": "Ccc.B22.DE81", "display": "hemoglobin (hb) g/dl", "designation": [ { @@ -1363,7 +1363,7 @@ ] }, { - "code": "EmCare.B22.DE82", + "code": "Ccc.B22.DE82", "display": "hemoglobin test not available", "designation": [ { @@ -1372,7 +1372,7 @@ ] }, { - "code": "EmCare.B22.DE46", + "code": "Ccc.B22.DE46", "display": "second temperature measurement feasible", "designation": [ { @@ -1381,7 +1381,7 @@ ] }, { - "code": "EmCare.B22.DE47", + "code": "Ccc.B22.DE47", "display": "axillary temperature (second measurement)", "designation": [ { @@ -1390,7 +1390,7 @@ ] }, { - "code": "EmCare.B22.DE50", + "code": "Ccc.B22.DE50", "display": "measured fever (second measurement)", "designation": [ { @@ -1399,7 +1399,7 @@ ] }, { - "code": "EmCare.B22.DE51", + "code": "Ccc.B22.DE51", "display": "measured low body temperature (second measurement)", "designation": [ { @@ -1408,7 +1408,7 @@ ] }, { - "code": "EmCare.B22.DE52", + "code": "Ccc.B22.DE52", "display": "no measured fever or\nno low body temperature", "designation": [ { @@ -1417,7 +1417,7 @@ ] }, { - "code": "EmCare.B14S2.DE07", + "code": "Ccc.B14S2.DE07", "display": "generalised skin problem", "designation": [ { @@ -1426,7 +1426,7 @@ ] }, { - "code": "EmCare.B14S2.DE08", + "code": "Ccc.B14S2.DE08", "display": "localised skin problem", "designation": [ { @@ -1435,7 +1435,7 @@ ] }, { - "code": "EmCare.B14S2.DE15", + "code": "Ccc.B14S2.DE15", "display": "deep or extends to muscle", "designation": [ { @@ -1444,7 +1444,7 @@ ] }, { - "code": "EmCare.B14S2.DE18", + "code": "Ccc.B14S2.DE18", "display": "papular urticaria or papular pruritic eruptions", "designation": [ { @@ -1453,7 +1453,7 @@ ] }, { - "code": "EmCare.B14S2.DE19", + "code": "Ccc.B14S2.DE19", "display": "ringworm (tinea)", "designation": [ { @@ -1462,7 +1462,7 @@ ] }, { - "code": "EmCare.B14S2.DE21", + "code": "Ccc.B14S2.DE21", "display": "scabies", "designation": [ { @@ -1471,7 +1471,7 @@ ] }, { - "code": "EmCare.B14S2.DE22", + "code": "Ccc.B14S2.DE22", "display": "chickenpox", "designation": [ { @@ -1480,7 +1480,7 @@ ] }, { - "code": "EmCare.B14S2.DE23", + "code": "Ccc.B14S2.DE23", "display": "herpes zoster", "designation": [ { @@ -1489,7 +1489,7 @@ ] }, { - "code": "EmCare.B14S2.DE25", + "code": "Ccc.B14S2.DE25", "display": "impetigo", "designation": [ { @@ -1498,7 +1498,7 @@ ] }, { - "code": "EmCare.B14S2.DE31", + "code": "Ccc.B14S2.DE31", "display": "molluscum contagiosum", "designation": [ { @@ -1507,7 +1507,7 @@ ] }, { - "code": "EmCare.B14S2.DE32", + "code": "Ccc.B14S2.DE32", "display": "warts", "designation": [ { @@ -1516,7 +1516,7 @@ ] }, { - "code": "EmCare.B14S2.DE33", + "code": "Ccc.B14S2.DE33", "display": "seborrhoeic dermatitis", "designation": [ { @@ -1525,7 +1525,7 @@ ] }, { - "code": "EmCare.B14S2.DE35", + "code": "Ccc.B14S2.DE35", "display": "fixed drug reaction", "designation": [ { @@ -1534,7 +1534,7 @@ ] }, { - "code": "EmCare.B14S2.DE36", + "code": "Ccc.B14S2.DE36", "display": "eczema", "designation": [ { @@ -1543,7 +1543,7 @@ ] }, { - "code": "EmCare.B14S2.DE37", + "code": "Ccc.B14S2.DE37", "display": "steven johnson syndrome (sjs)", "designation": [ { @@ -1552,7 +1552,7 @@ ] }, { - "code": "EmCare.B14S2.DE44", + "code": "Ccc.B14S2.DE44", "display": "skin problem", "designation": [ { @@ -1561,7 +1561,7 @@ ] }, { - "code": "EmCare.B14S2.DE45", + "code": "Ccc.B14S2.DE45", "display": "oral sores or mouth ulcers", "designation": [ { @@ -1570,7 +1570,7 @@ ] }, { - "code": "EmCare.B14S2.DE46", + "code": "Ccc.B14S2.DE46", "display": "eye problem", "designation": [ { @@ -1579,7 +1579,7 @@ ] }, { - "code": "EmCare.B14S2.DE47", + "code": "Ccc.B14S2.DE47", "display": "no - do not add a skin or mouth or eye problem", "designation": [ { @@ -1588,7 +1588,7 @@ ] }, { - "code": "EmCare.B21S2.DE29", + "code": "Ccc.B21S2.DE29", "display": "no breastmilk at all", "designation": [ { @@ -1597,7 +1597,7 @@ ] }, { - "code": "EmCare.B21S2.DE10", + "code": "Ccc.B21S2.DE10", "display": "appropriate replacement milk", "designation": [ { @@ -1606,7 +1606,7 @@ ] }, { - "code": "EmCare.B21S2.DE11", + "code": "Ccc.B21S2.DE11", "display": "inappropriate replacement milk", "designation": [ { @@ -1615,7 +1615,7 @@ ] }, { - "code": "EmCare.B22.DE18", + "code": "Ccc.B22.DE18", "display": "chest indrawing (post inhaled bronchodilator trial)", "designation": [ { @@ -1624,7 +1624,7 @@ ] }, { - "code": "EmCare.B22.DE19", + "code": "Ccc.B22.DE19", "display": "respiratory rate (post inhaled bronchodilator trial)", "designation": [ { @@ -1633,7 +1633,7 @@ ] }, { - "code": "EmCare.B22.DE20", + "code": "Ccc.B22.DE20", "display": "fast breathing (post inhaled bronchodilator trial)", "designation": [ { diff --git a/input/resources/valueset/valueset-oral-fluid-test.json b/input/resources/valueset/valueset-oral-fluid-test.json index 08950f73..6d1e8d06 100644 --- a/input/resources/valueset/valueset-oral-fluid-test.json +++ b/input/resources/valueset/valueset-oral-fluid-test.json @@ -3,7 +3,7 @@ "id": "oral-fluid-test", "url": "https://smart.who.int/ccc/ValueSet/oral-fluid-test", "name": "valueset-oral-fluid-test", - "title": "EmCare.B22.DE08", + "title": "Ccc.B22.DE08", "status": "draft", "experimental": false, "description": "Oral Fluid Test Results", @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B22.DE09", + "code": "Ccc.B22.DE09", "display": "Completely Unable to Drink", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.B22.DE10", + "code": "Ccc.B22.DE10", "display": "Vomits Immediately / Everything", "designation": [ { @@ -32,7 +32,7 @@ ] }, { - "code": "EmCare.B22.DE11", + "code": "Ccc.B22.DE11", "display": "Drinks Poorly", "designation": [ { @@ -41,7 +41,7 @@ ] }, { - "code": "EmCare.B22.DE12", + "code": "Ccc.B22.DE12", "display": "Drinks Eagerly / Thirstily", "designation": [ { @@ -50,7 +50,7 @@ ] }, { - "code": "EmCare.B22.DE13", + "code": "Ccc.B22.DE13", "display": "Drinks Normally", "designation": [ { diff --git a/input/resources/valueset/valueset-oral-sores.json b/input/resources/valueset/valueset-oral-sores.json index 8af3c466..99ce2336 100644 --- a/input/resources/valueset/valueset-oral-sores.json +++ b/input/resources/valueset/valueset-oral-sores.json @@ -3,7 +3,7 @@ "id": "oral-sores", "url": "https://smart.who.int/ccc/ValueSet/oral-sores", "name": "valueset-oral-sores", - "title": "EmCare.B14S2.DE38", + "title": "Ccc.B14S2.DE38", "status": "draft", "experimental": false, "description": "Oral sores or Mouth Ulcers", @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B14S2.DE41", + "code": "Ccc.B14S2.DE41", "display": "Mouth Sores or Mouth Ulcers - Deep and Extensive", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.B14S2.DE42", + "code": "Ccc.B14S2.DE42", "display": "Mouth Sores or Mouth Ulcers - Not Deep and Extensive", "designation": [ { @@ -32,7 +32,7 @@ ] }, { - "code": "EmCare.B14S2.DE40", + "code": "Ccc.B14S2.DE40", "display": "Oral Thrush", "designation": [ { @@ -41,7 +41,7 @@ ] }, { - "code": "EmCare.B14S2.DE39", + "code": "Ccc.B14S2.DE39", "display": "No Oral Sores or Mouth Ulcers", "designation": [ { diff --git a/input/resources/valueset/valueset-oxygen-saturation.json b/input/resources/valueset/valueset-oxygen-saturation.json index 58d32d94..872860fc 100644 --- a/input/resources/valueset/valueset-oxygen-saturation.json +++ b/input/resources/valueset/valueset-oxygen-saturation.json @@ -3,7 +3,7 @@ "id": "oxygen-saturation", "url": "https://smart.who.int/ccc/ValueSet/oxygen-saturation", "name": "valueset-oxygen-saturation", - "title": "EmCare.B10S2.DE08", + "title": "Ccc.B10S2.DE08", "status": "draft", "experimental": false, "description": "The client's oxygen saturation is more than or equal to 90 %", @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B10S2.DE09", + "code": "Ccc.B10S2.DE09", "display": "Oxygen saturation not measured", "designation": [ { diff --git a/input/resources/valueset/valueset-palmar-pallor.json b/input/resources/valueset/valueset-palmar-pallor.json index 079f646e..cdeeb35a 100644 --- a/input/resources/valueset/valueset-palmar-pallor.json +++ b/input/resources/valueset/valueset-palmar-pallor.json @@ -3,7 +3,7 @@ "id": "palmar-pallor", "url": "https://smart.who.int/ccc/ValueSet/palmar-pallor", "name": "valueset-palmar-pallor", - "title": "EmCare.B15S2.DE01", + "title": "Ccc.B15S2.DE01", "status": "draft", "experimental": false, "description": "The client has palmar pallor", @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B15S2.DE02", + "code": "Ccc.B15S2.DE02", "display": "Severe Palmar Pallor", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.B15S2.DE03", + "code": "Ccc.B15S2.DE03", "display": "Some Palmar Pallor", "designation": [ { @@ -32,7 +32,7 @@ ] }, { - "code": "EmCare.B15S2.DE04", + "code": "Ccc.B15S2.DE04", "display": "No Palmar Pallor", "designation": [ { diff --git a/input/resources/valueset/valueset-reason-consultation.json b/input/resources/valueset/valueset-reason-consultation.json index b1728fb8..ad238f14 100644 --- a/input/resources/valueset/valueset-reason-consultation.json +++ b/input/resources/valueset/valueset-reason-consultation.json @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B3.DE03", + "code": "Ccc.B3.DE03", "display": "Sick Child", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.B3.DE04", + "code": "Ccc.B3.DE04", "display": "Routine visit (Well child/infant)", "designation": [ { diff --git a/input/resources/valueset/valueset-relationship-to-client.json b/input/resources/valueset/valueset-relationship-to-client.json index d98fef24..facbb1d1 100644 --- a/input/resources/valueset/valueset-relationship-to-client.json +++ b/input/resources/valueset/valueset-relationship-to-client.json @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.A.DE25", + "code": "Ccc.A.DE25", "display": "Mother", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.A.DE26", + "code": "Ccc.A.DE26", "display": "Father", "designation": [ { @@ -32,7 +32,7 @@ ] }, { - "code": "EmCare.A.DE27", + "code": "Ccc.A.DE27", "display": "Sibling", "designation": [ { @@ -41,7 +41,7 @@ ] }, { - "code": "EmCare.A.DE28", + "code": "Ccc.A.DE28", "display": "Extended family", "designation": [ { @@ -50,7 +50,7 @@ ] }, { - "code": "EmCare.A.DE29", + "code": "Ccc.A.DE29", "display": "Legal Guardian", "designation": [ { @@ -59,7 +59,7 @@ ] }, { - "code": "EmCare.A.DE30", + "code": "Ccc.A.DE30", "display": "Not Related", "designation": [ { diff --git a/input/resources/valueset/valueset-replacement-milk.json b/input/resources/valueset/valueset-replacement-milk.json index 5f884401..1405bc32 100644 --- a/input/resources/valueset/valueset-replacement-milk.json +++ b/input/resources/valueset/valueset-replacement-milk.json @@ -3,7 +3,7 @@ "id": "replacement-milk", "url": "https://smart.who.int/ccc/ValueSet/replacement-milk", "name": "valueset-replacement-milk", - "title": "EmCare.B21S2.DE09", + "title": "Ccc.B21S2.DE09", "status": "draft", "experimental": false, "description": "What milk is being given as a replacement feed?", @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B21S2.DE11", + "code": "Ccc.B21S2.DE11", "display": "Inappropriate replacement milk", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.B21S2.DE10", + "code": "Ccc.B21S2.DE10", "display": "Appropriate replacement milk", "designation": [ { diff --git a/input/resources/valueset/valueset-sex-of-the-client.json b/input/resources/valueset/valueset-sex-of-the-client.json index 622ff37f..49fdcfa2 100644 --- a/input/resources/valueset/valueset-sex-of-the-client.json +++ b/input/resources/valueset/valueset-sex-of-the-client.json @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.A.DE17", + "code": "Ccc.A.DE17", "display": "Female", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.A.DE18", + "code": "Ccc.A.DE18", "display": "Male", "designation": [ { @@ -32,7 +32,7 @@ ] }, { - "code": "EmCare.A.DE19", + "code": "Ccc.A.DE19", "display": "Not Specified", "designation": [ { diff --git a/input/resources/valueset/valueset-skin-pb-location.json b/input/resources/valueset/valueset-skin-pb-location.json index 3ea800f1..8751453a 100644 --- a/input/resources/valueset/valueset-skin-pb-location.json +++ b/input/resources/valueset/valueset-skin-pb-location.json @@ -3,7 +3,7 @@ "id": "skin-pb-location", "url": "https://smart.who.int/ccc/ValueSet/skin-pb-location", "name": "valueset-skin-pb-location", - "title": "EmCare.B14S2.DE06", + "title": "Ccc.B14S2.DE06", "status": "draft", "experimental": false, "description": "Generalised or Localised Skin Problem", @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B14S2.DE07", + "code": "Ccc.B14S2.DE07", "display": "Generalised Skin Problem", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.B14S2.DE08", + "code": "Ccc.B14S2.DE08", "display": "Localised Skin Problem", "designation": [ { @@ -32,7 +32,7 @@ ] }, { - "code": "EmCare.B14S2.DE09", + "code": "Ccc.B14S2.DE09", "display": "No Problem", "designation": [ { diff --git a/input/resources/valueset/valueset-skin-pb.json b/input/resources/valueset/valueset-skin-pb.json index 239ecb9e..22c877d0 100644 --- a/input/resources/valueset/valueset-skin-pb.json +++ b/input/resources/valueset/valueset-skin-pb.json @@ -3,7 +3,7 @@ "id": "skin-pb", "url": "https://smart.who.int/ccc/ValueSet/skin-pb", "name": "valueset-skin-pb", - "title": "EmCare.B14S2.DE13", + "title": "Ccc.B14S2.DE13", "status": "draft", "experimental": false, "description": "Type of Skin Problem", @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B14S2.DE18", + "code": "Ccc.B14S2.DE18", "display": "Papular Urticaria or Papular Pruritic Eruptions", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.B14S2.DE19", + "code": "Ccc.B14S2.DE19", "display": "Ringworm (Tinea)", "designation": [ { @@ -32,7 +32,7 @@ ] }, { - "code": "EmCare.B14S2.DE21", + "code": "Ccc.B14S2.DE21", "display": "Scabies", "designation": [ { @@ -41,7 +41,7 @@ ] }, { - "code": "EmCare.B14S2.DE22", + "code": "Ccc.B14S2.DE22", "display": "Chickenpox", "designation": [ { @@ -50,7 +50,7 @@ ] }, { - "code": "EmCare.B14S2.DE23", + "code": "Ccc.B14S2.DE23", "display": "Herpes Zoster", "designation": [ { @@ -59,7 +59,7 @@ ] }, { - "code": "EmCare.B14S2.DE25", + "code": "Ccc.B14S2.DE25", "display": "Impetigo", "designation": [ { @@ -68,7 +68,7 @@ ] }, { - "code": "EmCare.B14S2.DE31", + "code": "Ccc.B14S2.DE31", "display": "Molluscum Contagiosum", "designation": [ { @@ -77,7 +77,7 @@ ] }, { - "code": "EmCare.B14S2.DE32", + "code": "Ccc.B14S2.DE32", "display": "Warts", "designation": [ { @@ -86,7 +86,7 @@ ] }, { - "code": "EmCare.B14S2.DE33", + "code": "Ccc.B14S2.DE33", "display": "Seborrhoeic Dermatitis", "designation": [ { @@ -95,7 +95,7 @@ ] }, { - "code": "EmCare.B14S2.DE35", + "code": "Ccc.B14S2.DE35", "display": "Fixed Drug Reaction", "designation": [ { @@ -104,7 +104,7 @@ ] }, { - "code": "EmCare.B14S2.DE36", + "code": "Ccc.B14S2.DE36", "display": "Eczema", "designation": [ { @@ -113,7 +113,7 @@ ] }, { - "code": "EmCare.B14S2.DE37", + "code": "Ccc.B14S2.DE37", "display": "Steven Johnson Syndrome (SJS)", "designation": [ { diff --git a/input/resources/valueset/valueset-skin-pinch-abdomen.json b/input/resources/valueset/valueset-skin-pinch-abdomen.json index c5aac02d..73c39e1a 100644 --- a/input/resources/valueset/valueset-skin-pinch-abdomen.json +++ b/input/resources/valueset/valueset-skin-pinch-abdomen.json @@ -3,7 +3,7 @@ "id": "skin-pinch-abdomen", "url": "https://smart.who.int/ccc/ValueSet/skin-pinch-abdomen", "name": "valueset-skin-pinch-abdomen", - "title": "EmCare.B20S2.DE02", + "title": "Ccc.B20S2.DE02", "status": "draft", "experimental": false, "description": "Skin pinch of Abdomen", @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B20S2.DE03", + "code": "Ccc.B20S2.DE03", "display": "Skin Pinch goes back very slowly (More than 2 seconds)", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.B20S2.DE04", + "code": "Ccc.B20S2.DE04", "display": "Skin Pinch goes back slowly (2 seconds or fewer, but not immediately)", "designation": [ { @@ -32,7 +32,7 @@ ] }, { - "code": "EmCare.B20S2.DE05", + "code": "Ccc.B20S2.DE05", "display": "Skin Pinch goes back Normally (immediately)", "designation": [ { diff --git a/input/resources/valueset/valueset-temperature-measurement.json b/input/resources/valueset/valueset-temperature-measurement.json index 6663fd96..f875df4d 100644 --- a/input/resources/valueset/valueset-temperature-measurement.json +++ b/input/resources/valueset/valueset-temperature-measurement.json @@ -11,7 +11,7 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { "code": "Low", diff --git a/input/resources/valueset/valueset-throatproblem.json b/input/resources/valueset/valueset-throatproblem.json index f8e48e18..ec9e4a1a 100644 --- a/input/resources/valueset/valueset-throatproblem.json +++ b/input/resources/valueset/valueset-throatproblem.json @@ -10,10 +10,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B17S1.DE03", + "code": "Ccc.B17S1.DE03", "display": "Red (congested) throat", "designation": [ { @@ -22,7 +22,7 @@ ] }, { - "code": "EmCare.B17S1.DE04", + "code": "Ccc.B17S1.DE04", "display": "Exudate on Throat", "designation": [ { @@ -31,7 +31,7 @@ ] }, { - "code": "EmCare.B17S1.DE05", + "code": "Ccc.B17S1.DE05", "display": "Membrane on throat", "designation": [ { diff --git a/input/resources/valueset/valueset-underweight.json b/input/resources/valueset/valueset-underweight.json index c2141632..6464ee2d 100644 --- a/input/resources/valueset/valueset-underweight.json +++ b/input/resources/valueset/valueset-underweight.json @@ -10,10 +10,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B6.DE19", + "code": "Ccc.B6.DE19", "display": "Does not appear to be Underweight", "designation": [ { @@ -22,7 +22,7 @@ ] }, { - "code": "EmCare.B6.DE20", + "code": "Ccc.B6.DE20", "display": "Appears to be Underweight", "designation": [ { @@ -31,7 +31,7 @@ ] }, { - "code": "EmCare.B6.DE21", + "code": "Ccc.B6.DE21", "display": "Appears to be Severely Underweight", "designation": [ { diff --git a/input/resources/valueset/valueset-utensils-cleaned.json b/input/resources/valueset/valueset-utensils-cleaned.json index afbc3797..4d19dbeb 100644 --- a/input/resources/valueset/valueset-utensils-cleaned.json +++ b/input/resources/valueset/valueset-utensils-cleaned.json @@ -3,7 +3,7 @@ "id": "utensils-cleaned", "url": "https://smart.who.int/ccc/ValueSet/utensils-cleaned", "name": "valueset-utensils-cleaned", - "title": "EmCare.B21S2.DE24", + "title": "Ccc.B21S2.DE24", "status": "draft", "experimental": false, "description": "How are the feeding utensils cleaned?", @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B21S2.DE26", + "code": "Ccc.B21S2.DE26", "display": "Feeding utensils not cleaned hygienically", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.B21S2.DE25", + "code": "Ccc.B21S2.DE25", "display": "Feeding utensils cleaned hygienically", "designation": [ { diff --git a/input/resources/valueset/valueset-visit-type.json b/input/resources/valueset/valueset-visit-type.json index 723d8253..23193140 100644 --- a/input/resources/valueset/valueset-visit-type.json +++ b/input/resources/valueset/valueset-visit-type.json @@ -10,10 +10,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B2.DE02", + "code": "Ccc.B2.DE02", "display": "Planned", "designation": [ { @@ -22,7 +22,7 @@ ] }, { - "code": "EmCare.B2.DE03", + "code": "Ccc.B2.DE03", "display": "Unplanned", "designation": [ { diff --git a/input/resources/valueset/valueset-vital-status.json b/input/resources/valueset/valueset-vital-status.json index bb502883..16860b5c 100644 --- a/input/resources/valueset/valueset-vital-status.json +++ b/input/resources/valueset/valueset-vital-status.json @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.A.DE46", + "code": "Ccc.A.DE46", "display": "Dead", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.A.DE34", + "code": "Ccc.A.DE34", "display": "Alive", "designation": [ { @@ -32,7 +32,7 @@ ] }, { - "code": "EmCare.A.DE33", + "code": "Ccc.A.DE33", "display": "Unknown", "designation": [ { diff --git a/input/resources/valueset/valueset-weight-status.json b/input/resources/valueset/valueset-weight-status.json index eb52b5ca..17146593 100644 --- a/input/resources/valueset/valueset-weight-status.json +++ b/input/resources/valueset/valueset-weight-status.json @@ -3,7 +3,7 @@ "id": "weight-status", "url": "https://smart.who.int/ccc/ValueSet/weight-status", "name": "valueset-weight-status", - "title": "EmCare.B21S2.DE01", + "title": "Ccc.B21S2.DE01", "status": "draft", "experimental": false, "description": "Weight Status", @@ -11,10 +11,10 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { - "code": "EmCare.B21S2.DE02", + "code": "Ccc.B21S2.DE02", "display": "Very Low Weight for Age", "designation": [ { @@ -23,7 +23,7 @@ ] }, { - "code": "EmCare.B21S2.DE03", + "code": "Ccc.B21S2.DE03", "display": "Low Weight for Age", "designation": [ { @@ -32,7 +32,7 @@ ] }, { - "code": "EmCare.B21S2.DE04", + "code": "Ccc.B21S2.DE04", "display": "Normal Weight for Age", "designation": [ { diff --git a/input/resources/valueset/valueset-yesno.json b/input/resources/valueset/valueset-yesno.json index fc4af7d5..67d0eada 100644 --- a/input/resources/valueset/valueset-yesno.json +++ b/input/resources/valueset/valueset-yesno.json @@ -10,7 +10,7 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { "code": "yes", diff --git a/input/resources/valueset/valueset-yesnox.json b/input/resources/valueset/valueset-yesnox.json index ed4ce51a..3f4573d2 100644 --- a/input/resources/valueset/valueset-yesnox.json +++ b/input/resources/valueset/valueset-yesnox.json @@ -10,7 +10,7 @@ "compose": { "include": [ { - "system": "https://smart.who.int/ccc/CodeSystem/emcare-custom-codes", + "system": "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes", "concept": [ { "code": "yes", @@ -31,7 +31,7 @@ ] }, { - "code": "EmCare.A.DE33", + "code": "Ccc.A.DE33", "display": "Unknown", "designation": [ { diff --git a/inputPlanDefinitionIndex.md b/inputPlanDefinitionIndex.md index 3e21cd5b..e4fa4d7c 100644 --- a/inputPlanDefinitionIndex.md +++ b/inputPlanDefinitionIndex.md @@ -2,5 +2,5 @@ |Decision Table|Description| |---|---| - |[emcaredt01](PlanDefinition-emcaredt01.html)|None| + |[Cccdt01](PlanDefinition-Cccdt01.html)|None| \ No newline at end of file diff --git a/manual/cql/emcarebase.cql b/manual/cql/Cccbase.cql similarity index 94% rename from manual/cql/emcarebase.cql rename to manual/cql/Cccbase.cql index d3840efc..200e45dd 100644 --- a/manual/cql/emcarebase.cql +++ b/manual/cql/Cccbase.cql @@ -1,9 +1,9 @@ /*nter" @author: Patrick Delcroix -@description: This library is part of the project EmCare Project, its allows standardisation for the observation processing +@description: This library is part of the project Ccc Project, its allows standardisation for the observation processing */ -library emcarebase version '{{LIB_VERSION}}' +library Cccbase version '{{LIB_VERSION}}' using FHIR version '{{FHIR_VERSION}}' @@ -11,7 +11,7 @@ include FHIRHelpers version '4.0.1' parameter "encounterid" String //parameter "Encounter" Encounter$ -codesystem "RoleCodeSystem" : 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes' +codesystem "RoleCodeSystem" : 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' code "Mother": 'MTH' from "RoleCodeSystem" context Patient @@ -45,24 +45,24 @@ define getEncounters: define getEncounter: singleton from getEncounters -define function EmCareExtensions(element Patient, id String): +define function CccExtensions(element Patient, id String): element.extension E where E.url = ('{{canonical_base}}StructureDefinition/' + id) return E -define function EmCareExtension(element Patient, id String): - singleton from EmCareExtensions(element, id) +define function CccExtension(element Patient, id String): + singleton from CccExtensions(element, id) -define function EmCareExtensions(element Encounter, id String): +define function CccExtensions(element Encounter, id String): element.extension E where E.url = ('{{canonical_base}}StructureDefinition/' + id) return E -define function EmCareExtension(element Encounter, id String): - singleton from EmCareExtensions(element, id) +define function CccExtension(element Encounter, id String): + singleton from CccExtensions(element, id) define getPrimaryCareGiverReference: - EmCareExtension(Patient, 'primarycaregiver').value + CccExtension(Patient, 'primarycaregiver').value define getPrimaryCareGiver: [RelatedPerson] RP where RP.id = Last(Split(getPrimaryCareGiverReference.reference, '/')) @@ -72,10 +72,10 @@ define isMotherPrimaryCareGiver: getPrimaryCareGiver is not null and Exists(getPrimaryCareGiver.relationship r where r ~ "Mother") define "Biological Mother Vital Status": - EmCareExtension(Patient, 'motherVitalStatus').value + CccExtension(Patient, 'motherVitalStatus').value define "Biological Father Vital Status": - EmCareExtension(Patient, 'fatherVitalStatus').value + CccExtension(Patient, 'fatherVitalStatus').value // person accompanying the child is a participant with a null type define getRelatedPersonReferenceAccompanyingTheChild: Coalesce(First(getEncounter.participant P where not exists(P.type) ).individual, getPrimaryCareGiverReference) @@ -91,7 +91,7 @@ define getRelatedPersonAccompanyingTheChild: define "Person accompanying child today's Relationship to Client": //WORKARROUND getRelatedPersonAccompanyingTheChild.relationship - EmCareExtension(getEncounter, 'motherpresent').value + CccExtension(getEncounter, 'motherpresent').value @@ -151,7 +151,7 @@ define function HasObservationCodeDuringEncounterDone(id System.Code, valueCode and O.value is FHIR.CodeableConcept and O.value ~ valueCode) -//Exists([Observation] O where O.status in { 'final', 'amended', 'corrected'} and O.value is FHIR.CodeableConcept and Exists( O.value.coding C where C is FHIR.Coding and C.code = FHIR.code {value: 'EmCare.B20S2.DE04'}) )" +//Exists([Observation] O where O.status in { 'final', 'amended', 'corrected'} and O.value is FHIR.CodeableConcept and Exists( O.value.coding C where C is FHIR.Coding and C.code = FHIR.code {value: 'Ccc.B20S2.DE04'}) )" /* define function GetObservationDuringEncounterNotFound(idlist List): diff --git a/manual/cql/emcarezscore.cql b/manual/cql/Ccczscore.cql similarity index 85% rename from manual/cql/emcarezscore.cql rename to manual/cql/Ccczscore.cql index 3141d559..1597aa57 100644 --- a/manual/cql/emcarezscore.cql +++ b/manual/cql/Ccczscore.cql @@ -1,47 +1,47 @@ /* @author: Patrick Delcroix -@description: This library is part of the project EmCare +@description: This library is part of the project Ccc */ -library emcarezscore version '{{LIB_VERSION}}' +library Ccczscore version '{{LIB_VERSION}}' using FHIR version '{{FHIR_VERSION}}' include FHIRHelpers version '{{FHIR_VERSION}}' called FHIRHelpers -include emcarebase version '{{LIB_VERSION}}' called Base +include Cccbase version '{{LIB_VERSION}}' called Base include WeightForAge version '1.0.4' called wfa include WeightForLength version '1.0.4' called wfl include WeightForHeight version '1.0.4' called wfh -//codesystem "EmCare" : '{{cs_url}}' +//codesystem "Ccc" : '{{cs_url}}' -//code "Weight": 'EmCare.B6.DE06' from "EmCare" display 'Weight' -//code "Estimated Weight": 'EmCare.B6.DE08' from "EmCare" display 'Estimated Weight' -//code "MUAC": 'EmCare.B6.DE17' from "EmCare" display 'MUAC' -//code "Length": 'EmCare.B6.DE12' from "EmCare" display 'Length' -//code "Height": 'EmCare.B6.DE09' from "EmCare" display 'Height' +//code "Weight": 'Ccc.B6.DE06' from "Ccc" display 'Weight' +//code "Estimated Weight": 'Ccc.B6.DE08' from "Ccc" display 'Estimated Weight' +//code "MUAC": 'Ccc.B6.DE17' from "Ccc" display 'MUAC' +//code "Length": 'Ccc.B6.DE12' from "Ccc" display 'Length' +//code "Height": 'Ccc.B6.DE09' from "Ccc" display 'Height' parameter "encounterid" String context Patient define "Weight": - Base.coding('EmCare.B6.DE06') + Base.coding('Ccc.B6.DE06') define "Estimated Weight": - Base.coding('EmCare.B6.DE08') + Base.coding('Ccc.B6.DE08') define "MUAC": - Base.coding('EmCare.B6.DE17') + Base.coding('Ccc.B6.DE17') define "Length": - Base.coding('EmCare.B6.DE12') + Base.coding('Ccc.B6.DE12') define "Height": - Base.coding('EmCare.B6.DE09') + Base.coding('Ccc.B6.DE09') define "Visually assess": - Base.coding('EmCare.B6.DE18') + Base.coding('Ccc.B6.DE18') define "Underweight": - Base.coding('EmCare.B6.DE20') + Base.coding('Ccc.B6.DE20') define "Severely Underweight": - Base.coding('EmCare.B6.DE21') + Base.coding('Ccc.B6.DE21') /* pastweight : Previous Weight*/ define "pastweightobs": diff --git a/manual/resources/library/library-emcarebase.json b/manual/resources/library/library-Cccbase.json similarity index 85% rename from manual/resources/library/library-emcarebase.json rename to manual/resources/library/library-Cccbase.json index 796ddd5d..7d194235 100644 --- a/manual/resources/library/library-emcarebase.json +++ b/manual/resources/library/library-Cccbase.json @@ -1,10 +1,10 @@ { "resourceType": "Library", - "id": "emcarebase", - "url": "{{canonical_base}}/Library/emcarebase", + "id": "Cccbase", + "url": "{{canonical_base}}/Library/Cccbase", "version": "{{LIB_VERSION}}", - "name": "emcarebase", - "title": "EmCareBase", + "name": "Cccbase", + "title": "CccBase", "status": "active", "type": { "coding": [ @@ -44,7 +44,7 @@ ], "content": [ { - "id": "ig-loader-emcarebase.cql", + "id": "ig-loader-Cccbase.cql", "contentType": "text/cql" } diff --git a/manual/resources/library/library-emcarezscore.json b/manual/resources/library/library-Ccczscore.json similarity index 88% rename from manual/resources/library/library-emcarezscore.json rename to manual/resources/library/library-Ccczscore.json index 04ea1229..0be5c6d0 100644 --- a/manual/resources/library/library-emcarezscore.json +++ b/manual/resources/library/library-Ccczscore.json @@ -1,16 +1,16 @@ { "resourceType": "Library", - "id": "emcarezscore", - "url": "{{canonical_base}}/Library/emcarezscore", + "id": "Ccczscore", + "url": "{{canonical_base}}/Library/Ccczscore", "identifier": [ { "use": "official", - "value": "EmCareZScore" + "value": "CccZScore" } ], "version": "{{LIB_VERSION}}", - "name": "emcarezscore", - "title": "EmCare.Z.Score", + "name": "Ccczscore", + "title": "Ccc.Z.Score", "status": "active", "type": { "coding": [ @@ -85,13 +85,13 @@ "mustSupport": [ "code", "encounter.reference", "encounter", "value", "status" ], "codeFilter": [ { "path": "code", - "code": [{ "code": "EmCare.B6.DE06" }] + "code": [{ "code": "Ccc.B6.DE06" }] } ] } ], "content": [ { - "id": "ig-loader-emcarezscore.cql" + "id": "ig-loader-Ccczscore.cql" } ] }