Id2.16.840.1.113883.3.4424.13.10.2.33Effective Date2015‑10‑26
Statusdraft DraftVersion Label1.1
NameplCdaPharmaceuticalDrugPrescriptionLegalAuthenticatorDisplay Name[2] Wystawca dokumentu dla recepty farmacetycznej
DescriptionSzablon CDA wystawcy dokumentu dla receptywystawionej przez frameceutę w aptece
ClassificationCDA Header Level Template
Open/ClosedOpen (other than defined elements are allowed)
Used by / Uses
Used by 1 transaction and 7 templates, Uses 4 templates
Used by as NameVersion
2.16.840.1.113883.3.4424.13.4.5Transactiondraft Recepta farmaceutuczna2014‑08‑14
2.16.840.1.113883.3.4424.13.10.1.7Includedraft [1] Dokument recepty farmaceutycznej (0.9.9)2014‑08‑14
2.16.840.1.113883.3.4424.13.10.1.7Includedraft [1] Dokument recepty farmaceutycznej (0.9.10)2014‑09‑23
2.16.840.1.113883.3.4424.13.10.1.7Includedraft [1] Dokument recepty farmaceutycznej (1.0 errata)2015‑01‑28
2.16.840.1.113883.3.4424.13.10.1.7Includedraft [1] Dokument recepty farmaceutycznej (1.0.2)2015‑08‑15
2.16.840.1.113883.3.4424.13.10.1.7Includedraft [1] Dokument recepty farmaceutycznej (1.1)2015‑10‑26
2.16.840.1.113883.3.4424.13.10.1.7Includedraft [1] Dokument recepty farmaceutycznej (1.1.1)2017‑01‑02
2.16.840.1.113883.3.4424.13.10.1.7Includedraft [1] Dokument recepty farmaceutycznej (1.2)2017‑01‑28
Uses as NameVersion
2.16.840.1.113883.3.4424.13.10.2.1Containmentactive [2] Osoba (bazowy)DYNAMIC
2.16.840.1.113883.3.4424.13.10.2.31Containmentactive [2] Apteka (bazowy) (1.1)DYNAMIC
2.16.840.1.113883.3.4424.13.10.2.44Includeactive [2] Dane umowy związanej z refundacją (0.9.10)DYNAMIC
2.16.840.1.113883.3.4424.13.10.7.1Includeactive [7] Adres (bazowy) (0.9.10 errata)DYNAMIC
RelationshipSpecialization: template 2.16.840.1.113883.3.4424.13.10.2.24 [2] Wystawca dokumentu recepty (2014‑09‑23)
Example
Example
<legalAuthenticator typeCode="LA" contextControlCode="OP">
  <templateId root="2.16.840.1.113883.3.4424.13.10.2.6"/>  <templateId root="2.16.840.1.113883.3.4424.13.10.2.63"/>  <templateId root="2.16.840.1.113883.3.4424.13.10.2.24"/>  <templateId root="2.16.840.1.113883.3.4424.13.10.2.33"/>  <time value="20140923155802"/>  <signatureCode code="S"/>  <assignedEntity classCode="ASSIGNED">
    <id extension="123456" root="2.16.840.1.113883.3.4424.1.6.1"/>    <code code="FARM" codeSystem="2.16.840.1.113883.3.4424.11.3.18" displayName="Farmaceuta"/>    <!-- include template plExtReimbursementRelatedContract (dynamic) 0..1 O -->
    <!-- include template plCdaBaseAddr (dynamic) 0..* O -->
    <telecom value="tel:+1-12345678"/>    <assignedPerson>
      <!-- template plCdaBasePerson (dynamic) -->
    </assignedPerson>
    <representedOrganization>
      <!-- template plCdaBasePharmacy (dynamic) -->
    </representedOrganization>
    <!-- include template plExtReimbursementRelatedContract (dynamic) 0..1 O -->
  </assignedEntity>
</legalAuthenticator>
ItemDTCardConfDescriptionLabel
hl7:legalAuthenticator
0 … 1plCddotsator
@typeCode
cs0 … 1FLA
@contextControlCode
cs0 … 1FOP
hl7:templateId
II1 … 1MplCddotsator
@root
oid1 … 1F2.16.840.1.113883.3.4424.13.10.2.6
hl7:templateId
II1 … 1MplCddotsator
@root
oid1 … 1F2.16.840.1.113883.3.4424.13.10.2.63
hl7:templateId
II1 … 1MplCddotsator
@root
oid1 … 1F2.16.840.1.113883.3.4424.13.10.2.24
hl7:templateId
II1 … 1MplCddotsator
@root
oid1 … 1F2.16.840.1.113883.3.4424.13.10.2.33
hl7:time
TS1 … 1RplCddotsator
hl7:signatureCode
CS1 … 1RplCddotsator
@code
CONF0 … 1FS
hl7:assignedEntity
1 … 1MplCddotsator
@classCode
cs0 … 1FASSIGNED
hl7:id
II1 … *MplCddotsator
@extension
st1 … 1R
@root
oid1 … 1F2.16.840.1.113883.3.4424.1.6.1
hl7:code
CE1 … 1RplCddotsator
@code
CONF0 … 1FFARM
@codeSystem
0 … 1F2.16.840.1.113883.3.4424.11.3.18
@codeSystemName
0 … 1FZAWODY_MED
@displayName
0 … 1FFarmaceuta
Included0 … * from 2.16.840.1.113883.3.4424.13.10.7.1 [7] Adres (bazowy) (DYNAMIC)
hl7:addr
0 … *plCddotsAddr
@nullFlavor
cs0 … 1FUNK
hl7:country
ADXP0 … 1plCddotsAddr
hl7:postalCode
0 … 1plCddotsAddr
@xsi:type
0 … 1FextPL:adxp
@postCity
st0 … 1 
hl7:city
ADXP0 … 1plCddotsAddr
hl7:streetName
ADXP0 … 1plCddotsAddr
hl7:houseNumber
ADXP0 … 1plCddotsAddr
hl7:unitID
ADXP0 … 1plCddotsAddr
hl7:unitType
ADXP0 … 1plCddotsAddr
hl7:censusTract
ADXP0 … 1plCddotsAddr
 Schematron reportrolered error 
 testnot(@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 reportrolered error 
 testnot(@nullFlavor) and (not(hl7:country) or upper-case(hl7:country)='POLSKA') and not(hl7:city) 
 Message Dla polskiego adresu wymagane jest podanie miasta.  
 Schematron reportrolered error 
 testnot(@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 assertrolered error 
 testnot(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 reportrolered error 
 test@nullFlavor and count(./*) > 1 
 Message Jeżeli adres jest nieznany, to nie może zawierać żadnych składników adresu.  
hl7:telecom
TEL0 … *plCddotsator
hl7:assignedPerson
1 … 1MContains 2.16.840.1.113883.3.4424.13.10.2.1 [2] Osoba (bazowy) (DYNAMIC)plCddotsator
hl7:representedOrganization
1 … 1MContains 2.16.840.1.113883.3.4424.13.10.2.31 [2] Apteka (bazowy) (DYNAMIC)plCddotsator
IncludedNP from 2.16.840.1.113883.3.4424.13.10.2.44 [2] Dane umowy związanej z refundacją (DYNAMIC)
extPL:boundedBy
0 … 1NPplExdotsract
@typeCode
cs1 … 1FPART
extPL:templateId
II1 … 1MplExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.13.10.2.44
extPL:reimbursementRelatedContract
1 … 1MplExdotsract
@classCode
cs1 … 1FCNTRCT
@moodCode
cs1 … 1FEVN
Choice1 … 1Elements to choose from:
  • extPL:id
  • extPL:id
  • extPL:id
  • extPL:id
  • extPL:id
  • extPL:id
  • extPL:id
  • extPL:id
  • extPL:id
  • extPL:id
  • extPL:id
  • extPL:id
  • extPL:id
  • extPL:id
  • extPL:id
  • extPL:id
  • extPL:id
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.1
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.2
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.3
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.4
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.5
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.6
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.7
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.8
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.8
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.9
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.10
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.11
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.12
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.13
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.14
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.15
@extension
st1 … 1R
extPL:id
0 … 1plExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.8.6.16
@extension
st1 … 1R
extPL:code
0 … 1plExdotsract
extPL:bounding
1 … 1MplExdotsract
@typeCode
cs1 … 1FPART
extPL:reimburser
1 … 1MplExdotsract
@classCode
cs1 … 1FUNDWRT
extPL:id
II1 … 1MplExdotsract
@root
oid1 … 1F2.16.840.1.113883.3.4424.3.1
@extension
st1 … 1R
 Schematron reportrolered error 
 test(hl7:id/@root='2.16.840.1.113883.3.4424.1.6.2' and not(hl7:code/@code=('LEK','LEKD','FEL'))) or (hl7:id/@root='2.16.840.1.113883.3.4424.1.6.3' and not(hl7:code/@code=('PIEL','POL'))) or (hl7:id/@root='2.16.840.1.113883.3.4424.1.6.1' and not(hl7:code/@code=('FARM'))) or (hl7:id/@root='2.16.840.1.113883.3.4424.1.6.4' and not(hl7:code/@code=('DLAB'))) 
 Message Wskazana pula numerów Prawa Wykonywania Zawodu jest nieprawidłowa w stosunku do wskazanego zawodu wystawcy dokumentu  
 Schematron reportrolered error 
 testnot(//hl7:wholeOrganization/hl7:addr) and not(//hl7:representedOrganization/hl7:addr) 
 Message Jeżeli nie istnieje adres na żadnym z poziomów wholeOrganization, to musi istnieć adres dla representedOrganization  
 Schematron reportrolered error 
 testnot(//hl7:wholeOrganization/hl7:telecom) and not(//hl7:representedOrganization/hl7:telecom) 
 Message Jeżeli nie istnieje numer telefonu na żadnym z poziomów wholeOrganization, to musi istnieć numer telefonu dla representedOrganization  
 Schematron reportrolered error 
 testnot(//hl7:representedOrganization/hl7:id[@root='2.16.840.1.113883.3.4424.2.2.1']) and not(//hl7:wholeOrganization[hl7:id/@root='2.16.840.1.113883.3.4424.2.2.1' and not(hl7:asOrganizationPartOf)]) 
 Message Dla dokumentu recepty wymagany jest numer REGON. Jeżeli identyfikator representedOrganization nie wskazuje numeru REGON, to musi on wystepować na ostanim poziomie wholeOrganization.