FHIR to OMOP FHIR IG, published by HL7 International / Biomedical Research and Regulation. This guide is not an authorized publication; it is the continuous build for version 2.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-omop-ig/ and changes regularly. See the Directory of published versions
| Page standards status: Trial-use | Maturity Level: 2 |
@prefix fhir: <http://hl7.org/fhir/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- <http://hl7.org/fhir/StructureMap/RecordSetMap> a fhir:StructureMap ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "RecordSetMap"] ; # fhir:language [ fhir:v "en"] ; # fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap RecordSetMap</b></p><a name=\"RecordSetMap\"> </a><a name=\"hcRecordSetMap\"> </a><pre class=\"fml\">#xD;\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/uv/omop/StructureMap/RecordSetMap'</span>#xD;\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'RecordSetMap'</span>#xD;\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'Mapping an International Patient Summary resource to OMOP domains collected in a RecordSet resource'</span>#xD;\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>#xD;\n<span style=\"color: #cc00cc\">/// <b>description</b> = </span><span style=\"color: blue\">'This mapping maps a FHIR International Patient Summary Bundle to a set of OMOP Patient records collected in a RecordSet resource.'</span>#xD;\n#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"http://hl7.org/fhir/R5/bundle.html\" title=\"Bundle\">http://hl7.org/fhir/StructureDefinition/Bundle</a><span style=\"color: navy\">\" </span><b>alias </b>Bundle <b>as </b><b>source</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"StructureDefinition-RecordSet.html\" title=\"Patient Record Setting\">http://hl7.org/fhir/uv/omop/StructureDefinition/RecordSet</a><span style=\"color: navy\">\" </span><b>alias </b>RecordSetTable <b>as </b><b>target</b>#xD;\n#xD;\n<b>imports</b><span style=\"color: navy\"> \"</span><a href=\"StructureMap-AllergyMap.html\" title=\"Mapping Allergy resource to Observation OMOP Domain\">http://hl7.org/fhir/uv/omop/StructureMap/AllergyMap</a><span style=\"color: navy\">\"#xD;\n</span><b>imports</b><span style=\"color: navy\"> \"</span><a href=\"StructureMap-BloodPressureVitalSignsMap.html\" title=\"Mapping Blood Pressure Vital Signs resource to Measurement OMOP Domain\">http://hl7.org/fhir/uv/omop/StructureMap/BloodPressureVitalSignsMap</a><span style=\"color: navy\">\"#xD;\n</span><b>imports</b><span style=\"color: navy\"> \"</span><a href=\"StructureMap-ConditionMap.html\" title=\"Mapping Condition resource to Condition Occurrence OMOP Domain\">http://hl7.org/fhir/uv/omop/StructureMap/ConditionMap</a><span style=\"color: navy\">\"#xD;\n</span><b>imports</b><span style=\"color: navy\"> \"</span><a href=\"StructureMap-EncounterVisitMap.html\" title=\"Mapping Encounter resource to VisitOccurrence OMOP Domain\">http://hl7.org/fhir/uv/omop/StructureMap/EncounterVisitMap</a><span style=\"color: navy\">\"#xD;\n</span><b>imports</b><span style=\"color: navy\"> \"</span><a href=\"StructureMap-ImmunizationMap.html\" title=\"Mapping Immunization resource to Drug Exposure OMOP Domain\">http://hl7.org/fhir/uv/omop/StructureMap/ImmunizationMap</a><span style=\"color: navy\">\"#xD;\n</span><b>imports</b><span style=\"color: navy\"> \"</span><a href=\"StructureMap-MeasurementMap.html\" title=\"Mapping Observation resource to Measurement OMOP Domain\">http://hl7.org/fhir/uv/omop/StructureMap/MeasurementMap</a><span style=\"color: navy\">\"#xD;\n</span><b>imports</b><span style=\"color: navy\"> \"</span><a href=\"StructureMap-PersonMap.html\" title=\"Mapping Patient resource to Person OMOP Domain\">http://hl7.org/fhir/uv/omop/StructureMap/PersonMap</a><span style=\"color: navy\">\"#xD;\n</span><b>imports</b><span style=\"color: navy\"> \"</span><a href=\"StructureMap-ProcedureMap.html\" title=\"Mapping Procedure resource to Procedure Occurrence OMOP Domain\">http://hl7.org/fhir/uv/omop/StructureMap/ProcedureMap</a><span style=\"color: navy\">\"#xD;\n</span><b>imports</b><span style=\"color: navy\"> \"</span><a href=\"StructureMap-SimpleVitalSignsMap.html\" title=\"Mapping Vital Ssigns resource to Measurement OMOP Domain\">http://hl7.org/fhir/uv/omop/StructureMap/SimpleVitalSignsMap</a><span style=\"color: navy\">\"#xD;\n</span>#xD;\n<b>group </b>RecordSet<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>Bundle, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>RecordSetTable<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span> src.id<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt<b> then</b><span style=\"color: navy\"> {#xD;\n</span> s.id<b> as </b><span style=\"color: maroon\">id</span><span style=\"color: navy\"><b> -> </b></span>tgt.record_id = <span style=\"color: navy\">(</span>%id.substring(%id.indexOf('/') + 1)<span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Map bundle timestamp</span>#xD;\n src.timestamp<b> as </b><span style=\"color: maroon\">ts</span><span style=\"color: navy\"><b> -> </b></span>tgt.record_set_timestamp = <span style=\"color: maroon\">ts</span><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Map bundle entries</span>#xD;\n src.entry<b> as </b><span style=\"color: maroon\">entry</span><span style=\"color: navy\"><b> -> </b></span>tgt<b> then</b><span style=\"color: navy\"> {#xD;\n</span> entry.resource<span style=\"color: navy\"> : </span>AllergyIntolerance<b> as </b><span style=\"color: maroon\">a</span><span style=\"color: navy\"><b> -> </b></span>tgt<b> then</b><span style=\"color: navy\"> {#xD;\n</span> a<span style=\"color: navy\"><b> -> </b></span>tgt.allergy<b> as </b><span style=\"color: maroon\">allergy</span><b> then </b>Allergy<span style=\"color: navy\">(</span><span style=\"color: maroon\">a</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">allergy</span><span style=\"color: navy\">)</span> <i>\"allergyEntry\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">}</span> <i>\"allergyIntoleranceEntry\"</i><span style=\"color: navy\">;</span>#xD;\n entry.resource<span style=\"color: navy\"> : </span>Condition<b> as </b><span style=\"color: maroon\">condition</span><span style=\"color: navy\"><b> -> </b></span>tgt<b> then</b><span style=\"color: navy\"> {#xD;\n</span> condition<span style=\"color: navy\"><b> -> </b></span>tgt.condition<b> as </b><span style=\"color: maroon\">conditionOccurrence</span><b> then </b>ConditionOccurrence<span style=\"color: navy\">(</span><span style=\"color: maroon\">condition</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">conditionOccurrence</span><span style=\"color: navy\">)</span> <i>\"conditionEntry\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">}</span> <i>\"conditionOccurenceEntry\"</i><span style=\"color: navy\">;</span>#xD;\n entry.resource<span style=\"color: navy\"> : </span>Encounter<b> as </b><span style=\"color: maroon\">encounter</span><span style=\"color: navy\"><b> -> </b></span>tgt<b> then</b><span style=\"color: navy\"> {#xD;\n</span> encounter<span style=\"color: navy\"><b> -> </b></span>tgt.visitOccurrence<b> as </b><span style=\"color: maroon\">visitOccurrence</span><b> then </b>VisitOccurrence<span style=\"color: navy\">(</span><span style=\"color: maroon\">encounter</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">visitOccurrence</span><span style=\"color: navy\">)</span> <i>\"encounterEntry\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">}</span> <i>\"conditionOccurenceEntry\"</i><span style=\"color: navy\">;</span>#xD;\n entry.resource<span style=\"color: navy\"> : </span>Observation<b> as </b><span style=\"color: maroon\">observation</span><span style=\"color: navy\"><b> -> </b></span>tgt<b> then</b><span style=\"color: navy\"> {#xD;\n</span> observation<span style=\"color: navy\"><b> -> </b></span>tgt.measurement<b> as </b><span style=\"color: maroon\">measurement</span><b> then </b>Measures<span style=\"color: navy\">(</span><span style=\"color: maroon\">observation</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">measurement</span><span style=\"color: navy\">)</span> <i>\"measurementEntry\"</i><span style=\"color: navy\">;</span>#xD;\n observation<span style=\"color: navy\"><b> -> </b></span>tgt<b> as </b><span style=\"color: maroon\">recordSet</span><b> then </b>BloodPressure<span style=\"color: navy\">(</span><span style=\"color: maroon\">observation</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">recordSet</span><span style=\"color: navy\">)</span> <i>\"bloodPressureEntry\"</i><span style=\"color: navy\">;</span>#xD;\n observation<span style=\"color: navy\"><b> -> </b></span>tgt.measurement<b> as </b><span style=\"color: maroon\">vitalSign</span><b> then </b>VitalSigns<span style=\"color: navy\">(</span><span style=\"color: maroon\">observation</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vitalSign</span><span style=\"color: navy\">)</span> <i>\"simpleVitalSignEntry\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">}</span> <i>\"observationEntry\"</i><span style=\"color: navy\">;</span>#xD;\n entry.resource<span style=\"color: navy\"> : </span>Patient<b> as </b><span style=\"color: maroon\">patient</span><span style=\"color: navy\"><b> -> </b></span>tgt<b> then</b><span style=\"color: navy\"> {#xD;\n</span> patient<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt<b> then</b><span style=\"color: navy\"> {#xD;\n</span> s.id<b> as </b><span style=\"color: maroon\">id</span><span style=\"color: navy\"><b> -> </b></span>tgt.patient_id = <b>cast</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">id</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'integer'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">}</span> <i>\"personID\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>#xD;\n entry.resource<span style=\"color: navy\"> : </span>Encounter<b> as </b><span style=\"color: maroon\">encounter</span><span style=\"color: navy\"><b> -> </b></span>tgt<b> then</b><span style=\"color: navy\"> {#xD;\n</span> encounter<span style=\"color: navy\"><b> -> </b></span>tgt.visitOccurrence<b> as </b><span style=\"color: maroon\">visit</span><b> then </b>VisitOccurrence<span style=\"color: navy\">(</span><span style=\"color: maroon\">encounter</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">visit</span><span style=\"color: navy\">)</span> <i>\"visit\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">}</span> <i>\"bundleEntry\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span></pre></div>"^^rdf:XMLLiteral ] ] ; # fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ; fhir:value [ a fhir:code ; fhir:v "brr" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ] ; fhir:value [ a fhir:integer ; fhir:v 2 ; fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ; fhir:value [ a fhir:canonical ; fhir:v "http://hl7.org/fhir/uv/omop/ImplementationGuide/hl7.fhir.uv.omop"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/omop/ImplementationGuide/hl7.fhir.uv.omop> ] ] ) ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ; fhir:value [ a fhir:code ; fhir:v "trial-use" ; fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ; fhir:value [ a fhir:canonical ; fhir:v "http://hl7.org/fhir/uv/omop/ImplementationGuide/hl7.fhir.uv.omop"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/omop/ImplementationGuide/hl7.fhir.uv.omop> ] ] ) ] ] ) ; # fhir:url [ fhir:v "http://hl7.org/fhir/uv/omop/StructureMap/RecordSetMap"^^xsd:anyURI] ; # fhir:identifier ( [ fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ; fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.40.77.43.10" ] ] ) ; # fhir:version [ fhir:v "2.0.0-ballot"] ; # fhir:name [ fhir:v "RecordSetMap"] ; # fhir:title [ fhir:v "Mapping an International Patient Summary resource to OMOP domains collected in a RecordSet resource"] ; # fhir:status [ fhir:v "active"] ; # fhir:date [ fhir:v "2026-08-08T01:17:21+00:00"^^xsd:dateTime] ; # fhir:publisher [ fhir:v "HL7 International / Biomedical Research and Regulation"] ; # fhir:contact ( [ fhir:name [ fhir:v "HL7 International / Biomedical Research and Regulation" ] ; fhir:telecom ( [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://www.hl7.org/Special/committees/rcrim" ] ] ) ] ) ; # fhir:description [ fhir:v "This mapping maps a FHIR International Patient Summary Bundle to a set of OMOP Patient records collected in a RecordSet resource."] ; # 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://hl7.org/fhir/StructureDefinition/Bundle"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle> ] ; fhir:mode [ fhir:v "source" ] ; fhir:alias [ fhir:v "Bundle" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/uv/omop/StructureDefinition/RecordSet"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/omop/StructureDefinition/RecordSet> ] ; fhir:mode [ fhir:v "target" ] ; fhir:alias [ fhir:v "RecordSetTable" ] ] ) ; # fhir:import ( [ fhir:v "http://hl7.org/fhir/uv/omop/StructureMap/AllergyMap"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/omop/StructureMap/AllergyMap> ] [ fhir:v "http://hl7.org/fhir/uv/omop/StructureMap/BloodPressureVitalSignsMap"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/omop/StructureMap/BloodPressureVitalSignsMap> ] [ fhir:v "http://hl7.org/fhir/uv/omop/StructureMap/ConditionMap"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/omop/StructureMap/ConditionMap> ] [ fhir:v "http://hl7.org/fhir/uv/omop/StructureMap/EncounterVisitMap"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/omop/StructureMap/EncounterVisitMap> ] [ fhir:v "http://hl7.org/fhir/uv/omop/StructureMap/ImmunizationMap"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/omop/StructureMap/ImmunizationMap> ] [ fhir:v "http://hl7.org/fhir/uv/omop/StructureMap/MeasurementMap"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/omop/StructureMap/MeasurementMap> ] [ fhir:v "http://hl7.org/fhir/uv/omop/StructureMap/PersonMap"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/omop/StructureMap/PersonMap> ] [ fhir:v "http://hl7.org/fhir/uv/omop/StructureMap/ProcedureMap"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/omop/StructureMap/ProcedureMap> ] [ fhir:v "http://hl7.org/fhir/uv/omop/StructureMap/SimpleVitalSignsMap"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/omop/StructureMap/SimpleVitalSignsMap> ] ) ; # fhir:group ( [ fhir:name [ fhir:v "RecordSet" ] ; fhir:input ( [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "Bundle" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "RecordSetTable" ] ; fhir:mode [ fhir:v "target" ] ] ) ; fhir:rule ( [ fhir:name [ fhir:v "id" ] ; fhir:source ( [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "id" ] ; fhir:variable [ fhir:v "s" ] ] ) ; fhir:target ( [ fhir:context [ fhir:v "tgt" ] ] ) ; fhir:rule ( [ fhir:name [ fhir:v "id" ] ; fhir:source ( [ fhir:context [ fhir:v "s" ] ; fhir:element [ fhir:v "id" ] ; fhir:variable [ fhir:v "id" ] ] ) ; fhir:target ( [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "record_id" ] ; fhir:transform [ fhir:v "evaluate" ] ; fhir:parameter ( [ fhir:value [ a fhir:string ; fhir:v "%id.substring(%id.indexOf('/') + 1)" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "timestamp" ] ; fhir:source ( [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "timestamp" ] ; fhir:variable [ fhir:v "ts" ] ] ) ; fhir:target ( [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "record_set_timestamp" ] ; fhir:transform [ fhir:v "copy" ] ; fhir:parameter ( [ fhir:value [ a fhir:id ; fhir:v "ts" ] ] ) ] ) ; fhir:documentation [ fhir:v "Map bundle timestamp" ] ] [ fhir:name [ fhir:v "bundleEntry" ] ; fhir:source ( [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "entry" ] ; fhir:variable [ fhir:v "entry" ] ] ) ; fhir:target ( [ fhir:context [ fhir:v "tgt" ] ] ) ; fhir:rule ( [ fhir:name [ fhir:v "allergyIntoleranceEntry" ] ; fhir:source ( [ fhir:context [ fhir:v "entry" ] ; fhir:type [ fhir:v "AllergyIntolerance" ] ; fhir:element [ fhir:v "resource" ] ; fhir:variable [ fhir:v "a" ] ] ) ; fhir:target ( [ fhir:context [ fhir:v "tgt" ] ] ) ; fhir:rule ( [ fhir:name [ fhir:v "allergyEntry" ] ; fhir:source ( [ fhir:context [ fhir:v "a" ] ] ) ; fhir:target ( [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "allergy" ] ; fhir:variable [ fhir:v "allergy" ] ] ) ; fhir:dependent ( [ fhir:name [ fhir:v "Allergy" ] ; fhir:parameter ( [ fhir:value [ a fhir:id ; fhir:v "a" ] ] [ fhir:value [ a fhir:id ; fhir:v "allergy" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "conditionOccurenceEntry" ] ; fhir:source ( [ fhir:context [ fhir:v "entry" ] ; fhir:type [ fhir:v "Condition" ] ; fhir:element [ fhir:v "resource" ] ; fhir:variable [ fhir:v "condition" ] ] ) ; fhir:target ( [ fhir:context [ fhir:v "tgt" ] ] ) ; fhir:rule ( [ fhir:name [ fhir:v "conditionEntry" ] ; fhir:source ( [ fhir:context [ fhir:v "condition" ] ] ) ; fhir:target ( [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "condition" ] ; fhir:variable [ fhir:v "conditionOccurrence" ] ] ) ; fhir:dependent ( [ fhir:name [ fhir:v "ConditionOccurrence" ] ; fhir:parameter ( [ fhir:value [ a fhir:id ; fhir:v "condition" ] ] [ fhir:value [ a fhir:id ; fhir:v "conditionOccurrence" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "conditionOccurenceEntry" ] ; fhir:source ( [ fhir:context [ fhir:v "entry" ] ; fhir:type [ fhir:v "Encounter" ] ; fhir:element [ fhir:v "resource" ] ; fhir:variable [ fhir:v "encounter" ] ] ) ; fhir:target ( [ fhir:context [ fhir:v "tgt" ] ] ) ; fhir:rule ( [ fhir:name [ fhir:v "encounterEntry" ] ; fhir:source ( [ fhir:context [ fhir:v "encounter" ] ] ) ; fhir:target ( [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "visitOccurrence" ] ; fhir:variable [ fhir:v "visitOccurrence" ] ] ) ; fhir:dependent ( [ fhir:name [ fhir:v "VisitOccurrence" ] ; fhir:parameter ( [ fhir:value [ a fhir:id ; fhir:v "encounter" ] ] [ fhir:value [ a fhir:id ; fhir:v "visitOccurrence" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "observationEntry" ] ; fhir:source ( [ fhir:context [ fhir:v "entry" ] ; fhir:type [ fhir:v "Observation" ] ; fhir:element [ fhir:v "resource" ] ; fhir:variable [ fhir:v "observation" ] ] ) ; fhir:target ( [ fhir:context [ fhir:v "tgt" ] ] ) ; fhir:rule ( [ fhir:name [ fhir:v "measurementEntry" ] ; fhir:source ( [ fhir:context [ fhir:v "observation" ] ] ) ; fhir:target ( [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "measurement" ] ; fhir:variable [ fhir:v "measurement" ] ] ) ; fhir:dependent ( [ fhir:name [ fhir:v "Measures" ] ; fhir:parameter ( [ fhir:value [ a fhir:id ; fhir:v "observation" ] ] [ fhir:value [ a fhir:id ; fhir:v "measurement" ] ] ) ] ) ] [ fhir:name [ fhir:v "bloodPressureEntry" ] ; fhir:source ( [ fhir:context [ fhir:v "observation" ] ] ) ; fhir:target ( [ fhir:context [ fhir:v "tgt" ] ; fhir:variable [ fhir:v "recordSet" ] ] ) ; fhir:dependent ( [ fhir:name [ fhir:v "BloodPressure" ] ; fhir:parameter ( [ fhir:value [ a fhir:id ; fhir:v "observation" ] ] [ fhir:value [ a fhir:id ; fhir:v "recordSet" ] ] ) ] ) ] [ fhir:name [ fhir:v "simpleVitalSignEntry" ] ; fhir:source ( [ fhir:context [ fhir:v "observation" ] ] ) ; fhir:target ( [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "measurement" ] ; fhir:variable [ fhir:v "vitalSign" ] ] ) ; fhir:dependent ( [ fhir:name [ fhir:v "VitalSigns" ] ; fhir:parameter ( [ fhir:value [ a fhir:id ; fhir:v "observation" ] ] [ fhir:value [ a fhir:id ; fhir:v "vitalSign" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "resourcePatient" ] ; fhir:source ( [ fhir:context [ fhir:v "entry" ] ; fhir:type [ fhir:v "Patient" ] ; fhir:element [ fhir:v "resource" ] ; fhir:variable [ fhir:v "patient" ] ] ) ; fhir:target ( [ fhir:context [ fhir:v "tgt" ] ] ) ; fhir:rule ( [ fhir:name [ fhir:v "personID" ] ; fhir:source ( [ fhir:context [ fhir:v "patient" ] ; fhir:variable [ fhir:v "s" ] ] ) ; fhir:target ( [ fhir:context [ fhir:v "tgt" ] ] ) ; fhir:rule ( [ fhir:name [ fhir:v "id" ] ; fhir:source ( [ fhir:context [ fhir:v "s" ] ; fhir:element [ fhir:v "id" ] ; fhir:variable [ fhir:v "id" ] ] ) ; fhir:target ( [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "patient_id" ] ; fhir:transform [ fhir:v "cast" ] ; fhir:parameter ( [ fhir:value [ a fhir:id ; fhir:v "id" ] ] [ fhir:value [ a fhir:string ; fhir:v "integer" ] ] ) ] ) ] ) ] ) ] [ fhir:name [ fhir:v "resourceEncounter" ] ; fhir:source ( [ fhir:context [ fhir:v "entry" ] ; fhir:type [ fhir:v "Encounter" ] ; fhir:element [ fhir:v "resource" ] ; fhir:variable [ fhir:v "encounter" ] ] ) ; fhir:target ( [ fhir:context [ fhir:v "tgt" ] ] ) ; fhir:rule ( [ fhir:name [ fhir:v "visit" ] ; fhir:source ( [ fhir:context [ fhir:v "encounter" ] ] ) ; fhir:target ( [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "visitOccurrence" ] ; fhir:variable [ fhir:v "visit" ] ] ) ; fhir:dependent ( [ fhir:name [ fhir:v "VisitOccurrence" ] ; fhir:parameter ( [ fhir:value [ a fhir:id ; fhir:v "encounter" ] ] [ fhir:value [ a fhir:id ; fhir:v "visit" ] ] ) ] ) ] ) ] ) ; fhir:documentation [ fhir:v "Map bundle entries" ] ] ) ] ) . #
IG © 2023+ HL7 International / Biomedical Research and Regulation.
Package hl7.fhir.uv.omop#2.0.0-ballot based on FHIR 5.0.0.
Generated
2026-08-08
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change
