GET PlanCare2Api/MedicalDefecation/{id}
Gets MedicalDefecation by id.
Requires 'Read' permission for function MedicalDefecation {A10B7F92-BB2F-4650-945C-C180C5C7B3BC}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The id of the MedicalDefecation. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
MedicalDefecation.
MedicalDefecation| Name | Description | Type | Additional information |
|---|---|---|---|
| MedicalCodeDefecationQuantityId |
Id of MedicalCodeDefecationQuantity (MedicalCodeListType.DefecationQuantity). |
globally unique identifier |
None |
| MedicalCodeDefecationAspectId |
Id of MedicalCodeDefecationAspect (MedicalCodeListType.DefecationAspect). |
globally unique identifier |
None |
| MedicalCodeDefecationRemedyId |
Id of MedicalCodeDefecationRemedy (MedicalCodeListType.DefecationRemedy). |
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:
{
"MedicalCodeDefecationQuantityId": "7cb60d73-dcb5-4815-9dfe-fa6d73a5618e",
"MedicalCodeDefecationAspectId": "41878183-9ce4-4410-9c24-17b6eb6a8b25",
"MedicalCodeDefecationRemedyId": "b2197544-e59c-4100-a0e0-45acd17b13fa",
"Remarks": "sample string 1",
"Id": 2,
"RelationId": 3,
"RegistrationDateTime": "2026-05-26T22:07:58.0717198+02:00",
"Source": "sample string 5"
}
application/xml, text/xml
Sample:
<MedicalDefecation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Medical"> <Id>2</Id> <RegistrationDateTime>2026-05-26T22:07:58.0717198+02:00</RegistrationDateTime> <RelationId>3</RelationId> <Source>sample string 5</Source> <MedicalCodeDefecationAspectId>41878183-9ce4-4410-9c24-17b6eb6a8b25</MedicalCodeDefecationAspectId> <MedicalCodeDefecationQuantityId>7cb60d73-dcb5-4815-9dfe-fa6d73a5618e</MedicalCodeDefecationQuantityId> <MedicalCodeDefecationRemedyId>b2197544-e59c-4100-a0e0-45acd17b13fa</MedicalCodeDefecationRemedyId> <Remarks>sample string 1</Remarks> </MedicalDefecation>