GET PlanCare2Api/MedicalPainScore?relationId={relationId}®istrationDateTimeFrom={registrationDateTimeFrom}®istrationDateTimeUntil={registrationDateTimeUntil}
Gets list of MedicalPainScoreSummary of the specified relation.
Relation(s) must be of the following type: Client
Requires 'Read' permission for function MedicalPainScore {4B0A8612-F7C4-4F81-BFB5-B195DC3402B7}
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 MedicalPainScoreSummary.
Collection of MedicalPainScoreSummary| Name | Description | Type | Additional information |
|---|---|---|---|
| PainScore |
PainScore. |
integer |
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 (read-only). |
date |
None |
| ChangedByRelationLookupName |
LookupName of the relation who made the change (read-only). |
string |
None |
| TextValue |
The compound value of the registration (read-only). |
string |
None |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"PainScore": 1,
"Remarks": "sample string 2",
"Id": 3,
"RegistrationDateTime": "2026-05-26T23:13:54.103551+02:00",
"Source": "sample string 5",
"ChangedOn": "2026-05-26T23:13:54.103551+02:00",
"ChangedByRelationLookupName": "sample string 7",
"TextValue": "sample string 8"
},
{
"$ref": "1"
}
]
application/xml, text/xml
Sample:
<ArrayOfMedicalPainScoreSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Medical">
<MedicalPainScoreSummary>
<ChangedByRelationLookupName>sample string 7</ChangedByRelationLookupName>
<ChangedOn>2026-05-26T23:13:54.103551+02:00</ChangedOn>
<Id>3</Id>
<RegistrationDateTime>2026-05-26T23:13:54.103551+02:00</RegistrationDateTime>
<Source>sample string 5</Source>
<TextValue>sample string 8</TextValue>
<PainScore>1</PainScore>
<Remarks>sample string 2</Remarks>
</MedicalPainScoreSummary>
<MedicalPainScoreSummary>
<ChangedByRelationLookupName>sample string 7</ChangedByRelationLookupName>
<ChangedOn>2026-05-26T23:13:54.103551+02:00</ChangedOn>
<Id>3</Id>
<RegistrationDateTime>2026-05-26T23:13:54.103551+02:00</RegistrationDateTime>
<Source>sample string 5</Source>
<TextValue>sample string 8</TextValue>
<PainScore>1</PainScore>
<Remarks>sample string 2</Remarks>
</MedicalPainScoreSummary>
</ArrayOfMedicalPainScoreSummary>