Electronic Submission of Medical Documentation (esMD) eDoC Harmonization – X12 XML Introduction...

11
Electronic Submission of Medical Documentation (esMD) eDoC Harmonization – X12 XML Introduction October 1, 2014

Transcript of Electronic Submission of Medical Documentation (esMD) eDoC Harmonization – X12 XML Introduction...

Page 1: Electronic Submission of Medical Documentation (esMD) eDoC Harmonization – X12 XML Introduction October 1, 2014.

Electronic Submission of Medical Documentation (esMD)

eDoC Harmonization – X12 XML

Introduction

October 1, 2014

Page 2: 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

Page 3: 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 – Tags

<name></name>

or<name />

<name> <first></first> <last></last></name>

Page 4: 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 – Elements

<name> John Smith</name>

<name> <first>John</first> <last>Smith</last></name>

Page 5: 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 – Attributes

<name first=“John” last=“Smith” />

<name> <first>John</first> <last>Smith</last></name>

Page 6: Electronic Submission of Medical Documentation (esMD) eDoC Harmonization – X12 XML Introduction October 1, 2014.

• 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

Page 7: Electronic Submission of Medical Documentation (esMD) eDoC Harmonization – X12 XML Introduction October 1, 2014.

• 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>

Page 8: Electronic Submission of Medical Documentation (esMD) eDoC Harmonization – X12 XML Introduction October 1, 2014.

• X12 Implementation Guide Concepts– Loops Segments Elements– Repeats– Constraints– Delimiters

XML and X12

Page 9: Electronic Submission of Medical Documentation (esMD) eDoC Harmonization – X12 XML Introduction October 1, 2014.

• X12 278 – Loop 2010A – UMO Name– Loop element name defined (xs:element name) and name

description (xs:documentation)

X12 XML Schema Example

Page 10: Electronic Submission of Medical Documentation (esMD) eDoC Harmonization – X12 XML Introduction October 1, 2014.

• X12 278 – Loop 2010A – UMO Name– Allowable/expected segments are indicated in nested tags

(xs:element ref)

X12 XML Schema Example

Page 11: Electronic Submission of Medical Documentation (esMD) eDoC Harmonization – X12 XML Introduction October 1, 2014.

• 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