4. PIX / PDQ
4.2. トランザクション定義(PIXV3)
4.2.2. 患者 ID 相互参照問合せ(HL7 V3 版) ( PIXV3 Query)[ITI-45]
4.2.2.1. インターフェース定義
患者 ID 相互参照問合せ(HL7 V3 版)の Web サービスインターフェース仕様を、表 4-28、表 4-29、及 び、表 4-30 に示す。《PIX マネージャ》は、SOAP メッセージ形式の患者 ID 照会メッセージを受理すること ができ、SOAP メッセージ形式の患者 ID 照会応答メッセージを応答できなければならない。《PIX コンシュー マ》は、 SOAP メッセージ形式の患者 ID 照会メッセージを生成することができ、SOAP メッセージ形式の患者 ID 照会応答メッセージを受理できなければならない。
なお、WSDL は、JAHIS IHE ITI 適用ガイド「4.4 インターフェース定義」と同じであるが、本書において、
インターフェース定義の表現方法を変更したため再掲する。
表 4-28 患者
ID
相互参照問合せメッセージで使用する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-29 患者
ID
相互参照問合せメッセージで使用するXML
スキーマターゲット要素 XML スキーマ
hl7:PRPA_IN201309UV02 PRPA_IN201309UV02.xsd hl7:PRPA_IN201310UV02 PRPA_IN201310UV02.xsd
表 4-30 患者
ID
相互参照問合せWSDL
定義 WSDLPIXManager.wsdl ポートタイプ
PIXManager_PortType オペレーション
患者 ID 相互参照問合せ (PIXManager_PRPA_IN201309UV02)
入力メッセージ 患者 ID 照会メッセージ(tns:PRPA_IN201309UV02_Message)
part Body
要素 hl7:PRPA_IN201309UV02
アクション urn:hl7-org:v3:PRPA_IN201309UV02 出力メッセージ 患者 ID 照会応答メッセージ(tns:PRPA_IN201310UV02_Message)
part Body
要素 hl7:PRPA_IN201310UV02
アクション urn:hl7-org:v3:PRPA_IN201310UV02 バインディング(SOAP 1.2 binding)
PIXManager_Binding_Soap12
ポートタイプ tns:PIXManager_PortType バインディングスタイル 文書指向 (document)
トランスポート HTTP
オペレーション PIXManager_PRPA_IN201309UV02 SOAPAction urn:hl7-org:v3:PRPA_IN201309UV02 input リテラル形式 (literal)
output リテラル形式 (literal) サービス
PIXManager_Service
バインディング tns:PIXManager_Binding_Soap12
患者 ID 相互参照問合せの WSDL の例を、図 4-16 に示す。本例は、当該メッセージに関連する部分のみを 抜粋したものであり、完全な例は、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:xsd="http://www.w3.org/2001/XMLSchema"
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_IN201309UV02.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_IN201310UV02.xsd"/>
</xsd:schema>
</types>
・・・
<message name="PRPA_IN201309UV02_Message">
<part element="hl7:PRPA_IN201309UV02" name="Body"/>
</message>
<message name="PRPA_IN201310UV02_Message">
<part element="hl7:PRPA_IN201310UV02" name="Body"/>
</message>
<portType name="PIXManager_PortType">
・・・
<operation name="PIXManager_PRPA_IN201309UV02">
<input message="tns:PRPA_IN201309UV02_Message"
wsaw:Action="urn:hl7-org:v3:PRPA_IN201309UV02"/>
<output message="tns:PRPA_IN201310UV02_Message"
wsaw:Action="urn:hl7-org:v3:PRPA_IN201310UV02"/>
</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_IN201309UV02">
<wsoap12:operation soapAction="urn:hl7-org:v3:PRPA_IN201309UV02"/>
<input>
<wsoap12:body use="literal"/>
</input>
<output>
<wsoap12:body use="literal"/>
</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>
図 4-16 WSDLの例(患者