GET PlanCare2Api/MedicalLength?relationId={relationId}®istrationDateTimeFrom={registrationDateTimeFrom}®istrationDateTimeUntil={registrationDateTimeUntil}
Gets list of MedicalLengthSummary of the specified relation.
Relation(s) must be of the following type: Client
Requires 'Read' permission for function MedicalLength {46A09813-4D42-414C-9637-79EB1F00A87B}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| relationId |
The id of the relation. |
integer |
Required |
| registrationDateTimeFrom |
RegistrationDateTime filter from. |
date |
None. |
| registrationDateTimeUntil |
RegistrationDateTime filter until. |
date |
None. |
Body Parameters
None.
Response Information
Resource Description
List of MedicalLengthSummary.
Collection of MedicalLengthSummary| Name | Description | Type | Additional information |
|---|---|---|---|
| Length |
Length in centimeters. |
integer |
None. |
| MedicalCodeContextPositionDescription |
Description of MedicalCodeContextPosition. |
string |
None. |
| Remarks |
Remarks. |
string |
None. |
| Id |
Id of the registration. |
integer |
None. |
| RegistrationDateTime |
DateTime of measurement. |
date |
None. |
| Source |
Source of registration (example: name of the questionnaire). |
string |
None. |
| ChangedOn |
DateTime when registration is last changed (readOnly). |
date |
None. |
| ChangedByRelationLookupName |
LookupName of the relation who made the change (readOnly). |
string |
None. |
| TextValue |
The compound value of the registration (readOnly). |
string |
None. |
Response Formats
application/json, text/json
[
{
"$id": "1",
"Length": 1,
"MedicalCodeContextPositionDescription": "sample string 2",
"Remarks": "sample string 3",
"Id": 4,
"RegistrationDateTime": "2026-05-26T23:18:32.7596566+02:00",
"Source": "sample string 6",
"ChangedOn": "2026-05-26T23:18:32.7596566+02:00",
"ChangedByRelationLookupName": "sample string 8",
"TextValue": "sample string 9"
},
{
"$ref": "1"
}
]
application/xml, text/xml
<ArrayOfMedicalLengthSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Medical">
<MedicalLengthSummary>
<ChangedByRelationLookupName>sample string 8</ChangedByRelationLookupName>
<ChangedOn>2026-05-26T23:18:32.7596566+02:00</ChangedOn>
<Id>4</Id>
<RegistrationDateTime>2026-05-26T23:18:32.7596566+02:00</RegistrationDateTime>
<Source>sample string 6</Source>
<TextValue>sample string 9</TextValue>
<Length>1</Length>
<MedicalCodeContextPositionDescription>sample string 2</MedicalCodeContextPositionDescription>
<Remarks>sample string 3</Remarks>
</MedicalLengthSummary>
<MedicalLengthSummary>
<ChangedByRelationLookupName>sample string 8</ChangedByRelationLookupName>
<ChangedOn>2026-05-26T23:18:32.7596566+02:00</ChangedOn>
<Id>4</Id>
<RegistrationDateTime>2026-05-26T23:18:32.7596566+02:00</RegistrationDateTime>
<Source>sample string 6</Source>
<TextValue>sample string 9</TextValue>
<Length>1</Length>
<MedicalCodeContextPositionDescription>sample string 2</MedicalCodeContextPositionDescription>
<Remarks>sample string 3</Remarks>
</MedicalLengthSummary>
</ArrayOfMedicalLengthSummary>