Health Care Professionals

Publications

Electronic Reports – Technical Specifications

XML Schemas and Sample Reports for Electronic Reports

The ministry encodes electronic versions of reports in XML (Extensible Markup Language). XML is a recognized standard that has been adopted by the Ontario government for specifying data in documents exchanged between third parties. XML is a published Recommendation of the Worldwide Web Consortium which maintains an XML resource web site and a site where the XML Specifications are available.
Technical definitions of the structure, content and semantics of electronic reports are specified in the XML Schema, a variant of XML used to describe documents encoded in XML (known as schemas). Schemas are mapped to the two reports as shown in the following chart:

Report NameSchema NameSample Report Name
Enrolment Report Patient Summary Enrolment Patient Summary ES_SAMPLE.xml
Outside Use Report (Patients with Signed Consent) for Family Health Network & Family Health Organization Models Outside Use OU_SAMPLE.xml

How to Download the Schemas and Sample Reports

The schemas and sample reports are available for download by clicking on one of the download links below.  They are packaged in a single file called an archive.  The archive is compressed due to its large size and carries the suffix .zip.  After downloading the archive, the files in it must be extracted.  To extract the files.

The archive is now converted to a Windows folder.  Extract and de-compress each file to this folder.  If the application in use recognizes winzip archives such as WinZip, open the schema archive and extract the files.

How to View the Schema Contents

Each schema is in its own text file, named with the schema name.  Filenames carry the suffix .xsd (XML schema definition). To view the content of the files, open in any text editor such as MS Word, Wordpad or Excel or any XML-aware text editor.

If the .xsd suffix is not mapped to a</p>n editor in the operating system:

The schema files should not be modified in any way and opened for viewing in read-only mode.  If a schema file has been modified inadvertently and no backup copy is available, download it again.  To ensure a schema file has not been modified, compute its CRC-32 checksum and compare it to the string of numbers and letters appended to the filename by an underscore ‘_’.  If the strings do not match exactly, the file has been modified.

Note:  CRC-32 is a widely used international protocol to ensure error-free transmission of electronic data.

How to View the Sample Reports

Each sample report is in its own text file, named with the report name. Filenames carry the suffix .xml (extensible markup language). To view the content of the files, open in any text editor such as MS Word or Excel or any XML-aware text editor.

If the .xml suffix is not mapped to a</p>n editor in the operating system:

Document Download Links

The link ‘XML Schema and Sample Report definition files (all)’ will download schemas and sample reports for all electronic reports available.  The link ‘XML Schema and Sample Report definition files (recent)’ will download schemas and sample reports for electronic reports that have been introduced or modified in the last six months. 

To view PDF format files, you need to have Adobe Acrobat® Reader installed on your computer. You can download this free software from the Adobe Web site


The patient and physician information displayed in the sample reports is fictitious and does not refer to or represent any real person or anyone’s personal health information. It is provided for the sole purpose of demonstrating how the information will be displayed on the actual reports.

All possible measures are exerted to ensure accuracy of the contents of the files contained in the download package; however, they may contain typographical errors. The public is cautioned against complete reliance upon the contents hereof without confirming the accuracy and currency of the information contained herein. The Crown in Right of Ontario, as represented by the Minister of Health and Long-Term Care, assumes no responsibility for any person's use of the material herein or any costs or damages associated with such use.

For More Information

Call the Ministry of Health and Long-Term Care,
Service Support Contact Centre at 1-800-262-6524,
or in Kingston, call (613) 548-7981.