mmlLb:facility

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
mmlLb:facilityCode xs:string required
mmlLb:facilityCodeId restriction of xs:token required

Used By

Source

<xs:element name="facility">
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:string">
        <xs:attribute name="facilityCode" type="xs:string" use="required" form="qualified"/>
        <xs:attribute name="facilityCodeId" use="required" form="qualified">
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="ca"/>
              <xs:enumeration value="insurance"/>
              <xs:enumeration value="monbusho"/>
              <xs:enumeration value="JMARI"/>
              <xs:enumeration value="OID"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

Sample

< mmlPsi:PersonalizedInfo xmlns:mmlPsi = "http://www.medxml.net/MML/v4/SharedComponent/PersonalizedInfo/1.0" xmlns:mmlCm = "http://www.medxml.net/MML/v4/SharedComponent/Common/1.0" xmlns:mmlNm = "http://www.medxml.net/MML/v4/SharedComponent/Name/1.0" xmlns:mmlFc = "http://www.medxml.net/MML/v4/SharedComponent/Facility/1.0" xmlns:mmlDp = "http://www.medxml.net/MML/v4/SharedComponent/Department/1.0" >

< mmlCm:Id mmlCm:type = "facility" mmlCm:tableId = "MML0024" >

23234567

</ mmlCm:Id>

< mmlPsi:personName>

< mmlNm:Name mmlNm:repCode = "A" mmlNm:tableId = "MML0025" >

< mmlNm:family>

Ono

</ mmlNm:family>

< mmlNm:given>

Yoko

</ mmlNm:given>

< mmlNm:degree>

M.D.

</ mmlNm:degree>

</ mmlNm:Name>

</ mmlPsi:personName>

< mmlFc:Facility>

< mmlFc:name mmlFc:repCode = "A" mmlFc:tableId = "MML0025" >

New Millenium Medical College Hospital

</ mmlFc:name>

< mmlCm:Id mmlCm:type = "insurance" mmlCm:tableId = "MML0027" >

801.006.3

</ mmlCm:Id>

</ mmlFc:Facility>

< mmlDp:Department>

< mmlDp:name mmlDp:repCode = "A" mmlDp:tableId = "MML0025" >

Internal medicine

</ mmlDp:name>

< mmlCm:Id mmlCm:type = "medical" mmlCm:tableId = "MML0029" >

01

</ mmlCm:Id>

</ mmlDp:Department>

</ mmlPsi:PersonalizedInfo>