Back To Index  <<  Back To Templates

ref Template  [2] Wystawca dokumentu (bazowy)

Id 2.16.840.1.113883.3.4424.13.10.2.6 Effective Date valid from 2018‑04‑26
Status active Active Version Label 1.2.3
Name plCdaBaseLegalAuthenticator Display Name [2] Wystawca dokumentu (bazowy)
Description BAzowy szablon struktury CDA dla wystawcy dokumentu
Classification CDA Header Level Template
Open/Closed Open (other than defined elements are allowed)
Used by / Uses
Used by 0 transactions and 1 template, Uses 3 templates
Used by as Name Version
2.16.840.1.113883.3.4424.13.10.1.4 Include active [1] Dokument skierowania (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
2.16.840.1.113883.3.4424.13.10.2.1 Containment active [2] Osoba (bazowy) (1.2.3) DYNAMIC
2.16.840.1.113883.3.4424.13.10.2.2 Containment active [2] Organizacja (bazowy) (1.2.3) DYNAMIC
Relationship Specialization: template 2.16.840.1.113883.10.12.106 (2005‑09‑07)
Item DT Card Conf Description Label
hl7:legalAuthenticator
0 … 1 (plCdotstor)
@typeCode
0 … 1 F LA
@contextControlCode
0 … 1 F OP
hl7:templateId
II 1 … 1 M (plCdotstor)
@root
oid 1 … 1 F 2.16.840.1.113883.3.4424.13.10.2.6
hl7:time
TS 1 … 1 R (plCdotstor)
hl7:signatureCode
CS 1 … 1 R (plCdotstor)
  CONF
The value of @code shall be drawn from value set ParticipationSignature ParticipationSignature (DYNAMIC)
hl7:assignedEntity
1 … 1 M (plCdotstor)
@classCode
0 … 1 F ASSIGNED
hl7:id
II 1 … * M (plCdotstor)
@root
oid 1 … 1 R
@extension
st 1 … 1 R
hl7:code
CE 0 … 1 (plCdotstor)
Included 0 … * from 2.16.840.1.113883.3.4424.13.10.7.1 [7] Adres (bazowy) (DYNAMIC)
hl7:addr
0 … * (plCdotstor)
@nullFlavor
cs 0 … 1 F UNK
hl7:country
ADXP 0 … 1 (plCdotstor)
hl7:postalCode
0 … 1 (plCdotstor)
@xsi:type
0 … 1 F extPL:adxp
@postCity
st 0 … 1  
hl7:city
ADXP 0 … 1 (plCdotstor)
hl7:streetName
ADXP 0 … 1 (plCdotstor)
hl7:houseNumber
ADXP 0 … 1 (plCdotstor)
hl7:unitID
ADXP 0 … 1 (plCdotstor)
hl7:unitType
ADXP 0 … 1 (plCdotstor)
hl7:censusTract
ADXP 0 … 1 (plCdotstor)
  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.  
hl7:telecom
TEL 0 … * (plCdotstor)
hl7:assignedPerson
0 … 1 Contains 2.16.840.1.113883.3.4424.13.10.2.1 [2] Osoba (bazowy) (DYNAMIC) (plCdotstor)
treeblank treeblank where [hl7:templateId [@root='2.16.840.1.113883.3.4424.13.10.2.1']]
hl7:representedOrganization
0 … 1 Contains 2.16.840.1.113883.3.4424.13.10.2.2 [2] Organizacja (bazowy) (DYNAMIC) (plCdotstor)
treeblank treeblank where [hl7:templateId [@root=''] and hl7:templateId [@root='']]
  Schematron report role red error  
  test not(hl7:assignedPerson/hl7:name) and not(hl7:id[@root=/hl7:ClinicalDocument/hl7:author/hl7:assignedAuthor/hl7:id/@root and @extension=/hl7:ClinicalDocument/hl7:author/hl7:assignedAuthor/hl7:id/@extension])  
  Message Jeśli wystawca dokumentu jest również jego autorem to identyfikator wystawcy musi być taki sam jak identyfikator autora. W przeciwnym wypadku należy podać dane personalne wystawcy dokumentu.