GET PlanCare2Api/MedicalLength?relationId={relationId}&registrationDateTimeFrom={registrationDateTimeFrom}&registrationDateTimeUntil={registrationDateTimeUntil}

Gets list of MedicalLengthSummary of the specified relation.

Relation(s) can be of the following types: Client, Prospect

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

Nullable

registrationDateTimeUntil

RegistrationDateTime filter until.

date

Nullable

Body Parameters

None.

Response Information

Resource Description

List of MedicalLengthSummary.

Collection of MedicalLengthSummary
Name Description Type Additional information
Length

Length in centimeters.

decimal number

-

MedicalCodeContextPositionDescription

Description of MedicalCodeContextPosition.

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

Sample:
[
  {
    "$id": "1",
    "Length": 1.0,
    "MedicalCodeContextPositionDescription": "sample string 2",
    "Remarks": "sample string 3",
    "Id": 4,
    "RegistrationDateTime": "2026-05-26T21:10:34.4516407+02:00",
    "Source": "sample string 6",
    "ChangedOn": "2026-05-26T21:10:34.4516407+02:00",
    "ChangedByRelationLookupName": "sample string 8",
    "TextValue": "sample string 9"
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<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-26T21:10:34.4516407+02:00</ChangedOn>
    <Id>4</Id>
    <RegistrationDateTime>2026-05-26T21:10:34.4516407+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-26T21:10:34.4516407+02:00</ChangedOn>
    <Id>4</Id>
    <RegistrationDateTime>2026-05-26T21:10:34.4516407+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>