|
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).
|
CONF:81‑7290 |
|
CONF |
|
|
Constraint |
*SHALL NOT* have mixed content except for white space |
|
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).
|
CONF:81‑7295 |
|
CONF |
|
|
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).
|
CONF:81‑7293 |
|
CONF |
|
|
Schematron assert |
role |
error
|
|
|
test |
(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. |
|
|
ADXP |
1 … 1 |
M |
SHALL contain exactly one [1..1] city (CONF:81-7292). |
CONF:81‑7292 |
|
Schematron assert |
role |
error
|
|
|
test |
(cda:country='US' and cda:postalCode) or (cda:country!='US') or (not(cda:country)
and cda:postalCode)
|
|
|
Message |
PostalCode 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 postalCode MAY be present but
MAY be bound to different vocabularies |
|
|
ADXP |
0 … 1 |
R |
|
CONF:81‑7294 |
|
Constraint |
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).
|
|
CONF |
|
|
Schematron assert |
role |
error
|
|
|
test |
count(cda:streetAddressLine) > 0 and count(cda:streetAddressLine) < 5 |
|
|
Message |
SHALL contain exactly one [1..1] streetAddressLine (CONF:81-7291). |
|
|
ADXP |
1 … 1 |
M |
|
CONF:81‑7291 |