This wiki has undergone a migration to Confluence found Here
<meta name="googlebot" content="noindex">

Difference between revisions of "CDA R2 Extensions"

From HL7Wiki
Jump to navigation Jump to search
Line 168: Line 168:
 
|-
 
|-
  
 +
 +
|epsos:asContent||The CDA extension: epsos:asContent describes the packaging of the medication.<br>
 +
The epsos:name describes brand name.<br>
 +
The epsos:formCode element provides the code for the particular package.<br>
 +
The epsos:capacityQuantity element described the capacity of the packaging.<br>
 +
 +
<pharm:asContent classCode="CONT">
 +
  <pharm:containerPackagedMedicine classCode="CONT" determinerCode="INSTANCE">
 +
      <!-- National medicinal product code (package-level) -->
 +
      <pharm:code code=" " displayName=" " codeSystem=" " codeSystemName=" "/>
 +
      <!-- Brand name (package) -->
 +
      <pharm:name>...</pharm:name>
 +
      <pharm:formCode code=" " displayName=" "
 +
      codeSystem=" " codeSystemName=" "/>
 +
      <pharm:lotNumberText>...</pharm:lotNumberText>
 +
      <pharm:capacityQuantity value=" " unit=" "/>
 +
  </pharm:containerPackagedMedicine>
 +
</pharm:asContent>
 +
 +
||
 +
* '''Smart Open Services for European Patients (epSOS)'''
 +
|-
  
 
|pharm:asSpecializedKind||The CDA extension:  pharm:asSpecializedKind describes a generic equivalent of the medication described in the current Medicine entry.<br>
 
|pharm:asSpecializedKind||The CDA extension:  pharm:asSpecializedKind describes a generic equivalent of the medication described in the current Medicine entry.<br>

Revision as of 00:45, 7 August 2013

Purpose

This page documents extensions to CDA R2 which have been created for use in CDA Release 2.0 Implementation Guides.

SDTC Extensions

The namespace for all Structured Documents Workgroup extensions in urn:hl7-org:sdtc. This namespace was used because at the time these extensions were created, the name of the Structured Documents Work Group was the Structured Documents Technical Committee. Approval of an extension to appear in the urn:hl7-org:sdtc namespace by the Structured Documents workgroup does not give the extension any status other than being eligible to appear in this list and that namespace. Some extensions have been published in Normative or Informative documents, and so have standing as being part of standard, DSTU or HL7 informative specification in the context of that specification.

Extensions created by the Structured Documents workgroup follow certain rules established during the creation of the HL7 CCD Implementation guide.

An extension is a collection of element or attribute declarations and rules for their application to the CDA Release 2.0.

  • The namespace for extensions created by the HL7 Structured Documents Working Group (formerly Structured Documents Technical Committee) shall be urn:hl7-org:sdtc. Note: Some implementation guides have incorrectly reported the namespace as urn:hl7-org:stdc.
  • All extensions are optional. An extension may be used, but need not be.
  • Extension element names shall be derived from attributes defined in the RIM.
  • Each extension element shall use the same HL7 vocabularies and data types as used by CDA Release 2.0.
  • Each extension element shall use the same conventions for order and naming as is used by the current HL7 tooling.
  • An extension element shall appear in the XML where the expected RIM element of the same name would have appeared had that element not been otherwise constrained from appearing in the CDA XML schema.

The following extensions have been approved by the HL7 Structured Documents Workgroup. The specification first defining the extension appear in bold. NOTE: While specifications defining the extension may come from organizations other that the HL7 Structured Documents Working Group, they were discussed with, and "approved" by the working group as being eligible to appear in the stdc namespace.

Extension Definition Defined/Used by
sdtc:asPatientRelationship Each participant other than an informant may have zero or more relationship roles with the patient. Each of these roles can be expressed by an asPatientRelationship element which further describes the type of role in a code element. The informant participant already supports specification of the relationship between the informant and the patient via the RelatedEntity class, and therefore should not include this extension.(CCD)
  • CCD
sdtc:birthTime The <sdtc:birthTime> element allows for the birth date of any person to be recorded. The purpose of this extension is to allow the recording of the subscriber or member of a health plan in cases where the health plan eligibility system has different information on file than the provider does for the patient.
  • CCDA
  • HITSP C32
  • QRDA
sdtc:deceasedInd The deceasedIndextension (= “true” or “false”) in the family history organizer on the related subject is used inside to indicate if a family member is deceased.
  • CCD
  • CCDA
  • HITSP C32
  • QRDA
sdtc:deceasedTime The deceasedTime extension in the family history organizer on the related subject allows for reporting the date and time a family member died.
  • CCD
  • CCDA
  • HITSP C32
  • QRDA
stdc:desc The desc extension allows multimedia depictions of patients, healthcare providers, or other individuals to be included in a CDA document. It may be used in any person (or derived) entity, and appears after the entity name. N/A
sdtc:dischargeDispositionCode The sdtc:dischargeDispositionCode element allows the provider to record a discharge disposition in an encounter activity.
  • CCDA
  • HITSP C32
  • QRDA
sdtc:id CDA Release 2.0 does not provide a mechanism to determine when two participants in different roles are in fact the same entity (i.e., an entity can be a person, organization or device). A CDA Document identifies each participant through the application of a role identifier. This identifier can be used to trace the participation of an entity in a given role, but cannot necessarily be used to determine that two entities are the same. While more role identities could be provided whose intended use is to unify the entities, this is better modeled through the use of an entity identifier. Therefore, to facilitate this capability, this guide defines an extension to CDA Release 2.0 that allows the person or organization playing the role to be uniquely identified, by the inclusion of an identifier on the entity. (CCD)

The id extension in the family history organizer on the related subject allows for unique identification of the family member(s). (CCDA)

  • CCD
  • CCDA
  • HITSP C32
  • QRDA
sdtc:patient The sdtc:patient extension element allows for the patient identifier used by a given provider to be reported. The provider in their role as an assigned entity is related to the patient.
  • HITSP C32
  • IHE PCC TF
sdtc:raceCode The raceCode extension allows for multiple races to be reported for a patient.
  • CCDA
  • HITSP C32
  • QRDA
sdtc:statusCode The statusCode extension attribute allows the implementer to identify a ClinicalDocument that is in other than the completed state. It was created to support the Structured Form Definition IG to identify that the document itself is an unfinished product currently being completed for a patient.
  • Structured Form Definition
sdtc:valueSet The valueSet extension attribute allows the implementer to reference a particular value set from which a code was drawn. This extension represents a preadoption of the HL7 R2 Datatypes valueSet attribute
  • QRDA
sdtc:valueSetVersion The valueSetVersion extension attribute allows the implementer to reference a specific version of a value set. This extension represents a preadoption of the HL7 R2 Datatypes valueSetVerson attribute
  • QRDA

A W3C Schema representing these extensions, and incorporating them in the correct locations in the HL7 CDA Release 2 Schema can be found in the [QRDA Release 2 Draft Standard for Trial Use]

Other HL7 Extensions

The following extensions have been approved by other HL7 Working Groups or Affiliates for use in CDA Release 2.0 Implementation Guides.

Non-HL7 Extensions

The following extensions have been created and/or approved for use in CDA Release 2.0 Implementation Guides by organizations other than HL7 or its affiliates.

Extension Definition Defined/Used by
pcc:replacementOf The <replacementOf> extension element is applied to a section appearing in a PHR Update

Document to indicate that that section's content should replace that of a previously existing section. The identifier of the previously existing section is given so that the PHR Manager receiving the Update content will know which section to replace. The model for this extension is shown below.

<pcc:replacementOf xmlns:pcc='urn:ihe:pcc:hl7v3'>
  <pcc:externalDocumentSection>
   <pcc:id root='58FCBE50-D4F2-4bda-BC1C-2105B284BBE3'/>
  <pcc:externalDocumentSection/>
</pcc:replacementOf>
  • IHE PCC TF
pharm:formCode The CDA extension pharm:formCode represents the form of the medication (e.g. tablet, capsule, liquid).
<manufacturedProduct xmlns:pharm="urn:ihe:pharm:medication" classCode="MANU">
  <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.2"/>
  <templateId root="2.16.840.1.113883.10.20.1.53"/>
  <manufacturedMaterial classCode="MMAT" determinerCode="KIND">
     <templateId root="1.3.6.1.4.1.19376.1.9.1.3.1"/>
     <!-- National medicinal product code (brand-level) -->
     <code code=" " displayName=" " codeSystem=" " codeSystemName=" "/>
     <!-- Brand name -->
     <name>... </name>
     <!-- Pharmaceutical dose form -->
     <pharm:formCode code=" " displayName=" "
      codeSystem=" " codeSystemName=" "/>
   ....
  • IHE Pharmacy Prescription
epsos:formCode The CDA extension epsos:formCode represents the form of the medication (e.g. tablet, capsule, liquid).
<manufacturedProduct xmlns:epsos="urn:epsos-org:ep:medication"classCode="MANU"> 
  <templateId root="1.3.6.1.4.1.12559.11.10.1.3.1.3.1"/> 
  <manufacturedMaterial classCode="MMAT" determinerCode="KIND">
  
  <name>Pyrimon</name>
  <epsos:formCode code="10604000" displayName="Eye drops, solution"  codeSystem="1.3.6.1.4.1.12559.11.10.1.3.1.44.1" codeSystemName="EDQM"/>
 ...
  • Smart Open Services for European Patients (epSOS)
pharm:asContent The CDA extension: pharm:asContent describes the packaging of the medication.

The pharm:code element provides the code for the particular package.
The pharm:name element describes brand name.
The pharm:formCode element provides the code for the particular package.
The pharm:lotNumberText element provides a string representation of a possible lot number.
The pharm:capacityQuantity element described the capacity of the packaging.

<pharm:asContent classCode="CONT">
  <pharm:containerPackagedMedicine classCode="CONT" determinerCode="INSTANCE">
     <pharm:code code=" " displayName=" " codeSystem=" " codeSystemName=" "/>
     <pharm:name>...</pharm:name>
     <pharm:formCode code=" " displayName=" "
      codeSystem=" " codeSystemName=" "/>
     <pharm:lotNumberText>...</pharm:lotNumberText>
     <pharm:capacityQuantity value=" " unit=" "/>
  </pharm:containerPackagedMedicine>
</pharm:asContent>
  • IHE Pharmacy Prescription
epsos:asContent The CDA extension: epsos:asContent describes the packaging of the medication.

The epsos:name describes brand name.
The epsos:formCode element provides the code for the particular package.
The epsos:capacityQuantity element described the capacity of the packaging.

<pharm:asContent classCode="CONT">
  <pharm:containerPackagedMedicine classCode="CONT" determinerCode="INSTANCE">
     <pharm:code code=" " displayName=" " codeSystem=" " codeSystemName=" "/>
     <pharm:name>...</pharm:name>
     <pharm:formCode code=" " displayName=" "
      codeSystem=" " codeSystemName=" "/>
     <pharm:lotNumberText>...</pharm:lotNumberText>
     <pharm:capacityQuantity value=" " unit=" "/>
  </pharm:containerPackagedMedicine>
</pharm:asContent>
  • Smart Open Services for European Patients (epSOS)
pharm:asSpecializedKind The CDA extension: pharm:asSpecializedKind describes a generic equivalent of the medication described in the current Medicine entry.

The pharm:code element contains the coded representation of the generic medicine.
The pharm:name element may be used for the plain text representation of the generic medicine.

<pharm:asSpecializedKind classCode="GRIC">
  <pharm:generalizedMedicineClass classCode="MMAT">
     <pharm:code code=" " displayName="Generic Equivalent"
      codeSystem=" " codeSystemName=" "/>
     <pharm:name>...</pharm:name>
  </pharm:generalizedMedicineClass>
</pharm:asSpecializedKind>
  • IHE Pharmacy Prescription
pharm:ingredient The CDA extension: pharm:ingredient represents active ingredient(s) of the medication.

The pharm:quantity element represents the strength of the active ingredient(s) as the ratio of the active ingredient(s) to a unit of medication.
The pharm:quantity element contains the numerator and denominator of the strength ratio.

<pcc:replacementOf xmlns:pcc='urn:ihe:pcc:hl7v3'>
  <pcc:externalDocumentSection>
   <pcc:id root='58FCBE50-D4F2-4bda-BC1C-2105B284BBE3'/>
  <pcc:externalDocumentSection/>
</pcc:replacementOf>
  • IHE Pharmacy Prescription
nehta:completionCode The lifecycle status of a document. Values: Interim, Final, Withdrawn. The model for this extension is shown below.
<completionCode xmlns="http://ns.electronichealth.net.au/Ci/Cda/Extensions/3.0" 
 code="F" codeSystem="1.2.36.1.2001.1001.101.104.20104"
 codeSystemName="NCTIS Document Status Values" displayName="Final"/>
  • NEHTA Australia
nehta:asEntityIdentifier An identifier assiciated with a Patient, Person, Organisation, Entity, or PlayingEntity. This is the otherIds pattern from the patient DMIM. The content is the id, and optionally a code (often from v2 table 0203) and/or a place. The model for this extension is shown below.
<nehta:asEntityIdentifier classCode="IDENT" xmlns:nehta="http://ns.electronichealth.net.au/Ci/Cda/Extensions/3.0">
 <nehta:id root="..." extension="..."/>
 <nehta:code code="..." codeSystem="..."/>
 <nehta:assigningGeographicArea classCode="PLC">
   <nehta:name>National Identifier</nehta:name>
 </nehta:assigningGeographicArea>
</nehta:asEntityIdentifier>
  • NEHTA Australia
nehta:multipleBirthInd An indication that this person was part of multiple birth.
<nehta:multipleBirthInd xmlns:nehta="http://ns.electronichealth.net.au/Ci/Cda/Extensions/3.0" value="true" />
  • NEHTA Australia
nehta:multipleBirthOrderNumber The order in which this person was born if part of a multiple birth.
<nehta:multipleBirthOrderNumber xmlns:nehta="http://ns.electronichealth.net.au/Ci/Cda/Extensions/3.0" value="2" />
  • NEHTA Australia
nehta:asEmployment A person's occupation and employer.
<nehta:asEmployment classCode="EMP" xmlns:nehta="http://ns.electronichealth.net.au/Ci/Cda/Extensions/3.0">
   <nehta:code>
       <originalText>Senior Medical Oncologist</originalText>
   </nehta:code>
   <nehta:jobCode code="253314" codeSystem="2.16.840.1.113883.13.62"
       codeSystemName="1220.0 - ANZSCO - Australian and New Zealand Standard Classification of Occupations, First Edition, 2006"
       displayName="Medical Oncologist"/>
   <nehta:jobClassCode code="FT" codeSystem="2.16.840.1.113883.5.1059"
       codeSystemName="HL7:EmployeeJobClass" displayName="full-time"/>
   <nehta:employerOrganization>
       <name>GP Clinic</name>
       <asOrganizationPartOf>
           <wholeOrganization>
               <name use="ORGB">GP Clinics</name>
               <nehta:asEntityIdentifier classCode="IDENT">
                   <nehta:id assigningAuthorityName="HPI-O"
                       root="1.2.36.1.2001.1003.0.8003621231167899"/>
                   <nehta:assigningGeographicArea classCode="PLC">
                       <nehta:name>National Identifier</nehta:name>
                   </nehta:assigningGeographicArea>
               </nehta:asEntityIdentifier>
           </wholeOrganization>
       </asOrganizationPartOf>
   </nehta:employerOrganization>
</nehta:asEmployment>
  • NEHTA Australia
nehta:asIngredient Medicine/Vaccine ingredient.
 <manufacturedMaterial>
   
   <nehta:asIngredient classCode="INGR" xmlns:nehta="http://ns.electronichealth.net.au/Ci/Cda/Extensions/3.0">
       <nehta:ingredientManufacturedMaterial classCode="MMAT"
           determinerCode="KIND">
           <nehta:code>
               <originalText>Diphtheria</originalText>
           </nehta:code>
       </nehta:ingredientManufacturedMaterial>
   </nehta:asIngredient>
   ...
</manufacturedMaterial>
  • NEHTA Australia
nehta:desc A text description of the product. While the data type ED would allow for a full product monograph to be carried in this attribute, this practice is to be avoided, because product monograph document structures (Structured Product Labeling) should be used instead for such documents. The description attribute is mainly to be used for brief descriptions which users of product catalogs can use to quickly distinguish this product from other similar products in a list of products.
 <manufacturedProduct>
    <manufacturedMaterial>  
        ....
        <nehta:desc xmlns:nehta="http://ns.electronichealth.net.au/Ci/Cda/Extensions/3.0">Prodeine Forte, 30mg, 20 tablets.</nehta:desc>
        ....
    </manufacturedMaterial>
 </manufacturedProduct>
  • NEHTA Australia