Electronic Submission of Medical Documentation (esMD) eDoC Harmonization – X12 XML Introduction...
-
Upload
estella-ramsey -
Category
Documents
-
view
213 -
download
0
Transcript of Electronic Submission of Medical Documentation (esMD) eDoC Harmonization – X12 XML Introduction...
Electronic Submission of Medical Documentation (esMD)
eDoC Harmonization – X12 XML
Introduction
October 1, 2014
• XML– Human-readable and machine-readable markup language– Free & open standard, widely used, highly interoperable– SDO: W3C
• XML Markup– Tags– Elements– Attributes
XML Primer
• XML– Human-readable and machine-readable markup language– Free & open standard, widely used, highly interoperable– SDO: W3C
• XML Markup– Tags– Elements– Attributes
XML Primer – Tags
<name></name>
or<name />
<name> <first></first> <last></last></name>
• XML– Human-readable and machine-readable markup language– Free & open standard, widely used, highly interoperable– SDO: W3C
• XML Markup– Tags– Elements– Attributes
XML Primer – Elements
<name> John Smith</name>
<name> <first>John</first> <last>Smith</last></name>
• XML– Human-readable and machine-readable markup language– Free & open standard, widely used, highly interoperable– SDO: W3C
• XML Markup– Tags– Elements– Attributes
XML Primer – Attributes
<name first=“John” last=“Smith” />
<name> <first>John</first> <last>Smith</last></name>
• XML Schema– Describes XML document structure (.xsd filetype)
– Defines rules/expectations of elements and attributes• Allowable/expected elements and attributes• Data types (e.g., <age> must be an positive integer)• Order and number of child elements• Default/fixed values
XML Primer – Schema
• XML Schema– Describes XML document structure (.xsd filetype)– Defines rules/expectations of elements and attributes
• Allowable/expected elements and attributes• Data types (e.g., <age> must be an positive integer)• Order and number of child elements• Default/fixed values
XML Primer – Schema Example
<xs:element name="illness" maxOccurs="unbounded"> <xs:complexType> <xs:sequence> <xs:element name="title" type="xs:string" /> <xs:element name="code" type="xs:decimal" minOccurs="0" /> <xs:element name=“dateonset" type="xs:date" /> </xs:sequence> </xs:complexType></xs:element>
• X12 Implementation Guide Concepts– Loops Segments Elements– Repeats– Constraints– Delimiters
XML and X12
• X12 278 – Loop 2010A – UMO Name– Loop element name defined (xs:element name) and name
description (xs:documentation)
X12 XML Schema Example
• X12 278 – Loop 2010A – UMO Name– Allowable/expected segments are indicated in nested tags
(xs:element ref)
X12 XML Schema Example
• X12 278 – Loop 2010A – UMO Name– Number of segment occurrences is described by attributes (xs:element
minOccurs maxOccurs)– Segments appear as child elements and are defined further down the
XSD document
X12 XML Schema Example