This page is part of the FHIR Specification (v0.0.82: DSTU 1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

1.13.3 Data Type Formal Definitions

This page provides mappings for the data types. There are mappings to HL7 v2, v3, and (where appropraite) vCard.

ElementIdentifierHumanNameAddressContactScheduleQuantityAttachmentRangePeriodRatioCodeableConceptCodingSampledDataAgeDistanceDurationCountMoney

1.13.3.1 Attachment

See also Base Definition, Examples and Formal Definitions.

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

AttachmentED/RP
    contentTypeED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used
    language
    dataED.5
    urlRP.1+RP.2 - if they refer to a URL (see v2.6)
    size
    hash
    title

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

AttachmentED
    contentType./mediaType, ./charset
    language./language
    data./data
    url./reference/literal
    sizeN/A (needs data type R3 proposal)
    hash.integrityCheck[parent::ED/integrityCheckAlgorithm="SHA-1"]
    title./title/data

1.13.3.4 Identifier

See also Base Definition, Examples and Formal Definitions.

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

IdentifierCX / EI (occasionally, more often EI maps to a resource id or a URL)
    useCX.5
    labelN/A
    systemCX.4 / EI-2-4
    valueCX.1 / EI.1
    periodCX.7 + CX.8
    assignerCX.4 / (CX.4,CX.9,CX.10)

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

IdentifierII - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs
    useN/A - this is sometimes implied by context
    labelN/A - this is sometimes implied by context
    systemII.root
    valueII.extension or II.root if system indicates OID or GUID
    periodN/A - this is sometimes implied by context
    assignerII.assigningAuthorityName but note that this is an improper use by the definition of the field

1.13.3.7 Mappings for ServD (http://www.omg.org/spec/ServD/1.0/)

IdentifierIdentifier
    use
    label
    system./IdentifierType
    value./Value
    period./StartDate and ./EndDate
    assigner./IdentifierIssuingAuthority

1.13.3.8 Coding

See also Base Definition, Examples and Formal Definitions.

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

CodingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6
    systemC*E.3
    versionC*E.7
    codeC*E.1
    displayC*E.2 - but note this is not well followed
    primarySometimes implied by being first
    valueSetC*E.16 - .19

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

CodingCV
    system./codeSystem
    version./codeSystemVersion
    code./code
    displayCV.displayName
    primaryCD.codingRationale
    valueSetCD.valueSet / CD.valueSetVersion

1.13.3.11 CodeableConcept

See also Base Definition, Examples and Formal Definitions.

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

CodeableConceptCE/CNE/CWE
    codingC*E.1-8, C*E.10-22
    textC*E.9. But note many systems use C*E.2 for this

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

CodeableConceptCD
    codingunion(., ./translation)
    text./originalText[mediaType/code="text/plain"]/data

1.13.3.14 Quantity

See also Base Definition, Examples and Formal Definitions.

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

QuantitySN (see also Range) or CQ
    valueSN.2 / CQ - N/A
    comparatorSN.1 / CQ.1
    units(see OBX.6 etc) / CQ.2
    system(see OBX.6 etc) / CQ.2
    code(see OBX.6 etc) / CQ.2

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

QuantityPQ, IVL<PQ>, MO, CO, depending on the values
    valuePQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
    comparatorIVL properties
    unitsPQ.unit
    systemCO.codeSystem, PQ.translation.codeSystem
    codePQ.code, MO.currency, PQ.translation.code

1.13.3.17 Range

See also Base Definition, Examples and Formal Definitions.

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

RangeNR and also possibly SN (but see also quantity)
    lowNR.1
    highNR.2

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

RangeIVL<QTY[not(type="TS")]> [lowClosed="true" and highClosed="true"]or URG<QTY[not(type="TS")]>
    low./low
    high./high

1.13.3.20 Ratio

See also Base Definition, Examples and Formal Definitions.

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

RatioN/A
    numerator
    denominator

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

RatioRTO
    numerator.numerator
    denominator.denominator

1.13.3.23 Period

See also Base Definition, Examples and Formal Definitions.

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

PeriodDR
    startDR.1
    endDR.2

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

PeriodIVL<TS>[lowClosed="true" and highClosed="true"] or URG<TS>[lowClosed="true" and highClosed="true"]
    start./low
    end./high

1.13.3.26 SampledData

See also Base Definition, Examples and Formal Definitions.

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

SampledDataN/A (but see section 7.14 in v2.7)
    origin
    period
    factor
    lowerLimit
    upperLimit
    dimensions
    data

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

SampledDataSLIST + GLIST
    originSLIST.origin
    periodGLIST.increment
    factorSLIST.factor
    lowerLimitN/A (use SLIST.digits.nullFlavor)
    upperLimitN/A (use SLIST.digits.nullFlavor)
    dimensionsN/A (fixed to 1)
    dataSLIST.digits

1.13.3.29 HumanName

See also Base Definition, Examples and Formal Definitions.

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

HumanNameXPN
    useXPN.7, but often indicated by which field contains the name
    textimplied by XPN.11
    familyXPN.1
    givenXPN.2 + XPN.3
    prefixXPN.5
    suffixXPN/4
    periodXPN.13 + XPN.14

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

HumanNameEN (actually, PN)
    useunique(./use)
    text./formatted
    family./part[partType = FAM]
    given./part[partType = GIV]
    prefix./part[partType = PFX]
    suffix./part[partType = SFX]
    period./usablePeriod[type="IVL<TS>"]

1.13.3.32 Mappings for ServD (http://www.omg.org/spec/ServD/1.0/)

HumanNameProviderName
    use./NamePurpose
    text
    family./FamilyName
    given./GivenNames
    prefix./TitleCode
    suffix
    period./StartDate and ./EndDate

vCard Mappings

1.13.3.33 Address

See also Base Definition, Examples and Formal Definitions.

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

AddressXAD
    useXAD.7
    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
    stateXAD.4
    zipXAD.5
    countryXAD.6
    periodXAD.12 / XAD.13 + XAD.14

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

AddressAD
    useunique(./use)
    text./formatted
    lineAD.part[parttype = AL]
    cityAD.part[parttype = CTY]
    stateAD.part[parttype = STA]
    zipAD.part[parttype = ZIP]
    countryAD.part[parttype = CNT]
    period./usablePeriod[type="IVL<TS>"]

1.13.3.36 Mappings for vCard (http://w3.org/vcard)

Address
    use
    text
    linestreet address
    citylocality
    stateregion
    zippostal code
    countrycountry name
    period

1.13.3.37 Mappings for ServD (http://www.omg.org/spec/ServD/1.0/)

AddressAddress
    use./AddressPurpose
    text
    line./StreetAddress (newline delimitted)
    city./Jurisdiction
    state./Region
    zip./PostalIdentificationCode
    country./Country
    period./StartDate and ./EndDate

vCard Mappings

1.13.3.38 Contact

See also Base Definition, Examples and Formal Definitions.

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

ContactXTN
    systemXTN.3
    valueXTN.1 (or XTN.12)
    useXTN.2 - but often indicated by field
    periodN/A

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

ContactTEL
    system./scheme
    value./url
    useunique(./use)
    period./useablePeriod[type="IVL<TS>"]

1.13.3.41 Mappings for ServD (http://www.omg.org/spec/ServD/1.0/)

ContactContactPoint
    system./ContactPointType
    value./Value
    use./ContactPointPurpose
    period./StartDate and ./EndDate

1.13.3.42 Schedule

See also Base Definition, Examples and Formal Definitions.

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

ScheduleN/A
    event
    repeat
        frequency
        when
        duration
        units
        count
        end

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

ScheduleQSET<TS> (GTS)
    eventQLIST<TS> or PIVL.offset
    repeatImplies PIVL or EIVL
        frequencyPIVL.phase
        whenEIVL.event
        durationPIVL.phase / EIVL.offset
        unitsPIVL.phase.unit
        countPIVL.count
        endN/A

comments powered by Disqus