Skip to main content

PRV_PAT_004:【取得】特定文書を持つ患者情報

処理概要

指定した医療機関に登録されている文書の患者とその基本情報の取得する。

機能 IDAPI 論理名HTTP メソッドURI
PRV_PAT_004【取得】特定文書を持つ患者情報GET{applicationPath}/providers/documents/patients
連携方式データ形式利用可能な接続先
REST APIJSON 形式(エンコーディング:utf-8)ローカル、リモート

リクエスト(認証)

No.項目名物理名属性Nullable設定要領
1アクセストークンAuthorizationstring-認証処理で取得した Bearer Token を設定

リクエスト(クエリ)

No.項目名物理名属性Nullable設定要領
1参照先locationstring”self”/”remote”/"all"もしくは医療機関 ID のカンマ区切りを URL エンコードを行い指定
2検索条件conditionsstringOpenFRUCtoS 固有の検索文字列 {パラメータ名}={パラメータ値}を”&”でつなげて URL エンコードを行い指定

リクエスト(パスパラメータ)

No.項目名物理名属性Nullable設定要領
-

リクエスト(Body)

No.項目名物理名L1L2L3L4L5L6繰返し属性Nullableリクエスト設定要領
-

サンプル(リクエスト)

{applicationPath}/providers/documents/patients

レスポンス

No.項目名物理名L1L2L3L4L5L6繰返し属性Nullableレスポンス設定要領
1検索結果resultsarray-
2医療機関情報organization-string-OpenFRUCtoS の Oganization リソースの仕様に準拠する
3患者情報contents-string-OpenFRUCtoS の Patient リソースの仕様に準拠する
4検索結果数count-integer-
エラー条件
システムエラー
・API 共通仕様に準拠
業務エラー
・なし

サンプル(レスポンス)

正常終了
{
  "results":[
    {
      "organization": {
        "fullUrl": "http://localhost:8099/of3/Organization/1",
        "resource": {
          "resourceType": "Organization",
          "id": "1",
          "meta": {
            "versionId": "1",
            "lastUpdated": "2021-09-24T19:41:56.646+09:00"
          },
          "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><ul><li>1310000001</li><li>クリニックX</li><li>〒163-0490 東京都新宿区西新宿 2-1-1</li><li>03-0000-0001</li></ul></div>"
        },
        "identifier": [
          {
            "system": "http://hl7.jp/fhir/ePrescription/InsuranceMedicalInstitutionNo",
            "value": "1310000001"
          }
        ],
        "name": "クリニック X",
        "telecom": [
          {
            "system": "phone",
            "value": "03-0000-0001"
          }
        ],
        "address": [
          {
            "text": "163-0490 東京都新宿区西新宿 2-1-1"
          }
        ]
      },
      "search": {
        "mode": "include"
      }
    },
    "contents":{
      "resourceType": "Patient",
      "id": "10",
      "meta": {
        "versionId": "1",
        "lastUpdated": "2021-10-05T11:44:44.808+09:00"
      },
      "text": {
        "status": "generated",
        "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">TEST</div>"
      },
      "identifier": [
        {
          "system": "https://www.plat.org/",
          "value": "e0930731-3d80-4097-a455-1e4aa250fd7a"
        },
        {
          "system": "urn:oid:1.2.392.100495.20.3.51.11310000001",
          "value": "11310000001000001"
        }
      ],
      "active": true,
      "name": [
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation",
              "valueCode": "IDE"
            }
          ],
          "family": "山田",
          "given": [
            "太郎"
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation",
              "valueCode": "SYL"
            }
          ],
          "family": "ヤマダ",
          "given": [
            "タロウ"
          ]
        }
      ],
      "telecom": [
        {
          "system": "phone",
          "value": "09099999999",
          "use": "mobile"
        }
      ],
      "gender": "male",
      "birthDate": "1974-12-25",
      "deceasedBoolean": false,
      "address": [
        {
          "use": "home",
          "line": [
            "玉手町 18-50"
          ],
          "city": "柏原市",
          "district": "大阪府",
          "postalCode": "5820001"
        }
      ]
    }
  ],
  "count":1
}
異常終了
{
"errorCode": "PLAT500"
}

備考

なし