This page is part of the FHIR Specification (v0.11: DSTU 1 Ballot 3). 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

Data Type Formal Definitions 1.11.3

This page provides the mappings for the data types

ElementIdentifierHumanNameAddressContactScheduleQuantityAttachmentChoiceRangePeriodRatioCodeableConceptCodingSampledDataAgeDistanceDurationCountMoney

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

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
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
CodeableConceptCE/CNE/CWE
    codingC*E.1-8, C*E.10-22
    textC*E.9. But note many systems use C*E.2 for this
    primarySometimes implied by C*E.1

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

ScheduleGTS
    event
    repeat
        frequency
        when
        duration
        units
        count
        end
ContactTEL
    system./scheme
    value./url
    useunique(./use)
    period./useablePeriod[type="IVL<TS>"]
AddressAD
    useunique(./use)
    text./formatted
    line
    city
    state
    zip
    country
    period./usablePeriod[type="IVL<TS>"]
HumanNameEN
    useunique(./use)
    text./formatted
    family
    given
    prefix
    suffix
    period./usablePeriod[type="IVL<TS>"]
PeriodIVL<TS>[lowClosed="true" and highClosed="true"] or URG<TS>[lowClosed="true" and highClosed="true"]
    start./low
    end./high
CodingCV
    system./codeSystem
    code./code
    displayCV.displayName
RangeIVL<QTY[not(type="TS")]> [lowClosed="true" and highClosed="true"]or URG<QTY[not(type="TS")]>
    low./low
    high./high
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
    unitsN/A
    systemCO.codeSystem, PQ.translation.codeSystem
    codePQ.code, MO.currency, PQ.translation.code
ChoiceCD
    codeCD.code
    optionExpansion of CD.valueSet to list of CDs
        codeCD.code
        displayCD.displayName
    isOrderedN/A
AttachmentED
    contentType./mediaType, ./charset
    language./language
    data./data
    url./reference/literal
    size(needs data type R3 proposal)
    hash.integrityCheck[parent::ED/integrityCheckAlgorithm="SHA-1"]
    title./title/data
RatioRTO
    numeratorRTO.numerator
    denominatorRTO.denominator
SampledDataSLIST + GLIST
    originSLIST.origin
    periodGLIST.increment
    factorSLIST.factor
    lowerLimit
    upperLimit
    dimensions
    dataSLIST.digits
ResourceReferenceThe target of a resource reference is a RIM entry point (Act, Role, or Entity)
    typeN/A
    referenceN/A
    displayN/A
CodeableConceptCD
    codingunion(., ./translation)
    text./originalText[mediaType/code="text/plain"]/data
    primaryspecial("The id assigned to the coding that corresponds to the root code of the CD")
IdentifierII
    use
    label
    systemII.root
    keyII.extension or II.root if system indicates OID or GUID
    period
    assigner
ExtensionN/A
    urlN/A
    isModifierN/A
    value[x]N/A
NarrativeN/A
    statusN/A
    divN/A

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

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

Mappings: