Back To Index  <<  Back To Templates

active Template  [7] Adres (bazowy)

Id 2.16.840.1.113883.3.4424.13.10.7.1 Effective Date 2023‑03‑28
Status active Active Version Label 1.3
Name plCdaBaseAddr Display Name [7] Adres (bazowy)
Description Wzorzec CDA adresu.
Context Parent nodes of template element with id 2.16.840.1.113883.3.4424.13.10.7.1
Classification HL7 V2/V3 Datatype Level Template
Open/Closed Open (other than defined elements are allowed)
Used by / Uses
Used by 1 transaction and 4 templates, Uses 0 templates
Used by as Name Version
plcda-transaction-2 Transaction final Dokument zdigitalizowany 2023‑03‑28
2.16.840.1.113883.2.48.3.5.2.4.10.2.1 Include active Dane pacjenta (1.0) 2023‑03‑28
2.16.840.1.113883.2.48.3.5.2.4.10.2.7 Include active Wystawca dokumentu zdigitalizowanego (1.0) 2023‑03‑28
2.16.840.1.113883.2.48.3.5.2.4.10.1.1 link active Dokument zdigitalizowany (1.0) 2023‑03‑28
2.16.840.1.113883.3.4424.13.10.2.2 Include active [2] Organizacja (bazowy) (1.3) 2023‑03‑28
Example
Example
<addr>
  <country>Polska</country>  <postalCode xsi:type="extPL:adxp.postalCode" postCity="Piaseczno">03-134</postalCode>  <city>Warszawa</city>  <streetName>Odkryta</streetName>  <houseNumber>41</houseNumber>  <unitID>12</unitID>  <censusTract>TERYT SIMC: 987654</censusTract></addr>
Item DT Card Conf Description Label
hl7:addr
0 … * (plCdotsddr)
@nullFlavor
cs 0 … 1 F UNK
hl7:country
ADXP 0 … 1 (plCdotsddr)
hl7:postalCode
0 … 1 (plCdotsddr)
@xsi:type
0 … 1 F extPL:adxp
@postCity
st 0 … 1  
hl7:city
ADXP 0 … 1 (plCdotsddr)
hl7:streetName
ADXP 0 … 1 (plCdotsddr)
hl7:houseNumber
ADXP 0 … 1 (plCdotsddr)
hl7:unitID
ADXP 0 … 1 (plCdotsddr)
hl7:unitType
ADXP 0 … 1 (plCdotsddr)
hl7:censusTract
ADXP 0 … 1 (plCdotsddr)
  Schematron report role red error  
  test not(@nullFlavor) and ((not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:postalCode))  
  Message Dla polskiego adresu wymagane jest podanie kodu pocztowego.  
  Schematron report role red error  
  test not(@nullFlavor) and (not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:city)  
  Message Dla polskiego adresu wymagane jest podanie miasta.  
  Schematron report role red error  
  test not(@nullFlavor) and (not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:houseNumber)  
  Message Dla polskiego adresu wymagane jest podanie numeru domu.  
  Schematron assert role red error  
  test not(hl7:censusTract) or starts-with(hl7:censusTract,'TERYT TERC:') or starts-with(hl7:censusTract,'TERYT SIMC:')  
  Message Poprawnie zapisany numer TERYT powinien zaczynać się od znaków: "TERYT TERC:" lub "TERYT SIMC:".  
  Schematron report role red error  
  test @nullFlavor and count(./*) > 1  
  Message Jeżeli adres jest nieznany, to nie może zawierać żadnych składników adresu.