Template 2.16.840.1.113883.10.20.22.5.2 US Realm Address (AD.US.FIELDED)

2012‑01‑12

Template (internal) 2.16.840.1.113883.10.20.22.5.2 - USRealmAddressADUSFIELDED
Id 2.16.840.1.113883.10.20.22.5.2
Version valid from 2012‑01‑12 status draft
Description Reusable "address" template, designed for use in US Realm CDA Header.
SHALL NOT have mixed content except for white space
Item DT Card Conf Desc Label
@use
1..1
CONF
The value of @use shall be drawn from value set 2.16.840.1.113883.1.11.10637 flexibility 2005-05-01T00:00:00
alert Error: Cannot find value set "2.16.840.1.113883.1.11.10637"
cda:streetAddressLine
ST 1..4 M conf‑7291
cda:city
ST 1..1 M conf‑7292
cda:state
ST 1..1 R conf‑7293
CONF
The value of @code shall be drawn from value set 2.16.840.1.113883.3.88.12.80.1 flexibility dynamic
alert Error: Cannot find value set "2.16.840.1.113883.3.88.12.80.1"
Schematron assert Role red error
Test cda:streetAddressLine and cda:city and (cda:country!='US' or (cda:country='US' and cda:state and cda:postalCode))
Message
State is required if the country is US. If country is not specified, its assumed to be US. If country is something other than US, the state MAY be present but MAY be bound to different vocabularies.
cda:postalCode
ST 1..1 R conf‑7294
CONF
The value of @code shall be drawn from value set 2.16.840.1.113883.3.88.12.80.2 flexibility dynamic
alert Error: Cannot find value set "2.16.840.1.113883.3.88.12.80.2"
Schematron assert Role red error
Test cda:streetAddressLine and cda:city and (cda:country!='US' or (cda:country='US' and cda:state and cda:postalCode))
Message
postalCode is required if the country is US. If country is not specified, its assumed to be US. If country is something other than US, the postalCode MAY be present but MAY be bound to different vocabularies
cda:country
ST 0..1 R conf‑7295
CONF
The value of @code shall be drawn from value set 2.16.840.1.113883.3.88.12.80.63 flexibility dynamic
alert Error: Cannot find value set "2.16.840.1.113883.3.88.12.80.63"