Back To Index  <<  Back To Templates

active Template  Wystawca dokumentu zdigitalizowanego

Id 2.16.840.1.113883.2.48.3.5.2.4.10.2.7 Effective Date 2023‑03‑28
Status active Active Version Label 1.0
Name plMsimCdaDigitizedDocumentLegalAuthenticator Display Name Wystawca dokumentu zdigitalizowanego
Description Szablon struktury CDA dla wystawcy dokumentu zdigitalizowanego
Context Parent nodes of template element with id 2.16.840.1.113883.2.48.3.5.2.4.10.2.7
Classification CDA Header Level Template
Open/Closed Closed (only defined elements are allowed)
Used by / Uses
Used by 1 transaction and 1 template, Uses 1 template
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.1.1 Include active Dokument zdigitalizowany (1.0) 2023‑03‑28
Uses as Name Version
2.16.840.1.113883.3.4424.13.10.7.1 Include active [7] Adres (bazowy) (1.3) DYNAMIC
Item DT Card Conf Description Label
hl7:legalAuthenticator
0 … 1 (plMdotstor)
@typeCode
0 … 1 F LA
@contextControlCode
0 … 1 F OP
hl7:templateId
II 1 … 1 M (plMdotstor)
@root
uid 1 … 1 F 2.16.840.1.113883.2.48.3.5.2.4.10.2.7
hl7:time
TS 1 … 1 R (plMdotstor)
hl7:signatureCode
CS 1 … 1 R (plMdotstor)
  CONF
The value of @code shall be drawn from value set ParticipationSignature ParticipationSignature (DYNAMIC)
hl7:assignedEntity
1 … 1 M (plMdotstor)
@classCode
0 … 1 F ASSIGNED
hl7:id
II 1 … * M (plMdotstor)
@root
uid 1 … 1 R
@extension
st 1 … 1 R
Included 0 … * from 2.16.840.1.113883.3.4424.13.10.7.1 [7] Adres (bazowy) (DYNAMIC)
hl7:addr
0 … * (plMdotstor)
@nullFlavor
cs 0 … 1 F UNK
hl7:country
ADXP 0 … 1 (plMdotstor)
hl7:postalCode
0 … 1 (plMdotstor)
@xsi:type
0 … 1 F extPL:adxp
@postCity
st 0 … 1  
hl7:city
ADXP 0 … 1 (plMdotstor)
hl7:streetName
ADXP 0 … 1 (plMdotstor)
hl7:houseNumber
ADXP 0 … 1 (plMdotstor)
hl7:unitID
ADXP 0 … 1 (plMdotstor)
hl7:unitType
ADXP 0 … 1 (plMdotstor)
hl7:censusTract
ADXP 0 … 1 (plMdotstor)
  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.