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

Gets list of MedicalDefecationSummary of the specified relation.

Relation(s) must be of the following type: Client

Requires 'Read' permission for function MedicalDefecation {A10B7F92-BB2F-4650-945C-C180C5C7B3BC}

Request Information

URI Parameters

NameDescriptionTypeAdditional 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 MedicalDefecationSummary.

Collection of MedicalDefecationSummary
NameDescriptionTypeAdditional information
MedicalCodeDefecationQuantityDescription

Description of MedicalCodeDefecationQuantity.

string

None.

MedicalCodeDefecationAspectDescription

Description of MedicalCodeDefecationAspect.

string

None.

MedicalCodeDefecationRemedyDescription

Description of MedicalCodeDefecationRemedy.

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

Sample:
[
  {
    "$id": "1",
    "MedicalCodeDefecationQuantityDescription": "sample string 1",
    "MedicalCodeDefecationAspectDescription": "sample string 2",
    "MedicalCodeDefecationRemedyDescription": "sample string 3",
    "Remarks": "sample string 4",
    "Id": 5,
    "RegistrationDateTime": "2026-05-26T22:09:28.291749+02:00",
    "Source": "sample string 7",
    "ChangedOn": "2026-05-26T22:09:28.291749+02:00",
    "ChangedByRelationLookupName": "sample string 9",
    "TextValue": "sample string 10"
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfMedicalDefecationSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Medical">
  <MedicalDefecationSummary>
    <ChangedByRelationLookupName>sample string 9</ChangedByRelationLookupName>
    <ChangedOn>2026-05-26T22:09:28.291749+02:00</ChangedOn>
    <Id>5</Id>
    <RegistrationDateTime>2026-05-26T22:09:28.291749+02:00</RegistrationDateTime>
    <Source>sample string 7</Source>
    <TextValue>sample string 10</TextValue>
    <MedicalCodeDefecationAspectDescription>sample string 2</MedicalCodeDefecationAspectDescription>
    <MedicalCodeDefecationQuantityDescription>sample string 1</MedicalCodeDefecationQuantityDescription>
    <MedicalCodeDefecationRemedyDescription>sample string 3</MedicalCodeDefecationRemedyDescription>
    <Remarks>sample string 4</Remarks>
  </MedicalDefecationSummary>
  <MedicalDefecationSummary>
    <ChangedByRelationLookupName>sample string 9</ChangedByRelationLookupName>
    <ChangedOn>2026-05-26T22:09:28.291749+02:00</ChangedOn>
    <Id>5</Id>
    <RegistrationDateTime>2026-05-26T22:09:28.291749+02:00</RegistrationDateTime>
    <Source>sample string 7</Source>
    <TextValue>sample string 10</TextValue>
    <MedicalCodeDefecationAspectDescription>sample string 2</MedicalCodeDefecationAspectDescription>
    <MedicalCodeDefecationQuantityDescription>sample string 1</MedicalCodeDefecationQuantityDescription>
    <MedicalCodeDefecationRemedyDescription>sample string 3</MedicalCodeDefecationRemedyDescription>
    <Remarks>sample string 4</Remarks>
  </MedicalDefecationSummary>
</ArrayOfMedicalDefecationSummary>