{ "description": "This mapping maps FHIR Immunization instances to OMOP Drug Exposure Table objects.", "_filename": "StructureMap-ImmunizationMap.json", "package_name": "hl7.fhir.uv.omop", "date": "2025-07-29T21:03:04+00:00", "group": [ { "name": "DrugExposure", "rule": [ { "name": "vaccineCode", "rule": [ { "name": "coding", "rule": [ { "name": "code", "source": [ { "context": "sc", "element": "code" } ], "target": [ { "context": "tgt", "element": "drug_concept_id" }, { "context": "tgt", "element": "drug_source_value" }, { "context": "tgt", "element": "drug_source_concept_id" } ] } ], "source": [ { "context": "s", "element": "coding", "variable": "sc" } ], "target": [ { "parameter": [ { "valueId": "tgt" } ], "transform": "copy" } ] } ], "source": [ { "context": "src", "element": "vaccineCode", "variable": "s" } ], "target": [ { "parameter": [ { "valueId": "tgt" } ], "transform": "copy" } ], "documentation": "src.id as id -> tgt.drug_exposure_id = cast(id, \"integer\");" }, { "name": "doseQuantity", "rule": [ { "name": "value", "source": [ { "context": "s", "element": "value", "variable": "s" } ], "target": [ { "context": "tgt", "element": "quantity", "parameter": [ { "valueId": "s" }, { "valueString": "decimal" } ], "transform": "cast" } ] }, { "name": "code", "source": [ { "context": "s", "element": "code", "variable": "s" } ], "target": [ { "context": "tgt", "element": "dose_unit_source_value", "parameter": [ { "valueId": "s" }, { "valueString": "string" } ], "transform": "cast" } ] } ], "source": [ { "context": "src", "element": "doseQuantity", "variable": "s" } ], "target": [ { "parameter": [ { "valueId": "tgt" } ], "transform": "copy" } ], "documentation": "src.patient as s -> tgt then {" }, { "name": "route", "rule": [ { "name": "text", "source": [ { "context": "s", "element": "text", "variable": "s" } ], "target": [ { "context": "tgt", "element": "route_source_value", "parameter": [ { "valueId": "s" }, { "valueString": "string" } ], "transform": "cast" } ] }, { "name": "coding", "rule": [ { "name": "code", "source": [ { "context": "sc", "element": "code" } ], "target": [ { "context": "tgt", "element": "route_concept_id" }, { "context": "tgt", "element": "route_source_value" } ] } ], "source": [ { "context": "s", "element": "coding", "variable": "sc" } ], "target": [ { "parameter": [ { "valueId": "tgt" } ], "transform": "copy" } ] } ], "source": [ { "context": "src", "element": "route", "variable": "s" } ], "target": [ { "parameter": [ { "valueId": "tgt" } ], "transform": "copy" } ] }, { "name": "occurrenceDateTime", "source": [ { "type": "dateTime", "context": "src", "element": "occurrence", "variable": "odt" } ], "target": [ { "context": "tgt", "element": "drug_exposure_start_date", "parameter": [ { "valueId": "odt" }, { "valueString": "date" } ], "transform": "cast" }, { "context": "tgt", "element": "drug_exposure_start_datetime", "parameter": [ { "valueId": "odt" } ], "transform": "copy" }, { "context": "tgt", "element": "drug_exposure_end_date", "parameter": [ { "valueId": "odt" }, { "valueString": "date" } ], "transform": "cast" }, { "context": "tgt", "element": "drug_exposure_end_datetime", "parameter": [ { "valueId": "odt" } ], "transform": "copy" } ] }, { "name": "lotNumber", "source": [ { "context": "src", "element": "lotNumber", "variable": "s" } ], "target": [ { "context": "tgt", "element": "lot_number", "parameter": [ { "valueId": "s" }, { "valueString": "string" } ], "transform": "cast" } ], "documentation": "src.encounter as s -> tgt then {" } ], "input": [ { "mode": "source", "name": "src", "type": "Immunization" }, { "mode": "target", "name": "tgt", "type": "DrugExposureTable" } ] } ], "publisher": "HL7 International / Biomedical Research and Regulation", "jurisdiction": [ { "coding": [ { "code": "001", "system": "http://unstats.un.org/unsd/methods/m49/m49.htm", "display": "World" } ] } ], "name": "ImmunizationMap", "type": null, "experimental": null, "resourceType": "StructureMap", "title": "Mapping Immunization resource to Drug Exposure OMOP Domain", "package_version": "1.0.0-ballot", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "brr" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1, "_valueInteger": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom", "valueCanonical": "http://hl7.org/fhir/uv/omop/ImplementationGuide/hl7.fhir.uv.omop" } ] } }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "informative", "_valueCode": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom", "valueCanonical": "http://hl7.org/fhir/uv/omop/ImplementationGuide/hl7.fhir.uv.omop" } ] } } ], "structure": [ { "url": "http://hl7.org/fhir/StructureDefinition/Immunization", "mode": "source", "alias": "Immunization" }, { "url": "http://hl7.org/fhir/uv/omop/StructureDefinition/DrugExposure", "mode": "target", "alias": "DrugExposureTable" } ], "status": "draft", "id": "a6e3ab26-06a2-498a-8c9d-308292604550", "kind": null, "url": "http://hl7.org/fhir/uv/omop/StructureMap/ImmunizationMap", "version": "1.0.0-ballot", "contact": [ { "name": "HL7 International / Biomedical Research and Regulation", "telecom": [ { "value": "http://www.hl7.org/Special/committees/rcrim", "system": "url" } ] } ] }