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.b22.assessmentstests - JSON Representation

Active as of 2026-04-07

Raw json | Download

    {
      "resourceType" : "StructureMap",
      "id" : "Ccc.b22.assessmentstests",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre>map &quot;https://smart.who.int/ccc/StructureMap/Ccc.b22.assessmentstests&quot; = &quot;Ccc.b22.assessmentstests&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 itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.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 CccobservationCccb22de01(src, tgt) &quot;94788d70&quot;;\r\n        } &quot;cafa1f90&quot;;\r\n      } &quot;44017cb3&quot;;\r\n    } &quot;1c5108b8&quot;;\r\n  } &quot;88bb5c43&quot;;\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE02') 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 CccobservationCccb22de02(src, tgt) &quot;c3e885af&quot;;\r\n        } &quot;60b301de&quot;;\r\n      } &quot;815e425c&quot;;\r\n    } &quot;85d3c3a3&quot;;\r\n  } &quot;c7e0dbc2&quot;;\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as itm2 where linkId = 'second' then {\r\n      itm2.item first as item where (linkId = 'Ccc.B22.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 CccobservationCccb22de04(src, tgt) &quot;42ed4c3a&quot;;\r\n          } &quot;b802d4a2&quot;;\r\n        } &quot;c7431f4f&quot;;\r\n      } &quot;ad5094ed&quot;;\r\n    } &quot;3b2e9629&quot;;\r\n  } &quot;318dfe75&quot;;\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as itm2 where linkId = 'second' then {\r\n      itm2.item first as item where (linkId = 'Ccc.B22.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 CccobservationCccb22de05(src, tgt) &quot;3be4cd34&quot;;\r\n          } &quot;b7585bc2&quot;;\r\n        } &quot;61b1a5c6&quot;;\r\n      } &quot;d9d928a7&quot;;\r\n    } &quot;9853d168&quot;;\r\n  } &quot;c21c2c7c&quot;;\r\n  src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE07') 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 CccobservationCccb22de07(src, tgt) &quot;fa30cee1&quot;;\r\n        } &quot;aad75965&quot;;\r\n      } &quot;8267defb&quot;;\r\n    } &quot;a2eebe03&quot;;\r\n  } &quot;7ef76f25&quot;;\r\n  src.item first as itm1 where linkId = 'Ccc.B22.FluidTest' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.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 CccobservationCccb22de08(src, tgt) &quot;d34db40c&quot;;\r\n        } &quot;bd8403a6&quot;;\r\n      } &quot;09eb3e1a&quot;;\r\n    } &quot;1b0282c4&quot;;\r\n  } &quot;38d251fb&quot;;\r\n  src.item first as itm1 where linkId = 'Ccc.B22.FluidTest' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE14') 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 CccobservationCccb22de14(src, tgt) &quot;128f555c&quot;;\r\n        } &quot;2cba61ee&quot;;\r\n      } &quot;1eb502ac&quot;;\r\n    } &quot;b29de87e&quot;;\r\n  } &quot;83edc111&quot;;\r\n  src.item first as itm1 where linkId = 'Ccc.B22.FluidTest' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE14a') 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 CccobservationCccb22de14a(src, tgt) &quot;7b46291c&quot;;\r\n        } &quot;17f1508c&quot;;\r\n      } &quot;64f82f5e&quot;;\r\n    } &quot;37f27338&quot;;\r\n  } &quot;e265d4b9&quot;;\r\n  src.item first as itm1 where linkId = 'Ccc.B22.FluidTest' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE15') 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 CccobservationCccb22de15(src, tgt) &quot;0d25d61c&quot;;\r\n        } &quot;49095bbf&quot;;\r\n      } &quot;7ffa5829&quot;;\r\n    } &quot;fe87fcb7&quot;;\r\n  } &quot;5149a74c&quot;;\r\n  src.item first as itm1 where linkId = 'Ccc.B22.FluidTest' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.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 CccobservationCccb22de16(src, tgt) &quot;2bef72fa&quot;;\r\n        } &quot;f426fdde&quot;;\r\n      } &quot;f53bf22c&quot;;\r\n    } &quot;e18b8f07&quot;;\r\n  } &quot;5b507a5c&quot;;\r\n  src where src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE18') then {\r\n    src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then {\r\n      itm1.item first as item where (linkId = 'Ccc.B22.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 then CccobservationCccb22de17Cccb22de18t(src, tgt) &quot;4b4e3882&quot;;\r\n          } &quot;a29f448d&quot;;\r\n        } &quot;8c5fbec1&quot;;\r\n      } &quot;34815add&quot;;\r\n    } &quot;a5dcb8ca&quot;;\r\n  } &quot;ea50860d&quot;;\r\n  src where src.item.where(linkId = 'Ccc.B22.DE17').exists() and src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE18').empty() then {\r\n    src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then {\r\n      itm1.item first as item where (linkId = 'Ccc.B22.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 then CccobservationCccb22de17Cccb22de18f(src, tgt) &quot;4fd23ec4&quot;;\r\n          } &quot;e477bbcc&quot;;\r\n        } &quot;c329f1a7&quot;;\r\n      } &quot;05305e3f&quot;;\r\n    } &quot;b43560b2&quot;;\r\n  } &quot;b2efd7b0&quot;;\r\n  src where src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE19') then {\r\n    src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then {\r\n      itm1.item first as item where (linkId = 'Ccc.B22.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 then CccobservationCccb22de17Cccb22de19t(src, tgt) &quot;832556c2&quot;;\r\n          } &quot;25d864fa&quot;;\r\n        } &quot;d659dd64&quot;;\r\n      } &quot;b4d55b8a&quot;;\r\n    } &quot;427a7e63&quot;;\r\n  } &quot;bb829570&quot;;\r\n  src where src.item.where(linkId = 'Ccc.B22.DE17').exists() and src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE19').empty() then {\r\n    src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then {\r\n      itm1.item first as item where (linkId = 'Ccc.B22.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 then CccobservationCccb22de17Cccb22de19f(src, tgt) &quot;917126ea&quot;;\r\n          } &quot;4d341549&quot;;\r\n        } &quot;7cf5a310&quot;;\r\n      } &quot;f627de60&quot;;\r\n    } &quot;b50887e7&quot;;\r\n  } &quot;65731df1&quot;;\r\n  src where src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE20') then {\r\n    src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then {\r\n      itm1.item first as item where (linkId = 'Ccc.B22.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 then CccobservationCccb22de17Cccb22de20t(src, tgt) &quot;178da581&quot;;\r\n          } &quot;1e80b046&quot;;\r\n        } &quot;d67193a2&quot;;\r\n      } &quot;43435fc6&quot;;\r\n    } &quot;663fb49d&quot;;\r\n  } &quot;720e8bc9&quot;;\r\n  src where src.item.where(linkId = 'Ccc.B22.DE17').exists() and src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE20').empty() then {\r\n    src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then {\r\n      itm1.item first as item where (linkId = 'Ccc.B22.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 then CccobservationCccb22de17Cccb22de20f(src, tgt) &quot;4fa88d49&quot;;\r\n          } &quot;30a84474&quot;;\r\n        } &quot;25416983&quot;;\r\n      } &quot;6a7e0a13&quot;;\r\n    } &quot;16556d1c&quot;;\r\n  } &quot;ddaf5ab3&quot;;\r\n  src where src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE21') then {\r\n    src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then {\r\n      itm1.item first as item where (linkId = 'Ccc.B22.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 then CccobservationCccb22de17Cccb22de21t(src, tgt) &quot;628bfa1d&quot;;\r\n          } &quot;0bf9d78c&quot;;\r\n        } &quot;b0fa129e&quot;;\r\n      } &quot;32b27262&quot;;\r\n    } &quot;9c9cb9cf&quot;;\r\n  } &quot;c28d7273&quot;;\r\n  src where src.item.where(linkId = 'Ccc.B22.DE17').exists() and src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE21').empty() then {\r\n    src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then {\r\n      itm1.item first as item where (linkId = 'Ccc.B22.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 then CccobservationCccb22de17Cccb22de21f(src, tgt) &quot;f42ef3e7&quot;;\r\n          } &quot;65279195&quot;;\r\n        } &quot;954bbaec&quot;;\r\n      } &quot;db19cd6e&quot;;\r\n    } &quot;a57951b9&quot;;\r\n  } &quot;00b8d186&quot;;\r\n  src where src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE22') then {\r\n    src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then {\r\n      itm1.item first as item where (linkId = 'Ccc.B22.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 then CccobservationCccb22de17Cccb22de22t(src, tgt) &quot;a1caf2e7&quot;;\r\n          } &quot;cea3f121&quot;;\r\n        } &quot;f3d4e5ff&quot;;\r\n      } &quot;b7ccc20a&quot;;\r\n    } &quot;a057c365&quot;;\r\n  } &quot;6bf6c194&quot;;\r\n  src where src.item.where(linkId = 'Ccc.B22.DE17').exists() and src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE22').empty() then {\r\n    src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then {\r\n      itm1.item first as item where (linkId = 'Ccc.B22.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 then CccobservationCccb22de17Cccb22de22f(src, tgt) &quot;df402cb9&quot;;\r\n          } &quot;a7736492&quot;;\r\n        } &quot;0fd648ea&quot;;\r\n      } &quot;708ba8cc&quot;;\r\n    } &quot;141fcb13&quot;;\r\n  } &quot;0a2cfb8c&quot;;\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE22') 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 CccobservationCccb22de22(src, tgt) &quot;b9010fac&quot;;\r\n        } &quot;109bcf94&quot;;\r\n      } &quot;88ceffcd&quot;;\r\n    } &quot;f6b5295e&quot;;\r\n  } &quot;ff982ab4&quot;;\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BronchodilatorTest' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE21') 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 CccobservationCccb22de21(src, tgt) &quot;7c45409d&quot;;\r\n        } &quot;ec6cbc70&quot;;\r\n      } &quot;2bc763d0&quot;;\r\n    } &quot;08d4fa9d&quot;;\r\n  } &quot;dbbe5168&quot;;\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE41') 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 CccobservationCccb22de41(src, tgt) &quot;35802f20&quot;;\r\n        } &quot;765c240d&quot;;\r\n      } &quot;9de4a229&quot;;\r\n    } &quot;95a734dc&quot;;\r\n  } &quot;e0648fb3&quot;;\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE28') 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 CccobservationCccb22de28(src, tgt) &quot;dd9106b0&quot;;\r\n        } &quot;72695e81&quot;;\r\n      } &quot;5cc117e5&quot;;\r\n    } &quot;72d43aa2&quot;;\r\n  } &quot;2eb0afb7&quot;;\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE29') 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 CccobservationCccb22de29(src, tgt) &quot;0bd03bad&quot;;\r\n        } &quot;64565ab8&quot;;\r\n      } &quot;a568a312&quot;;\r\n    } &quot;c9435680&quot;;\r\n  } &quot;532862db&quot;;\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE30') 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 CccobservationCccb22de30(src, tgt) &quot;a8dbbfa4&quot;;\r\n        } &quot;470a9773&quot;;\r\n      } &quot;6aff1bf2&quot;;\r\n    } &quot;58ef8f91&quot;;\r\n  } &quot;d3925452&quot;;\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE31') 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 CccobservationCccb22de31(src, tgt) &quot;3a858f1f&quot;;\r\n        } &quot;bab0e868&quot;;\r\n      } &quot;47ecf4e4&quot;;\r\n    } &quot;adf0b112&quot;;\r\n  } &quot;800f010d&quot;;\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE32') 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 CccobservationCccb22de32(src, tgt) &quot;5537f1d1&quot;;\r\n        } &quot;38fb811c&quot;;\r\n      } &quot;77934152&quot;;\r\n    } &quot;07d1a84a&quot;;\r\n  } &quot;41f81bdf&quot;;\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE33') 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 CccobservationCccb22de33(src, tgt) &quot;b9ca07b3&quot;;\r\n        } &quot;e7981b54&quot;;\r\n      } &quot;b81929fc&quot;;\r\n    } &quot;65ea8f25&quot;;\r\n  } &quot;92c89def&quot;;\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE34') 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 CccobservationCccb22de34(src, tgt) &quot;81a7b6a0&quot;;\r\n        } &quot;a60a44da&quot;;\r\n      } &quot;9f5867b0&quot;;\r\n    } &quot;7a811ac1&quot;;\r\n  } &quot;c95a75ed&quot;;\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE35') 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 CccobservationCccb22de35(src, tgt) &quot;99cdb2a9&quot;;\r\n        } &quot;7976f991&quot;;\r\n      } &quot;6b8eb7c7&quot;;\r\n    } &quot;b3f8de08&quot;;\r\n  } &quot;4d431e35&quot;;\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE36') 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 CccobservationCccb22de36(src, tgt) &quot;5d275331&quot;;\r\n        } &quot;cec8e27b&quot;;\r\n      } &quot;e67b8382&quot;;\r\n    } &quot;a45c350b&quot;;\r\n  } &quot;3cf7714c&quot;;\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE42') 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 CccobservationCccb22de42(src, tgt) &quot;273b1a16&quot;;\r\n        } &quot;213a0dca&quot;;\r\n      } &quot;56a5bbd9&quot;;\r\n    } &quot;d7b806aa&quot;;\r\n  } &quot;840b2bb8&quot;;\r\n  src.item first as itm1 where linkId = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE44') 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 CccobservationCccb22de44(src, tgt) &quot;843d7b1e&quot;;\r\n        } &quot;70061b03&quot;;\r\n      } &quot;0e593cb2&quot;;\r\n    } &quot;f7138270&quot;;\r\n  } &quot;3f3d258e&quot;;\r\n  src.item first as itm1 where linkId = 'Ccc.B22.Hemoglobin' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE81') 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 CccobservationCccb22de81(src, tgt) &quot;f56b8d65&quot;;\r\n        } &quot;42cac8d1&quot;;\r\n      } &quot;00ff1e0b&quot;;\r\n    } &quot;12925695&quot;;\r\n  } &quot;c39fe6fd&quot;;\r\n  src.item first as itm1 where linkId = 'Ccc.B22.Hemoglobin' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE82') 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 CccobservationCccb22de82(src, tgt) &quot;1118b2e0&quot;;\r\n        } &quot;565f125e&quot;;\r\n      } &quot;cc5012ad&quot;;\r\n    } &quot;ebd0ce98&quot;;\r\n  } &quot;26935d1f&quot;;\r\n  src.item first as itm1 where linkId = 'Ccc.B22.SecondTemperature' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE47') 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 CccobservationCccb22de47(src, tgt) &quot;27e1ae58&quot;;\r\n        } &quot;68ad31bf&quot;;\r\n      } &quot;6ac0c1c9&quot;;\r\n    } &quot;39718bc0&quot;;\r\n  } &quot;9b034abe&quot;;\r\n  src.item first as itm1 where linkId = 'Ccc.B22.SecondTemperature' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE46') 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 CccobservationCccb22de46(src, tgt) &quot;d4ea6333&quot;;\r\n        } &quot;1ee0adeb&quot;;\r\n      } &quot;9266b262&quot;;\r\n    } &quot;47f73f1e&quot;;\r\n  } &quot;20d6b9bb&quot;;\r\n  src.item first as itm1 where linkId = 'Ccc.B22.SecondTemperature' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE50') 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 CccobservationCccb22de50(src, tgt) &quot;b5c48578&quot;;\r\n        } &quot;1d3deeec&quot;;\r\n      } &quot;82120e52&quot;;\r\n    } &quot;618f3cba&quot;;\r\n  } &quot;f1772432&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de01(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-Cccb22de01&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.B22.DE01' &quot;code-Cccb22de01&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 = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.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;e1cd1fa1&quot;;\r\n  } &quot;ad8e4fa6&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de02(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-Cccb22de02&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.B22.DE02' &quot;code-Cccb22de02&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 = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE02') 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;38b3c27b&quot;;\r\n  } &quot;5b046e45&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de04(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-Cccb22de04&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.B22.DE04' &quot;code-Cccb22de04&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 = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as itm2 where linkId = 'second' then {\r\n      itm2.item first as item where (linkId = 'Ccc.B22.DE04') 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;f66ca63f&quot;;\r\n    } &quot;1b837896&quot;;\r\n  } &quot;6b3a0b06&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de05(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-Cccb22de05&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.B22.DE05' &quot;code-Cccb22de05&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 = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as itm2 where linkId = 'second' then {\r\n      itm2.item first as item where (linkId = 'Ccc.B22.DE05') 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;48a81a4f&quot;;\r\n    } &quot;9322cbb7&quot;;\r\n  } &quot;ed73ec89&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de07(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-Cccb22de07&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.B22.DE07' &quot;code-Cccb22de07&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 = 'Ccc.B22.RespiratoryRate' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE07') 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-Cccb22de07&quot;;\r\n        a where a.value = false -&gt;  tgt.status = 'cancelled',  tgt.value = false &quot;notfound-Cccb22de07&quot;;\r\n      } &quot;bdab9370&quot;;\r\n    } &quot;b5e73929&quot;;\r\n  } &quot;306838ed&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de08(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-Cccb22de08&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.B22.DE08' &quot;code-Cccb22de08&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 = 'Ccc.B22.FluidTest' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE08') 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;3b9ba04d&quot;;\r\n  } &quot;6d73c74e&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de14(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-Cccb22de14&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.B22.DE14' &quot;code-Cccb22de14&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 = 'Ccc.B22.FluidTest' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE14') 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;55651876&quot;;\r\n  } &quot;5bdf34bc&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de14a(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-Cccb22de14a&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.B22.DE14a' &quot;code-Cccb22de14a&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 = 'Ccc.B22.FluidTest' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE14a') 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-Cccb22de14a&quot;;\r\n        a where a.value = false -&gt;  tgt.status = 'cancelled',  tgt.value = false &quot;notfound-Cccb22de14a&quot;;\r\n      } &quot;bdab9370&quot;;\r\n    } &quot;e332bfd7&quot;;\r\n  } &quot;1a47ca2a&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de15(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-Cccb22de15&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.B22.DE15' &quot;code-Cccb22de15&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 = 'Ccc.B22.FluidTest' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE15') 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-Cccb22de15&quot;;\r\n        a where a.value = false -&gt;  tgt.status = 'cancelled',  tgt.value = false &quot;notfound-Cccb22de15&quot;;\r\n      } &quot;bdab9370&quot;;\r\n    } &quot;166040b8&quot;;\r\n  } &quot;e23593aa&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de16(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-Cccb22de16&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.B22.DE16' &quot;code-Cccb22de16&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 = 'Ccc.B22.FluidTest' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE16') 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;b1dde0d2&quot;;\r\n  } &quot;b36b8a09&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de17Cccb22de18t(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-CccobservationCccb22de17Cccb22de18t&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.B22.DE17&amp;Ccc.B22.DE18' &quot;code-CccobservationCccb22de17Cccb22de18t&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 -&gt;  tgt.status = 'final',  tgt.value = true &quot;e9d639e1&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de17Cccb22de18f(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-CccobservationCccb22de17Cccb22de18f&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.B22.DE17&amp;Ccc.B22.DE18' &quot;code-CccobservationCccb22de17Cccb22de18f&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 -&gt;  tgt.status = 'cancelled',  tgt.value = false &quot;f21d6e36&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de17Cccb22de19t(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-CccobservationCccb22de17Cccb22de19t&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.B22.DE17&amp;Ccc.B22.DE19' &quot;code-CccobservationCccb22de17Cccb22de19t&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 -&gt;  tgt.status = 'final',  tgt.value = true &quot;e9d639e1&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de17Cccb22de19f(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-CccobservationCccb22de17Cccb22de19f&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.B22.DE17&amp;Ccc.B22.DE19' &quot;code-CccobservationCccb22de17Cccb22de19f&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 -&gt;  tgt.status = 'cancelled',  tgt.value = false &quot;f21d6e36&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de17Cccb22de20t(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-CccobservationCccb22de17Cccb22de20t&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.B22.DE17&amp;Ccc.B22.DE20' &quot;code-CccobservationCccb22de17Cccb22de20t&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 -&gt;  tgt.status = 'final',  tgt.value = true &quot;e9d639e1&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de17Cccb22de20f(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-CccobservationCccb22de17Cccb22de20f&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.B22.DE17&amp;Ccc.B22.DE20' &quot;code-CccobservationCccb22de17Cccb22de20f&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 -&gt;  tgt.status = 'cancelled',  tgt.value = false &quot;f21d6e36&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de17Cccb22de21t(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-CccobservationCccb22de17Cccb22de21t&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.B22.DE17&amp;Ccc.B22.DE21' &quot;code-CccobservationCccb22de17Cccb22de21t&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 -&gt;  tgt.status = 'final',  tgt.value = true &quot;e9d639e1&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de17Cccb22de21f(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-CccobservationCccb22de17Cccb22de21f&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.B22.DE17&amp;Ccc.B22.DE21' &quot;code-CccobservationCccb22de17Cccb22de21f&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 -&gt;  tgt.status = 'cancelled',  tgt.value = false &quot;f21d6e36&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de17Cccb22de22t(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-CccobservationCccb22de17Cccb22de22t&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.B22.DE17&amp;Ccc.B22.DE22' &quot;code-CccobservationCccb22de17Cccb22de22t&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 -&gt;  tgt.status = 'final',  tgt.value = true &quot;e9d639e1&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de17Cccb22de22f(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-CccobservationCccb22de17Cccb22de22f&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.B22.DE17&amp;Ccc.B22.DE22' &quot;code-CccobservationCccb22de17Cccb22de22f&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 -&gt;  tgt.status = 'cancelled',  tgt.value = false &quot;f21d6e36&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de22(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-Cccb22de22&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.B22.DE22' &quot;code-Cccb22de22&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 = 'Ccc.B22.BronchodilatorTest' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE22') 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;3e1d6082&quot;;\r\n  } &quot;e1414539&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de21(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-Cccb22de21&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.B22.DE21' &quot;code-Cccb22de21&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 = 'Ccc.B22.BronchodilatorTest' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE21') 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-Cccb22de21&quot;;\r\n        a where a.value = false -&gt;  tgt.status = 'cancelled',  tgt.value = false &quot;notfound-Cccb22de21&quot;;\r\n      } &quot;bdab9370&quot;;\r\n    } &quot;36586abf&quot;;\r\n  } &quot;a412e00a&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de41(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-Cccb22de41&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.B22.DE41' &quot;code-Cccb22de41&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 = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE41') 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;6df944ed&quot;;\r\n  } &quot;d888a973&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de28(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-Cccb22de28&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.B22.DE28' &quot;code-Cccb22de28&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 = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE28') 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-Cccb22de28&quot;;\r\n        a where a.value = false -&gt;  tgt.status = 'cancelled',  tgt.value = false &quot;notfound-Cccb22de28&quot;;\r\n      } &quot;bdab9370&quot;;\r\n    } &quot;58c52233&quot;;\r\n  } &quot;aad3db2c&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de29(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-Cccb22de29&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.B22.DE29' &quot;code-Cccb22de29&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 = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE29') 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-Cccb22de29&quot;;\r\n        a where a.value = false -&gt;  tgt.status = 'cancelled',  tgt.value = false &quot;notfound-Cccb22de29&quot;;\r\n      } &quot;bdab9370&quot;;\r\n    } &quot;95a367de&quot;;\r\n  } &quot;960d28f0&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de30(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-Cccb22de30&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.B22.DE30' &quot;code-Cccb22de30&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 = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE30') 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-Cccb22de30&quot;;\r\n        a where a.value = false -&gt;  tgt.status = 'cancelled',  tgt.value = false &quot;notfound-Cccb22de30&quot;;\r\n      } &quot;bdab9370&quot;;\r\n    } &quot;c3834bca&quot;;\r\n  } &quot;3b102368&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de31(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-Cccb22de31&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.B22.DE31' &quot;code-Cccb22de31&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 = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE31') 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-Cccb22de31&quot;;\r\n        a where a.value = false -&gt;  tgt.status = 'cancelled',  tgt.value = false &quot;notfound-Cccb22de31&quot;;\r\n      } &quot;bdab9370&quot;;\r\n    } &quot;bb8ba529&quot;;\r\n  } &quot;9e9be797&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de32(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-Cccb22de32&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.B22.DE32' &quot;code-Cccb22de32&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 = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE32') 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-Cccb22de32&quot;;\r\n        a where a.value = false -&gt;  tgt.status = 'cancelled',  tgt.value = false &quot;notfound-Cccb22de32&quot;;\r\n      } &quot;bdab9370&quot;;\r\n    } &quot;4adca3b8&quot;;\r\n  } &quot;59b588e0&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de33(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-Cccb22de33&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.B22.DE33' &quot;code-Cccb22de33&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 = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE33') 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-Cccb22de33&quot;;\r\n        a where a.value = false -&gt;  tgt.status = 'cancelled',  tgt.value = false &quot;notfound-Cccb22de33&quot;;\r\n      } &quot;bdab9370&quot;;\r\n    } &quot;ba6b3c81&quot;;\r\n  } &quot;56745630&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de34(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-Cccb22de34&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.B22.DE34' &quot;code-Cccb22de34&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 = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE34') 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-Cccb22de34&quot;;\r\n        a where a.value = false -&gt;  tgt.status = 'cancelled',  tgt.value = false &quot;notfound-Cccb22de34&quot;;\r\n      } &quot;bdab9370&quot;;\r\n    } &quot;a958300a&quot;;\r\n  } &quot;f384d1b9&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de35(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-Cccb22de35&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.B22.DE35' &quot;code-Cccb22de35&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 = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE35') 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-Cccb22de35&quot;;\r\n        a where a.value = false -&gt;  tgt.status = 'cancelled',  tgt.value = false &quot;notfound-Cccb22de35&quot;;\r\n      } &quot;bdab9370&quot;;\r\n    } &quot;9412283c&quot;;\r\n  } &quot;5ed5ea0e&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de36(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-CccobservationCccb22de36&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.B22.DE36' &quot;code-CccobservationCccb22de36&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 = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE36') and answer.exists() then {\r\n      item.answer first as a then {\r\n        a where value = 'Not well Attached to Breast', a.value as val then {\r\n          val -&gt;  tgt.value = create('CodeableConcept') as cc,  cc.coding = create('Coding') as c,  c.code = Ccc.B22.DE37,  c.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  tgt.status = 'final' &quot;71afb672&quot;;\r\n        } &quot;a53091ee&quot;;\r\n        a where value = 'Good Attachment', a.value as val then {\r\n          val -&gt;  tgt.value = create('CodeableConcept') as cc,  cc.coding = create('Coding') as c,  c.code = Ccc.B22.DE38,  c.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  tgt.status = 'final' &quot;3053aa3e&quot;;\r\n        } &quot;239a32e6&quot;;\r\n        a where value = 'Not Sucking Effectively', a.value as val then {\r\n          val -&gt;  tgt.value = create('CodeableConcept') as cc,  cc.coding = create('Coding') as c,  c.code = Ccc.B22.DE39,  c.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  tgt.status = 'final' &quot;0e60e5cc&quot;;\r\n        } &quot;ae925fc5&quot;;\r\n        a where value = 'Sucking Effectively', a.value as val then {\r\n          val -&gt;  tgt.value = create('CodeableConcept') as cc,  cc.coding = create('Coding') as c,  c.code = Ccc.B22.DE40,  c.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  tgt.status = 'final' &quot;5eeaf122&quot;;\r\n        } &quot;714e8fb5&quot;;\r\n      } &quot;bd419d51&quot;;\r\n    } &quot;713debc5&quot;;\r\n  } &quot;b4145e76&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de42(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-Cccb22de42&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.B22.DE42' &quot;code-Cccb22de42&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 = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE42') 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-Cccb22de42&quot;;\r\n        a where a.value = false -&gt;  tgt.status = 'cancelled',  tgt.value = false &quot;notfound-Cccb22de42&quot;;\r\n      } &quot;bdab9370&quot;;\r\n    } &quot;3dcc04b3&quot;;\r\n  } &quot;0d852c2e&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de44(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-Cccb22de44&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.B22.DE44' &quot;code-Cccb22de44&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 = 'Ccc.B22.BreastFeeding' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE44') 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-Cccb22de44&quot;;\r\n        a where a.value = false -&gt;  tgt.status = 'cancelled',  tgt.value = false &quot;notfound-Cccb22de44&quot;;\r\n      } &quot;bdab9370&quot;;\r\n    } &quot;d4bad53b&quot;;\r\n  } &quot;fbdc7921&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de81(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-Cccb22de81&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.B22.DE81' &quot;code-Cccb22de81&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 = 'Ccc.B22.Hemoglobin' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE81') 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;185ffa99&quot;;\r\n  } &quot;44836ba1&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de82(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-Cccb22de82&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.B22.DE82' &quot;code-Cccb22de82&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 = 'Ccc.B22.Hemoglobin' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE82') 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;29107a72&quot;;\r\n  } &quot;7485a680&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de47(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-Cccb22de47&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.B22.DE47' &quot;code-Cccb22de47&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 = 'Ccc.B22.SecondTemperature' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE47') 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;10fc9c80&quot;;\r\n  } &quot;932aad6b&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de46(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-Cccb22de46&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.B22.DE46' &quot;code-Cccb22de46&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 = 'Ccc.B22.SecondTemperature' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE46') 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;b66a0bcd&quot;;\r\n  } &quot;b937d546&quot;;\r\n}\r\n\r\ngroup CccobservationCccb22de50(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-Cccb22de50&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.B22.DE50' &quot;code-Cccb22de50&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 = 'Ccc.B22.SecondTemperature' then {\r\n    itm1.item first as item where (linkId = 'Ccc.B22.DE50') 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;336c73e3&quot;;\r\n  } &quot;3bf9ecd0&quot;;\r\n}\r\n\r\n</pre></div>"
      },
      "url" : "https://smart.who.int/ccc/StructureMap/Ccc.b22.assessmentstests",
      "version" : "0.1.0",
      "name" : "Ccc.b22.assessmentstests",
      "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" : "88bb5c43",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.RespiratoryRate'"
                }
              ],
              "rule" : [
                {
                  "name" : "1c5108b8",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE01') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "44017cb3",
                      "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" : "cafa1f90",
                          "source" : [
                            {
                              "context" : "src"
                            }
                          ],
                          "target" : [
                            {
                              "context" : "entry",
                              "contextType" : "variable",
                              "element" : "resource",
                              "variable" : "tgt",
                              "transform" : "create",
                              "parameter" : [
                                {
                                  "valueString" : "Observation"
                                }
                              ]
                            }
                          ],
                          "rule" : [
                            {
                              "name" : "94788d70",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "contextType" : "variable",
                                  "transform" : "copy",
                                  "parameter" : [
                                    {
                                      "valueId" : "tgt"
                                    }
                                  ]
                                }
                              ],
                              "dependent" : [
                                {
                                  "name" : "CccobservationCccb22de01",
                                  "variable" : [
                                    "src",
                                    "tgt"
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "c7e0dbc2",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.RespiratoryRate'"
                }
              ],
              "rule" : [
                {
                  "name" : "85d3c3a3",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE02') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "815e425c",
                      "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" : "60b301de",
                          "source" : [
                            {
                              "context" : "src"
                            }
                          ],
                          "target" : [
                            {
                              "context" : "entry",
                              "contextType" : "variable",
                              "element" : "resource",
                              "variable" : "tgt",
                              "transform" : "create",
                              "parameter" : [
                                {
                                  "valueString" : "Observation"
                                }
                              ]
                            }
                          ],
                          "rule" : [
                            {
                              "name" : "c3e885af",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "contextType" : "variable",
                                  "transform" : "copy",
                                  "parameter" : [
                                    {
                                      "valueId" : "tgt"
                                    }
                                  ]
                                }
                              ],
                              "dependent" : [
                                {
                                  "name" : "CccobservationCccb22de02",
                                  "variable" : [
                                    "src",
                                    "tgt"
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "318dfe75",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.RespiratoryRate'"
                }
              ],
              "rule" : [
                {
                  "name" : "3b2e9629",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "itm2",
                      "condition" : "linkId = 'second'"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "ad5094ed",
                      "source" : [
                        {
                          "context" : "itm2",
                          "element" : "item",
                          "listMode" : "first",
                          "variable" : "item",
                          "condition" : "(linkId = 'Ccc.B22.DE04') and answer.exists()"
                        }
                      ],
                      "rule" : [
                        {
                          "name" : "c7431f4f",
                          "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" : "b802d4a2",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "context" : "entry",
                                  "contextType" : "variable",
                                  "element" : "resource",
                                  "variable" : "tgt",
                                  "transform" : "create",
                                  "parameter" : [
                                    {
                                      "valueString" : "Observation"
                                    }
                                  ]
                                }
                              ],
                              "rule" : [
                                {
                                  "name" : "42ed4c3a",
                                  "source" : [
                                    {
                                      "context" : "src"
                                    }
                                  ],
                                  "target" : [
                                    {
                                      "contextType" : "variable",
                                      "transform" : "copy",
                                      "parameter" : [
                                        {
                                          "valueId" : "tgt"
                                        }
                                      ]
                                    }
                                  ],
                                  "dependent" : [
                                    {
                                      "name" : "CccobservationCccb22de04",
                                      "variable" : [
                                        "src",
                                        "tgt"
                                      ]
                                    }
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "c21c2c7c",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.RespiratoryRate'"
                }
              ],
              "rule" : [
                {
                  "name" : "9853d168",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "itm2",
                      "condition" : "linkId = 'second'"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "d9d928a7",
                      "source" : [
                        {
                          "context" : "itm2",
                          "element" : "item",
                          "listMode" : "first",
                          "variable" : "item",
                          "condition" : "(linkId = 'Ccc.B22.DE05') and answer.exists()"
                        }
                      ],
                      "rule" : [
                        {
                          "name" : "61b1a5c6",
                          "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" : "b7585bc2",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "context" : "entry",
                                  "contextType" : "variable",
                                  "element" : "resource",
                                  "variable" : "tgt",
                                  "transform" : "create",
                                  "parameter" : [
                                    {
                                      "valueString" : "Observation"
                                    }
                                  ]
                                }
                              ],
                              "rule" : [
                                {
                                  "name" : "3be4cd34",
                                  "source" : [
                                    {
                                      "context" : "src"
                                    }
                                  ],
                                  "target" : [
                                    {
                                      "contextType" : "variable",
                                      "transform" : "copy",
                                      "parameter" : [
                                        {
                                          "valueId" : "tgt"
                                        }
                                      ]
                                    }
                                  ],
                                  "dependent" : [
                                    {
                                      "name" : "CccobservationCccb22de05",
                                      "variable" : [
                                        "src",
                                        "tgt"
                                      ]
                                    }
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "7ef76f25",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.RespiratoryRate'"
                }
              ],
              "rule" : [
                {
                  "name" : "a2eebe03",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE07') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "8267defb",
                      "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" : "aad75965",
                          "source" : [
                            {
                              "context" : "src"
                            }
                          ],
                          "target" : [
                            {
                              "context" : "entry",
                              "contextType" : "variable",
                              "element" : "resource",
                              "variable" : "tgt",
                              "transform" : "create",
                              "parameter" : [
                                {
                                  "valueString" : "Observation"
                                }
                              ]
                            }
                          ],
                          "rule" : [
                            {
                              "name" : "fa30cee1",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "contextType" : "variable",
                                  "transform" : "copy",
                                  "parameter" : [
                                    {
                                      "valueId" : "tgt"
                                    }
                                  ]
                                }
                              ],
                              "dependent" : [
                                {
                                  "name" : "CccobservationCccb22de07",
                                  "variable" : [
                                    "src",
                                    "tgt"
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "38d251fb",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.FluidTest'"
                }
              ],
              "rule" : [
                {
                  "name" : "1b0282c4",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE08') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "09eb3e1a",
                      "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" : "bd8403a6",
                          "source" : [
                            {
                              "context" : "src"
                            }
                          ],
                          "target" : [
                            {
                              "context" : "entry",
                              "contextType" : "variable",
                              "element" : "resource",
                              "variable" : "tgt",
                              "transform" : "create",
                              "parameter" : [
                                {
                                  "valueString" : "Observation"
                                }
                              ]
                            }
                          ],
                          "rule" : [
                            {
                              "name" : "d34db40c",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "contextType" : "variable",
                                  "transform" : "copy",
                                  "parameter" : [
                                    {
                                      "valueId" : "tgt"
                                    }
                                  ]
                                }
                              ],
                              "dependent" : [
                                {
                                  "name" : "CccobservationCccb22de08",
                                  "variable" : [
                                    "src",
                                    "tgt"
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "83edc111",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.FluidTest'"
                }
              ],
              "rule" : [
                {
                  "name" : "b29de87e",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE14') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "1eb502ac",
                      "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" : "2cba61ee",
                          "source" : [
                            {
                              "context" : "src"
                            }
                          ],
                          "target" : [
                            {
                              "context" : "entry",
                              "contextType" : "variable",
                              "element" : "resource",
                              "variable" : "tgt",
                              "transform" : "create",
                              "parameter" : [
                                {
                                  "valueString" : "Observation"
                                }
                              ]
                            }
                          ],
                          "rule" : [
                            {
                              "name" : "128f555c",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "contextType" : "variable",
                                  "transform" : "copy",
                                  "parameter" : [
                                    {
                                      "valueId" : "tgt"
                                    }
                                  ]
                                }
                              ],
                              "dependent" : [
                                {
                                  "name" : "CccobservationCccb22de14",
                                  "variable" : [
                                    "src",
                                    "tgt"
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "e265d4b9",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.FluidTest'"
                }
              ],
              "rule" : [
                {
                  "name" : "37f27338",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE14a') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "64f82f5e",
                      "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" : "17f1508c",
                          "source" : [
                            {
                              "context" : "src"
                            }
                          ],
                          "target" : [
                            {
                              "context" : "entry",
                              "contextType" : "variable",
                              "element" : "resource",
                              "variable" : "tgt",
                              "transform" : "create",
                              "parameter" : [
                                {
                                  "valueString" : "Observation"
                                }
                              ]
                            }
                          ],
                          "rule" : [
                            {
                              "name" : "7b46291c",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "contextType" : "variable",
                                  "transform" : "copy",
                                  "parameter" : [
                                    {
                                      "valueId" : "tgt"
                                    }
                                  ]
                                }
                              ],
                              "dependent" : [
                                {
                                  "name" : "CccobservationCccb22de14a",
                                  "variable" : [
                                    "src",
                                    "tgt"
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "5149a74c",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.FluidTest'"
                }
              ],
              "rule" : [
                {
                  "name" : "fe87fcb7",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE15') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "7ffa5829",
                      "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" : "49095bbf",
                          "source" : [
                            {
                              "context" : "src"
                            }
                          ],
                          "target" : [
                            {
                              "context" : "entry",
                              "contextType" : "variable",
                              "element" : "resource",
                              "variable" : "tgt",
                              "transform" : "create",
                              "parameter" : [
                                {
                                  "valueString" : "Observation"
                                }
                              ]
                            }
                          ],
                          "rule" : [
                            {
                              "name" : "0d25d61c",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "contextType" : "variable",
                                  "transform" : "copy",
                                  "parameter" : [
                                    {
                                      "valueId" : "tgt"
                                    }
                                  ]
                                }
                              ],
                              "dependent" : [
                                {
                                  "name" : "CccobservationCccb22de15",
                                  "variable" : [
                                    "src",
                                    "tgt"
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "5b507a5c",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.FluidTest'"
                }
              ],
              "rule" : [
                {
                  "name" : "e18b8f07",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE16') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "f53bf22c",
                      "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" : "f426fdde",
                          "source" : [
                            {
                              "context" : "src"
                            }
                          ],
                          "target" : [
                            {
                              "context" : "entry",
                              "contextType" : "variable",
                              "element" : "resource",
                              "variable" : "tgt",
                              "transform" : "create",
                              "parameter" : [
                                {
                                  "valueString" : "Observation"
                                }
                              ]
                            }
                          ],
                          "rule" : [
                            {
                              "name" : "2bef72fa",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "contextType" : "variable",
                                  "transform" : "copy",
                                  "parameter" : [
                                    {
                                      "valueId" : "tgt"
                                    }
                                  ]
                                }
                              ],
                              "dependent" : [
                                {
                                  "name" : "CccobservationCccb22de16",
                                  "variable" : [
                                    "src",
                                    "tgt"
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "ea50860d",
              "source" : [
                {
                  "context" : "src",
                  "condition" : "src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE18')"
                }
              ],
              "rule" : [
                {
                  "name" : "a5dcb8ca",
                  "source" : [
                    {
                      "context" : "src",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "itm1",
                      "condition" : "linkId = 'Ccc.B22.BronchodilatorTest'"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "34815add",
                      "source" : [
                        {
                          "context" : "itm1",
                          "element" : "item",
                          "listMode" : "first",
                          "variable" : "item",
                          "condition" : "(linkId = 'Ccc.B22.DE17') and answer.exists()"
                        }
                      ],
                      "rule" : [
                        {
                          "name" : "8c5fbec1",
                          "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" : "a29f448d",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "context" : "entry",
                                  "contextType" : "variable",
                                  "element" : "resource",
                                  "variable" : "tgt",
                                  "transform" : "create",
                                  "parameter" : [
                                    {
                                      "valueString" : "Observation"
                                    }
                                  ]
                                }
                              ],
                              "rule" : [
                                {
                                  "name" : "4b4e3882",
                                  "source" : [
                                    {
                                      "context" : "src"
                                    }
                                  ],
                                  "dependent" : [
                                    {
                                      "name" : "CccobservationCccb22de17Cccb22de18t",
                                      "variable" : [
                                        "src",
                                        "tgt"
                                      ]
                                    }
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "b2efd7b0",
              "source" : [
                {
                  "context" : "src",
                  "condition" : "src.item.where(linkId = 'Ccc.B22.DE17').exists() and src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE18').empty()"
                }
              ],
              "rule" : [
                {
                  "name" : "b43560b2",
                  "source" : [
                    {
                      "context" : "src",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "itm1",
                      "condition" : "linkId = 'Ccc.B22.BronchodilatorTest'"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "05305e3f",
                      "source" : [
                        {
                          "context" : "itm1",
                          "element" : "item",
                          "listMode" : "first",
                          "variable" : "item",
                          "condition" : "(linkId = 'Ccc.B22.DE17') and answer.exists()"
                        }
                      ],
                      "rule" : [
                        {
                          "name" : "c329f1a7",
                          "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" : "e477bbcc",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "context" : "entry",
                                  "contextType" : "variable",
                                  "element" : "resource",
                                  "variable" : "tgt",
                                  "transform" : "create",
                                  "parameter" : [
                                    {
                                      "valueString" : "Observation"
                                    }
                                  ]
                                }
                              ],
                              "rule" : [
                                {
                                  "name" : "4fd23ec4",
                                  "source" : [
                                    {
                                      "context" : "src"
                                    }
                                  ],
                                  "dependent" : [
                                    {
                                      "name" : "CccobservationCccb22de17Cccb22de18f",
                                      "variable" : [
                                        "src",
                                        "tgt"
                                      ]
                                    }
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "bb829570",
              "source" : [
                {
                  "context" : "src",
                  "condition" : "src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE19')"
                }
              ],
              "rule" : [
                {
                  "name" : "427a7e63",
                  "source" : [
                    {
                      "context" : "src",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "itm1",
                      "condition" : "linkId = 'Ccc.B22.BronchodilatorTest'"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "b4d55b8a",
                      "source" : [
                        {
                          "context" : "itm1",
                          "element" : "item",
                          "listMode" : "first",
                          "variable" : "item",
                          "condition" : "(linkId = 'Ccc.B22.DE17') and answer.exists()"
                        }
                      ],
                      "rule" : [
                        {
                          "name" : "d659dd64",
                          "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" : "25d864fa",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "context" : "entry",
                                  "contextType" : "variable",
                                  "element" : "resource",
                                  "variable" : "tgt",
                                  "transform" : "create",
                                  "parameter" : [
                                    {
                                      "valueString" : "Observation"
                                    }
                                  ]
                                }
                              ],
                              "rule" : [
                                {
                                  "name" : "832556c2",
                                  "source" : [
                                    {
                                      "context" : "src"
                                    }
                                  ],
                                  "dependent" : [
                                    {
                                      "name" : "CccobservationCccb22de17Cccb22de19t",
                                      "variable" : [
                                        "src",
                                        "tgt"
                                      ]
                                    }
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "65731df1",
              "source" : [
                {
                  "context" : "src",
                  "condition" : "src.item.where(linkId = 'Ccc.B22.DE17').exists() and src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE19').empty()"
                }
              ],
              "rule" : [
                {
                  "name" : "b50887e7",
                  "source" : [
                    {
                      "context" : "src",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "itm1",
                      "condition" : "linkId = 'Ccc.B22.BronchodilatorTest'"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "f627de60",
                      "source" : [
                        {
                          "context" : "itm1",
                          "element" : "item",
                          "listMode" : "first",
                          "variable" : "item",
                          "condition" : "(linkId = 'Ccc.B22.DE17') and answer.exists()"
                        }
                      ],
                      "rule" : [
                        {
                          "name" : "7cf5a310",
                          "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" : "4d341549",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "context" : "entry",
                                  "contextType" : "variable",
                                  "element" : "resource",
                                  "variable" : "tgt",
                                  "transform" : "create",
                                  "parameter" : [
                                    {
                                      "valueString" : "Observation"
                                    }
                                  ]
                                }
                              ],
                              "rule" : [
                                {
                                  "name" : "917126ea",
                                  "source" : [
                                    {
                                      "context" : "src"
                                    }
                                  ],
                                  "dependent" : [
                                    {
                                      "name" : "CccobservationCccb22de17Cccb22de19f",
                                      "variable" : [
                                        "src",
                                        "tgt"
                                      ]
                                    }
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "720e8bc9",
              "source" : [
                {
                  "context" : "src",
                  "condition" : "src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE20')"
                }
              ],
              "rule" : [
                {
                  "name" : "663fb49d",
                  "source" : [
                    {
                      "context" : "src",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "itm1",
                      "condition" : "linkId = 'Ccc.B22.BronchodilatorTest'"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "43435fc6",
                      "source" : [
                        {
                          "context" : "itm1",
                          "element" : "item",
                          "listMode" : "first",
                          "variable" : "item",
                          "condition" : "(linkId = 'Ccc.B22.DE17') and answer.exists()"
                        }
                      ],
                      "rule" : [
                        {
                          "name" : "d67193a2",
                          "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" : "1e80b046",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "context" : "entry",
                                  "contextType" : "variable",
                                  "element" : "resource",
                                  "variable" : "tgt",
                                  "transform" : "create",
                                  "parameter" : [
                                    {
                                      "valueString" : "Observation"
                                    }
                                  ]
                                }
                              ],
                              "rule" : [
                                {
                                  "name" : "178da581",
                                  "source" : [
                                    {
                                      "context" : "src"
                                    }
                                  ],
                                  "dependent" : [
                                    {
                                      "name" : "CccobservationCccb22de17Cccb22de20t",
                                      "variable" : [
                                        "src",
                                        "tgt"
                                      ]
                                    }
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "ddaf5ab3",
              "source" : [
                {
                  "context" : "src",
                  "condition" : "src.item.where(linkId = 'Ccc.B22.DE17').exists() and src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE20').empty()"
                }
              ],
              "rule" : [
                {
                  "name" : "16556d1c",
                  "source" : [
                    {
                      "context" : "src",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "itm1",
                      "condition" : "linkId = 'Ccc.B22.BronchodilatorTest'"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "6a7e0a13",
                      "source" : [
                        {
                          "context" : "itm1",
                          "element" : "item",
                          "listMode" : "first",
                          "variable" : "item",
                          "condition" : "(linkId = 'Ccc.B22.DE17') and answer.exists()"
                        }
                      ],
                      "rule" : [
                        {
                          "name" : "25416983",
                          "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" : "30a84474",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "context" : "entry",
                                  "contextType" : "variable",
                                  "element" : "resource",
                                  "variable" : "tgt",
                                  "transform" : "create",
                                  "parameter" : [
                                    {
                                      "valueString" : "Observation"
                                    }
                                  ]
                                }
                              ],
                              "rule" : [
                                {
                                  "name" : "4fa88d49",
                                  "source" : [
                                    {
                                      "context" : "src"
                                    }
                                  ],
                                  "dependent" : [
                                    {
                                      "name" : "CccobservationCccb22de17Cccb22de20f",
                                      "variable" : [
                                        "src",
                                        "tgt"
                                      ]
                                    }
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "c28d7273",
              "source" : [
                {
                  "context" : "src",
                  "condition" : "src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE21')"
                }
              ],
              "rule" : [
                {
                  "name" : "9c9cb9cf",
                  "source" : [
                    {
                      "context" : "src",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "itm1",
                      "condition" : "linkId = 'Ccc.B22.BronchodilatorTest'"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "32b27262",
                      "source" : [
                        {
                          "context" : "itm1",
                          "element" : "item",
                          "listMode" : "first",
                          "variable" : "item",
                          "condition" : "(linkId = 'Ccc.B22.DE17') and answer.exists()"
                        }
                      ],
                      "rule" : [
                        {
                          "name" : "b0fa129e",
                          "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" : "0bf9d78c",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "context" : "entry",
                                  "contextType" : "variable",
                                  "element" : "resource",
                                  "variable" : "tgt",
                                  "transform" : "create",
                                  "parameter" : [
                                    {
                                      "valueString" : "Observation"
                                    }
                                  ]
                                }
                              ],
                              "rule" : [
                                {
                                  "name" : "628bfa1d",
                                  "source" : [
                                    {
                                      "context" : "src"
                                    }
                                  ],
                                  "dependent" : [
                                    {
                                      "name" : "CccobservationCccb22de17Cccb22de21t",
                                      "variable" : [
                                        "src",
                                        "tgt"
                                      ]
                                    }
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "00b8d186",
              "source" : [
                {
                  "context" : "src",
                  "condition" : "src.item.where(linkId = 'Ccc.B22.DE17').exists() and src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE21').empty()"
                }
              ],
              "rule" : [
                {
                  "name" : "a57951b9",
                  "source" : [
                    {
                      "context" : "src",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "itm1",
                      "condition" : "linkId = 'Ccc.B22.BronchodilatorTest'"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "db19cd6e",
                      "source" : [
                        {
                          "context" : "itm1",
                          "element" : "item",
                          "listMode" : "first",
                          "variable" : "item",
                          "condition" : "(linkId = 'Ccc.B22.DE17') and answer.exists()"
                        }
                      ],
                      "rule" : [
                        {
                          "name" : "954bbaec",
                          "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" : "65279195",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "context" : "entry",
                                  "contextType" : "variable",
                                  "element" : "resource",
                                  "variable" : "tgt",
                                  "transform" : "create",
                                  "parameter" : [
                                    {
                                      "valueString" : "Observation"
                                    }
                                  ]
                                }
                              ],
                              "rule" : [
                                {
                                  "name" : "f42ef3e7",
                                  "source" : [
                                    {
                                      "context" : "src"
                                    }
                                  ],
                                  "dependent" : [
                                    {
                                      "name" : "CccobservationCccb22de17Cccb22de21f",
                                      "variable" : [
                                        "src",
                                        "tgt"
                                      ]
                                    }
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "6bf6c194",
              "source" : [
                {
                  "context" : "src",
                  "condition" : "src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE22')"
                }
              ],
              "rule" : [
                {
                  "name" : "a057c365",
                  "source" : [
                    {
                      "context" : "src",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "itm1",
                      "condition" : "linkId = 'Ccc.B22.BronchodilatorTest'"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "b7ccc20a",
                      "source" : [
                        {
                          "context" : "itm1",
                          "element" : "item",
                          "listMode" : "first",
                          "variable" : "item",
                          "condition" : "(linkId = 'Ccc.B22.DE17') and answer.exists()"
                        }
                      ],
                      "rule" : [
                        {
                          "name" : "f3d4e5ff",
                          "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" : "cea3f121",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "context" : "entry",
                                  "contextType" : "variable",
                                  "element" : "resource",
                                  "variable" : "tgt",
                                  "transform" : "create",
                                  "parameter" : [
                                    {
                                      "valueString" : "Observation"
                                    }
                                  ]
                                }
                              ],
                              "rule" : [
                                {
                                  "name" : "a1caf2e7",
                                  "source" : [
                                    {
                                      "context" : "src"
                                    }
                                  ],
                                  "dependent" : [
                                    {
                                      "name" : "CccobservationCccb22de17Cccb22de22t",
                                      "variable" : [
                                        "src",
                                        "tgt"
                                      ]
                                    }
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "0a2cfb8c",
              "source" : [
                {
                  "context" : "src",
                  "condition" : "src.item.where(linkId = 'Ccc.B22.DE17').exists() and src.item.where(linkId = 'Ccc.B22.DE17').answer.where(value.code = 'Ccc.B22.DE22').empty()"
                }
              ],
              "rule" : [
                {
                  "name" : "141fcb13",
                  "source" : [
                    {
                      "context" : "src",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "itm1",
                      "condition" : "linkId = 'Ccc.B22.BronchodilatorTest'"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "708ba8cc",
                      "source" : [
                        {
                          "context" : "itm1",
                          "element" : "item",
                          "listMode" : "first",
                          "variable" : "item",
                          "condition" : "(linkId = 'Ccc.B22.DE17') and answer.exists()"
                        }
                      ],
                      "rule" : [
                        {
                          "name" : "0fd648ea",
                          "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" : "a7736492",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "context" : "entry",
                                  "contextType" : "variable",
                                  "element" : "resource",
                                  "variable" : "tgt",
                                  "transform" : "create",
                                  "parameter" : [
                                    {
                                      "valueString" : "Observation"
                                    }
                                  ]
                                }
                              ],
                              "rule" : [
                                {
                                  "name" : "df402cb9",
                                  "source" : [
                                    {
                                      "context" : "src"
                                    }
                                  ],
                                  "dependent" : [
                                    {
                                      "name" : "CccobservationCccb22de17Cccb22de22f",
                                      "variable" : [
                                        "src",
                                        "tgt"
                                      ]
                                    }
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "ff982ab4",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.BronchodilatorTest'"
                }
              ],
              "rule" : [
                {
                  "name" : "f6b5295e",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE22') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "88ceffcd",
                      "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" : "109bcf94",
                          "source" : [
                            {
                              "context" : "src"
                            }
                          ],
                          "target" : [
                            {
                              "context" : "entry",
                              "contextType" : "variable",
                              "element" : "resource",
                              "variable" : "tgt",
                              "transform" : "create",
                              "parameter" : [
                                {
                                  "valueString" : "Observation"
                                }
                              ]
                            }
                          ],
                          "rule" : [
                            {
                              "name" : "b9010fac",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "contextType" : "variable",
                                  "transform" : "copy",
                                  "parameter" : [
                                    {
                                      "valueId" : "tgt"
                                    }
                                  ]
                                }
                              ],
                              "dependent" : [
                                {
                                  "name" : "CccobservationCccb22de22",
                                  "variable" : [
                                    "src",
                                    "tgt"
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "dbbe5168",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.BronchodilatorTest'"
                }
              ],
              "rule" : [
                {
                  "name" : "08d4fa9d",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE21') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "2bc763d0",
                      "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" : "ec6cbc70",
                          "source" : [
                            {
                              "context" : "src"
                            }
                          ],
                          "target" : [
                            {
                              "context" : "entry",
                              "contextType" : "variable",
                              "element" : "resource",
                              "variable" : "tgt",
                              "transform" : "create",
                              "parameter" : [
                                {
                                  "valueString" : "Observation"
                                }
                              ]
                            }
                          ],
                          "rule" : [
                            {
                              "name" : "7c45409d",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "contextType" : "variable",
                                  "transform" : "copy",
                                  "parameter" : [
                                    {
                                      "valueId" : "tgt"
                                    }
                                  ]
                                }
                              ],
                              "dependent" : [
                                {
                                  "name" : "CccobservationCccb22de21",
                                  "variable" : [
                                    "src",
                                    "tgt"
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "e0648fb3",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.BreastFeeding'"
                }
              ],
              "rule" : [
                {
                  "name" : "95a734dc",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE41') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "9de4a229",
                      "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" : "765c240d",
                          "source" : [
                            {
                              "context" : "src"
                            }
                          ],
                          "target" : [
                            {
                              "context" : "entry",
                              "contextType" : "variable",
                              "element" : "resource",
                              "variable" : "tgt",
                              "transform" : "create",
                              "parameter" : [
                                {
                                  "valueString" : "Observation"
                                }
                              ]
                            }
                          ],
                          "rule" : [
                            {
                              "name" : "35802f20",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "contextType" : "variable",
                                  "transform" : "copy",
                                  "parameter" : [
                                    {
                                      "valueId" : "tgt"
                                    }
                                  ]
                                }
                              ],
                              "dependent" : [
                                {
                                  "name" : "CccobservationCccb22de41",
                                  "variable" : [
                                    "src",
                                    "tgt"
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "2eb0afb7",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.BreastFeeding'"
                }
              ],
              "rule" : [
                {
                  "name" : "72d43aa2",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE28') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "5cc117e5",
                      "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" : "72695e81",
                          "source" : [
                            {
                              "context" : "src"
                            }
                          ],
                          "target" : [
                            {
                              "context" : "entry",
                              "contextType" : "variable",
                              "element" : "resource",
                              "variable" : "tgt",
                              "transform" : "create",
                              "parameter" : [
                                {
                                  "valueString" : "Observation"
                                }
                              ]
                            }
                          ],
                          "rule" : [
                            {
                              "name" : "dd9106b0",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "contextType" : "variable",
                                  "transform" : "copy",
                                  "parameter" : [
                                    {
                                      "valueId" : "tgt"
                                    }
                                  ]
                                }
                              ],
                              "dependent" : [
                                {
                                  "name" : "CccobservationCccb22de28",
                                  "variable" : [
                                    "src",
                                    "tgt"
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "532862db",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.BreastFeeding'"
                }
              ],
              "rule" : [
                {
                  "name" : "c9435680",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE29') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "a568a312",
                      "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" : "64565ab8",
                          "source" : [
                            {
                              "context" : "src"
                            }
                          ],
                          "target" : [
                            {
                              "context" : "entry",
                              "contextType" : "variable",
                              "element" : "resource",
                              "variable" : "tgt",
                              "transform" : "create",
                              "parameter" : [
                                {
                                  "valueString" : "Observation"
                                }
                              ]
                            }
                          ],
                          "rule" : [
                            {
                              "name" : "0bd03bad",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "contextType" : "variable",
                                  "transform" : "copy",
                                  "parameter" : [
                                    {
                                      "valueId" : "tgt"
                                    }
                                  ]
                                }
                              ],
                              "dependent" : [
                                {
                                  "name" : "CccobservationCccb22de29",
                                  "variable" : [
                                    "src",
                                    "tgt"
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "d3925452",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.BreastFeeding'"
                }
              ],
              "rule" : [
                {
                  "name" : "58ef8f91",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE30') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "6aff1bf2",
                      "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" : "470a9773",
                          "source" : [
                            {
                              "context" : "src"
                            }
                          ],
                          "target" : [
                            {
                              "context" : "entry",
                              "contextType" : "variable",
                              "element" : "resource",
                              "variable" : "tgt",
                              "transform" : "create",
                              "parameter" : [
                                {
                                  "valueString" : "Observation"
                                }
                              ]
                            }
                          ],
                          "rule" : [
                            {
                              "name" : "a8dbbfa4",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "contextType" : "variable",
                                  "transform" : "copy",
                                  "parameter" : [
                                    {
                                      "valueId" : "tgt"
                                    }
                                  ]
                                }
                              ],
                              "dependent" : [
                                {
                                  "name" : "CccobservationCccb22de30",
                                  "variable" : [
                                    "src",
                                    "tgt"
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "800f010d",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.BreastFeeding'"
                }
              ],
              "rule" : [
                {
                  "name" : "adf0b112",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE31') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "47ecf4e4",
                      "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" : "bab0e868",
                          "source" : [
                            {
                              "context" : "src"
                            }
                          ],
                          "target" : [
                            {
                              "context" : "entry",
                              "contextType" : "variable",
                              "element" : "resource",
                              "variable" : "tgt",
                              "transform" : "create",
                              "parameter" : [
                                {
                                  "valueString" : "Observation"
                                }
                              ]
                            }
                          ],
                          "rule" : [
                            {
                              "name" : "3a858f1f",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "contextType" : "variable",
                                  "transform" : "copy",
                                  "parameter" : [
                                    {
                                      "valueId" : "tgt"
                                    }
                                  ]
                                }
                              ],
                              "dependent" : [
                                {
                                  "name" : "CccobservationCccb22de31",
                                  "variable" : [
                                    "src",
                                    "tgt"
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "41f81bdf",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.BreastFeeding'"
                }
              ],
              "rule" : [
                {
                  "name" : "07d1a84a",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE32') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "77934152",
                      "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" : "38fb811c",
                          "source" : [
                            {
                              "context" : "src"
                            }
                          ],
                          "target" : [
                            {
                              "context" : "entry",
                              "contextType" : "variable",
                              "element" : "resource",
                              "variable" : "tgt",
                              "transform" : "create",
                              "parameter" : [
                                {
                                  "valueString" : "Observation"
                                }
                              ]
                            }
                          ],
                          "rule" : [
                            {
                              "name" : "5537f1d1",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "contextType" : "variable",
                                  "transform" : "copy",
                                  "parameter" : [
                                    {
                                      "valueId" : "tgt"
                                    }
                                  ]
                                }
                              ],
                              "dependent" : [
                                {
                                  "name" : "CccobservationCccb22de32",
                                  "variable" : [
                                    "src",
                                    "tgt"
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "92c89def",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.BreastFeeding'"
                }
              ],
              "rule" : [
                {
                  "name" : "65ea8f25",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE33') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "b81929fc",
                      "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" : "e7981b54",
                          "source" : [
                            {
                              "context" : "src"
                            }
                          ],
                          "target" : [
                            {
                              "context" : "entry",
                              "contextType" : "variable",
                              "element" : "resource",
                              "variable" : "tgt",
                              "transform" : "create",
                              "parameter" : [
                                {
                                  "valueString" : "Observation"
                                }
                              ]
                            }
                          ],
                          "rule" : [
                            {
                              "name" : "b9ca07b3",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "contextType" : "variable",
                                  "transform" : "copy",
                                  "parameter" : [
                                    {
                                      "valueId" : "tgt"
                                    }
                                  ]
                                }
                              ],
                              "dependent" : [
                                {
                                  "name" : "CccobservationCccb22de33",
                                  "variable" : [
                                    "src",
                                    "tgt"
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "c95a75ed",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.BreastFeeding'"
                }
              ],
              "rule" : [
                {
                  "name" : "7a811ac1",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE34') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "9f5867b0",
                      "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" : "a60a44da",
                          "source" : [
                            {
                              "context" : "src"
                            }
                          ],
                          "target" : [
                            {
                              "context" : "entry",
                              "contextType" : "variable",
                              "element" : "resource",
                              "variable" : "tgt",
                              "transform" : "create",
                              "parameter" : [
                                {
                                  "valueString" : "Observation"
                                }
                              ]
                            }
                          ],
                          "rule" : [
                            {
                              "name" : "81a7b6a0",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "contextType" : "variable",
                                  "transform" : "copy",
                                  "parameter" : [
                                    {
                                      "valueId" : "tgt"
                                    }
                                  ]
                                }
                              ],
                              "dependent" : [
                                {
                                  "name" : "CccobservationCccb22de34",
                                  "variable" : [
                                    "src",
                                    "tgt"
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "4d431e35",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.BreastFeeding'"
                }
              ],
              "rule" : [
                {
                  "name" : "b3f8de08",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE35') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "6b8eb7c7",
                      "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" : "7976f991",
                          "source" : [
                            {
                              "context" : "src"
                            }
                          ],
                          "target" : [
                            {
                              "context" : "entry",
                              "contextType" : "variable",
                              "element" : "resource",
                              "variable" : "tgt",
                              "transform" : "create",
                              "parameter" : [
                                {
                                  "valueString" : "Observation"
                                }
                              ]
                            }
                          ],
                          "rule" : [
                            {
                              "name" : "99cdb2a9",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "contextType" : "variable",
                                  "transform" : "copy",
                                  "parameter" : [
                                    {
                                      "valueId" : "tgt"
                                    }
                                  ]
                                }
                              ],
                              "dependent" : [
                                {
                                  "name" : "CccobservationCccb22de35",
                                  "variable" : [
                                    "src",
                                    "tgt"
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "3cf7714c",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.BreastFeeding'"
                }
              ],
              "rule" : [
                {
                  "name" : "a45c350b",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE36') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "e67b8382",
                      "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" : "cec8e27b",
                          "source" : [
                            {
                              "context" : "src"
                            }
                          ],
                          "target" : [
                            {
                              "context" : "entry",
                              "contextType" : "variable",
                              "element" : "resource",
                              "variable" : "tgt",
                              "transform" : "create",
                              "parameter" : [
                                {
                                  "valueString" : "Observation"
                                }
                              ]
                            }
                          ],
                          "rule" : [
                            {
                              "name" : "5d275331",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "contextType" : "variable",
                                  "transform" : "copy",
                                  "parameter" : [
                                    {
                                      "valueId" : "tgt"
                                    }
                                  ]
                                }
                              ],
                              "dependent" : [
                                {
                                  "name" : "CccobservationCccb22de36",
                                  "variable" : [
                                    "src",
                                    "tgt"
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "840b2bb8",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.BreastFeeding'"
                }
              ],
              "rule" : [
                {
                  "name" : "d7b806aa",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE42') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "56a5bbd9",
                      "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" : "213a0dca",
                          "source" : [
                            {
                              "context" : "src"
                            }
                          ],
                          "target" : [
                            {
                              "context" : "entry",
                              "contextType" : "variable",
                              "element" : "resource",
                              "variable" : "tgt",
                              "transform" : "create",
                              "parameter" : [
                                {
                                  "valueString" : "Observation"
                                }
                              ]
                            }
                          ],
                          "rule" : [
                            {
                              "name" : "273b1a16",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "contextType" : "variable",
                                  "transform" : "copy",
                                  "parameter" : [
                                    {
                                      "valueId" : "tgt"
                                    }
                                  ]
                                }
                              ],
                              "dependent" : [
                                {
                                  "name" : "CccobservationCccb22de42",
                                  "variable" : [
                                    "src",
                                    "tgt"
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "3f3d258e",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.BreastFeeding'"
                }
              ],
              "rule" : [
                {
                  "name" : "f7138270",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE44') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "0e593cb2",
                      "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" : "70061b03",
                          "source" : [
                            {
                              "context" : "src"
                            }
                          ],
                          "target" : [
                            {
                              "context" : "entry",
                              "contextType" : "variable",
                              "element" : "resource",
                              "variable" : "tgt",
                              "transform" : "create",
                              "parameter" : [
                                {
                                  "valueString" : "Observation"
                                }
                              ]
                            }
                          ],
                          "rule" : [
                            {
                              "name" : "843d7b1e",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "contextType" : "variable",
                                  "transform" : "copy",
                                  "parameter" : [
                                    {
                                      "valueId" : "tgt"
                                    }
                                  ]
                                }
                              ],
                              "dependent" : [
                                {
                                  "name" : "CccobservationCccb22de44",
                                  "variable" : [
                                    "src",
                                    "tgt"
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "c39fe6fd",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.Hemoglobin'"
                }
              ],
              "rule" : [
                {
                  "name" : "12925695",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE81') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "00ff1e0b",
                      "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" : "42cac8d1",
                          "source" : [
                            {
                              "context" : "src"
                            }
                          ],
                          "target" : [
                            {
                              "context" : "entry",
                              "contextType" : "variable",
                              "element" : "resource",
                              "variable" : "tgt",
                              "transform" : "create",
                              "parameter" : [
                                {
                                  "valueString" : "Observation"
                                }
                              ]
                            }
                          ],
                          "rule" : [
                            {
                              "name" : "f56b8d65",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "contextType" : "variable",
                                  "transform" : "copy",
                                  "parameter" : [
                                    {
                                      "valueId" : "tgt"
                                    }
                                  ]
                                }
                              ],
                              "dependent" : [
                                {
                                  "name" : "CccobservationCccb22de81",
                                  "variable" : [
                                    "src",
                                    "tgt"
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "26935d1f",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.Hemoglobin'"
                }
              ],
              "rule" : [
                {
                  "name" : "ebd0ce98",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE82') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "cc5012ad",
                      "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" : "565f125e",
                          "source" : [
                            {
                              "context" : "src"
                            }
                          ],
                          "target" : [
                            {
                              "context" : "entry",
                              "contextType" : "variable",
                              "element" : "resource",
                              "variable" : "tgt",
                              "transform" : "create",
                              "parameter" : [
                                {
                                  "valueString" : "Observation"
                                }
                              ]
                            }
                          ],
                          "rule" : [
                            {
                              "name" : "1118b2e0",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "contextType" : "variable",
                                  "transform" : "copy",
                                  "parameter" : [
                                    {
                                      "valueId" : "tgt"
                                    }
                                  ]
                                }
                              ],
                              "dependent" : [
                                {
                                  "name" : "CccobservationCccb22de82",
                                  "variable" : [
                                    "src",
                                    "tgt"
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "9b034abe",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.SecondTemperature'"
                }
              ],
              "rule" : [
                {
                  "name" : "39718bc0",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE47') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "6ac0c1c9",
                      "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" : "68ad31bf",
                          "source" : [
                            {
                              "context" : "src"
                            }
                          ],
                          "target" : [
                            {
                              "context" : "entry",
                              "contextType" : "variable",
                              "element" : "resource",
                              "variable" : "tgt",
                              "transform" : "create",
                              "parameter" : [
                                {
                                  "valueString" : "Observation"
                                }
                              ]
                            }
                          ],
                          "rule" : [
                            {
                              "name" : "27e1ae58",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "contextType" : "variable",
                                  "transform" : "copy",
                                  "parameter" : [
                                    {
                                      "valueId" : "tgt"
                                    }
                                  ]
                                }
                              ],
                              "dependent" : [
                                {
                                  "name" : "CccobservationCccb22de47",
                                  "variable" : [
                                    "src",
                                    "tgt"
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "20d6b9bb",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.SecondTemperature'"
                }
              ],
              "rule" : [
                {
                  "name" : "47f73f1e",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE46') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "9266b262",
                      "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" : "1ee0adeb",
                          "source" : [
                            {
                              "context" : "src"
                            }
                          ],
                          "target" : [
                            {
                              "context" : "entry",
                              "contextType" : "variable",
                              "element" : "resource",
                              "variable" : "tgt",
                              "transform" : "create",
                              "parameter" : [
                                {
                                  "valueString" : "Observation"
                                }
                              ]
                            }
                          ],
                          "rule" : [
                            {
                              "name" : "d4ea6333",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "contextType" : "variable",
                                  "transform" : "copy",
                                  "parameter" : [
                                    {
                                      "valueId" : "tgt"
                                    }
                                  ]
                                }
                              ],
                              "dependent" : [
                                {
                                  "name" : "CccobservationCccb22de46",
                                  "variable" : [
                                    "src",
                                    "tgt"
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "name" : "f1772432",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.SecondTemperature'"
                }
              ],
              "rule" : [
                {
                  "name" : "618f3cba",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE50') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "82120e52",
                      "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" : "1d3deeec",
                          "source" : [
                            {
                              "context" : "src"
                            }
                          ],
                          "target" : [
                            {
                              "context" : "entry",
                              "contextType" : "variable",
                              "element" : "resource",
                              "variable" : "tgt",
                              "transform" : "create",
                              "parameter" : [
                                {
                                  "valueString" : "Observation"
                                }
                              ]
                            }
                          ],
                          "rule" : [
                            {
                              "name" : "b5c48578",
                              "source" : [
                                {
                                  "context" : "src"
                                }
                              ],
                              "target" : [
                                {
                                  "contextType" : "variable",
                                  "transform" : "copy",
                                  "parameter" : [
                                    {
                                      "valueId" : "tgt"
                                    }
                                  ]
                                }
                              ],
                              "dependent" : [
                                {
                                  "name" : "CccobservationCccb22de50",
                                  "variable" : [
                                    "src",
                                    "tgt"
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name" : "CccobservationCccb22de01",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-Cccb22de01",
              "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-Cccb22de01",
              "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.B22.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" : "ad8e4fa6",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.RespiratoryRate'"
                }
              ],
              "rule" : [
                {
                  "name" : "e1cd1fa1",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.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" : "CccobservationCccb22de02",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-Cccb22de02",
              "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-Cccb22de02",
              "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.B22.DE02"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "5b046e45",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.RespiratoryRate'"
                }
              ],
              "rule" : [
                {
                  "name" : "38b3c27b",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE02') 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" : "CccobservationCccb22de04",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-Cccb22de04",
              "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-Cccb22de04",
              "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.B22.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" : "6b3a0b06",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.RespiratoryRate'"
                }
              ],
              "rule" : [
                {
                  "name" : "1b837896",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "itm2",
                      "condition" : "linkId = 'second'"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "f66ca63f",
                      "source" : [
                        {
                          "context" : "itm2",
                          "element" : "item",
                          "listMode" : "first",
                          "variable" : "item",
                          "condition" : "(linkId = 'Ccc.B22.DE04') 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" : "CccobservationCccb22de05",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-Cccb22de05",
              "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-Cccb22de05",
              "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.B22.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" : "ed73ec89",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.RespiratoryRate'"
                }
              ],
              "rule" : [
                {
                  "name" : "9322cbb7",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "itm2",
                      "condition" : "linkId = 'second'"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "48a81a4f",
                      "source" : [
                        {
                          "context" : "itm2",
                          "element" : "item",
                          "listMode" : "first",
                          "variable" : "item",
                          "condition" : "(linkId = 'Ccc.B22.DE05') 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" : "CccobservationCccb22de07",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-Cccb22de07",
              "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-Cccb22de07",
              "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.B22.DE07"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "306838ed",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.RespiratoryRate'"
                }
              ],
              "rule" : [
                {
                  "name" : "b5e73929",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE07') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "bdab9370",
                      "source" : [
                        {
                          "context" : "item",
                          "element" : "answer",
                          "listMode" : "first",
                          "variable" : "a"
                        }
                      ],
                      "rule" : [
                        {
                          "name" : "final-Cccb22de07",
                          "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-Cccb22de07",
                          "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" : "CccobservationCccb22de08",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-Cccb22de08",
              "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-Cccb22de08",
              "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.B22.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" : "6d73c74e",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.FluidTest'"
                }
              ],
              "rule" : [
                {
                  "name" : "3b9ba04d",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE08') 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"
                                    }
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name" : "CccobservationCccb22de14",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-Cccb22de14",
              "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-Cccb22de14",
              "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.B22.DE14"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "5bdf34bc",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.FluidTest'"
                }
              ],
              "rule" : [
                {
                  "name" : "55651876",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE14') 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" : "CccobservationCccb22de14a",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-Cccb22de14a",
              "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-Cccb22de14a",
              "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.B22.DE14a"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "1a47ca2a",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.FluidTest'"
                }
              ],
              "rule" : [
                {
                  "name" : "e332bfd7",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE14a') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "bdab9370",
                      "source" : [
                        {
                          "context" : "item",
                          "element" : "answer",
                          "listMode" : "first",
                          "variable" : "a"
                        }
                      ],
                      "rule" : [
                        {
                          "name" : "final-Cccb22de14a",
                          "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-Cccb22de14a",
                          "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" : "CccobservationCccb22de15",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-Cccb22de15",
              "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-Cccb22de15",
              "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.B22.DE15"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "e23593aa",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.FluidTest'"
                }
              ],
              "rule" : [
                {
                  "name" : "166040b8",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE15') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "bdab9370",
                      "source" : [
                        {
                          "context" : "item",
                          "element" : "answer",
                          "listMode" : "first",
                          "variable" : "a"
                        }
                      ],
                      "rule" : [
                        {
                          "name" : "final-Cccb22de15",
                          "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-Cccb22de15",
                          "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" : "CccobservationCccb22de16",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-Cccb22de16",
              "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-Cccb22de16",
              "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.B22.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" : "b36b8a09",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.FluidTest'"
                }
              ],
              "rule" : [
                {
                  "name" : "b1dde0d2",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE16') 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"
                                    }
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name" : "CccobservationCccb22de17Cccb22de18t",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-CccobservationCccb22de17Cccb22de18t",
              "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-CccobservationCccb22de17Cccb22de18t",
              "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.B22.DE17&Ccc.B22.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" : "e9d639e1",
              "source" : [
                {
                  "context" : "src"
                }
              ],
              "target" : [
                {
                  "context" : "tgt",
                  "contextType" : "variable",
                  "element" : "status",
                  "transform" : "copy",
                  "parameter" : [
                    {
                      "valueString" : "final"
                    }
                  ]
                },
                {
                  "context" : "tgt",
                  "contextType" : "variable",
                  "element" : "value",
                  "transform" : "copy",
                  "parameter" : [
                    {
                      "valueBoolean" : true
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name" : "CccobservationCccb22de17Cccb22de18f",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-CccobservationCccb22de17Cccb22de18f",
              "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-CccobservationCccb22de17Cccb22de18f",
              "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.B22.DE17&Ccc.B22.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" : "f21d6e36",
              "source" : [
                {
                  "context" : "src"
                }
              ],
              "target" : [
                {
                  "context" : "tgt",
                  "contextType" : "variable",
                  "element" : "status",
                  "transform" : "copy",
                  "parameter" : [
                    {
                      "valueString" : "cancelled"
                    }
                  ]
                },
                {
                  "context" : "tgt",
                  "contextType" : "variable",
                  "element" : "value",
                  "transform" : "copy",
                  "parameter" : [
                    {
                      "valueBoolean" : false
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name" : "CccobservationCccb22de17Cccb22de19t",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-CccobservationCccb22de17Cccb22de19t",
              "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-CccobservationCccb22de17Cccb22de19t",
              "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.B22.DE17&Ccc.B22.DE19"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "e9d639e1",
              "source" : [
                {
                  "context" : "src"
                }
              ],
              "target" : [
                {
                  "context" : "tgt",
                  "contextType" : "variable",
                  "element" : "status",
                  "transform" : "copy",
                  "parameter" : [
                    {
                      "valueString" : "final"
                    }
                  ]
                },
                {
                  "context" : "tgt",
                  "contextType" : "variable",
                  "element" : "value",
                  "transform" : "copy",
                  "parameter" : [
                    {
                      "valueBoolean" : true
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name" : "CccobservationCccb22de17Cccb22de19f",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-CccobservationCccb22de17Cccb22de19f",
              "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-CccobservationCccb22de17Cccb22de19f",
              "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.B22.DE17&Ccc.B22.DE19"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "f21d6e36",
              "source" : [
                {
                  "context" : "src"
                }
              ],
              "target" : [
                {
                  "context" : "tgt",
                  "contextType" : "variable",
                  "element" : "status",
                  "transform" : "copy",
                  "parameter" : [
                    {
                      "valueString" : "cancelled"
                    }
                  ]
                },
                {
                  "context" : "tgt",
                  "contextType" : "variable",
                  "element" : "value",
                  "transform" : "copy",
                  "parameter" : [
                    {
                      "valueBoolean" : false
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name" : "CccobservationCccb22de17Cccb22de20t",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-CccobservationCccb22de17Cccb22de20t",
              "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-CccobservationCccb22de17Cccb22de20t",
              "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.B22.DE17&Ccc.B22.DE20"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "e9d639e1",
              "source" : [
                {
                  "context" : "src"
                }
              ],
              "target" : [
                {
                  "context" : "tgt",
                  "contextType" : "variable",
                  "element" : "status",
                  "transform" : "copy",
                  "parameter" : [
                    {
                      "valueString" : "final"
                    }
                  ]
                },
                {
                  "context" : "tgt",
                  "contextType" : "variable",
                  "element" : "value",
                  "transform" : "copy",
                  "parameter" : [
                    {
                      "valueBoolean" : true
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name" : "CccobservationCccb22de17Cccb22de20f",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-CccobservationCccb22de17Cccb22de20f",
              "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-CccobservationCccb22de17Cccb22de20f",
              "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.B22.DE17&Ccc.B22.DE20"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "f21d6e36",
              "source" : [
                {
                  "context" : "src"
                }
              ],
              "target" : [
                {
                  "context" : "tgt",
                  "contextType" : "variable",
                  "element" : "status",
                  "transform" : "copy",
                  "parameter" : [
                    {
                      "valueString" : "cancelled"
                    }
                  ]
                },
                {
                  "context" : "tgt",
                  "contextType" : "variable",
                  "element" : "value",
                  "transform" : "copy",
                  "parameter" : [
                    {
                      "valueBoolean" : false
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name" : "CccobservationCccb22de17Cccb22de21t",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-CccobservationCccb22de17Cccb22de21t",
              "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-CccobservationCccb22de17Cccb22de21t",
              "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.B22.DE17&Ccc.B22.DE21"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "e9d639e1",
              "source" : [
                {
                  "context" : "src"
                }
              ],
              "target" : [
                {
                  "context" : "tgt",
                  "contextType" : "variable",
                  "element" : "status",
                  "transform" : "copy",
                  "parameter" : [
                    {
                      "valueString" : "final"
                    }
                  ]
                },
                {
                  "context" : "tgt",
                  "contextType" : "variable",
                  "element" : "value",
                  "transform" : "copy",
                  "parameter" : [
                    {
                      "valueBoolean" : true
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name" : "CccobservationCccb22de17Cccb22de21f",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-CccobservationCccb22de17Cccb22de21f",
              "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-CccobservationCccb22de17Cccb22de21f",
              "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.B22.DE17&Ccc.B22.DE21"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "f21d6e36",
              "source" : [
                {
                  "context" : "src"
                }
              ],
              "target" : [
                {
                  "context" : "tgt",
                  "contextType" : "variable",
                  "element" : "status",
                  "transform" : "copy",
                  "parameter" : [
                    {
                      "valueString" : "cancelled"
                    }
                  ]
                },
                {
                  "context" : "tgt",
                  "contextType" : "variable",
                  "element" : "value",
                  "transform" : "copy",
                  "parameter" : [
                    {
                      "valueBoolean" : false
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name" : "CccobservationCccb22de17Cccb22de22t",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-CccobservationCccb22de17Cccb22de22t",
              "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-CccobservationCccb22de17Cccb22de22t",
              "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.B22.DE17&Ccc.B22.DE22"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "e9d639e1",
              "source" : [
                {
                  "context" : "src"
                }
              ],
              "target" : [
                {
                  "context" : "tgt",
                  "contextType" : "variable",
                  "element" : "status",
                  "transform" : "copy",
                  "parameter" : [
                    {
                      "valueString" : "final"
                    }
                  ]
                },
                {
                  "context" : "tgt",
                  "contextType" : "variable",
                  "element" : "value",
                  "transform" : "copy",
                  "parameter" : [
                    {
                      "valueBoolean" : true
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name" : "CccobservationCccb22de17Cccb22de22f",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-CccobservationCccb22de17Cccb22de22f",
              "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-CccobservationCccb22de17Cccb22de22f",
              "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.B22.DE17&Ccc.B22.DE22"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "f21d6e36",
              "source" : [
                {
                  "context" : "src"
                }
              ],
              "target" : [
                {
                  "context" : "tgt",
                  "contextType" : "variable",
                  "element" : "status",
                  "transform" : "copy",
                  "parameter" : [
                    {
                      "valueString" : "cancelled"
                    }
                  ]
                },
                {
                  "context" : "tgt",
                  "contextType" : "variable",
                  "element" : "value",
                  "transform" : "copy",
                  "parameter" : [
                    {
                      "valueBoolean" : false
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name" : "CccobservationCccb22de22",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-Cccb22de22",
              "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-Cccb22de22",
              "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.B22.DE22"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "e1414539",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.BronchodilatorTest'"
                }
              ],
              "rule" : [
                {
                  "name" : "3e1d6082",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE22') 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" : "CccobservationCccb22de21",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-Cccb22de21",
              "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-Cccb22de21",
              "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.B22.DE21"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "a412e00a",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.BronchodilatorTest'"
                }
              ],
              "rule" : [
                {
                  "name" : "36586abf",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE21') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "bdab9370",
                      "source" : [
                        {
                          "context" : "item",
                          "element" : "answer",
                          "listMode" : "first",
                          "variable" : "a"
                        }
                      ],
                      "rule" : [
                        {
                          "name" : "final-Cccb22de21",
                          "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-Cccb22de21",
                          "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" : "CccobservationCccb22de41",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-Cccb22de41",
              "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-Cccb22de41",
              "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.B22.DE41"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "d888a973",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.BreastFeeding'"
                }
              ],
              "rule" : [
                {
                  "name" : "6df944ed",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE41') 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" : "CccobservationCccb22de28",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-Cccb22de28",
              "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-Cccb22de28",
              "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.B22.DE28"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "aad3db2c",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.BreastFeeding'"
                }
              ],
              "rule" : [
                {
                  "name" : "58c52233",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE28') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "bdab9370",
                      "source" : [
                        {
                          "context" : "item",
                          "element" : "answer",
                          "listMode" : "first",
                          "variable" : "a"
                        }
                      ],
                      "rule" : [
                        {
                          "name" : "final-Cccb22de28",
                          "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-Cccb22de28",
                          "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" : "CccobservationCccb22de29",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-Cccb22de29",
              "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-Cccb22de29",
              "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.B22.DE29"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "960d28f0",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.BreastFeeding'"
                }
              ],
              "rule" : [
                {
                  "name" : "95a367de",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE29') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "bdab9370",
                      "source" : [
                        {
                          "context" : "item",
                          "element" : "answer",
                          "listMode" : "first",
                          "variable" : "a"
                        }
                      ],
                      "rule" : [
                        {
                          "name" : "final-Cccb22de29",
                          "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-Cccb22de29",
                          "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" : "CccobservationCccb22de30",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-Cccb22de30",
              "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-Cccb22de30",
              "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.B22.DE30"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "3b102368",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.BreastFeeding'"
                }
              ],
              "rule" : [
                {
                  "name" : "c3834bca",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE30') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "bdab9370",
                      "source" : [
                        {
                          "context" : "item",
                          "element" : "answer",
                          "listMode" : "first",
                          "variable" : "a"
                        }
                      ],
                      "rule" : [
                        {
                          "name" : "final-Cccb22de30",
                          "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-Cccb22de30",
                          "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" : "CccobservationCccb22de31",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-Cccb22de31",
              "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-Cccb22de31",
              "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.B22.DE31"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "9e9be797",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.BreastFeeding'"
                }
              ],
              "rule" : [
                {
                  "name" : "bb8ba529",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE31') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "bdab9370",
                      "source" : [
                        {
                          "context" : "item",
                          "element" : "answer",
                          "listMode" : "first",
                          "variable" : "a"
                        }
                      ],
                      "rule" : [
                        {
                          "name" : "final-Cccb22de31",
                          "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-Cccb22de31",
                          "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" : "CccobservationCccb22de32",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-Cccb22de32",
              "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-Cccb22de32",
              "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.B22.DE32"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "59b588e0",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.BreastFeeding'"
                }
              ],
              "rule" : [
                {
                  "name" : "4adca3b8",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE32') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "bdab9370",
                      "source" : [
                        {
                          "context" : "item",
                          "element" : "answer",
                          "listMode" : "first",
                          "variable" : "a"
                        }
                      ],
                      "rule" : [
                        {
                          "name" : "final-Cccb22de32",
                          "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-Cccb22de32",
                          "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" : "CccobservationCccb22de33",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-Cccb22de33",
              "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-Cccb22de33",
              "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.B22.DE33"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "56745630",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.BreastFeeding'"
                }
              ],
              "rule" : [
                {
                  "name" : "ba6b3c81",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE33') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "bdab9370",
                      "source" : [
                        {
                          "context" : "item",
                          "element" : "answer",
                          "listMode" : "first",
                          "variable" : "a"
                        }
                      ],
                      "rule" : [
                        {
                          "name" : "final-Cccb22de33",
                          "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-Cccb22de33",
                          "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" : "CccobservationCccb22de34",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-Cccb22de34",
              "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-Cccb22de34",
              "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.B22.DE34"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "f384d1b9",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.BreastFeeding'"
                }
              ],
              "rule" : [
                {
                  "name" : "a958300a",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE34') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "bdab9370",
                      "source" : [
                        {
                          "context" : "item",
                          "element" : "answer",
                          "listMode" : "first",
                          "variable" : "a"
                        }
                      ],
                      "rule" : [
                        {
                          "name" : "final-Cccb22de34",
                          "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-Cccb22de34",
                          "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" : "CccobservationCccb22de35",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-Cccb22de35",
              "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-Cccb22de35",
              "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.B22.DE35"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "5ed5ea0e",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.BreastFeeding'"
                }
              ],
              "rule" : [
                {
                  "name" : "9412283c",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE35') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "bdab9370",
                      "source" : [
                        {
                          "context" : "item",
                          "element" : "answer",
                          "listMode" : "first",
                          "variable" : "a"
                        }
                      ],
                      "rule" : [
                        {
                          "name" : "final-Cccb22de35",
                          "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-Cccb22de35",
                          "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" : "CccobservationCccb22de36",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-CccobservationCccb22de36",
              "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-CccobservationCccb22de36",
              "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.B22.DE36"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "b4145e76",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.BreastFeeding'"
                }
              ],
              "rule" : [
                {
                  "name" : "713debc5",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE36') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "bd419d51",
                      "source" : [
                        {
                          "context" : "item",
                          "element" : "answer",
                          "listMode" : "first",
                          "variable" : "a"
                        }
                      ],
                      "rule" : [
                        {
                          "name" : "a53091ee",
                          "source" : [
                            {
                              "context" : "a",
                              "condition" : "value = 'Not well Attached to Breast'"
                            },
                            {
                              "context" : "a",
                              "element" : "value",
                              "variable" : "val"
                            }
                          ],
                          "rule" : [
                            {
                              "name" : "71afb672",
                              "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" : "Ccc.B22.DE37"
                                    }
                                  ]
                                },
                                {
                                  "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" : "239a32e6",
                          "source" : [
                            {
                              "context" : "a",
                              "condition" : "value = 'Good Attachment'"
                            },
                            {
                              "context" : "a",
                              "element" : "value",
                              "variable" : "val"
                            }
                          ],
                          "rule" : [
                            {
                              "name" : "3053aa3e",
                              "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" : "Ccc.B22.DE38"
                                    }
                                  ]
                                },
                                {
                                  "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" : "ae925fc5",
                          "source" : [
                            {
                              "context" : "a",
                              "condition" : "value = 'Not Sucking Effectively'"
                            },
                            {
                              "context" : "a",
                              "element" : "value",
                              "variable" : "val"
                            }
                          ],
                          "rule" : [
                            {
                              "name" : "0e60e5cc",
                              "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" : "Ccc.B22.DE39"
                                    }
                                  ]
                                },
                                {
                                  "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" : "714e8fb5",
                          "source" : [
                            {
                              "context" : "a",
                              "condition" : "value = 'Sucking Effectively'"
                            },
                            {
                              "context" : "a",
                              "element" : "value",
                              "variable" : "val"
                            }
                          ],
                          "rule" : [
                            {
                              "name" : "5eeaf122",
                              "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" : "Ccc.B22.DE40"
                                    }
                                  ]
                                },
                                {
                                  "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" : "CccobservationCccb22de42",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-Cccb22de42",
              "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-Cccb22de42",
              "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.B22.DE42"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "0d852c2e",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.BreastFeeding'"
                }
              ],
              "rule" : [
                {
                  "name" : "3dcc04b3",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE42') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "bdab9370",
                      "source" : [
                        {
                          "context" : "item",
                          "element" : "answer",
                          "listMode" : "first",
                          "variable" : "a"
                        }
                      ],
                      "rule" : [
                        {
                          "name" : "final-Cccb22de42",
                          "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-Cccb22de42",
                          "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" : "CccobservationCccb22de44",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-Cccb22de44",
              "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-Cccb22de44",
              "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.B22.DE44"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "fbdc7921",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.BreastFeeding'"
                }
              ],
              "rule" : [
                {
                  "name" : "d4bad53b",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE44') and answer.exists()"
                    }
                  ],
                  "rule" : [
                    {
                      "name" : "bdab9370",
                      "source" : [
                        {
                          "context" : "item",
                          "element" : "answer",
                          "listMode" : "first",
                          "variable" : "a"
                        }
                      ],
                      "rule" : [
                        {
                          "name" : "final-Cccb22de44",
                          "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-Cccb22de44",
                          "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" : "CccobservationCccb22de81",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-Cccb22de81",
              "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-Cccb22de81",
              "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.B22.DE81"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "44836ba1",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.Hemoglobin'"
                }
              ],
              "rule" : [
                {
                  "name" : "185ffa99",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE81') 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" : "CccobservationCccb22de82",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-Cccb22de82",
              "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-Cccb22de82",
              "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.B22.DE82"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "7485a680",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.Hemoglobin'"
                }
              ],
              "rule" : [
                {
                  "name" : "29107a72",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE82') 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" : "CccobservationCccb22de47",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-Cccb22de47",
              "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-Cccb22de47",
              "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.B22.DE47"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "932aad6b",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.SecondTemperature'"
                }
              ],
              "rule" : [
                {
                  "name" : "10fc9c80",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE47') 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" : "CccobservationCccb22de46",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-Cccb22de46",
              "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-Cccb22de46",
              "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.B22.DE46"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "b937d546",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.SecondTemperature'"
                }
              ],
              "rule" : [
                {
                  "name" : "b66a0bcd",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE46') 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" : "CccobservationCccb22de50",
          "typeMode" : "none",
          "input" : [
            {
              "name" : "src",
              "mode" : "source"
            },
            {
              "name" : "tgt",
              "mode" : "target"
            }
          ],
          "rule" : [
            {
              "name" : "id-Cccb22de50",
              "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-Cccb22de50",
              "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.B22.DE50"
                    }
                  ]
                }
              ]
            },
            {
              "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" : "3bf9ecd0",
              "source" : [
                {
                  "context" : "src",
                  "element" : "item",
                  "listMode" : "first",
                  "variable" : "itm1",
                  "condition" : "linkId = 'Ccc.B22.SecondTemperature'"
                }
              ],
              "rule" : [
                {
                  "name" : "336c73e3",
                  "source" : [
                    {
                      "context" : "itm1",
                      "element" : "item",
                      "listMode" : "first",
                      "variable" : "item",
                      "condition" : "(linkId = 'Ccc.B22.DE50') 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"
                                    }
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }