WHO Clinical Care in Crisis Implementation Guide for Children
0.1.0 - ci-build
WHO Clinical Care in Crisis Implementation Guide for Children - Local Development build (v0.1.0). See the Directory of published versions
Active as of 2023-10-04 |
@prefix fhir: <http://hl7.org/fhir/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- a fhir:StructureMap ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "che.b24.de06.second.temper"] ; # fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre>map "https://fhir.dk.swisstph-mis.ch/matchbox/fhir/StructureMap/che.b24.de06.second.temper" = "che.b24.de06.second.temper"\r\n\r\n\r\nuses "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" alias 'questionnaireResponse' as source\r\nuses "http://hl7.org/fhir/StructureDefinition/Bundle" alias 'Bundle' as target\r\nuses "https://fhir.dk.swisstph-mis.ch/matchbox/fhir/StructureDefinition/observation" alias 'Observation' as target\r\nuses "https://fhir.dk.swisstph-mis.ch/matchbox/fhir/StructureDefinition/cheobservation" alias 'CHE Observation' as produced\r\n\r\ngroup bundletrans(source src : questionnaireResponse, target bundle : Bundle) {\r\n src -> bundle.id = uuid() "id";\r\n src -> bundle.type = 'batch' "type";\r\n src.item first as item where (linkId = 'CHE.B24.G.DE39') and answer.exists() then {\r\n src -> bundle.entry as entry then {\r\n src -> entry.request as request, request.method = 'POST', uuid() as uuid, request.url = append('/Observation/', uuid) "b50ac4c5";\r\n src -> entry.resource = create('Observation') as tgt then {\r\n src -> tgt then cheobservationcheb24gde39(src, tgt) "866cba39";\r\n } "57cdfa7a";\r\n } "8330e6e7";\r\n } "49b43f38";\r\n src.item first as item where (linkId = 'CHE.B24.G.DE40') and answer.exists() then {\r\n src -> bundle.entry as entry then {\r\n src -> entry.request as request, request.method = 'POST', uuid() as uuid, request.url = append('/Observation/', uuid) "b50ac4c5";\r\n src -> entry.resource = create('Observation') as tgt then {\r\n src -> tgt then cheobservationcheb24gde40(src, tgt) "297a901f";\r\n } "a4b017c6";\r\n } "d7834417";\r\n } "5d379969";\r\n src.item first as item where (linkId = 'CHE.B24.G.DE41') and answer.exists() then {\r\n src -> bundle.entry as entry then {\r\n src -> entry.request as request, request.method = 'POST', uuid() as uuid, request.url = append('/Observation/', uuid) "b50ac4c5";\r\n src -> entry.resource = create('Observation') as tgt then {\r\n src -> tgt then cheobservationcheb24gde41(src, tgt) "1e4185b0";\r\n } "d39efd70";\r\n } "84a3dc4b";\r\n } "cb6ac395";\r\n src.item first as item where (linkId = 'CHE.B24.G.DE42') and answer.exists() then {\r\n src -> bundle.entry as entry then {\r\n src -> entry.request as request, request.method = 'POST', uuid() as uuid, request.url = append('/Observation/', uuid) "b50ac4c5";\r\n src -> entry.resource = create('Observation') as tgt then {\r\n src -> tgt then cheobservationcheb24gde42(src, tgt) "7b704f8b";\r\n } "21aa74d5";\r\n } "57daf351";\r\n } "cccacbed";\r\n src.item first as item where (linkId = 'CHE.B24.G.DE43') and answer.exists() then {\r\n src -> bundle.entry as entry then {\r\n src -> entry.request as request, request.method = 'POST', uuid() as uuid, request.url = append('/Observation/', uuid) "b50ac4c5";\r\n src -> entry.resource = create('Observation') as tgt then {\r\n src -> tgt then cheobservationcheb24gde43(src, tgt) "0b7990fa";\r\n } "869f035c";\r\n } "9e13dac2";\r\n } "28e740b3";\r\n}\r\n\r\ngroup cheobservationcheb24gde39(source src, target tgt) {\r\n 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-cheb24gde39";\r\n src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n src.subject as subject -> tgt.subject = subject, tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://fhir.dk.swisstph-mis.ch/matchbox/fhir/StructureDefinition/cheobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, coding.system = 'https://fhir.dk.swisstph-mis.ch/matchbox/fhir/CodeSystem/che-custom-codes', coding.code = 'CHE.B24.G.DE39' "code-cheb24gde39";\r\n src.item as itemtimestamp where linkId = 'timestamp' then {\r\n itemtimestamp.answer first as atimestamp then {\r\n atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n } "7f22f29f";\r\n } "aae7a11d";\r\n src.subject as subject -> tgt.subject = subject "patient";\r\n src.item first as item where (linkId = 'CHE.B24.G.DE39') and answer.exists() then {\r\n item.answer first as a then {\r\n a.value as val -> tgt.value = val, tgt.status = 'final' "afa0ccc0";\r\n } "d40466ff";\r\n } "097f6a58";\r\n}\r\n\r\ngroup cheobservationcheb24gde40(source src, target tgt) {\r\n 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-cheb24gde40";\r\n src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n src.subject as subject -> tgt.subject = subject, tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://fhir.dk.swisstph-mis.ch/matchbox/fhir/StructureDefinition/cheobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, coding.system = 'https://fhir.dk.swisstph-mis.ch/matchbox/fhir/CodeSystem/che-custom-codes', coding.code = 'CHE.B24.G.DE40' "code-cheb24gde40";\r\n src.item as itemtimestamp where linkId = 'timestamp' then {\r\n itemtimestamp.answer first as atimestamp then {\r\n atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n } "7f22f29f";\r\n } "aae7a11d";\r\n src.subject as subject -> tgt.subject = subject "patient";\r\n src.item first as item where (linkId = 'CHE.B24.G.DE40') and answer.exists() then {\r\n item.answer first as a then {\r\n a.value as val then {\r\n val where val.code = 'CHE.B24.G.DE40' -> tgt.status = 'final', tgt.value = true "292c4a79";\r\n } "8271b135";\r\n } "199216a4";\r\n } "7f7c47ec";\r\n}\r\n\r\ngroup cheobservationcheb24gde41(source src, target tgt) {\r\n 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-cheb24gde41";\r\n src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n src.subject as subject -> tgt.subject = subject, tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://fhir.dk.swisstph-mis.ch/matchbox/fhir/StructureDefinition/cheobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, coding.system = 'https://fhir.dk.swisstph-mis.ch/matchbox/fhir/CodeSystem/che-custom-codes', coding.code = 'CHE.B24.G.DE41' "code-cheb24gde41";\r\n src.item as itemtimestamp where linkId = 'timestamp' then {\r\n itemtimestamp.answer first as atimestamp then {\r\n atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n } "7f22f29f";\r\n } "aae7a11d";\r\n src.subject as subject -> tgt.subject = subject "patient";\r\n src.item first as item where (linkId = 'CHE.B24.G.DE41') and answer.exists() then {\r\n item.answer first as a then {\r\n a.value as val -> tgt.value = val, tgt.status = 'final' "afa0ccc0";\r\n } "d40466ff";\r\n } "8588d7a0";\r\n}\r\n\r\ngroup cheobservationcheb24gde42(source src, target tgt) {\r\n 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-cheobservationcheb24gde42";\r\n src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n src.subject as subject -> tgt.subject = subject, tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://fhir.dk.swisstph-mis.ch/matchbox/fhir/StructureDefinition/cheobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, coding.system = 'https://fhir.dk.swisstph-mis.ch/matchbox/fhir/CodeSystem/che-custom-codes', coding.code = 'CHE.B24.G.DE42' "code-cheobservationcheb24gde42";\r\n src.item as itemtimestamp where linkId = 'timestamp' then {\r\n itemtimestamp.answer first as atimestamp then {\r\n atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n } "7f22f29f";\r\n } "aae7a11d";\r\n src.subject as subject -> tgt.subject = subject "patient";\r\n src.item first as item where (linkId = 'CHE.B24.G.DE42') and answer.exists() then {\r\n item.answer first as a then {\r\n a where value = 'Low' then {\r\n a -> tgt.value = create('CodeableConcept') as cc, cc.coding = create('Coding') as c, c.code = 'Low', c.system = 'https://fhir.dk.swisstph-mis.ch/matchbox/fhir/CodeSystem/che-custom-codes', tgt.status = 'final' "f9b4a56b";\r\n } "70911ad5";\r\n a where value = 'Normal' then {\r\n a -> tgt.value = create('CodeableConcept') as cc, cc.coding = create('Coding') as c, c.code = 'Normal', c.system = 'https://fhir.dk.swisstph-mis.ch/matchbox/fhir/CodeSystem/che-custom-codes', tgt.status = 'final' "d4c7e2f1";\r\n } "7673921d";\r\n a where value = 'High' then {\r\n a -> tgt.value = create('CodeableConcept') as cc, cc.coding = create('Coding') as c, c.code = 'High', c.system = 'https://fhir.dk.swisstph-mis.ch/matchbox/fhir/CodeSystem/che-custom-codes', tgt.status = 'final' "6a061bec";\r\n } "a67e1fa8";\r\n a where value = 'Very High' then {\r\n a -> tgt.value = create('CodeableConcept') as cc, cc.coding = create('Coding') as c, c.code = 'Very High', c.system = 'https://fhir.dk.swisstph-mis.ch/matchbox/fhir/CodeSystem/che-custom-codes', tgt.status = 'final' "b6176e12";\r\n } "c3a301f6";\r\n } "dab04994";\r\n } "de12f5db";\r\n}\r\n\r\ngroup cheobservationcheb24gde43(source src, target tgt) {\r\n 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-cheb24gde43";\r\n src.encounter as encounter -> tgt.encounter = encounter "35bc6b82";\r\n src.subject as subject -> tgt.subject = subject, tgt.meta = create('Meta') as newMeta, newMeta.profile = 'https://fhir.dk.swisstph-mis.ch/matchbox/fhir/StructureDefinition/cheobservation', tgt.code = create('CodeableConcept') as concept, concept.coding = create('Coding') as coding, coding.system = 'https://fhir.dk.swisstph-mis.ch/matchbox/fhir/CodeSystem/che-custom-codes', coding.code = 'CHE.B24.G.DE43' "code-cheb24gde43";\r\n src.item as itemtimestamp where linkId = 'timestamp' then {\r\n itemtimestamp.answer first as atimestamp then {\r\n atimestamp.value as val -> tgt.issued = val "5af77f2c";\r\n } "7f22f29f";\r\n } "aae7a11d";\r\n src.subject as subject -> tgt.subject = subject "patient";\r\n src.item first as item where (linkId = 'CHE.B24.G.DE43') and answer.exists() then {\r\n item.answer first as a then {\r\n a.value as val then {\r\n val where val.code = 'CHE.B24.G.DE43' -> tgt.status = 'final', tgt.value = true "e0a426db";\r\n } "e1ba65b0";\r\n } "b567d9ca";\r\n } "1cd8ee7f";\r\n}\r\n\r\n</pre></div>" ] ; # fhir:url [ fhir:v "https://fhir.dk.swisstph-mis.ch/matchbox/fhir/StructureMap/che.b24.de06.second.temper"^^xsd:anyURI] ; # fhir:version [ fhir:v "0.1.0"] ; # fhir:name [ fhir:v "che.b24.de06.second.temper"] ; # fhir:status [ fhir:v "active"] ; # fhir:date [ fhir:v "2023-10-04T12:32:21+00:00"^^xsd:dateTime] ; # fhir:publisher [ fhir:v "WHO"] ; # fhir:contact ( [ fhir:name [ fhir:v "WHO" ] ; ( fhir:telecom [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://who.int" ] ] ) ] ) ; # fhir:structure ( [ fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse> ] ; fhir:mode [ fhir:v "source" ] ; fhir:alias [ fhir:v "'questionnaireResponse'" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/Bundle"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle> ] ; fhir:mode [ fhir:v "target" ] ; fhir:alias [ fhir:v "'Bundle'" ] ] [ fhir:url [ fhir:v "https://fhir.dk.swisstph-mis.ch/matchbox/fhir/StructureDefinition/observation"^^xsd:anyURI ; fhir:link <https://fhir.dk.swisstph-mis.ch/matchbox/fhir/StructureDefinition/observation> ] ; fhir:mode [ fhir:v "target" ] ; fhir:alias [ fhir:v "'Observation'" ] ] [ fhir:url [ fhir:v "https://fhir.dk.swisstph-mis.ch/matchbox/fhir/StructureDefinition/cheobservation"^^xsd:anyURI ; fhir:link <https://fhir.dk.swisstph-mis.ch/matchbox/fhir/StructureDefinition/cheobservation> ] ; fhir:mode [ fhir:v "produced" ] ; fhir:alias [ fhir:v "'CHE Observation'" ] ] ) ; # fhir:group ( [ fhir:name [ fhir:v "bundletrans" ] ; fhir:typeMode [ fhir:v "none" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "questionnaireResponse" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "bundle" ] ; fhir:type [ fhir:v "Bundle" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "id" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "bundle" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "id" ] ; fhir:transform [ fhir:v "uuid" ] ] ) ] [ fhir:name [ fhir:v "type" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "bundle" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "type" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "batch" ] ] ) ] ) ] [ fhir:name [ fhir:v "49b43f38" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "item" ] ; fhir:listMode [ fhir:v "first" ] ; fhir:variable [ fhir:v "item" ] ; fhir:condition [ fhir:v "(linkId = 'CHE.B24.G.DE39') and answer.exists()" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "8330e6e7" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "bundle" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "entry" ] ; fhir:variable [ fhir:v "entry" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "b50ac4c5" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "entry" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "request" ] ; fhir:variable [ fhir:v "request" ] ] [ fhir:context [ fhir:v "request" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "method" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "POST" ] ] ) ] [ fhir:contextType [ fhir:v "variable" ] ; fhir:variable [ fhir:v "uuid" ] ; fhir:transform [ fhir:v "uuid" ] ] [ fhir:context [ fhir:v "request" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "url" ] ; fhir:transform [ fhir:v "append" ] ; ( fhir:parameter [ fhir:value [ fhir:v "/Observation/" ] ] [ fhir:value [ fhir:v "uuid" ] ] ) ] ) ] [ fhir:name [ fhir:v "57cdfa7a" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "entry" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "resource" ] ; fhir:variable [ fhir:v "tgt" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Observation" ] ] ) ] ) ; ( fhir:rule [ fhir:name [ fhir:v "866cba39" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:contextType [ fhir:v "variable" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "tgt" ] ] ) ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "cheobservationcheb24gde39" ] ; ( fhir:variable [ fhir:v "src" ] [ fhir:v "tgt" ] ) ] ) ] ) ] ) ] ) ] [ fhir:name [ fhir:v "5d379969" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "item" ] ; fhir:listMode [ fhir:v "first" ] ; fhir:variable [ fhir:v "item" ] ; fhir:condition [ fhir:v "(linkId = 'CHE.B24.G.DE40') and answer.exists()" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "d7834417" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "bundle" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "entry" ] ; fhir:variable [ fhir:v "entry" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "b50ac4c5" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "entry" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "request" ] ; fhir:variable [ fhir:v "request" ] ] [ fhir:context [ fhir:v "request" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "method" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "POST" ] ] ) ] [ fhir:contextType [ fhir:v "variable" ] ; fhir:variable [ fhir:v "uuid" ] ; fhir:transform [ fhir:v "uuid" ] ] [ fhir:context [ fhir:v "request" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "url" ] ; fhir:transform [ fhir:v "append" ] ; ( fhir:parameter [ fhir:value [ fhir:v "/Observation/" ] ] [ fhir:value [ fhir:v "uuid" ] ] ) ] ) ] [ fhir:name [ fhir:v "a4b017c6" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "entry" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "resource" ] ; fhir:variable [ fhir:v "tgt" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Observation" ] ] ) ] ) ; ( fhir:rule [ fhir:name [ fhir:v "297a901f" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:contextType [ fhir:v "variable" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "tgt" ] ] ) ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "cheobservationcheb24gde40" ] ; ( fhir:variable [ fhir:v "src" ] [ fhir:v "tgt" ] ) ] ) ] ) ] ) ] ) ] [ fhir:name [ fhir:v "cb6ac395" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "item" ] ; fhir:listMode [ fhir:v "first" ] ; fhir:variable [ fhir:v "item" ] ; fhir:condition [ fhir:v "(linkId = 'CHE.B24.G.DE41') and answer.exists()" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "84a3dc4b" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "bundle" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "entry" ] ; fhir:variable [ fhir:v "entry" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "b50ac4c5" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "entry" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "request" ] ; fhir:variable [ fhir:v "request" ] ] [ fhir:context [ fhir:v "request" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "method" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "POST" ] ] ) ] [ fhir:contextType [ fhir:v "variable" ] ; fhir:variable [ fhir:v "uuid" ] ; fhir:transform [ fhir:v "uuid" ] ] [ fhir:context [ fhir:v "request" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "url" ] ; fhir:transform [ fhir:v "append" ] ; ( fhir:parameter [ fhir:value [ fhir:v "/Observation/" ] ] [ fhir:value [ fhir:v "uuid" ] ] ) ] ) ] [ fhir:name [ fhir:v "d39efd70" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "entry" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "resource" ] ; fhir:variable [ fhir:v "tgt" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Observation" ] ] ) ] ) ; ( fhir:rule [ fhir:name [ fhir:v "1e4185b0" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:contextType [ fhir:v "variable" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "tgt" ] ] ) ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "cheobservationcheb24gde41" ] ; ( fhir:variable [ fhir:v "src" ] [ fhir:v "tgt" ] ) ] ) ] ) ] ) ] ) ] [ fhir:name [ fhir:v "cccacbed" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "item" ] ; fhir:listMode [ fhir:v "first" ] ; fhir:variable [ fhir:v "item" ] ; fhir:condition [ fhir:v "(linkId = 'CHE.B24.G.DE42') and answer.exists()" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "57daf351" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "bundle" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "entry" ] ; fhir:variable [ fhir:v "entry" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "b50ac4c5" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "entry" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "request" ] ; fhir:variable [ fhir:v "request" ] ] [ fhir:context [ fhir:v "request" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "method" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "POST" ] ] ) ] [ fhir:contextType [ fhir:v "variable" ] ; fhir:variable [ fhir:v "uuid" ] ; fhir:transform [ fhir:v "uuid" ] ] [ fhir:context [ fhir:v "request" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "url" ] ; fhir:transform [ fhir:v "append" ] ; ( fhir:parameter [ fhir:value [ fhir:v "/Observation/" ] ] [ fhir:value [ fhir:v "uuid" ] ] ) ] ) ] [ fhir:name [ fhir:v "21aa74d5" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "entry" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "resource" ] ; fhir:variable [ fhir:v "tgt" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Observation" ] ] ) ] ) ; ( fhir:rule [ fhir:name [ fhir:v "7b704f8b" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:contextType [ fhir:v "variable" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "tgt" ] ] ) ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "cheobservationcheb24gde42" ] ; ( fhir:variable [ fhir:v "src" ] [ fhir:v "tgt" ] ) ] ) ] ) ] ) ] ) ] [ fhir:name [ fhir:v "28e740b3" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "item" ] ; fhir:listMode [ fhir:v "first" ] ; fhir:variable [ fhir:v "item" ] ; fhir:condition [ fhir:v "(linkId = 'CHE.B24.G.DE43') and answer.exists()" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "9e13dac2" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "bundle" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "entry" ] ; fhir:variable [ fhir:v "entry" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "b50ac4c5" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "entry" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "request" ] ; fhir:variable [ fhir:v "request" ] ] [ fhir:context [ fhir:v "request" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "method" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "POST" ] ] ) ] [ fhir:contextType [ fhir:v "variable" ] ; fhir:variable [ fhir:v "uuid" ] ; fhir:transform [ fhir:v "uuid" ] ] [ fhir:context [ fhir:v "request" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "url" ] ; fhir:transform [ fhir:v "append" ] ; ( fhir:parameter [ fhir:value [ fhir:v "/Observation/" ] ] [ fhir:value [ fhir:v "uuid" ] ] ) ] ) ] [ fhir:name [ fhir:v "869f035c" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "entry" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "resource" ] ; fhir:variable [ fhir:v "tgt" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Observation" ] ] ) ] ) ; ( fhir:rule [ fhir:name [ fhir:v "0b7990fa" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:contextType [ fhir:v "variable" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "tgt" ] ] ) ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "cheobservationcheb24gde43" ] ; ( fhir:variable [ fhir:v "src" ] [ fhir:v "tgt" ] ) ] ) ] ) ] ) ] ) ] ) ] [ fhir:name [ fhir:v "cheobservationcheb24gde39" ] ; fhir:typeMode [ fhir:v "none" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "id-cheb24gde39" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "identifier" ] ; fhir:variable [ fhir:v "CodeID" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Identifier" ] ] ) ] [ fhir:context [ fhir:v "CodeID" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "http://hl7.org/fhir/namingsystem-identifier-type" ] ] ) ] [ fhir:context [ fhir:v "CodeID" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "use" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "official" ] ] ) ] [ fhir:context [ fhir:v "CodeID" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "uuid" ] ] ) ] [ fhir:context [ fhir:v "CodeID" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "id" ] ; fhir:transform [ fhir:v "uuid" ] ] ) ] [ fhir:name [ fhir:v "35bc6b82" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "encounter" ] ; fhir:variable [ fhir:v "encounter" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "encounter" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "encounter" ] ] ) ] ) ] [ fhir:name [ fhir:v "code-cheb24gde39" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "subject" ] ; fhir:variable [ fhir:v "subject" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "subject" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "subject" ] ] ) ] [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "meta" ] ; fhir:variable [ fhir:v "newMeta" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Meta" ] ] ) ] [ fhir:context [ fhir:v "newMeta" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "profile" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "https://fhir.dk.swisstph-mis.ch/matchbox/fhir/StructureDefinition/cheobservation" ] ] ) ] [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "concept" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "CodeableConcept" ] ] ) ] [ fhir:context [ fhir:v "concept" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "coding" ] ; fhir:variable [ fhir:v "coding" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Coding" ] ] ) ] [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "https://fhir.dk.swisstph-mis.ch/matchbox/fhir/CodeSystem/che-custom-codes" ] ] ) ] [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "CHE.B24.G.DE39" ] ] ) ] ) ] [ fhir:name [ fhir:v "aae7a11d" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "item" ] ; fhir:variable [ fhir:v "itemtimestamp" ] ; fhir:condition [ fhir:v "linkId = 'timestamp'" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "7f22f29f" ] ; ( fhir:source [ fhir:context [ fhir:v "itemtimestamp" ] ; fhir:element [ fhir:v "answer" ] ; fhir:listMode [ fhir:v "first" ] ; fhir:variable [ fhir:v "atimestamp" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "5af77f2c" ] ; ( fhir:source [ fhir:context [ fhir:v "atimestamp" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "val" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "issued" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "val" ] ] ) ] ) ] ) ] ) ] [ fhir:name [ fhir:v "patient" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "subject" ] ; fhir:variable [ fhir:v "subject" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "subject" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "subject" ] ] ) ] ) ] [ fhir:name [ fhir:v "097f6a58" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "item" ] ; fhir:listMode [ fhir:v "first" ] ; fhir:variable [ fhir:v "item" ] ; fhir:condition [ fhir:v "(linkId = 'CHE.B24.G.DE39') and answer.exists()" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "d40466ff" ] ; ( fhir:source [ fhir:context [ fhir:v "item" ] ; fhir:element [ fhir:v "answer" ] ; fhir:listMode [ fhir:v "first" ] ; fhir:variable [ fhir:v "a" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "afa0ccc0" ] ; ( fhir:source [ fhir:context [ fhir:v "a" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "val" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "val" ] ] ) ] [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "status" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "final" ] ] ) ] ) ] ) ] ) ] ) ] [ fhir:name [ fhir:v "cheobservationcheb24gde40" ] ; fhir:typeMode [ fhir:v "none" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "id-cheb24gde40" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "identifier" ] ; fhir:variable [ fhir:v "CodeID" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Identifier" ] ] ) ] [ fhir:context [ fhir:v "CodeID" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "http://hl7.org/fhir/namingsystem-identifier-type" ] ] ) ] [ fhir:context [ fhir:v "CodeID" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "use" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "official" ] ] ) ] [ fhir:context [ fhir:v "CodeID" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "uuid" ] ] ) ] [ fhir:context [ fhir:v "CodeID" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "id" ] ; fhir:transform [ fhir:v "uuid" ] ] ) ] [ fhir:name [ fhir:v "35bc6b82" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "encounter" ] ; fhir:variable [ fhir:v "encounter" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "encounter" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "encounter" ] ] ) ] ) ] [ fhir:name [ fhir:v "code-cheb24gde40" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "subject" ] ; fhir:variable [ fhir:v "subject" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "subject" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "subject" ] ] ) ] [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "meta" ] ; fhir:variable [ fhir:v "newMeta" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Meta" ] ] ) ] [ fhir:context [ fhir:v "newMeta" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "profile" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "https://fhir.dk.swisstph-mis.ch/matchbox/fhir/StructureDefinition/cheobservation" ] ] ) ] [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "concept" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "CodeableConcept" ] ] ) ] [ fhir:context [ fhir:v "concept" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "coding" ] ; fhir:variable [ fhir:v "coding" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Coding" ] ] ) ] [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "https://fhir.dk.swisstph-mis.ch/matchbox/fhir/CodeSystem/che-custom-codes" ] ] ) ] [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "CHE.B24.G.DE40" ] ] ) ] ) ] [ fhir:name [ fhir:v "aae7a11d" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "item" ] ; fhir:variable [ fhir:v "itemtimestamp" ] ; fhir:condition [ fhir:v "linkId = 'timestamp'" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "7f22f29f" ] ; ( fhir:source [ fhir:context [ fhir:v "itemtimestamp" ] ; fhir:element [ fhir:v "answer" ] ; fhir:listMode [ fhir:v "first" ] ; fhir:variable [ fhir:v "atimestamp" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "5af77f2c" ] ; ( fhir:source [ fhir:context [ fhir:v "atimestamp" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "val" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "issued" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "val" ] ] ) ] ) ] ) ] ) ] [ fhir:name [ fhir:v "patient" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "subject" ] ; fhir:variable [ fhir:v "subject" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "subject" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "subject" ] ] ) ] ) ] [ fhir:name [ fhir:v "7f7c47ec" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "item" ] ; fhir:listMode [ fhir:v "first" ] ; fhir:variable [ fhir:v "item" ] ; fhir:condition [ fhir:v "(linkId = 'CHE.B24.G.DE40') and answer.exists()" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "199216a4" ] ; ( fhir:source [ fhir:context [ fhir:v "item" ] ; fhir:element [ fhir:v "answer" ] ; fhir:listMode [ fhir:v "first" ] ; fhir:variable [ fhir:v "a" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "8271b135" ] ; ( fhir:source [ fhir:context [ fhir:v "a" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "val" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "292c4a79" ] ; ( fhir:source [ fhir:context [ fhir:v "val" ] ; fhir:condition [ fhir:v "val.code = 'CHE.B24.G.DE40'" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "status" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "final" ] ] ) ] [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "true"^^xsd:boolean ] ] ) ] ) ] ) ] ) ] ) ] ) ] [ fhir:name [ fhir:v "cheobservationcheb24gde41" ] ; fhir:typeMode [ fhir:v "none" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "id-cheb24gde41" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "identifier" ] ; fhir:variable [ fhir:v "CodeID" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Identifier" ] ] ) ] [ fhir:context [ fhir:v "CodeID" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "http://hl7.org/fhir/namingsystem-identifier-type" ] ] ) ] [ fhir:context [ fhir:v "CodeID" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "use" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "official" ] ] ) ] [ fhir:context [ fhir:v "CodeID" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "uuid" ] ] ) ] [ fhir:context [ fhir:v "CodeID" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "id" ] ; fhir:transform [ fhir:v "uuid" ] ] ) ] [ fhir:name [ fhir:v "35bc6b82" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "encounter" ] ; fhir:variable [ fhir:v "encounter" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "encounter" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "encounter" ] ] ) ] ) ] [ fhir:name [ fhir:v "code-cheb24gde41" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "subject" ] ; fhir:variable [ fhir:v "subject" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "subject" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "subject" ] ] ) ] [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "meta" ] ; fhir:variable [ fhir:v "newMeta" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Meta" ] ] ) ] [ fhir:context [ fhir:v "newMeta" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "profile" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "https://fhir.dk.swisstph-mis.ch/matchbox/fhir/StructureDefinition/cheobservation" ] ] ) ] [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "concept" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "CodeableConcept" ] ] ) ] [ fhir:context [ fhir:v "concept" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "coding" ] ; fhir:variable [ fhir:v "coding" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Coding" ] ] ) ] [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "https://fhir.dk.swisstph-mis.ch/matchbox/fhir/CodeSystem/che-custom-codes" ] ] ) ] [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "CHE.B24.G.DE41" ] ] ) ] ) ] [ fhir:name [ fhir:v "aae7a11d" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "item" ] ; fhir:variable [ fhir:v "itemtimestamp" ] ; fhir:condition [ fhir:v "linkId = 'timestamp'" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "7f22f29f" ] ; ( fhir:source [ fhir:context [ fhir:v "itemtimestamp" ] ; fhir:element [ fhir:v "answer" ] ; fhir:listMode [ fhir:v "first" ] ; fhir:variable [ fhir:v "atimestamp" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "5af77f2c" ] ; ( fhir:source [ fhir:context [ fhir:v "atimestamp" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "val" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "issued" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "val" ] ] ) ] ) ] ) ] ) ] [ fhir:name [ fhir:v "patient" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "subject" ] ; fhir:variable [ fhir:v "subject" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "subject" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "subject" ] ] ) ] ) ] [ fhir:name [ fhir:v "8588d7a0" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "item" ] ; fhir:listMode [ fhir:v "first" ] ; fhir:variable [ fhir:v "item" ] ; fhir:condition [ fhir:v "(linkId = 'CHE.B24.G.DE41') and answer.exists()" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "d40466ff" ] ; ( fhir:source [ fhir:context [ fhir:v "item" ] ; fhir:element [ fhir:v "answer" ] ; fhir:listMode [ fhir:v "first" ] ; fhir:variable [ fhir:v "a" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "afa0ccc0" ] ; ( fhir:source [ fhir:context [ fhir:v "a" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "val" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "val" ] ] ) ] [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "status" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "final" ] ] ) ] ) ] ) ] ) ] ) ] [ fhir:name [ fhir:v "cheobservationcheb24gde42" ] ; fhir:typeMode [ fhir:v "none" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "id-cheobservationcheb24gde42" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "identifier" ] ; fhir:variable [ fhir:v "CodeID" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Identifier" ] ] ) ] [ fhir:context [ fhir:v "CodeID" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "http://hl7.org/fhir/namingsystem-identifier-type" ] ] ) ] [ fhir:context [ fhir:v "CodeID" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "use" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "official" ] ] ) ] [ fhir:context [ fhir:v "CodeID" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "uuid" ] ] ) ] [ fhir:context [ fhir:v "CodeID" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "id" ] ; fhir:transform [ fhir:v "uuid" ] ] ) ] [ fhir:name [ fhir:v "35bc6b82" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "encounter" ] ; fhir:variable [ fhir:v "encounter" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "encounter" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "encounter" ] ] ) ] ) ] [ fhir:name [ fhir:v "code-cheobservationcheb24gde42" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "subject" ] ; fhir:variable [ fhir:v "subject" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "subject" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "subject" ] ] ) ] [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "meta" ] ; fhir:variable [ fhir:v "newMeta" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Meta" ] ] ) ] [ fhir:context [ fhir:v "newMeta" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "profile" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "https://fhir.dk.swisstph-mis.ch/matchbox/fhir/StructureDefinition/cheobservation" ] ] ) ] [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "concept" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "CodeableConcept" ] ] ) ] [ fhir:context [ fhir:v "concept" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "coding" ] ; fhir:variable [ fhir:v "coding" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Coding" ] ] ) ] [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "https://fhir.dk.swisstph-mis.ch/matchbox/fhir/CodeSystem/che-custom-codes" ] ] ) ] [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "CHE.B24.G.DE42" ] ] ) ] ) ] [ fhir:name [ fhir:v "aae7a11d" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "item" ] ; fhir:variable [ fhir:v "itemtimestamp" ] ; fhir:condition [ fhir:v "linkId = 'timestamp'" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "7f22f29f" ] ; ( fhir:source [ fhir:context [ fhir:v "itemtimestamp" ] ; fhir:element [ fhir:v "answer" ] ; fhir:listMode [ fhir:v "first" ] ; fhir:variable [ fhir:v "atimestamp" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "5af77f2c" ] ; ( fhir:source [ fhir:context [ fhir:v "atimestamp" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "val" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "issued" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "val" ] ] ) ] ) ] ) ] ) ] [ fhir:name [ fhir:v "patient" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "subject" ] ; fhir:variable [ fhir:v "subject" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "subject" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "subject" ] ] ) ] ) ] [ fhir:name [ fhir:v "de12f5db" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "item" ] ; fhir:listMode [ fhir:v "first" ] ; fhir:variable [ fhir:v "item" ] ; fhir:condition [ fhir:v "(linkId = 'CHE.B24.G.DE42') and answer.exists()" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "dab04994" ] ; ( fhir:source [ fhir:context [ fhir:v "item" ] ; fhir:element [ fhir:v "answer" ] ; fhir:listMode [ fhir:v "first" ] ; fhir:variable [ fhir:v "a" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "70911ad5" ] ; ( fhir:source [ fhir:context [ fhir:v "a" ] ; fhir:condition [ fhir:v "value = 'Low'" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "f9b4a56b" ] ; ( fhir:source [ fhir:context [ fhir:v "a" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "cc" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "CodeableConcept" ] ] ) ] [ fhir:context [ fhir:v "cc" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "coding" ] ; fhir:variable [ fhir:v "c" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Coding" ] ] ) ] [ fhir:context [ fhir:v "c" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Low" ] ] ) ] [ fhir:context [ fhir:v "c" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "https://fhir.dk.swisstph-mis.ch/matchbox/fhir/CodeSystem/che-custom-codes" ] ] ) ] [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "status" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "final" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "7673921d" ] ; ( fhir:source [ fhir:context [ fhir:v "a" ] ; fhir:condition [ fhir:v "value = 'Normal'" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "d4c7e2f1" ] ; ( fhir:source [ fhir:context [ fhir:v "a" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "cc" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "CodeableConcept" ] ] ) ] [ fhir:context [ fhir:v "cc" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "coding" ] ; fhir:variable [ fhir:v "c" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Coding" ] ] ) ] [ fhir:context [ fhir:v "c" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Normal" ] ] ) ] [ fhir:context [ fhir:v "c" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "https://fhir.dk.swisstph-mis.ch/matchbox/fhir/CodeSystem/che-custom-codes" ] ] ) ] [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "status" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "final" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "a67e1fa8" ] ; ( fhir:source [ fhir:context [ fhir:v "a" ] ; fhir:condition [ fhir:v "value = 'High'" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "6a061bec" ] ; ( fhir:source [ fhir:context [ fhir:v "a" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "cc" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "CodeableConcept" ] ] ) ] [ fhir:context [ fhir:v "cc" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "coding" ] ; fhir:variable [ fhir:v "c" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Coding" ] ] ) ] [ fhir:context [ fhir:v "c" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "High" ] ] ) ] [ fhir:context [ fhir:v "c" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "https://fhir.dk.swisstph-mis.ch/matchbox/fhir/CodeSystem/che-custom-codes" ] ] ) ] [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "status" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "final" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "c3a301f6" ] ; ( fhir:source [ fhir:context [ fhir:v "a" ] ; fhir:condition [ fhir:v "value = 'Very High'" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "b6176e12" ] ; ( fhir:source [ fhir:context [ fhir:v "a" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "cc" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "CodeableConcept" ] ] ) ] [ fhir:context [ fhir:v "cc" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "coding" ] ; fhir:variable [ fhir:v "c" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Coding" ] ] ) ] [ fhir:context [ fhir:v "c" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Very High" ] ] ) ] [ fhir:context [ fhir:v "c" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "https://fhir.dk.swisstph-mis.ch/matchbox/fhir/CodeSystem/che-custom-codes" ] ] ) ] [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "status" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "final" ] ] ) ] ) ] ) ] ) ] ) ] ) ] [ fhir:name [ fhir:v "cheobservationcheb24gde43" ] ; fhir:typeMode [ fhir:v "none" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "id-cheb24gde43" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "identifier" ] ; fhir:variable [ fhir:v "CodeID" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Identifier" ] ] ) ] [ fhir:context [ fhir:v "CodeID" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "http://hl7.org/fhir/namingsystem-identifier-type" ] ] ) ] [ fhir:context [ fhir:v "CodeID" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "use" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "official" ] ] ) ] [ fhir:context [ fhir:v "CodeID" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "uuid" ] ] ) ] [ fhir:context [ fhir:v "CodeID" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "id" ] ; fhir:transform [ fhir:v "uuid" ] ] ) ] [ fhir:name [ fhir:v "35bc6b82" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "encounter" ] ; fhir:variable [ fhir:v "encounter" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "encounter" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "encounter" ] ] ) ] ) ] [ fhir:name [ fhir:v "code-cheb24gde43" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "subject" ] ; fhir:variable [ fhir:v "subject" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "subject" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "subject" ] ] ) ] [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "meta" ] ; fhir:variable [ fhir:v "newMeta" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Meta" ] ] ) ] [ fhir:context [ fhir:v "newMeta" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "profile" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "https://fhir.dk.swisstph-mis.ch/matchbox/fhir/StructureDefinition/cheobservation" ] ] ) ] [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "concept" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "CodeableConcept" ] ] ) ] [ fhir:context [ fhir:v "concept" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "coding" ] ; fhir:variable [ fhir:v "coding" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Coding" ] ] ) ] [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "https://fhir.dk.swisstph-mis.ch/matchbox/fhir/CodeSystem/che-custom-codes" ] ] ) ] [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "CHE.B24.G.DE43" ] ] ) ] ) ] [ fhir:name [ fhir:v "aae7a11d" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "item" ] ; fhir:variable [ fhir:v "itemtimestamp" ] ; fhir:condition [ fhir:v "linkId = 'timestamp'" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "7f22f29f" ] ; ( fhir:source [ fhir:context [ fhir:v "itemtimestamp" ] ; fhir:element [ fhir:v "answer" ] ; fhir:listMode [ fhir:v "first" ] ; fhir:variable [ fhir:v "atimestamp" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "5af77f2c" ] ; ( fhir:source [ fhir:context [ fhir:v "atimestamp" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "val" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "issued" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "val" ] ] ) ] ) ] ) ] ) ] [ fhir:name [ fhir:v "patient" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "subject" ] ; fhir:variable [ fhir:v "subject" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "subject" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "subject" ] ] ) ] ) ] [ fhir:name [ fhir:v "1cd8ee7f" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "item" ] ; fhir:listMode [ fhir:v "first" ] ; fhir:variable [ fhir:v "item" ] ; fhir:condition [ fhir:v "(linkId = 'CHE.B24.G.DE43') and answer.exists()" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "b567d9ca" ] ; ( fhir:source [ fhir:context [ fhir:v "item" ] ; fhir:element [ fhir:v "answer" ] ; fhir:listMode [ fhir:v "first" ] ; fhir:variable [ fhir:v "a" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "e1ba65b0" ] ; ( fhir:source [ fhir:context [ fhir:v "a" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "val" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "e0a426db" ] ; ( fhir:source [ fhir:context [ fhir:v "val" ] ; fhir:condition [ fhir:v "val.code = 'CHE.B24.G.DE43'" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "status" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "final" ] ] ) ] [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "true"^^xsd:boolean ] ] ) ] ) ] ) ] ) ] ) ] ) ] ) . #
IG © 2023+ WHO. Package smart-ig-che-cds#0.1.0 based on FHIR 4.0.1. Generated 2023-10-04
Links: Table of Contents |
QA Report
| Version History | License