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

 Szablon  [2] Dane pacjenta dla dokumentu recepty

Szablon (wewnętrzny) 2.16.840.1.113883.3.4424.13.10.2.23 - plCdaDrugPrescriptionRecordTarget
Id 2.16.840.1.113883.3.4424.13.10.2.23
Typ CDA header level template
Relacje Specialization: szablon 2.16.840.1.113883.3.4424.13.10.2.3 (2014‑09‑23)
Wersja 1.2.2 obowiązuje od 2016‑10‑26 status W trakcie tworzenia
Otwarty/Zamknięty Otwarty (pozostałe elementy poza zdefiniowanymi są dozwolone)
Opis Szablon CDA danych pacjenta dla dokumentu recepty
Używane przez / Używa
Używane przez / Używa 7 szablonów
Używane przez Template id Name Wersja
2.16.840.1.113883.3.4424.13.10.1.26 [1] Dokument recepty spełniający wymagania związane z refundacją 2017‑10‑26
Używa Template id Name Wersja
2.16.840.1.113883.3.4424.13.10.7.1 plCdaBaseAddr DYNAMICZNE
2.16.840.1.113883.3.4424.13.10.7.2 plCdaBasePersonName DYNAMICZNE
2.16.840.1.113883.3.4424.13.10.2.1 plCdaBasePerson DYNAMICZNE
2.16.840.1.113883.3.4424.13.10.2.2 plCdaBaseOrganization DYNAMICZNE
Pozycja Typ danych Krotność Wymagalność Opis Etykieta
hl7:recordTarget
1 .. 1 M (plCdaDrugPrescriptionRecordTarget)
@typeCode
0 .. 1 F RCT
@contextControlCode
0 .. 1 F OP
hl7:templateId
II 1 .. 1 M (plCdaDrugPrescriptionRecordTarget)
@root
oid 1 .. 1 F 2.16.840.1.113883.3.4424.13.10.2.23
hl7:patientRole
1 .. 1 M (plCdaDrugPrescriptionRecordTarget)
@classCode
0 .. 1 F PAT
hl7:id
II 1 .. * M (plCdaDrugPrescriptionRecordTarget)
@root
oid 1 .. 1  
@extension
st 1 .. 1  
Schematron report rola  error
test @root='2.16.840.1.113883.3.4424.1.1.616' and not(matches(string(@extension),'^[0-9]{11}$'))
Komunikat Jeżeli identyfikatorem jest numer PESEL, to musi zawierać 11 cyfr.
Dołączony z 2.16.840.1.113883.3.4424.13.10.7.1 [7] Adres (bazowy) (DYNAMICZNE) 1 .. 1
hl7:addr
1 .. 1 (plCdaDrugPrescriptionRecordTarget)
@nullFlavor
cs 0 .. 1 F UNK
hl7:country
ADXP 0 .. 1 (plCdaDrugPrescriptionRecordTarget)
hl7:postalCode
0 .. 1 (plCdaDrugPrescriptionRecordTarget)
@xsi:type
0 .. 1 F
@postCity
st 0 .. 1  
hl7:city
ADXP 0 .. 1 (plCdaDrugPrescriptionRecordTarget)
hl7:streetName
ADXP 0 .. 1 (plCdaDrugPrescriptionRecordTarget)
hl7:houseNumber
ADXP 0 .. 1 (plCdaDrugPrescriptionRecordTarget)
hl7:unitID
ADXP 0 .. 1 (plCdaDrugPrescriptionRecordTarget)
hl7:unitType
ADXP 0 .. 1 (plCdaDrugPrescriptionRecordTarget)
hl7:censusTract
ADXP 0 .. 1 (plCdaDrugPrescriptionRecordTarget)
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.
hl7:telecom
TEL 0 .. 1 R (plCdaDrugPrescriptionRecordTarget)
hl7:patient
1 .. 1 M (plCdaDrugPrescriptionRecordTarget)
@classCode
0 .. 1 F PSN
@determinerCode
0 .. 1 F INSTANCE
hl7:id
II 0 .. * NP (plCdaDrugPrescriptionRecordTarget)
Dołączony z 2.16.840.1.113883.3.4424.13.10.7.2 [7] Nazwisko i imię osoby (bazowy) (DYNAMICZNE) 1 .. 1 Required Bezwględnie wymagany
hl7:name
1 .. 1 M (plCdaDrugPrescriptionRecordTarget)
hl7:prefix
ENXP 0 .. 1 (plCdaDrugPrescriptionRecordTarget)
hl7:given
ENXP 1 .. * R (plCdaDrugPrescriptionRecordTarget)
hl7:family
ENXP 1 .. * R (plCdaDrugPrescriptionRecordTarget)
hl7:administrativeGenderCode
CE 1 .. 1 M (plCdaDrugPrescriptionRecordTarget)
CONF
Wartość @code musi pochodzić ze zbioru wartości 2.16.840.1.113883.1.11.1 AdministrativeGender (DYNAMICZNE)
hl7:birthTime
TS.DATE 1 .. 1 R (plCdaDrugPrescriptionRecordTarget)
Schematron assert rola  error
test concat(substring(@value,1,4),'-',substring(@value,5,2),'-',substring(@value,7,2)) castable as xs:date
Komunikat Pierwsze 8 cyfr daty urodzenia powinno być w formacie YYYYMMDD.
hl7:guardian
0 .. * (plCdaDrugPrescriptionRecordTarget)
@classCode
1 .. 1 F GUARD
hl7:id
II 1 .. * (plCdaDrugPrescriptionRecordTarget)
@root
oid 1 .. 1  
@extension
st 1 .. 1  
Schematron report rola  error
test @root='2.16.840.1.113883.3.4424.1.1.616' and not(matches(string(@extension),'^[0-9]{11}$'))
Komunikat Jeżeli identyfikatorem jest numer PESEL to musi zawierać 11 cyfr.
hl7:code
CE 0 .. 1 (plCdaDrugPrescriptionRecordTarget)
@codeSystem
1 .. 1 F 2.16.840.1.113883.5.111
Dołączony z 2.16.840.1.113883.3.4424.13.10.7.1 [7] Adres (bazowy) (DYNAMICZNE) 0 .. 1
hl7:addr
0 .. 1 (plCdaDrugPrescriptionRecordTarget)
@nullFlavor
cs 0 .. 1 F UNK
hl7:country
ADXP 0 .. 1 (plCdaDrugPrescriptionRecordTarget)
hl7:postalCode
0 .. 1 (plCdaDrugPrescriptionRecordTarget)
@xsi:type
0 .. 1 F
@postCity
st 0 .. 1  
hl7:city
ADXP 0 .. 1 (plCdaDrugPrescriptionRecordTarget)
hl7:streetName
ADXP 0 .. 1 (plCdaDrugPrescriptionRecordTarget)
hl7:houseNumber
ADXP 0 .. 1 (plCdaDrugPrescriptionRecordTarget)
hl7:unitID
ADXP 0 .. 1 (plCdaDrugPrescriptionRecordTarget)
hl7:unitType
ADXP 0 .. 1 (plCdaDrugPrescriptionRecordTarget)
hl7:censusTract
ADXP 0 .. 1 (plCdaDrugPrescriptionRecordTarget)
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.
Wybór min 1 element(ów) oraz max 1 element(ów). Elementy do wyboru z:
  • hl7:guardianPerson zawierający hl7:templateId z szablonu [2] Osoba (bazowy) (DYNAMICZNE)
  • hl7:guardianOrganization zawierający hl7:templateId z szablonu [2] Organizacja (bazowy) (DYNAMICZNE)
hl7:guardianPerson
gdzie
[hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.2.1']
(plCdaDrugPrescriptionRecordTarget)
Zawiera 2.16.840.1.113883.3.4424.13.10.2.1 [2] Osoba (bazowy) (DYNAMICZNE)
hl7:guardianOrganization
gdzie
[hl7:templateId/@root='2.16.840.1.113883.3.1937.777.4.10.2' and hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.2.2']
(plCdaDrugPrescriptionRecordTarget)
Zawiera 2.16.840.1.113883.3.4424.13.10.2.2 [2] Organizacja (bazowy) (DYNAMICZNE)
extPL:multipleBirthInd
BL 0 .. 1 (plCdaDrugPrescriptionRecordTarget)
extPL:multipleBirthOrderNumber
INT.POS 0 .. 1 (plCdaDrugPrescriptionRecordTarget)
Schematron report rola  error
test extPL:multipleBirthInd/@value and not(extPL:multipleBirthOrderNumber/@value)
Komunikat Dla ciąży mnogiej wymagane jest podanie numeru kolejności urodzenia.
hl7:providerOrganization
gdzie
[hl7:templateId/@root='2.16.840.1.113883.3.1937.777.4.10.2' and hl7:templateId/@root='2.16.840.1.113883.3.4424.13.10.2.2']
0 .. 1 (plCdaDrugPrescriptionRecordTarget)
Zawiera 2.16.840.1.113883.3.4424.13.10.2.2 [2] Organizacja (bazowy) (DYNAMICZNE)