Appendix B: Clinical Document - Different Samples of MIME Packages that are Supported
Oracle Logo
HDR Version 7 HL7 Version 3 Messaging Conformance Specification
Contents   Previous   Next   Conformance   Examples

Appendix B: Clinical Document - Different Samples of MIME Packages that are Supported

This appendix contains the following topics:

Simple CDA Document
CDA Document with Attachments in Multipart/mixed MIME Package
CDA Document Overriding Charset Specified in the Wrapping Message

Simple CDA Document

The following represents a simple Clinical Document message. It consists of a 'text/plain' mediatype with a MIME content type as application/xml package inserted in the ClinicalDocumentMetadata.text element.  The first part of the package contains an encoded Oracle CDA document, while the second part contains multimedia data referred to in the document.

<clinicalDocumentMetadata moodCode="EVN" classCode="DOCCLIN">
<id root = "1.2.3" extension = "490872202-JS12"/>
<id root = "1.2.3" extension = "490872302-JS12"/>
<text mediaType="text/plain" representation="TXT">Message-ID: &lt;7004028.1120456520883.JavaMail>
  MIME-Version: 1.0
  Content-Type: application/xml; name=V6ClinicalDocumentMetadata.xml; charset=UTF-8
  Content-Transfer-Encoding: base64
  Content-Disposition: inline; filename="V6ClinicalDocumentMetadata.xml"
  Content-Description: CDA document
</text>
...</clinicalDocumentMetadata>

CDA Document with Attachments in Multipart/mixed MIME Package

The following represents a Clinical Document message with a MIME multi-part package inserted in the ClinicalDocumentMetadata.text element.  The first part of the package contains an encoded Oracle CDA document, while the second part contains multimedia data referred to in the document.

<clinicalDocumentMetadata moodCode="EVN" classCode="DOCCLIN">
<id root = "1.2.3" extension = "490872202-JS12"/>
<id root = "1.2.3" extension = "490872302-JS12"/>
<text mediaType="text/plain" representation="TXT">Message-ID: &lt;7004028.1120456520883.JavaMail.gasingh@gasingh-LAP>
  MIME-Version: 1.0
  Content-Type: multipart/mixed; name=CDAMultipart.xml;
  boundary="----=_Part_0_12452934.1120456309849"
  Content-Disposition: inline; filename="CDAMultipart.xml"
  Content-Description: CDA document

------=_Part_0_12452934.1120456309849 Content-Type: application/xml; name=CDAMultipart.xml; charset=UTF-8 Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="CDAMultipart.xml" ------=_Part_0_12452934.1120456309849 Content-Type: image/jpeg; name=lefthand.jpg Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="lefthand.jpg" ------=_Part_0_12452934.1120456309849--</text>

...</clinicalDocumentMetadata>

CDA Document Overriding Charset Specified in the Wrapping Message

The following represents a Clinical Document message with a MIME application/xml package inserted in the ClinicalDocumentMetadata.text element.  The first part of the package contains an encoded Oracle CDA document, while the second part contains multimedia data referred to in the document.

<clinicalDocumentMetadata moodCode="EVN" classCode="DOCCLIN">
<id root = "1.2.3" extension = "490872202-JS12"/>
<id root = "1.2.3" extension = "490872302-JS12"/>
<text mediaType="text/plain" representation="TXT">Message-ID: &lt;7004028.1120456520883.JavaMail.gasingh@gasingh-LAP>
  MIME-Version: 1.0
  Content-Type: application/xml; charset=ISO-8859-1
  Content-Transfer-Encoding: base64
</text>
...</clinicalDocumentMetadata>

Top

Contents   Previous   Next   Conformance   Examples

Copyright © 2018, Oracle. All rights reserved.

About Oracle | Contact us | Legal Notices and Terms for Use | Privacy Statement