GET api/v1/Provider/Patient/AllRehabPainScores?patientID={patientID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
patientID

integer

Required

Body Parameters

None.

Response Information

Resource Description

ActionResultViewModelOfAllRehabPainScoreGraphViewModel
NameDescriptionTypeAdditional information
StatusCode

integer

None.

Success

boolean

None.

Message

string

None.

Result

AllRehabPainScoreGraphViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": 1,
  "Success": true,
  "Message": "sample string 3",
  "Result": {
    "PainScoresAll": {
      "sample string 1": {
        "sample string 1": 2,
        "sample string 3": 4
      },
      "sample string 2": {
        "sample string 1": 2,
        "sample string 3": 4
      }
    },
    "PainScoresAverageAll": {
      "sample string 1": 1.1,
      "sample string 2": 1.1
    }
  }
}

application/xml, text/xml

Sample:
<ActionResultViewModelOfAllRehabPainScoreGraphViewModel9WakHX_Pk xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Consensus.Ortho.Web.ViewModels.ResultViewModels">
  <Message>sample string 3</Message>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/Consensus.Ortho.Services.ViewModels.PatientsViewModels">
    <d2p1:PainScoresAll xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringArrayOfKeyValueOfstringintty7Ep6D1>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>
          <d3p1:KeyValueOfstringint>
            <d3p1:Key>sample string 1</d3p1:Key>
            <d3p1:Value>2</d3p1:Value>
          </d3p1:KeyValueOfstringint>
          <d3p1:KeyValueOfstringint>
            <d3p1:Key>sample string 3</d3p1:Key>
            <d3p1:Value>4</d3p1:Value>
          </d3p1:KeyValueOfstringint>
        </d3p1:Value>
      </d3p1:KeyValueOfstringArrayOfKeyValueOfstringintty7Ep6D1>
      <d3p1:KeyValueOfstringArrayOfKeyValueOfstringintty7Ep6D1>
        <d3p1:Key>sample string 2</d3p1:Key>
        <d3p1:Value>
          <d3p1:KeyValueOfstringint>
            <d3p1:Key>sample string 1</d3p1:Key>
            <d3p1:Value>2</d3p1:Value>
          </d3p1:KeyValueOfstringint>
          <d3p1:KeyValueOfstringint>
            <d3p1:Key>sample string 3</d3p1:Key>
            <d3p1:Value>4</d3p1:Value>
          </d3p1:KeyValueOfstringint>
        </d3p1:Value>
      </d3p1:KeyValueOfstringArrayOfKeyValueOfstringintty7Ep6D1>
    </d2p1:PainScoresAll>
    <d2p1:PainScoresAverageAll xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringNullableOfdoubleU6ho3Bhd>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>1.1</d3p1:Value>
      </d3p1:KeyValueOfstringNullableOfdoubleU6ho3Bhd>
      <d3p1:KeyValueOfstringNullableOfdoubleU6ho3Bhd>
        <d3p1:Key>sample string 2</d3p1:Key>
        <d3p1:Value>1.1</d3p1:Value>
      </d3p1:KeyValueOfstringNullableOfdoubleU6ho3Bhd>
    </d2p1:PainScoresAverageAll>
  </Result>
  <StatusCode>1</StatusCode>
  <Success>true</Success>
</ActionResultViewModelOfAllRehabPainScoreGraphViewModel9WakHX_Pk>