WHO FHIR Implementation Guide (IG): Integrated Management of Childhood Illness (IMCI) in emergencies
0.1.0 - release
WHO FHIR Implementation Guide (IG): Integrated Management of Childhood Illness (IMCI) in emergencies, published by World Health Organization (WHO). This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/WorldHealthOrganization/smart-emcare/tree/main and changes regularly. See the Directory of published versions
Built from commit 750268bd.
| Official URL: https://smart.who.int/ccc/StructureMap/Ccc.b23.classification.m | Version: 0.1.0 | |||
| Active as of 2026-04-07 | Computable Name: Ccc.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/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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 CccconditioncollectorCccb23de83(src, item, tgt) "a49f2674";
} "5a82b6a2";
} "d2d9497c";
} "c5fd054e";
} "0a3b92c9";
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 CccconditioncollectorCccb23de06(src, item, tgt) "ab6f052f";
} "e87439ac";
} "37d42e73";
} "7708b4b0";
} "ca7b518e";
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 CccconditioncollectorCccb23de85(src, item, tgt) "34be21c7";
} "dd73e267";
} "17b29f54";
} "7a81127f";
} "3bb7e65c";
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 CccconditioncollectorCccb23de86(src, item, tgt) "85e79f33";
} "b37e1f00";
} "5ebec517";
} "742af28b";
} "125b7e31";
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 CccconditioncollectorCccb23de106(src, item, tgt) "5f3c80c3";
} "8a9ab3d6";
} "b3badac5";
} "8aec9c45";
} "332b8a91";
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 CccconditioncollectorCccb23de87(src, item, tgt) "69dafef9";
} "7d2dd85f";
} "3814725e";
} "98d3b1f5";
} "4afba6d2";
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 CccconditioncollectorCccb23de88(src, item, tgt) "b8d9f845";
} "65150a1a";
} "43b46f0d";
} "c4a03e24";
} "4ed6008e";
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 CccconditioncollectorCccb23de89(src, item, tgt) "e0b2a7ea";
} "5f78e785";
} "4b1fc155";
} "ad230210";
} "fd95ca9c";
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 CccconditioncollectorCccb23de13(src, item, tgt) "ca1c2344";
} "e291ac38";
} "a3790ce2";
} "df1da7ee";
} "db30808b";
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 CccconditioncollectorCccb23de14(src, item, tgt) "d2d217d7";
} "71ec8c01";
} "eec21165";
} "4bec0867";
} "b6cebe17";
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 CccconditioncollectorCccb23de15(src, item, tgt) "d06cdfa3";
} "78497d5c";
} "5f0e524b";
} "84c7d9e0";
} "5fb77efc";
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 CccconditioncollectorCccb23de94(src, item, tgt) "fd905dcf";
} "887a5cf4";
} "e9cd9662";
} "d351f4bc";
} "1277893a";
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 CccconditioncollectorCccb23de98(src, item, tgt) "50233ad8";
} "3c87eb32";
} "ac7c8731";
} "18115b63";
} "a8b5fbe8";
src where src.item.where(linkId = 'collector').answer.where(value.code = 'collector') 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 Cccconditioncollectorcollector(src, item, tgt) "dee30196";
} "dbad65ac";
} "652cfd04";
} "63e7ab00";
} "d596b39a";
}
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";
src.item as itemtimestamp where linkId = 'timestamp' then {
itemtimestamp.answer first as atimestamp then {
atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";
} "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 = 'Ccc.B23.DE83', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "8e761921";
} "a10c1e7b";
} "13fd46f9";
item.answer where value.code = 'agree' then {
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";
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";
} "a8956d4e";
item.answer where value.code = 'disagree' then {
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";
}
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";
src.item as itemtimestamp where linkId = 'timestamp' then {
itemtimestamp.answer first as atimestamp then {
atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";
} "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 = 'Ccc.B23.DE06', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "dd0fd01c";
} "8ef845b0";
} "558d6c0d";
item.answer where value.code = 'agree' then {
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";
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";
} "a8956d4e";
item.answer where value.code = 'disagree' then {
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";
}
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";
src.item as itemtimestamp where linkId = 'timestamp' then {
itemtimestamp.answer first as atimestamp then {
atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";
} "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 = 'Ccc.B23.DE85', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "edf923c3";
} "a2ce3a97";
} "6f3a3752";
item.answer where value.code = 'agree' then {
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";
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";
} "a8956d4e";
item.answer where value.code = 'disagree' then {
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";
}
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";
src.item as itemtimestamp where linkId = 'timestamp' then {
itemtimestamp.answer first as atimestamp then {
atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";
} "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 = 'Ccc.B23.DE86', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "342850aa";
} "9338b358";
} "fc719a3c";
item.answer where value.code = 'agree' then {
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";
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";
} "a8956d4e";
item.answer where value.code = 'disagree' then {
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";
}
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";
src.item as itemtimestamp where linkId = 'timestamp' then {
itemtimestamp.answer first as atimestamp then {
atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";
} "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 = 'Ccc.B23.DE106', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "70f0a4fa";
} "d8d6d130";
} "671ed411";
item.answer where value.code = 'agree' then {
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";
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";
} "a8956d4e";
item.answer where value.code = 'disagree' then {
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";
}
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";
src.item as itemtimestamp where linkId = 'timestamp' then {
itemtimestamp.answer first as atimestamp then {
atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";
} "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 = 'Ccc.B23.DE87', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "01f1ca5f";
} "62727c30";
} "9ff74c9e";
item.answer where value.code = 'agree' then {
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";
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";
} "a8956d4e";
item.answer where value.code = 'disagree' then {
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";
}
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";
src.item as itemtimestamp where linkId = 'timestamp' then {
itemtimestamp.answer first as atimestamp then {
atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";
} "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 = 'Ccc.B23.DE88', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "2803d2d8";
} "360a74b4";
} "36ea706b";
item.answer where value.code = 'agree' then {
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";
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";
} "a8956d4e";
item.answer where value.code = 'disagree' then {
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";
}
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";
src.item as itemtimestamp where linkId = 'timestamp' then {
itemtimestamp.answer first as atimestamp then {
atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";
} "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 = 'Ccc.B23.DE89', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "d0ba1006";
} "10f03284";
} "0d943b47";
item.answer where value.code = 'agree' then {
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";
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";
} "a8956d4e";
item.answer where value.code = 'disagree' then {
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";
}
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";
src.item as itemtimestamp where linkId = 'timestamp' then {
itemtimestamp.answer first as atimestamp then {
atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";
} "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 = 'Ccc.B23.DE13', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "0b87b4e7";
} "6cc1c549";
} "dc54929c";
item.answer where value.code = 'agree' then {
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";
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";
} "a8956d4e";
item.answer where value.code = 'disagree' then {
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";
}
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";
src.item as itemtimestamp where linkId = 'timestamp' then {
itemtimestamp.answer first as atimestamp then {
atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";
} "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 = 'Ccc.B23.DE14', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "c77e81e6";
} "a3de578a";
} "d565e84e";
item.answer where value.code = 'agree' then {
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";
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";
} "a8956d4e";
item.answer where value.code = 'disagree' then {
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";
}
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";
src.item as itemtimestamp where linkId = 'timestamp' then {
itemtimestamp.answer first as atimestamp then {
atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";
} "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 = 'Ccc.B23.DE15', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "16e4a2c3";
} "088a39f1";
} "b194144a";
item.answer where value.code = 'agree' then {
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";
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";
} "a8956d4e";
item.answer where value.code = 'disagree' then {
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";
}
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";
src.item as itemtimestamp where linkId = 'timestamp' then {
itemtimestamp.answer first as atimestamp then {
atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";
} "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 = 'Ccc.B23.DE94', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "61234ed0";
} "ba5673dd";
} "b957f076";
item.answer where value.code = 'agree' then {
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";
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";
} "a8956d4e";
item.answer where value.code = 'disagree' then {
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";
}
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";
src.item as itemtimestamp where linkId = 'timestamp' then {
itemtimestamp.answer first as atimestamp then {
atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";
} "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 = 'Ccc.B23.DE98', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "11d6b9d2";
} "cbe98666";
} "98163aba";
item.answer where value.code = 'agree' then {
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";
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";
} "a8956d4e";
item.answer where value.code = 'disagree' then {
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";
}
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";
src.item as itemtimestamp where linkId = 'timestamp' then {
itemtimestamp.answer first as atimestamp then {
atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";
} "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 = '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 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";
src.item as itemtimestamp where linkId = 'timestamp' then {
itemtimestamp.answer first as atimestamp then {
atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";
} "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 = '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 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";
src.item as itemtimestamp where linkId = 'timestamp' then {
itemtimestamp.answer first as atimestamp then {
atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";
} "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 = '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 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";
src.item as itemtimestamp where linkId = 'timestamp' then {
itemtimestamp.answer first as atimestamp then {
atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";
} "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 = '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 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";
src.item as itemtimestamp where linkId = 'timestamp' then {
itemtimestamp.answer first as atimestamp then {
atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";
} "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 = '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 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";
src.item as itemtimestamp where linkId = 'timestamp' then {
itemtimestamp.answer first as atimestamp then {
atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";
} "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 = '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 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";
src.item as itemtimestamp where linkId = 'timestamp' then {
itemtimestamp.answer first as atimestamp then {
atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";
} "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 = '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 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";
src.item as itemtimestamp where linkId = 'timestamp' then {
itemtimestamp.answer first as atimestamp then {
atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";
} "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 = '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 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";
src.item as itemtimestamp where linkId = 'timestamp' then {
itemtimestamp.answer first as atimestamp then {
atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";
} "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 = '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 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";
src.item as itemtimestamp where linkId = 'timestamp' then {
itemtimestamp.answer first as atimestamp then {
atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";
} "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 = '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 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";
src.item as itemtimestamp where linkId = 'timestamp' then {
itemtimestamp.answer first as atimestamp then {
atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";
} "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 = '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 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";
src.item as itemtimestamp where linkId = 'timestamp' then {
itemtimestamp.answer first as atimestamp then {
atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";
} "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 = '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 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";
src.item as itemtimestamp where linkId = 'timestamp' then {
itemtimestamp.answer first as atimestamp then {
atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";
} "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 = '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 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";
src.item as itemtimestamp where linkId = 'timestamp' then {
itemtimestamp.answer first as atimestamp then {
atimestamp.value as val -> tgt.recordedDate = val "ea256bb4";
} "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/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";
} "d8e38123";
}