Back To Index  <<  Back To Templates

ref Template  [4] Miejsce

Id 2.16.840.1.113883.3.4424.13.10.2.75 Effective Date valid from 2018‑04‑26
Status active Active Version Label 1.2.3
Name plCdaBasePlace Display Name [4] Miejsce
Description Szablon CDA dla miejsca
Szablon CDA dla miejsca
Context Sibling nodes of template element with id 2.16.840.1.113883.3.4424.13.10.2.75
Classification CDA Header Level Template
CDA Header Level Template
Open/Closed Open (other than defined elements are allowed)
Used by / Uses
Used by 0 transactions and 2 templates, Uses 1 template
Used by as Name Version
2.16.840.1.113883.3.4424.13.10.2.52 Containment active [2] Dane wizyty (bazowy) (1.2.3) 2018‑04‑26
2.16.840.1.113883.3.4424.13.10.1.14 link active [1] Dokument anulujący (1.2.3) 2018‑04‑26
Uses as Name Version
2.16.840.1.113883.3.4424.13.10.7.1 Include active [7] Adres (bazowy) (1.2.3) DYNAMIC
Item DT Card Conf Description Label
@classCode
0 … 1 F PLC
@determinerCode
0 … 1 F INSTANCE
hl7:templateId
II 1 … 1 M (plCdotsace)
@root
oid 1 … 1 F 2.16.840.1.113883.3.4424.13.10.2.75
hl7:name
EN 0 … 1 (plCdotsace)
Included 0 … 1 from 2.16.840.1.113883.3.4424.13.10.7.1 [7] Adres (bazowy) (DYNAMIC)
hl7:addr
0 … 1 (plCdotsace)
@nullFlavor
cs 0 … 1 F UNK
hl7:country
ADXP 0 … 1 (plCdotsace)
hl7:postalCode
0 … 1 (plCdotsace)
@xsi:type
0 … 1 F extPL:adxp
@postCity
st 0 … 1  
hl7:city
ADXP 0 … 1 (plCdotsace)
hl7:streetName
ADXP 0 … 1 (plCdotsace)
hl7:houseNumber
ADXP 0 … 1 (plCdotsace)
hl7:unitID
ADXP 0 … 1 (plCdotsace)
hl7:unitType
ADXP 0 … 1 (plCdotsace)
hl7:censusTract
ADXP 0 … 1 (plCdotsace)
  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.