<?xml version="1.0" encoding="UTF-8"?>

<ConceptMap xmlns="http://hl7.org/fhir">
  <id value="dm-patient-to-omop"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: ConceptMap dm-patient-to-omop</b></p><a name="dm-patient-to-omop"> </a><a name="hcdm-patient-to-omop"> </a><p>This mapping does not specify any particular context of use.</p><br/><p>Mapping from <a href="CodeSystem-dm-variable-cs.html">PROTECT-CHILD Data Model Variables</a> to <a href="http://terminology.hl7.org/6.3.0/CodeSystem-OMOP.html">OHDSI Standardized Vocabularies</a></p><table class="grid"><tr><td colspan="2"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan="2"><b>Target Concept Details</b></td><td><b>Comment</b></td></tr><tr><td colspan="2"><b>Codes</b> from <a href="CodeSystem-dm-variable-cs.html" title="https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/CodeSystem/dm-variable-cs">PROTECT-CHILD Data Model Variables</a></td><td/><td colspan="2"><b>Codes</b> from <a href="http://terminology.hl7.org/6.3.0/CodeSystem-OMOP.html" title="https://fhir-terminology.ohdsi.org">OHDSI Standardized Vocabularies</a></td><td/></tr><tr><td style="border-right-width: 0px; border-bottom-style: none">patient.gender</td><td style="border-left-width: 0px; border-bottom-style: none">patient.gender</td><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#narrower" title="narrower">narrower</a></td><td style="border-right-width: 0px">8532</td><td style="border-left-width: 0px">FEMALE</td><td>OMOP PERSON.gender_concept_id; vocabulary Gender.</td></tr><tr><td style="border-right-width: 0px; border-top-style: none"/><td style="border-top-style: none; border-left-width: 0px"/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#narrower" title="narrower">narrower</a></td><td style="border-right-width: 0px">8507</td><td style="border-left-width: 0px">MALE</td><td>OMOP PERSON.gender_concept_id; vocabulary Gender.</td></tr><tr><td style="border-right-width: 0px; border-bottom-style: none">patient.max_pra</td><td style="border-left-width: 0px; border-bottom-style: none">patient.max_pra</td><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">21493706</td><td style="border-left-width: 0px">Calculated panel reactive antibody - Serum</td><td>OMOP MEASUREMENT.measurement_concept_id; vocabulary LOINC.</td></tr><tr><td style="border-right-width: 0px; border-top-style: none"/><td style="border-top-style: none; border-left-width: 0px"/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#relatedto" title="relatedto">is related to</a></td><td style="border-right-width: 0px">8554</td><td style="border-left-width: 0px">percent</td><td>OMOP MEASUREMENT.unit_concept_id; vocabulary UCUM.</td></tr><tr><td style="border-right-width: 0px; border-bottom-style: none">patient.last_pra</td><td style="border-left-width: 0px; border-bottom-style: none">patient.last_pra</td><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">21493706</td><td style="border-left-width: 0px">Calculated panel reactive antibody - Serum</td><td>OMOP MEASUREMENT.measurement_concept_id; vocabulary LOINC.</td></tr><tr><td style="border-right-width: 0px; border-top-style: none"/><td style="border-top-style: none; border-left-width: 0px"/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#relatedto" title="relatedto">is related to</a></td><td style="border-right-width: 0px">8554</td><td style="border-left-width: 0px">percent</td><td>OMOP MEASUREMENT.unit_concept_id; vocabulary UCUM.</td></tr><tr><td style="border-right-width: 0px">patient.date_histological_diag</td><td style="border-left-width: 0px">patient.date_histological_diag</td><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">2000000042</td><td style="border-left-width: 0px">Primary diagnosis confirmed by histology</td><td>OMOP OBSERVATION.observation_concept_id; vocabulary PROTECT-CHILD.</td></tr><tr><td style="border-right-width: 0px">patient.diag_primary_disease</td><td style="border-left-width: 0px">patient.diag_primary_disease</td><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#relatedto" title="relatedto">is related to</a></td><td style="border-right-width: 0px">32902</td><td style="border-left-width: 0px">Primary diagnosis</td><td>OMOP CONDITION_OCCURRENCE.condition_status_concept_id; vocabulary Condition Status.</td></tr></table></div>
  </text>
  <url value="https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/ConceptMap/dm-patient-to-omop"/>
  <version value="0.1.0-ci-build"/>
  <name value="DmPatientToOmop"/>
  <title value="DM patient → OMOP"/>
  <status value="draft"/>
  <experimental value="false"/>
  <date value="2026-09-28T06:51:47+00:00"/>
  <publisher value="Protect Child"/>
  <contact>
    <name value="Protect Child"/>
    <telecom>
      <system value="url"/>
      <value value="https://protect-child.eu/"/>
    </telecom>
  </contact>
  <description value="The OMOP concepts for each column of the DMv1.2 patient table, from the DM → FHIR → OMOP crosswalk. Each target's comment names the OMOP CDM field it fills. `equivalent`: the column's own concept; `narrower`: one of several concepts the column's values map to; `relatedto`: a value, unit or qualifier concept. Concept IDs of 2000000000 and above are PROTECT-CHILD custom concepts (CodeSystem ProtectChildOmopVocabulary)."/>
  <group>
    <source value="https://hl7.eu/fhir/ig/hl7.eu.fhir.protect-child/CodeSystem/dm-variable-cs"/>
    <target value="https://fhir-terminology.ohdsi.org"/>
    <element>
      <code value="patient.gender"/>
      <target>
        <code value="8532"/>
        <display value="FEMALE"/>
        <equivalence value="narrower"/>
        <comment value="OMOP PERSON.gender_concept_id; vocabulary Gender."/>
      </target>
      <target>
        <code value="8507"/>
        <display value="MALE"/>
        <equivalence value="narrower"/>
        <comment value="OMOP PERSON.gender_concept_id; vocabulary Gender."/>
      </target>
    </element>
    <element>
      <code value="patient.max_pra"/>
      <target>
        <code value="21493706"/>
        <display value="Calculated panel reactive antibody - Serum"/>
        <equivalence value="equivalent"/>
        <comment value="OMOP MEASUREMENT.measurement_concept_id; vocabulary LOINC."/>
      </target>
      <target>
        <code value="8554"/>
        <display value="percent"/>
        <equivalence value="relatedto"/>
        <comment value="OMOP MEASUREMENT.unit_concept_id; vocabulary UCUM."/>
      </target>
    </element>
    <element>
      <code value="patient.last_pra"/>
      <target>
        <code value="21493706"/>
        <display value="Calculated panel reactive antibody - Serum"/>
        <equivalence value="equivalent"/>
        <comment value="OMOP MEASUREMENT.measurement_concept_id; vocabulary LOINC."/>
      </target>
      <target>
        <code value="8554"/>
        <display value="percent"/>
        <equivalence value="relatedto"/>
        <comment value="OMOP MEASUREMENT.unit_concept_id; vocabulary UCUM."/>
      </target>
    </element>
    <element>
      <code value="patient.date_histological_diag"/>
      <target>
        <code value="2000000042"/>
        <display value="Primary diagnosis confirmed by histology"/>
        <equivalence value="equivalent"/>
        <comment value="OMOP OBSERVATION.observation_concept_id; vocabulary PROTECT-CHILD."/>
      </target>
    </element>
    <element>
      <code value="patient.diag_primary_disease"/>
      <target>
        <code value="32902"/>
        <display value="Primary diagnosis"/>
        <equivalence value="relatedto"/>
        <comment value="OMOP CONDITION_OCCURRENCE.condition_status_concept_id; vocabulary Condition Status."/>
      </target>
    </element>
  </group>
</ConceptMap>