|
|
Line 1: |
Line 1: |
| | | |
− | =AD Address=
| |
− | Datatype Release 1: AD
| |
− | ==Registered Attributes and Child Elements==
| |
− | {| class=artdecor
| |
− | ! @Attribute / Element !! Cardinality !! Datatype
| |
− | |-
| |
− | | @use || optional || set_cs
| |
− | |-
| |
− | | @isNotOrdered || optional || bl
| |
− | |-
| |
− | | @nullFlavor || optional || cs
| |
− | |-
| |
− | | hl7:delimiter || 0 .. * || [[DTr1_ADXP|ADXP]]
| |
− | |-
| |
− | | hl7:country || 0 .. * || [[DTr1_ADXP|ADXP]]
| |
− | |-
| |
− | | hl7:state || 0 .. * || [[DTr1_ADXP|ADXP]]
| |
− | |-
| |
− | | hl7:county || 0 .. * || [[DTr1_ADXP|ADXP]]
| |
− | |-
| |
− | | hl7:city || 0 .. * || [[DTr1_ADXP|ADXP]]
| |
− | |-
| |
− | | hl7:postalCode || 0 .. * || [[DTr1_ADXP|ADXP]]
| |
− | |-
| |
− | | hl7:streetAddressLine || 0 .. * || [[DTr1_ADXP|ADXP]]
| |
− | |-
| |
− | | hl7:houseNumber || 0 .. * || [[DTr1_ADXP|ADXP]]
| |
− | |-
| |
− | | hl7:houseNumberNumeric || 0 .. * || [[DTr1_ADXP|ADXP]]
| |
− | |-
| |
− | | hl7:direction || 0 .. * || [[DTr1_ADXP|ADXP]]
| |
− | |-
| |
− | | hl7:streetName || 0 .. * || [[DTr1_ADXP|ADXP]]
| |
− | |-
| |
− | | hl7:streetNameBase || 0 .. * || [[DTr1_ADXP|ADXP]]
| |
− | |-
| |
− | | hl7:streetNameType || 0 .. * || [[DTr1_ADXP|ADXP]]
| |
− | |-
| |
− | | hl7:additionalLocator || 0 .. * || [[DTr1_ADXP|ADXP]]
| |
− | |-
| |
− | | hl7:unitID || 0 .. * || [[DTr1_ADXP|ADXP]]
| |
− | |-
| |
− | | hl7:unitType || 0 .. * || [[DTr1_ADXP|ADXP]]
| |
− | |-
| |
− | | hl7:careOf || 0 .. * || [[DTr1_ADXP|ADXP]]
| |
− | |-
| |
− | | hl7:censusTract || 0 .. * || [[DTr1_ADXP|ADXP]]
| |
− | |-
| |
− | | hl7:deliveryAddressLine || 0 .. * || [[DTr1_ADXP|ADXP]]
| |
− | |-
| |
− | | hl7:deliveryInstallationType || 0 .. * || [[DTr1_ADXP|ADXP]]
| |
− | |-
| |
− | | hl7:deliveryInstallationArea || 0 .. * || [[DTr1_ADXP|ADXP]]
| |
− | |-
| |
− | | hl7:deliveryInstallationQualifier || 0 .. * || [[DTr1_ADXP|ADXP]]
| |
− | |-
| |
− | | hl7:deliveryMode || 0 .. * || [[DTr1_ADXP|ADXP]]
| |
− | |-
| |
− | | hl7:deliveryModeIdentifier || 0 .. * || [[DTr1_ADXP|ADXP]]
| |
− | |-
| |
− | | hl7:buildingNumberSuffix || 0 .. * || [[DTr1_ADXP|ADXP]]
| |
− | |-
| |
− | | hl7:postBox || 0 .. * || [[DTr1_ADXP|ADXP]]
| |
− | |-
| |
− | | hl7:precinct || 0 .. * || [[DTr1_ADXP|ADXP]]
| |
− | |-
| |
− | |}
| |
− | ==Core Schematron Rules CSR==
| |
− | The following rules are defined in the base core schematrons.
| |
− | {{ConstraintBox|Rule ID: '''AD'''
| |
− | Extends Rule(s): [[DTr1_ANY|ANY]]
| |
− |
| |
− | Constraints
| |
− | *{{Error}} dtr1-1-AD: address shall be null or text only or element only (no mixed content)
| |
− | *{{Error}} dtr1-2-AD: no useablePeriod if null
| |
− | *{{Error}} dtr1-3-AD: updateMode shall not be used on address elements
| |
− | *{{Error}} dtr1-5-AD: useablePeriod/low/@value must have the same precision as useablePeriod/high/@value
| |
− | *{{Error}} dtr1-6-AD: useablePeriod/low/@value must be before useablePeriod/high/@value
| |
− | *{{Error}} dtr1-7-AD: for useablePeriod/width only us (microseconds), ms (milliseconds), s (seconds), min (minute), h (hours), d (day), wk (week), mo (month) or a (year) are allowed
| |
− | *{{Warning}} dtr1-8-AD: empty address particles should not be present.
| |
− | *{{Error}} dtr1-9-AD: [RIM-001] <value-of select="$name"/> SHALL NOT have nullFlavor, if there are other <value-of select="$name"/> elements which are not null
| |
− | *{{Error}} dtr1-10-AD: [RIM-002] <value-of select="$name"/> (<value-of select="$value"/>) SHALL be distinct
| |
− | }}
| |
− | ==Additional Strict Schematron Rules SSR==
| |
− | The following rules are defined in the strict mode of core schematrons.
| |
− | [[Category:DTr1|AD]]
| |