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.b6.measurements - 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.b6.measurements"] ; #
      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.b6.measurements\" = \"Ccc.b6.measurements\"#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/observation\" alias 'Observation' as target#xD;\nuses \"https://smart.who.int/ccc/StructureDefinition/Cccobservation\" alias 'Ccc Observation' 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.B6.DE01') 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('/Observation/', uuid) \"b50ac4c5\";#xD;\n      src -&gt; entry.resource = create('Observation') as tgt then {#xD;\n        src -&gt; tgt then CccobservationCccb6de01(src, tgt) \"7b9e1570\";#xD;\n      } \"9adbf767\";#xD;\n    } \"a36f7a7c\";#xD;\n  } \"5af679c2\";#xD;\n  src.item first as item where (linkId = 'Ccc.B6.DE04') 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('/Observation/', uuid) \"b50ac4c5\";#xD;\n      src -&gt; entry.resource = create('Observation') as tgt then {#xD;\n        src -&gt; tgt then CccobservationCccb6de04(src, tgt) \"67f4a10a\";#xD;\n      } \"0e7daada\";#xD;\n    } \"536a3c54\";#xD;\n  } \"1e7dc3b3\";#xD;\n  src.item first as item where (linkId = 'Ccc.B6.DE05') 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('/Observation/', uuid) \"b50ac4c5\";#xD;\n      src -&gt; entry.resource = create('Observation') as tgt then {#xD;\n        src -&gt; tgt then CccobservationCccb6de05(src, tgt) \"1b781b40\";#xD;\n      } \"b078a223\";#xD;\n    } \"8261a595\";#xD;\n  } \"f69a4aa0\";#xD;\n  src.item first as item where (linkId = 'Ccc.B6.DE01A') 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('/Observation/', uuid) \"b50ac4c5\";#xD;\n      src -&gt; entry.resource = create('Observation') as tgt then {#xD;\n        src -&gt; tgt then CccobservationCccb6de01a(src, tgt) \"12e03591\";#xD;\n      } \"ce53c93f\";#xD;\n    } \"b254b7a3\";#xD;\n  } \"75778e5d\";#xD;\n  src.item first as item where (linkId = 'Ccc.B6.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('/Observation/', uuid) \"b50ac4c5\";#xD;\n      src -&gt; entry.resource = create('Observation') as tgt then {#xD;\n        src -&gt; tgt then CccobservationCccb6de06(src, tgt) \"12cee51c\";#xD;\n      } \"2efb0b06\";#xD;\n    } \"b561f2d8\";#xD;\n  } \"a4bb9383\";#xD;\n  src.item first as item where (linkId = 'Ccc.B6.DE08') 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('/Observation/', uuid) \"b50ac4c5\";#xD;\n      src -&gt; entry.resource = create('Observation') as tgt then {#xD;\n        src -&gt; tgt then CccobservationCccb6de08(src, tgt) \"6bb35e76\";#xD;\n      } \"eb449882\";#xD;\n    } \"e71738d1\";#xD;\n  } \"b739680e\";#xD;\n  src.item first as itm1 where linkId = 'HeightOrLength' then {#xD;\n    itm1.item first as item where (linkId = 'Ccc.B6.DE09') 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('/Observation/', uuid) \"b50ac4c5\";#xD;\n        src -&gt; entry.resource = create('Observation') as tgt then {#xD;\n          src -&gt; tgt then CccobservationCccb6de09(src, tgt) \"266493b1\";#xD;\n        } \"2f726482\";#xD;\n      } \"6e52b729\";#xD;\n    } \"8eeae5c7\";#xD;\n  } \"b0d72fdc\";#xD;\n  src.item first as itm1 where linkId = 'HeightOrLength' then {#xD;\n    itm1.item first as item where (linkId = 'Ccc.B6.DE11') 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('/Observation/', uuid) \"b50ac4c5\";#xD;\n        src -&gt; entry.resource = create('Observation') as tgt then {#xD;\n          src -&gt; tgt then CccobservationCccb6de11(src, tgt) \"561b6a20\";#xD;\n        } \"e820b17c\";#xD;\n      } \"083c0960\";#xD;\n    } \"89d9cbf4\";#xD;\n  } \"407446d8\";#xD;\n  src.item first as itm1 where linkId = 'HeightOrLength' then {#xD;\n    itm1.item first as item where (linkId = 'Ccc.B6.DE12') 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('/Observation/', uuid) \"b50ac4c5\";#xD;\n        src -&gt; entry.resource = create('Observation') as tgt then {#xD;\n          src -&gt; tgt then CccobservationCccb6de12(src, tgt) \"68ca10f0\";#xD;\n        } \"c5484336\";#xD;\n      } \"36f4bed7\";#xD;\n    } \"af843ed1\";#xD;\n  } \"3eece966\";#xD;\n  src.item first as itm1 where linkId = 'HeightOrLength' then {#xD;\n    itm1.item first as item where (linkId = 'Ccc.B6.DE16') 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('/Observation/', uuid) \"b50ac4c5\";#xD;\n        src -&gt; entry.resource = create('Observation') as tgt then {#xD;\n          src -&gt; tgt then CccobservationCccb6de16(src, tgt) \"e096bb18\";#xD;\n        } \"bd26fdf7\";#xD;\n      } \"6699c1df\";#xD;\n    } \"22423885\";#xD;\n  } \"f65b099d\";#xD;\n  src.item first as itm1 where linkId = 'HeightOrLength' then {#xD;\n    itm1.item first as item where (linkId = 'Ccc.B6.DE17') 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('/Observation/', uuid) \"b50ac4c5\";#xD;\n        src -&gt; entry.resource = create('Observation') as tgt then {#xD;\n          src -&gt; tgt then CccobservationCccb6de17(src, tgt) \"ba2a3c82\";#xD;\n        } \"e7d4b396\";#xD;\n      } \"5b9abbd1\";#xD;\n    } \"69c61b5c\";#xD;\n  } \"ec872a8f\";#xD;\n  src.item first as itm1 where linkId = 'HeightOrLength' then {#xD;\n    itm1.item first as item where (linkId = 'Ccc.B6.DE17a') 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('/Observation/', uuid) \"b50ac4c5\";#xD;\n        src -&gt; entry.resource = create('Observation') as tgt then {#xD;\n          src -&gt; tgt then CccobservationCccb6de17a(src, tgt) \"7bc3b5ea\";#xD;\n        } \"5622cb01\";#xD;\n      } \"d4830ac3\";#xD;\n    } \"75bc4091\";#xD;\n  } \"40e94db6\";#xD;\n  src.item first as itm1 where linkId = 'HeightOrLength' then {#xD;\n    itm1.item first as item where (linkId = 'Ccc.B6.DE18') 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('/Observation/', uuid) \"b50ac4c5\";#xD;\n        src -&gt; entry.resource = create('Observation') as tgt then {#xD;\n          src -&gt; tgt then CccobservationCccb6de18(src, tgt) \"307489c1\";#xD;\n        } \"e8491d3e\";#xD;\n      } \"9e7c1f1c\";#xD;\n    } \"4570d962\";#xD;\n  } \"f83a9a0e\";#xD;\n}#xD;\n#xD;\ngroup CccobservationCccb6de01(source src, target tgt) {#xD;\n  src -&gt;  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() \"id-Cccb6de01\";#xD;\n  src.encounter as encounter -&gt; tgt.encounter = encounter \"35bc6b82\";#xD;\n  src.subject as subject -&gt;  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B6.DE01' \"code-Cccb6de01\";#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.issued = val \"5af77f2c\";#xD;\n    } \"7f22f29f\";#xD;\n  } \"aae7a11d\";#xD;\n  src.subject as subject -&gt; tgt.subject = subject \"patient\";#xD;\n  src.item first as item where (linkId = 'Ccc.B6.DE01') and answer.exists() then {#xD;\n    item.answer first as a then {#xD;\n      a.value as val -&gt;  tgt.value = val,  tgt.status = 'final' \"afa0ccc0\";#xD;\n    } \"d40466ff\";#xD;\n  } \"74f627a9\";#xD;\n}#xD;\n#xD;\ngroup CccobservationCccb6de04(source src, target tgt) {#xD;\n  src -&gt;  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() \"id-Cccb6de04\";#xD;\n  src.encounter as encounter -&gt; tgt.encounter = encounter \"35bc6b82\";#xD;\n  src.subject as subject -&gt;  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B6.DE04' \"code-Cccb6de04\";#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.issued = val \"5af77f2c\";#xD;\n    } \"7f22f29f\";#xD;\n  } \"aae7a11d\";#xD;\n  src.subject as subject -&gt; tgt.subject = subject \"patient\";#xD;\n  src.item first as item where (linkId = 'Ccc.B6.DE04') and answer.exists() then {#xD;\n    item.answer first as a then {#xD;\n      a.value as val then {#xD;\n        val where val.code = 'true' -&gt;  tgt.status = 'final',  tgt.value = true \"8a65aaa5\";#xD;\n      } \"26c2c8c7\";#xD;\n    } \"721205d5\";#xD;\n  } \"a27d71d0\";#xD;\n}#xD;\n#xD;\ngroup CccobservationCccb6de05(source src, target tgt) {#xD;\n  src -&gt;  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() \"id-Cccb6de05\";#xD;\n  src.encounter as encounter -&gt; tgt.encounter = encounter \"35bc6b82\";#xD;\n  src.subject as subject -&gt;  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B6.DE05' \"code-Cccb6de05\";#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.issued = val \"5af77f2c\";#xD;\n    } \"7f22f29f\";#xD;\n  } \"aae7a11d\";#xD;\n  src.subject as subject -&gt; tgt.subject = subject \"patient\";#xD;\n  src.item first as item where (linkId = 'Ccc.B6.DE05') and answer.exists() then {#xD;\n    item.answer first as a then {#xD;\n      a where a.value = true -&gt;  tgt.status = 'final',  tgt.value = true \"final-Cccb6de05\";#xD;\n      a where a.value = false -&gt;  tgt.status = 'cancelled',  tgt.value = false \"notfound-Cccb6de05\";#xD;\n    } \"bdab9370\";#xD;\n  } \"fe4a3fce\";#xD;\n}#xD;\n#xD;\ngroup CccobservationCccb6de01a(source src, target tgt) {#xD;\n  src -&gt;  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() \"id-Cccb6de01a\";#xD;\n  src.encounter as encounter -&gt; tgt.encounter = encounter \"35bc6b82\";#xD;\n  src.subject as subject -&gt;  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B6.DE01A' \"code-Cccb6de01a\";#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.issued = val \"5af77f2c\";#xD;\n    } \"7f22f29f\";#xD;\n  } \"aae7a11d\";#xD;\n  src.subject as subject -&gt; tgt.subject = subject \"patient\";#xD;\n  src.item first as item where (linkId = 'Ccc.B6.DE01A') and answer.exists() then {#xD;\n    item.answer first as a then {#xD;\n      a.value as val then {#xD;\n        val -&gt;  tgt.value = create('CodeableConcept') as cc,  cc.coding = create('Coding') as c,  c.code = val,  c.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  tgt.status = 'final' \"759a9a54\";#xD;\n      } \"1b820ab0\";#xD;\n    } \"d39f9088\";#xD;\n  } \"a471ce48\";#xD;\n}#xD;\n#xD;\ngroup CccobservationCccb6de06(source src, target tgt) {#xD;\n  src -&gt;  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() \"id-Cccb6de06\";#xD;\n  src.encounter as encounter -&gt; tgt.encounter = encounter \"35bc6b82\";#xD;\n  src.subject as subject -&gt;  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B6.DE06' \"code-Cccb6de06\";#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.issued = val \"5af77f2c\";#xD;\n    } \"7f22f29f\";#xD;\n  } \"aae7a11d\";#xD;\n  src.subject as subject -&gt; tgt.subject = subject \"patient\";#xD;\n  src.item first as item where (linkId = 'Ccc.B6.DE06') and answer.exists() then {#xD;\n    item.answer first as a then {#xD;\n      a.value as val -&gt;  tgt.value = val,  tgt.status = 'final' \"afa0ccc0\";#xD;\n    } \"d40466ff\";#xD;\n  } \"39925fe2\";#xD;\n}#xD;\n#xD;\ngroup CccobservationCccb6de08(source src, target tgt) {#xD;\n  src -&gt;  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() \"id-Cccb6de08\";#xD;\n  src.encounter as encounter -&gt; tgt.encounter = encounter \"35bc6b82\";#xD;\n  src.subject as subject -&gt;  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B6.DE08' \"code-Cccb6de08\";#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.issued = val \"5af77f2c\";#xD;\n    } \"7f22f29f\";#xD;\n  } \"aae7a11d\";#xD;\n  src.subject as subject -&gt; tgt.subject = subject \"patient\";#xD;\n  src.item first as item where (linkId = 'Ccc.B6.DE08') and answer.exists() then {#xD;\n    item.answer first as a then {#xD;\n      a.value as val -&gt;  tgt.value = val,  tgt.status = 'final' \"afa0ccc0\";#xD;\n    } \"d40466ff\";#xD;\n  } \"dc896557\";#xD;\n}#xD;\n#xD;\ngroup CccobservationCccb6de09(source src, target tgt) {#xD;\n  src -&gt;  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() \"id-Cccb6de09\";#xD;\n  src.encounter as encounter -&gt; tgt.encounter = encounter \"35bc6b82\";#xD;\n  src.subject as subject -&gt;  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B6.DE09' \"code-Cccb6de09\";#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.issued = val \"5af77f2c\";#xD;\n    } \"7f22f29f\";#xD;\n  } \"aae7a11d\";#xD;\n  src.subject as subject -&gt; tgt.subject = subject \"patient\";#xD;\n  src.item first as itm1 where linkId = 'HeightOrLength' then {#xD;\n    itm1.item first as item where (linkId = 'Ccc.B6.DE09') and answer.exists() then {#xD;\n      item.answer first as a then {#xD;\n        a.value as val -&gt;  tgt.value = val,  tgt.status = 'final' \"afa0ccc0\";#xD;\n      } \"d40466ff\";#xD;\n    } \"589bbaf1\";#xD;\n  } \"a045bbd4\";#xD;\n}#xD;\n#xD;\ngroup CccobservationCccb6de11(source src, target tgt) {#xD;\n  src -&gt;  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() \"id-Cccb6de11\";#xD;\n  src.encounter as encounter -&gt; tgt.encounter = encounter \"35bc6b82\";#xD;\n  src.subject as subject -&gt;  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B6.DE11' \"code-Cccb6de11\";#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.issued = val \"5af77f2c\";#xD;\n    } \"7f22f29f\";#xD;\n  } \"aae7a11d\";#xD;\n  src.subject as subject -&gt; tgt.subject = subject \"patient\";#xD;\n  src.item first as itm1 where linkId = 'HeightOrLength' then {#xD;\n    itm1.item first as item where (linkId = 'Ccc.B6.DE11') and answer.exists() then {#xD;\n      item.answer first as a then {#xD;\n        a.value as val then {#xD;\n          val where val.code = 'true' -&gt;  tgt.status = 'final',  tgt.value = true \"8a65aaa5\";#xD;\n        } \"26c2c8c7\";#xD;\n      } \"721205d5\";#xD;\n    } \"d64ae780\";#xD;\n  } \"9a6a0b00\";#xD;\n}#xD;\n#xD;\ngroup CccobservationCccb6de12(source src, target tgt) {#xD;\n  src -&gt;  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() \"id-Cccb6de12\";#xD;\n  src.encounter as encounter -&gt; tgt.encounter = encounter \"35bc6b82\";#xD;\n  src.subject as subject -&gt;  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B6.DE12' \"code-Cccb6de12\";#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.issued = val \"5af77f2c\";#xD;\n    } \"7f22f29f\";#xD;\n  } \"aae7a11d\";#xD;\n  src.subject as subject -&gt; tgt.subject = subject \"patient\";#xD;\n  src.item first as itm1 where linkId = 'HeightOrLength' then {#xD;\n    itm1.item first as item where (linkId = 'Ccc.B6.DE12') and answer.exists() then {#xD;\n      item.answer first as a then {#xD;\n        a.value as val -&gt;  tgt.value = val,  tgt.status = 'final' \"afa0ccc0\";#xD;\n      } \"d40466ff\";#xD;\n    } \"c68f5944\";#xD;\n  } \"145f1ff6\";#xD;\n}#xD;\n#xD;\ngroup CccobservationCccb6de16(source src, target tgt) {#xD;\n  src -&gt;  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() \"id-Cccb6de16\";#xD;\n  src.encounter as encounter -&gt; tgt.encounter = encounter \"35bc6b82\";#xD;\n  src.subject as subject -&gt;  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B6.DE16' \"code-Cccb6de16\";#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.issued = val \"5af77f2c\";#xD;\n    } \"7f22f29f\";#xD;\n  } \"aae7a11d\";#xD;\n  src.subject as subject -&gt; tgt.subject = subject \"patient\";#xD;\n  src.item first as itm1 where linkId = 'HeightOrLength' then {#xD;\n    itm1.item first as item where (linkId = 'Ccc.B6.DE16') and answer.exists() then {#xD;\n      item.answer first as a then {#xD;\n        a where a.value = true -&gt;  tgt.status = 'final',  tgt.value = true \"final-Cccb6de16\";#xD;\n        a where a.value = false -&gt;  tgt.status = 'cancelled',  tgt.value = false \"notfound-Cccb6de16\";#xD;\n      } \"bdab9370\";#xD;\n    } \"c4642432\";#xD;\n  } \"8e8f1cd4\";#xD;\n}#xD;\n#xD;\ngroup CccobservationCccb6de17(source src, target tgt) {#xD;\n  src -&gt;  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() \"id-Cccb6de17\";#xD;\n  src.encounter as encounter -&gt; tgt.encounter = encounter \"35bc6b82\";#xD;\n  src.subject as subject -&gt;  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B6.DE17' \"code-Cccb6de17\";#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.issued = val \"5af77f2c\";#xD;\n    } \"7f22f29f\";#xD;\n  } \"aae7a11d\";#xD;\n  src.subject as subject -&gt; tgt.subject = subject \"patient\";#xD;\n  src.item first as itm1 where linkId = 'HeightOrLength' then {#xD;\n    itm1.item first as item where (linkId = 'Ccc.B6.DE17') and answer.exists() then {#xD;\n      item.answer first as a then {#xD;\n        a.value as val -&gt;  tgt.value = val,  tgt.status = 'final' \"afa0ccc0\";#xD;\n      } \"d40466ff\";#xD;\n    } \"66a9743a\";#xD;\n  } \"b27154a0\";#xD;\n}#xD;\n#xD;\ngroup CccobservationCccb6de17a(source src, target tgt) {#xD;\n  src -&gt;  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() \"id-Cccb6de17a\";#xD;\n  src.encounter as encounter -&gt; tgt.encounter = encounter \"35bc6b82\";#xD;\n  src.subject as subject -&gt;  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B6.DE17a' \"code-Cccb6de17a\";#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.issued = val \"5af77f2c\";#xD;\n    } \"7f22f29f\";#xD;\n  } \"aae7a11d\";#xD;\n  src.subject as subject -&gt; tgt.subject = subject \"patient\";#xD;\n  src.item first as itm1 where linkId = 'HeightOrLength' then {#xD;\n    itm1.item first as item where (linkId = 'Ccc.B6.DE17a') and answer.exists() then {#xD;\n      item.answer first as a then {#xD;\n        a.value as val then {#xD;\n          val where val.code = 'true' -&gt;  tgt.status = 'final',  tgt.value = true \"8a65aaa5\";#xD;\n        } \"26c2c8c7\";#xD;\n      } \"721205d5\";#xD;\n    } \"a25ca60a\";#xD;\n  } \"04002c97\";#xD;\n}#xD;\n#xD;\ngroup CccobservationCccb6de18(source src, target tgt) {#xD;\n  src -&gt;  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() \"id-Cccb6de18\";#xD;\n  src.encounter as encounter -&gt; tgt.encounter = encounter \"35bc6b82\";#xD;\n  src.subject as subject -&gt;  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B6.DE18' \"code-Cccb6de18\";#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.issued = val \"5af77f2c\";#xD;\n    } \"7f22f29f\";#xD;\n  } \"aae7a11d\";#xD;\n  src.subject as subject -&gt; tgt.subject = subject \"patient\";#xD;\n  src.item first as itm1 where linkId = 'HeightOrLength' then {#xD;\n    itm1.item first as item where (linkId = 'Ccc.B6.DE18') and answer.exists() then {#xD;\n      item.answer first as a then {#xD;\n        a.value as val then {#xD;\n          val where val.code = 'none' -&gt; tgt.swrapin_entry_createtatus = 'cancelled' \"d0a13fda\";#xD;\n          val where val.code != 'none' -&gt;  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' \"a1050460\";#xD;\n        } \"310f4b1f\";#xD;\n      } \"6af9bfcc\";#xD;\n    } \"a14ebcf7\";#xD;\n  } \"72053a9a\";#xD;\n}#xD;\n#xD;\n</pre></div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:url [
    fhir:v "https://smart.who.int/ccc/StructureMap/Ccc.b6.measurements"^^xsd:anyURI ;
    fhir:l <https://smart.who.int/ccc/StructureMap/Ccc.b6.measurements>
      ] ; #
      fhir:version [ fhir:v "0.1.0"] ; #
      fhir:name [ fhir:v "Ccc.b6.measurements"] ; #
      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/observation"^^xsd:anyURI ;
    fhir:l <https://smart.who.int/ccc/StructureDefinition/observation>     ] ;
    fhir:mode [ fhir:v "target" ] ;
    fhir:alias [ fhir:v "'Observation'" ]
      ] [
    fhir:url [
    fhir:v "https://smart.who.int/ccc/StructureDefinition/Cccobservation"^^xsd:anyURI ;
    fhir:l <https://smart.who.int/ccc/StructureDefinition/Cccobservation>     ] ;
    fhir:mode [ fhir:v "produced" ] ;
    fhir:alias [ fhir:v "'Ccc Observation'" ]
      ] ) ; #
      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 "5af679c2" ] ;
          ( 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.B6.DE01') and answer.exists()" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "a36f7a7c" ] ;
            ( 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 "b50ac4c5" ] ;
              ( 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 "/Observation/"               ]             ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "9adbf767" ] ;
              ( 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 "Observation"               ]             ] )           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "7b9e1570" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "tgt"                 ]               ] )             ] ) ;
                ( fhir:dependent [
    fhir:name [ fhir:v "CccobservationCccb6de01" ] ;
                  ( fhir:variable [ fhir:v "src" ] [ fhir:v "tgt" ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "1e7dc3b3" ] ;
          ( 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.B6.DE04') and answer.exists()" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "536a3c54" ] ;
            ( 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 "b50ac4c5" ] ;
              ( 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 "/Observation/"               ]             ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "0e7daada" ] ;
              ( 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 "Observation"               ]             ] )           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "67f4a10a" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "tgt"                 ]               ] )             ] ) ;
                ( fhir:dependent [
    fhir:name [ fhir:v "CccobservationCccb6de04" ] ;
                  ( fhir:variable [ fhir:v "src" ] [ fhir:v "tgt" ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "f69a4aa0" ] ;
          ( 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.B6.DE05') and answer.exists()" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "8261a595" ] ;
            ( 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 "b50ac4c5" ] ;
              ( 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 "/Observation/"               ]             ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "b078a223" ] ;
              ( 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 "Observation"               ]             ] )           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "1b781b40" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "tgt"                 ]               ] )             ] ) ;
                ( fhir:dependent [
    fhir:name [ fhir:v "CccobservationCccb6de05" ] ;
                  ( fhir:variable [ fhir:v "src" ] [ fhir:v "tgt" ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "75778e5d" ] ;
          ( 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.B6.DE01A') and answer.exists()" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "b254b7a3" ] ;
            ( 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 "b50ac4c5" ] ;
              ( 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 "/Observation/"               ]             ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "ce53c93f" ] ;
              ( 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 "Observation"               ]             ] )           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "12e03591" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "tgt"                 ]               ] )             ] ) ;
                ( fhir:dependent [
    fhir:name [ fhir:v "CccobservationCccb6de01a" ] ;
                  ( fhir:variable [ fhir:v "src" ] [ fhir:v "tgt" ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "a4bb9383" ] ;
          ( 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.B6.DE06') and answer.exists()" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "b561f2d8" ] ;
            ( 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 "b50ac4c5" ] ;
              ( 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 "/Observation/"               ]             ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "2efb0b06" ] ;
              ( 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 "Observation"               ]             ] )           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "12cee51c" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "tgt"                 ]               ] )             ] ) ;
                ( fhir:dependent [
    fhir:name [ fhir:v "CccobservationCccb6de06" ] ;
                  ( fhir:variable [ fhir:v "src" ] [ fhir:v "tgt" ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "b739680e" ] ;
          ( 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.B6.DE08') and answer.exists()" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "e71738d1" ] ;
            ( 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 "b50ac4c5" ] ;
              ( 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 "/Observation/"               ]             ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "eb449882" ] ;
              ( 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 "Observation"               ]             ] )           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "6bb35e76" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "src" ]             ] ) ;
                ( fhir:target [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "tgt"                 ]               ] )             ] ) ;
                ( fhir:dependent [
    fhir:name [ fhir:v "CccobservationCccb6de08" ] ;
                  ( fhir:variable [ fhir:v "src" ] [ fhir:v "tgt" ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "b0d72fdc" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "itm1" ] ;
    fhir:condition [ fhir:v "linkId = 'HeightOrLength'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "8eeae5c7" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "itm1" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B6.DE09') and answer.exists()" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "6e52b729" ] ;
              ( 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 "b50ac4c5" ] ;
                ( 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 "/Observation/"                 ]               ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"                 ]               ] )             ] )           ] [
    fhir:name [ fhir:v "2f726482" ] ;
                ( 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 "Observation"                 ]               ] )             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "266493b1" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "src" ]               ] ) ;
                  ( fhir:target [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                    ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "tgt"                   ]                 ] )               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccobservationCccb6de09" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "407446d8" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "itm1" ] ;
    fhir:condition [ fhir:v "linkId = 'HeightOrLength'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "89d9cbf4" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "itm1" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B6.DE11') and answer.exists()" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "083c0960" ] ;
              ( 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 "b50ac4c5" ] ;
                ( 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 "/Observation/"                 ]               ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"                 ]               ] )             ] )           ] [
    fhir:name [ fhir:v "e820b17c" ] ;
                ( 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 "Observation"                 ]               ] )             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "561b6a20" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "src" ]               ] ) ;
                  ( fhir:target [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                    ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "tgt"                   ]                 ] )               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccobservationCccb6de11" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "3eece966" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "itm1" ] ;
    fhir:condition [ fhir:v "linkId = 'HeightOrLength'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "af843ed1" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "itm1" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B6.DE12') and answer.exists()" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "36f4bed7" ] ;
              ( 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 "b50ac4c5" ] ;
                ( 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 "/Observation/"                 ]               ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"                 ]               ] )             ] )           ] [
    fhir:name [ fhir:v "c5484336" ] ;
                ( 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 "Observation"                 ]               ] )             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "68ca10f0" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "src" ]               ] ) ;
                  ( fhir:target [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                    ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "tgt"                   ]                 ] )               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccobservationCccb6de12" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "f65b099d" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "itm1" ] ;
    fhir:condition [ fhir:v "linkId = 'HeightOrLength'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "22423885" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "itm1" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B6.DE16') and answer.exists()" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "6699c1df" ] ;
              ( 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 "b50ac4c5" ] ;
                ( 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 "/Observation/"                 ]               ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"                 ]               ] )             ] )           ] [
    fhir:name [ fhir:v "bd26fdf7" ] ;
                ( 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 "Observation"                 ]               ] )             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "e096bb18" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "src" ]               ] ) ;
                  ( fhir:target [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                    ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "tgt"                   ]                 ] )               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccobservationCccb6de16" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "ec872a8f" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "itm1" ] ;
    fhir:condition [ fhir:v "linkId = 'HeightOrLength'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "69c61b5c" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "itm1" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B6.DE17') and answer.exists()" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "5b9abbd1" ] ;
              ( 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 "b50ac4c5" ] ;
                ( 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 "/Observation/"                 ]               ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"                 ]               ] )             ] )           ] [
    fhir:name [ fhir:v "e7d4b396" ] ;
                ( 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 "Observation"                 ]               ] )             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "ba2a3c82" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "src" ]               ] ) ;
                  ( fhir:target [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                    ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "tgt"                   ]                 ] )               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccobservationCccb6de17" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "40e94db6" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "itm1" ] ;
    fhir:condition [ fhir:v "linkId = 'HeightOrLength'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "75bc4091" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "itm1" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B6.DE17a') and answer.exists()" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "d4830ac3" ] ;
              ( 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 "b50ac4c5" ] ;
                ( 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 "/Observation/"                 ]               ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"                 ]               ] )             ] )           ] [
    fhir:name [ fhir:v "5622cb01" ] ;
                ( 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 "Observation"                 ]               ] )             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "7bc3b5ea" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "src" ]               ] ) ;
                  ( fhir:target [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                    ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "tgt"                   ]                 ] )               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccobservationCccb6de17a" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "f83a9a0e" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "itm1" ] ;
    fhir:condition [ fhir:v "linkId = 'HeightOrLength'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "4570d962" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "itm1" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B6.DE18') and answer.exists()" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "9e7c1f1c" ] ;
              ( 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 "b50ac4c5" ] ;
                ( 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 "/Observation/"                 ]               ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "uuid"                 ]               ] )             ] )           ] [
    fhir:name [ fhir:v "e8491d3e" ] ;
                ( 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 "Observation"                 ]               ] )             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "307489c1" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "src" ]               ] ) ;
                  ( fhir:target [
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                    ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "tgt"                   ]                 ] )               ] ) ;
                  ( fhir:dependent [
    fhir:name [ fhir:v "CccobservationCccb6de18" ] ;
                    ( fhir:variable [ fhir:v "src" ] [ fhir:v "tgt" ] )               ] )             ] )           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccobservationCccb6de01" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "id-Cccb6de01" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "identifier" ] ;
    fhir:variable [ fhir:v "CodeID" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Identifier"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    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://hl7.org/fhir/namingsystem-identifier-type"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "use" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "official"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "uuid"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "id" ] ;
    fhir:transform [ fhir:v "uuid" ]       ] )     ] [
    fhir:name [ fhir:v "35bc6b82" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "encounter" ]       ] ) ;
          ( 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 "encounter"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "code-Cccb6de01" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "subject" ]       ] ) ;
          ( 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 "subject"           ]         ] )       ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "meta" ] ;
    fhir:variable [ fhir:v "newMeta" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Meta"           ]         ] )       ] [
    fhir:context [ fhir:v "newMeta" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "profile" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/StructureDefinition/Cccobservation"           ]         ] )       ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "concept" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"           ]         ] )       ] [
    fhir:context [ fhir:v "concept" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "coding" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"           ]         ] )       ] [
    fhir:context [ fhir:v "coding" ] ;
    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:context [ fhir:v "coding" ] ;
    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.B6.DE01"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "aae7a11d" ] ;
          ( 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 "7f22f29f" ] ;
            ( 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 "5af77f2c" ] ;
              ( 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 "issued" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "patient" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "subject" ]       ] ) ;
          ( 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 "subject"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "74f627a9" ] ;
          ( 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.B6.DE01') and answer.exists()" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "d40466ff" ] ;
            ( 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 "afa0ccc0" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "a" ] ;
    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 "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"               ]             ] )           ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "status" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "final"               ]             ] )           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccobservationCccb6de04" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "id-Cccb6de04" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "identifier" ] ;
    fhir:variable [ fhir:v "CodeID" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Identifier"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    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://hl7.org/fhir/namingsystem-identifier-type"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "use" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "official"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "uuid"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "id" ] ;
    fhir:transform [ fhir:v "uuid" ]       ] )     ] [
    fhir:name [ fhir:v "35bc6b82" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "encounter" ]       ] ) ;
          ( 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 "encounter"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "code-Cccb6de04" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "subject" ]       ] ) ;
          ( 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 "subject"           ]         ] )       ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "meta" ] ;
    fhir:variable [ fhir:v "newMeta" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Meta"           ]         ] )       ] [
    fhir:context [ fhir:v "newMeta" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "profile" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/StructureDefinition/Cccobservation"           ]         ] )       ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "concept" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"           ]         ] )       ] [
    fhir:context [ fhir:v "concept" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "coding" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"           ]         ] )       ] [
    fhir:context [ fhir:v "coding" ] ;
    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:context [ fhir:v "coding" ] ;
    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.B6.DE04"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "aae7a11d" ] ;
          ( 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 "7f22f29f" ] ;
            ( 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 "5af77f2c" ] ;
              ( 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 "issued" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "patient" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "subject" ]       ] ) ;
          ( 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 "subject"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "a27d71d0" ] ;
          ( 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.B6.DE04') and answer.exists()" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "721205d5" ] ;
            ( 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 "26c2c8c7" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "a" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "8a65aaa5" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "val" ] ;
    fhir:condition [ fhir:v "val.code = 'true'" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "status" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "final"                 ]               ] )             ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Boolean ;
    fhir:v true                 ]               ] )             ] )           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccobservationCccb6de05" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "id-Cccb6de05" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "identifier" ] ;
    fhir:variable [ fhir:v "CodeID" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Identifier"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    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://hl7.org/fhir/namingsystem-identifier-type"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "use" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "official"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "uuid"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "id" ] ;
    fhir:transform [ fhir:v "uuid" ]       ] )     ] [
    fhir:name [ fhir:v "35bc6b82" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "encounter" ]       ] ) ;
          ( 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 "encounter"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "code-Cccb6de05" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "subject" ]       ] ) ;
          ( 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 "subject"           ]         ] )       ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "meta" ] ;
    fhir:variable [ fhir:v "newMeta" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Meta"           ]         ] )       ] [
    fhir:context [ fhir:v "newMeta" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "profile" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/StructureDefinition/Cccobservation"           ]         ] )       ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "concept" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"           ]         ] )       ] [
    fhir:context [ fhir:v "concept" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "coding" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"           ]         ] )       ] [
    fhir:context [ fhir:v "coding" ] ;
    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:context [ fhir:v "coding" ] ;
    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.B6.DE05"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "aae7a11d" ] ;
          ( 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 "7f22f29f" ] ;
            ( 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 "5af77f2c" ] ;
              ( 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 "issued" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "patient" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "subject" ]       ] ) ;
          ( 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 "subject"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "fe4a3fce" ] ;
          ( 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.B6.DE05') and answer.exists()" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "bdab9370" ] ;
            ( 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 "final-Cccb6de05" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "a" ] ;
    fhir:condition [ fhir:v "a.value = true" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "status" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "final"               ]             ] )           ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:Boolean ;
    fhir:v true               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "notfound-Cccb6de05" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "a" ] ;
    fhir:condition [ fhir:v "a.value = false" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "status" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "cancelled"               ]             ] )           ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:Boolean ;
    fhir:v false               ]             ] )           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccobservationCccb6de01a" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "id-Cccb6de01a" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "identifier" ] ;
    fhir:variable [ fhir:v "CodeID" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Identifier"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    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://hl7.org/fhir/namingsystem-identifier-type"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "use" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "official"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "uuid"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "id" ] ;
    fhir:transform [ fhir:v "uuid" ]       ] )     ] [
    fhir:name [ fhir:v "35bc6b82" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "encounter" ]       ] ) ;
          ( 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 "encounter"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "code-Cccb6de01a" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "subject" ]       ] ) ;
          ( 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 "subject"           ]         ] )       ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "meta" ] ;
    fhir:variable [ fhir:v "newMeta" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Meta"           ]         ] )       ] [
    fhir:context [ fhir:v "newMeta" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "profile" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/StructureDefinition/Cccobservation"           ]         ] )       ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "concept" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"           ]         ] )       ] [
    fhir:context [ fhir:v "concept" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "coding" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"           ]         ] )       ] [
    fhir:context [ fhir:v "coding" ] ;
    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:context [ fhir:v "coding" ] ;
    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.B6.DE01A"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "aae7a11d" ] ;
          ( 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 "7f22f29f" ] ;
            ( 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 "5af77f2c" ] ;
              ( 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 "issued" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "patient" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "subject" ]       ] ) ;
          ( 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 "subject"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "a471ce48" ] ;
          ( 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.B6.DE01A') and answer.exists()" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "d39f9088" ] ;
            ( 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 "1b820ab0" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "a" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "759a9a54" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "val" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "cc" ] ;
    fhir:transform [ fhir:v "create" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"                 ]               ] )             ] [
    fhir:context [ fhir:v "cc" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "c" ] ;
    fhir:transform [ fhir:v "create" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"                 ]               ] )             ] [
    fhir:context [ fhir:v "c" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                 ]               ] )             ] [
    fhir:context [ fhir:v "c" ] ;
    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:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "status" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "final"                 ]               ] )             ] )           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccobservationCccb6de06" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "id-Cccb6de06" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "identifier" ] ;
    fhir:variable [ fhir:v "CodeID" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Identifier"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    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://hl7.org/fhir/namingsystem-identifier-type"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "use" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "official"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "uuid"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "id" ] ;
    fhir:transform [ fhir:v "uuid" ]       ] )     ] [
    fhir:name [ fhir:v "35bc6b82" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "encounter" ]       ] ) ;
          ( 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 "encounter"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "code-Cccb6de06" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "subject" ]       ] ) ;
          ( 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 "subject"           ]         ] )       ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "meta" ] ;
    fhir:variable [ fhir:v "newMeta" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Meta"           ]         ] )       ] [
    fhir:context [ fhir:v "newMeta" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "profile" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/StructureDefinition/Cccobservation"           ]         ] )       ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "concept" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"           ]         ] )       ] [
    fhir:context [ fhir:v "concept" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "coding" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"           ]         ] )       ] [
    fhir:context [ fhir:v "coding" ] ;
    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:context [ fhir:v "coding" ] ;
    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.B6.DE06"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "aae7a11d" ] ;
          ( 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 "7f22f29f" ] ;
            ( 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 "5af77f2c" ] ;
              ( 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 "issued" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "patient" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "subject" ]       ] ) ;
          ( 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 "subject"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "39925fe2" ] ;
          ( 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.B6.DE06') and answer.exists()" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "d40466ff" ] ;
            ( 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 "afa0ccc0" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "a" ] ;
    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 "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"               ]             ] )           ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "status" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "final"               ]             ] )           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccobservationCccb6de08" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "id-Cccb6de08" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "identifier" ] ;
    fhir:variable [ fhir:v "CodeID" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Identifier"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    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://hl7.org/fhir/namingsystem-identifier-type"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "use" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "official"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "uuid"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "id" ] ;
    fhir:transform [ fhir:v "uuid" ]       ] )     ] [
    fhir:name [ fhir:v "35bc6b82" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "encounter" ]       ] ) ;
          ( 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 "encounter"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "code-Cccb6de08" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "subject" ]       ] ) ;
          ( 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 "subject"           ]         ] )       ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "meta" ] ;
    fhir:variable [ fhir:v "newMeta" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Meta"           ]         ] )       ] [
    fhir:context [ fhir:v "newMeta" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "profile" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/StructureDefinition/Cccobservation"           ]         ] )       ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "concept" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"           ]         ] )       ] [
    fhir:context [ fhir:v "concept" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "coding" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"           ]         ] )       ] [
    fhir:context [ fhir:v "coding" ] ;
    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:context [ fhir:v "coding" ] ;
    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.B6.DE08"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "aae7a11d" ] ;
          ( 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 "7f22f29f" ] ;
            ( 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 "5af77f2c" ] ;
              ( 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 "issued" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "patient" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "subject" ]       ] ) ;
          ( 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 "subject"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "dc896557" ] ;
          ( 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.B6.DE08') and answer.exists()" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "d40466ff" ] ;
            ( 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 "afa0ccc0" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "a" ] ;
    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 "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"               ]             ] )           ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "status" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "final"               ]             ] )           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccobservationCccb6de09" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "id-Cccb6de09" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "identifier" ] ;
    fhir:variable [ fhir:v "CodeID" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Identifier"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    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://hl7.org/fhir/namingsystem-identifier-type"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "use" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "official"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "uuid"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "id" ] ;
    fhir:transform [ fhir:v "uuid" ]       ] )     ] [
    fhir:name [ fhir:v "35bc6b82" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "encounter" ]       ] ) ;
          ( 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 "encounter"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "code-Cccb6de09" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "subject" ]       ] ) ;
          ( 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 "subject"           ]         ] )       ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "meta" ] ;
    fhir:variable [ fhir:v "newMeta" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Meta"           ]         ] )       ] [
    fhir:context [ fhir:v "newMeta" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "profile" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/StructureDefinition/Cccobservation"           ]         ] )       ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "concept" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"           ]         ] )       ] [
    fhir:context [ fhir:v "concept" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "coding" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"           ]         ] )       ] [
    fhir:context [ fhir:v "coding" ] ;
    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:context [ fhir:v "coding" ] ;
    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.B6.DE09"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "aae7a11d" ] ;
          ( 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 "7f22f29f" ] ;
            ( 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 "5af77f2c" ] ;
              ( 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 "issued" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "patient" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "subject" ]       ] ) ;
          ( 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 "subject"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "a045bbd4" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "itm1" ] ;
    fhir:condition [ fhir:v "linkId = 'HeightOrLength'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "589bbaf1" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "itm1" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B6.DE09') and answer.exists()" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "d40466ff" ] ;
              ( 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 "afa0ccc0" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "a" ] ;
    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 "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                 ]               ] )             ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "status" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "final"                 ]               ] )             ] )           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccobservationCccb6de11" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "id-Cccb6de11" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "identifier" ] ;
    fhir:variable [ fhir:v "CodeID" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Identifier"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    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://hl7.org/fhir/namingsystem-identifier-type"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "use" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "official"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "uuid"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "id" ] ;
    fhir:transform [ fhir:v "uuid" ]       ] )     ] [
    fhir:name [ fhir:v "35bc6b82" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "encounter" ]       ] ) ;
          ( 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 "encounter"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "code-Cccb6de11" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "subject" ]       ] ) ;
          ( 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 "subject"           ]         ] )       ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "meta" ] ;
    fhir:variable [ fhir:v "newMeta" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Meta"           ]         ] )       ] [
    fhir:context [ fhir:v "newMeta" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "profile" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/StructureDefinition/Cccobservation"           ]         ] )       ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "concept" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"           ]         ] )       ] [
    fhir:context [ fhir:v "concept" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "coding" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"           ]         ] )       ] [
    fhir:context [ fhir:v "coding" ] ;
    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:context [ fhir:v "coding" ] ;
    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.B6.DE11"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "aae7a11d" ] ;
          ( 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 "7f22f29f" ] ;
            ( 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 "5af77f2c" ] ;
              ( 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 "issued" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "patient" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "subject" ]       ] ) ;
          ( 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 "subject"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "9a6a0b00" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "itm1" ] ;
    fhir:condition [ fhir:v "linkId = 'HeightOrLength'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "d64ae780" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "itm1" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B6.DE11') and answer.exists()" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "721205d5" ] ;
              ( 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 "26c2c8c7" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "a" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "8a65aaa5" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "val" ] ;
    fhir:condition [ fhir:v "val.code = 'true'" ]               ] ) ;
                  ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "status" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                    ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "final"                   ]                 ] )               ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                    ( fhir:parameter [
    fhir:value [
    a fhir:Boolean ;
    fhir:v true                   ]                 ] )               ] )             ] )           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccobservationCccb6de12" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "id-Cccb6de12" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "identifier" ] ;
    fhir:variable [ fhir:v "CodeID" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Identifier"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    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://hl7.org/fhir/namingsystem-identifier-type"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "use" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "official"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "uuid"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "id" ] ;
    fhir:transform [ fhir:v "uuid" ]       ] )     ] [
    fhir:name [ fhir:v "35bc6b82" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "encounter" ]       ] ) ;
          ( 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 "encounter"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "code-Cccb6de12" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "subject" ]       ] ) ;
          ( 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 "subject"           ]         ] )       ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "meta" ] ;
    fhir:variable [ fhir:v "newMeta" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Meta"           ]         ] )       ] [
    fhir:context [ fhir:v "newMeta" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "profile" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/StructureDefinition/Cccobservation"           ]         ] )       ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "concept" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"           ]         ] )       ] [
    fhir:context [ fhir:v "concept" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "coding" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"           ]         ] )       ] [
    fhir:context [ fhir:v "coding" ] ;
    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:context [ fhir:v "coding" ] ;
    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.B6.DE12"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "aae7a11d" ] ;
          ( 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 "7f22f29f" ] ;
            ( 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 "5af77f2c" ] ;
              ( 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 "issued" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "patient" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "subject" ]       ] ) ;
          ( 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 "subject"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "145f1ff6" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "itm1" ] ;
    fhir:condition [ fhir:v "linkId = 'HeightOrLength'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "c68f5944" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "itm1" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B6.DE12') and answer.exists()" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "d40466ff" ] ;
              ( 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 "afa0ccc0" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "a" ] ;
    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 "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                 ]               ] )             ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "status" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "final"                 ]               ] )             ] )           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccobservationCccb6de16" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "id-Cccb6de16" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "identifier" ] ;
    fhir:variable [ fhir:v "CodeID" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Identifier"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    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://hl7.org/fhir/namingsystem-identifier-type"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "use" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "official"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "uuid"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "id" ] ;
    fhir:transform [ fhir:v "uuid" ]       ] )     ] [
    fhir:name [ fhir:v "35bc6b82" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "encounter" ]       ] ) ;
          ( 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 "encounter"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "code-Cccb6de16" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "subject" ]       ] ) ;
          ( 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 "subject"           ]         ] )       ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "meta" ] ;
    fhir:variable [ fhir:v "newMeta" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Meta"           ]         ] )       ] [
    fhir:context [ fhir:v "newMeta" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "profile" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/StructureDefinition/Cccobservation"           ]         ] )       ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "concept" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"           ]         ] )       ] [
    fhir:context [ fhir:v "concept" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "coding" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"           ]         ] )       ] [
    fhir:context [ fhir:v "coding" ] ;
    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:context [ fhir:v "coding" ] ;
    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.B6.DE16"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "aae7a11d" ] ;
          ( 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 "7f22f29f" ] ;
            ( 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 "5af77f2c" ] ;
              ( 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 "issued" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "patient" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "subject" ]       ] ) ;
          ( 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 "subject"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "8e8f1cd4" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "itm1" ] ;
    fhir:condition [ fhir:v "linkId = 'HeightOrLength'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "c4642432" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "itm1" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B6.DE16') and answer.exists()" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "bdab9370" ] ;
              ( 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 "final-Cccb6de16" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "a" ] ;
    fhir:condition [ fhir:v "a.value = true" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "status" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "final"                 ]               ] )             ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Boolean ;
    fhir:v true                 ]               ] )             ] )           ] [
    fhir:name [ fhir:v "notfound-Cccb6de16" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "a" ] ;
    fhir:condition [ fhir:v "a.value = false" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "status" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "cancelled"                 ]               ] )             ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Boolean ;
    fhir:v false                 ]               ] )             ] )           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccobservationCccb6de17" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "id-Cccb6de17" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "identifier" ] ;
    fhir:variable [ fhir:v "CodeID" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Identifier"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    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://hl7.org/fhir/namingsystem-identifier-type"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "use" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "official"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "uuid"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "id" ] ;
    fhir:transform [ fhir:v "uuid" ]       ] )     ] [
    fhir:name [ fhir:v "35bc6b82" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "encounter" ]       ] ) ;
          ( 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 "encounter"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "code-Cccb6de17" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "subject" ]       ] ) ;
          ( 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 "subject"           ]         ] )       ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "meta" ] ;
    fhir:variable [ fhir:v "newMeta" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Meta"           ]         ] )       ] [
    fhir:context [ fhir:v "newMeta" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "profile" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/StructureDefinition/Cccobservation"           ]         ] )       ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "concept" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"           ]         ] )       ] [
    fhir:context [ fhir:v "concept" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "coding" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"           ]         ] )       ] [
    fhir:context [ fhir:v "coding" ] ;
    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:context [ fhir:v "coding" ] ;
    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.B6.DE17"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "aae7a11d" ] ;
          ( 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 "7f22f29f" ] ;
            ( 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 "5af77f2c" ] ;
              ( 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 "issued" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "patient" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "subject" ]       ] ) ;
          ( 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 "subject"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "b27154a0" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "itm1" ] ;
    fhir:condition [ fhir:v "linkId = 'HeightOrLength'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "66a9743a" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "itm1" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B6.DE17') and answer.exists()" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "d40466ff" ] ;
              ( 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 "afa0ccc0" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "a" ] ;
    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 "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                 ]               ] )             ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "status" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "final"                 ]               ] )             ] )           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccobservationCccb6de17a" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "id-Cccb6de17a" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "identifier" ] ;
    fhir:variable [ fhir:v "CodeID" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Identifier"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    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://hl7.org/fhir/namingsystem-identifier-type"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "use" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "official"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "uuid"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "id" ] ;
    fhir:transform [ fhir:v "uuid" ]       ] )     ] [
    fhir:name [ fhir:v "35bc6b82" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "encounter" ]       ] ) ;
          ( 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 "encounter"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "code-Cccb6de17a" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "subject" ]       ] ) ;
          ( 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 "subject"           ]         ] )       ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "meta" ] ;
    fhir:variable [ fhir:v "newMeta" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Meta"           ]         ] )       ] [
    fhir:context [ fhir:v "newMeta" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "profile" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/StructureDefinition/Cccobservation"           ]         ] )       ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "concept" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"           ]         ] )       ] [
    fhir:context [ fhir:v "concept" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "coding" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"           ]         ] )       ] [
    fhir:context [ fhir:v "coding" ] ;
    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:context [ fhir:v "coding" ] ;
    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.B6.DE17a"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "aae7a11d" ] ;
          ( 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 "7f22f29f" ] ;
            ( 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 "5af77f2c" ] ;
              ( 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 "issued" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "patient" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "subject" ]       ] ) ;
          ( 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 "subject"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "04002c97" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "itm1" ] ;
    fhir:condition [ fhir:v "linkId = 'HeightOrLength'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "a25ca60a" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "itm1" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B6.DE17a') and answer.exists()" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "721205d5" ] ;
              ( 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 "26c2c8c7" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "a" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "8a65aaa5" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "val" ] ;
    fhir:condition [ fhir:v "val.code = 'true'" ]               ] ) ;
                  ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "status" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                    ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "final"                   ]                 ] )               ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                    ( fhir:parameter [
    fhir:value [
    a fhir:Boolean ;
    fhir:v true                   ]                 ] )               ] )             ] )           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "CccobservationCccb6de18" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "id-Cccb6de18" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "identifier" ] ;
    fhir:variable [ fhir:v "CodeID" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Identifier"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    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://hl7.org/fhir/namingsystem-identifier-type"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "use" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "official"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "uuid"           ]         ] )       ] [
    fhir:context [ fhir:v "CodeID" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "id" ] ;
    fhir:transform [ fhir:v "uuid" ]       ] )     ] [
    fhir:name [ fhir:v "35bc6b82" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "encounter" ] ;
    fhir:variable [ fhir:v "encounter" ]       ] ) ;
          ( 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 "encounter"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "code-Cccb6de18" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "subject" ]       ] ) ;
          ( 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 "subject"           ]         ] )       ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "meta" ] ;
    fhir:variable [ fhir:v "newMeta" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Meta"           ]         ] )       ] [
    fhir:context [ fhir:v "newMeta" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "profile" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "https://smart.who.int/ccc/StructureDefinition/Cccobservation"           ]         ] )       ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "concept" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"           ]         ] )       ] [
    fhir:context [ fhir:v "concept" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "coding" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Coding"           ]         ] )       ] [
    fhir:context [ fhir:v "coding" ] ;
    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:context [ fhir:v "coding" ] ;
    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.B6.DE18"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "aae7a11d" ] ;
          ( 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 "7f22f29f" ] ;
            ( 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 "5af77f2c" ] ;
              ( 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 "issued" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "patient" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "subject" ]       ] ) ;
          ( 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 "subject"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "72053a9a" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "itm1" ] ;
    fhir:condition [ fhir:v "linkId = 'HeightOrLength'" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "a14ebcf7" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "itm1" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:listMode [ fhir:v "first" ] ;
    fhir:variable [ fhir:v "item" ] ;
    fhir:condition [ fhir:v "(linkId = 'Ccc.B6.DE18') and answer.exists()" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "6af9bfcc" ] ;
              ( 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 "310f4b1f" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "a" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "val" ]             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "d0a13fda" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "val" ] ;
    fhir:condition [ fhir:v "val.code = 'none'" ]               ] ) ;
                  ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "swrapin_entry_createtatus" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                    ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "cancelled"                   ]                 ] )               ] )             ] [
    fhir:name [ fhir:v "a1050460" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "val" ] ;
    fhir:condition [ fhir:v "val.code != 'none'" ]               ] ) ;
                  ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "cc" ] ;
    fhir:transform [ fhir:v "create" ] ;
                    ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "CodeableConcept"                   ]                 ] )               ] [
    fhir:context [ fhir:v "cc" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                    ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "val"                   ]                 ] )               ] [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "status" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                    ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "final"                   ]                 ] )               ] )             ] )           ] )         ] )       ] )     ] )
      ] ) . #