MIM 6.2.02 - Detailed Change Description.
 

Schema Defects - Query Messages

 

Schema defects were present in the MIM 5.5.01 and MIM 6.2.01 relating to schemas used for query messages.

The defect relates to the Message Type (MT) schemas listed below, each of the schemas includes an element named "Query" that has an uppercase “Q”, the correct element name should have a lowercase “q” ( i.e. "query").

 

Incorrect example schema fragment :


<xs:include
schemaLocation="../dt/infrastructureRoot.xsd"/>
<xs:include
schemaLocation="../dt/NHSVocab.xsd"/>
<xs:include
schemaLocation="../dt/datatypeflavours.xsd"/>
<xs:element
name="Query" type="QUPA_MT000001UK01.Query"/>
<xs:complexType
name="QUPA_MT000001UK01.Person.address">
   <xs:sequence>
      <xs:group
ref="InfrastructureRootElements"/>
      <xs:element
name="semanticsText" type="ST" fixed="Person.address"/>
      <xs:element
name="value" type="AD"/>
   </xs:sequence>
   <xs:attributeGroup
ref="InfrastructureRootAttributes"/>
</xs:complexType>
 


Corrected example schema fragment :


<xs:include
schemaLocation="../dt/infrastructureRoot.xsd"/>
<xs:include
schemaLocation="../dt/NHSVocab.xsd"/>
<xs:include
schemaLocation="../dt/datatypeflavours.xsd"/>
<xs:element
name="query" type="QUPA_MT000001UK01.Query"/>
<xs:complexType
name="QUPA_MT000001UK01.Person.address">
   <xs:sequence>
      <xs:group
ref="InfrastructureRootElements"/>
      <xs:element
name="semanticsText" type="ST" fixed="Person.address"/>
      <xs:element
name="value" type="AD"/>
   </xs:sequence>
   <xs:attributeGroup
ref="InfrastructureRootAttributes"/>
</xs:complexType>

 

Impacted message ids are as below :
 

Message Name

Message ID

Domain

DS Simple Trace

QUPA_MT000001UK01

PDS

PDS Advanced Trace Query

QUPA_MT000002UK02

PDS

PDS Retrieval Query

QUPA_MT000003UK02

PDS

PDS Confirm NHS Number Query

QUPA_MT000004UK01

PDS

PDS Batch Trace Query

QUPA_MT000005UK02

PDS

PDS Cross Check Trace Query

QUPA_MT000006UK01

PDS

Query Confirmation Request

QUPC_MT010101UK32

LRS

Identify User Role Profiles Query

QUPC_MT010102UK01

LRS

Query Details

QUPC_MT020101UK15

LRS

Query Batch Confirmation Request

QUPC_MT030101UK03

LRS

Workgroup Member Query Request

QUPC_MT040000UK01

LRS

PSIS Document List Data Request

QUPC_MT160001UK02

PSIS

PSIS Document Data Request

QUPC_MT160003UK02

PSIS

PSIS CRE List Data Request

QUPC_MT160007UK02

PSIS

PSIS Synchronisation List Data Request

QUPC_MT160009UK03

PSIS

Prescription State List (Query By ID) Query

QURX_MT000002UK01

ETP

Prescription State List (Query By Requester) Query

QURX_MT000003UK01

ETP

Prescription Detail Query

QURX_MT000005UK01

ETP


The  Schema and Message examples have been amended accordingly.

 

 

Schema Defects - Alert Message ( COMT_MT000001UK01 )

 

The schema COMT_MT000001UK01.xsd supplied in MIM 6.2.01 was defective. The schema constraint on "COMT_MT000001UK01.OrganizationSDS" was incorrect in that it constrained the OID value to an erroneous set of OIDs.

 

The RMIM, Schema and MIF file have been amended accordingly.
 

Incorrect version was as below :

<xs:complexType name="COMT_MT000001UK01.OrganizationSDS">
     <xs:sequence>
         <xs:group
ref="InfrastructureRootElements"/>
         <xs:element
name="id">
             <xs:complexType>
                 <xs:complexContent>
                 <xs:restriction
base="II">
                     <xs:attribute
name="root" type="II.NPfIT.OrganizationSDS.Type1.oid" use="required"/>
                     <xs:attribute
name="extension" type="II.NPfIT.OrganizationSDS.Type1.extension" use="required"/>
                     <xs:attribute
name="nullFlavor" type="cs_NullFlavor" use="prohibited"/>
                     <xs:attribute
name="updateMode" type="cs_UpdateMode" use="prohibited"/>
                     <xs:attribute
name="assigningAuthorityName" type="st" use="prohibited"/>
                     <xs:attribute
name="displayable" type="bl" use="prohibited"/>
                 </xs:restriction>
                 </xs:complexContent>
             </xs:complexType>
         </xs:element>
         <xs:element
name="name" type="TN"/>
      </xs:sequence>
      <xs:attributeGroup
ref="InfrastructureRootAttributes"/>
      <xs:attribute
name="classCode" type="cs" use="required" fixed="ORG"/>
      <xs:attribute
name="determinerCode" type="cs" use="required" fixed="INSTANCE"/>
</xs:complexType>
 


Correct version is now as below :


<xs:complexType
name="COMT_MT000001UK01.OrganizationSDS">
     <xs:sequence>
         <xs:group
ref="InfrastructureRootElements"/>
         <xs:element
name="id" type="II.NPfIT.oid.mandatory">
         <xs:element
name="name" type="TN"/>
      </xs:sequence>
      <xs:attributeGroup
ref="InfrastructureRootAttributes"/>
      <xs:attribute
name="classCode" type="cs" use="required" fixed="ORG"/>
      <xs:attribute
name="determinerCode" type="cs" use="required" fixed="INSTANCE"/>
</xs:complexType>