HL7 FHIR® Implementation Guide: Electronic Case Reporting (eCR) - US Realm
1.1.0 - STU 2 Ballot

This page is part of the electronic Case Reporting (eCR) (v1.1.0: STU 2 on FHIR R4 Ballot 1) based on FHIR R4. The current version which supercedes this version is 2.1.0. For a full list of available versions, see the Directory of published versions

Extension: Travel History Address Extension

This Extension profile represents where the patient traveled to or visited as an address e.g.: country, state, city, street address (if applicable).

The official URL for this extension is:

http://hl7.org/fhir/us/ecr/StructureDefinition/address-extension

Status: active
Extension maintained by: HL7 Public Health Work Group (http://www.hl7.org/Special/committees/pher/index.cfm)

Context of Use

This extension may be used on the following element(s):

  • Observation.component
  • Observation

At the least, address must contain the country. State is required if the country is US. If country is something other than US, the state MAY be present but MAY be bound to different vocabularies.

Usage info

Usage:

Formal Views of Extension Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

This structure is derived from Extension

Summary

Mandatory: 0 element (1 nested mandatory element)
Must-Support: 9 elements
Fixed Value: 1 element

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionAddress
... url 1..1uri"http://hl7.org/fhir/us/ecr/StructureDefinition/address-extension"
... value[x] S0..1AddressValue of extension
Example for Address: {"text":"Nadi FIJI","city":"Nadi","country":"FIJI"}
.... use S0..1codehome | work | temp | old | billing - purpose of this address
.... type S0..1codepostal | physical | both
.... line S0..*stringStreet name, number, direction & P.O. Box etc.
.... city S0..1stringName of city, town etc.
.... district S0..1stringDistrict name (aka county)
.... state S0..1stringSub-unit of country (abbreviations ok)
Binding: USPS Two Letter Alphabetic Codes (preferred): United States Postal Service Two-Letter State and Possession Abbreviations

.... postalCode S0..1stringPostal code for area
.... country S1..1stringCountry (e.g. can be ISO 3166 2 or 3 letter code)

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionAddress
... id 0..1stringUnique id for inter-element referencing
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... url 1..1uri"http://hl7.org/fhir/us/ecr/StructureDefinition/address-extension"
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!SΣ0..1codehome | work | temp | old | billing - purpose of this address
Binding: AddressUse (required): The use of an address.


Example General: home
.... type SΣ0..1codepostal | physical | both
Binding: AddressType (required): The type of an address (physical / postal).


Example General: both
.... text Σ0..1stringText representation of the address
Example General: 137 Nowhere Street, Erewhon 9132
.... line SΣ0..*stringStreet name, number, direction & P.O. Box etc.
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
.... city SΣ0..1stringName of city, town etc.
Example General: Erewhon
.... district SΣ0..1stringDistrict name (aka county)
Example General: Madison
.... state SΣ0..1stringSub-unit of country (abbreviations ok)
Binding: USPS Two Letter Alphabetic Codes (preferred): United States Postal Service Two-Letter State and Possession Abbreviations

.... postalCode SΣ0..1stringPostal code for area
Example General: 9132
.... country SΣ1..1stringCountry (e.g. can be ISO 3166 2 or 3 letter code)
.... period Σ0..1PeriodTime period when address was/is in use
Example General: {"start":"2010-03-23","end":"2010-07-01"}

doco Documentation for this format

This structure is derived from Extension

Summary

Mandatory: 0 element (1 nested mandatory element)
Must-Support: 9 elements
Fixed Value: 1 element

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionAddress
... url 1..1uri"http://hl7.org/fhir/us/ecr/StructureDefinition/address-extension"
... value[x] S0..1AddressValue of extension
Example for Address: {"text":"Nadi FIJI","city":"Nadi","country":"FIJI"}
.... use S0..1codehome | work | temp | old | billing - purpose of this address
.... type S0..1codepostal | physical | both
.... line S0..*stringStreet name, number, direction & P.O. Box etc.
.... city S0..1stringName of city, town etc.
.... district S0..1stringDistrict name (aka county)
.... state S0..1stringSub-unit of country (abbreviations ok)
Binding: USPS Two Letter Alphabetic Codes (preferred): United States Postal Service Two-Letter State and Possession Abbreviations

.... postalCode S0..1stringPostal code for area
.... country S1..1stringCountry (e.g. can be ISO 3166 2 or 3 letter code)

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionAddress
... id 0..1stringUnique id for inter-element referencing
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... url 1..1uri"http://hl7.org/fhir/us/ecr/StructureDefinition/address-extension"
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!SΣ0..1codehome | work | temp | old | billing - purpose of this address
Binding: AddressUse (required): The use of an address.


Example General: home
.... type SΣ0..1codepostal | physical | both
Binding: AddressType (required): The type of an address (physical / postal).


Example General: both
.... text Σ0..1stringText representation of the address
Example General: 137 Nowhere Street, Erewhon 9132
.... line SΣ0..*stringStreet name, number, direction & P.O. Box etc.
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
.... city SΣ0..1stringName of city, town etc.
Example General: Erewhon
.... district SΣ0..1stringDistrict name (aka county)
Example General: Madison
.... state SΣ0..1stringSub-unit of country (abbreviations ok)
Binding: USPS Two Letter Alphabetic Codes (preferred): United States Postal Service Two-Letter State and Possession Abbreviations

.... postalCode SΣ0..1stringPostal code for area
Example General: 9132
.... country SΣ1..1stringCountry (e.g. can be ISO 3166 2 or 3 letter code)
.... period Σ0..1PeriodTime period when address was/is in use
Example General: {"start":"2010-03-23","end":"2010-07-01"}

doco Documentation for this format

 

Other representations of extension: Schematron

Terminology Bindings

PathConformanceValueSet
Extension.value[x].userequiredAddressUse
Extension.value[x].typerequiredAddressType
Extension.value[x].statepreferredUspsTwoLetterAlphabeticCodes

Constraints

IdPathDetailsRequirements
ele-1ExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1ExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Extension.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Extension.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Extension.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Extension.value[x].extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Extension.value[x].extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Extension.value[x].useAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Extension.value[x].typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Extension.value[x].textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Extension.value[x].lineAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Extension.value[x].cityAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Extension.value[x].districtAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Extension.value[x].stateAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Extension.value[x].postalCodeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Extension.value[x].countryAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Extension.value[x].periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())