Back To Index  <<  Back To Templates

active Template  Dane pacjenta

Id 2.16.840.1.113883.2.48.3.5.2.4.10.2.1 Effective Date 2023‑03‑28
Status active Active Version Label 1.0
Name plMsimCdaRecordTarget Display Name Dane pacjenta
Description Szablon CDA dla danych pacjenta
Context Parent nodes of template element with id 2.16.840.1.113883.2.48.3.5.2.4.10.2.1
Classification CDA Header Level Template
Open/Closed Open (other than defined elements are allowed)
Used by / Uses
Used by 0 transactions and 0 templates, Uses 4 templates
Uses as Name Version
2.16.840.1.113883.3.4424.13.10.7.1 Include active [7] Adres (bazowy) (1.3) DYNAMIC
2.16.840.1.113883.3.4424.13.10.7.2 Include active [7] Nazwisko i imię osoby (bazowy) (1.3) DYNAMIC
2.16.840.1.113883.3.4424.13.10.2.1 Containment active [2] Osoba (bazowy) (1.3) DYNAMIC
2.16.840.1.113883.3.4424.13.10.2.2 Containment active [2] Organizacja (bazowy) (1.3) DYNAMIC
Relationship Specialization: template 2.16.840.1.113883.10.12.101 (2023‑03‑28)
Item DT Card Conf Description Label
hl7:recordTarget
1 … 1 M (plMdotsget)
@typeCode
0 … 1 F RCT
@contextControlCode
0 … 1 F OP
hl7:templateId
II 1 … 1 M (plMdotsget)
@root
uid 1 … 1 F 2.16.840.1.113883.2.48.3.5.2.4.10.2.1
hl7:patientRole
1 … 1 M (plMdotsget)
@classCode
0 … 1 F PAT
hl7:id
II 1 … * M (plMdotsget)
@root
uid 1 … 1 R
@extension
st 1 … 1 R
  Schematron report role red error  
  test @root='2.16.840.1.113883.3.4424.1.1.616' and not(matches(string(@extension),'^[0-9]{11}$'))  
  Message Jeżeli identyfikatorem jest numer PESEL, to musi zawierać 11 cyfr.  
Included 0 … * from 2.16.840.1.113883.3.4424.13.10.7.1 [7] Adres (bazowy) (DYNAMIC)
hl7:addr
0 … * (plMdotsget)
@nullFlavor
cs 0 … 1 F UNK
hl7:country
ADXP 0 … 1 (plMdotsget)
hl7:postalCode
0 … 1 (plMdotsget)
@xsi:type
0 … 1 F extPL:adxp
@postCity
st 0 … 1  
hl7:city
ADXP 0 … 1 (plMdotsget)
hl7:streetName
ADXP 0 … 1 (plMdotsget)
hl7:houseNumber
ADXP 0 … 1 (plMdotsget)
hl7:unitID
ADXP 0 … 1 (plMdotsget)
hl7:unitType
ADXP 0 … 1 (plMdotsget)
hl7:censusTract
ADXP 0 … 1 (plMdotsget)
  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 … * (plMdotsget)
hl7:patient
1 … 1 M (plMdotsget)
@classCode
0 … 1 F PSN
@determinerCode
0 … 1 F INSTANCE
hl7:id
II 0 … * NP (plMdotsget)
Included 1 … 1 R from 2.16.840.1.113883.3.4424.13.10.7.2 [7] Nazwisko i imię osoby (bazowy) (DYNAMIC)
hl7:name
1 … 1 R (plMdotsget)
hl7:prefix
ENXP 0 … 1 (plMdotsget)
hl7:given
ENXP 1 … * R (plMdotsget)
hl7:family
ENXP 1 … * R (plMdotsget)
hl7:administrativeGenderCode
CE 0 … 1 (plMdotsget)
  CONF
The value of @code shall be drawn from value set AdministrativeGender AdministrativeGender (DYNAMIC)
hl7:birthTime
TS.DATE 0 … 1 (plMdotsget)
  Schematron assert role red error  
  test concat(substring(@value,1,4),'-',substring(@value,5,2),'-',substring(@value,7,2)) castable as xs:date  
  Message Pierwsze 8 cyfr daty urodzenia powinno być w formacie YYYYMMDD.  
hl7:maritalStatusCode
CE 0 … 1 (plMdotsget)
  CONF
The value of @code shall be drawn from value set MaritalStatus MaritalStatus (DYNAMIC)
hl7:religiousAffiliationCode
CE 0 … 1 (plMdotsget)
  CONF
The value of @code shall be drawn from value set ReligiousAffiliation ReligiousAffiliation (DYNAMIC)
hl7:raceCode
CE 0 … 1 (plMdotsget)
  CONF
The value of @code shall be drawn from value set Race Race (DYNAMIC)
hl7:ethnicGroupCode
CE 0 … 1 (plMdotsget)
  CONF
The value of @code shall be drawn from value set Ethnicity Ethnicity (DYNAMIC)
hl7:guardian
0 … * (plMdotsget)
@classCode
1 … 1 F GUARD
hl7:id
II 0 … * (plMdotsget)
@root
uid 1 … 1 R
@extension
st 1 … 1 R
  Schematron report role red error  
  test @root='2.16.840.1.113883.3.4424.1.1.616' and not(matches(string(@extension),'^[0-9]{11}$'))  
  Message Jeżeli identyfikatorem jest numer PESEL to musi zawierać 11 cyfr.  
hl7:code
CE 0 … 1 (plMdotsget)
@codeSystem
CONF 0 … 1 F 2.16.840.1.113883.5.111
Included 0 … * from 2.16.840.1.113883.3.4424.13.10.7.1 [7] Adres (bazowy) (DYNAMIC)
hl7:addr
0 … * (plMdotsget)
@nullFlavor
cs 0 … 1 F UNK
hl7:country
ADXP 0 … 1 (plMdotsget)
hl7:postalCode
0 … 1 (plMdotsget)
@xsi:type
0 … 1 F extPL:adxp
@postCity
st 0 … 1  
hl7:city
ADXP 0 … 1 (plMdotsget)
hl7:streetName
ADXP 0 … 1 (plMdotsget)
hl7:houseNumber
ADXP 0 … 1 (plMdotsget)
hl7:unitID
ADXP 0 … 1 (plMdotsget)
hl7:unitType
ADXP 0 … 1 (plMdotsget)
hl7:censusTract
ADXP 0 … 1 (plMdotsget)
  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.  
Choice 1 … 1 Elements to choose from:
hl7:guardianPerson
Contains 2.16.840.1.113883.3.4424.13.10.2.1 [2] Osoba (bazowy) (DYNAMIC) (plMdotsget)
hl7:guardianOrganization
Contains 2.16.840.1.113883.3.4424.13.10.2.2 [2] Organizacja (bazowy) (DYNAMIC) (plMdotsget)
hl7:birthplace
0 … 1 (plMdotsget)
@classCode
0 … 1  
  CONF
The value of @classCode shall be drawn from value set RoleClassBirthplace RoleClassBirthplace (DYNAMIC)
hl7:birthplace
1 … 1 (plMdotsget)
@classCode
0 … 1  
  CONF
The value of @classCode shall be drawn from value set EntityClassPlace EntityClassPlace (DYNAMIC)
@determinerCode
0 … 1 F INSTANCE
hl7:name
EN 0 … 1 (plMdotsget)
hl7:addr
AD 0 … 1 (plMdotsget)
hl7:languageCommunication
0 … * (plMdotsget)
hl7:languageCode
CS 0 … 1 (plMdotsget)
  CONF
The value of @code shall be drawn from value set HumanLanguage HumanLanguage (DYNAMIC)
hl7:modeCode
CE 0 … 1 (plMdotsget)
  CONF
The value of @code shall be drawn from value set LanguageAbilityMode LanguageAbilityMode (DYNAMIC)
hl7:proficiencyLevelCode
CE 0 … 1 (plMdotsget)
  CONF
The value of @code shall be drawn from value set LanguageAbilityProficiency LanguageAbilityProficiency (DYNAMIC)
hl7:preferenceInd
BL 0 … 1 (plMdotsget)
extPL:multipleBirthInd
BL 0 … 1 (plMdotsget)
extPL:multipleBirthOrderNumber
INT.POS 0 … 1 (plMdotsget)
  Schematron report role red error  
  test extPL:multipleBirthInd/@value and not(extPL:multipleBirthOrderNumber/@value)  
  Message Dla ciąży mnogiej wymagane jest podanie numeru kolejności urodzenia.  
hl7:providerOrganization
0 … 1 Contains 2.16.840.1.113883.3.4424.13.10.2.2 [2] Organizacja (bazowy) (DYNAMIC) (plMdotsget)