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 - JSON Representation

Active as of 2026-04-07

Raw json | Download

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