Skip to main content

PTP_USR_002:【取得】ユーザ情報(患者用)

処理概要

PLAT上で管理しているユーザのPatient リソースを取得する

機能 IDAPI 論理名HTTP メソッドURI
PTP_USR_002【取得】ユーザ情報(患者用)GET{applicationPath}/participants/profiles
連携方式データ形式利用可能な接続先
REST APIJSON 形式(エンコーディング:utf-8)リモート

リクエスト(認証)

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

リクエスト(クエリ)

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

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

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

リクエスト(Body)

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

サンプル(リクエスト)

{applicationPath}/providers/profiles

※ 当処理は引数指定せず、認証情報に紐付く PLAT 共通 ID で検索する

レスポンス

No.項目名物理名L1L2L3L4L5L6繰返し属性Nullableレスポンス設定要領
1検索結果searchResults-object-
2件数count-integer-検索結果件数
3取得データリストresults-array-
4ユーザ情報user-object-OpenFRUCtoS の Patient リソースの仕様に準拠する
5バージョンversion-string-拡張性(uuid の格納等)を考慮して string 型を使用
エラー条件
システムエラー
・API 共通仕様に準拠
業務エラー
・なし

サンプル(レスポンス)

正常終了
{
"searchResults": {
"count": 1,
"results": [
{
"user": {
"fullUrl": "http://localhost:19081/of1/Patient/35",
"resource": {
"resourceType": "Patient",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">~~~</div>"
},
"identifier": [
{
"system": "https://www.plat.org/",
"value": "d2db2727-eb07-2e54-fcbd-5ed011499cb7"
},
{
"system": "urn:oid:1.2.392.100495.20.3.51.11310000001",
"value": "clinicX_p00001"
}
],
"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"
}
],
"managingOrganization": {
"identifier": {
"system": "http://hl7.jp/fhir/ePrescription/InsuranceMedicalInstitutionNo",
"value": "0000000000"
}
}
},
"search": {
"mode": "match"
}
},
"version": "1"
}
]
}
}
異常終了
{
"errorCode": "PLAT500"
}

備考

なし