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 or
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 John Smith John Smith
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 John Smith
XML Schema –Describes XML document structure (.xsd filetype) –Defines rules/expectations of elements and attributes Allowable/expected elements and attributes Data types (e.g., 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., must be an positive integer) Order and number of child elements Default/fixed values XML Primer – Schema Example
X12 Implementation Guide Concepts –Loops Segments Elements –Repeats –Constraints –Delimiters XML and X12
X – Loop 2010A – UMO Name –Loop element name defined ( xs:element name ) and name description ( xs:documentation ) X12 XML Schema Example
X – Loop 2010A – UMO Name –Allowable/expected segments are indicated in nested tags ( xs:element ref ) X12 XML Schema Example
X – 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