1    IHE transaction Message Samples. 2

1.1 Local PIX Feed: 2

1.2 Global PIX Feed: 2

1.3 PIX Update: 2

1.4 PIX Merge: 2

1.5 PIX Query: 3

1.6 PDQ Query: 3

1.7 PDQ Continuation: 4

1.8 XDS Submit a Document: 5

1.9 XDS Query (Find Documents): 10

1.10        Audit Trail Log: 14

 


1        IHE transaction Message Samples

1.1       Local PIX Feed:

[outbound]

MSH|^~\&|EHR_MISYS|MISYS|PAT_IDENTITY_X_REF_MGR_IBM1|IBM|20060815225602-0400||ADT^A04|PIF_0|P|2.3.1

EVN|A04|20060815225602||||20060815225600

PID|||12345678^^^MIEH^PI||DePinto^Joe^V^Jr^Dr.|Wang|19580325|M|||||(716)385-6235^PRN^PH^^^716^3856235

PV1||O

 

[inbound]

MSH|^~\&|PAT_IDENTITY_X_REF_MGR_IBM1|IBM|EHR_MISYS|MISYS|20060815215205-0500||ACK^A04|1155696725828243ibmo|P|2.3.1|

MSA|AA|PIF_0|

 

1.2       Global PIX Feed:

 [outbound] MSH|^~\&|OTHER_KIOSK|HIMSSSANDIEGO|PAT_IDENTITY_X_REF_MGR_IBM1|IBM|20060818143045-0400||ADT^A04|PIF_0|P|2.3.1

EVN|A04|20060818143045||||20060818143045

PID|||12345678^^^HIMSS2005&1.3.6.1.4.1.21367.2005.1.1&ISO^PI||DePinto^Joe^V^Jr^Dr.|Wang|19580325|M|||||(716)385-6235^PRN^PH^^^716^3856235

PV1||O

 

 [inbound] MSH|^~\&|PAT_IDENTITY_X_REF_MGR_IBM1|IBM|OTHER_KIOSK|HIMSSSANDIEGO|20060818132650-0500||ACK^A04|115592561025012ibmod|P|2.3.1|

MSA|AA|PIF_0|

 

1.3       PIX Update:

 [outbound]

MSH|^~\&|EHR_MISYS|MISYS|PAT_IDENTITY_X_REF_MGR_IBM1|IBM|20060918153358-0400||ADT^A08|PIF_0|P|2.3.1

EVN|A08|20060918153358||||20060918153357

PID|||536253^^^MIEH^PI||Tusona^Luis^N^Jr^Dr.|Wang|19660325|M|||||(716)385-6666^PRN^PH^^^716^3856666

PV1||I

 

 [inbound] MSH|^~\&|PAT_IDENTITY_X_REF_MGR_IBM1|IBM|EHR_MISYS|MISYS|20060918143449-0500||ACK^A08|1158608089086207ibmo|P|2.3.1|

MSA|AA|PIF_0|

 

1.4       PIX Merge:

 [outbound]

 MSH|^~\&|EHR_MISYS|MISYS|PAT_IDENTITY_X_REF_MGR_IBM1|IBM|20060919004624-0400||ADT^A40|PIF_3|P|2.3.1

EVN|A40|20060919004624||||20060919004340

PID|||newId123456^^^MIEH^PI||Tusona^Luis^N^II^Dr.|Wang|19660325|M|||||(716)385-6666^PRN^PH^^^716^3856666

MRG|536253^^^MIEH^PI||||||Tusona^Luis^N^Sr^Dr.

 

[inbound]

MSH|^~\&|PAT_IDENTITY_X_REF_MGR_IBM1|IBM|EHR_MISYS|MISYS|20060918234646-0500||ACK^A40|1158641206161352ibmo|P|2.3.1|

MSA|AA|PIF_3|

 

1.5       PIX Query:

 

 [outbound]

MSH|^~\&|EHR_MISYS|MISYS|PAT_IDENTITY_X_REF_MGR_IBM1|IBM|20060810164655-0400||QBP^Q23|PIX_0|P|2.5

QPD|QRY_1001^Query for Corresponding Identifiers^HIMSS2005\T\1.3.6.1.4.1.21367.2005.1.1\T\ISO|QRY_PIX_0|12345678^^^MIEH^PI

RCP|I

 

 [inbound] : Not patient found

 MSH|^~\&|PAT_IDENTITY_X_REF_MGR_IBM1|IBM|EHR_MISYS|MISYS|20060810154913-0500||RSP^K23|115524295351613ibmod|P|2.5|

MSA|AA|PIX_0|

QAK|QRY_PIX_0|NF|

QPD|QRY_1001^Query for Corresponding Identifiers^HIMSS2005\T\1.3.6.1.4.1.21367.2005.1.1\T\ISO|QRY_PIX_0|12345678^^^MIEH^PI

 

 [inbound] : Error response

MSH|^~\&|PAT_IDENTITY_X_REF_MGR_IBM1|IBM|EHR_MISYS|MISYS|20060810160617-0500||RSP^K23|115524397785914ibmod|P|2.5|

MSA|AE|PIX_0|

ERR||QPD^1^3^1^1|204|W|

QAK|QRY_PIX_0|AE|

QPD|QRY_1001^Query for Corresponding Identifiers^HIMSS2005\T\1.3.6.1.4.1.21367.2005.1.1\T\ISO|QRY_PIX_0|22245678^^^MIEH^PI

 

 [inbound] : Found a patient

 MSH|^~\&|PAT_IDENTITY_X_REF_MGR_IBM1|IBM|EHR_MISYS|MISYS|20060815221353-0500||RSP^K23|1155698033672245ibmo|P|2.5|

MSA|AA|PIX_0|

QAK|QRY_PIX_0|NF|

QPD|QRY_1001^Query for Corresponding Identifiers^IHEDEMO|QRY_PIX_0|12345678^^^MIEH^PI

 

1.6       PDQ Query:

 [outbound]

 MSH|^~\&|EHR_MISYS|MISYS|OTHER_KIOSK|HIMSSSANDIEGO|20060818172116-0400||QBP^Q22|PDQ_0|P|2.5

QPD|QRY_PDQ_1001^Query By Name^IHEDEMO|QRY_PDQ_0|@PID.5.1^DEPINTO~@PID.5.2^JOE

RCP|I

 

 [inbound]

MSH|^~\&|OTHER_KIOSK|HIMSSSANDIEGO|EHR_MISYS|MISYS|20060818161720-0500||RSP^K22|115593584042237ibmod|P|2.5|

MSA|AA|PDQ_0|

QAK|QRY_PDQ_0|OK|

QPD|QRY_PDQ_1001^Query By Name^IHEDEMO|QRY_PDQ_0|@PID.5.1^DEPINTO~@PID.5.2^JOE

PID|||12345678^^^HIMSS2005&1.3.6.1.4.1.21367.2005.1.1&ISO||DePinto^Joe^V^Jr|Wang|19580325|M|||||^PRN^PH^^^716^3856235|

QRI|189.0

 

1.7       PDQ Continuation:

 [outbound]

 MSH|^~\&|EHR_MISYS|MISYS|OTHER_KIOSK|HIMSSSANDIEGO|20060821160049-0400||QBP^Q22|PDQ_4|P|2.5||1940933422:1156190185984

QPD|QRY_PDQ_1001^Query By Name^IHEDEMO|QRY_PDQ_0|@PID.5.2^JO*

RCP|I|2^RD

 

 [inbound] MSH|^~\&|OTHER_KIOSK|HIMSSSANDIEGO|EHR_MISYS|MISYS|20060821145650-0500||RSP^K22|115619021078186ibmod|P|2.5||1940933422:1156190185984|

MSA|AA|PDQ_4|

QAK|QRY_PDQ_0|OK|

QPD|QRY_PDQ_1001^Query By Name^IHEDEMO|QRY_PDQ_0|@PID.5.2^JO*

PID|||JM19400814^^^HIMSS2005&1.3.6.1.4.1.21367.2005.1.1&ISO||Murphy^Joyce^Marie|Haney|19400814|F||WH^White|903 Susan Pl^^Lacrosse^WI^54603||^PRN^PH^^^608^7836578|||M^Married||||WI08141940|||LaCrosse|||801419403|

QRI|174.0

PID|||JC19560912^^^HIMSS2005&1.3.6.1.4.1.21367.2005.1.1&ISO||Candy^John^Tyler|McCartney|19560912|M||WH^White|5968 Kane St^^Cotton^MI^48931||^PRN^PH^^^531^6519008|||S^Single|||||||Detroit|||573765234|

QRI|174.0

DSC|2058980185:1156190210438|I|

 

 [outbound]

MSH|^~\&|EHR_MISYS|MISYS|OTHER_KIOSK|HIMSSSANDIEGO|20060821160333-0400||QBP^Q22|PDQ_5|P|2.5||1940933422:1156190185984

QPD|QRY_PDQ_1001^Query By Name^IHEDEMO|QRY_PDQ_0|@PID.5.2^JO*

RCP|I|2^RD

DSC|2058980185:1156190210438|I

 

 [inbound]

MSH|^~\&|OTHER_KIOSK|HIMSSSANDIEGO|EHR_MISYS|MISYS|20060821145936-0500||RSP^K22|115619037614187ibmod|P|2.5||1940933422:1156190185984|

MSA|AA|PDQ_5|

QAK|QRY_PDQ_0|OK|

QPD|QRY_PDQ_1001^Query By Name^IHEDEMO|QRY_PDQ_0|@PID.5.2^JO*

PID|||102^^^HIMSS2005&1.3.6.1.4.1.21367.2005.1.1&ISO||Doe^John^M||19760718|M|||Default St^^Default City^Default State^12345^USA||^PRN^PH|

QRI|174.0

PID|||103^^^HIMSS2005&1.3.6.1.4.1.21367.2005.1.1&ISO||adams^john|||M|||Default St^^Default City^Default State^12345^USA||^PRN^PH|

QRI|174.0

DSC|2058980185:1156190210438|I|

 

[outbound]

MSH|^~\&|EHR_MISYS|MISYS|OTHER_KIOSK|HIMSSSANDIEGO|20060821160403-0400||QBP^Q22|PDQ_6|P|2.5||1940933422:1156190185984

QPD|QRY_PDQ_1001^Query By Name^IHEDEMO|QRY_PDQ_0|@PID.5.2^JO*

RCP|I|2^RD

DSC|2058980185:1156190210438|I

 

[inbound]

 MSH|^~\&|OTHER_KIOSK|HIMSSSANDIEGO|EHR_MISYS|MISYS|20060821150004-0500||RSP^K22|115619040409488ibmod|P|2.5||1940933422:1156190185984|

MSA|AA|PDQ_6|

QAK|QRY_PDQ_0|OK|

QPD|QRY_PDQ_1001^Query By Name^IHEDEMO|QRY_PDQ_0|@PID.5.2^JO*

PID|||JD12294^^^HIMSS2005&1.3.6.1.4.1.21367.2005.1.1&ISO||Doe^John||||||900 Main St^^Green Bay^WI^23221||^PRN^PH|

QRI|174.0

PID|||12345678^^^HIMSS2005&1.3.6.1.4.1.21367.2005.1.1&ISO||DePinto^Joe^V^Jr|Wang|19580325|M|||||^PRN^PH^^^716^3856235|

QRI|174.0

DSC|2058980185:1156190210438|I|

 

 [outbound]

MSH|^~\&|EHR_MISYS|MISYS|OTHER_KIOSK|HIMSSSANDIEGO|20060821160417-0400||QBP^Q22|PDQ_7|P|2.5||1940933422:1156190185984

QPD|QRY_PDQ_1001^Query By Name^IHEDEMO|QRY_PDQ_0|@PID.5.2^JO*

RCP|I|2^RD

DSC|2058980185:1156190210438|I

 

[inbound]

MSH|^~\&|OTHER_KIOSK|HIMSSSANDIEGO|EHR_MISYS|MISYS|20060821150018-0500||RSP^K22|115619041865689ibmod|P|2.5||1940933422:1156190185984|

MSA|AA|PDQ_7|

QAK|QRY_PDQ_0|OK|

QPD|QRY_PDQ_1001^Query By Name^IHEDEMO|QRY_PDQ_0|@PID.5.2^JO*

PID|||146^^^HIMSS2005&1.3.6.1.4.1.21367.2005.1.1&ISO||Dunbar^John||||||Default St^^Default City^Default State^12345^USA||^PRN^PH|

QRI|174.0

 

 

1.8       XDS Submit a Document:

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">

  <SOAP-ENV:Header/>

  <SOAP-ENV:Body>

    <rs:SubmitObjectsRequest xmlns:rim="urn:oasis:names:tc:ebxml-regrep:rim:xsd:2.1" xmlns:rs="urn:oasis:names:tc:ebxml-regrep:registry:xsd:2.1">

      <rim:LeafRegistryObjectList>

        <rim:ObjectRef id="urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd"/>

        <rim:ObjectRef id="urn:uuid:aa543740-bdda-424e-8c96-df4873be8500"/>

        <rim:ObjectRef id="urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446"/>

        <rim:ObjectRef id="urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832"/>

        <rim:ObjectRef id="urn:uuid:96fdda7c-d067-4183-912e-bf5ee74998a8"/>

        <rim:ObjectRef id="urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a"/>

        <rim:ObjectRef id="urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f"/>

        <rim:ObjectRef id="urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d"/>

        <rim:ObjectRef id="urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1"/>

        <rim:ObjectRef id="urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead"/>

        <rim:ObjectRef id="urn:uuid:f0306f51-975f-434e-a61c-c59651d33983"/>

        <rim:ObjectRef id="urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427"/>

        <rim:ObjectRef id="urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab"/>

        <rim:ExtrinsicObject id="doc1" mimeType="text/xml" objectType="urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1">

          <rim:Name>

            <rim:LocalizedString value="Test Doc"/>

          </rim:Name>

          <rim:Slot name="authorInstitution">

            <rim:ValueList>

              <rim:Value>Prespbyterian Hosipital</rim:Value>

            </rim:ValueList>

          </rim:Slot>

          <rim:Slot name="authorPerson">

            <rim:ValueList>

              <rim:Value>^Chin^Harold</rim:Value>

            </rim:ValueList>

          </rim:Slot>

          <rim:Slot name="authorSpecialty">

            <rim:ValueList>

              <rim:Value>General Medicine</rim:Value>

            </rim:ValueList>

          </rim:Slot>

          <rim:Slot name="creationTime">

            <rim:ValueList>

              <rim:Value>20060831151742</rim:Value>

            </rim:ValueList>

          </rim:Slot>

          <rim:Slot name="languageCode">

            <rim:ValueList>

              <rim:Value>en-US</rim:Value>

            </rim:ValueList>

          </rim:Slot>

          <rim:Slot name="serviceStartTime">

            <rim:ValueList>

              <rim:Value>20010101050000</rim:Value>

            </rim:ValueList>

          </rim:Slot>

          <rim:Slot name="serviceStopTime">

            <rim:ValueList>

              <rim:Value>20060831151742</rim:Value>

            </rim:ValueList>

          </rim:Slot>

          <rim:Slot name="sourcePatientId">

            <rim:ValueList>

              <rim:Value>111111^^^MIEH&amp;&amp;</rim:Value>

            </rim:ValueList>

          </rim:Slot>

          <rim:Slot name="sourcePatientInfo">

            <rim:ValueList>

              <rim:Value>PID-3|111111^^^MIEH&amp;&amp;</rim:Value>

              <rim:Value>PID-5|Brado^Dan^F^Jr^Dr.</rim:Value>

              <rim:Value>PID-8|M</rim:Value>

              <rim:Value>PID-7|19660325</rim:Value>

              <rim:Value>PID-11|11 Home Suite^^Buffalo^NY^14236^</rim:Value>

            </rim:ValueList>

          </rim:Slot>

          <rim:Classification classificationScheme="urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a" classifiedObject="doc1" nodeRepresentation="Transfer of care referral">

            <rim:Name>

              <rim:LocalizedString value="Transfer of care referral"/>

            </rim:Name>

            <rim:Slot name="codingScheme">

              <rim:ValueList>

                <rim:Value>Connect-a-thon classCodes</rim:Value>

              </rim:ValueList>

            </rim:Slot>

          </rim:Classification>

          <rim:Classification classificationScheme="urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d" classifiedObject="doc1" nodeRepresentation="IHE/PCC/MS/1.0">

            <rim:Name>

              <rim:LocalizedString value="XDS-MS"/>

            </rim:Name>

            <rim:Slot name="codingScheme">

              <rim:ValueList>

                <rim:Value>Connect-a-thon formatCodes</rim:Value>

              </rim:ValueList>

            </rim:Slot>

          </rim:Classification>

          <rim:Classification classificationScheme="urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead" classifiedObject="doc1" nodeRepresentation="General Medicine">

            <rim:Name>

              <rim:LocalizedString value="General Medicine"/>

            </rim:Name>

            <rim:Slot name="codingScheme">

              <rim:ValueList>

                <rim:Value>Connect-a-thon practiceSettingCodes</rim:Value>

              </rim:ValueList>

            </rim:Slot>

          </rim:Classification>

          <rim:Classification classificationScheme="urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1" classifiedObject="doc1" nodeRepresentation="Outpatient">

            <rim:Name>

              <rim:LocalizedString value="Outpatient"/>

            </rim:Name>

            <rim:Slot name="codingScheme">

              <rim:ValueList>

                <rim:Value>Connect-a-thon healthcareFacilityTypeCodes</rim:Value>

              </rim:ValueList>

            </rim:Slot>

          </rim:Classification>

          <rim:Classification classificationScheme="urn:uuid:f0306f51-975f-434e-a61c-c59651d33983" classifiedObject="doc1" nodeRepresentation="11510-5">

            <rim:Name>

              <rim:LocalizedString value="Psychology Subsequent Visit Evaluation Note"/>

            </rim:Name>

            <rim:Slot name="codingScheme">

              <rim:ValueList>

                <rim:Value>LOINC</rim:Value>

              </rim:ValueList>

            </rim:Slot>

          </rim:Classification>

          <rim:Classification classificationScheme="urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f" classifiedObject="doc1" nodeRepresentation="N">

            <rim:Name>

              <rim:LocalizedString value="Normal"/>

            </rim:Name>

            <rim:Slot name="codingScheme">

              <rim:ValueList>

                <rim:Value>Connect-a-thon confidentialityCodes</rim:Value>

              </rim:ValueList>

            </rim:Slot>

          </rim:Classification>

          <rim:ExternalIdentifier identificationScheme="urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427" value="111111^^^HIMSS2005&amp;1.3.6.1.4.1.21367.2005.1.1&amp;ISO">

            <rim:Name>

              <rim:LocalizedString value="XDSDocumentEntry.patientId"/>

            </rim:Name>

          </rim:ExternalIdentifier>

          <rim:ExternalIdentifier identificationScheme="urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab" value="2.16.840.1.113883.3.65.2^doctestid111">

            <rim:Name>

              <rim:LocalizedString value="XDSDocumentEntry.uniqueId"/>

            </rim:Name>

          </rim:ExternalIdentifier>

        </rim:ExtrinsicObject>

        <rim:RegistryPackage id="SubmissionSet">

          <rim:Name>

            <rim:LocalizedString value="Submission Set"/>

          </rim:Name>

          <rim:Description>

            <rim:LocalizedString value="Submit a test doc"/>

          </rim:Description>

          <rim:Slot name="authorInstitution">

            <rim:ValueList>

              <rim:Value>Prespbyterian Hosipital</rim:Value>

            </rim:ValueList>

          </rim:Slot>

          <rim:Slot name="authorPerson">

            <rim:ValueList>

              <rim:Value>^Chin^Harold</rim:Value>

            </rim:ValueList>

          </rim:Slot>

          <rim:Slot name="authorSpecialty">

            <rim:ValueList>

              <rim:Value>General Medicine</rim:Value>

            </rim:ValueList>

          </rim:Slot>

          <rim:Slot name="submissionTime">

            <rim:ValueList>

              <rim:Value>20060831151832</rim:Value>

            </rim:ValueList>

          </rim:Slot>

          <rim:Classification classificationScheme="urn:uuid:aa543740-bdda-424e-8c96-df4873be8500" classifiedObject="SubmissionSet" nodeRepresentation="Transfer of care referral">

            <rim:Name>

              <rim:LocalizedString value="Transfer of care referral"/>

            </rim:Name>

            <rim:Slot name="codingScheme">

              <rim:ValueList>

                <rim:Value>Connect-a-thon contentTypeCodes</rim:Value>

              </rim:ValueList>

            </rim:Slot>

          </rim:Classification>

          <rim:ExternalIdentifier identificationScheme="urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446" value="111111^^^HIMSS2005&amp;1.3.6.1.4.1.21367.2005.1.1&amp;ISO">

            <rim:Name>

              <rim:LocalizedString value="XDSSubmissionSet.patientId"/>

            </rim:Name>

          </rim:ExternalIdentifier>

          <rim:ExternalIdentifier identificationScheme="urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832" value="1.3.6.1.4.1.21367.2006.1.2.122">

            <rim:Name>

              <rim:LocalizedString value="XDSSubmissionSet.sourceId"/>

            </rim:Name>

          </rim:ExternalIdentifier>

          <rim:ExternalIdentifier identificationScheme="urn:uuid:96fdda7c-d067-4183-912e-bf5ee74998a8" value="1.3.6.1.4.1.21367.2006.1.2.122.1157037477939.2">

            <rim:Name>

              <rim:LocalizedString value="XDSSubmissionSet.uniqueId"/>

            </rim:Name>

          </rim:ExternalIdentifier>

        </rim:RegistryPackage>

        <rim:Classification classificationNode="urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd" classifiedObject="SubmissionSet"/>

        <rim:Association associationType="HasMember" sourceObject="SubmissionSet" targetObject="doc1">

          <rim:Slot name="SubmissionSetStatus">

            <rim:ValueList>

              <rim:Value>Original</rim:Value>

            </rim:ValueList>

          </rim:Slot>

        </rim:Association>

      </rim:LeafRegistryObjectList>

    </rs:SubmitObjectsRequest>

  </SOAP-ENV:Body>

</SOAP-ENV:Envelope>

 

XDS Submission Response:

<?xml version="1.0" encoding="UTF-8"?>

<soap-env:Envelope xmlns:SOAP-SEC="http://schemas.xmlsoap.org/soap/security/2000-12" xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">

            <soap-env:Header>

            </soap-env:Header>

            <soap-env:Body SOAP-SEC:id="Body">

<rs:RegistryResponse xmlns:java="http://xml.apache.org/xslt/java" xmlns:query="urn:oasis:names:tc:ebxml-regrep:query:xsd:2.1" xmlns:query_v3="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:rim="urn:oasis:names:tc:ebxml-regrep:rim:xsd:2.1" xmlns:rim_v3="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns:rs="urn:oasis:names:tc:ebxml-regrep:registry:xsd:2.1" xmlns:rs_v3="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" status="Success"/>

            </soap-env:Body>

</soap-env:Envelope>

 

1.9       XDS Query (Find Documents):

Message: <?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">

  <SOAP-ENV:Header/>

  <SOAP-ENV:Body>

    <AdhocQueryRequest xmlns="urn:oasis:names:tc:ebxml-regrep:query:xsd:2.1" xmlns:q="urn:oasis:names:tc:ebxml-regrep:query:xsd:2.1" xmlns:rim="urn:oasis:names:tc:ebxml-regrep:rim:xsd:2.1" xmlns:rs="urn:oasis:names:tc:ebxml-regrep:registry:xsd:2.1">

      <ResponseOption returnComposedObjects="true" returnType="LeafClass"/>

      <SQLQuery>

SELECT eo.id FROM ExtrinsicObject eo, ExternalIdentifier ei

WHERE eo.objectType='urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1' AND

 eo.id = ei.registryobject AND

 ei.identificationScheme='urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427' AND

 ei.value='111111^^^HIMSS2005&amp;1.3.6.1.4.1.21367.2005.1.1&amp;ISO' AND

 eo.status = 'Approved'

</SQLQuery>

    </AdhocQueryRequest>

  </SOAP-ENV:Body>

</SOAP-ENV:Envelope>

 

XDS Query Response:

<?xml version="1.0" encoding="UTF-8"?>

<soap-env:Envelope xmlns:SOAP-SEC="http://schemas.xmlsoap.org/soap/security/2000-12" xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" soap-env:actor="some-uri" soap-env:mustUnderstand="1">

            <soap-env:Header>

            </soap-env:Header>

            <soap-env:Body SOAP-SEC:id="Body">

<rs:RegistryResponse xmlns:java="http://xml.apache.org/xslt/java" xmlns:query="urn:oasis:names:tc:ebxml-regrep:query:xsd:2.1" xmlns:query_v3="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:rim="urn:oasis:names:tc:ebxml-regrep:rim:xsd:2.1" xmlns:rim_v3="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns:rs="urn:oasis:names:tc:ebxml-regrep:registry:xsd:2.1" xmlns:rs_v3="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" status="Success">

<query:AdhocQueryResponse>

<query:SQLQueryResult>

<rim:ObjectRef id="urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427"/>

<rim:ObjectRef id="urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab"/>

<rim:ObjectRef id="urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a"/>

<rim:ObjectRef id="urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d"/>

<rim:ObjectRef id="urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead"/>

<rim:ObjectRef id="urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1"/>

<rim:ObjectRef id="urn:uuid:f0306f51-975f-434e-a61c-c59651d33983"/>

<rim:ObjectRef id="urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f"/>

<rim:ExtrinsicObject id="urn:uuid:65a034df-1094-49b6-a675-9b478fc2a4c0" isOpaque="false" mimeType="text/xml" objectType="urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1" status="Approved">

<rim:Name>

<rim:LocalizedString charset="UTF-8" value="Test Doc"/>

                </rim:Name>

<rim:Description/>

<rim:Slot name="authorInstitution">

<rim:ValueList>

<rim:Value>Prespbyterian Hosipital</rim:Value>

                    </rim:ValueList>

                </rim:Slot>

<rim:Slot name="authorPerson">

<rim:ValueList>

<rim:Value>^Chin^Harold</rim:Value>

                    </rim:ValueList>

                </rim:Slot>

<rim:Slot name="authorSpecialty">

<rim:ValueList>

<rim:Value>General Medicine</rim:Value>

                    </rim:ValueList>

                </rim:Slot>

<rim:Slot name="creationTime">

<rim:ValueList>

<rim:Value>20060831151742</rim:Value>

                    </rim:ValueList>

                </rim:Slot>

<rim:Slot name="hash">

<rim:ValueList>

<rim:Value>307C049C316CB239BEFDE3B70994CEB8D26DC459</rim:Value>

                    </rim:ValueList>

                </rim:Slot>

<rim:Slot name="languageCode">

<rim:ValueList>

<rim:Value>en-US</rim:Value>

                    </rim:ValueList>

                </rim:Slot>

<rim:Slot name="serviceStartTime">

<rim:ValueList>

<rim:Value>20010101050000</rim:Value>

                    </rim:ValueList>

                </rim:Slot>

<rim:Slot name="serviceStopTime">

<rim:ValueList>

<rim:Value>20060831151742</rim:Value>

                    </rim:ValueList>

                </rim:Slot>

<rim:Slot name="size">

<rim:ValueList>

<rim:Value>24812</rim:Value>

                    </rim:ValueList>

                </rim:Slot>

<rim:Slot name="sourcePatientId">

<rim:ValueList>

<rim:Value>111111^^^MIEH&amp;&amp;</rim:Value>

                    </rim:ValueList>

                </rim:Slot>

<rim:Slot name="sourcePatientInfo">

<rim:ValueList>

<rim:Value>PID-3|111111^^^MIEH&amp;&amp;</rim:Value>

<rim:Value>PID-5|Brado^Dan^F^Jr^Dr.</rim:Value>

<rim:Value>PID-8|M</rim:Value>

<rim:Value>PID-7|19660325</rim:Value>

<rim:Value>PID-11|11 Home Suite^^Buffalo^NY^14236^</rim:Value>

                    </rim:ValueList>

                </rim:Slot>

<rim:Slot name="URI">

<rim:ValueList>

<rim:Value>http://ibmod235.dal-ebis.ihost.com:9080/IHIIRepository/rtrv?ct=31-8-2006&amp;id=64CBE3B8&amp;mt=application/xml</rim:Value>

                    </rim:ValueList>

                </rim:Slot>

<rim:Classification classificationScheme="urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a" classifiedObject="urn:uuid:65a034df-1094-49b6-a675-9b478fc2a4c0" id="urn:uuid:1d0f779d-3045-4e17-bf00-de5406c03e10" nodeRepresentation="Transfer of care referral" objectType="Classification">

<rim:Name>

<rim:LocalizedString charset="UTF-8" value="Transfer of care referral"/>

                    </rim:Name>

<rim:Description/>

<rim:Slot name="codingScheme">

<rim:ValueList>

<rim:Value>Connect-a-thon classCodes</rim:Value>

                        </rim:ValueList>

                    </rim:Slot>

</rim:Classification>

<rim:Classification classificationScheme="urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d" classifiedObject="urn:uuid:65a034df-1094-49b6-a675-9b478fc2a4c0" id="urn:uuid:46fbeda4-10d7-42b8-b34d-fd173f9d6753" nodeRepresentation="IHE/PCC/MS/1.0" objectType="Classification">

<rim:Name>

<rim:LocalizedString charset="UTF-8" value="XDS-MS"/>

                    </rim:Name>

<rim:Description/>

<rim:Slot name="codingScheme">

<rim:ValueList>

<rim:Value>Connect-a-thon formatCodes</rim:Value>

                        </rim:ValueList>

                    </rim:Slot>

</rim:Classification>

<rim:Classification classificationScheme="urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead" classifiedObject="urn:uuid:65a034df-1094-49b6-a675-9b478fc2a4c0" id="urn:uuid:10a42635-da0d-4680-a7e3-9100bf9b9649" nodeRepresentation="General Medicine" objectType="Classification">

<rim:Name>

<rim:LocalizedString charset="UTF-8" value="General Medicine"/>

                    </rim:Name>

<rim:Description/>

<rim:Slot name="codingScheme">

<rim:ValueList>

<rim:Value>Connect-a-thon practiceSettingCodes</rim:Value>

                        </rim:ValueList>

                    </rim:Slot>

</rim:Classification>

<rim:Classification classificationScheme="urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1" classifiedObject="urn:uuid:65a034df-1094-49b6-a675-9b478fc2a4c0" id="urn:uuid:9ea05ddf-9d6a-46dd-b511-cbe938a82b80" nodeRepresentation="Outpatient" objectType="Classification">

<rim:Name>

<rim:LocalizedString charset="UTF-8" value="Outpatient"/>

                    </rim:Name>

<rim:Description/>

<rim:Slot name="codingScheme">

<rim:ValueList>

<rim:Value>Connect-a-thon healthcareFacilityTypeCodes</rim:Value>

                        </rim:ValueList>

                    </rim:Slot>

</rim:Classification>

<rim:Classification classificationScheme="urn:uuid:f0306f51-975f-434e-a61c-c59651d33983" classifiedObject="urn:uuid:65a034df-1094-49b6-a675-9b478fc2a4c0" id="urn:uuid:3422619e-8d02-4195-8dc7-debb3d2d63d8" nodeRepresentation="11510-5" objectType="Classification">

<rim:Name>

<rim:LocalizedString charset="UTF-8" value="Psychology Subsequent Visit Evaluation Note"/>

                    </rim:Name>

<rim:Description/>

<rim:Slot name="codingScheme">

<rim:ValueList>

<rim:Value>LOINC</rim:Value>

                        </rim:ValueList>

                    </rim:Slot>

</rim:Classification>

<rim:Classification classificationScheme="urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f" classifiedObject="urn:uuid:65a034df-1094-49b6-a675-9b478fc2a4c0" id="urn:uuid:53b5b74e-3bdd-48f9-ae44-e1f5aab1d928" nodeRepresentation="N" objectType="Classification">

<rim:Name>

<rim:LocalizedString charset="UTF-8" value="Normal"/>

                    </rim:Name>

<rim:Description/>

<rim:Slot name="codingScheme">

<rim:ValueList>

<rim:Value>Connect-a-thon confidentialityCodes</rim:Value>

                        </rim:ValueList>

                    </rim:Slot>

</rim:Classification>

<rim:ExternalIdentifier id="urn:uuid:22305306-2693-4b28-a1d7-e88e8f0cd8b9" identificationScheme="urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427" objectType="ExternalIdentifier" registryObject="urn:uuid:65a034df-1094-49b6-a675-9b478fc2a4c0" value="111111^^^HIMSS2005&amp;1.3.6.1.4.1.21367.2005.1.1&amp;ISO">

<rim:Name>

<rim:LocalizedString charset="UTF-8" value="XDSDocumentEntry.patientId"/>

                    </rim:Name>

<rim:Description/>

                </rim:ExternalIdentifier>

<rim:ExternalIdentifier id="urn:uuid:0ee0c46c-ebbf-4edf-9f3b-cb08c3444536" identificationScheme="urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab" objectType="ExternalIdentifier" registryObject="urn:uuid:65a034df-1094-49b6-a675-9b478fc2a4c0" value="2.16.840.1.113883.3.65.2^doctestid111">

<rim:Name>

<rim:LocalizedString charset="UTF-8" value="XDSDocumentEntry.uniqueId"/>

                    </rim:Name>

<rim:Description/>

                </rim:ExternalIdentifier>

</rim:ExtrinsicObject>

</query:SQLQueryResult>

</query:AdhocQueryResponse>

</rs:RegistryResponse>

            </soap-env:Body>

</soap-env:Envelope>

 

1.10   Audit Trail Log:

Create a Patient

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<AuditMessage>

    <EventIdentification EventActionCode="C" EventDateTime="2006-09-07T14:26:00.011-04:00" EventOutcomeIndicator="0">

        <EventID codeSystem="DCM" code="110110" displayName="Patient Record"/>

    </EventIdentification>

    <ActiveParticipant AlternativeUserID="EMR" NetworkAccessPointID="localhost123" NetworkAccessPointTypeCode="1" UserID="emr123" UserIsRequestor="true">

        <RoleIDCode codeSystem="DCM" code="110153" displayName="Source"/>

    </ActiveParticipant>

    <ActiveParticipant AlternativeUserID="lpfibm1" NetworkAccessPointID="hosp.misyshealthcare.com" NetworkAccessPointTypeCode="3" UserID="Misys Connect" UserIsRequestor="false">

        <RoleIDCode codeSystem="DCM" code="110150" displayName="Application"/>

    </ActiveParticipant>

    <AuditSourceIdentification AuditEnterpriseSiteID="Big Hospital" AuditSourceID="Sun Room"/>

    <ParticipantObjectIdentification ParticipantObjectID="536253" ParticipantObjectTypeCode="1" ParticipantObjectTypeCodeRole="1">

        <ParticipantObjectIDTypeCode code="2"/>

        <ParticipantObjectName>Tusona^Luis^N^Sr^Dr.</ParticipantObjectName>

    </ParticipantObjectIdentification>

</AuditMessage>

 

 

 

<110>Sep 07 16:14:17 misys1: <?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<AuditMessage>

    <EventIdentification EventActionCode="C" EventDateTime="2006-09-07T16:14:08.741-04:00" EventOutcomeIndicator="0">

        <EventID codeSystem="DCM" code="110110" displayName="Patient Record"/>

    </EventIdentification>

    <ActiveParticipant AlternativeUserID="EMR" NetworkAccessPointID="localhost123" NetworkAccessPointTypeCode="1" UserID="emr123" UserIsRequestor="true">

        <RoleIDCode codeSystem="DCM" code="110153" displayName="Source"/>

    </ActiveParticipant>

    <ActiveParticipant AlternativeUserID="lpfibm1" NetworkAccessPointID="misys1" NetworkAccessPointTypeCode="3" UserID="EHR_MISYS" UserIsRequestor="false">

        <RoleIDCode codeSystem="DCM" code="110150" displayName="Application"/>

    </ActiveParticipant>

    <AuditSourceIdentification AuditEnterpriseSiteID="MISYS" AuditSourceID="EHR_MISYS"/>

    <ParticipantObjectIdentification ParticipantObjectID="536253^^^HIMSS2005&amp;1.3.6.1.4.1.21367.2005.1.1&amp;ISO" ParticipantObjectTypeCode="1" ParticipantObjectTypeCodeRole="1">

        <ParticipantObjectIDTypeCode code="2"/>

        <ParticipantObjectName>Tusona^Luis^N^Sr^Dr.</ParticipantObjectName>

    </ParticipantObjectIdentification>

</AuditMessage>

 

Submit a Doc :

<110>Sep 17 21:49:44 misys1: <?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<AuditMessage>

    <EventIdentification EventActionCode="C" EventDateTime="2006-09-17T21:49:43.169" EventOutcomeIndicator="0">

        <EventID codeSystem="DCM" code="110110" displayName="Patient Record"/>

    </EventIdentification>

    <ActiveParticipant AlternativeUserID="EMR" NetworkAccessPointID="localhost123" UserID="emr123" UserIsRequestor="true">

        <RoleIDCode codeSystem="DCM" code="110153" displayName="Source"/>

    </ActiveParticipant>

    <ActiveParticipant AlternativeUserID="xdssibm1" NetworkAccessPointID="misys1" UserID="EHR_MISYS" UserIsRequestor="false">

        <RoleIDCode codeSystem="DCM" code="110150" displayName="Application"/>

    </ActiveParticipant>

    <AuditSourceIdentification AuditEnterpriseSiteID="MISYS" AuditSourceID="EHR_MISYS">

        <AuditSourceTypeCode code="3"/>

        <AuditSourceTypeCode code="1"/>

    </AuditSourceIdentification>

    <ParticipantObjectIdentification ParticipantObjectID="536253^^^HIMSS2005&amp;1.3.6.1.4.1.21367.2005.1.1&amp;ISO" ParticipantObjectTypeCode="1" ParticipantObjectTypeCodeRole="1">

        <ParticipantObjectIDTypeCode code="2"/>

        <ParticipantObjectName>Tusona^Luis^N^Sr^Dr.</ParticipantObjectName>

        <ParticipantObjectDetail type="DocumentId" value="TWk0eE5pNDROREF1TVM0eE1UTTRPRE11TXk0Mk5TNHlYbVJ2WTJsa01URTFPRFUwTkRBNE9UQTBNdz09"/>

    </ParticipantObjectIdentification>

</AuditMessage>