Powrót do strony głownej  <<  Powrót do listy szablonów

 Szablon  [7] Adres (bazowy)

Szablon (wewnętrzny) 2.16.840.1.113883.3.4424.13.10.7.1 - plCdaBaseAddr
Id 2.16.840.1.113883.3.4424.13.10.7.1
Typ HL7 V2/V3 data type level template
Wersja 0.9.10 errata obowiązuje od 2014‑09‑23 status Aktywny
Otwarty/Zamknięty Otwarty (pozostałe elementy poza zdefiniowanymi są dozwolone)
Opis Wzorzec CDA adresu.
Używane przez / Używa
Używane przez / Używa 9 szablonów
Używane przez Template id Name Wersja
2.16.840.1.113883.3.4424.13.10.2.2 [2] Organizacja (bazowy) 2017‑06‑26
2.16.840.1.113883.3.4424.13.10.4.15 [4] Dane podmiotu związanego z fragmentem treści dokumentu 2014‑09‑23
2.16.840.1.113883.3.4424.13.10.4.19 [4] Dane uczestnika związane z fragmentem treści dokumentu 2014‑09‑23
Przykład
<addr>
  <country>country</country>
  <postalCode postCity="postCity">postalCode</postalCode>
  <city>city</city>
  <streetName>streetName</streetName>
  <houseNumber>houseNumber</houseNumber>
  <unitID>unitID</unitID>
  <unitType>unitType</unitType>
  <censusTract>censusTract</censusTract>
</addr>
Pozycja Typ danych Krotność Wymagalność Opis Etykieta
hl7:addr
0 .. * (plCdaBaseAddr)
@nullFlavor
cs 0 .. 1 F UNK
hl7:country
ADXP 0 .. 1 (plCdaBaseAddr)
hl7:postalCode
0 .. 1 (plCdaBaseAddr)
@xsi:type
0 .. 1 F
@postCity
st 0 .. 1  
hl7:city
ADXP 0 .. 1 (plCdaBaseAddr)
hl7:streetName
ADXP 0 .. 1 (plCdaBaseAddr)
hl7:houseNumber
ADXP 0 .. 1 (plCdaBaseAddr)
hl7:unitID
ADXP 0 .. 1 (plCdaBaseAddr)
hl7:unitType
ADXP 0 .. 1 (plCdaBaseAddr)
hl7:censusTract
ADXP 0 .. 1 (plCdaBaseAddr)
Schematron report rola  error
test not(@nullFlavor) and ((not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:postalCode))
Komunikat Dla polskiego adresu wymagane jest podanie kodu pocztowego.
Schematron report rola  error
test not(@nullFlavor) and (not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:city)
Komunikat Dla polskiego adresu wymagane jest podanie miasta.
Schematron report rola  error
test not(@nullFlavor) and (not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:houseNumber)
Komunikat Dla polskiego adresu wymagane jest podanie numeru domu.
Schematron assert rola  error
test not(hl7:censusTract) or starts-with(hl7:censusTract,'TERYT TERC:') or starts-with(hl7:censusTract,'TERYT SIMC:')
Komunikat Poprawnie zapisany numer TERYT powinien zaczynać się od znaków: "TERYT TERC:" lub "TERYT SIMC:".
Schematron report rola  error
test @nullFlavor and count(./*) > 1
Komunikat Jeżeli adres jest nieznany, to nie może zawierać żadnych składników adresu.