GET PlanCare2Api/MedicalLength/{id}

Gets MedicalLength by id.

Requires 'Read' permission for function MedicalLength {46A09813-4D42-414C-9637-79EB1F00A87B}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The id of the MedicalLength.

integer

Required

Body Parameters

None.

Response Information

Resource Description

MedicalLength.

MedicalLength
NameDescriptionTypeAdditional information
Length

Length in centimeters.

integer

None.

MedicalCodeContextPositionId

Id of MedicalCodeContextPosition (MedicalCodeListType.LengthContextPosition).

globally unique identifier

None.

Remarks

Remarks.

string

None.

Id

Id of the registration.

integer

None.

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

None.

Response Formats

application/json, text/json

Sample:
{
  "Length": 1,
  "MedicalCodeContextPositionId": "537dd049-18ab-41ae-9e05-958f73d3ce1d",
  "Remarks": "sample string 2",
  "Id": 3,
  "RelationId": 4,
  "RegistrationDateTime": "2026-05-26T21:12:04.1064524+02:00",
  "Source": "sample string 6"
}

application/xml, text/xml

Sample:
<MedicalLength 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:04.1064524+02:00</RegistrationDateTime>
  <RelationId>4</RelationId>
  <Source>sample string 6</Source>
  <Length>1</Length>
  <MedicalCodeContextPositionId>537dd049-18ab-41ae-9e05-958f73d3ce1d</MedicalCodeContextPositionId>
  <Remarks>sample string 2</Remarks>
</MedicalLength>