Starter FHIR Implementation Guide, published by Jembi Health Systems. This guide is not an authorized publication; it is the continuous build for version 1.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/jembi/Starter-FHIR-IG/ and changes regularly. See the Directory of published versions
Draft as of 2024-11-17 |
@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 "ProprietaryBreastfeedingStatusToObservation"] ; # fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap ProprietaryBreastfeedingStatusToObservation</b></p><a name=\"ProprietaryBreastfeedingStatusToObservation\"> </a><a name=\"hcProprietaryBreastfeedingStatusToObservation\"> </a><a name=\"ProprietaryBreastfeedingStatusToObservation-en-US\"> </a><pre class=\"fml\">\r\n<b>map</b><span style=\"color: navy\"> "</span>http://jembi.org/fhir/StructureMap/ProprietaryBreastfeedingStatusToObservation<span style=\"color: navy\">" = "</span>ProprietaryBreastfeedingStatusToObservation<span style=\"color: navy\">"\r\n\r\n</span><b>uses</b><span style=\"color: navy\"> "</span><a href=\"StructureDefinition-BreastfeedingStatusProprietaryLogicalModel.html\" title=\"Breastfeeding Status Proprietary Logical Model\">http://jembi.org/fhir/StructureDefinition/BreastfeedingStatusProprietaryLogicalModel</a><span style=\"color: navy\">" </span><b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"StructureDefinition-breastfeeding-status-observation.html\" title=\"Observation - Breastfeeding Status\">http://jembi.org/fhir/StructureDefinition/breastfeeding-status-observation</a><span style=\"color: navy\">" </span><b>as </b><b>target</b>\r\n\r\n<b>group </b>ProprietaryBreastfeedingStatusToObservation<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>BreastfeedingStatusProprietaryLogicalModel, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>Observation<span style=\"color: navy\">)</span><span style=\"color: navy\"> {\r\n</span> src<span style=\"color: navy\"><b> -> </b></span>tgt.id = <b>uuid</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>"SetObservationId"</i><span style=\"color: navy\">;</span>\r\n src<span style=\"color: navy\"><b> -> </b></span>tgt.meta<b> as </b><span style=\"color: maroon\">meta</span><b> then</b><span style=\"color: navy\"> {\r\n</span> src<span style=\"color: navy\"><b> -> </b></span>meta.profile = <span style=\"color: blue\">'http://jembi.org/fhir/StructureDefinition/breastfeeding-status-observation'</span> <i>"SetObservationMetaProfile"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"SetObservationMeta"</i><span style=\"color: navy\">;</span>\r\n src.observationStatus<b> as </b><span style=\"color: maroon\">status</span><span style=\"color: navy\"><b> -> </b></span>tgt.status = <span style=\"color: maroon\">status</span> <i>"SetObservationStatus"</i><span style=\"color: navy\">;</span>\r\n src.code<b> as </b><span style=\"color: maroon\">code</span><span style=\"color: navy\"><b> -> </b></span>tgt.code = <b>cc</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">code</span><span style=\"color: navy\">)</span> <i>"SetObservationCode"</i><span style=\"color: navy\">;</span>\r\n src<span style=\"color: navy\"><b> -> </b></span> tgt.code<b> as </b><span style=\"color: maroon\">code</span><span style=\"color: navy\">, </span> code.text = <span style=\"color: blue\">'Breastfeeding status'</span> <i>"SetObservationCodeText"</i><span style=\"color: navy\">;</span>\r\n src.date<b> as </b><span style=\"color: maroon\">authored</span><span style=\"color: navy\"><b> -> </b></span>tgt.effective = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'dateTime'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">obsDate</span><b> then</b><span style=\"color: navy\"> {\r\n</span> authored<span style=\"color: navy\"><b> -> </b></span>obsDate.value = <span style=\"color: maroon\">authored</span> <i>"SetObservationEffectiveDateTime"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>\r\n src<span style=\"color: navy\"><b> -> </b></span>tgt.category = <b>cc</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://terminology.hl7.org/CodeSystem/observation-category'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'exam'</span><span style=\"color: navy\">)</span> <i>"SetObservationCategory"</i><span style=\"color: navy\">;</span>\r\n src.patient<b> as </b><span style=\"color: maroon\">patient</span><span style=\"color: navy\"><b> -> </b></span>tgt.subject<b> as </b><span style=\"color: maroon\">subject</span><b> then</b><span style=\"color: navy\"> {\r\n</span> patient<span style=\"color: navy\"><b> -> </b></span>subject.reference = <b>append</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Patient/'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Some FHIR ID generated at the time of CREATE'</span><span style=\"color: navy\">)</span> <i>"SetPatientReference"</i><span style=\"color: navy\">;</span>\r\n patient<span style=\"color: navy\"><b> -> </b></span>subject.extension<b> as </b><span style=\"color: maroon\">ext</span><b> then</b><span style=\"color: navy\"> {\r\n</span> patient<span style=\"color: navy\"><b> -> </b></span>ext.value = <span style=\"color: maroon\">patient</span> <i>"SetOriginalPatientReferenceValue"</i><span style=\"color: navy\">;</span>\r\n patient<span style=\"color: navy\"><b> -> </b></span>ext.url = <span style=\"color: blue\">'http://jembi.org/fhir/StructureDefinition/source-system-resource-reference'</span> <i>"SetOriginalPatientReferenceUrl"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"ProcessPatientReferenceExtension"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"SetObservationPatientReference"</i><span style=\"color: navy\">;</span>\r\n src.performer<b> as </b><span style=\"color: maroon\">author</span><span style=\"color: navy\"><b> -> </b></span>tgt.performer<b> as </b><span style=\"color: maroon\">practitioner</span><b> then</b><span style=\"color: navy\"> {\r\n</span> author<span style=\"color: navy\"><b> -> </b></span>practitioner.reference = <b>append</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Practitioner/'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Some FHIR ID generated at the time of CREATE'</span><span style=\"color: navy\">)</span> <i>"ProcessPerformerReference"</i><span style=\"color: navy\">;</span>\r\n author<span style=\"color: navy\"><b> -> </b></span>practitioner.extension<b> as </b><span style=\"color: maroon\">ext</span><b> then</b><span style=\"color: navy\"> {\r\n</span> author<span style=\"color: navy\"><b> -> </b></span>ext.value = <span style=\"color: maroon\">author</span> <i>"SetOriginalPractitionerReferenceValue"</i><span style=\"color: navy\">;</span>\r\n author<span style=\"color: navy\"><b> -> </b></span>ext.url = <span style=\"color: blue\">'http://jembi.org/fhir/StructureDefinition/source-system-resource-reference'</span> <i>"SetOriginalPractitionerReferenceUrl"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"ProcessPractitionerReferenceExtension"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"SetObservationPerformerReference"</i><span style=\"color: navy\">;</span>\r\n src.encounter<b> as </b><span style=\"color: maroon\">encounter</span><span style=\"color: navy\"><b> -> </b></span>tgt.encounter<b> as </b><span style=\"color: maroon\">enc</span><b> then</b><span style=\"color: navy\"> {\r\n</span> encounter<span style=\"color: navy\"><b> -> </b></span>enc.reference = <b>append</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Encounter/'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Some FHIR ID generated at the time of CREATE'</span><span style=\"color: navy\">)</span> <i>"ProcessEncounterReference"</i><span style=\"color: navy\">;</span>\r\n encounter<span style=\"color: navy\"><b> -> </b></span>enc.extension<b> as </b><span style=\"color: maroon\">ext</span><b> then</b><span style=\"color: navy\"> {\r\n</span> encounter<span style=\"color: navy\"><b> -> </b></span>ext.value = <span style=\"color: maroon\">encounter</span> <i>"SetOriginalEncounterReferenceValue"</i><span style=\"color: navy\">;</span>\r\n encounter<span style=\"color: navy\"><b> -> </b></span>ext.url = <span style=\"color: blue\">'http://jembi.org/fhir/StructureDefinition/source-system-resource-reference'</span> <i>"SetOriginalEncounterReferenceUrl"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"ProcessEncounterReferenceExtension"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"SetObservationEncounterReference"</i><span style=\"color: navy\">;</span>\r\n src.breastFeedingStatus<b> as </b><span style=\"color: maroon\">breastfeeding</span><span style=\"color: navy\"><b> -> </b></span>tgt.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">obsValue</span><b> then</b><span style=\"color: navy\"> {\r\n</span> breastfeeding<span style=\"color: navy\"><b> -> </b></span>obsValue.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">coding</span><b> then</b><span style=\"color: navy\"> {\r\n</span> breastfeeding<span style=\"color: navy\"><b> -> </b></span>coding.system = <span style=\"color: blue\">'http://loinc.org'</span> <i>"SetObservationValueCodingSystem"</i><span style=\"color: navy\">;</span>\r\n breastfeeding<span style=\"color: navy\"><b> -> </b></span>coding.code = <span style=\"color: maroon\">breastfeeding</span> <i>"SetObservationValueCodingCode"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"SetObservationValueCoding"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>" ] ; # fhir:url [ fhir:v "http://jembi.org/fhir/StructureMap/ProprietaryBreastfeedingStatusToObservation"^^xsd:anyURI] ; # fhir:version [ fhir:v "1.0.1"] ; # fhir:name [ fhir:v "ProprietaryBreastfeedingStatusToObservation"] ; # fhir:status [ fhir:v "draft"] ; # fhir:date [ fhir:v "2024-11-17T13:26:33+00:00"^^xsd:dateTime] ; # fhir:publisher [ fhir:v "Jembi Health Systems"] ; # fhir:contact ( [ fhir:name [ fhir:v "Jembi Health Systems" ] ; ( fhir:telecom [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "https://www.jembi.org/" ] ] [ fhir:system [ fhir:v "email" ] ; fhir:value [ fhir:v "info@jembi.org" ] ] ) ] [ fhir:name [ fhir:v "Richard Langford" ] ; ( fhir:telecom [ fhir:system [ fhir:v "email" ] ; fhir:value [ fhir:v "richard.langford@jembi.org" ] ; fhir:use [ fhir:v "work" ] ] ) ] ) ; # fhir:jurisdiction ( [ ( fhir:coding [ fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ; fhir:code [ fhir:v "001" ] ; fhir:display [ fhir:v "World" ] ] ) ] ) ; # fhir:structure ( [ fhir:url [ fhir:v "http://jembi.org/fhir/StructureDefinition/BreastfeedingStatusProprietaryLogicalModel"^^xsd:anyURI ; fhir:link <http://jembi.org/fhir/StructureDefinition/BreastfeedingStatusProprietaryLogicalModel> ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:url [ fhir:v "http://jembi.org/fhir/StructureDefinition/breastfeeding-status-observation"^^xsd:anyURI ; fhir:link <http://jembi.org/fhir/StructureDefinition/breastfeeding-status-observation> ] ; fhir:mode [ fhir:v "target" ] ] ) ; # fhir:group ( [ fhir:name [ fhir:v "ProprietaryBreastfeedingStatusToObservation" ] ; fhir:typeMode [ fhir:v "none" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "BreastfeedingStatusProprietaryLogicalModel" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "Observation" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "SetObservationId" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "id" ] ; fhir:transform [ fhir:v "uuid" ] ] ) ] [ fhir:name [ fhir:v "SetObservationMeta" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "meta" ] ; fhir:variable [ fhir:v "meta" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "SetObservationMetaProfile" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "meta" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "profile" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "http://jembi.org/fhir/StructureDefinition/breastfeeding-status-observation" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "SetObservationStatus" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "observationStatus" ] ; fhir:variable [ fhir:v "status" ] ] ) ; ( 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 "status" ] ] ) ] ) ] [ fhir:name [ fhir:v "SetObservationCode" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "code" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "cc" ] ; ( fhir:parameter [ fhir:value [ fhir:v "http://loinc.org" ] ] [ fhir:value [ fhir:v "code" ] ] ) ] ) ] [ fhir:name [ fhir:v "SetObservationCodeText" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "code" ] ] [ fhir:context [ fhir:v "code" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "text" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Breastfeeding status" ] ] ) ] ) ] [ fhir:name [ fhir:v "date" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "date" ] ; fhir:variable [ fhir:v "authored" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "effective" ] ; fhir:variable [ fhir:v "obsDate" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "dateTime" ] ] ) ] ) ; ( fhir:rule [ fhir:name [ fhir:v "SetObservationEffectiveDateTime" ] ; ( fhir:source [ fhir:context [ fhir:v "authored" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "obsDate" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "authored" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "SetObservationCategory" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "category" ] ; fhir:transform [ fhir:v "cc" ] ; ( fhir:parameter [ fhir:value [ fhir:v "http://terminology.hl7.org/CodeSystem/observation-category" ] ] [ fhir:value [ fhir:v "exam" ] ] ) ] ) ] [ fhir:name [ fhir:v "SetObservationPatientReference" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "patient" ] ; fhir:variable [ fhir:v "patient" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "subject" ] ; fhir:variable [ fhir:v "subject" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "SetPatientReference" ] ; ( fhir:source [ fhir:context [ fhir:v "patient" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "subject" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "reference" ] ; fhir:transform [ fhir:v "append" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Patient/" ] ] [ fhir:value [ fhir:v "Some FHIR ID generated at the time of CREATE" ] ] ) ] ) ] [ fhir:name [ fhir:v "ProcessPatientReferenceExtension" ] ; ( fhir:source [ fhir:context [ fhir:v "patient" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "subject" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "extension" ] ; fhir:variable [ fhir:v "ext" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "SetOriginalPatientReferenceValue" ] ; ( fhir:source [ fhir:context [ fhir:v "patient" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "ext" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "patient" ] ] ) ] ) ] [ fhir:name [ fhir:v "SetOriginalPatientReferenceUrl" ] ; ( fhir:source [ fhir:context [ fhir:v "patient" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "ext" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "url" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "http://jembi.org/fhir/StructureDefinition/source-system-resource-reference" ] ] ) ] ) ] ) ] ) ] [ fhir:name [ fhir:v "SetObservationPerformerReference" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "performer" ] ; fhir:variable [ fhir:v "author" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "performer" ] ; fhir:variable [ fhir:v "practitioner" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "ProcessPerformerReference" ] ; ( fhir:source [ fhir:context [ fhir:v "author" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "practitioner" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "reference" ] ; fhir:transform [ fhir:v "append" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Practitioner/" ] ] [ fhir:value [ fhir:v "Some FHIR ID generated at the time of CREATE" ] ] ) ] ) ] [ fhir:name [ fhir:v "ProcessPractitionerReferenceExtension" ] ; ( fhir:source [ fhir:context [ fhir:v "author" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "practitioner" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "extension" ] ; fhir:variable [ fhir:v "ext" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "SetOriginalPractitionerReferenceValue" ] ; ( fhir:source [ fhir:context [ fhir:v "author" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "ext" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "author" ] ] ) ] ) ] [ fhir:name [ fhir:v "SetOriginalPractitionerReferenceUrl" ] ; ( fhir:source [ fhir:context [ fhir:v "author" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "ext" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "url" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "http://jembi.org/fhir/StructureDefinition/source-system-resource-reference" ] ] ) ] ) ] ) ] ) ] [ fhir:name [ fhir:v "SetObservationEncounterReference" ] ; ( 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:variable [ fhir:v "enc" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "ProcessEncounterReference" ] ; ( fhir:source [ fhir:context [ fhir:v "encounter" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "enc" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "reference" ] ; fhir:transform [ fhir:v "append" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Encounter/" ] ] [ fhir:value [ fhir:v "Some FHIR ID generated at the time of CREATE" ] ] ) ] ) ] [ fhir:name [ fhir:v "ProcessEncounterReferenceExtension" ] ; ( fhir:source [ fhir:context [ fhir:v "encounter" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "enc" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "extension" ] ; fhir:variable [ fhir:v "ext" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "SetOriginalEncounterReferenceValue" ] ; ( fhir:source [ fhir:context [ fhir:v "encounter" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "ext" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "encounter" ] ] ) ] ) ] [ fhir:name [ fhir:v "SetOriginalEncounterReferenceUrl" ] ; ( fhir:source [ fhir:context [ fhir:v "encounter" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "ext" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "url" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "http://jembi.org/fhir/StructureDefinition/source-system-resource-reference" ] ] ) ] ) ] ) ] ) ] [ fhir:name [ fhir:v "breastFeedingStatus" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "breastFeedingStatus" ] ; fhir:variable [ fhir:v "breastfeeding" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "obsValue" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "CodeableConcept" ] ] ) ] ) ; ( fhir:rule [ fhir:name [ fhir:v "SetObservationValueCoding" ] ; ( fhir:source [ fhir:context [ fhir:v "breastfeeding" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "obsValue" ] ; 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:rule [ fhir:name [ fhir:v "SetObservationValueCodingSystem" ] ; ( fhir:source [ fhir:context [ fhir:v "breastfeeding" ] ] ) ; ( fhir:target [ 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 "http://loinc.org" ] ] ) ] ) ] [ fhir:name [ fhir:v "SetObservationValueCodingCode" ] ; ( fhir:source [ fhir:context [ fhir:v "breastfeeding" ] ] ) ; ( fhir:target [ 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 "breastfeeding" ] ] ) ] ) ] ) ] ) ] ) ] ) . #
IG © 2021+ Jembi Health Systems. Package jembi.starter.ig#1.0.1 based on FHIR 4.0.1. Generated 2024-11-17
Links: Table of Contents |
QA Report