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 | Version: 0.1.0 | |||
| Active as of 2026-04-07 | Computable Name: Ccc.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/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 = '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 CccobservationCccb6de08(src, tgt) "6bb35e76";
} "eb449882";
} "e71738d1";
} "b739680e";
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 = '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 = '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 = '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 = '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.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 = '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 = '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.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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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 = '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.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 = '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 = '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 = '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 = '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 CccconditioncollectorCccb23de01(src, item, tgt) "64b9f2ed";
} "8ac761e7";
} "4d3c5911";
} "8a9e262f";
} "1a7bd4e6";
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 CccconditioncollectorCccb23de03(src, item, tgt) "b1c1cd66";
} "010509dd";
} "d18e6c9c";
} "0ddf1e04";
} "b4ab6b36";
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.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 CccconditioncollectorCccb23de10(src, item, tgt) "0b7e0dd8";
} "2addbd30";
} "944a4843";
} "0e6c6c5e";
} "624540df";
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.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 CccconditioncollectorCccb23de16(src, item, tgt) "694adbe8";
} "b4ffe6d7";
} "019739d6";
} "f03364f0";
} "80b4094a";
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 CccconditioncollectorCccb23de17(src, item, tgt) "cc19d396";
} "18e9e9c8";
} "c03c1182";
} "77b63bab";
} "ff70de9a";
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 CccconditioncollectorCccb23de18(src, item, tgt) "7bb9024b";
} "68fe032f";
} "ed54cd94";
} "8b8510f5";
} "632cb525";
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 CccconditioncollectorCccb23de18a(src, item, tgt) "b60dcb5b";
} "b812de89";
} "7e16782b";
} "2e857828";
} "44580a8e";
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 CccconditioncollectorCccb23de100(src, item, tgt) "630c1b4f";
} "41d237f0";
} "ac9a35e1";
} "490124cb";
} "3cac9099";
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 CccconditioncollectorCccb23de6101(src, item, tgt) "b8a94b6b";
} "c5e81286";
} "f91c76bc";
} "004bae37";
} "0fefd9c9";
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 CccconditioncollectorCccb23de6102(src, item, tgt) "7660041a";
} "b83d5bd8";
} "afa6d915";
} "e56c0843";
} "1cfede52";
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 CccconditioncollectorCccb23de6103(src, item, tgt) "4acf003e";
} "052597db";
} "0d306c2e";
} "bde18a8c";
} "9e8a0879";
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 CccconditioncollectorCccb23de30(src, item, tgt) "6aa7cf7e";
} "21ed2b92";
} "b950cabe";
} "38dc397b";
} "a771b576";
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 CccconditioncollectorCccb23de31(src, item, tgt) "0b62776c";
} "718d4b87";
} "a826c054";
} "50550799";
} "2fb7bb3e";
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 CccconditioncollectorCccb23de32(src, item, tgt) "8d2e2b23";
} "85fecf83";
} "115750dd";
} "130e1c53";
} "ac3dd1e5";
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 CccconditioncollectorCccb23de33(src, item, tgt) "30d2abfe";
} "e6a31cdd";
} "d1297d3e";
} "ef3283c2";
} "b5d854cd";
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 CccconditioncollectorCccb23de19(src, item, tgt) "9d939c47";
} "b6456e02";
} "88264770";
} "18e9b3aa";
} "4af8b98f";
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 CccconditioncollectorCccb23de104(src, item, tgt) "7124044e";
} "6dd0b0f1";
} "362898cd";
} "6ee2f034";
} "87957a8c";
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 CccconditioncollectorCccb23de105(src, item, tgt) "565f9699";
} "deccc025";
} "6ffe0a40";
} "ca66f70c";
} "4981fb26";
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 CccconditioncollectorCccb23de27(src, item, tgt) "0da758bb";
} "240424fd";
} "42ac4364";
} "14da060d";
} "ad5837c4";
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 CccconditioncollectorCccb23de28(src, item, tgt) "f02ea85f";
} "9674e4f8";
} "4215cfc9";
} "cc83a9a6";
} "10b29f3a";
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 CccconditioncollectorCccb23de29(src, item, tgt) "30518e39";
} "443496d9";
} "4b8a2cfa";
} "45aa51e3";
} "29a1e48b";
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 CccconditioncollectorCccb23de62(src, item, tgt) "923ea559";
} "253ad99c";
} "e1d211b3";
} "66d2ac7f";
} "34070da4";
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 CccconditioncollectorCccb23de63(src, item, tgt) "2cba00a0";
} "7431d7aa";
} "dd159d2b";
} "6088497e";
} "6d937c64";
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 CccconditioncollectorCccb23de64(src, item, tgt) "1bdeb81e";
} "823b626d";
} "6c269ed8";
} "c0166a2f";
} "ef32feea";
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 CccconditioncollectorCccb23de34(src, item, tgt) "1b5079e7";
} "e3eec4b3";
} "c0170815";
} "9a1a4b51";
} "02fb5c32";
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 CccconditioncollectorCccb23de35(src, item, tgt) "359aadb6";
} "8752dcf9";
} "5587f633";
} "436512de";
} "f74fb871";
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 CccconditioncollectorCccb23de41(src, item, tgt) "6b245d77";
} "7880e418";
} "31ed2847";
} "69bddf54";
} "f3925752";
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 CccconditioncollectorCccb23de42(src, item, tgt) "a013ff50";
} "a1112e83";
} "80f89c3b";
} "c28e55f5";
} "5a4f405d";
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 CccconditioncollectorCccb23de44(src, item, tgt) "2e18a455";
} "05602096";
} "14ff0531";
} "e4d8d14c";
} "106b8412";
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 CccconditioncollectorCccb23de45(src, item, tgt) "b7776d8c";
} "0161a3e1";
} "9041cce3";
} "d5a11665";
} "fa69f51a";
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 CccconditioncollectorCccb23de47(src, item, tgt) "3ef4c39a";
} "cc30da8e";
} "3c571f7a";
} "9c46143a";
} "7ce713b2";
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 CccconditioncollectorCccb23de49(src, item, tgt) "9422f693";
} "270f01c9";
} "2e5719c3";
} "86381b92";
} "dba4472f";
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 CccconditioncollectorCccb23de52(src, item, tgt) "4dc5850c";
} "1305ff09";
} "1e7a4f1d";
} "823dad96";
} "f8980fc9";
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 CccconditioncollectorCccb23de53(src, item, tgt) "f3ebb24f";
} "8a06bf9b";
} "82127571";
} "438bfa1e";
} "a6b3b052";
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 CccconditioncollectorCccb23de54(src, item, tgt) "7d9b72a9";
} "57b6a17c";
} "3f0c44e2";
} "9176d48e";
} "472d138a";
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 CccconditioncollectorCccb23de56(src, item, tgt) "171d0d02";
} "a8403d8d";
} "933c8359";
} "29b48437";
} "8633ecac";
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 CccconditioncollectorCccb23de57(src, item, tgt) "28c69067";
} "712614f8";
} "f5aa3751";
} "b4b69b8b";
} "275e0558";
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 CccconditioncollectorCccb23de58(src, item, tgt) "1ecfb370";
} "a5d3fb11";
} "abbb00cd";
} "5c12666c";
} "9ee9a18a";
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 CccconditioncollectorCccb23de59(src, item, tgt) "f3cc5dd6";
} "c2af2708";
} "420f3c42";
} "940b499b";
} "77bb110d";
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 CccconditioncollectorCccb23de61(src, item, tgt) "3ee47ea8";
} "14a2cbce";
} "69da036c";
} "8d2fc1e7";
} "5baa46cb";
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.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 CccconditioncollectorCccb23de107(src, item, tgt) "d7ceb954";
} "62594d12";
} "6660c144";
} "897c260c";
} "4dfafc7a";
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 CccconditioncollectorCccb23de108(src, item, tgt) "ed29c4d5";
} "a304721d";
} "f9a90d39";
} "031643b1";
} "f52a6f86";
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 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-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/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";
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 = '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 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";
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.DE01', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "38c776ef";
} "dcfcb65d";
} "48b723fb";
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 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";
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.DE03', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "97f42802";
} "539676b6";
} "72db4093";
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";
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 = 'Ccc.B23.DE04', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "38e7535e";
} "dd1642cb";
} "c35c9cd0";
}
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";
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 = 'Ccc.B23.DE05', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "45430313";
} "fbb8aa6b";
} "2361285f";
}
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";
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.DE10', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "901c4fa4";
} "39e6334e";
} "f313d249";
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";
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 = 'Ccc.B23.DE05', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "45430313";
} "fbb8aa6b";
} "2361285f";
}
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 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";
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.DE16', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "672b006b";
} "c458ff7e";
} "a834b1c4";
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 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";
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.DE17', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "bd34c671";
} "0cc3c5de";
} "8b51a13d";
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 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";
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.DE18', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "422373d9";
} "8f1dcdd2";
} "6c227934";
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 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";
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.DE18.a', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "b2c23048";
} "422663d8";
} "12b34bed";
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 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";
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.DE100', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "515f36ee";
} "e9f1a397";
} "5e6079c2";
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 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";
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.DE6101', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "6a9c0b56";
} "970b5053";
} "ce2b70a1";
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 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";
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.DE6102', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "1522be60";
} "18159ba1";
} "cb2b50a2";
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 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";
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.DE6103', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "248ab88b";
} "9f402fa1";
} "5f770596";
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 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";
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.DE30', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "60650f2a";
} "453d3cff";
} "e00da291";
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 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";
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.DE31', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "ab1c5076";
} "11935d2f";
} "e29a8881";
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 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";
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.DE32', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "b634fab6";
} "4ead4dac";
} "48ea19ef";
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";
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 = 'Ccc.B23.DE32a_l', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "e1fd65a9";
} "c8109922";
} "812d89a8";
} "c3ccc3f2";
}
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";
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.DE33', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "57e99b51";
} "82481cbe";
} "ef2558fa";
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 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";
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.DE19', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "8cb2637d";
} "69ddcad6";
} "36529e3a";
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 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";
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.DE104', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "6627d17b";
} "008eb1e8";
} "99bdabd7";
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";
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 = 'Ccc.B23.DE26a_l', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "2bb3282a";
} "059c54a8";
} "bfa2f7ed";
} "d6b41478";
}
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";
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.DE105', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "bfa6a728";
} "503587f4";
} "b4cd8d75";
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 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";
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.DE27', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "10a11fd8";
} "7e9f6c96";
} "47747496";
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 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";
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.DE28', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "bd635f9e";
} "ac92c02f";
} "591966f0";
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 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";
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.DE29', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "59037b30";
} "cfcf61aa";
} "b6fcf002";
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 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";
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.DE62', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "1d89b4e7";
} "7a9976ac";
} "59bce4a5";
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 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";
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.DE63', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "7160c75f";
} "f74f505b";
} "ab307e84";
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 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";
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.DE64', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "f6ad72a0";
} "9035e530";
} "9a8830e5";
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 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";
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.DE34', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "e5f9a7d3";
} "ff3ce60d";
} "c84a5f54";
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 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";
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.DE35', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "7f5b9cb3";
} "30144f76";
} "b15dce6e";
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";
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 = 'Ccc.B23.DE36', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "337a4af0";
} "00bff3d2";
} "9a029988";
}
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";
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.DE41', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "e288c87d";
} "8173bdfa";
} "2297565b";
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 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";
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.DE42', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "94e86dfd";
} "1282d921";
} "f89496b0";
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";
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 = 'Ccc.B23.DE43a', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "3982894f";
} "bb6efca4";
} "fc0928c7";
}
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";
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.DE44', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "e3f3e6d5";
} "bed4feb4";
} "629e48b0";
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 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";
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.DE45', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "606d51c8";
} "7d5d59ca";
} "e36660f4";
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";
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 = 'Ccc.B23.DE46A', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "b043e119";
} "b1d8b88c";
} "a1ec2dd1";
}
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";
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.DE47', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "6bae8d25";
} "5e31a07c";
} "a43d53e8";
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";
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 = 'Ccc.B23.DE48', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "88de7a80";
} "7cd5181a";
} "3c6f199b";
}
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";
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.DE49', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "b581f2e7";
} "1cc86632";
} "f58199bf";
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";
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 = 'Ccc.B23.DE50', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "b871091f";
} "3562dee3";
} "ba9bd30c";
}
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";
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.DE52', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "eb984457";
} "124cd652";
} "c77f1d4e";
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";
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 = 'Ccc.B23.DE52a', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "3a81b32e";
} "2c4ce5dc";
} "510e64e3";
}
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";
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.DE53', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "0f3a6755";
} "863552f3";
} "35439fa7";
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";
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 = 'Ccc.B23.DE53a', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "172c98f5";
} "77f7bdf7";
} "6481f816";
}
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";
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.DE54', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "fafd5b25";
} "61c9d7c8";
} "78b12d83";
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";
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 = 'Ccc.B23.DE55', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "703de849";
} "82394009";
} "626ae745";
}
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";
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.DE56', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "9a929971";
} "b7c8a104";
} "0dd631f3";
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 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";
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.DE57', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "2c0d395c";
} "f04e9b50";
} "af692636";
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";
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 = 'Ccc.B23.DE57a', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "0273738c";
} "3e41ae3b";
} "d8c20ee2";
}
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";
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.DE58', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "d913f145";
} "ecd18d6c";
} "a88f6164";
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 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";
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.DE59', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "8f74fb03";
} "4cae7202";
} "b30797dc";
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";
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 = 'Ccc.B23.DE60', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "da15433c";
} "8622d264";
} "0e509ca1";
}
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";
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.DE61', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "9134fe36";
} "280470c5";
} "8aa97bdd";
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 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";
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.DE107', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "4b1b0c22";
} "d096a052";
} "8e8ee9b4";
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 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";
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.DE108', ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' "3de5c106";
} "58d1e9ce";
} "81cf1715";
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 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";
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.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 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";
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.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 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 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";
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.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 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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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";
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.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 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 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";
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.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 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";
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.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 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";
}