mmlPi:type

Attribute Information

Used By

Attribute Group mmlPi:attlist.otherId

Source

<xs:attribute name="type" use="required" form="qualified">
  <xs:simpleType>
    <xs:restriction base="xs:token">
      <xs:enumeration value="temporaryPatientId"/>
      <xs:enumeration value="otherPatientId"/>
      <xs:enumeration value="spouseId"/>
      <xs:enumeration value="motherId"/>
      <xs:enumeration value="fatherId"/>
      <xs:enumeration value="childId"/>
      <xs:enumeration value="relativeId"/>
      <xs:enumeration value="roommateId"/>
      <xs:enumeration value="friendId"/>
      <xs:enumeration value="representativeId"/>
      <xs:enumeration value="emergencyContactId"/>
      <xs:enumeration value="coWorkerId"/>
    </xs:restriction>
  </xs:simpleType>
</xs:attribute>

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>