mphctemp/schema/predefined/hl7/2.1/batch.dfdl.xsd

33 lines
3.3 KiB
XML

<?xml version='1.0' encoding='UTF-8'?>
<xsd:schema xmlns:dfdl="http://www.ogf.org/dfdl/dfdl-1.0/" xmlns:hl7="urn:hl7-org:v2xml" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:ibmDfdlExtn="http://www.ibm.com/dfdl/extensions" xmlns:ibmSchExtn="http://www.ibm.com/schema/extensions" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:hl7-org:v2xml" targetNamespace="urn:hl7-org:v2xml">
<xsd:annotation>
<xsd:appinfo source="http://www.ogf.org/dfdl/">
<dfdl:format alignment="1" encodingErrorPolicy="replace" alignmentUnits="bytes" binaryFloatRep="ieee" byteOrder="bigEndian" calendarCenturyStart="53" calendarCheckPolicy="lax" calendarDaysInFirstWeek="4" calendarFirstDayOfWeek="Monday" calendarLanguage="en-US" calendarObserveDST="yes" calendarPattern="yyyy-MM-dd'T'HH:mm:ss" calendarPatternKind="implicit" calendarTimeZone="UTC" choiceLengthKind="implicit" decimalSigned="yes" documentFinalTerminatorCanBeMissing="yes" emptyValueDelimiterPolicy="none" encoding="US-ASCII" escapeSchemeRef="" fillByte="0" floating="no" ignoreCase="no" initiatedContent="no" initiator="" leadingSkip="0" lengthKind="delimited" lengthUnits="characters" nilValueDelimiterPolicy="none" occursCountKind="implicit" outputNewLine="%CR;" representation="text" separator="" separatorPolicy="suppressedAtEndLax" separatorPosition="infix" sequenceKind="ordered" terminator="" textBidi="no" textBooleanFalseRep="false" textBooleanJustification="left" textBooleanPadCharacter="%SP;" textBooleanTrueRep="true" textCalendarJustification="left" textCalendarPadCharacter="%SP;" textNumberCheckPolicy="lax" textNumberJustification="right" textNumberPadCharacter="%SP;" textNumberRep="standard" textNumberRounding="pattern" textNumberRoundingMode="roundUp" textPadKind="none" textStandardBase="10" textStandardDecimalSeparator="." textStandardExponentCharacter="E" textStandardGroupingSeparator="," textStandardInfinityRep="Inf" textStandardNaNRep="NaN" textStandardZeroRep="" textStringJustification="left" textStringPadCharacter="%SP;" textTrimKind="padChar" textZonedSignStyle="asciiStandard" trailingSkip="0" truncateSpecifiedLengthString="no">
</dfdl:format>
</xsd:appinfo>
</xsd:annotation>
<!-- include segment definitions for version v2.1 -->
<xsd:include schemaLocation="segments.dfdl.xsd"/>
<!-- .. definitions used in batch message -->
<xsd:element name="MESSAGEBATCH">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="BHS" minOccurs="0" maxOccurs="1"/>
<xsd:element ref="QRD" minOccurs="0" maxOccurs="1"/>
<xsd:element ref="QRF" minOccurs="0" maxOccurs="1"/>
<xsd:element ref="MESSAGES" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="BTS" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="MESSAGES" type="xsd:string"/>
<!-- .. batch message definition -->
<xsd:element name="BATCH" type="BATCH.CONTENT"/>
<xsd:complexType name="BATCH.CONTENT">
<xsd:sequence>
<xsd:element ref="FHS" minOccurs="0" maxOccurs="1"/>
<xsd:sequence dfdl:ref="HL7Repeat"><xsd:element ref="MESSAGEBATCH" minOccurs="1" maxOccurs="unbounded"/>
</xsd:sequence><xsd:element ref="FTS" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>