GET PlanCare2Api/MedicalLivingWillPolicy?relationId={relationId}®istrationDateTimeFrom={registrationDateTimeFrom}®istrationDateTimeUntil={registrationDateTimeUntil}
Gets list of MedicalLivingWillPolicySummary of the specified relation.
Relation(s) can be of the following types: Client, Prospect
Requires 'Read' permission for function MedicalLivingWillPolicy {2CC5682E-9A1F-4324-B6B6-62E537A55C93}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| relationId |
The id of the relation. |
integer |
Required |
| registrationDateTimeFrom |
RegistrationDateTime filter from. |
date |
Nullable |
| registrationDateTimeUntil |
RegistrationDateTime filter until. |
date |
Nullable |
Body Parameters
None.
Response Information
Resource Description
List of MedicalLivingWillPolicySummary.
Collection of MedicalLivingWillPolicySummary| Name | Description | Type | Additional information |
|---|---|---|---|
| MedicalCodeLivingWillPolicyDescription |
Description of MedicalCodeLivingWillPolicy. |
string |
- |
| Remarks |
Remarks. |
string |
- |
| Id |
Id of the registration. |
integer |
- |
| RegistrationDateTime |
DateTime of measurement. |
date |
- |
| Source |
Source of registration (example: name of the questionnaire). |
string |
- |
| ChangedOn |
DateTime when registration is last changed (read-only). |
date |
- |
| ChangedByRelationLookupName |
LookupName of the relation who made the change (read-only). |
string |
- |
| TextValue |
The compound value of the registration (read-only). |
string |
- |
Response Formats
application/json, text/json
[
{
"$id": "1",
"MedicalCodeLivingWillPolicyDescription": "sample string 1",
"Remarks": "sample string 2",
"Id": 3,
"RegistrationDateTime": "2026-05-26T22:09:08.4972721+02:00",
"Source": "sample string 5",
"ChangedOn": "2026-05-26T22:09:08.4972721+02:00",
"ChangedByRelationLookupName": "sample string 7",
"TextValue": "sample string 8"
},
{
"$ref": "1"
}
]
application/xml, text/xml
<ArrayOfMedicalLivingWillPolicySummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Medical">
<MedicalLivingWillPolicySummary>
<ChangedByRelationLookupName>sample string 7</ChangedByRelationLookupName>
<ChangedOn>2026-05-26T22:09:08.4972721+02:00</ChangedOn>
<Id>3</Id>
<RegistrationDateTime>2026-05-26T22:09:08.4972721+02:00</RegistrationDateTime>
<Source>sample string 5</Source>
<TextValue>sample string 8</TextValue>
<MedicalCodeLivingWillPolicyDescription>sample string 1</MedicalCodeLivingWillPolicyDescription>
<Remarks>sample string 2</Remarks>
</MedicalLivingWillPolicySummary>
<MedicalLivingWillPolicySummary>
<ChangedByRelationLookupName>sample string 7</ChangedByRelationLookupName>
<ChangedOn>2026-05-26T22:09:08.4972721+02:00</ChangedOn>
<Id>3</Id>
<RegistrationDateTime>2026-05-26T22:09:08.4972721+02:00</RegistrationDateTime>
<Source>sample string 5</Source>
<TextValue>sample string 8</TextValue>
<MedicalCodeLivingWillPolicyDescription>sample string 1</MedicalCodeLivingWillPolicyDescription>
<Remarks>sample string 2</Remarks>
</MedicalLivingWillPolicySummary>
</ArrayOfMedicalLivingWillPolicySummary>