cda:supply
|
|
|
|
|
(Med eV2) |
@classCode
|
|
1 … 1 |
F |
SPLY |
CONF 7451 |
|
SHALL contain exactly one [1..1] @classCode="SPLY" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6
STATIC) (CONF:1098-7451).
|
@moodCode
|
|
1 … 1 |
F |
EVN |
CONF 7452 |
|
SHALL contain exactly one [1..1] @moodCode="EVN" (CodeSystem: ActMood urn:oid:2.16.840.1.113883.5.1001
STATIC) (CONF:1098-7452).
|
cda:templateId
|
II |
1 … 1 |
M |
C-CDA R1.1 templateId root without an extension |
CONF 2936 |
@root
|
uid |
1 … 1 |
F |
2.16.840.1.113883.10.20.22.4.18 |
cda:templateId
|
II |
1 … 1 |
M |
SHALL contain exactly one [1..1] templateId (CONF:1098-7453) such that it |
CONF 7453 |
@root
|
|
1 … 1 |
F |
2.16.840.1.113883.10.20.22.4.18 |
CONF 0505 |
|
SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.22.4.18" (CONF:1098-10505). |
@extension
|
|
1 … 1 |
F |
2014-06-09 |
CONF 2580 |
|
SHALL contain exactly one [1..1] @extension="2014-06-09" (CONF:1098-32580). |
cda:id
|
II |
1 … * |
|
SHALL contain at least one [1..*] id (CONF:1098-7454). |
CONF 7454 |
cda:statusCode
|
CS |
1 … 1 |
R |
SHALL contain exactly one [1..1] statusCode (CONF:1098-7455). |
CONF 7455 |
cda:effectiveTime
|
|
0 … 1 |
R |
SHOULD contain zero or one [0..1] effectiveTime (CONF:1098-7456). |
CONF 7456 |
cda:repeatNumber
|
|
0 … 1 |
R |
SHOULD contain zero or one [0..1] repeatNumber (CONF:1098-7457).
In "INT" (intent) mood, the repeatNumber defines the number of allowed administrations.
For example, a repeatNumber of "3" means that the substance can be administered up
to 3 times. In "EVN" (event) mood, the repeatNumber is the number of occurrences.
For example, a repeatNumber of "3" in a
substance administration event means that the current administration is the 3rd in
a series.
|
CONF 7457 |
cda:quantity
|
|
0 … 1 |
R |
SHOULD contain zero or one [0..1] quantity (CONF:1098-7458). |
CONF 7458 |
Choice |
1 … |
|
A supply act *SHALL* contain one product/Medication Information *OR* one product/Immunization
Medication Information template
Elements to choose from:
|
cda:product
|
|
0 … 1 |
|
Contains 2.16.840.1.113883.10.20.22.4.23 Medication Information (V2) (2014‑06‑09)
|
CONF 7459 |
cda:product
|
|
0 … 1 |
|
Contains 2.16.840.1.113883.10.20.22.4.54 Immunization Medication Information (V2) (2014‑06‑09)
|
CONF 9331 |
cda:performer
|
|
0 … 1 |
|
MAY contain zero or one [0..1] performer (CONF:1098-7461). |
CONF 7461 |
cda:assignedEntity
|
|
1 … 1 |
M |
|
CONF 7467 |
cda:addr
|
AD |
0 … 1 |
R |
This assignedEntity SHOULD contain zero or one [0..1] US Realm Address (AD.US.FIELDED)
(identifier: urn:oid:2.16.840.1.113883.10.20.22.5.2) (CONF:1098-7468).
|
CONF 7468 |
Included |
|
|
from 2.16.840.1.113883.10.20.22.5.2 US Realm Address (AD.US.FIELDED) (2015‑08‑13)
|
cda:addr
|
|
|
|
|
CONF 7468 |
@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).
|
CONF 7290 |
|
CONF |
|
|
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).
|
CONF 7295 |
|
CONF |
|
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).
|
CONF 7293 |
|
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 |
|
|
Schematron assert |
role |
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). |
CONF 7292 |
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).
|
CONF 7294 |
|
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 |
|
|
Schematron assert |
role |
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 |
|
CONF 7291 |
|
Schematron assert |
role |
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 |
error
|
|
|
test |
@nullFlavor or (cda:city and cda:streetAddressLine) |
|
|
Message |
|
|
cda:entryRelationship
|
|
0 … 1 |
|
Contains 2.16.840.1.113883.10.20.22.4.17 Medication Supply Order (V2) (2014‑06‑09)
|
CONF 7473 |
@typeCode
|
|
1 … 1 |
F |
REFR |
CONF 7474 |
|
SHALL contain exactly one [1..1] @typeCode="REFR" (CodeSystem: HL7ActRelationshipType
urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1098-7474).
|