GET PlanCare2Api/MedicalLivingWillPolicy/{id}

Gets MedicalLivingWillPolicy by id.

Requires 'Read' permission for function MedicalLivingWillPolicy {2CC5682E-9A1F-4324-B6B6-62E537A55C93}

Request Information

URI Parameters

Name Description Type Additional information
id

The id of the MedicalLivingWillPolicy.

integer

Required

Body Parameters

None.

Response Information

Resource Description

MedicalLivingWillPolicy.

MedicalLivingWillPolicy
Name Description Type Additional information
MedicalCodeLivingWillPolicyId

Id of MedicalCodeLivingWillPolicy (MedicalCodeListType.LivingWillPolicy).

globally unique identifier

-

Remarks

Remarks.

string

-

Id

Id of the registration.

integer

-

RelationId

Id of the relation which the registration belongs to.

integer

Required

RegistrationDateTime

DateTime of measurement.

date

Required

Source

Source of registration (example: name of the questionnaire).

string

-

Response Formats

application/json, text/json

Sample:
{
  "MedicalCodeLivingWillPolicyId": "df1fcf9a-9e53-4164-a48c-91e969dfe5e2",
  "Remarks": "sample string 2",
  "Id": 3,
  "RelationId": 4,
  "RegistrationDateTime": "2026-05-26T21:12:23.8603944+02:00",
  "Source": "sample string 6"
}

application/xml, text/xml

Sample:
<MedicalLivingWillPolicy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Medical">
  <Id>3</Id>
  <RegistrationDateTime>2026-05-26T21:12:23.8603944+02:00</RegistrationDateTime>
  <RelationId>4</RelationId>
  <Source>sample string 6</Source>
  <MedicalCodeLivingWillPolicyId>df1fcf9a-9e53-4164-a48c-91e969dfe5e2</MedicalCodeLivingWillPolicyId>
  <Remarks>sample string 2</Remarks>
</MedicalLivingWillPolicy>