Patsiendi üldandmete teenus / Master Patient Index
1.2.2 - trial-use Estonia flag

Publication Build: This will be filled in by the publication tooling

Resource Profile: EEMPISocialHistoryOccupation - Mappings

Active as of 2025-04-17

Mappings for the ee-mpi-socialhistory-occupation resource profile.

Mappings for Workflow Pattern (http://hl7.org/fhir/workflow)

EEMPISocialHistoryOccupation
ObservationEvent
   identifierEvent.identifier
   instantiates[x]Event.instantiatesCanonical
   statusEvent.status
   codeEvent.code
   subjectEvent.subject
   performerEvent.performer.actor

Mappings for FiveWs Pattern Mapping (http://hl7.org/fhir/fivews)

EEMPISocialHistoryOccupation
Observationclinical.diagnostics
   contained
   contained (employer)administrative.group
      identifierFiveWs.identifier
      activeFiveWs.status
      typeFiveWs.class
   identifierFiveWs.identifier
   statusFiveWs.status
   categoryFiveWs.class
   codeFiveWs.what[x]
   subjectFiveWs.subject[x]
   focusFiveWs.subject[x]
   issuedFiveWs.recorded
   performerFiveWs.actor
   component
      codeFiveWs.what[x]
   component (job)
      codeFiveWs.what[x]
   component (rate)
      codeFiveWs.what[x]

Mappings for SNOMED CT Concept Domain Binding (http://snomed.info/conceptdomain)

EEMPISocialHistoryOccupation
Observation< 363787002 |Observable entity|
   status< 445584004 |Report by finality status|
   code< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|
   component
      code< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|
      value[x]363714003 |Interprets| < 441742003 |Evaluation finding|
      interpretation< 260245000 |Findings values|
   component (job)
      code< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|
      value[x]363714003 |Interprets| < 441742003 |Evaluation finding|
      interpretation< 260245000 |Findings values|
   component (rate)
      code< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|
      value[x]363714003 |Interprets| < 441742003 |Evaluation finding|
      interpretation< 260245000 |Findings values|

Mappings for HL7 V2 Mapping (http://hl7.org/v2)

EEMPISocialHistoryOccupation
ObservationOBX
   contained
   contained (employer)(also see master files messages)
      identifierXON.10 / XON.3
         useN/A
         typeCX.5
         systemCX.4 / EI-2-4
         valueCX.1 / EI.1
         periodCX.7 + CX.8
         assignerCX.4 / (CX.4,CX.9,CX.10)
      activeNo equivalent in HL7 V2
      typeNo equivalent in v2
      nameXON.1
      contact
         addressXAD
            useXAD.7
            typeXAD.18
            textXAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6
            lineXAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)
            cityXAD.3
            districtXAD.9
            stateXAD.4
            postalCodeXAD.5
            countryXAD.6
            periodXAD.12 / XAD.13 + XAD.14
      partOfNo equivalent in HL7 V2
      qualificationCER?
   identifierOBX-21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 3) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4.
   triggeredByORC
   statusOBX-11
   category
      codingC*E.1-8, C*E.10-22
      coding (obscat)C*E.1-8, C*E.10-22
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
      textC*E.9. But note many systems use C*E.2 for this
   codeOBX-3
      codingC*E.1-8, C*E.10-22
      coding (loinc)C*E.1-8, C*E.10-22
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
      coding (snomed)C*E.1-8, C*E.10-22
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
      textC*E.9. But note many systems use C*E.2 for this
   subjectPID-3
   focusOBX-3
   issuedOBR-22 (or MSH-7), or perhaps OBX-19 (depends on who observation made)
   performerOBX-15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'
   noteNTE-3 (partner NTE to OBX, or sometimes another (child?) OBX)
   derivedFromRelationships established by OBX-4 usage
   componentcontainment by OBX-4?
      codeOBX-3
      value[x]OBX-2, OBX-5, OBX-6
      dataAbsentReasonN/A
      interpretationOBX-8
      referenceRangeOBX-7
   component (job)containment by OBX-4?
      codeOBX-3
      value[x]OBX-2, OBX-5, OBX-6
      dataAbsentReasonN/A
      interpretationOBX-8
      referenceRangeOBX-7
   component (rate)containment by OBX-4?
      codeOBX-3
      value[x]OBX-2, OBX-5, OBX-6
         valueSN.2 / CQ - N/A
         unit(see OBX.6 etc.) / CQ.2
         system(see OBX.6 etc.) / CQ.2
         code(see OBX.6 etc.) / CQ.2
      dataAbsentReasonN/A
      interpretationOBX-8
      referenceRangeOBX-7

Mappings for RIM Mapping (http://hl7.org/v3)

EEMPISocialHistoryOccupation
ObservationEntity, Role, or Act,Observation[classCode=OBS, moodCode=EVN]
   textAct.text?
   containedN/A
   contained (employer)Entity, Role, or Act,Organization(classCode=ORG, determinerCode=INST)
      textAct.text?
      containedN/A
      extensionN/A
      modifierExtensionN/A
      identifier.scopes[Role](classCode=IDENT)
         idn/a
         extensionn/a
         useRole.code or implied by context
         typeRole.code or implied by context
         systemII.root or Role.id.root
         valueII.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
         periodRole.effectiveTime or implied by context
         assignerII.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
      active.status
      type.code
      name.name
      alias.name
      description.playingEntity[classCode=PLC determinerCode=INSTANCE].desc
      contact.contactParty
         idn/a
         extensionn/a
         addressn/a,AD
            idn/a
            extensionn/a
            useunique(./use)
            typeunique(./use)
            text./formatted
            lineAD.part[parttype = AL]
               extension (censusTract)ADXP[partType=CEN]
               extension (streetName)ADXP[partType=STR]
               extension (streetNameBase)ADXP[partType=STB]
               extension (houseNumber)ADXP[partType=BNR]
               extension (additionalLocator)ADXP[partType=ADL]
            cityAD.part[parttype = CTY]
            districtAD.part[parttype = CNT | CPA]
            stateAD.part[parttype = STA]
            postalCodeAD.part[parttype = ZIP]
            countryAD.part[parttype = CNT]
            period./usablePeriod[type="IVL<TS>"]
      partOf.playedBy[classCode=Part].scoper
      endpointn/a
      qualificationn/a
         idn/a
         extensionn/a
         modifierExtensionN/A
         identifiern/a
         coden/a
         periodn/a
         issuern/a
   extensionN/A
   identifierid
   instantiates[x].outboundRelationship[typeCode=DEFN].target
   triggeredBy.inboundRelationship[typeCode=COMP].source[moodCode=EVN]
      idn/a
      extensionn/a
      modifierExtensionN/A
      observationoutBoundRelationship
      typecode
      reasonannotation
   statusstatus Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of "revise"
   category.outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="EVN"].code
      idn/a
      extensionn/a
      codingunion(., ./translation)
      coding (obscat)union(., ./translation)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      text./originalText[mediaType/code="text/plain"]/data
   codecode
      idn/a
      extensionn/a
      codingunion(., ./translation)
      coding (loinc)union(., ./translation)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      coding (snomed)union(., ./translation)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      text./originalText[mediaType/code="text/plain"]/data
   subjectparticipation[typeCode=RTGT]
   focusparticipation[typeCode=SBJ]
   issuedparticipation[typeCode=AUT].time
   performerparticipation[typeCode=PRF]
   notesubjectOf.observationEvent[code="annotation"].value
   derivedFrom.targetObservation
   componentoutBoundRelationship[typeCode=COMP]
      idn/a
      extensionn/a
      modifierExtensionN/A
      codecode
      value[x]value
      dataAbsentReasonvalue.nullFlavor
      interpretationinterpretationCode
      referenceRangeoutboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]
   component (job)outBoundRelationship[typeCode=COMP]
      idn/a
      extensionn/a
      modifierExtensionN/A
      codecode
      value[x]value
      dataAbsentReasonvalue.nullFlavor
      interpretationinterpretationCode
      referenceRangeoutboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]
   component (rate)outBoundRelationship[typeCode=COMP]
      idn/a
      extensionn/a
      modifierExtensionN/A
      codecode
      value[x]value
         idn/a
         extensionn/a
         valuePQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
         unitPQ.unit
         systemCO.codeSystem, PQ.translation.codeSystem
         codePQ.code, MO.currency, PQ.translation.code
      dataAbsentReasonvalue.nullFlavor
      interpretationinterpretationCode
      referenceRangeoutboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]

Mappings for SNOMED CT Attribute Binding (http://snomed.org/attributebinding)

EEMPISocialHistoryOccupation
Observation
   code116680003 |Is a|
   component
      value[x]363714003 |Interprets|
      interpretation363713009 |Has interpretation|
   component (job)
      value[x]363714003 |Interprets|
      interpretation363713009 |Has interpretation|
   component (rate)
      value[x]363714003 |Interprets|
      interpretation363713009 |Has interpretation|