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

## StructureMap: Ccc.b10-16.signs.2m.p

Official URL: https://smart.who.int/ccc/StructureMap/Ccc.b10-16.signs.2m.p | Version: 0.1.0
Active as of 2026-04-07 | Computable Name: Ccc.b10-16.signs.2m.p

    map "https://smart.who.int/ccc/StructureMap/Ccc.b10-16.signs.2m.p" = "Ccc.b10-16.signs.2m.p"

    uses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source
    uses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target
    uses "https://smart.who.int/ccc/StructureDefinition/observation" alias 'Observation' as target
    uses "https://smart.who.int/ccc/StructureDefinition/Cccobservation" alias 'Ccc Observation' as produced

    group bundletrans(source src : questionnaireResponse, target bundle : Bundle) {
      src -> bundle.id = uuid() "id";
      src -> bundle.type = 'batch' "type";
      src.item first as item where (linkId = 'Ccc.B10S2.DE03') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb10s2de03(src, tgt) "9be992ee";
          } "36f7a9cc";
        } "079b8b98";
      } "366acbd3";
      src.item first as item where (linkId = 'Ccc.B10S2.DE04') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb10s2de04(src, tgt) "22bcca4b";
          } "32ccd4c5";
        } "a7c78146";
      } "b19e39bf";
      src.item first as item where (linkId = 'Ccc.B10S2.DE05') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb10s2de05(src, tgt) "1d8e3cbc";
          } "bf103e1e";
        } "76d6b934";
      } "98782720";
      src.item first as item where (linkId = 'Ccc.B10S2.DE06') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb10s2de06(src, tgt) "c80bf08a";
          } "1045a48d";
        } "3d816032";
      } "530045b2";
      src.item first as itm1 where linkId = 'Oxygen_Saturation' then {
        itm1.item first as item where (linkId = 'Ccc.B10S2.DE07') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src -> tgt then CccobservationCccb10s2de07(src, tgt) "8ed85169";
            } "115f4673";
          } "c898e9da";
        } "b4fdeee3";
      } "92a14f88";
      src.item first as item where (linkId = 'Ccc.B11S2.DE01') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb11s2de01(src, tgt) "571f12fb";
          } "df9369ca";
        } "b1634b07";
      } "bf55dba7";
      src.item first as item where (linkId = 'Ccc.B11S2.DE02') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb11s2de02(src, tgt) "35df08c4";
          } "52eb002b";
        } "c096f5b2";
      } "f35e6a90";
      src.item first as item where (linkId = 'Ccc.B11S2.DE06') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb11s2de06(src, tgt) "048f10f9";
          } "011caec9";
        } "431cd0b3";
      } "5a3f8e99";
      src.item first as item where (linkId = 'Ccc.B17S1.DE01') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb17s1de01(src, tgt) "13df0b77";
          } "ebf73588";
        } "4de1b457";
      } "eb36da14";
      src.item first as item where (linkId = 'Ccc.B17S1.DE02') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb17s1de02(src, tgt) "df66de05";
          } "cef4a910";
        } "7a411b35";
      } "f5194f29";
      src.item first as item where (linkId = 'Ccc.B17S1.DE06') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb17s1de06(src, tgt) "7dcc4fe7";
          } "57c20bc9";
        } "a315006a";
      } "371f2fa4";
      src.item first as item where (linkId = 'Ccc.B17S1.DE07') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb17s1de07(src, tgt) "6d9d7efe";
          } "666ea04b";
        } "555380a9";
      } "6484a938";
      src.item first as item where (linkId = 'Ccc.B13S2.DE01') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb13s2de01(src, tgt) "988862af";
          } "6071237c";
        } "b8724cd8";
      } "06c49c87";
      src.item first as item where (linkId = 'Ccc.B13S2.DE02') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb13s2de02(src, tgt) "f885cd9f";
          } "56652867";
        } "d0f4b9f9";
      } "530eefb8";
      src.item first as item where (linkId = 'Ccc.B13S2.DE03') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb13s2de03(src, tgt) "e686d739";
          } "c2d82e76";
        } "1aafb16b";
      } "9b54ee4f";
      src.item first as item where (linkId = 'Ccc.B12S2.DE01') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb12s2de01(src, tgt) "d9032a0e";
          } "471ac9ec";
        } "364c39dc";
      } "387028ff";
      src.item first as item where (linkId = 'Ccc.B12S2.DE05') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb12s2de05(src, tgt) "b4d067ef";
          } "260342c7";
        } "bd3ec4be";
      } "325408a5";
      src.item first as item where (linkId = 'Ccc.B14S2.DE01') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb14s2de01(src, tgt) "3c803bdc";
          } "8df3ea2e";
        } "f8052c53";
      } "91d8a216";
      src.item first as item where (linkId = 'Ccc.B14S2.DE02') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb14s2de02(src, tgt) "e05b3a93";
          } "0c924a74";
        } "56da7549";
      } "2aa25144";
      src.item first as item where (linkId = 'Ccc.B14S2.DE03') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb14s2de03(src, tgt) "9ccb1879";
          } "017fcd3f";
        } "05f51940";
      } "7c588606";
      src.item first as item where (linkId = 'Ccc.B14S2.DE04') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb14s2de04(src, tgt) "0e9ceef0";
          } "083b89d9";
        } "776651be";
      } "9007e632";
      src.item first as item where (linkId = 'Ccc.B14S2.DE05') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb14s2de05(src, tgt) "7f44dd5a";
          } "c001deab";
        } "280ba472";
      } "c672d1b7";
      src where src.item.where(linkId = 'Ccc.B14S2.DE06').answer.where(value.code = 'Ccc.B14S2.DE07') then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE06') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de06Cccb14s2de07t(src, tgt) "37b45a1a";
            } "971c989b";
          } "f56a8acb";
        } "f0e0c1c7";
      } "2caf0a2d";
      src where src.item.where(linkId = 'Ccc.B14S2.DE06').exists() and src.item.where(linkId = 'Ccc.B14S2.DE06').answer.where(value.code = 'Ccc.B14S2.DE07').empty() then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE06') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de06Cccb14s2de07f(src, tgt) "ed6e13a0";
            } "52c7fa66";
          } "81854047";
        } "a9b43d6e";
      } "fed21ad9";
      src where src.item.where(linkId = 'Ccc.B14S2.DE06').answer.where(value.code = 'Ccc.B14S2.DE08') then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE06') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de06Cccb14s2de08t(src, tgt) "31d968a5";
            } "05db12b8";
          } "adbfce41";
        } "89575f40";
      } "294cc680";
      src where src.item.where(linkId = 'Ccc.B14S2.DE06').exists() and src.item.where(linkId = 'Ccc.B14S2.DE06').answer.where(value.code = 'Ccc.B14S2.DE08').empty() then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE06') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de06Cccb14s2de08f(src, tgt) "1a79fb79";
            } "3f5690dd";
          } "a36f6b02";
        } "3d64a953";
      } "37580d33";
      src where src.item.where(linkId = 'Ccc.B14S2.DE06').answer.where(value.code = 'Ccc.B14S2.DE09') then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE06') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de06Cccb14s2de09t(src, tgt) "28edea0e";
            } "7f261203";
          } "a883e98f";
        } "158e3fbb";
      } "e1eb3d64";
      src where src.item.where(linkId = 'Ccc.B14S2.DE06').exists() and src.item.where(linkId = 'Ccc.B14S2.DE06').answer.where(value.code = 'Ccc.B14S2.DE09').empty() then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE06') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de06Cccb14s2de09f(src, tgt) "838bc2fd";
            } "fe14ec44";
          } "e465613c";
        } "7ec9bbca";
      } "ae01960a";
      src.item first as item where (linkId = 'Ccc.B14S2.DE10') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb14s2de10(src, tgt) "c7bb4c66";
          } "f8c64c2f";
        } "b824f2ed";
      } "76d01623";
      src.item first as item where (linkId = 'Ccc.B14S2.DE11') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb14s2de11(src, tgt) "075dfab4";
          } "e7decefb";
        } "258af3ea";
      } "0a0c8d1d";
      src.item first as item where (linkId = 'Ccc.B14S2.DE12') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb14s2de12(src, tgt) "5c4fb26d";
          } "8b35df2f";
        } "1def7e4a";
      } "23fadae9";
      src where src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE18') then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de13Cccb14s2de18t(src, tgt) "441e433a";
            } "c6a25fe8";
          } "3ce60159";
        } "d174fa68";
      } "ac7d700b";
      src where src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE18').empty() then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de13Cccb14s2de18f(src, tgt) "97a383dc";
            } "2dc8d6f1";
          } "e831d44b";
        } "01b18454";
      } "451ac430";
      src where src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE19') then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de13Cccb14s2de19t(src, tgt) "176edab8";
            } "6066f6c8";
          } "983ce7ec";
        } "19ed849e";
      } "3852f24c";
      src where src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE19').empty() then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de13Cccb14s2de19f(src, tgt) "817f40b1";
            } "be332abb";
          } "5233dec2";
        } "b6313d6e";
      } "a8b58d8a";
      src where src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE21') then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de13Cccb14s2de21t(src, tgt) "aa5b0432";
            } "0ec5642c";
          } "0d215d93";
        } "4854d5df";
      } "ae0dcf93";
      src where src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE21').empty() then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de13Cccb14s2de21f(src, tgt) "e4468f91";
            } "cd3aebda";
          } "13f1b93a";
        } "c43d8495";
      } "15560381";
      src where src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE22') then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de13Cccb14s2de22t(src, tgt) "ab612b0e";
            } "5f99713d";
          } "0f879b99";
        } "8071df60";
      } "c9c52b13";
      src where src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE22').empty() then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de13Cccb14s2de22f(src, tgt) "123f16cb";
            } "6839cab1";
          } "cd6d3ddf";
        } "ab20fd0d";
      } "1392af91";
      src where src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE23') then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de13Cccb14s2de23t(src, tgt) "a59d13f2";
            } "6fa9b4c3";
          } "a59cf8e8";
        } "d5f2929d";
      } "0b62df00";
      src where src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE23').empty() then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de13Cccb14s2de23f(src, tgt) "6596445b";
            } "960ec6df";
          } "388ca68d";
        } "25b5d6b1";
      } "87288d6a";
      src where src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE25') then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de13Cccb14s2de25t(src, tgt) "072f0d04";
            } "bdb49f20";
          } "1ac2bcc1";
        } "43511064";
      } "6a58313a";
      src where src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE25').empty() then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de13Cccb14s2de25f(src, tgt) "81e79970";
            } "224b2fb2";
          } "021a8b72";
        } "368d9ecb";
      } "8441e89f";
      src where src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE31') then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de13Cccb14s2de31t(src, tgt) "b35eaf3c";
            } "a1596adf";
          } "bab60838";
        } "17feed2f";
      } "4912861f";
      src where src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE31').empty() then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de13Cccb14s2de31f(src, tgt) "0c07de59";
            } "8c4edf8a";
          } "f51215d7";
        } "76689bf7";
      } "f8037952";
      src where src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE32') then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de13Cccb14s2de32t(src, tgt) "304d4aab";
            } "6fe3eb64";
          } "14dd9fb8";
        } "a671b882";
      } "1c1c4815";
      src where src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE32').empty() then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de13Cccb14s2de32f(src, tgt) "6f919233";
            } "5708f6bd";
          } "833ec3a9";
        } "cdb61927";
      } "3a489200";
      src where src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE33') then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de13Cccb14s2de33t(src, tgt) "0b3f6de9";
            } "980b8c8b";
          } "94d31e8a";
        } "d37d7b65";
      } "d888db70";
      src where src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE33').empty() then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de13Cccb14s2de33f(src, tgt) "8660b336";
            } "dd13171e";
          } "3580783e";
        } "d31d16ef";
      } "e3f7e3de";
      src where src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE35') then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de13Cccb14s2de35t(src, tgt) "fdc56916";
            } "83c3b9d5";
          } "19244b4d";
        } "97672cc7";
      } "0ba97eaa";
      src where src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE35').empty() then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de13Cccb14s2de35f(src, tgt) "aca6e81a";
            } "c68620da";
          } "be69b7d3";
        } "12e78229";
      } "a1231c31";
      src where src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE36') then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de13Cccb14s2de36t(src, tgt) "ac250feb";
            } "e61326dd";
          } "9cab4235";
        } "cc1e3733";
      } "fd0dd1e1";
      src where src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE36').empty() then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de13Cccb14s2de36f(src, tgt) "6c995c67";
            } "b2720395";
          } "061de0de";
        } "e329544f";
      } "6190a03e";
      src where src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE37') then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de13Cccb14s2de37t(src, tgt) "e70adb73";
            } "4bc7d51a";
          } "cd87f1e7";
        } "66356988";
      } "1d47d233";
      src where src.item.where(linkId = 'Ccc.B14S2.DE13').exists() and src.item.where(linkId = 'Ccc.B14S2.DE13').answer.where(value.code = 'Ccc.B14S2.DE37').empty() then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE13') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de13Cccb14s2de37f(src, tgt) "216b6583";
            } "191d63ec";
          } "f1af8fee";
        } "9b50cdfb";
      } "1e5890e8";
      src.item first as item where (linkId = 'Ccc.B14S2.DE19a') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb14s2de19a(src, tgt) "001e9c80";
          } "d2eb23fb";
        } "f21f5e42";
      } "0b69df95";
      src.item first as item where (linkId = 'Ccc.B14S2.DE22A') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb14s2de22a(src, tgt) "bccd876e";
          } "95095060";
        } "255ee6cb";
      } "d708ca5c";
      src.item first as item where (linkId = 'Ccc.B14S2.DE23a') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb14s2de23a(src, tgt) "d2d3bcd4";
          } "990f2716";
        } "b0df7a91";
      } "c2f9a858";
      src.item first as item where (linkId = 'Ccc.B14S2.DE24') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb14s2de24(src, tgt) "fd1e1903";
          } "8deeed15";
        } "711ceb12";
      } "2394e366";
      src.item first as item where (linkId = 'Ccc.B14S2.DE30') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb14s2de30(src, tgt) "48133b0b";
          } "b13f149c";
        } "e8395f1e";
      } "a612d3de";
      src.item first as item where (linkId = 'Ccc.B14S2.DE30b') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb14s2de30b(src, tgt) "e092d9f2";
          } "49fe0265";
        } "f83e6d8d";
      } "ee1ec67e";
      src.item first as item where (linkId = 'Ccc.B14S2.DE31a') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb14s2de31a(src, tgt) "e36dddc9";
          } "dd872982";
        } "ec36bfb0";
      } "09b48cf7";
      src.item first as item where (linkId = 'Ccc.B14S2.DE31b') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb14s2de31b(src, tgt) "a400e31e";
          } "29aa3e32";
        } "4d8d5769";
      } "8023b5d8";
      src.item first as item where (linkId = 'Ccc.B14S2.DE32a') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb14s2de32a(src, tgt) "ebc4362a";
          } "7b8431db";
        } "63050b98";
      } "7898f754";
      src.item first as item where (linkId = 'Ccc.B14S2.DE34') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb14s2de34(src, tgt) "1b1e3f3d";
          } "92cdef51";
        } "0f34721b";
      } "5f2fd5be";
      src.item first as item where (linkId = 'Ccc.B14S2.DE36a') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb14s2de36a(src, tgt) "3a34cb4f";
          } "cf05f31f";
        } "62bf6f61";
      } "9ab3add7";
      src.item first as item where (linkId = 'Ccc.B14S2.DE36b') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb14s2de36b(src, tgt) "b4115e85";
          } "a80a9c42";
        } "7cf10a5a";
      } "a41011e3";
      src.item first as item where (linkId = 'Ccc.B14S2.DE36c') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb14s2de36c(src, tgt) "714801e7";
          } "aed593a3";
        } "10ad35b3";
      } "c7681e2f";
      src.item first as item where (linkId = 'Ccc.B14S2.DE38') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb14s2de38(src, tgt) "695d29c8";
          } "dd9951a6";
        } "dbe4c0ed";
      } "046ea4db";
      src where src.item.where(linkId = 'Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE44') then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE43') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de43Cccb14s2de44t(src, tgt) "54047125";
            } "67759d25";
          } "b7a4c6f7";
        } "2df98dca";
      } "39bf7130";
      src where src.item.where(linkId = 'Ccc.B14S2.DE43').exists() and src.item.where(linkId = 'Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE44').empty() then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE43') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de43Cccb14s2de44f(src, tgt) "ff18b722";
            } "7ce88931";
          } "d99ebaca";
        } "e398081f";
      } "0b39dd54";
      src where src.item.where(linkId = 'Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE45') then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE43') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de43Cccb14s2de45t(src, tgt) "3db9ce97";
            } "2b1d1228";
          } "694fcde8";
        } "8d2528b2";
      } "5702646c";
      src where src.item.where(linkId = 'Ccc.B14S2.DE43').exists() and src.item.where(linkId = 'Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE45').empty() then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE43') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de43Cccb14s2de45f(src, tgt) "00fcb42e";
            } "be31bcba";
          } "b54e492c";
        } "84ddf53c";
      } "71ef3401";
      src where src.item.where(linkId = 'Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE46') then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE43') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de43Cccb14s2de46t(src, tgt) "10098170";
            } "321eb396";
          } "84fc742e";
        } "75bfd082";
      } "9a6c19cd";
      src where src.item.where(linkId = 'Ccc.B14S2.DE43').exists() and src.item.where(linkId = 'Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE46').empty() then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE43') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de43Cccb14s2de46f(src, tgt) "6aa2bb98";
            } "71cfb393";
          } "05fac2b4";
        } "f1cb924b";
      } "d52ab655";
      src where src.item.where(linkId = 'Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE47') then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE43') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de43Cccb14s2de47t(src, tgt) "5e647793";
            } "f179975e";
          } "c179f0cb";
        } "630de842";
      } "2a472f41";
      src where src.item.where(linkId = 'Ccc.B14S2.DE43').exists() and src.item.where(linkId = 'Ccc.B14S2.DE43').answer.where(value.code = 'Ccc.B14S2.DE47').empty() then {
        src.item first as item where (linkId = 'Ccc.B14S2.DE43') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src then CccobservationCccb14s2de43Cccb14s2de47f(src, tgt) "46287011";
            } "19fb566f";
          } "4464667a";
        } "ff1524d9";
      } "1d4733d3";
      src.item first as item where (linkId = 'Ccc.B15S2.DE01') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb15s2de01(src, tgt) "0e40abb2";
          } "6b463abd";
        } "75a9eb5b";
      } "f3f997c1";
      src.item first as item where (linkId = 'Ccc.B15S2.DE09') and answer.exists() then {
        src -> bundle.entry as entry then {
          src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
          src -> entry.resource = create('Observation') as tgt then {
            src -> tgt then CccobservationCccb15s2de09(src, tgt) "41e89548";
          } "fbbb4fbf";
        } "ba468419";
      } "91fe7c34";
      src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {
        itm1.item first as item where (linkId = 'Ccc.B22.DE01') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src -> tgt then CccobservationCccb22de01(src, tgt) "94788d70";
            } "cafa1f90";
          } "44017cb3";
        } "1c5108b8";
      } "88bb5c43";
      src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {
        itm1.item first as item where (linkId = 'Ccc.B22.DE02') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src -> tgt then CccobservationCccb22de02(src, tgt) "c3e885af";
            } "60b301de";
          } "815e425c";
        } "85d3c3a3";
      } "c7e0dbc2";
      src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {
        itm1.item first as itm2 where linkId = 'second' then {
          itm2.item first as item where (linkId = 'Ccc.B22.DE04') and answer.exists() then {
            src -> bundle.entry as entry then {
              src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
              src -> entry.resource = create('Observation') as tgt then {
                src -> tgt then CccobservationCccb22de04(src, tgt) "42ed4c3a";
              } "b802d4a2";
            } "c7431f4f";
          } "ad5094ed";
        } "3b2e9629";
      } "318dfe75";
      src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {
        itm1.item first as itm2 where linkId = 'second' then {
          itm2.item first as item where (linkId = 'Ccc.B22.DE05') and answer.exists() then {
            src -> bundle.entry as entry then {
              src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
              src -> entry.resource = create('Observation') as tgt then {
                src -> tgt then CccobservationCccb22de05(src, tgt) "3be4cd34";
              } "b7585bc2";
            } "61b1a5c6";
          } "d9d928a7";
        } "9853d168";
      } "c21c2c7c";
      src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {
        itm1.item first as item where (linkId = 'Ccc.B22.DE07') and answer.exists() then {
          src -> bundle.entry as entry then {
            src ->  entry.request as request,  request.method = 'POST',  uuid() as uuid,  request.url = append('/Observation/', uuid) "b50ac4c5";
            src -> entry.resource = create('Observation') as tgt then {
              src -> tgt then CccobservationCccb22de07(src, tgt) "fa30cee1";
            } "aad75965";
          } "8267defb";
        } "a2eebe03";
      } "7ef76f25";
    }

    group CccobservationCccb10s2de03(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb10s2de03";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B10S2.DE03' "code-Cccb10s2de03";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B10S2.DE03') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb10s2de03";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb10s2de03";
        } "bdab9370";
      } "f8989270";
    }

    group CccobservationCccb10s2de04(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb10s2de04";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B10S2.DE04' "code-Cccb10s2de04";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B10S2.DE04') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb10s2de04";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb10s2de04";
        } "bdab9370";
      } "84e99b62";
    }

    group CccobservationCccb10s2de05(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb10s2de05";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B10S2.DE05' "code-Cccb10s2de05";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B10S2.DE05') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb10s2de05";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb10s2de05";
        } "bdab9370";
      } "822a6b5c";
    }

    group CccobservationCccb10s2de06(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb10s2de06";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B10S2.DE06' "code-Cccb10s2de06";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B10S2.DE06') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb10s2de06";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb10s2de06";
        } "bdab9370";
      } "ccfb93d4";
    }

    group CccobservationCccb10s2de07(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb10s2de07";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B10S2.DE07' "code-Cccb10s2de07";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as itm1 where linkId = 'Oxygen_Saturation' then {
        itm1.item first as item where (linkId = 'Ccc.B10S2.DE07') and answer.exists() then {
          item.answer first as a then {
            a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";
          } "d40466ff";
        } "eef20b5e";
      } "c5b03c7d";
    }

    group CccobservationCccb11s2de01(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb11s2de01";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B11S2.DE01' "code-Cccb11s2de01";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B11S2.DE01') and answer.exists() then {
        item.answer first as a then {
          a.value as val then {
            val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";
          } "26c2c8c7";
        } "721205d5";
      } "52679414";
    }

    group CccobservationCccb11s2de02(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb11s2de02";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B11S2.DE02' "code-Cccb11s2de02";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B11S2.DE02') and answer.exists() then {
        item.answer first as a then {
          a.value as val then {
            val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";
            val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";
          } "310f4b1f";
        } "6af9bfcc";
      } "73bc942d";
    }

    group CccobservationCccb11s2de06(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb11s2de06";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B11S2.DE06' "code-Cccb11s2de06";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B11S2.DE06') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb11s2de06";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb11s2de06";
        } "bdab9370";
      } "47e72c0c";
    }

    group CccobservationCccb17s1de01(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb17s1de01";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B17S1.DE01' "code-Cccb17s1de01";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B17S1.DE01') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb17s1de01";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb17s1de01";
        } "bdab9370";
      } "11b37b57";
    }

    group CccobservationCccb17s1de02(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb17s1de02";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B17S1.DE02' "code-Cccb17s1de02";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B17S1.DE02') and answer.exists() then {
        item.answer first as a then {
          a.value as val then {
            val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";
            val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";
          } "310f4b1f";
        } "6af9bfcc";
      } "239f6c79";
    }

    group CccobservationCccb17s1de06(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb17s1de06";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B17S1.DE06' "code-Cccb17s1de06";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B17S1.DE06') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb17s1de06";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb17s1de06";
        } "bdab9370";
      } "2dd51df6";
    }

    group CccobservationCccb17s1de07(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb17s1de07";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B17S1.DE07' "code-Cccb17s1de07";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B17S1.DE07') and answer.exists() then {
        item.answer first as a then {
          a.value as val then {
            val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";
            val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";
          } "310f4b1f";
        } "6af9bfcc";
      } "21ffdb9d";
    }

    group CccobservationCccb13s2de01(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb13s2de01";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B13S2.DE01' "code-Cccb13s2de01";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B13S2.DE01') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb13s2de01";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb13s2de01";
        } "bdab9370";
      } "eabd29fd";
    }

    group CccobservationCccb13s2de02(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb13s2de02";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B13S2.DE02' "code-Cccb13s2de02";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B13S2.DE02') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb13s2de02";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb13s2de02";
        } "bdab9370";
      } "5b651554";
    }

    group CccobservationCccb13s2de03(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb13s2de03";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B13S2.DE03' "code-Cccb13s2de03";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B13S2.DE03') and answer.exists() then {
        item.answer first as a then {
          a.value as val then {
            val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";
            val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";
          } "310f4b1f";
        } "6af9bfcc";
      } "b937d9f0";
    }

    group CccobservationCccb12s2de01(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb12s2de01";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B12S2.DE01' "code-Cccb12s2de01";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B12S2.DE01') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb12s2de01";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb12s2de01";
        } "bdab9370";
      } "de146d59";
    }

    group CccobservationCccb12s2de05(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb12s2de05";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B12S2.DE05' "code-Cccb12s2de05";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B12S2.DE05') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb12s2de05";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb12s2de05";
        } "bdab9370";
      } "c913991e";
    }

    group CccobservationCccb14s2de01(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de01";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE01' "code-Cccb14s2de01";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B14S2.DE01') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de01";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de01";
        } "bdab9370";
      } "ffbd856e";
    }

    group CccobservationCccb14s2de02(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de02";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE02' "code-Cccb14s2de02";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B14S2.DE02') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de02";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de02";
        } "bdab9370";
      } "0fee727b";
    }

    group CccobservationCccb14s2de03(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de03";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE03' "code-Cccb14s2de03";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B14S2.DE03') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de03";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de03";
        } "bdab9370";
      } "35101ce1";
    }

    group CccobservationCccb14s2de04(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de04";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE04' "code-Cccb14s2de04";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B14S2.DE04') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de04";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de04";
        } "bdab9370";
      } "b57020c5";
    }

    group CccobservationCccb14s2de05(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de05";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE05' "code-Cccb14s2de05";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B14S2.DE05') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de05";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de05";
        } "bdab9370";
      } "0b745de8";
    }

    group CccobservationCccb14s2de06Cccb14s2de07t(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de06Cccb14s2de07t";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE06&Ccc.B14S2.DE07' "code-CccobservationCccb14s2de06Cccb14s2de07t";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";
    }

    group CccobservationCccb14s2de06Cccb14s2de07f(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de06Cccb14s2de07f";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE06&Ccc.B14S2.DE07' "code-CccobservationCccb14s2de06Cccb14s2de07f";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";
    }

    group CccobservationCccb14s2de06Cccb14s2de08t(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de06Cccb14s2de08t";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE06&Ccc.B14S2.DE08' "code-CccobservationCccb14s2de06Cccb14s2de08t";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";
    }

    group CccobservationCccb14s2de06Cccb14s2de08f(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de06Cccb14s2de08f";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE06&Ccc.B14S2.DE08' "code-CccobservationCccb14s2de06Cccb14s2de08f";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";
    }

    group CccobservationCccb14s2de06Cccb14s2de09t(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de06Cccb14s2de09t";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE06&Ccc.B14S2.DE09' "code-CccobservationCccb14s2de06Cccb14s2de09t";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";
    }

    group CccobservationCccb14s2de06Cccb14s2de09f(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de06Cccb14s2de09f";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE06&Ccc.B14S2.DE09' "code-CccobservationCccb14s2de06Cccb14s2de09f";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";
    }

    group CccobservationCccb14s2de10(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de10";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE10' "code-Cccb14s2de10";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B14S2.DE10') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de10";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de10";
        } "bdab9370";
      } "686fa0c0";
    }

    group CccobservationCccb14s2de11(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de11";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE11' "code-Cccb14s2de11";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B14S2.DE11') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de11";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de11";
        } "bdab9370";
      } "9d9704d8";
    }

    group CccobservationCccb14s2de12(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de12";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE12' "code-Cccb14s2de12";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B14S2.DE12') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de12";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de12";
        } "bdab9370";
      } "51199b07";
    }

    group CccobservationCccb14s2de13Cccb14s2de18t(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de18t";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE18' "code-CccobservationCccb14s2de13Cccb14s2de18t";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";
    }

    group CccobservationCccb14s2de13Cccb14s2de18f(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de18f";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE18' "code-CccobservationCccb14s2de13Cccb14s2de18f";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";
    }

    group CccobservationCccb14s2de13Cccb14s2de19t(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de19t";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE19' "code-CccobservationCccb14s2de13Cccb14s2de19t";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";
    }

    group CccobservationCccb14s2de13Cccb14s2de19f(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de19f";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE19' "code-CccobservationCccb14s2de13Cccb14s2de19f";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";
    }

    group CccobservationCccb14s2de13Cccb14s2de21t(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de21t";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE21' "code-CccobservationCccb14s2de13Cccb14s2de21t";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";
    }

    group CccobservationCccb14s2de13Cccb14s2de21f(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de21f";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE21' "code-CccobservationCccb14s2de13Cccb14s2de21f";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";
    }

    group CccobservationCccb14s2de13Cccb14s2de22t(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de22t";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE22' "code-CccobservationCccb14s2de13Cccb14s2de22t";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";
    }

    group CccobservationCccb14s2de13Cccb14s2de22f(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de22f";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE22' "code-CccobservationCccb14s2de13Cccb14s2de22f";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";
    }

    group CccobservationCccb14s2de13Cccb14s2de23t(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de23t";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE23' "code-CccobservationCccb14s2de13Cccb14s2de23t";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";
    }

    group CccobservationCccb14s2de13Cccb14s2de23f(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de23f";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE23' "code-CccobservationCccb14s2de13Cccb14s2de23f";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";
    }

    group CccobservationCccb14s2de13Cccb14s2de25t(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de25t";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE25' "code-CccobservationCccb14s2de13Cccb14s2de25t";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";
    }

    group CccobservationCccb14s2de13Cccb14s2de25f(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de25f";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE25' "code-CccobservationCccb14s2de13Cccb14s2de25f";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";
    }

    group CccobservationCccb14s2de13Cccb14s2de31t(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de31t";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE31' "code-CccobservationCccb14s2de13Cccb14s2de31t";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";
    }

    group CccobservationCccb14s2de13Cccb14s2de31f(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de31f";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE31' "code-CccobservationCccb14s2de13Cccb14s2de31f";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";
    }

    group CccobservationCccb14s2de13Cccb14s2de32t(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de32t";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE32' "code-CccobservationCccb14s2de13Cccb14s2de32t";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";
    }

    group CccobservationCccb14s2de13Cccb14s2de32f(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de32f";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE32' "code-CccobservationCccb14s2de13Cccb14s2de32f";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";
    }

    group CccobservationCccb14s2de13Cccb14s2de33t(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de33t";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE33' "code-CccobservationCccb14s2de13Cccb14s2de33t";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";
    }

    group CccobservationCccb14s2de13Cccb14s2de33f(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de33f";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE33' "code-CccobservationCccb14s2de13Cccb14s2de33f";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";
    }

    group CccobservationCccb14s2de13Cccb14s2de35t(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de35t";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE35' "code-CccobservationCccb14s2de13Cccb14s2de35t";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";
    }

    group CccobservationCccb14s2de13Cccb14s2de35f(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de35f";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE35' "code-CccobservationCccb14s2de13Cccb14s2de35f";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";
    }

    group CccobservationCccb14s2de13Cccb14s2de36t(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de36t";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE36' "code-CccobservationCccb14s2de13Cccb14s2de36t";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";
    }

    group CccobservationCccb14s2de13Cccb14s2de36f(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de36f";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE36' "code-CccobservationCccb14s2de13Cccb14s2de36f";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";
    }

    group CccobservationCccb14s2de13Cccb14s2de37t(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de37t";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE37' "code-CccobservationCccb14s2de13Cccb14s2de37t";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";
    }

    group CccobservationCccb14s2de13Cccb14s2de37f(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de13Cccb14s2de37f";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE13&Ccc.B14S2.DE37' "code-CccobservationCccb14s2de13Cccb14s2de37f";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";
    }

    group CccobservationCccb14s2de19a(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de19a";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE19a' "code-Cccb14s2de19a";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B14S2.DE19a') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de19a";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de19a";
        } "bdab9370";
      } "7704f1e6";
    }

    group CccobservationCccb14s2de22a(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de22a";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE22A' "code-Cccb14s2de22a";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B14S2.DE22A') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de22a";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de22a";
        } "bdab9370";
      } "34b4bff4";
    }

    group CccobservationCccb14s2de23a(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de23a";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE23a' "code-Cccb14s2de23a";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B14S2.DE23a') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de23a";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de23a";
        } "bdab9370";
      } "cbc06169";
    }

    group CccobservationCccb14s2de24(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de24";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE24' "code-Cccb14s2de24";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B14S2.DE24') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de24";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de24";
        } "bdab9370";
      } "a8bffbd0";
    }

    group CccobservationCccb14s2de30(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de30";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE30' "code-Cccb14s2de30";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B14S2.DE30') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de30";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de30";
        } "bdab9370";
      } "5c4c116c";
    }

    group CccobservationCccb14s2de30b(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de30b";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE30b' "code-Cccb14s2de30b";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B14S2.DE30b') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de30b";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de30b";
        } "bdab9370";
      } "b2203142";
    }

    group CccobservationCccb14s2de31a(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de31a";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE31a' "code-Cccb14s2de31a";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B14S2.DE31a') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de31a";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de31a";
        } "bdab9370";
      } "c1d62dd8";
    }

    group CccobservationCccb14s2de31b(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de31b";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE31b' "code-Cccb14s2de31b";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B14S2.DE31b') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de31b";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de31b";
        } "bdab9370";
      } "53c39908";
    }

    group CccobservationCccb14s2de32a(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de32a";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE32a' "code-Cccb14s2de32a";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B14S2.DE32a') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de32a";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de32a";
        } "bdab9370";
      } "a295ad88";
    }

    group CccobservationCccb14s2de34(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de34";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE34' "code-Cccb14s2de34";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B14S2.DE34') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de34";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de34";
        } "bdab9370";
      } "6bc4a7ea";
    }

    group CccobservationCccb14s2de36a(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de36a";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE36a' "code-Cccb14s2de36a";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B14S2.DE36a') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de36a";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de36a";
        } "bdab9370";
      } "72b21d5c";
    }

    group CccobservationCccb14s2de36b(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de36b";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE36b' "code-Cccb14s2de36b";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B14S2.DE36b') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de36b";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de36b";
        } "bdab9370";
      } "d3720173";
    }

    group CccobservationCccb14s2de36c(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de36c";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE36c' "code-Cccb14s2de36c";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B14S2.DE36c') and answer.exists() then {
        item.answer first as a then {
          a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb14s2de36c";
          a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb14s2de36c";
        } "bdab9370";
      } "4f384bfd";
    }

    group CccobservationCccb14s2de38(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb14s2de38";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE38' "code-Cccb14s2de38";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B14S2.DE38') and answer.exists() then {
        item.answer first as a then {
          a.value as val then {
            val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";
            val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";
          } "310f4b1f";
        } "6af9bfcc";
      } "d40efaa7";
    }

    group CccobservationCccb14s2de43Cccb14s2de44t(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de43Cccb14s2de44t";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE43&Ccc.B14S2.DE44' "code-CccobservationCccb14s2de43Cccb14s2de44t";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";
    }

    group CccobservationCccb14s2de43Cccb14s2de44f(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de43Cccb14s2de44f";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE43&Ccc.B14S2.DE44' "code-CccobservationCccb14s2de43Cccb14s2de44f";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";
    }

    group CccobservationCccb14s2de43Cccb14s2de45t(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de43Cccb14s2de45t";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE43&Ccc.B14S2.DE45' "code-CccobservationCccb14s2de43Cccb14s2de45t";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";
    }

    group CccobservationCccb14s2de43Cccb14s2de45f(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de43Cccb14s2de45f";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE43&Ccc.B14S2.DE45' "code-CccobservationCccb14s2de43Cccb14s2de45f";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";
    }

    group CccobservationCccb14s2de43Cccb14s2de46t(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de43Cccb14s2de46t";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE43&Ccc.B14S2.DE46' "code-CccobservationCccb14s2de43Cccb14s2de46t";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";
    }

    group CccobservationCccb14s2de43Cccb14s2de46f(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de43Cccb14s2de46f";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE43&Ccc.B14S2.DE46' "code-CccobservationCccb14s2de43Cccb14s2de46f";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";
    }

    group CccobservationCccb14s2de43Cccb14s2de47t(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de43Cccb14s2de47t";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE43&Ccc.B14S2.DE47' "code-CccobservationCccb14s2de43Cccb14s2de47t";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'final',  tgt.value = true "e9d639e1";
    }

    group CccobservationCccb14s2de43Cccb14s2de47f(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-CccobservationCccb14s2de43Cccb14s2de47f";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B14S2.DE43&Ccc.B14S2.DE47' "code-CccobservationCccb14s2de43Cccb14s2de47f";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src ->  tgt.status = 'cancelled',  tgt.value = false "f21d6e36";
    }

    group CccobservationCccb15s2de01(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb15s2de01";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B15S2.DE01' "code-Cccb15s2de01";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B15S2.DE01') and answer.exists() then {
        item.answer first as a then {
          a.value as val then {
            val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";
            val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";
          } "310f4b1f";
        } "6af9bfcc";
      } "aa55388e";
    }

    group CccobservationCccb15s2de09(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb15s2de09";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B15S2.DE09' "code-Cccb15s2de09";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as item where (linkId = 'Ccc.B15S2.DE09') and answer.exists() then {
        item.answer first as a then {
          a.value as val then {
            val where val.code = 'none' -> tgt.swrapin_entry_createtatus = 'cancelled' "d0a13fda";
            val where val.code != 'none' ->  tgt.value = create('CodeableConcept') as cc,  cc.coding = val,  tgt.status = 'final' "a1050460";
          } "310f4b1f";
        } "6af9bfcc";
      } "2a2ced9b";
    }

    group CccobservationCccb22de01(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de01";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE01' "code-Cccb22de01";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {
        itm1.item first as item where (linkId = 'Ccc.B22.DE01') and answer.exists() then {
          item.answer first as a then {
            a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";
          } "d40466ff";
        } "e1cd1fa1";
      } "ad8e4fa6";
    }

    group CccobservationCccb22de02(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de02";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE02' "code-Cccb22de02";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {
        itm1.item first as item where (linkId = 'Ccc.B22.DE02') and answer.exists() then {
          item.answer first as a then {
            a.value as val then {
              val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";
            } "26c2c8c7";
          } "721205d5";
        } "38b3c27b";
      } "5b046e45";
    }

    group CccobservationCccb22de04(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de04";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE04' "code-Cccb22de04";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {
        itm1.item first as itm2 where linkId = 'second' then {
          itm2.item first as item where (linkId = 'Ccc.B22.DE04') and answer.exists() then {
            item.answer first as a then {
              a.value as val ->  tgt.value = val,  tgt.status = 'final' "afa0ccc0";
            } "d40466ff";
          } "f66ca63f";
        } "1b837896";
      } "6b3a0b06";
    }

    group CccobservationCccb22de05(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de05";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE05' "code-Cccb22de05";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {
        itm1.item first as itm2 where linkId = 'second' then {
          itm2.item first as item where (linkId = 'Ccc.B22.DE05') and answer.exists() then {
            item.answer first as a then {
              a.value as val then {
                val where val.code = 'true' ->  tgt.status = 'final',  tgt.value = true "8a65aaa5";
              } "26c2c8c7";
            } "721205d5";
          } "48a81a4f";
        } "9322cbb7";
      } "ed73ec89";
    }

    group CccobservationCccb22de07(source src, target tgt) {
      src ->  tgt.identifier = create('Identifier') as CodeID,  CodeID.system = 'http://hl7.org/fhir/namingsystem-identifier-type',  CodeID.use = 'official',  CodeID.value = 'uuid',  CodeID.id = uuid() "id-Cccb22de07";
      src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";
      src.subject as subject ->  tgt.subject = subject,  tgt.meta = create('Meta') as newMeta,  newMeta.profile = 'https://smart.who.int/ccc/StructureDefinition/Cccobservation',  tgt.code = create('CodeableConcept') as concept,  concept.coding = create('Coding') as coding,  coding.system = 'https://smart.who.int/ccc/CodeSystem/Ccc-custom-codes',  coding.code = 'Ccc.B22.DE07' "code-Cccb22de07";
      src.item as itemtimestamp where linkId = 'timestamp' then {
        itemtimestamp.answer first as atimestamp then {
          atimestamp.value as val -> tgt.issued = val "5af77f2c";
        } "7f22f29f";
      } "aae7a11d";
      src.subject as subject -> tgt.subject = subject "patient";
      src.item first as itm1 where linkId = 'Ccc.B22.RespiratoryRate' then {
        itm1.item first as item where (linkId = 'Ccc.B22.DE07') and answer.exists() then {
          item.answer first as a then {
            a where a.value = true ->  tgt.status = 'final',  tgt.value = true "final-Cccb22de07";
            a where a.value = false ->  tgt.status = 'cancelled',  tgt.value = false "notfound-Cccb22de07";
          } "bdab9370";
        } "b5e73929";
      } "306838ed";
    }