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/feature/update-canonical and changes regularly. See the Directory of published versions

## : Ccc.b23.classification.m - TTL Representation

Active as of 2026-04-07

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:StructureMap ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "Ccc.b23.classification.m"] ; #
      fhir:text [
    fhir:status [ fhir:v "generated" ] ;
    fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre>map \"https://smart.who.int/ccc/StructureMap/Ccc.b23.classification.m\" = \"Ccc.b23.classification.m\"#xD;\n#xD;\n#xD;\nuses \"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse\" alias 'questionnaireResponse' as source#xD;\nuses \"http://hl7.org/fhir/StructureDefinition/Bundle\" alias 'Bundle' as target#xD;\nuses \"https://smart.who.int/ccc/StructureDefinition/condition\" alias 'Condition' as target#xD;\nuses \"https://smart.who.int/ccc/StructureDefinition/Ccccondition\" alias 'Ccc Condition' as produced#xD;\n#xD;\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {#xD;\n  src -&gt; bundle.id = uuid() \"id\";#xD;\n  src -&gt; bundle.type = 'batch' \"type\";#xD;\n  src.item first as item where (linkId = 'Ccc.B23.DE83') and answer.exists() then {#xD;\n    src -&gt; bundle.entry as entry then {#xD;\n      src -&gt;  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) \"9805d737\";#xD;\n      src -&gt; entry.resource = create('Condition') as tgt then {#xD;\n        src.item first as item where (linkId = 'Ccc.B23.DE83') and answer.exists() then {#xD;\n          item then CccconditionCccb23de83(src, item, tgt) \"178343d7\";#xD;\n        } \"a8097d41\";#xD;\n      } \"ad9073a1\";#xD;\n    } \"83bc4493\";#xD;\n  } \"09b682e0\";#xD;\n  src.item first as item where (linkId = 'Ccc.B23.DE06') and answer.exists() then {#xD;\n    src -&gt; bundle.entry as entry then {#xD;\n      src -&gt;  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) \"9805d737\";#xD;\n      src -&gt; entry.resource = create('Condition') as tgt then {#xD;\n        src.item first as item where (linkId = 'Ccc.B23.DE06') and answer.exists() then {#xD;\n          item then CccconditionCccb23de06(src, item, tgt) \"9c759e88\";#xD;\n        } \"060d6b0f\";#xD;\n      } \"6909c9cb\";#xD;\n    } \"80a2a642\";#xD;\n  } \"93603109\";#xD;\n  src.item first as item where (linkId = 'Ccc.B23.DE85') and answer.exists() then {#xD;\n    src -&gt; bundle.entry as entry then {#xD;\n      src -&gt;  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) \"9805d737\";#xD;\n      src -&gt; entry.resource = create('Condition') as tgt then {#xD;\n        src.item first as item where (linkId = 'Ccc.B23.DE85') and answer.exists() then {#xD;\n          item then CccconditionCccb23de85(src, item, tgt) \"935222a8\";#xD;\n        } \"d50b3ee7\";#xD;\n      } \"b5ace6e4\";#xD;\n    } \"6e6a68c3\";#xD;\n  } \"a87e641b\";#xD;\n  src.item first as item where (linkId = 'Ccc.B23.DE86') and answer.exists() then {#xD;\n    src -&gt; bundle.entry as entry then {#xD;\n      src -&gt;  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) \"9805d737\";#xD;\n      src -&gt; entry.resource = create('Condition') as tgt then {#xD;\n        src.item first as item where (linkId = 'Ccc.B23.DE86') and answer.exists() then {#xD;\n          item then CccconditionCccb23de86(src, item, tgt) \"7b5655d0\";#xD;\n        } \"a02dff61\";#xD;\n      } \"f6d60d42\";#xD;\n    } \"e66f46ee\";#xD;\n  } \"67b6f016\";#xD;\n  src.item first as item where (linkId = 'Ccc.B23.DE106') and answer.exists() then {#xD;\n    src -&gt; bundle.entry as entry then {#xD;\n      src -&gt;  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) \"9805d737\";#xD;\n      src -&gt; entry.resource = create('Condition') as tgt then {#xD;\n        src.item first as item where (linkId = 'Ccc.B23.DE106') and answer.exists() then {#xD;\n          item then CccconditionCccb23de106(src, item, tgt) \"1385c52a\";#xD;\n        } \"f5b0e691\";#xD;\n      } \"cffa49c6\";#xD;\n    } \"f8df0e47\";#xD;\n  } \"a8b97e3f\";#xD;\n  src.item first as item where (linkId = 'Ccc.B23.DE87') and answer.exists() then {#xD;\n    src -&gt; bundle.entry as entry then {#xD;\n      src -&gt;  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) \"9805d737\";#xD;\n      src -&gt; entry.resource = create('Condition') as tgt then {#xD;\n        src.item first as item where (linkId = 'Ccc.B23.DE87') and answer.exists() then {#xD;\n          item then CccconditionCccb23de87(src, item, tgt) \"ba174f0b\";#xD;\n        } \"30f36551\";#xD;\n      } \"7e51b325\";#xD;\n    } \"efdd0e20\";#xD;\n  } \"2521504d\";#xD;\n  src.item first as item where (linkId = 'Ccc.B23.DE88') and answer.exists() then {#xD;\n    src -&gt; bundle.entry as entry then {#xD;\n      src -&gt;  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) \"9805d737\";#xD;\n      src -&gt; entry.resource = create('Condition') as tgt then {#xD;\n        src.item first as item where (linkId = 'Ccc.B23.DE88') and answer.exists() then {#xD;\n          item then CccconditionCccb23de88(src, item, tgt) \"f570c42d\";#xD;\n        } \"f0521ba0\";#xD;\n      } \"999ae6b0\";#xD;\n    } \"0077703f\";#xD;\n  } \"3efea57e\";#xD;\n  src.item first as item where (linkId = 'Ccc.B23.DE89') and answer.exists() then {#xD;\n    src -&gt; bundle.entry as entry then {#xD;\n      src -&gt;  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) \"9805d737\";#xD;\n      src -&gt; entry.resource = create('Condition') as tgt then {#xD;\n        src.item first as item where (linkId = 'Ccc.B23.DE89') and answer.exists() then {#xD;\n          item then CccconditionCccb23de89(src, item, tgt) \"226a96b3\";#xD;\n        } \"72e06a74\";#xD;\n      } \"d6e439e9\";#xD;\n    } \"09b39961\";#xD;\n  } \"cc634914\";#xD;\n  src.item first as item where (linkId = 'Ccc.B23.DE13') and answer.exists() then {#xD;\n    src -&gt; bundle.entry as entry then {#xD;\n      src -&gt;  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) \"9805d737\";#xD;\n      src -&gt; entry.resource = create('Condition') as tgt then {#xD;\n        src.item first as item where (linkId = 'Ccc.B23.DE13') and answer.exists() then {#xD;\n          item then CccconditionCccb23de13(src, item, tgt) \"66186a0c\";#xD;\n        } \"a1450efb\";#xD;\n      } \"076ff820\";#xD;\n    } \"08bcb577\";#xD;\n  } \"feb0d657\";#xD;\n  src.item first as item where (linkId = 'Ccc.B23.DE14') and answer.exists() then {#xD;\n    src -&gt; bundle.entry as entry then {#xD;\n      src -&gt;  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) \"9805d737\";#xD;\n      src -&gt; entry.resource = create('Condition') as tgt then {#xD;\n        src.item first as item where (linkId = 'Ccc.B23.DE14') and answer.exists() then {#xD;\n          item then CccconditionCccb23de14(src, item, tgt) \"2dcb0090\";#xD;\n        } \"88d1e8c7\";#xD;\n      } \"3ef7f05b\";#xD;\n    } \"90e804b6\";#xD;\n  } \"d819a392\";#xD;\n  src.item first as item where (linkId = 'Ccc.B23.DE15') and answer.exists() then {#xD;\n    src -&gt; bundle.entry as entry then {#xD;\n      src -&gt;  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) \"9805d737\";#xD;\n      src -&gt; entry.resource = create('Condition') as tgt then {#xD;\n        src.item first as item where (linkId = 'Ccc.B23.DE15') and answer.exists() then {#xD;\n          item then CccconditionCccb23de15(src, item, tgt) \"fe470a2a\";#xD;\n        } \"21fccbde\";#xD;\n      } \"2eb659f8\";#xD;\n    } \"79ef4ab2\";#xD;\n  } \"e3b54720\";#xD;\n  src.item first as item where (linkId = 'Ccc.B23.DE94') and answer.exists() then {#xD;\n    src -&gt; bundle.entry as entry then {#xD;\n      src -&gt;  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) \"9805d737\";#xD;\n      src -&gt; entry.resource = create('Condition') as tgt then {#xD;\n        src.item first as item where (linkId = 'Ccc.B23.DE94') and answer.exists() then {#xD;\n          item then CccconditionCccb23de94(src, item, tgt) \"4bfe2573\";#xD;\n        } \"a323ced7\";#xD;\n      } \"4238505f\";#xD;\n    } \"cb434a7e\";#xD;\n  } \"974a1d36\";#xD;\n  src.item first as item where (linkId = 'Ccc.B23.DE98') and answer.exists() then {#xD;\n    src -&gt; bundle.entry as entry then {#xD;\n      src -&gt;  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) \"9805d737\";#xD;\n      src -&gt; entry.resource = create('Condition') as tgt then {#xD;\n        src.item first as item where (linkId = 'Ccc.B23.DE98') and answer.exists() then {#xD;\n          item then CccconditionCccb23de98(src, item, tgt) \"ec699e2c\";#xD;\n        } \"19da18a9\";#xD;\n      } \"b82b0c05\";#xD;\n    } \"67075fc4\";#xD;\n  } \"51f9d108\";#xD;\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE83') then {#xD;\n    src.item first as item where (linkId = 'collector') and answer.exists() then {#xD;\n      src -&gt; bundle.entry as entry then {#xD;\n        src -&gt;  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) \"9805d737\";#xD;\n        src -&gt; entry.resource = create('Condition') as tgt then {#xD;\n          src then CccconditioncollectorCccb23de83(src, item, tgt) \"a49f2674\";#xD;\n        } \"5a82b6a2\";#xD;\n      } \"d2d9497c\";#xD;\n    } \"c5fd054e\";#xD;\n  } \"0a3b92c9\";#xD;\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE06') then {#xD;\n    src.item first as item where (linkId = 'collector') and answer.exists() then {#xD;\n      src -&gt; bundle.entry as entry then {#xD;\n        src -&gt;  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) \"9805d737\";#xD;\n        src -&gt; entry.resource = create('Condition') as tgt then {#xD;\n          src then CccconditioncollectorCccb23de06(src, item, tgt) \"ab6f052f\";#xD;\n        } \"e87439ac\";#xD;\n      } \"37d42e73\";#xD;\n    } \"7708b4b0\";#xD;\n  } \"ca7b518e\";#xD;\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE85') then {#xD;\n    src.item first as item where (linkId = 'collector') and answer.exists() then {#xD;\n      src -&gt; bundle.entry as entry then {#xD;\n        src -&gt;  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) \"9805d737\";#xD;\n        src -&gt; entry.resource = create('Condition') as tgt then {#xD;\n          src then CccconditioncollectorCccb23de85(src, item, tgt) \"34be21c7\";#xD;\n        } \"dd73e267\";#xD;\n      } \"17b29f54\";#xD;\n    } \"7a81127f\";#xD;\n  } \"3bb7e65c\";#xD;\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE86') then {#xD;\n    src.item first as item where (linkId = 'collector') and answer.exists() then {#xD;\n      src -&gt; bundle.entry as entry then {#xD;\n        src -&gt;  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) \"9805d737\";#xD;\n        src -&gt; entry.resource = create('Condition') as tgt then {#xD;\n          src then CccconditioncollectorCccb23de86(src, item, tgt) \"85e79f33\";#xD;\n        } \"b37e1f00\";#xD;\n      } \"5ebec517\";#xD;\n    } \"742af28b\";#xD;\n  } \"125b7e31\";#xD;\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE106') then {#xD;\n    src.item first as item where (linkId = 'collector') and answer.exists() then {#xD;\n      src -&gt; bundle.entry as entry then {#xD;\n        src -&gt;  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) \"9805d737\";#xD;\n        src -&gt; entry.resource = create('Condition') as tgt then {#xD;\n          src then CccconditioncollectorCccb23de106(src, item, tgt) \"5f3c80c3\";#xD;\n        } \"8a9ab3d6\";#xD;\n      } \"b3badac5\";#xD;\n    } \"8aec9c45\";#xD;\n  } \"332b8a91\";#xD;\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE87') then {#xD;\n    src.item first as item where (linkId = 'collector') and answer.exists() then {#xD;\n      src -&gt; bundle.entry as entry then {#xD;\n        src -&gt;  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) \"9805d737\";#xD;\n        src -&gt; entry.resource = create('Condition') as tgt then {#xD;\n          src then CccconditioncollectorCccb23de87(src, item, tgt) \"69dafef9\";#xD;\n        } \"7d2dd85f\";#xD;\n      } \"3814725e\";#xD;\n    } \"98d3b1f5\";#xD;\n  } \"4afba6d2\";#xD;\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE88') then {#xD;\n    src.item first as item where (linkId = 'collector') and answer.exists() then {#xD;\n      src -&gt; bundle.entry as entry then {#xD;\n        src -&gt;  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) \"9805d737\";#xD;\n        src -&gt; entry.resource = create('Condition') as tgt then {#xD;\n          src then CccconditioncollectorCccb23de88(src, item, tgt) \"b8d9f845\";#xD;\n        } \"65150a1a\";#xD;\n      } \"43b46f0d\";#xD;\n    } \"c4a03e24\";#xD;\n  } \"4ed6008e\";#xD;\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE89') then {#xD;\n    src.item first as item where (linkId = 'collector') and answer.exists() then {#xD;\n      src -&gt; bundle.entry as entry then {#xD;\n        src -&gt;  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) \"9805d737\";#xD;\n        src -&gt; entry.resource = create('Condition') as tgt then {#xD;\n          src then CccconditioncollectorCccb23de89(src, item, tgt) \"e0b2a7ea\";#xD;\n        } \"5f78e785\";#xD;\n      } \"4b1fc155\";#xD;\n    } \"ad230210\";#xD;\n  } \"fd95ca9c\";#xD;\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE13') then {#xD;\n    src.item first as item where (linkId = 'collector') and answer.exists() then {#xD;\n      src -&gt; bundle.entry as entry then {#xD;\n        src -&gt;  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) \"9805d737\";#xD;\n        src -&gt; entry.resource = create('Condition') as tgt then {#xD;\n          src then CccconditioncollectorCccb23de13(src, item, tgt) \"ca1c2344\";#xD;\n        } \"e291ac38\";#xD;\n      } \"a3790ce2\";#xD;\n    } \"df1da7ee\";#xD;\n  } \"db30808b\";#xD;\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE14') then {#xD;\n    src.item first as item where (linkId = 'collector') and answer.exists() then {#xD;\n      src -&gt; bundle.entry as entry then {#xD;\n        src -&gt;  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) \"9805d737\";#xD;\n        src -&gt; entry.resource = create('Condition') as tgt then {#xD;\n          src then CccconditioncollectorCccb23de14(src, item, tgt) \"d2d217d7\";#xD;\n        } \"71ec8c01\";#xD;\n      } \"eec21165\";#xD;\n    } \"4bec0867\";#xD;\n  } \"b6cebe17\";#xD;\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE15') then {#xD;\n    src.item first as item where (linkId = 'collector') and answer.exists() then {#xD;\n      src -&gt; bundle.entry as entry then {#xD;\n        src -&gt;  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) \"9805d737\";#xD;\n        src -&gt; entry.resource = create('Condition') as tgt then {#xD;\n          src then CccconditioncollectorCccb23de15(src, item, tgt) \"d06cdfa3\";#xD;\n        } \"78497d5c\";#xD;\n      } \"5f0e524b\";#xD;\n    } \"84c7d9e0\";#xD;\n  } \"5fb77efc\";#xD;\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE94') then {#xD;\n    src.item first as item where (linkId = 'collector') and answer.exists() then {#xD;\n      src -&gt; bundle.entry as entry then {#xD;\n        src -&gt;  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) \"9805d737\";#xD;\n        src -&gt; entry.resource = create('Condition') as tgt then {#xD;\n          src then CccconditioncollectorCccb23de94(src, item, tgt) \"fd905dcf\";#xD;\n        } \"887a5cf4\";#xD;\n      } \"e9cd9662\";#xD;\n    } \"d351f4bc\";#xD;\n  } \"1277893a\";#xD;\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE98') then {#xD;\n    src.item first as item where (linkId = 'collector') and answer.exists() then {#xD;\n      src -&gt; bundle.entry as entry then {#xD;\n        src -&gt;  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) \"9805d737\";#xD;\n        src -&gt; entry.resource = create('Condition') as tgt then {#xD;\n          src then CccconditioncollectorCccb23de98(src, item, tgt) \"50233ad8\";#xD;\n        } \"3c87eb32\";#xD;\n      } \"ac7c8731\";#xD;\n    } \"18115b63\";#xD;\n  } \"a8b5fbe8\";#xD;\n  src where src.item.where(linkId = 'collector').answer.where(value.code = 'collector') then {#xD;\n    src.item first as item where (linkId = 'collector') and answer.exists() then {#xD;\n      src -&gt; bundle.entry as entry then {#xD;\n        src -&gt;  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Condition/', uuid) \"9805d737\";#xD;\n        src -&gt; entry.resource = create('Condition') as tgt then {#xD;\n          src then Cccconditioncollectorcollector(src, item, tgt) \"dee30196\";#xD;\n        } \"dbad65ac\";#xD;\n      } \"652cfd04\";#xD;\n    } \"63e7ab00\";#xD;\n  } \"d596b39a\";#xD;\n}#xD;\n#xD;\ngroup CccconditionCccb23de83(source src, source item, target tgt) {#xD;\n  item.answer first as a then {#xD;\n    src.subject as sub -&gt; tgt.subject = sub \"23252e10\";#xD;\n    src.encounter as en -&gt; tgt.encounter = en \"553aae7e\";#xD;\n    src.item as itemtimestamp where linkId = 'timestamp' then {#xD;\n      itemtimestamp.answer first as atimestamp then {#xD;\n        atimestamp.value as val -&gt; tgt.recordedDate = val \"ea256bb4\";#xD;\n      } \"46018ce4\";#xD;\n    } \"cce2a9b1\";#xD;\n    src -&gt; tgt.code = create('CodeableConcept') as cs then {#xD;\n      src -&gt;  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE83',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' \"8e761921\";#xD;\n    } \"a10c1e7b\";#xD;\n  } \"13fd46f9\";#xD;\n  item.answer where value.code = 'agree' then {#xD;\n    src -&gt;  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\";#xD;\n    src -&gt;  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\";#xD;\n  } \"a8956d4e\";#xD;\n  item.answer where value.code = 'disagree' then {#xD;\n    src -&gt;  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\";#xD;\n    src -&gt;  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\";#xD;\n  } \"2219f1ae\";#xD;\n}#xD;\n#xD;\ngroup CccconditionCccb23de06(source src, source item, target tgt) {#xD;\n  item.answer first as a then {#xD;\n    src.subject as sub -&gt; tgt.subject = sub \"23252e10\";#xD;\n    src.encounter as en -&gt; tgt.encounter = en \"553aae7e\";#xD;\n    src.item as itemtimestamp where linkId = 'timestamp' then {#xD;\n      itemtimestamp.answer first as atimestamp then {#xD;\n        atimestamp.value as val -&gt; tgt.recordedDate = val \"ea256bb4\";#xD;\n      } \"46018ce4\";#xD;\n    } \"cce2a9b1\";#xD;\n    src -&gt; tgt.code = create('CodeableConcept') as cs then {#xD;\n      src -&gt;  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\";#xD;\n    } \"8ef845b0\";#xD;\n  } \"558d6c0d\";#xD;\n  item.answer where value.code = 'agree' then {#xD;\n    src -&gt;  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\";#xD;\n    src -&gt;  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\";#xD;\n  } \"a8956d4e\";#xD;\n  item.answer where value.code = 'disagree' then {#xD;\n    src -&gt;  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\";#xD;\n    src -&gt;  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\";#xD;\n  } \"2219f1ae\";#xD;\n}#xD;\n#xD;\ngroup CccconditionCccb23de85(source src, source item, target tgt) {#xD;\n  item.answer first as a then {#xD;\n    src.subject as sub -&gt; tgt.subject = sub \"23252e10\";#xD;\n    src.encounter as en -&gt; tgt.encounter = en \"553aae7e\";#xD;\n    src.item as itemtimestamp where linkId = 'timestamp' then {#xD;\n      itemtimestamp.answer first as atimestamp then {#xD;\n        atimestamp.value as val -&gt; tgt.recordedDate = val \"ea256bb4\";#xD;\n      } \"46018ce4\";#xD;\n    } \"cce2a9b1\";#xD;\n    src -&gt; tgt.code = create('CodeableConcept') as cs then {#xD;\n      src -&gt;  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE85',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' \"edf923c3\";#xD;\n    } \"a2ce3a97\";#xD;\n  } \"6f3a3752\";#xD;\n  item.answer where value.code = 'agree' then {#xD;\n    src -&gt;  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\";#xD;\n    src -&gt;  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\";#xD;\n  } \"a8956d4e\";#xD;\n  item.answer where value.code = 'disagree' then {#xD;\n    src -&gt;  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\";#xD;\n    src -&gt;  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\";#xD;\n  } \"2219f1ae\";#xD;\n}#xD;\n#xD;\ngroup CccconditionCccb23de86(source src, source item, target tgt) {#xD;\n  item.answer first as a then {#xD;\n    src.subject as sub -&gt; tgt.subject = sub \"23252e10\";#xD;\n    src.encounter as en -&gt; tgt.encounter = en \"553aae7e\";#xD;\n    src.item as itemtimestamp where linkId = 'timestamp' then {#xD;\n      itemtimestamp.answer first as atimestamp then {#xD;\n        atimestamp.value as val -&gt; tgt.recordedDate = val \"ea256bb4\";#xD;\n      } \"46018ce4\";#xD;\n    } \"cce2a9b1\";#xD;\n    src -&gt; tgt.code = create('CodeableConcept') as cs then {#xD;\n      src -&gt;  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE86',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' \"342850aa\";#xD;\n    } \"9338b358\";#xD;\n  } \"fc719a3c\";#xD;\n  item.answer where value.code = 'agree' then {#xD;\n    src -&gt;  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\";#xD;\n    src -&gt;  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\";#xD;\n  } \"a8956d4e\";#xD;\n  item.answer where value.code = 'disagree' then {#xD;\n    src -&gt;  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\";#xD;\n    src -&gt;  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\";#xD;\n  } \"2219f1ae\";#xD;\n}#xD;\n#xD;\ngroup CccconditionCccb23de106(source src, source item, target tgt) {#xD;\n  item.answer first as a then {#xD;\n    src.subject as sub -&gt; tgt.subject = sub \"23252e10\";#xD;\n    src.encounter as en -&gt; tgt.encounter = en \"553aae7e\";#xD;\n    src.item as itemtimestamp where linkId = 'timestamp' then {#xD;\n      itemtimestamp.answer first as atimestamp then {#xD;\n        atimestamp.value as val -&gt; tgt.recordedDate = val \"ea256bb4\";#xD;\n      } \"46018ce4\";#xD;\n    } \"cce2a9b1\";#xD;\n    src -&gt; tgt.code = create('CodeableConcept') as cs then {#xD;\n      src -&gt;  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\";#xD;\n    } \"d8d6d130\";#xD;\n  } \"671ed411\";#xD;\n  item.answer where value.code = 'agree' then {#xD;\n    src -&gt;  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\";#xD;\n    src -&gt;  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\";#xD;\n  } \"a8956d4e\";#xD;\n  item.answer where value.code = 'disagree' then {#xD;\n    src -&gt;  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\";#xD;\n    src -&gt;  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\";#xD;\n  } \"2219f1ae\";#xD;\n}#xD;\n#xD;\ngroup CccconditionCccb23de87(source src, source item, target tgt) {#xD;\n  item.answer first as a then {#xD;\n    src.subject as sub -&gt; tgt.subject = sub \"23252e10\";#xD;\n    src.encounter as en -&gt; tgt.encounter = en \"553aae7e\";#xD;\n    src.item as itemtimestamp where linkId = 'timestamp' then {#xD;\n      itemtimestamp.answer first as atimestamp then {#xD;\n        atimestamp.value as val -&gt; tgt.recordedDate = val \"ea256bb4\";#xD;\n      } \"46018ce4\";#xD;\n    } \"cce2a9b1\";#xD;\n    src -&gt; tgt.code = create('CodeableConcept') as cs then {#xD;\n      src -&gt;  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE87',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' \"01f1ca5f\";#xD;\n    } \"62727c30\";#xD;\n  } \"9ff74c9e\";#xD;\n  item.answer where value.code = 'agree' then {#xD;\n    src -&gt;  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\";#xD;\n    src -&gt;  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\";#xD;\n  } \"a8956d4e\";#xD;\n  item.answer where value.code = 'disagree' then {#xD;\n    src -&gt;  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\";#xD;\n    src -&gt;  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\";#xD;\n  } \"2219f1ae\";#xD;\n}#xD;\n#xD;\ngroup CccconditionCccb23de88(source src, source item, target tgt) {#xD;\n  item.answer first as a then {#xD;\n    src.subject as sub -&gt; tgt.subject = sub \"23252e10\";#xD;\n    src.encounter as en -&gt; tgt.encounter = en \"553aae7e\";#xD;\n    src.item as itemtimestamp where linkId = 'timestamp' then {#xD;\n      itemtimestamp.answer first as atimestamp then {#xD;\n        atimestamp.value as val -&gt; tgt.recordedDate = val \"ea256bb4\";#xD;\n      } \"46018ce4\";#xD;\n    } \"cce2a9b1\";#xD;\n    src -&gt; tgt.code = create('CodeableConcept') as cs then {#xD;\n      src -&gt;  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE88',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' \"2803d2d8\";#xD;\n    } \"360a74b4\";#xD;\n  } \"36ea706b\";#xD;\n  item.answer where value.code = 'agree' then {#xD;\n    src -&gt;  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\";#xD;\n    src -&gt;  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\";#xD;\n  } \"a8956d4e\";#xD;\n  item.answer where value.code = 'disagree' then {#xD;\n    src -&gt;  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\";#xD;\n    src -&gt;  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\";#xD;\n  } \"2219f1ae\";#xD;\n}#xD;\n#xD;\ngroup CccconditionCccb23de89(source src, source item, target tgt) {#xD;\n  item.answer first as a then {#xD;\n    src.subject as sub -&gt; tgt.subject = sub \"23252e10\";#xD;\n    src.encounter as en -&gt; tgt.encounter = en \"553aae7e\";#xD;\n    src.item as itemtimestamp where linkId = 'timestamp' then {#xD;\n      itemtimestamp.answer first as atimestamp then {#xD;\n        atimestamp.value as val -&gt; tgt.recordedDate = val \"ea256bb4\";#xD;\n      } \"46018ce4\";#xD;\n    } \"cce2a9b1\";#xD;\n    src -&gt; tgt.code = create('CodeableConcept') as cs then {#xD;\n      src -&gt;  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE89',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' \"d0ba1006\";#xD;\n    } \"10f03284\";#xD;\n  } \"0d943b47\";#xD;\n  item.answer where value.code = 'agree' then {#xD;\n    src -&gt;  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\";#xD;\n    src -&gt;  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\";#xD;\n  } \"a8956d4e\";#xD;\n  item.answer where value.code = 'disagree' then {#xD;\n    src -&gt;  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\";#xD;\n    src -&gt;  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\";#xD;\n  } \"2219f1ae\";#xD;\n}#xD;\n#xD;\ngroup CccconditionCccb23de13(source src, source item, target tgt) {#xD;\n  item.answer first as a then {#xD;\n    src.subject as sub -&gt; tgt.subject = sub \"23252e10\";#xD;\n    src.encounter as en -&gt; tgt.encounter = en \"553aae7e\";#xD;\n    src.item as itemtimestamp where linkId = 'timestamp' then {#xD;\n      itemtimestamp.answer first as atimestamp then {#xD;\n        atimestamp.value as val -&gt; tgt.recordedDate = val \"ea256bb4\";#xD;\n      } \"46018ce4\";#xD;\n    } \"cce2a9b1\";#xD;\n    src -&gt; tgt.code = create('CodeableConcept') as cs then {#xD;\n      src -&gt;  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\";#xD;\n    } \"6cc1c549\";#xD;\n  } \"dc54929c\";#xD;\n  item.answer where value.code = 'agree' then {#xD;\n    src -&gt;  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\";#xD;\n    src -&gt;  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\";#xD;\n  } \"a8956d4e\";#xD;\n  item.answer where value.code = 'disagree' then {#xD;\n    src -&gt;  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\";#xD;\n    src -&gt;  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\";#xD;\n  } \"2219f1ae\";#xD;\n}#xD;\n#xD;\ngroup CccconditionCccb23de14(source src, source item, target tgt) {#xD;\n  item.answer first as a then {#xD;\n    src.subject as sub -&gt; tgt.subject = sub \"23252e10\";#xD;\n    src.encounter as en -&gt; tgt.encounter = en \"553aae7e\";#xD;\n    src.item as itemtimestamp where linkId = 'timestamp' then {#xD;\n      itemtimestamp.answer first as atimestamp then {#xD;\n        atimestamp.value as val -&gt; tgt.recordedDate = val \"ea256bb4\";#xD;\n      } \"46018ce4\";#xD;\n    } \"cce2a9b1\";#xD;\n    src -&gt; tgt.code = create('CodeableConcept') as cs then {#xD;\n      src -&gt;  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\";#xD;\n    } \"a3de578a\";#xD;\n  } \"d565e84e\";#xD;\n  item.answer where value.code = 'agree' then {#xD;\n    src -&gt;  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\";#xD;\n    src -&gt;  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\";#xD;\n  } \"a8956d4e\";#xD;\n  item.answer where value.code = 'disagree' then {#xD;\n    src -&gt;  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\";#xD;\n    src -&gt;  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\";#xD;\n  } \"2219f1ae\";#xD;\n}#xD;\n#xD;\ngroup CccconditionCccb23de15(source src, source item, target tgt) {#xD;\n  item.answer first as a then {#xD;\n    src.subject as sub -&gt; tgt.subject = sub \"23252e10\";#xD;\n    src.encounter as en -&gt; tgt.encounter = en \"553aae7e\";#xD;\n    src.item as itemtimestamp where linkId = 'timestamp' then {#xD;\n      itemtimestamp.answer first as atimestamp then {#xD;\n        atimestamp.value as val -&gt; tgt.recordedDate = val \"ea256bb4\";#xD;\n      } \"46018ce4\";#xD;\n    } \"cce2a9b1\";#xD;\n    src -&gt; tgt.code = create('CodeableConcept') as cs then {#xD;\n      src -&gt;  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\";#xD;\n    } \"088a39f1\";#xD;\n  } \"b194144a\";#xD;\n  item.answer where value.code = 'agree' then {#xD;\n    src -&gt;  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\";#xD;\n    src -&gt;  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\";#xD;\n  } \"a8956d4e\";#xD;\n  item.answer where value.code = 'disagree' then {#xD;\n    src -&gt;  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\";#xD;\n    src -&gt;  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\";#xD;\n  } \"2219f1ae\";#xD;\n}#xD;\n#xD;\ngroup CccconditionCccb23de94(source src, source item, target tgt) {#xD;\n  item.answer first as a then {#xD;\n    src.subject as sub -&gt; tgt.subject = sub \"23252e10\";#xD;\n    src.encounter as en -&gt; tgt.encounter = en \"553aae7e\";#xD;\n    src.item as itemtimestamp where linkId = 'timestamp' then {#xD;\n      itemtimestamp.answer first as atimestamp then {#xD;\n        atimestamp.value as val -&gt; tgt.recordedDate = val \"ea256bb4\";#xD;\n      } \"46018ce4\";#xD;\n    } \"cce2a9b1\";#xD;\n    src -&gt; tgt.code = create('CodeableConcept') as cs then {#xD;\n      src -&gt;  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE94',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' \"61234ed0\";#xD;\n    } \"ba5673dd\";#xD;\n  } \"b957f076\";#xD;\n  item.answer where value.code = 'agree' then {#xD;\n    src -&gt;  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\";#xD;\n    src -&gt;  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\";#xD;\n  } \"a8956d4e\";#xD;\n  item.answer where value.code = 'disagree' then {#xD;\n    src -&gt;  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\";#xD;\n    src -&gt;  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\";#xD;\n  } \"2219f1ae\";#xD;\n}#xD;\n#xD;\ngroup CccconditionCccb23de98(source src, source item, target tgt) {#xD;\n  item.answer first as a then {#xD;\n    src.subject as sub -&gt; tgt.subject = sub \"23252e10\";#xD;\n    src.encounter as en -&gt; tgt.encounter = en \"553aae7e\";#xD;\n    src.item as itemtimestamp where linkId = 'timestamp' then {#xD;\n      itemtimestamp.answer first as atimestamp then {#xD;\n        atimestamp.value as val -&gt; tgt.recordedDate = val \"ea256bb4\";#xD;\n      } \"46018ce4\";#xD;\n    } \"cce2a9b1\";#xD;\n    src -&gt; tgt.code = create('CodeableConcept') as cs then {#xD;\n      src -&gt;  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE98',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' \"11d6b9d2\";#xD;\n    } \"cbe98666\";#xD;\n  } \"98163aba\";#xD;\n  item.answer where value.code = 'agree' then {#xD;\n    src -&gt;  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\";#xD;\n    src -&gt;  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\";#xD;\n  } \"a8956d4e\";#xD;\n  item.answer where value.code = 'disagree' then {#xD;\n    src -&gt;  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\";#xD;\n    src -&gt;  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\";#xD;\n  } \"2219f1ae\";#xD;\n}#xD;\n#xD;\ngroup CccconditioncollectorCccb23de83(source src, source item, target tgt) {#xD;\n  item.answer first as a then {#xD;\n    src.subject as sub -&gt; tgt.subject = sub \"23252e10\";#xD;\n    src.encounter as en -&gt; tgt.encounter = en \"553aae7e\";#xD;\n    src.item as itemtimestamp where linkId = 'timestamp' then {#xD;\n      itemtimestamp.answer first as atimestamp then {#xD;\n        atimestamp.value as val -&gt; tgt.recordedDate = val \"ea256bb4\";#xD;\n      } \"46018ce4\";#xD;\n    } \"cce2a9b1\";#xD;\n    src -&gt; tgt.code = create('CodeableConcept') as cs then {#xD;\n      src -&gt;  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE83',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' \"8e761921\";#xD;\n    } \"a10c1e7b\";#xD;\n    a -&gt;  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\";#xD;\n    a -&gt;  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\";#xD;\n  } \"64537b70\";#xD;\n}#xD;\n#xD;\ngroup CccconditioncollectorCccb23de06(source src, source item, target tgt) {#xD;\n  item.answer first as a then {#xD;\n    src.subject as sub -&gt; tgt.subject = sub \"23252e10\";#xD;\n    src.encounter as en -&gt; tgt.encounter = en \"553aae7e\";#xD;\n    src.item as itemtimestamp where linkId = 'timestamp' then {#xD;\n      itemtimestamp.answer first as atimestamp then {#xD;\n        atimestamp.value as val -&gt; tgt.recordedDate = val \"ea256bb4\";#xD;\n      } \"46018ce4\";#xD;\n    } \"cce2a9b1\";#xD;\n    src -&gt; tgt.code = create('CodeableConcept') as cs then {#xD;\n      src -&gt;  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\";#xD;\n    } \"8ef845b0\";#xD;\n    a -&gt;  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\";#xD;\n    a -&gt;  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\";#xD;\n  } \"8ede6446\";#xD;\n}#xD;\n#xD;\ngroup CccconditioncollectorCccb23de85(source src, source item, target tgt) {#xD;\n  item.answer first as a then {#xD;\n    src.subject as sub -&gt; tgt.subject = sub \"23252e10\";#xD;\n    src.encounter as en -&gt; tgt.encounter = en \"553aae7e\";#xD;\n    src.item as itemtimestamp where linkId = 'timestamp' then {#xD;\n      itemtimestamp.answer first as atimestamp then {#xD;\n        atimestamp.value as val -&gt; tgt.recordedDate = val \"ea256bb4\";#xD;\n      } \"46018ce4\";#xD;\n    } \"cce2a9b1\";#xD;\n    src -&gt; tgt.code = create('CodeableConcept') as cs then {#xD;\n      src -&gt;  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE85',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' \"edf923c3\";#xD;\n    } \"a2ce3a97\";#xD;\n    a -&gt;  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\";#xD;\n    a -&gt;  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\";#xD;\n  } \"7ab58b18\";#xD;\n}#xD;\n#xD;\ngroup CccconditioncollectorCccb23de86(source src, source item, target tgt) {#xD;\n  item.answer first as a then {#xD;\n    src.subject as sub -&gt; tgt.subject = sub \"23252e10\";#xD;\n    src.encounter as en -&gt; tgt.encounter = en \"553aae7e\";#xD;\n    src.item as itemtimestamp where linkId = 'timestamp' then {#xD;\n      itemtimestamp.answer first as atimestamp then {#xD;\n        atimestamp.value as val -&gt; tgt.recordedDate = val \"ea256bb4\";#xD;\n      } \"46018ce4\";#xD;\n    } \"cce2a9b1\";#xD;\n    src -&gt; tgt.code = create('CodeableConcept') as cs then {#xD;\n      src -&gt;  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE86',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' \"342850aa\";#xD;\n    } \"9338b358\";#xD;\n    a -&gt;  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\";#xD;\n    a -&gt;  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\";#xD;\n  } \"c7e15e0e\";#xD;\n}#xD;\n#xD;\ngroup CccconditioncollectorCccb23de106(source src, source item, target tgt) {#xD;\n  item.answer first as a then {#xD;\n    src.subject as sub -&gt; tgt.subject = sub \"23252e10\";#xD;\n    src.encounter as en -&gt; tgt.encounter = en \"553aae7e\";#xD;\n    src.item as itemtimestamp where linkId = 'timestamp' then {#xD;\n      itemtimestamp.answer first as atimestamp then {#xD;\n        atimestamp.value as val -&gt; tgt.recordedDate = val \"ea256bb4\";#xD;\n      } \"46018ce4\";#xD;\n    } \"cce2a9b1\";#xD;\n    src -&gt; tgt.code = create('CodeableConcept') as cs then {#xD;\n      src -&gt;  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\";#xD;\n    } \"d8d6d130\";#xD;\n    a -&gt;  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\";#xD;\n    a -&gt;  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\";#xD;\n  } \"c5746d18\";#xD;\n}#xD;\n#xD;\ngroup CccconditioncollectorCccb23de87(source src, source item, target tgt) {#xD;\n  item.answer first as a then {#xD;\n    src.subject as sub -&gt; tgt.subject = sub \"23252e10\";#xD;\n    src.encounter as en -&gt; tgt.encounter = en \"553aae7e\";#xD;\n    src.item as itemtimestamp where linkId = 'timestamp' then {#xD;\n      itemtimestamp.answer first as atimestamp then {#xD;\n        atimestamp.value as val -&gt; tgt.recordedDate = val \"ea256bb4\";#xD;\n      } \"46018ce4\";#xD;\n    } \"cce2a9b1\";#xD;\n    src -&gt; tgt.code = create('CodeableConcept') as cs then {#xD;\n      src -&gt;  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE87',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' \"01f1ca5f\";#xD;\n    } \"62727c30\";#xD;\n    a -&gt;  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\";#xD;\n    a -&gt;  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\";#xD;\n  } \"8dee988b\";#xD;\n}#xD;\n#xD;\ngroup CccconditioncollectorCccb23de88(source src, source item, target tgt) {#xD;\n  item.answer first as a then {#xD;\n    src.subject as sub -&gt; tgt.subject = sub \"23252e10\";#xD;\n    src.encounter as en -&gt; tgt.encounter = en \"553aae7e\";#xD;\n    src.item as itemtimestamp where linkId = 'timestamp' then {#xD;\n      itemtimestamp.answer first as atimestamp then {#xD;\n        atimestamp.value as val -&gt; tgt.recordedDate = val \"ea256bb4\";#xD;\n      } \"46018ce4\";#xD;\n    } \"cce2a9b1\";#xD;\n    src -&gt; tgt.code = create('CodeableConcept') as cs then {#xD;\n      src -&gt;  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE88',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' \"2803d2d8\";#xD;\n    } \"360a74b4\";#xD;\n    a -&gt;  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\";#xD;\n    a -&gt;  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\";#xD;\n  } \"e6ded7f8\";#xD;\n}#xD;\n#xD;\ngroup CccconditioncollectorCccb23de89(source src, source item, target tgt) {#xD;\n  item.answer first as a then {#xD;\n    src.subject as sub -&gt; tgt.subject = sub \"23252e10\";#xD;\n    src.encounter as en -&gt; tgt.encounter = en \"553aae7e\";#xD;\n    src.item as itemtimestamp where linkId = 'timestamp' then {#xD;\n      itemtimestamp.answer first as atimestamp then {#xD;\n        atimestamp.value as val -&gt; tgt.recordedDate = val \"ea256bb4\";#xD;\n      } \"46018ce4\";#xD;\n    } \"cce2a9b1\";#xD;\n    src -&gt; tgt.code = create('CodeableConcept') as cs then {#xD;\n      src -&gt;  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE89',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' \"d0ba1006\";#xD;\n    } \"10f03284\";#xD;\n    a -&gt;  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\";#xD;\n    a -&gt;  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\";#xD;\n  } \"38f340fb\";#xD;\n}#xD;\n#xD;\ngroup CccconditioncollectorCccb23de13(source src, source item, target tgt) {#xD;\n  item.answer first as a then {#xD;\n    src.subject as sub -&gt; tgt.subject = sub \"23252e10\";#xD;\n    src.encounter as en -&gt; tgt.encounter = en \"553aae7e\";#xD;\n    src.item as itemtimestamp where linkId = 'timestamp' then {#xD;\n      itemtimestamp.answer first as atimestamp then {#xD;\n        atimestamp.value as val -&gt; tgt.recordedDate = val \"ea256bb4\";#xD;\n      } \"46018ce4\";#xD;\n    } \"cce2a9b1\";#xD;\n    src -&gt; tgt.code = create('CodeableConcept') as cs then {#xD;\n      src -&gt;  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\";#xD;\n    } \"6cc1c549\";#xD;\n    a -&gt;  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\";#xD;\n    a -&gt;  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\";#xD;\n  } \"39e0fe5e\";#xD;\n}#xD;\n#xD;\ngroup CccconditioncollectorCccb23de14(source src, source item, target tgt) {#xD;\n  item.answer first as a then {#xD;\n    src.subject as sub -&gt; tgt.subject = sub \"23252e10\";#xD;\n    src.encounter as en -&gt; tgt.encounter = en \"553aae7e\";#xD;\n    src.item as itemtimestamp where linkId = 'timestamp' then {#xD;\n      itemtimestamp.answer first as atimestamp then {#xD;\n        atimestamp.value as val -&gt; tgt.recordedDate = val \"ea256bb4\";#xD;\n      } \"46018ce4\";#xD;\n    } \"cce2a9b1\";#xD;\n    src -&gt; tgt.code = create('CodeableConcept') as cs then {#xD;\n      src -&gt;  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\";#xD;\n    } \"a3de578a\";#xD;\n    a -&gt;  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\";#xD;\n    a -&gt;  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\";#xD;\n  } \"da0791a5\";#xD;\n}#xD;\n#xD;\ngroup CccconditioncollectorCccb23de15(source src, source item, target tgt) {#xD;\n  item.answer first as a then {#xD;\n    src.subject as sub -&gt; tgt.subject = sub \"23252e10\";#xD;\n    src.encounter as en -&gt; tgt.encounter = en \"553aae7e\";#xD;\n    src.item as itemtimestamp where linkId = 'timestamp' then {#xD;\n      itemtimestamp.answer first as atimestamp then {#xD;\n        atimestamp.value as val -&gt; tgt.recordedDate = val \"ea256bb4\";#xD;\n      } \"46018ce4\";#xD;\n    } \"cce2a9b1\";#xD;\n    src -&gt; tgt.code = create('CodeableConcept') as cs then {#xD;\n      src -&gt;  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\";#xD;\n    } \"088a39f1\";#xD;\n    a -&gt;  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\";#xD;\n    a -&gt;  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\";#xD;\n  } \"b16e2ac9\";#xD;\n}#xD;\n#xD;\ngroup CccconditioncollectorCccb23de94(source src, source item, target tgt) {#xD;\n  item.answer first as a then {#xD;\n    src.subject as sub -&gt; tgt.subject = sub \"23252e10\";#xD;\n    src.encounter as en -&gt; tgt.encounter = en \"553aae7e\";#xD;\n    src.item as itemtimestamp where linkId = 'timestamp' then {#xD;\n      itemtimestamp.answer first as atimestamp then {#xD;\n        atimestamp.value as val -&gt; tgt.recordedDate = val \"ea256bb4\";#xD;\n      } \"46018ce4\";#xD;\n    } \"cce2a9b1\";#xD;\n    src -&gt; tgt.code = create('CodeableConcept') as cs then {#xD;\n      src -&gt;  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE94',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' \"61234ed0\";#xD;\n    } \"ba5673dd\";#xD;\n    a -&gt;  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\";#xD;\n    a -&gt;  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\";#xD;\n  } \"82182761\";#xD;\n}#xD;\n#xD;\ngroup CccconditioncollectorCccb23de98(source src, source item, target tgt) {#xD;\n  item.answer first as a then {#xD;\n    src.subject as sub -&gt; tgt.subject = sub \"23252e10\";#xD;\n    src.encounter as en -&gt; tgt.encounter = en \"553aae7e\";#xD;\n    src.item as itemtimestamp where linkId = 'timestamp' then {#xD;\n      itemtimestamp.answer first as atimestamp then {#xD;\n        atimestamp.value as val -&gt; tgt.recordedDate = val \"ea256bb4\";#xD;\n      } \"46018ce4\";#xD;\n    } \"cce2a9b1\";#xD;\n    src -&gt; tgt.code = create('CodeableConcept') as cs then {#xD;\n      src -&gt;  tgt.code = create('CodeableConcept') as cs,  cs.coding = create('Coding') as ccs,  ccs.code = 'Ccc.B23.DE98',  ccs.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes' \"11d6b9d2\";#xD;\n    } \"cbe98666\";#xD;\n    a -&gt;  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\";#xD;\n    a -&gt;  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\";#xD;\n  } \"869e7605\";#xD;\n}#xD;\n#xD;\ngroup Cccconditioncollectorcollector(source src, source item, target tgt) {#xD;\n  item.answer first as a then {#xD;\n    src.subject as sub -&gt; tgt.subject = sub \"23252e10\";#xD;\n    src.encounter as en -&gt; tgt.encounter = en \"553aae7e\";#xD;\n    src.item as itemtimestamp where linkId = 'timestamp' then {#xD;\n      itemtimestamp.answer first as atimestamp then {#xD;\n        atimestamp.value as val -&gt; tgt.recordedDate = val \"ea256bb4\";#xD;\n      } \"46018ce4\";#xD;\n    } \"cce2a9b1\";#xD;\n    src -&gt; tgt.code = create('CodeableConcept') as cs then {#xD;\n      src -&gt;  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\";#xD;\n    } \"6fc817a4\";#xD;\n    a -&gt;  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\";#xD;\n    a -&gt;  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\";#xD;\n  } \"d8e38123\";#xD;\n}#xD;\n#xD;\n</pre></div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:url [
    fhir:v "https://smart.who.int/ccc/StructureMap/Ccc.b23.classification.m"^^xsd:anyURI ;
    fhir:l <https://smart.who.int/ccc/StructureMap/Ccc.b23.classification.m>
      ] ; #
      fhir:version [ fhir:v "0.1.0"] ; #
      fhir:name [ fhir:v "Ccc.b23.classification.m"] ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:date [ fhir:v "2026-04-07T13:42:05+00:00"^^xsd:dateTime] ; #
      fhir:publisher [ fhir:v "World Health Organization (WHO)"] ; #
      fhir:contact ( [
    fhir:name [ fhir:v "World Health Organization (WHO)" ] ;
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "https://www.who.int" ]     ] )
      ] [
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "https://www.who.int" ]     ] )
      ] ) ; #
      fhir:jurisdiction ( [
        ( fhir:coding [
    fhir:system [
    fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ;
    fhir:l <http://unstats.un.org/unsd/methods/m49/m49.htm>       ] ;
    fhir:code [ fhir:v "001" ]     ] )
      ] ) ; #
      fhir:structure ( [
    fhir:url [
    fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse>     ] ;
    fhir:mode [ fhir:v "source" ] ;
    fhir:alias [ fhir:v "'questionnaireResponse'" ]
      ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Bundle"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Bundle>     ] ;
    fhir:mode [ fhir:v "target" ] ;
    fhir:alias [ fhir:v "'Bundle'" ]
      ] [
    fhir:url [
    fhir:v "https://smart.who.int/ccc/StructureDefinition/condition"^^xsd:anyURI ;
    fhir:l <https://smart.who.int/ccc/StructureDefinition/condition>     ] ;
    fhir:mode [ fhir:v "target" ] ;
    fhir:alias [ fhir:v "'Condition'" ]
      ] [
    fhir:url [
    fhir:v "https://smart.who.int/ccc/StructureDefinition/Ccccondition"^^xsd:anyURI ;
    fhir:l <https://smart.who.int/ccc/StructureDefinition/Ccccondition>     ] ;
    fhir:mode [ fhir:v "produced" ] ;
    fhir:alias [ fhir:v "'Ccc Condition'" ]
      ] ) ; #
      fhir:group ( [
    fhir:name [ fhir:v "bundletrans" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:type [ fhir:v "questionnaireResponse" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "bundle" ] ;
    fhir:type [ fhir:v "Bundle" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "id" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "id" ] ;
    fhir:transform [ fhir:v "uuid" ]       ] )     ] [
    fhir:name [ fhir:v "type" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "type" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "batch"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "09b682e0" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B23.DE83') and answer.exists()" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "83bc4493" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "9805d737" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "request" ] ;
    fhir:variable [ fhir:v "request" ]           ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "method" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "POST"               ]             ] )           ] [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:variable [ fhir:v "uuid" ] ;
    fhir:transform [ fhir:v "uuid" ]           ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "append" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "/Condition/"               ]             ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "ad9073a1" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "tgt" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Condition"               ]             ] )           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "a8097d41" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B23.DE83') and answer.exists()" ]             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "178343d7" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "item" ]               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccconditionCccb23de83" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "item" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "93603109" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B23.DE06') and answer.exists()" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "80a2a642" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "9805d737" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "request" ] ;
    fhir:variable [ fhir:v "request" ]           ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "method" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "POST"               ]             ] )           ] [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:variable [ fhir:v "uuid" ] ;
    fhir:transform [ fhir:v "uuid" ]           ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "append" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "/Condition/"               ]             ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "6909c9cb" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "tgt" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Condition"               ]             ] )           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "060d6b0f" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B23.DE06') and answer.exists()" ]             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "9c759e88" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "item" ]               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccconditionCccb23de06" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "item" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "a87e641b" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B23.DE85') and answer.exists()" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "6e6a68c3" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "9805d737" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "request" ] ;
    fhir:variable [ fhir:v "request" ]           ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "method" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "POST"               ]             ] )           ] [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:variable [ fhir:v "uuid" ] ;
    fhir:transform [ fhir:v "uuid" ]           ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "append" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "/Condition/"               ]             ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "b5ace6e4" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "tgt" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Condition"               ]             ] )           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "d50b3ee7" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B23.DE85') and answer.exists()" ]             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "935222a8" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "item" ]               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccconditionCccb23de85" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "item" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "67b6f016" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B23.DE86') and answer.exists()" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "e66f46ee" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "9805d737" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "request" ] ;
    fhir:variable [ fhir:v "request" ]           ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "method" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "POST"               ]             ] )           ] [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:variable [ fhir:v "uuid" ] ;
    fhir:transform [ fhir:v "uuid" ]           ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "append" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "/Condition/"               ]             ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "f6d60d42" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "tgt" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Condition"               ]             ] )           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "a02dff61" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B23.DE86') and answer.exists()" ]             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "7b5655d0" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "item" ]               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccconditionCccb23de86" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "item" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "a8b97e3f" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B23.DE106') and answer.exists()" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "f8df0e47" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "9805d737" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "request" ] ;
    fhir:variable [ fhir:v "request" ]           ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "method" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "POST"               ]             ] )           ] [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:variable [ fhir:v "uuid" ] ;
    fhir:transform [ fhir:v "uuid" ]           ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "append" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "/Condition/"               ]             ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "cffa49c6" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "tgt" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Condition"               ]             ] )           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "f5b0e691" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B23.DE106') and answer.exists()" ]             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "1385c52a" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "item" ]               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccconditionCccb23de106" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "item" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "2521504d" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B23.DE87') and answer.exists()" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "efdd0e20" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "9805d737" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "request" ] ;
    fhir:variable [ fhir:v "request" ]           ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "method" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "POST"               ]             ] )           ] [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:variable [ fhir:v "uuid" ] ;
    fhir:transform [ fhir:v "uuid" ]           ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "append" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "/Condition/"               ]             ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "7e51b325" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "tgt" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Condition"               ]             ] )           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "30f36551" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B23.DE87') and answer.exists()" ]             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "ba174f0b" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "item" ]               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccconditionCccb23de87" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "item" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "3efea57e" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B23.DE88') and answer.exists()" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "0077703f" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "9805d737" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "request" ] ;
    fhir:variable [ fhir:v "request" ]           ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "method" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "POST"               ]             ] )           ] [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:variable [ fhir:v "uuid" ] ;
    fhir:transform [ fhir:v "uuid" ]           ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "append" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "/Condition/"               ]             ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "999ae6b0" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "tgt" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Condition"               ]             ] )           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "f0521ba0" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B23.DE88') and answer.exists()" ]             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "f570c42d" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "item" ]               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccconditionCccb23de88" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "item" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "cc634914" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B23.DE89') and answer.exists()" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "09b39961" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "9805d737" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "request" ] ;
    fhir:variable [ fhir:v "request" ]           ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "method" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "POST"               ]             ] )           ] [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:variable [ fhir:v "uuid" ] ;
    fhir:transform [ fhir:v "uuid" ]           ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "append" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "/Condition/"               ]             ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "d6e439e9" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "tgt" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Condition"               ]             ] )           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "72e06a74" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B23.DE89') and answer.exists()" ]             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "226a96b3" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "item" ]               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccconditionCccb23de89" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "item" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "feb0d657" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B23.DE13') and answer.exists()" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "08bcb577" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "9805d737" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "request" ] ;
    fhir:variable [ fhir:v "request" ]           ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "method" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "POST"               ]             ] )           ] [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:variable [ fhir:v "uuid" ] ;
    fhir:transform [ fhir:v "uuid" ]           ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "append" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "/Condition/"               ]             ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "076ff820" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "tgt" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Condition"               ]             ] )           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "a1450efb" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B23.DE13') and answer.exists()" ]             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "66186a0c" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "item" ]               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccconditionCccb23de13" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "item" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "d819a392" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B23.DE14') and answer.exists()" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "90e804b6" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "9805d737" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "request" ] ;
    fhir:variable [ fhir:v "request" ]           ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "method" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "POST"               ]             ] )           ] [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:variable [ fhir:v "uuid" ] ;
    fhir:transform [ fhir:v "uuid" ]           ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "append" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "/Condition/"               ]             ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "3ef7f05b" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "tgt" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Condition"               ]             ] )           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "88d1e8c7" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B23.DE14') and answer.exists()" ]             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "2dcb0090" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "item" ]               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccconditionCccb23de14" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "item" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "e3b54720" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B23.DE15') and answer.exists()" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "79ef4ab2" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "9805d737" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "request" ] ;
    fhir:variable [ fhir:v "request" ]           ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "method" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "POST"               ]             ] )           ] [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:variable [ fhir:v "uuid" ] ;
    fhir:transform [ fhir:v "uuid" ]           ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "append" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "/Condition/"               ]             ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "2eb659f8" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "tgt" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Condition"               ]             ] )           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "21fccbde" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B23.DE15') and answer.exists()" ]             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "fe470a2a" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "item" ]               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccconditionCccb23de15" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "item" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "974a1d36" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B23.DE94') and answer.exists()" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "cb434a7e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "9805d737" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "request" ] ;
    fhir:variable [ fhir:v "request" ]           ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "method" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "POST"               ]             ] )           ] [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:variable [ fhir:v "uuid" ] ;
    fhir:transform [ fhir:v "uuid" ]           ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "append" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "/Condition/"               ]             ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "4238505f" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "tgt" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Condition"               ]             ] )           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "a323ced7" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B23.DE94') and answer.exists()" ]             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "4bfe2573" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "item" ]               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccconditionCccb23de94" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "item" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "51f9d108" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B23.DE98') and answer.exists()" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "67075fc4" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "9805d737" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "request" ] ;
    fhir:variable [ fhir:v "request" ]           ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "method" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "POST"               ]             ] )           ] [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:variable [ fhir:v "uuid" ] ;
    fhir:transform [ fhir:v "uuid" ]           ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "append" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "/Condition/"               ]             ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "b82b0c05" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "tgt" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Condition"               ]             ] )           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "19da18a9" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B23.DE98') and answer.exists()" ]             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "ec699e2c" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "item" ]               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccconditionCccb23de98" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "item" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "0a3b92c9" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:condition [ fhir:v "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE83')" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "c5fd054e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'collector') and answer.exists()" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "d2d9497c" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "9805d737" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "request" ] ;
    fhir:variable [ fhir:v "request" ]             ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "method" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "POST"                 ]               ] )             ] [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:variable [ fhir:v "uuid" ] ;
    fhir:transform [ fhir:v "uuid" ]             ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "append" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "/Condition/"                 ]               ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"                 ]               ] )             ] )           ] [
    fhir:name [ fhir:v "5a82b6a2" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "tgt" ] ;
    fhir:transform [ fhir:v "create" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Condition"                 ]               ] )             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "a49f2674" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "src" ]               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccconditioncollectorCccb23de83" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "item" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "ca7b518e" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:condition [ fhir:v "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE06')" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "7708b4b0" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'collector') and answer.exists()" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "37d42e73" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "9805d737" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "request" ] ;
    fhir:variable [ fhir:v "request" ]             ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "method" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "POST"                 ]               ] )             ] [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:variable [ fhir:v "uuid" ] ;
    fhir:transform [ fhir:v "uuid" ]             ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "append" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "/Condition/"                 ]               ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"                 ]               ] )             ] )           ] [
    fhir:name [ fhir:v "e87439ac" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "tgt" ] ;
    fhir:transform [ fhir:v "create" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Condition"                 ]               ] )             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "ab6f052f" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "src" ]               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccconditioncollectorCccb23de06" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "item" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "3bb7e65c" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:condition [ fhir:v "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE85')" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "7a81127f" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'collector') and answer.exists()" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "17b29f54" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "9805d737" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "request" ] ;
    fhir:variable [ fhir:v "request" ]             ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "method" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "POST"                 ]               ] )             ] [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:variable [ fhir:v "uuid" ] ;
    fhir:transform [ fhir:v "uuid" ]             ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "append" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "/Condition/"                 ]               ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"                 ]               ] )             ] )           ] [
    fhir:name [ fhir:v "dd73e267" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "tgt" ] ;
    fhir:transform [ fhir:v "create" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Condition"                 ]               ] )             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "34be21c7" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "src" ]               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccconditioncollectorCccb23de85" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "item" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "125b7e31" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:condition [ fhir:v "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE86')" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "742af28b" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'collector') and answer.exists()" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "5ebec517" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "9805d737" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "request" ] ;
    fhir:variable [ fhir:v "request" ]             ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "method" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "POST"                 ]               ] )             ] [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:variable [ fhir:v "uuid" ] ;
    fhir:transform [ fhir:v "uuid" ]             ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "append" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "/Condition/"                 ]               ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"                 ]               ] )             ] )           ] [
    fhir:name [ fhir:v "b37e1f00" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "tgt" ] ;
    fhir:transform [ fhir:v "create" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Condition"                 ]               ] )             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "85e79f33" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "src" ]               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccconditioncollectorCccb23de86" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "item" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "332b8a91" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:condition [ fhir:v "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE106')" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "8aec9c45" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'collector') and answer.exists()" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "b3badac5" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "9805d737" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "request" ] ;
    fhir:variable [ fhir:v "request" ]             ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "method" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "POST"                 ]               ] )             ] [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:variable [ fhir:v "uuid" ] ;
    fhir:transform [ fhir:v "uuid" ]             ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "append" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "/Condition/"                 ]               ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"                 ]               ] )             ] )           ] [
    fhir:name [ fhir:v "8a9ab3d6" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "tgt" ] ;
    fhir:transform [ fhir:v "create" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Condition"                 ]               ] )             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "5f3c80c3" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "src" ]               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccconditioncollectorCccb23de106" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "item" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "4afba6d2" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:condition [ fhir:v "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE87')" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "98d3b1f5" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'collector') and answer.exists()" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "3814725e" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "9805d737" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "request" ] ;
    fhir:variable [ fhir:v "request" ]             ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "method" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "POST"                 ]               ] )             ] [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:variable [ fhir:v "uuid" ] ;
    fhir:transform [ fhir:v "uuid" ]             ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "append" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "/Condition/"                 ]               ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"                 ]               ] )             ] )           ] [
    fhir:name [ fhir:v "7d2dd85f" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "tgt" ] ;
    fhir:transform [ fhir:v "create" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Condition"                 ]               ] )             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "69dafef9" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "src" ]               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccconditioncollectorCccb23de87" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "item" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "4ed6008e" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:condition [ fhir:v "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE88')" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "c4a03e24" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'collector') and answer.exists()" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "43b46f0d" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "9805d737" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "request" ] ;
    fhir:variable [ fhir:v "request" ]             ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "method" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "POST"                 ]               ] )             ] [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:variable [ fhir:v "uuid" ] ;
    fhir:transform [ fhir:v "uuid" ]             ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "append" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "/Condition/"                 ]               ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"                 ]               ] )             ] )           ] [
    fhir:name [ fhir:v "65150a1a" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "tgt" ] ;
    fhir:transform [ fhir:v "create" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Condition"                 ]               ] )             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "b8d9f845" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "src" ]               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccconditioncollectorCccb23de88" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "item" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "fd95ca9c" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:condition [ fhir:v "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE89')" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "ad230210" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'collector') and answer.exists()" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "4b1fc155" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "9805d737" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "request" ] ;
    fhir:variable [ fhir:v "request" ]             ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "method" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "POST"                 ]               ] )             ] [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:variable [ fhir:v "uuid" ] ;
    fhir:transform [ fhir:v "uuid" ]             ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "append" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "/Condition/"                 ]               ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"                 ]               ] )             ] )           ] [
    fhir:name [ fhir:v "5f78e785" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "tgt" ] ;
    fhir:transform [ fhir:v "create" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Condition"                 ]               ] )             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "e0b2a7ea" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "src" ]               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccconditioncollectorCccb23de89" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "item" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "db30808b" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:condition [ fhir:v "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE13')" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "df1da7ee" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'collector') and answer.exists()" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "a3790ce2" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "9805d737" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "request" ] ;
    fhir:variable [ fhir:v "request" ]             ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "method" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "POST"                 ]               ] )             ] [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:variable [ fhir:v "uuid" ] ;
    fhir:transform [ fhir:v "uuid" ]             ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "append" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "/Condition/"                 ]               ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"                 ]               ] )             ] )           ] [
    fhir:name [ fhir:v "e291ac38" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "tgt" ] ;
    fhir:transform [ fhir:v "create" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Condition"                 ]               ] )             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "ca1c2344" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "src" ]               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccconditioncollectorCccb23de13" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "item" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "b6cebe17" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:condition [ fhir:v "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE14')" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "4bec0867" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'collector') and answer.exists()" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "eec21165" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "9805d737" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "request" ] ;
    fhir:variable [ fhir:v "request" ]             ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "method" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "POST"                 ]               ] )             ] [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:variable [ fhir:v "uuid" ] ;
    fhir:transform [ fhir:v "uuid" ]             ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "append" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "/Condition/"                 ]               ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"                 ]               ] )             ] )           ] [
    fhir:name [ fhir:v "71ec8c01" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "tgt" ] ;
    fhir:transform [ fhir:v "create" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Condition"                 ]               ] )             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "d2d217d7" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "src" ]               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccconditioncollectorCccb23de14" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "item" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "5fb77efc" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:condition [ fhir:v "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE15')" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "84c7d9e0" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'collector') and answer.exists()" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "5f0e524b" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "9805d737" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "request" ] ;
    fhir:variable [ fhir:v "request" ]             ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "method" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "POST"                 ]               ] )             ] [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:variable [ fhir:v "uuid" ] ;
    fhir:transform [ fhir:v "uuid" ]             ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "append" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "/Condition/"                 ]               ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"                 ]               ] )             ] )           ] [
    fhir:name [ fhir:v "78497d5c" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "tgt" ] ;
    fhir:transform [ fhir:v "create" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Condition"                 ]               ] )             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "d06cdfa3" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "src" ]               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccconditioncollectorCccb23de15" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "item" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "1277893a" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:condition [ fhir:v "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE94')" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "d351f4bc" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'collector') and answer.exists()" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "e9cd9662" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "9805d737" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "request" ] ;
    fhir:variable [ fhir:v "request" ]             ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "method" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "POST"                 ]               ] )             ] [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:variable [ fhir:v "uuid" ] ;
    fhir:transform [ fhir:v "uuid" ]             ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "append" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "/Condition/"                 ]               ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"                 ]               ] )             ] )           ] [
    fhir:name [ fhir:v "887a5cf4" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "tgt" ] ;
    fhir:transform [ fhir:v "create" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Condition"                 ]               ] )             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "fd905dcf" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "src" ]               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccconditioncollectorCccb23de94" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "item" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "a8b5fbe8" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:condition [ fhir:v "src.item.where(linkId = 'collector').answer.where(value.code = 'Ccc.B23.DE98')" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "18115b63" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'collector') and answer.exists()" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "ac7c8731" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "9805d737" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "request" ] ;
    fhir:variable [ fhir:v "request" ]             ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "method" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "POST"                 ]               ] )             ] [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:variable [ fhir:v "uuid" ] ;
    fhir:transform [ fhir:v "uuid" ]             ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "append" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "/Condition/"                 ]               ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"                 ]               ] )             ] )           ] [
    fhir:name [ fhir:v "3c87eb32" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "tgt" ] ;
    fhir:transform [ fhir:v "create" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Condition"                 ]               ] )             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "50233ad8" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "src" ]               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccconditioncollectorCccb23de98" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "item" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "d596b39a" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:condition [ fhir:v "src.item.where(linkId = 'collector').answer.where(value.code = 'collector')" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "63e7ab00" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'collector') and answer.exists()" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "652cfd04" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "9805d737" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "request" ] ;
    fhir:variable [ fhir:v "request" ]             ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "method" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "POST"                 ]               ] )             ] [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:variable [ fhir:v "uuid" ] ;
    fhir:transform [ fhir:v "uuid" ]             ] [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "append" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "/Condition/"                 ]               ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"                 ]               ] )             ] )           ] [
    fhir:name [ fhir:v "dbad65ac" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "tgt" ] ;
    fhir:transform [ fhir:v "create" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Condition"                 ]               ] )             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "dee30196" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "src" ]               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "Cccconditioncollectorcollector" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "item" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccconditionCccb23de83" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "item" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "13fd46f9" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "a" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "23252e10" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "sub" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "sub"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "553aae7e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "en" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "en"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "cce2a9b1" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:variable [ fhir:v "itemtimestamp" ] ;
    fhir:condition [ fhir:v "linkId = 'timestamp'" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "46018ce4" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "itemtimestamp" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "atimestamp" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "ea256bb4" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "atimestamp" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "recordedDate" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                 ]               ] )             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "a10c1e7b" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "8e761921" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"               ]             ] )           ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Ccc.B23.DE83"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "a8956d4e" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:condition [ fhir:v "value.code = 'agree'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "05de813c" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "active"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "eb81c749" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "confirmed"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "2219f1ae" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:condition [ fhir:v "value.code = 'disagree'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "d058c96f" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "inactive"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "e74cae6e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "refuted"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccconditionCccb23de06" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "item" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "558d6c0d" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "a" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "23252e10" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "sub" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "sub"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "553aae7e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "en" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "en"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "cce2a9b1" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:variable [ fhir:v "itemtimestamp" ] ;
    fhir:condition [ fhir:v "linkId = 'timestamp'" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "46018ce4" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "itemtimestamp" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "atimestamp" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "ea256bb4" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "atimestamp" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "recordedDate" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                 ]               ] )             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "8ef845b0" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "dd0fd01c" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"               ]             ] )           ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Ccc.B23.DE06"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "a8956d4e" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:condition [ fhir:v "value.code = 'agree'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "05de813c" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "active"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "eb81c749" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "confirmed"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "2219f1ae" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:condition [ fhir:v "value.code = 'disagree'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "d058c96f" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "inactive"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "e74cae6e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "refuted"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccconditionCccb23de85" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "item" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "6f3a3752" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "a" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "23252e10" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "sub" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "sub"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "553aae7e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "en" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "en"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "cce2a9b1" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:variable [ fhir:v "itemtimestamp" ] ;
    fhir:condition [ fhir:v "linkId = 'timestamp'" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "46018ce4" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "itemtimestamp" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "atimestamp" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "ea256bb4" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "atimestamp" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "recordedDate" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                 ]               ] )             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "a2ce3a97" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "edf923c3" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"               ]             ] )           ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Ccc.B23.DE85"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "a8956d4e" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:condition [ fhir:v "value.code = 'agree'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "05de813c" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "active"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "eb81c749" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "confirmed"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "2219f1ae" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:condition [ fhir:v "value.code = 'disagree'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "d058c96f" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "inactive"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "e74cae6e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "refuted"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccconditionCccb23de86" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "item" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "fc719a3c" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "a" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "23252e10" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "sub" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "sub"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "553aae7e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "en" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "en"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "cce2a9b1" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:variable [ fhir:v "itemtimestamp" ] ;
    fhir:condition [ fhir:v "linkId = 'timestamp'" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "46018ce4" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "itemtimestamp" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "atimestamp" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "ea256bb4" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "atimestamp" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "recordedDate" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                 ]               ] )             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "9338b358" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "342850aa" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"               ]             ] )           ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Ccc.B23.DE86"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "a8956d4e" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:condition [ fhir:v "value.code = 'agree'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "05de813c" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "active"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "eb81c749" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "confirmed"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "2219f1ae" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:condition [ fhir:v "value.code = 'disagree'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "d058c96f" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "inactive"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "e74cae6e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "refuted"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccconditionCccb23de106" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "item" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "671ed411" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "a" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "23252e10" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "sub" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "sub"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "553aae7e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "en" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "en"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "cce2a9b1" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:variable [ fhir:v "itemtimestamp" ] ;
    fhir:condition [ fhir:v "linkId = 'timestamp'" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "46018ce4" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "itemtimestamp" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "atimestamp" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "ea256bb4" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "atimestamp" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "recordedDate" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                 ]               ] )             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "d8d6d130" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "70f0a4fa" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"               ]             ] )           ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Ccc.B23.DE106"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "a8956d4e" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:condition [ fhir:v "value.code = 'agree'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "05de813c" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "active"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "eb81c749" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "confirmed"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "2219f1ae" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:condition [ fhir:v "value.code = 'disagree'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "d058c96f" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "inactive"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "e74cae6e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "refuted"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccconditionCccb23de87" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "item" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "9ff74c9e" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "a" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "23252e10" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "sub" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "sub"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "553aae7e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "en" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "en"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "cce2a9b1" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:variable [ fhir:v "itemtimestamp" ] ;
    fhir:condition [ fhir:v "linkId = 'timestamp'" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "46018ce4" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "itemtimestamp" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "atimestamp" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "ea256bb4" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "atimestamp" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "recordedDate" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                 ]               ] )             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "62727c30" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "01f1ca5f" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"               ]             ] )           ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Ccc.B23.DE87"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "a8956d4e" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:condition [ fhir:v "value.code = 'agree'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "05de813c" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "active"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "eb81c749" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "confirmed"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "2219f1ae" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:condition [ fhir:v "value.code = 'disagree'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "d058c96f" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "inactive"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "e74cae6e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "refuted"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccconditionCccb23de88" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "item" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "36ea706b" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "a" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "23252e10" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "sub" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "sub"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "553aae7e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "en" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "en"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "cce2a9b1" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:variable [ fhir:v "itemtimestamp" ] ;
    fhir:condition [ fhir:v "linkId = 'timestamp'" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "46018ce4" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "itemtimestamp" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "atimestamp" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "ea256bb4" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "atimestamp" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "recordedDate" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                 ]               ] )             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "360a74b4" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "2803d2d8" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"               ]             ] )           ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Ccc.B23.DE88"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "a8956d4e" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:condition [ fhir:v "value.code = 'agree'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "05de813c" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "active"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "eb81c749" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "confirmed"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "2219f1ae" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:condition [ fhir:v "value.code = 'disagree'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "d058c96f" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "inactive"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "e74cae6e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "refuted"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccconditionCccb23de89" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "item" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "0d943b47" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "a" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "23252e10" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "sub" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "sub"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "553aae7e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "en" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "en"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "cce2a9b1" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:variable [ fhir:v "itemtimestamp" ] ;
    fhir:condition [ fhir:v "linkId = 'timestamp'" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "46018ce4" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "itemtimestamp" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "atimestamp" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "ea256bb4" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "atimestamp" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "recordedDate" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                 ]               ] )             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "10f03284" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "d0ba1006" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"               ]             ] )           ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Ccc.B23.DE89"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "a8956d4e" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:condition [ fhir:v "value.code = 'agree'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "05de813c" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "active"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "eb81c749" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "confirmed"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "2219f1ae" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:condition [ fhir:v "value.code = 'disagree'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "d058c96f" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "inactive"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "e74cae6e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "refuted"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccconditionCccb23de13" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "item" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "dc54929c" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "a" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "23252e10" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "sub" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "sub"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "553aae7e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "en" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "en"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "cce2a9b1" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:variable [ fhir:v "itemtimestamp" ] ;
    fhir:condition [ fhir:v "linkId = 'timestamp'" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "46018ce4" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "itemtimestamp" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "atimestamp" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "ea256bb4" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "atimestamp" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "recordedDate" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                 ]               ] )             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "6cc1c549" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "0b87b4e7" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"               ]             ] )           ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Ccc.B23.DE13"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "a8956d4e" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:condition [ fhir:v "value.code = 'agree'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "05de813c" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "active"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "eb81c749" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "confirmed"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "2219f1ae" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:condition [ fhir:v "value.code = 'disagree'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "d058c96f" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "inactive"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "e74cae6e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "refuted"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccconditionCccb23de14" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "item" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "d565e84e" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "a" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "23252e10" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "sub" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "sub"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "553aae7e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "en" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "en"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "cce2a9b1" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:variable [ fhir:v "itemtimestamp" ] ;
    fhir:condition [ fhir:v "linkId = 'timestamp'" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "46018ce4" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "itemtimestamp" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "atimestamp" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "ea256bb4" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "atimestamp" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "recordedDate" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                 ]               ] )             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "a3de578a" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "c77e81e6" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"               ]             ] )           ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Ccc.B23.DE14"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "a8956d4e" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:condition [ fhir:v "value.code = 'agree'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "05de813c" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "active"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "eb81c749" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "confirmed"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "2219f1ae" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:condition [ fhir:v "value.code = 'disagree'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "d058c96f" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "inactive"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "e74cae6e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "refuted"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccconditionCccb23de15" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "item" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "b194144a" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "a" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "23252e10" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "sub" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "sub"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "553aae7e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "en" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "en"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "cce2a9b1" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:variable [ fhir:v "itemtimestamp" ] ;
    fhir:condition [ fhir:v "linkId = 'timestamp'" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "46018ce4" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "itemtimestamp" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "atimestamp" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "ea256bb4" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "atimestamp" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "recordedDate" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                 ]               ] )             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "088a39f1" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "16e4a2c3" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"               ]             ] )           ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Ccc.B23.DE15"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "a8956d4e" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:condition [ fhir:v "value.code = 'agree'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "05de813c" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "active"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "eb81c749" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "confirmed"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "2219f1ae" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:condition [ fhir:v "value.code = 'disagree'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "d058c96f" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "inactive"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "e74cae6e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "refuted"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccconditionCccb23de94" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "item" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "b957f076" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "a" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "23252e10" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "sub" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "sub"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "553aae7e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "en" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "en"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "cce2a9b1" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:variable [ fhir:v "itemtimestamp" ] ;
    fhir:condition [ fhir:v "linkId = 'timestamp'" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "46018ce4" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "itemtimestamp" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "atimestamp" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "ea256bb4" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "atimestamp" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "recordedDate" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                 ]               ] )             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "ba5673dd" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "61234ed0" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"               ]             ] )           ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Ccc.B23.DE94"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "a8956d4e" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:condition [ fhir:v "value.code = 'agree'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "05de813c" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "active"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "eb81c749" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "confirmed"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "2219f1ae" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:condition [ fhir:v "value.code = 'disagree'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "d058c96f" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "inactive"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "e74cae6e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "refuted"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccconditionCccb23de98" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "item" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "98163aba" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "a" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "23252e10" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "sub" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "sub"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "553aae7e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "en" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "en"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "cce2a9b1" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:variable [ fhir:v "itemtimestamp" ] ;
    fhir:condition [ fhir:v "linkId = 'timestamp'" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "46018ce4" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "itemtimestamp" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "atimestamp" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "ea256bb4" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "atimestamp" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "recordedDate" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                 ]               ] )             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "cbe98666" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "11d6b9d2" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"               ]             ] )           ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Ccc.B23.DE98"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "a8956d4e" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:condition [ fhir:v "value.code = 'agree'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "05de813c" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "active"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "eb81c749" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "confirmed"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "2219f1ae" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:condition [ fhir:v "value.code = 'disagree'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "d058c96f" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "inactive"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "e74cae6e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "refuted"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccconditioncollectorCccb23de83" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "item" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "64537b70" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "a" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "23252e10" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "sub" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "sub"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "553aae7e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "en" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "en"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "cce2a9b1" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:variable [ fhir:v "itemtimestamp" ] ;
    fhir:condition [ fhir:v "linkId = 'timestamp'" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "46018ce4" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "itemtimestamp" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "atimestamp" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "ea256bb4" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "atimestamp" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "recordedDate" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                 ]               ] )             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "a10c1e7b" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "8e761921" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"               ]             ] )           ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Ccc.B23.DE83"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes"               ]             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "b7901585" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "a" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "active"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "3e544e1e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "a" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "unconfirmed"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccconditioncollectorCccb23de06" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "item" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "8ede6446" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "a" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "23252e10" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "sub" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "sub"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "553aae7e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "en" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "en"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "cce2a9b1" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:variable [ fhir:v "itemtimestamp" ] ;
    fhir:condition [ fhir:v "linkId = 'timestamp'" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "46018ce4" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "itemtimestamp" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "atimestamp" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "ea256bb4" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "atimestamp" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "recordedDate" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                 ]               ] )             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "8ef845b0" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "dd0fd01c" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"               ]             ] )           ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Ccc.B23.DE06"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes"               ]             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "b7901585" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "a" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "active"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "3e544e1e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "a" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "unconfirmed"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccconditioncollectorCccb23de85" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "item" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "7ab58b18" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "a" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "23252e10" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "sub" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "sub"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "553aae7e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "en" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "en"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "cce2a9b1" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:variable [ fhir:v "itemtimestamp" ] ;
    fhir:condition [ fhir:v "linkId = 'timestamp'" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "46018ce4" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "itemtimestamp" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "atimestamp" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "ea256bb4" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "atimestamp" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "recordedDate" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                 ]               ] )             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "a2ce3a97" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "edf923c3" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"               ]             ] )           ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Ccc.B23.DE85"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes"               ]             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "b7901585" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "a" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "active"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "3e544e1e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "a" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "unconfirmed"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccconditioncollectorCccb23de86" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "item" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "c7e15e0e" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "a" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "23252e10" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "sub" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "sub"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "553aae7e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "en" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "en"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "cce2a9b1" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:variable [ fhir:v "itemtimestamp" ] ;
    fhir:condition [ fhir:v "linkId = 'timestamp'" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "46018ce4" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "itemtimestamp" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "atimestamp" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "ea256bb4" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "atimestamp" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "recordedDate" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                 ]               ] )             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "9338b358" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "342850aa" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"               ]             ] )           ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Ccc.B23.DE86"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes"               ]             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "b7901585" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "a" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "active"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "3e544e1e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "a" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "unconfirmed"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccconditioncollectorCccb23de106" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "item" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "c5746d18" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "a" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "23252e10" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "sub" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "sub"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "553aae7e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "en" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "en"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "cce2a9b1" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:variable [ fhir:v "itemtimestamp" ] ;
    fhir:condition [ fhir:v "linkId = 'timestamp'" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "46018ce4" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "itemtimestamp" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "atimestamp" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "ea256bb4" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "atimestamp" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "recordedDate" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                 ]               ] )             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "d8d6d130" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "70f0a4fa" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"               ]             ] )           ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Ccc.B23.DE106"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes"               ]             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "b7901585" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "a" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "active"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "3e544e1e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "a" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "unconfirmed"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccconditioncollectorCccb23de87" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "item" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "8dee988b" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "a" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "23252e10" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "sub" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "sub"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "553aae7e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "en" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "en"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "cce2a9b1" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:variable [ fhir:v "itemtimestamp" ] ;
    fhir:condition [ fhir:v "linkId = 'timestamp'" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "46018ce4" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "itemtimestamp" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "atimestamp" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "ea256bb4" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "atimestamp" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "recordedDate" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                 ]               ] )             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "62727c30" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "01f1ca5f" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"               ]             ] )           ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Ccc.B23.DE87"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes"               ]             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "b7901585" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "a" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "active"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "3e544e1e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "a" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "unconfirmed"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccconditioncollectorCccb23de88" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "item" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "e6ded7f8" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "a" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "23252e10" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "sub" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "sub"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "553aae7e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "en" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "en"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "cce2a9b1" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:variable [ fhir:v "itemtimestamp" ] ;
    fhir:condition [ fhir:v "linkId = 'timestamp'" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "46018ce4" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "itemtimestamp" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "atimestamp" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "ea256bb4" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "atimestamp" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "recordedDate" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                 ]               ] )             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "360a74b4" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "2803d2d8" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"               ]             ] )           ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Ccc.B23.DE88"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes"               ]             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "b7901585" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "a" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "active"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "3e544e1e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "a" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "unconfirmed"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccconditioncollectorCccb23de89" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "item" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "38f340fb" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "a" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "23252e10" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "sub" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "sub"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "553aae7e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "en" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "en"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "cce2a9b1" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:variable [ fhir:v "itemtimestamp" ] ;
    fhir:condition [ fhir:v "linkId = 'timestamp'" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "46018ce4" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "itemtimestamp" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "atimestamp" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "ea256bb4" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "atimestamp" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "recordedDate" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                 ]               ] )             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "10f03284" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "d0ba1006" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"               ]             ] )           ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Ccc.B23.DE89"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes"               ]             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "b7901585" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "a" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "active"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "3e544e1e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "a" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "unconfirmed"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccconditioncollectorCccb23de13" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "item" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "39e0fe5e" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "a" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "23252e10" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "sub" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "sub"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "553aae7e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "en" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "en"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "cce2a9b1" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:variable [ fhir:v "itemtimestamp" ] ;
    fhir:condition [ fhir:v "linkId = 'timestamp'" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "46018ce4" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "itemtimestamp" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "atimestamp" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "ea256bb4" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "atimestamp" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "recordedDate" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                 ]               ] )             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "6cc1c549" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "0b87b4e7" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"               ]             ] )           ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Ccc.B23.DE13"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes"               ]             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "b7901585" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "a" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "active"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "3e544e1e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "a" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "unconfirmed"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccconditioncollectorCccb23de14" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "item" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "da0791a5" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "a" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "23252e10" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "sub" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "sub"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "553aae7e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "en" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "en"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "cce2a9b1" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:variable [ fhir:v "itemtimestamp" ] ;
    fhir:condition [ fhir:v "linkId = 'timestamp'" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "46018ce4" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "itemtimestamp" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "atimestamp" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "ea256bb4" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "atimestamp" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "recordedDate" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                 ]               ] )             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "a3de578a" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "c77e81e6" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"               ]             ] )           ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Ccc.B23.DE14"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes"               ]             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "b7901585" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "a" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "active"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "3e544e1e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "a" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "unconfirmed"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccconditioncollectorCccb23de15" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "item" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "b16e2ac9" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "a" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "23252e10" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "sub" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "sub"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "553aae7e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "en" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "en"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "cce2a9b1" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:variable [ fhir:v "itemtimestamp" ] ;
    fhir:condition [ fhir:v "linkId = 'timestamp'" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "46018ce4" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "itemtimestamp" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "atimestamp" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "ea256bb4" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "atimestamp" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "recordedDate" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                 ]               ] )             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "088a39f1" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "16e4a2c3" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"               ]             ] )           ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Ccc.B23.DE15"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes"               ]             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "b7901585" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "a" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "active"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "3e544e1e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "a" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "unconfirmed"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccconditioncollectorCccb23de94" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "item" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "82182761" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "a" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "23252e10" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "sub" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "sub"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "553aae7e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "en" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "en"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "cce2a9b1" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:variable [ fhir:v "itemtimestamp" ] ;
    fhir:condition [ fhir:v "linkId = 'timestamp'" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "46018ce4" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "itemtimestamp" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "atimestamp" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "ea256bb4" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "atimestamp" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "recordedDate" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                 ]               ] )             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "ba5673dd" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "61234ed0" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"               ]             ] )           ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Ccc.B23.DE94"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes"               ]             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "b7901585" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "a" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "active"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "3e544e1e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "a" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "unconfirmed"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccconditioncollectorCccb23de98" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "item" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "869e7605" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "a" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "23252e10" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "sub" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "sub"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "553aae7e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "en" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "en"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "cce2a9b1" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:variable [ fhir:v "itemtimestamp" ] ;
    fhir:condition [ fhir:v "linkId = 'timestamp'" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "46018ce4" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "itemtimestamp" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "atimestamp" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "ea256bb4" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "atimestamp" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "recordedDate" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                 ]               ] )             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "cbe98666" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "11d6b9d2" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"               ]             ] )           ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Ccc.B23.DE98"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes"               ]             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "b7901585" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "a" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "active"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "3e544e1e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "a" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "unconfirmed"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "Cccconditioncollectorcollector" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "item" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "d8e38123" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "item" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "a" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "23252e10" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "sub" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "sub"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "553aae7e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "en" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "en"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "cce2a9b1" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:variable [ fhir:v "itemtimestamp" ] ;
    fhir:condition [ fhir:v "linkId = 'timestamp'" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "46018ce4" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "itemtimestamp" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "atimestamp" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "ea256bb4" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "atimestamp" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "recordedDate" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                 ]               ] )             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "6fc817a4" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "ab5440b5" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"               ]             ] )           ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "collector"               ]             ] )           ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes"               ]             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "b7901585" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "a" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "active"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "3e544e1e" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "a" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:variable [ fhir:v "cs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"             ]           ] )         ] [
    fhir:context [ fhir:v "cs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "ccs" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "unconfirmed"             ]           ] )         ] [
    fhir:context [ fhir:v "ccs" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"             ]           ] )         ] )       ] )     ] )
      ] ) . #