0.1.0 - ci-build

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

Resource Profile: MyPatient - Mappings

Draft as of 2025-04-16

Mappings for the MyPatient resource profile.

Mappings for Argonaut-DQ-DSTU2 (http://unknown.org/Argonaut-DQ-DSTU2)

MyPatient
PatientPatient
   extension (birthsex)Patient.extension
   identifierPatient.identifier
      systemPatient.identifier.system
      valuePatient.identifier.value
   identifier (ACMEcorpIdentifier)Patient.identifier
      systemPatient.identifier.system
      valuePatient.identifier.value
   namePatient.name
      familyPatient.name.family
      givenPatient.name.given
   telecomNA
      systemNA
      valueNA
      useNA
   genderPatient.gender
   birthDatePatient.birthDate
   addressPatient.birthDate
      lineNA
      cityNA
      stateNA
      postalCodeNA
      periodNA
   communicationPatient.communication
      languagePatient.communication.language

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

MyPatient
PatientEntity. Role, or Act, Patient[classCode=PAT]
   metan/a, N/A
   implicitRulesn/a
   languagen/a
   textn/a, N/A, Act.text?
   containedEntity. Role, or Act, N/A
   extensionn/a, N/A
   extension (birthsex)n/a, N/A, player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender
   modifierExtensionn/a, N/A
   identifiern/a, II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT], id
      idn/a
      extensionn/a, N/A
      usen/a, Role.code or implied by context
      typen/a, CD, Role.code or implied by context
      systemn/a, II.root or Role.id.root
      valuen/a, II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
      periodn/a, IVL<TS>[lowClosed="true" and highClosed="true"] or URG<TS>[lowClosed="true" and highClosed="true"], Role.effectiveTime or implied by context
      assignern/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
   identifier (ACMEcorpIdentifier)n/a, II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT], id
      idn/a
      extensionn/a, N/A
      usen/a, Role.code or implied by context
      typen/a, CD, Role.code or implied by context
      systemn/a, II.root or Role.id.root
      valuen/a, II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
      periodn/a, IVL<TS>[lowClosed="true" and highClosed="true"] or URG<TS>[lowClosed="true" and highClosed="true"], Role.effectiveTime or implied by context
      assignern/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
   activen/a, statusCode
   namen/a, EN (actually, PN), name
      idn/a
      extensionn/a, N/A
      usen/a, unique(./use)
      textn/a, ./formatted
      familyn/a, ./part[partType = FAM]
      givenn/a, ./part[partType = GIV]
      prefixn/a, ./part[partType = PFX]
      suffixn/a, ./part[partType = SFX]
      periodn/a, IVL<TS>[lowClosed="true" and highClosed="true"] or URG<TS>[lowClosed="true" and highClosed="true"], ./usablePeriod[type="IVL<TS>"]
   telecomn/a, TEL, telecom
      idn/a
      extensionn/a, N/A
      systemn/a, ./scheme
      valuen/a, ./url
      usen/a, unique(./use)
      rankn/a
      periodn/a, IVL<TS>[lowClosed="true" and highClosed="true"] or URG<TS>[lowClosed="true" and highClosed="true"], ./usablePeriod[type="IVL<TS>"]
   gendern/a, player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender
   birthDaten/a, player[classCode=PSN|ANM and determinerCode=INSTANCE]/birthTime
   deceased[x]n/a, player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedTime
   addressn/a, AD, addr
      idn/a
      extensionn/a, N/A
      usen/a, unique(./use)
      typen/a, unique(./use)
      textn/a, ./formatted
      linen/a, AD.part[parttype = AL]
      cityn/a, AD.part[parttype = CTY]
      districtn/a, AD.part[parttype = CNT | CPA]
      staten/a, AD.part[parttype = STA]
      postalCoden/a, AD.part[parttype = ZIP]
      countryn/a, AD.part[parttype = CNT]
      periodn/a, IVL<TS>[lowClosed="true" and highClosed="true"] or URG<TS>[lowClosed="true" and highClosed="true"], ./usablePeriod[type="IVL<TS>"]
   maritalStatusn/a, CD, player[classCode=PSN]/maritalStatusCode
   multipleBirth[x]n/a, player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthOrderNumber
   photon/a, ED, player[classCode=PSN|ANM and determinerCode=INSTANCE]/desc
   contactn/a, player[classCode=PSN|ANM and determinerCode=INSTANCE]/scopedRole[classCode=CON]
      idn/a
      extensionn/a, N/A
      modifierExtensionn/a, N/A
      relationshipn/a, CD, code
      namen/a, EN (actually, PN), name
      telecomn/a, TEL, telecom
      addressn/a, AD, addr
      gendern/a, player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender
      organizationn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), scoper
      periodn/a, IVL<TS>[lowClosed="true" and highClosed="true"] or URG<TS>[lowClosed="true" and highClosed="true"], effectiveTime
   communicationn/a, LanguageCommunication
      idn/a
      extensionn/a, N/A
      modifierExtensionn/a, N/A
      languagen/a, CD, player[classCode=PSN|ANM and determinerCode=INSTANCE]/languageCommunication/code
      preferredn/a, preferenceInd
   generalPractitionern/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), subjectOf.CareEvent.performer.AssignedEntity
   managingOrganizationn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), scoper
   linkn/a, outboundLink
      idn/a
      extensionn/a, N/A
      modifierExtensionn/a, N/A
      othern/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), id
      typen/a, typeCode

Mappings for CDA (R2) (http://hl7.org/v3/cda)

MyPatient
PatientClinicalDocument.recordTarget.patientRole
   identifier.id
   identifier (ACMEcorpIdentifier).id
   activen/a
   name.patient.name
   telecom.telecom
   gender.patient.administrativeGenderCode
   birthDate.patient.birthTime
   deceased[x]n/a
   address.addr
   maritalStatus.patient.maritalStatusCode
   multipleBirth[x]n/a
   photon/a
   contactn/a
      relationshipn/a
      namen/a
      telecomn/a
      addressn/a
      gendern/a
      organizationn/a
      periodn/a
   communicationpatient.languageCommunication
      language.languageCode
      preferred.preferenceInd
   generalPractitionern/a
   managingOrganization.providerOrganization
   linkn/a
      othern/a
      typen/a

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

MyPatient
Patient
   identifierFiveWs.identifier
   identifier (ACMEcorpIdentifier)FiveWs.identifier
   activeFiveWs.status

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

MyPatient
Patient
   identifierCX / EI (occasionally, more often EI maps to a resource id or a URL), PID-3
      useN/A
      typeCE/CNE/CWE, CX.5
      systemCX.4 / EI-2-4
      valueCX.1 / EI.1
      periodDR, CX.7 + CX.8
      assignerCX.4 / (CX.4,CX.9,CX.10)
   identifier (ACMEcorpIdentifier)CX / EI (occasionally, more often EI maps to a resource id or a URL), PID-3
      useN/A
      typeCE/CNE/CWE, CX.5
      systemCX.4 / EI-2-4
      valueCX.1 / EI.1
      periodDR, CX.7 + CX.8
      assignerCX.4 / (CX.4,CX.9,CX.10)
   nameXPN, PID-5, PID-9
      useXPN.7, but often indicated by which field contains the name
      textimplied by XPN.11
      familyXPN.1/FN.1
      givenXPN.2 + XPN.3
      prefixXPN.5
      suffixXPN/4
      periodDR, XPN.13 + XPN.14
   telecomXTN, PID-13, PID-14, PID-40
      systemXTN.3
      valueXTN.1 (or XTN.12)
      useXTN.2 - but often indicated by field
      rankn/a
      periodDR, N/A
   genderPID-8
   birthDatePID-7
   deceased[x]PID-30 (bool) and PID-29 (datetime)
   addressXAD, PID-11
      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
      periodDR, XAD.12 / XAD.13 + XAD.14
   maritalStatusCE/CNE/CWE, PID-16
   multipleBirth[x]PID-24 (bool), PID-25 (integer)
   photoED/RP, OBX-5 - needs a profile
   contact
      relationshipCE/CNE/CWE, NK1-7, NK1-3
      nameXPN, NK1-2
      telecomXTN, NK1-5, NK1-6, NK1-40
      addressXAD, NK1-4
      genderNK1-15
      organizationNK1-13, NK1-30, NK1-31, NK1-32, NK1-41
      periodDR
   communication
      languageCE/CNE/CWE, PID-15, LAN-2
      preferredPID-15
   generalPractitionerPD1-4
   link
      otherPID-3, MRG-1

Mappings for LOINC code for the element (http://loinc.org)

MyPatient
Patient
   birthDate21112-8