BgZ to OMOP
0.1.0 - CI build Netherlands flag

BgZ to OMOP - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

StructureMap:

Official URL: http://hl7.nl/fhir/bgz-to-omop/StructureMap/person-transform Version: 0.1.0
Draft as of 2024-04-04 Computable Name: Transform from a FHIR Patient to an OMOP Person
map "http://hl7.nl/fhir/bgz-to-omop/StructureMap/person-transform" = "Transform from a FHIR Patient to an OMOP Person"

uses "http://fhir.nl/fhir/StructureDefinition/nl-core-patient" as source
uses "http://hl7.nl/fhir/bgz-to-omop/StructureDefinition/Person" as target

group main(source source : http://fhir.nl/fhir/StructureDefinition/nl-core-patient, target target : http://hl7.nl/fhir/bgz-to-omop/StructureDefinition/Person) {
  source.identifier[BSN] as BSN -> target.person_source_value = copy() "BSN";
}