4. PIX / PDQ
4.2. トランザクション定義(PIXV3)
4.2.1. 患者 ID フィード(HL7 V3 版) (Patient Identity Feed)[ITI-44]
4.2.1.1. インターフェース定義
患者 ID フィード(HL7 V3 版)の Web サービスインターフェース仕様を、表 4-8、表 4-9、及び、表 4-10 に示す。《PIX マネージャ》は、SOAP メッセージ形式の患者レジストリレコード追加メッセージ、患者レジス トリレコード修正メッセージ、患者レジストリ重複解決メッセージを受理することができ、SOAP メッセージ 形式の受諾応答メッセージを応答できなければならない。《PIX コンシューマ》は、 SOAP メッセージ形式の 患者レジストリレコード追加メッセージ、患者レジストリレコード修正メッセージ、患者レジストリ重複解 決メッセージを生成することができ、SOAP メッセージ形式の受諾応答メッセージを受理できなければならな い。
表 4-8 患者
ID
フィード(HL7 V3
版)メッセージで使用するXML
名前空間プレフィックス 名前空間
tns urn:ihe:iti:pixv3:2007
wsoap12 http://schemas.xmlsoap.org/wsdl/soap12/
wsaw http://www.w3.org/2006/05/addressing/wsdl xsd http://www.w3.org/2001/XMLSchema
xsi http://www.w3.org/2001/XMLSchema-instance hl7 urn:hl7-org:v3
表
4-9
患者ID
フィード(HL7 V3版)で使用するXML
スキーマターゲット要素 XML スキーマ
hl7:PRPA_IN201301UV02 PRPA_IN201301UV02.xsd hl7:PRPA_IN201302UV02 PRPA_IN201302UV02.xsd hl7:PRPA_IN201304UV02 PRPA_IN201304UV02.xsd hl7:MCCI_IN000002UV01 MCCI_IN000002UV01.xsd
表 4-10 患者
ID
フィード(HL7 V3版)WSDL定義 WSDLPIXManager.wsdl ポートタイプ
PIXManager_PortType オペレーション
患者レジストリレコード追加 (PIXManager_PRPA_IN201301UV02)
入力メッセージ 患者レジストリレコード追加メッセージ(tns:PRPA_IN201301UV02_Message)
part Body
要素 hl7:PRPA_IN201301UV02
アクション urn:hl7-org:v3:PRPA_IN201301UV02 出力メッセージ 受諾応答メッセージ(tns:MCCI_IN000002UV01_Message)
part Body
要素 hl7:MCCI_IN000002UV01
アクション urn:hl7-org:v3:MCCI_IN000002UV01 患者レジストリレコード修正 (PIXManager_PRPA_IN201302UV02)
入力メッセージ 患者レジストリレコード修正メッセージ(tns:PRPA_IN201302UV02_Message)
part Body
要素 hl7:PRPA_IN201302UV02
アクション urn:hl7-org:v3:PRPA_IN201302UV02 出力メッセージ 受諾応答メッセージ(tns:MCCI_IN000002UV01_Message)
part Body
要素 hl7:MCCI_IN000002UV01
アクション urn:hl7-org:v3:MCCI_IN000002UV01 患者レジストリ重複解決 (PIXManager_PRPA_IN201304UV02)
入力メッセージ 患者レジストリ重複解決メッセージ(tns:PRPA_IN201304UV02_Message)
part Body
要素 hl7:PRPA_IN201304UV02
アクション urn:hl7-org:v3:PRPA_IN201304UV02 出力メッセージ 受諾応答メッセージ(tns:MCCI_IN000002UV01_Message)
part Body
要素 hl7:MCCI_IN000002UV01
アクション urn:hl7-org:v3:MCCI_IN000002UV01 バインディング(SOAP 1.2 binding)
PIXManager_Binding_Soap12
ポートタイプ tns:PIXManager_PortType バインディングスタイル 文書指向 (document)
トランスポート HTTP
オペレーション PIXManager_PRPA_IN201301UV02 SOAPAction urn:hl7-org:v3:PRPA_IN201301UV02 input リテラル形式 (literal)
output リテラル形式 (literal)
PIXManager_PRPA_IN201302UV02 SOAPAction urn:hl7-org:v3:PRPA_IN201302UV02 input リテラル形式 (literal)
output リテラル形式 (literal)
PIXManager_PRPA_IN201304UV02 SOAPAction urn:hl7-org:v3:PRPA_IN201304UV02 input リテラル形式 (literal)
output リテラル形式 (literal) サービス
PIXManager_Service
バインディング tns:PIXManager_Binding_Soap12
患者 ID フィード(HL7 V3 版)の WSDL の例を、図 4-8 に示す。本例は、当該メッセージに関連する部分 のみを抜粋したものであり、完全な例は、ITI の FTP サイト(12.1 引用規格 IHE ITI TF-2x Appendix W)を 参照のこと。
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="PIXManager" targetNamespace="urn:ihe:iti:pixv3:2007"
xmlns:tns="urn:ihe:iti:pixv3:2007"
xmlns:wsoap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:hl7="urn:hl7-org:v3">
<documentation>Example WSDL for PIX Manager</documentation>
<types>
<xsd:schema elementFormDefault="qualified" targetNamespace="urn:hl7-org:v3"
xmlns:hl7="urn:hl7-org:v3">
<!-- Include the message schema -->
<xsd:include
schemaLocation="../schema/HL7V3/NE2008/multicacheschemas/PRPA_IN201301UV02.xsd"/>
</xsd:schema>
<xsd:schema elementFormDefault="qualified" targetNamespace="urn:hl7-org:v3"
xmlns:hl7="urn:hl7-org:v3">
<!-- Include the message schema -->
<xsd:include
schemaLocation="../schema/HL7V3/NE2008/multicacheschemas/PRPA_IN201302UV02.xsd"/>
</xsd:schema>
<xsd:schema elementFormDefault="qualified" targetNamespace="urn:hl7-org:v3"
xmlns:hl7="urn:hl7-org:v3">
<!-- Include the message schema -->
<xsd:include
schemaLocation="../schema/HL7V3/NE2008/multicacheschemas/PRPA_IN201304UV02.xsd"/>
</xsd:schema>
<xsd:schema elementFormDefault="qualified" targetNamespace="urn:hl7-org:v3"
xmlns:hl7="urn:hl7-org:v3">
<!-- Include the message schema -->
<xsd:include
schemaLocation="../schema/HL7V3/NE2008/multicacheschemas/MCCI_IN000002UV01.xsd"/>
</xsd:schema>
・・・
</types>
<message name="PRPA_IN201301UV02_Message">
<part element="hl7:PRPA_IN201301UV02" name="Body"/>
</message>
<message name="PRPA_IN201302UV02_Message">
<part element="hl7:PRPA_IN201302UV02" name="Body"/>
</message>
<message name="PRPA_IN201304UV02_Message">
<part element="hl7:PRPA_IN201304UV02" name="Body"/>
</message>
<message name="MCCI_IN000002UV01_Message">
<part element="hl7:MCCI_IN000002UV01" name="Body"/>
</message>
・・・
<portType name="PIXManager_PortType">
<operation name="PIXManager_PRPA_IN201301UV02">
<input message="tns:PRPA_IN201301UV02_Message"
wsaw:Action="urn:hl7-org:v3:PRPA_IN201301UV02"/>
<output message="tns:MCCI_IN000002UV01_Message"
wsaw:Action="urn:hl7-org:v3:MCCI_IN000002UV01"/>
</operation>
<operation name="PIXManager_PRPA_IN201302UV02">
<input message="tns:PRPA_IN201302UV02_Message"
wsaw:Action="urn:hl7-org:v3:PRPA_IN201302UV02"/>
<output message="tns:MCCI_IN000002UV01_Message"
wsaw:Action="urn:hl7-org:v3:MCCI_IN000002UV01"/>
</operation>
<operation name="PIXManager_PRPA_IN201304UV02">
<input message="tns:PRPA_IN201304UV02_Message"
wsaw:Action="urn:hl7-org:v3:PRPA_IN201304UV02"/>
<output message="tns:MCCI_IN000002UV01_Message"
wsaw:Action="urn:hl7-org:v3:MCCI_IN000002UV01"/>
</operation>
・・・
</portType>
<binding name="PIXManager_Binding_Soap12" type="tns:PIXManager_PortType">
<wsoap12:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="PIXManager_PRPA_IN201301UV02">
<wsoap12:operation soapAction="urn:hl7-org:v3:PRPA_IN201301UV02"/>
<input>
<wsoap12:body use="literal"/>
</input>
<output>
<wsoap12:body use="literal"/>
</output>
</operation>
<operation name="PIXManager_PRPA_IN201302UV02">
<wsoap12:operation soapAction="urn:hl7-org:v3:PRPA_IN201302UV02"/>
<input>
<wsoap12:body use="literal"/>
</input>
<output>
<wsoap12:body use="literal"/>
</output>
</operation>
<operation name="PIXManager_PRPA_IN201304UV02">
<wsoap12:operation soapAction="urn:hl7-org:v3:PRPA_IN201304UV02"/>
<input>
<wsoap12:body use="literal"/>
</input>
<output>
</output>
</operation>
・・・
</binding>
<service name="PIXManager_Service">
<port binding="tns:PIXManager_Binding_Soap12" name="PIXManager_Port_Soap12">
<wsoap12:address location="http://servicelocation/PIXManager_Soap12"/>
</port>
</service>
</definitions>
図 4-8 WSDLの例(患者