Skip to main content

PTP_USR_003:【更新】自身のユーザ情報(患者用)

処理概要

PLAT上で管理しているユーザのPatient リソースを更新する。
自身のユーザ情報のみ更新可能である。

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

リクエスト(認証)

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

リクエスト(クエリ)

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

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

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

リクエスト(Body)

No.項目名物理名L1L2L3L4L5L6繰返し属性Nullableリクエスト設定要領
1Patient の登録対象オブジェクトpatientResource-object-
2Patient 構造体---OpenFRUCtoS の Patient リソースの仕様に準拠する
3バージョンversion-string-拡張性(uuid の格納等)を考慮して string 型を使用

サンプル(リクエスト)

{
"patientResource": {
"resourceType": "Patient",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">~~~</div>"
},
"identifier": [
{
"system": "https://www.plat.org/",
"value": "025a20e7-f68c-40ad-8bce-2afcc69cc8bd"
},
{
"system": "https://www.kmn.org/",
"value": "kmn_00001"
}
],
"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"
}
]
},
"version": "1"
}

レスポンス

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

サンプル(レスポンス)

正常終了
{
"user": {
"resourceType": "Patient",
"id": "10",
"meta": {
"versionId": "1",
"lastUpdated": "2021-10-08T21:12:58.924+09:00"
},
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">~~~</div>"
},
"identifier": [
{
"system": "https://www.plat.org/",
"value": "025a20e7-f68c-40ad-8bce-2afcc69cc8bd"
},
{
"system": "https://www.kmn.org/",
"value": "kmn_00001"
}
],
"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"
}
}
},
"version": "2"
}
異常終了
{
"errorCode": "PLAT500"
}

備考

なし