NGS IG
0.1.0 - ci-build

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

Resource Profile: BundleTWNGS - Mappings

Draft as of 2025-01-13

Mappings for the Bundle-twngs resource profile.

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

BundleTWNGS
BundleN/A
   entry
      resource
   entry (composition)
      resource
   entry (diagnosticReport)
      resourceORU -> OBR
   entry (condition)
      resourcePPR message
         identifierCX / EI (occasionally, more often EI maps to a resource id or a URL)
         clinicalStatusCE/CNE/CWE, PRB-14
            codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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
         verificationStatusCE/CNE/CWE, PRB-13
            codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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
         categoryCE/CNE/CWE, 'problem' if from PRB-3. 'diagnosis' if from DG1 segment in PV1 message
            codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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
         severityCE/CNE/CWE, PRB-26 / ABS-3
            codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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
         codeCE/CNE/CWE, PRB-3
            codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, C*E.1-8, C*E.10-22
            coding (icd10-cm-2023)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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 (icd10-cm-2021)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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 (icd10-cm-2014)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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 (icd9-cm-2001)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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
         bodySiteCE/CNE/CWE
            codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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
         encounterPV1-19 (+PV1-54)
         onset[x]PRB-16
         recordedDateREL-11
         asserterREL-7.1 identifier + REL-7.12 type code
         stage
            summaryCE/CNE/CWE, PRB-14
               codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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
            typeCE/CNE/CWE
               codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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
         evidence
            codeCE/CNE/CWE
               codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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
         noteN/A, NTE child of PRB
   entry (patient)
      resource
         identifierCX / EI (occasionally, more often EI maps to a resource id or a URL), PID-3
            useN/A
            typeCE/CNE/CWE, CX.5
               codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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
            systemCX.4 / EI-2-4
            valueCX.1 / EI.1
            periodDR, CX.7 + CX.8
            assignerCX.4 / (CX.4,CX.9,CX.10)
         identifier (idCardNumber)CX / EI (occasionally, more often EI maps to a resource id or a URL), PID-3
            useN/A
            typeCE/CNE/CWE, CX.5
               codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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
            systemCX.4 / EI-2-4
            valueCX.1 / EI.1
            periodDR, CX.7 + CX.8
            assignerCX.4 / (CX.4,CX.9,CX.10)
         identifier (medicalRecord)CX / EI (occasionally, more often EI maps to a resource id or a URL), PID-3
            useN/A
            typeCE/CNE/CWE, CX.5
               codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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
            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
         name (usual)XPN, 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
               extension
               extension (PostalCode)
                  value[x]CE/CNE/CWE
                     codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, C*E.1-8, C*E.10-22
                     coding (PostalCode3)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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 (PostalCode5)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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 (PostalCode6)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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
            countryXAD.6
            periodDR, XAD.12 / XAD.13 + XAD.14
         maritalStatusCE/CNE/CWE, PID-16
            codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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
         multipleBirth[x]PID-24 (bool), PID-25 (integer)
         photoED/RP, OBX-5 - needs a profile
         contact
            relationshipCE/CNE/CWE, NK1-7, NK1-3
               codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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
            nameXPN, NK1-2
               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, NK1-5, NK1-6, NK1-40
               systemXTN.3
               valueXTN.1 (or XTN.12)
               useXTN.2 - but often indicated by field
               rankn/a
               periodDR, N/A
            addressXAD, NK1-4
               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
                  extension
                  extension (PostalCode)
                     value[x]CE/CNE/CWE
                        codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, C*E.1-8, C*E.10-22
                        coding (PostalCode3)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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 (PostalCode5)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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 (PostalCode6)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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
               countryXAD.6
               periodDR, XAD.12 / XAD.13 + XAD.14
            genderNK1-15
            organizationNK1-13, NK1-30, NK1-31, NK1-32, NK1-41
            periodDR
         communication
            languageCE/CNE/CWE, PID-15, LAN-2
               codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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
            preferredPID-15
         generalPractitionerPD1-4
         link
            otherPID-3, MRG-1
   entry (hosp-organization)
      resource(also see master files messages)
         identifierCX / EI (occasionally, more often EI maps to a resource id or a URL), XON.10 / XON.3
            useN/A
            typeCE/CNE/CWE, CX.5
               codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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
            systemCX.4 / EI-2-4
            valueCX.1 / EI.1
            periodDR, CX.7 + CX.8
            assignerCX.4 / (CX.4,CX.9,CX.10)
         activeNo equivalent in HL7 v2
         typeCE/CNE/CWE, No equivalent in v2
            codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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
         nameXON.1
         telecomXTN, ORC-22?
            systemXTN.3
            valueXTN.1 (or XTN.12)
            useXTN.2 - but often indicated by field
            rankn/a
            periodDR, N/A
         addressXAD, ORC-23?
            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
               extension
               extension (PostalCode)
                  value[x]CE/CNE/CWE
                     codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, C*E.1-8, C*E.10-22
                     coding (PostalCode3)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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 (PostalCode5)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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 (PostalCode6)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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
            countryXAD.6
            periodDR, XAD.12 / XAD.13 + XAD.14
         partOfNo equivalent in HL7 v2
         contact
            purposeCE/CNE/CWE
               codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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
            nameXPN, PID-5, PID-9
            telecomXTN, PID-13, PID-14
            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
                  extension
                  extension (PostalCode)
                     value[x]CE/CNE/CWE
                        codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, C*E.1-8, C*E.10-22
                        coding (PostalCode3)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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 (PostalCode5)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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 (PostalCode6)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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
               countryXAD.6
               periodDR, XAD.12 / XAD.13 + XAD.14
   entry (gene-organization)
      resource(also see master files messages)
         identifierCX / EI (occasionally, more often EI maps to a resource id or a URL), XON.10 / XON.3
            useN/A
            typeCE/CNE/CWE, CX.5
               codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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
            systemCX.4 / EI-2-4
            valueCX.1 / EI.1
            periodDR, CX.7 + CX.8
            assignerCX.4 / (CX.4,CX.9,CX.10)
         activeNo equivalent in HL7 v2
         typeCE/CNE/CWE, No equivalent in v2
            codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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
         nameXON.1
         telecomXTN, ORC-22?
            systemXTN.3
            valueXTN.1 (or XTN.12)
            useXTN.2 - but often indicated by field
            rankn/a
            periodDR, N/A
         addressXAD, ORC-23?
            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
               extension
               extension (PostalCode)
                  value[x]CE/CNE/CWE
                     codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, C*E.1-8, C*E.10-22
                     coding (PostalCode3)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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 (PostalCode5)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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 (PostalCode6)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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
            countryXAD.6
            periodDR, XAD.12 / XAD.13 + XAD.14
         partOfNo equivalent in HL7 v2
         contact
            purposeCE/CNE/CWE
               codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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
            nameXPN, PID-5, PID-9
            telecomXTN, PID-13, PID-14
            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
                  extension
                  extension (PostalCode)
                     value[x]CE/CNE/CWE
                        codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, C*E.1-8, C*E.10-22
                        coding (PostalCode3)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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 (PostalCode5)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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 (PostalCode6)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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
               countryXAD.6
               periodDR, XAD.12 / XAD.13 + XAD.14
   entry (specimen)
   entry (device)
   entry (documentReference)
   entry (observation)
      resourceOBX
   entry (serviceRequest)
      resourceORC

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

BundleTWNGS
BundleEntity. Role, or Act, N/A
   link
      idn/a
      extensionn/a
      modifierExtensionN/A
   entry
      idn/a
      extensionn/a
      modifierExtensionN/A
      resource
      search
         idn/a
         extensionn/a
         modifierExtensionN/A
      request
         idn/a
         extensionn/a
         modifierExtensionN/A
      response
         idn/a
         extensionn/a
         modifierExtensionN/A
   entry (composition)
      idn/a
      extensionn/a
      modifierExtensionN/A
      resourceEntity. Role, or Act, Document[classCode="DOC" and moodCode="EVN" and isNormalAct()]
      search
         idn/a
         extensionn/a
         modifierExtensionN/A
      request
         idn/a
         extensionn/a
         modifierExtensionN/A
      response
         idn/a
         extensionn/a
         modifierExtensionN/A
   entry (diagnosticReport)
      idn/a
      extensionn/a
      modifierExtensionN/A
      resourceEntity. Role, or Act, Observation[classCode=OBS, moodCode=EVN]
      search
         idn/a
         extensionn/a
         modifierExtensionN/A
      request
         idn/a
         extensionn/a
         modifierExtensionN/A
      response
         idn/a
         extensionn/a
         modifierExtensionN/A
   entry (condition)
      idn/a
      extensionn/a
      modifierExtensionN/A
      resourceEntity. Role, or Act, Observation[classCode=OBS, moodCode=EVN, code=ASSERTION, value<Diagnosis]
         metan/a, N/A
         implicitRulesn/a
         languagen/a
         textn/a, N/A, Act.text?
         containedEntity. Role, or Act, N/A
         extensionn/a, N/A
         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
         clinicalStatusn/a, CD, Observation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS, code="clinicalStatus", moodCode=EVN].value
            idn/a
            extensionn/a, N/A
            codingn/a, CV, union(., ./translation)
               idn/a
               extensionn/a, N/A
               systemn/a, ./codeSystem
               versionn/a, ./codeSystemVersion
               coden/a, ./code
               displayn/a, CV.displayName
               userSelectedn/a, CD.codingRationale
            textn/a, ./originalText[mediaType/code="text/plain"]/data
         verificationStatusn/a, CD, Observation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS, code="verificationStatus", moodCode=EVN].value
            idn/a
            extensionn/a, N/A
            codingn/a, CV, union(., ./translation)
               idn/a
               extensionn/a, N/A
               systemn/a, ./codeSystem
               versionn/a, ./codeSystemVersion
               coden/a, ./code
               displayn/a, CV.displayName
               userSelectedn/a, CD.codingRationale
            textn/a, ./originalText[mediaType/code="text/plain"]/data
         categoryn/a, CD, .code
            idn/a
            extensionn/a, N/A
            codingn/a, CV, union(., ./translation)
               idn/a
               extensionn/a, N/A
               systemn/a, ./codeSystem
               versionn/a, ./codeSystemVersion
               coden/a, ./code
               displayn/a, CV.displayName
               userSelectedn/a, CD.codingRationale
            textn/a, ./originalText[mediaType/code="text/plain"]/data
         severityn/a, CD, Can be pre/post-coordinated into value. Or ./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="severity"].value
            idn/a
            extensionn/a, N/A
            codingn/a, CV, union(., ./translation)
               idn/a
               extensionn/a, N/A
               systemn/a, ./codeSystem
               versionn/a, ./codeSystemVersion
               coden/a, ./code
               displayn/a, CV.displayName
               userSelectedn/a, CD.codingRationale
            textn/a, ./originalText[mediaType/code="text/plain"]/data
         coden/a, CD, .value
            idn/a
            extensionn/a, N/A
            codingn/a, CV, union(., ./translation)
            coding (icd10-cm-2023)n/a, CV, union(., ./translation)
               idn/a
               extensionn/a, N/A
               systemn/a, ./codeSystem
               versionn/a, ./codeSystemVersion
               coden/a, ./code
               displayn/a, CV.displayName
               userSelectedn/a, CD.codingRationale
            coding (icd10-cm-2021)n/a, CV, union(., ./translation)
               idn/a
               extensionn/a, N/A
               systemn/a, ./codeSystem
               versionn/a, ./codeSystemVersion
               coden/a, ./code
               displayn/a, CV.displayName
               userSelectedn/a, CD.codingRationale
            coding (icd10-cm-2014)n/a, CV, union(., ./translation)
               idn/a
               extensionn/a, N/A
               systemn/a, ./codeSystem
               versionn/a, ./codeSystemVersion
               coden/a, ./code
               displayn/a, CV.displayName
               userSelectedn/a, CD.codingRationale
            coding (icd9-cm-2001)n/a, CV, union(., ./translation)
               idn/a
               extensionn/a, N/A
               systemn/a, ./codeSystem
               versionn/a, ./codeSystemVersion
               coden/a, ./code
               displayn/a, CV.displayName
               userSelectedn/a, CD.codingRationale
            textn/a, ./originalText[mediaType/code="text/plain"]/data
         bodySiten/a, CD, .targetBodySiteCode
            idn/a
            extensionn/a, N/A
            codingn/a, CV, union(., ./translation)
               idn/a
               extensionn/a, N/A
               systemn/a, ./codeSystem
               versionn/a, ./codeSystemVersion
               coden/a, ./code
               displayn/a, CV.displayName
               userSelectedn/a, CD.codingRationale
            textn/a, ./originalText[mediaType/code="text/plain"]/data
         subjectn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .participation[typeCode=SBJ].role[classCode=PAT]
         encountern/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]
         onset[x]n/a, .effectiveTime.low or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="age at onset"].value
         abatement[x]n/a, .effectiveTime.high or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="age at remission"].value or .inboundRelationship[typeCode=SUBJ]source[classCode=CONC, moodCode=EVN].status=completed
         recordedDaten/a, .participation[typeCode=AUT].time
         recordern/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .participation[typeCode=AUT].role
         assertern/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .participation[typeCode=INF].role
         stagen/a, ./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="stage/grade"]
            idn/a
            extensionn/a, N/A
            modifierExtensionn/a, N/A
            summaryn/a, CD, .value
               idn/a
               extensionn/a, N/A
               codingn/a, CV, union(., ./translation)
                  idn/a
                  extensionn/a, N/A
                  systemn/a, ./codeSystem
                  versionn/a, ./codeSystemVersion
                  coden/a, ./code
                  displayn/a, CV.displayName
                  userSelectedn/a, CD.codingRationale
               textn/a, ./originalText[mediaType/code="text/plain"]/data
            assessmentn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .self
            typen/a, CD, ./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="stage type"]
               idn/a
               extensionn/a, N/A
               codingn/a, CV, union(., ./translation)
                  idn/a
                  extensionn/a, N/A
                  systemn/a, ./codeSystem
                  versionn/a, ./codeSystemVersion
                  coden/a, ./code
                  displayn/a, CV.displayName
                  userSelectedn/a, CD.codingRationale
               textn/a, ./originalText[mediaType/code="text/plain"]/data
         evidencen/a, .outboundRelationship[typeCode=SPRT].target[classCode=OBS, moodCode=EVN]
            idn/a
            extensionn/a, N/A
            modifierExtensionn/a, N/A
            coden/a, CD, [code="diagnosis"].value
               idn/a
               extensionn/a, N/A
               codingn/a, CV, union(., ./translation)
                  idn/a
                  extensionn/a, N/A
                  systemn/a, ./codeSystem
                  versionn/a, ./codeSystemVersion
                  coden/a, ./code
                  displayn/a, CV.displayName
                  userSelectedn/a, CD.codingRationale
               textn/a, ./originalText[mediaType/code="text/plain"]/data
            detailn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .self
         noten/a, Act, .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value
      search
         idn/a
         extensionn/a
         modifierExtensionN/A
      request
         idn/a
         extensionn/a
         modifierExtensionN/A
      response
         idn/a
         extensionn/a
         modifierExtensionN/A
   entry (patient)
      idn/a
      extensionn/a
      modifierExtensionN/A
      resourceEntity. 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 (age)n/a, N/A
            idn/a
            urlN/A
            value[x]n/a, N/A
         extension (nationality)n/a, N/A
            idn/a
            extensionn/a, N/A
            extension (code)n/a, N/A
               idn/a
               urlN/A
               value[x]n/a, N/A
            extension (period)n/a, N/A
               idn/a
               urlN/A
               value[x]n/a, N/A
            urlN/A
         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
               idn/a
               extensionn/a, N/A
               codingn/a, CV, union(., ./translation)
                  idn/a
                  extensionn/a, N/A
                  systemn/a, ./codeSystem
                  versionn/a, ./codeSystemVersion
                  coden/a, ./code
                  displayn/a, CV.displayName
                  userSelectedn/a, CD.codingRationale
               textn/a, ./originalText[mediaType/code="text/plain"]/data
            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 (idCardNumber)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
               idn/a
               extensionn/a, N/A
               codingn/a, CV, union(., ./translation)
                  idn/a
                  extensionn/a, N/A
                  systemn/a, ./codeSystem
                  versionn/a, ./codeSystemVersion
                  coden/a, ./code
                     idn/a
                     extensionn/a, N/A
                     extension (identifier-suffix)n/a, N/A
                        idn/a
                        extensionn/a, N/A
                        extension (suffix)n/a, N/A
                           idn/a
                           urlN/A
                           value[x]n/a, N/A
                        extension (valueSet)n/a, N/A
                           idn/a
                           urlN/A
                           value[x]n/a, N/A
                        urlN/A
                  displayn/a, CV.displayName
                  userSelectedn/a, CD.codingRationale
               textn/a, ./originalText[mediaType/code="text/plain"]/data
            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 (medicalRecord)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
               idn/a
               extensionn/a, N/A
               codingn/a, CV, union(., ./translation)
                  idn/a
                  extensionn/a, N/A
                  systemn/a, ./codeSystem
                  versionn/a, ./codeSystemVersion
                  coden/a, ./code
                  displayn/a, CV.displayName
                  userSelectedn/a, CD.codingRationale
               textn/a, ./originalText[mediaType/code="text/plain"]/data
            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
         name (usual)n/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
            extension (room)n/a, N/A
               idn/a
               urlN/A
               value[x]n/a, N/A
            extension (floor)n/a, N/A
               idn/a
               urlN/A
               value[x]n/a, N/A
            extension (number)n/a, N/A
               idn/a
               urlN/A
               value[x]n/a, N/A
            extension (alley)n/a, N/A
               idn/a
               urlN/A
               value[x]n/a, N/A
            extension (lane)n/a, N/A
               idn/a
               urlN/A
               value[x]n/a, N/A
            extension (section)n/a, N/A
               idn/a
               urlN/A
               value[x]n/a, N/A
            extension (neighborhood)n/a, N/A
               idn/a
               urlN/A
               value[x]n/a, N/A
            extension (village)n/a, N/A
               idn/a
               urlN/A
               value[x]n/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]
               idn/a
               extensionn/a, N/A
               extension (PostalCode)
                  idn/a
                  urlN/A
                  value[x]n/a, N/A, CD
                     idn/a
                     extensionn/a, N/A
                     codingn/a, CV, union(., ./translation)
                     coding (PostalCode3)n/a, CV, union(., ./translation)
                        idn/a
                        extensionn/a, N/A
                        systemn/a, ./codeSystem
                        versionn/a, ./codeSystemVersion
                        coden/a, ./code
                        displayn/a, CV.displayName
                        userSelectedn/a, CD.codingRationale
                     coding (PostalCode5)n/a, CV, union(., ./translation)
                        idn/a
                        extensionn/a, N/A
                        systemn/a, ./codeSystem
                        versionn/a, ./codeSystemVersion
                        coden/a, ./code
                        displayn/a, CV.displayName
                        userSelectedn/a, CD.codingRationale
                     coding (PostalCode6)n/a, CV, union(., ./translation)
                        idn/a
                        extensionn/a, N/A
                        systemn/a, ./codeSystem
                        versionn/a, ./codeSystemVersion
                        coden/a, ./code
                        displayn/a, CV.displayName
                        userSelectedn/a, CD.codingRationale
                     textn/a, ./originalText[mediaType/code="text/plain"]/data
            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
            idn/a
            extensionn/a, N/A
            codingn/a, CV, union(., ./translation)
               idn/a
               extensionn/a, N/A
               systemn/a, ./codeSystem
               versionn/a, ./codeSystemVersion
               coden/a, ./code
               displayn/a, CV.displayName
               userSelectedn/a, CD.codingRationale
            textn/a, ./originalText[mediaType/code="text/plain"]/data
         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
               idn/a
               extensionn/a, N/A
               codingn/a, CV, union(., ./translation)
                  idn/a
                  extensionn/a, N/A
                  systemn/a, ./codeSystem
                  versionn/a, ./codeSystemVersion
                  coden/a, ./code
                  displayn/a, CV.displayName
                  userSelectedn/a, CD.codingRationale
               textn/a, ./originalText[mediaType/code="text/plain"]/data
            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>"]
            addressn/a, AD, addr
               idn/a
               extensionn/a, N/A
               extension (room)n/a, N/A
                  idn/a
                  urlN/A
                  value[x]n/a, N/A
               extension (floor)n/a, N/A
                  idn/a
                  urlN/A
                  value[x]n/a, N/A
               extension (number)n/a, N/A
                  idn/a
                  urlN/A
                  value[x]n/a, N/A
               extension (alley)n/a, N/A
                  idn/a
                  urlN/A
                  value[x]n/a, N/A
               extension (lane)n/a, N/A
                  idn/a
                  urlN/A
                  value[x]n/a, N/A
               extension (section)n/a, N/A
                  idn/a
                  urlN/A
                  value[x]n/a, N/A
               extension (neighborhood)n/a, N/A
                  idn/a
                  urlN/A
                  value[x]n/a, N/A
               extension (village)n/a, N/A
                  idn/a
                  urlN/A
                  value[x]n/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]
                  idn/a
                  extensionn/a, N/A
                  extension (PostalCode)
                     idn/a
                     urlN/A
                     value[x]n/a, N/A, CD
                        idn/a
                        extensionn/a, N/A
                        codingn/a, CV, union(., ./translation)
                        coding (PostalCode3)n/a, CV, union(., ./translation)
                           idn/a
                           extensionn/a, N/A
                           systemn/a, ./codeSystem
                           versionn/a, ./codeSystemVersion
                           coden/a, ./code
                           displayn/a, CV.displayName
                           userSelectedn/a, CD.codingRationale
                        coding (PostalCode5)n/a, CV, union(., ./translation)
                           idn/a
                           extensionn/a, N/A
                           systemn/a, ./codeSystem
                           versionn/a, ./codeSystemVersion
                           coden/a, ./code
                           displayn/a, CV.displayName
                           userSelectedn/a, CD.codingRationale
                        coding (PostalCode6)n/a, CV, union(., ./translation)
                           idn/a
                           extensionn/a, N/A
                           systemn/a, ./codeSystem
                           versionn/a, ./codeSystemVersion
                           coden/a, ./code
                           displayn/a, CV.displayName
                           userSelectedn/a, CD.codingRationale
                        textn/a, ./originalText[mediaType/code="text/plain"]/data
               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>"]
            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
               idn/a
               extensionn/a, N/A
               codingn/a, CV, union(., ./translation)
                  idn/a
                  extensionn/a, N/A
                  systemn/a, ./codeSystem
                  versionn/a, ./codeSystemVersion
                  coden/a, ./code
                  displayn/a, CV.displayName
                  userSelectedn/a, CD.codingRationale
               textn/a, ./originalText[mediaType/code="text/plain"]/data
            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
      search
         idn/a
         extensionn/a
         modifierExtensionN/A
      request
         idn/a
         extensionn/a
         modifierExtensionN/A
      response
         idn/a
         extensionn/a
         modifierExtensionN/A
   entry (hosp-organization)
      idn/a
      extensionn/a
      modifierExtensionN/A
      resourceEntity. Role, or Act, Organization(classCode=ORG, determinerCode=INST)
         metan/a, N/A
         implicitRulesn/a
         languagen/a
         textn/a, N/A, Act.text?
         containedEntity. Role, or Act, N/A
         extensionn/a, N/A
         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], .scopes[Role](classCode=IDENT)
            idn/a
            extensionn/a, N/A
            usen/a, Role.code or implied by context
            typen/a, CD, Role.code or implied by context
               idn/a
               extensionn/a, N/A
               codingn/a, CV, union(., ./translation)
                  idn/a
                  extensionn/a, N/A
                  systemn/a, ./codeSystem
                  versionn/a, ./codeSystemVersion
                  coden/a, ./code
                  displayn/a, CV.displayName
                  userSelectedn/a, CD.codingRationale
               textn/a, ./originalText[mediaType/code="text/plain"]/data
            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, .status
         typen/a, CD, .code
            idn/a
            extensionn/a, N/A
            codingn/a, CV, union(., ./translation)
               idn/a
               extensionn/a, N/A
               systemn/a, ./codeSystem
               versionn/a, ./codeSystemVersion
               coden/a, ./code
               displayn/a, CV.displayName
               userSelectedn/a, CD.codingRationale
            textn/a, ./originalText[mediaType/code="text/plain"]/data
         namen/a, .name
         aliasn/a, .name
         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>"]
         addressn/a, AD, .address
            idn/a
            extensionn/a, N/A
            extension (room)n/a, N/A
               idn/a
               urlN/A
               value[x]n/a, N/A
            extension (floor)n/a, N/A
               idn/a
               urlN/A
               value[x]n/a, N/A
            extension (number)n/a, N/A
               idn/a
               urlN/A
               value[x]n/a, N/A
            extension (alley)n/a, N/A
               idn/a
               urlN/A
               value[x]n/a, N/A
            extension (lane)n/a, N/A
               idn/a
               urlN/A
               value[x]n/a, N/A
            extension (section)n/a, N/A
               idn/a
               urlN/A
               value[x]n/a, N/A
            extension (neighborhood)n/a, N/A
               idn/a
               urlN/A
               value[x]n/a, N/A
            extension (village)n/a, N/A
               idn/a
               urlN/A
               value[x]n/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]
               idn/a
               extensionn/a, N/A
               extension (PostalCode)
                  idn/a
                  urlN/A
                  value[x]n/a, N/A, CD
                     idn/a
                     extensionn/a, N/A
                     codingn/a, CV, union(., ./translation)
                     coding (PostalCode3)n/a, CV, union(., ./translation)
                        idn/a
                        extensionn/a, N/A
                        systemn/a, ./codeSystem
                        versionn/a, ./codeSystemVersion
                        coden/a, ./code
                        displayn/a, CV.displayName
                        userSelectedn/a, CD.codingRationale
                     coding (PostalCode5)n/a, CV, union(., ./translation)
                        idn/a
                        extensionn/a, N/A
                        systemn/a, ./codeSystem
                        versionn/a, ./codeSystemVersion
                        coden/a, ./code
                        displayn/a, CV.displayName
                        userSelectedn/a, CD.codingRationale
                     coding (PostalCode6)n/a, CV, union(., ./translation)
                        idn/a
                        extensionn/a, N/A
                        systemn/a, ./codeSystem
                        versionn/a, ./codeSystemVersion
                        coden/a, ./code
                        displayn/a, CV.displayName
                        userSelectedn/a, CD.codingRationale
                     textn/a, ./originalText[mediaType/code="text/plain"]/data
            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>"]
         partOfn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .playedBy[classCode=Part].scoper
         contactn/a, .contactParty
            idn/a
            extensionn/a, N/A
            modifierExtensionn/a, N/A
            purposen/a, CD, ./type
               idn/a
               extensionn/a, N/A
               codingn/a, CV, union(., ./translation)
                  idn/a
                  extensionn/a, N/A
                  systemn/a, ./codeSystem
                  versionn/a, ./codeSystemVersion
                  coden/a, ./code
                  displayn/a, CV.displayName
                  userSelectedn/a, CD.codingRationale
               textn/a, ./originalText[mediaType/code="text/plain"]/data
            namen/a, EN (actually, PN), ./name
            telecomn/a, TEL, ./telecom
            addressn/a, AD, ./addr
               idn/a
               extensionn/a, N/A
               extension (room)n/a, N/A
                  idn/a
                  urlN/A
                  value[x]n/a, N/A
               extension (floor)n/a, N/A
                  idn/a
                  urlN/A
                  value[x]n/a, N/A
               extension (number)n/a, N/A
                  idn/a
                  urlN/A
                  value[x]n/a, N/A
               extension (alley)n/a, N/A
                  idn/a
                  urlN/A
                  value[x]n/a, N/A
               extension (lane)n/a, N/A
                  idn/a
                  urlN/A
                  value[x]n/a, N/A
               extension (section)n/a, N/A
                  idn/a
                  urlN/A
                  value[x]n/a, N/A
               extension (neighborhood)n/a, N/A
                  idn/a
                  urlN/A
                  value[x]n/a, N/A
               extension (village)n/a, N/A
                  idn/a
                  urlN/A
                  value[x]n/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]
                  idn/a
                  extensionn/a, N/A
                  extension (PostalCode)
                     idn/a
                     urlN/A
                     value[x]n/a, N/A, CD
                        idn/a
                        extensionn/a, N/A
                        codingn/a, CV, union(., ./translation)
                        coding (PostalCode3)n/a, CV, union(., ./translation)
                           idn/a
                           extensionn/a, N/A
                           systemn/a, ./codeSystem
                           versionn/a, ./codeSystemVersion
                           coden/a, ./code
                           displayn/a, CV.displayName
                           userSelectedn/a, CD.codingRationale
                        coding (PostalCode5)n/a, CV, union(., ./translation)
                           idn/a
                           extensionn/a, N/A
                           systemn/a, ./codeSystem
                           versionn/a, ./codeSystemVersion
                           coden/a, ./code
                           displayn/a, CV.displayName
                           userSelectedn/a, CD.codingRationale
                        coding (PostalCode6)n/a, CV, union(., ./translation)
                           idn/a
                           extensionn/a, N/A
                           systemn/a, ./codeSystem
                           versionn/a, ./codeSystemVersion
                           coden/a, ./code
                           displayn/a, CV.displayName
                           userSelectedn/a, CD.codingRationale
                        textn/a, ./originalText[mediaType/code="text/plain"]/data
               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>"]
         endpointn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity)
      search
         idn/a
         extensionn/a
         modifierExtensionN/A
      request
         idn/a
         extensionn/a
         modifierExtensionN/A
      response
         idn/a
         extensionn/a
         modifierExtensionN/A
   entry (gene-organization)
      idn/a
      extensionn/a
      modifierExtensionN/A
      resourceEntity. Role, or Act, Organization(classCode=ORG, determinerCode=INST)
         metan/a, N/A
         implicitRulesn/a
         languagen/a
         textn/a, N/A, Act.text?
         containedEntity. Role, or Act, N/A
         extensionn/a, N/A
         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], .scopes[Role](classCode=IDENT)
            idn/a
            extensionn/a, N/A
            usen/a, Role.code or implied by context
            typen/a, CD, Role.code or implied by context
               idn/a
               extensionn/a, N/A
               codingn/a, CV, union(., ./translation)
                  idn/a
                  extensionn/a, N/A
                  systemn/a, ./codeSystem
                  versionn/a, ./codeSystemVersion
                  coden/a, ./code
                  displayn/a, CV.displayName
                  userSelectedn/a, CD.codingRationale
               textn/a, ./originalText[mediaType/code="text/plain"]/data
            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, .status
         typen/a, CD, .code
            idn/a
            extensionn/a, N/A
            codingn/a, CV, union(., ./translation)
               idn/a
               extensionn/a, N/A
               systemn/a, ./codeSystem
               versionn/a, ./codeSystemVersion
               coden/a, ./code
               displayn/a, CV.displayName
               userSelectedn/a, CD.codingRationale
            textn/a, ./originalText[mediaType/code="text/plain"]/data
         namen/a, .name
         aliasn/a, .name
         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>"]
         addressn/a, AD, .address
            idn/a
            extensionn/a, N/A
            extension (room)n/a, N/A
               idn/a
               urlN/A
               value[x]n/a, N/A
            extension (floor)n/a, N/A
               idn/a
               urlN/A
               value[x]n/a, N/A
            extension (number)n/a, N/A
               idn/a
               urlN/A
               value[x]n/a, N/A
            extension (alley)n/a, N/A
               idn/a
               urlN/A
               value[x]n/a, N/A
            extension (lane)n/a, N/A
               idn/a
               urlN/A
               value[x]n/a, N/A
            extension (section)n/a, N/A
               idn/a
               urlN/A
               value[x]n/a, N/A
            extension (neighborhood)n/a, N/A
               idn/a
               urlN/A
               value[x]n/a, N/A
            extension (village)n/a, N/A
               idn/a
               urlN/A
               value[x]n/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]
               idn/a
               extensionn/a, N/A
               extension (PostalCode)
                  idn/a
                  urlN/A
                  value[x]n/a, N/A, CD
                     idn/a
                     extensionn/a, N/A
                     codingn/a, CV, union(., ./translation)
                     coding (PostalCode3)n/a, CV, union(., ./translation)
                        idn/a
                        extensionn/a, N/A
                        systemn/a, ./codeSystem
                        versionn/a, ./codeSystemVersion
                        coden/a, ./code
                        displayn/a, CV.displayName
                        userSelectedn/a, CD.codingRationale
                     coding (PostalCode5)n/a, CV, union(., ./translation)
                        idn/a
                        extensionn/a, N/A
                        systemn/a, ./codeSystem
                        versionn/a, ./codeSystemVersion
                        coden/a, ./code
                        displayn/a, CV.displayName
                        userSelectedn/a, CD.codingRationale
                     coding (PostalCode6)n/a, CV, union(., ./translation)
                        idn/a
                        extensionn/a, N/A
                        systemn/a, ./codeSystem
                        versionn/a, ./codeSystemVersion
                        coden/a, ./code
                        displayn/a, CV.displayName
                        userSelectedn/a, CD.codingRationale
                     textn/a, ./originalText[mediaType/code="text/plain"]/data
            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>"]
         partOfn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .playedBy[classCode=Part].scoper
         contactn/a, .contactParty
            idn/a
            extensionn/a, N/A
            modifierExtensionn/a, N/A
            purposen/a, CD, ./type
               idn/a
               extensionn/a, N/A
               codingn/a, CV, union(., ./translation)
                  idn/a
                  extensionn/a, N/A
                  systemn/a, ./codeSystem
                  versionn/a, ./codeSystemVersion
                  coden/a, ./code
                  displayn/a, CV.displayName
                  userSelectedn/a, CD.codingRationale
               textn/a, ./originalText[mediaType/code="text/plain"]/data
            namen/a, EN (actually, PN), ./name
            telecomn/a, TEL, ./telecom
            addressn/a, AD, ./addr
               idn/a
               extensionn/a, N/A
               extension (room)n/a, N/A
                  idn/a
                  urlN/A
                  value[x]n/a, N/A
               extension (floor)n/a, N/A
                  idn/a
                  urlN/A
                  value[x]n/a, N/A
               extension (number)n/a, N/A
                  idn/a
                  urlN/A
                  value[x]n/a, N/A
               extension (alley)n/a, N/A
                  idn/a
                  urlN/A
                  value[x]n/a, N/A
               extension (lane)n/a, N/A
                  idn/a
                  urlN/A
                  value[x]n/a, N/A
               extension (section)n/a, N/A
                  idn/a
                  urlN/A
                  value[x]n/a, N/A
               extension (neighborhood)n/a, N/A
                  idn/a
                  urlN/A
                  value[x]n/a, N/A
               extension (village)n/a, N/A
                  idn/a
                  urlN/A
                  value[x]n/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]
                  idn/a
                  extensionn/a, N/A
                  extension (PostalCode)
                     idn/a
                     urlN/A
                     value[x]n/a, N/A, CD
                        idn/a
                        extensionn/a, N/A
                        codingn/a, CV, union(., ./translation)
                        coding (PostalCode3)n/a, CV, union(., ./translation)
                           idn/a
                           extensionn/a, N/A
                           systemn/a, ./codeSystem
                           versionn/a, ./codeSystemVersion
                           coden/a, ./code
                           displayn/a, CV.displayName
                           userSelectedn/a, CD.codingRationale
                        coding (PostalCode5)n/a, CV, union(., ./translation)
                           idn/a
                           extensionn/a, N/A
                           systemn/a, ./codeSystem
                           versionn/a, ./codeSystemVersion
                           coden/a, ./code
                           displayn/a, CV.displayName
                           userSelectedn/a, CD.codingRationale
                        coding (PostalCode6)n/a, CV, union(., ./translation)
                           idn/a
                           extensionn/a, N/A
                           systemn/a, ./codeSystem
                           versionn/a, ./codeSystemVersion
                           coden/a, ./code
                           displayn/a, CV.displayName
                           userSelectedn/a, CD.codingRationale
                        textn/a, ./originalText[mediaType/code="text/plain"]/data
               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>"]
         endpointn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity)
      search
         idn/a
         extensionn/a
         modifierExtensionN/A
      request
         idn/a
         extensionn/a
         modifierExtensionN/A
      response
         idn/a
         extensionn/a
         modifierExtensionN/A
   entry (specimen)
      idn/a
      extensionn/a
      modifierExtensionN/A
      resourceEntity. Role, or Act, Role[classCode=SPEC]
      search
         idn/a
         extensionn/a
         modifierExtensionN/A
      request
         idn/a
         extensionn/a
         modifierExtensionN/A
      response
         idn/a
         extensionn/a
         modifierExtensionN/A
   entry (device)
      idn/a
      extensionn/a
      modifierExtensionN/A
      resourceEntity. Role, or Act, Device
      search
         idn/a
         extensionn/a
         modifierExtensionN/A
      request
         idn/a
         extensionn/a
         modifierExtensionN/A
      response
         idn/a
         extensionn/a
         modifierExtensionN/A
   entry (documentReference)
      idn/a
      extensionn/a
      modifierExtensionN/A
      resourceEntity. Role, or Act, Document[classCode="DOC" and moodCode="EVN"]
      search
         idn/a
         extensionn/a
         modifierExtensionN/A
      request
         idn/a
         extensionn/a
         modifierExtensionN/A
      response
         idn/a
         extensionn/a
         modifierExtensionN/A
   entry (observation)
      idn/a
      extensionn/a
      modifierExtensionN/A
      resourceEntity. Role, or Act, Observation[classCode=OBS, moodCode=EVN]
      search
         idn/a
         extensionn/a
         modifierExtensionN/A
      request
         idn/a
         extensionn/a
         modifierExtensionN/A
      response
         idn/a
         extensionn/a
         modifierExtensionN/A
   entry (serviceRequest)
      idn/a
      extensionn/a
      modifierExtensionN/A
      resourceEntity. Role, or Act, Act[moodCode<=INT]
      search
         idn/a
         extensionn/a
         modifierExtensionN/A
      request
         idn/a
         extensionn/a
         modifierExtensionN/A
      response
         idn/a
         extensionn/a
         modifierExtensionN/A

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

BundleTWNGS
BundleClinicalDocument, if bundle.type = document
   identifierClinicalDocument.id
   timestampClinicalDocument.effectiveTime
   entry
      resource
   entry (composition)
      resourceClinicalDocument
   entry (diagnosticReport)
      resource
   entry (condition)
      resource
   entry (patient)
      resourceClinicalDocument.recordTarget.patientRole
         identifier.id
         identifier (idCardNumber).id
         identifier (medicalRecord).id
         activen/a
         name.patient.name
         name (usual).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
   entry (hosp-organization)
   entry (gene-organization)
   entry (specimen)
   entry (device)
   entry (documentReference)
      resourcewhen describing a CDA

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

BundleTWNGS
Bundle
   identifierFiveWs.identifier
   typeFiveWs.class
   timestampFiveWs.init
   entry
      resource
   entry (composition)
      resource
   entry (diagnosticReport)
      resource
   entry (condition)
      resource
         identifierFiveWs.identifier
         clinicalStatusFiveWs.status
         verificationStatusFiveWs.status
         categoryFiveWs.class
         severityFiveWs.grade
         codeFiveWs.what[x]
         subjectFiveWs.subject[x], FiveWs.subject
         encounterFiveWs.context
         onset[x]FiveWs.init
         abatement[x]FiveWs.done[x]
         recordedDateFiveWs.recorded
         recorderFiveWs.author
         asserterFiveWs.source
         evidence
            codeFiveWs.why[x]
            detailFiveWs.why[x]
   entry (patient)
      resource
         identifierFiveWs.identifier
         identifier (idCardNumber)FiveWs.identifier
         identifier (medicalRecord)FiveWs.identifier
         activeFiveWs.status
   entry (hosp-organization)
      resource
         identifierFiveWs.identifier
         activeFiveWs.status
         typeFiveWs.class
   entry (gene-organization)
      resource
         identifierFiveWs.identifier
         activeFiveWs.status
         typeFiveWs.class