• 検索結果がありません。

4. PIX / PDQ

4.3. PDQ の概要

4.4.1.1. インターフェース定義

患者基本情報問合せ(HL7 V3 版)の Web サービスインターフェース仕様を、表 4-51、表 4-52、及び、

表 4-53 に示す。《患者基本情報サプライヤ》は、SOAP メッセージ形式の患者 ID 照会メッセージを受理する ことができ、SOAP メッセージ形式の患者基本情報照会応答メッセージを応答できなければならない。《患者 基本情報コンシューマ》は、 SOAP メッセージ形式の患者基本情報照会メッセージを生成することができ、

SOAP メッセージ形式の患者基本情報照会応答メッセージを受理できなければならない。

なお、WSDL は、JAHIS IHE ITI 適用ガイド「5.4 インターフェース定義」と同じであるが、本書において、

インターフェース定義の表現方法を変更したため再掲する。

表 4-51 患者基本情報問合せメッセージで使用する

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-52 患者基本情報問合せメッセージで使用する

XML

スキーマ

ターゲット要素 XML スキーマ

hl7:PRPA_IN201305UV02 PRPA_IN201305UV02.xsd hl7:PRPA_IN201306UV02 PRPA_IN201306UV02.xsd

表 4-53 患者基本情報問合せ

WSDL

定義 WSDL

PDQSupplier.wsdl ポートタイプ

PDQSupplier_PortType オペレーション

患者基本情報問合せ (PDQSupplier_PRPA_IN201305UV02)

入力メッセージ 患者基本情報照会メッセージ(tns:PRPA_IN201305UV02_Message)

part Body

要素 hl7:PRPA_IN201305UV02

アクション urn:hl7-org:v3:PRPA_IN201305UV02 出力メッセージ 患者基本情報照会応答メッセージ(tns:PRPA_IN201306UV02_Message)

part Body

要素 hl7:PRPA_IN201306UV02

アクション urn:hl7-org:v3:PRPA_IN201306UV02 バインディング(SOAP 1.2 binding)

PDQSupplier_Binding_Soap12

ポートタイプ tns:PDQSupplier_PortType バインディングスタイル 文書指向 (document)

トランスポート HTTP

オペレーション PDQSupplier_PRPA_IN201305UV02 SOAPAction urn:hl7-org:v3:PRPA_IN201305UV02 input リテラル形式 (literal)

output リテラル形式 (literal) サービス

PIXManager_Service

バインディング tns:PDQSupplier_Binding_Soap12

患者基本情報問合せのWSDL の例を図 4-28 に示す。本例は、当該メッセージに関連する部分のみを抜粋し

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

<definitions name="PDQSupplier" targetNamespace="urn:ihe:iti:pdqv3:2007"

xmlns:tns="urn:ihe:iti:pdqv3:2007" xmlns:wsoap11="http://schemas.xmlsoap.org/wsdl/soap/"

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 PDQ Patient Demogrpahics Supplier</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_IN201305UV02.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_IN201306UV02.xsd"/>

</xsd:schema>

</types>

<message name="PRPA_IN201305UV02_Message">

<part element="hl7:PRPA_IN201305UV02" name="Body"/>

</message>

<message name="PRPA_IN201306UV02_Message">

<part element="hl7:PRPA_IN201306UV02" name="Body"/>

</message>

<portType name="PDQSupplier_PortType">

<operation name="PDQSupplier_PRPA_IN201305UV02">

<input message="tns:PRPA_IN201305UV02_Message"

wsaw:Action="urn:hl7-org:v3:PRPA_IN201305UV02"/>

<output message="tns:PRPA_IN201306UV02_Message"

wsaw:Action="urn:hl7-org:v3:PRPA_IN201306UV02"/>

</operation>

</portType>

<binding name="PDQSupplier_Binding_Soap12" type="tns:PDQSupplier_PortType">

<wsoap12:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>

<operation name="PDQSupplier_PRPA_IN201305UV02">

<wsoap12:operation soapAction="urn:hl7-org:v3:PRPA_IN201305UV02"/>

<input>

<wsoap12:body use="literal"/>

</input>

<output>

<wsoap12:body use="literal"/>

</output>

</operation>

</binding>

<service name="PDQSupplier_Service">

<port binding="tns:PDQSupplier_Binding_Soap12" name="PDQSupplier_Port_Soap12">

<wsoap12:address location="http://example.org/PDQSupplier_Soap12"/>

</port>

</service>

</definitions>

図 4-28 WSDLの例(患者基本情報問合せ(HL7 V3版))