Back To Index  <<  Back To Templates

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

Id 2.16.840.1.113883.10.20.22.5.2
ref
ccda-
Effective Date 2015‑08‑13
Status draft Draft Version Label 2.1
Name USRealmAddressADUSFIELDED Display Name US Realm Address (AD.US.FIELDED)
Description Reusable address template, for use in US Realm CDA Header.
Classification HL7 V2/V3 Datatype Level Template
Open/Closed Open (other than defined elements are allowed)
Used by / Uses
Used by 0 transactions and 5 templates, Uses 0 templates
Used by as Name Version
2.16.840.1.113883.10.20.22.4.18 Include draft Medication Dispense (V2) (2.1) 2014‑06‑09
2.16.840.1.113883.10.20.22.4.16 link draft Medication Activity (V2) (2.1) 2014‑06‑09
notice Circular reference found with 2.16.840.1.113883.10.20.22.4.16, please check
2.16.840.1.113883.10.20.22.4.14 link draft Procedure Activity Procedure (V2) (2.1) 2014‑06‑09
notice Circular reference found with 2.16.840.1.113883.10.20.22.4.14, please check
2.16.840.1.113883.10.20.22.4.9 link draft Reaction Observation (V2) (2.1) 2014‑06‑09
notice Circular reference found with 2.16.840.1.113883.10.20.22.4.9, please check
2.16.840.1.113883.10.20.22.4.52 link draft Immunization Activity (V3) (2.1) 2015‑08‑01
Item DT Card Conf Description Label
cda:addr
(USRdotsDED)
@nullFlavor
cs 0 … 1  
@use
set_cs 0 … 1   SHOULD contain zero or one [0..1] @use, which SHALL be selected from ValueSet PostalAddressUse urn:oid:2.16.840.1.113883.1.11.10637 STATIC 2005-05-01 (CONF:81-7290). CONFdots7290
  CONF
The value of @use shall be drawn from value set 2.16.840.1.113883.1.11.10637 PostalAddressUse (DYNAMIC)
  Constraint *SHALL NOT* have mixed content except for white space
  Constraint If the country is US, the state element is required but SHOULD have @nullFlavor if the state is unknown. If country is not specified, it's assumed to be US. If country is something other than US, the state MAY be present but MAY be bound to different vocabularies (CONF:81-10024).
cda:country
ADXP 0 … 1 R SHOULD contain zero or one [0..1] country, which SHALL be selected from ValueSet Country urn:oid:2.16.840.1.113883.3.88.12.80.63 DYNAMIC (CONF:81-7295). CONFdots7295
  CONF
The value of @code shall be drawn from value set 2.16.840.1.113883.3.88.12.80.63 Country (DYNAMIC)
cda:state
ADXP 0 … 1 R SHOULD contain zero or one [0..1] state (ValueSet: StateValueSet urn:oid:2.16.840.1.113883.3.88.12.80.1 DYNAMIC) (CONF:81-7293). CONFdots7293
  Constraint State is required if the country is US. If country is not specified, it's assumed to be US. If country is something other than US, the state MAY be present but MAY be bound to different vocabularies (CONF:81-10024).
  CONF
The value of @code shall be drawn from value set 2.16.840.1.113883.3.88.12.80.1 StateValueSet (DYNAMIC)
  Schematron assert role red error  
  test @nullFlavor or (cda:country='US' and cda:state) or (cda:country!='US') or (not(cda:country) and cda:state)  
  Message State is required if the country is US. If country is not specified, it's assumed to be US. If country is something other than US, the state MAY be present but MAY be bound to different vocabularies.  
cda:city
ADXP 1 … 1 R SHALL contain exactly one [1..1] city (CONF:81-7292). CONFdots7292
cda:postalCode
ADXP 0 … 1 R SHOULD contain zero or one [0..1] postalCode, which SHOULD be selected from ValueSet PostalCode urn:oid:2.16.840.1.113883.3.88.12.80.2 DYNAMIC (CONF:81-7294). 
CONFdots7294
  Constraint If the country is US, the postalCode element is required but SHOULD have @nullFlavor if the postalCode is unknown. If country is not specified, it's assumed to be US. If country is something other than US, the postalCode MAY be present but MAY be bound to different vocabularies (CONF:81-10025).
  CONF
The value of @code shall be drawn from value set 2.16.840.1.113883.3.88.12.80.2 PostalCode (DYNAMIC)
  Schematron assert role red error  
  test @nullFlavor or (cda:country='US' and cda:postalCode) or (cda:country!='US') or (not(cda:country) and cda:postalCode)  
  Message If the country is US, the postalCode element is required but SHOULD have @nullFlavor if the postalCode is unknown. If country is not specified, it's assumed to be US. If country is something other than US, the postalCode MAY be present but MAY be bound to different vocabularies (CONF:81-10025).  
cda:streetAddressLine
ADXP 1 … 4 R CONFdots7291
  Schematron assert role red error  
  test @nullFlavor or (count(cda:streetAddressLine) > 0 and count(cda:streetAddressLine) < 5)  
  Message SHALL contain at least one and not more than 4 streetAddressLine (CONF:81-7291)  
  Schematron assert role red error  
  test @nullFlavor or (cda:city and cda:streetAddressLine)  
  Message