GET api/PatientRiskHeaders?CPI={CPI}&Division={Division}&riskId={riskId}&getNew={getNew}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CPI

string

Required

Division

integer

Required

riskId

integer

Required

getNew

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

PatientRiskHeader
NameDescriptionTypeAdditional information
HEADER_ID

integer

None.

CPI

string

None.

DIV_ID

integer

None.

SOURCE

integer

None.

RISK_LEVEL

integer

None.

TOTAL_SCORE

decimal number

None.

ENTR_BY

string

None.

ENTR_DATE

date

None.

ACTIVE

boolean

None.

OLD

integer

None.

details

Collection of PatientRiskDetail

None.

Master

Risk

None.

Level

RiskLevel

None.

Response Formats

application/json, text/json

Sample:
{
  "HEADER_ID": 1,
  "CPI": "sample string 2",
  "DIV_ID": 3,
  "SOURCE": 4,
  "RISK_LEVEL": 1,
  "TOTAL_SCORE": 1.0,
  "ENTR_BY": "sample string 5",
  "ENTR_DATE": "2025-08-14T19:54:31.033468+00:00",
  "ACTIVE": true,
  "OLD": 1,
  "details": [
    {
      "DETAIL_ID": 1,
      "PARAM_ID": 2,
      "VALUE": "sample string 3",
      "SCORE": 1.0,
      "HEADER_ID": 4,
      "OLD": 1,
      "ENTR_DATE": "2025-08-14T19:54:31.033468+00:00",
      "ENTR_BY": "sample string 5",
      "PARAMETER": {
        "PARAM_ID": 1,
        "DIV_ID": 2,
        "RISK_ID": 3,
        "PARAMETER": "sample string 4",
        "TYPE_ID": 5,
        "ACTIVE": true,
        "SEQ": 7,
        "QID": 1,
        "DEFAULT_VALUE_ID": 1,
        "OLD": 1,
        "values": [
          {
            "ID": 1,
            "DIV_ID": 2,
            "PARAM_ID": 3,
            "VALUE_LOW": 1.0,
            "VALUE_HIGH": 1.0,
            "VALUE_TEXT": "sample string 4",
            "SCORE": 1.0,
            "SEQ": 1,
            "OLD": 1
          },
          {
            "ID": 1,
            "DIV_ID": 2,
            "PARAM_ID": 3,
            "VALUE_LOW": 1.0,
            "VALUE_HIGH": 1.0,
            "VALUE_TEXT": "sample string 4",
            "SCORE": 1.0,
            "SEQ": 1,
            "OLD": 1
          }
        ],
        "type": {
          "TYPE_ID": 1,
          "DESCRIPTION": "sample string 2",
          "HTML": "sample string 3",
          "OLD": 1
        },
        "defaultValue": {
          "ID": 1,
          "SQL": "sample string 2",
          "TYPE_ID": 3,
          "PARAMETER": "sample string 4",
          "VALUE": "sample string 5",
          "OLD": 1
        }
      }
    },
    {
      "DETAIL_ID": 1,
      "PARAM_ID": 2,
      "VALUE": "sample string 3",
      "SCORE": 1.0,
      "HEADER_ID": 4,
      "OLD": 1,
      "ENTR_DATE": "2025-08-14T19:54:31.033468+00:00",
      "ENTR_BY": "sample string 5",
      "PARAMETER": {
        "PARAM_ID": 1,
        "DIV_ID": 2,
        "RISK_ID": 3,
        "PARAMETER": "sample string 4",
        "TYPE_ID": 5,
        "ACTIVE": true,
        "SEQ": 7,
        "QID": 1,
        "DEFAULT_VALUE_ID": 1,
        "OLD": 1,
        "values": [
          {
            "ID": 1,
            "DIV_ID": 2,
            "PARAM_ID": 3,
            "VALUE_LOW": 1.0,
            "VALUE_HIGH": 1.0,
            "VALUE_TEXT": "sample string 4",
            "SCORE": 1.0,
            "SEQ": 1,
            "OLD": 1
          },
          {
            "ID": 1,
            "DIV_ID": 2,
            "PARAM_ID": 3,
            "VALUE_LOW": 1.0,
            "VALUE_HIGH": 1.0,
            "VALUE_TEXT": "sample string 4",
            "SCORE": 1.0,
            "SEQ": 1,
            "OLD": 1
          }
        ],
        "type": {
          "TYPE_ID": 1,
          "DESCRIPTION": "sample string 2",
          "HTML": "sample string 3",
          "OLD": 1
        },
        "defaultValue": {
          "ID": 1,
          "SQL": "sample string 2",
          "TYPE_ID": 3,
          "PARAMETER": "sample string 4",
          "VALUE": "sample string 5",
          "OLD": 1
        }
      }
    }
  ],
  "Master": {
    "RISK_ID": 1,
    "DIV_ID": 2,
    "RISK_NAME": "sample string 3",
    "PROGRAM_ID": 1,
    "ACTIVE": true,
    "SHOW": true,
    "RISK_CALC_METHOD": "sample string 6",
    "TYPE": 7,
    "OLD": 1,
    "Program": {
      "PROGRAM_ID": 1,
      "DIV_ID": 2,
      "PROGRAM": "sample string 3",
      "IS_TCM": true,
      "CPT_CODE": "sample string 5",
      "BILLING_TIME": 1,
      "FLAG_ON": 1,
      "ACTIVE": true,
      "DURATION": 1,
      "SECOND_ID": true,
      "FEE": 1.0,
      "OLD": 1,
      "IS_RPM": true,
      "Flag": {
        "ID": 1,
        "DIV_ID": 2,
        "FLAG": "sample string 3",
        "IMG": "sample string 4",
        "IMG_S": "sample string 5",
        "SHOW": true,
        "OLD": 1,
        "Program": [],
        "RiskLevel": [
          {
            "RISK_LEVEL_ID": 1,
            "RISK_ID": 2,
            "DIV_ID": 3,
            "SCORE_LOW": 1.0,
            "SCORE_HIGH": 1.0,
            "RISK_LEVEL": "sample string 4",
            "SEQ": 5,
            "FLAG_ON": 1,
            "OLD": 1
          },
          {
            "RISK_LEVEL_ID": 1,
            "RISK_ID": 2,
            "DIV_ID": 3,
            "SCORE_LOW": 1.0,
            "SCORE_HIGH": 1.0,
            "RISK_LEVEL": "sample string 4",
            "SEQ": 5,
            "FLAG_ON": 1,
            "OLD": 1
          }
        ]
      },
      "CPTCodes": [
        {
          "Id": 1,
          "Code": "sample string 2",
          "Description": "sample string 3",
          "ProgramId": 1
        },
        {
          "Id": 1,
          "Code": "sample string 2",
          "Description": "sample string 3",
          "ProgramId": 1
        }
      ]
    }
  },
  "Level": {
    "RISK_LEVEL_ID": 1,
    "RISK_ID": 2,
    "DIV_ID": 3,
    "SCORE_LOW": 1.0,
    "SCORE_HIGH": 1.0,
    "RISK_LEVEL": "sample string 4",
    "SEQ": 5,
    "FLAG_ON": 1,
    "OLD": 1,
    "Flag": {
      "ID": 1,
      "DIV_ID": 2,
      "FLAG": "sample string 3",
      "IMG": "sample string 4",
      "IMG_S": "sample string 5",
      "SHOW": true,
      "OLD": 1,
      "Program": [
        {
          "PROGRAM_ID": 1,
          "DIV_ID": 2,
          "PROGRAM": "sample string 3",
          "IS_TCM": true,
          "CPT_CODE": "sample string 5",
          "BILLING_TIME": 1,
          "FLAG_ON": 1,
          "ACTIVE": true,
          "DURATION": 1,
          "SECOND_ID": true,
          "FEE": 1.0,
          "OLD": 1,
          "IS_RPM": true,
          "CPTCodes": [
            {
              "Id": 1,
              "Code": "sample string 2",
              "Description": "sample string 3",
              "ProgramId": 1
            },
            {
              "Id": 1,
              "Code": "sample string 2",
              "Description": "sample string 3",
              "ProgramId": 1
            }
          ]
        },
        {
          "PROGRAM_ID": 1,
          "DIV_ID": 2,
          "PROGRAM": "sample string 3",
          "IS_TCM": true,
          "CPT_CODE": "sample string 5",
          "BILLING_TIME": 1,
          "FLAG_ON": 1,
          "ACTIVE": true,
          "DURATION": 1,
          "SECOND_ID": true,
          "FEE": 1.0,
          "OLD": 1,
          "IS_RPM": true,
          "CPTCodes": [
            {
              "Id": 1,
              "Code": "sample string 2",
              "Description": "sample string 3",
              "ProgramId": 1
            },
            {
              "Id": 1,
              "Code": "sample string 2",
              "Description": "sample string 3",
              "ProgramId": 1
            }
          ]
        }
      ],
      "RiskLevel": []
    }
  }
}

application/octet-stream

Sample:
{"HEADER_ID":1,"CPI":"sample string 2","DIV_ID":3,"SOURCE":4,"RISK_LEVEL":1,"TOTAL_SCORE":1.0,"ENTR_BY":"sample string 5","ENTR_DATE":"2025-08-14T19:54:31.033468+00:00","ACTIVE":true,"OLD":1,"details":[{"DETAIL_ID":1,"PARAM_ID":2,"VALUE":"sample string 3","SCORE":1.0,"HEADER_ID":4,"OLD":1,"ENTR_DATE":"2025-08-14T19:54:31.033468+00:00","ENTR_BY":"sample string 5","PARAMETER":{"PARAM_ID":1,"DIV_ID":2,"RISK_ID":3,"PARAMETER":"sample string 4","TYPE_ID":5,"ACTIVE":true,"SEQ":7,"QID":1,"DEFAULT_VALUE_ID":1,"OLD":1,"values":[{"ID":1,"DIV_ID":2,"PARAM_ID":3,"VALUE_LOW":1.0,"VALUE_HIGH":1.0,"VALUE_TEXT":"sample string 4","SCORE":1.0,"SEQ":1,"OLD":1},{"ID":1,"DIV_ID":2,"PARAM_ID":3,"VALUE_LOW":1.0,"VALUE_HIGH":1.0,"VALUE_TEXT":"sample string 4","SCORE":1.0,"SEQ":1,"OLD":1}],"type":{"TYPE_ID":1,"DESCRIPTION":"sample string 2","HTML":"sample string 3","OLD":1},"defaultValue":{"ID":1,"SQL":"sample string 2","TYPE_ID":3,"PARAMETER":"sample string 4","VALUE":"sample string 5","OLD":1}}},{"DETAIL_ID":1,"PARAM_ID":2,"VALUE":"sample string 3","SCORE":1.0,"HEADER_ID":4,"OLD":1,"ENTR_DATE":"2025-08-14T19:54:31.033468+00:00","ENTR_BY":"sample string 5","PARAMETER":{"PARAM_ID":1,"DIV_ID":2,"RISK_ID":3,"PARAMETER":"sample string 4","TYPE_ID":5,"ACTIVE":true,"SEQ":7,"QID":1,"DEFAULT_VALUE_ID":1,"OLD":1,"values":[{"ID":1,"DIV_ID":2,"PARAM_ID":3,"VALUE_LOW":1.0,"VALUE_HIGH":1.0,"VALUE_TEXT":"sample string 4","SCORE":1.0,"SEQ":1,"OLD":1},{"ID":1,"DIV_ID":2,"PARAM_ID":3,"VALUE_LOW":1.0,"VALUE_HIGH":1.0,"VALUE_TEXT":"sample string 4","SCORE":1.0,"SEQ":1,"OLD":1}],"type":{"TYPE_ID":1,"DESCRIPTION":"sample string 2","HTML":"sample string 3","OLD":1},"defaultValue":{"ID":1,"SQL":"sample string 2","TYPE_ID":3,"PARAMETER":"sample string 4","VALUE":"sample string 5","OLD":1}}}],"Master":{"RISK_ID":1,"DIV_ID":2,"RISK_NAME":"sample string 3","PROGRAM_ID":1,"ACTIVE":true,"SHOW":true,"RISK_CALC_METHOD":"sample string 6","TYPE":7,"OLD":1,"Program":{"PROGRAM_ID":1,"DIV_ID":2,"PROGRAM":"sample string 3","IS_TCM":true,"CPT_CODE":"sample string 5","BILLING_TIME":1,"FLAG_ON":1,"ACTIVE":true,"DURATION":1,"SECOND_ID":true,"FEE":1.0,"OLD":1,"IS_RPM":true,"Flag":{"ID":1,"DIV_ID":2,"FLAG":"sample string 3","IMG":"sample string 4","IMG_S":"sample string 5","SHOW":true,"OLD":1,"Program":[],"RiskLevel":[{"RISK_LEVEL_ID":1,"RISK_ID":2,"DIV_ID":3,"SCORE_LOW":1.0,"SCORE_HIGH":1.0,"RISK_LEVEL":"sample string 4","SEQ":5,"FLAG_ON":1,"OLD":1},{"RISK_LEVEL_ID":1,"RISK_ID":2,"DIV_ID":3,"SCORE_LOW":1.0,"SCORE_HIGH":1.0,"RISK_LEVEL":"sample string 4","SEQ":5,"FLAG_ON":1,"OLD":1}]},"CPTCodes":[{"Id":1,"Code":"sample string 2","Description":"sample string 3","ProgramId":1},{"Id":1,"Code":"sample string 2","Description":"sample string 3","ProgramId":1}]}},"Level":{"RISK_LEVEL_ID":1,"RISK_ID":2,"DIV_ID":3,"SCORE_LOW":1.0,"SCORE_HIGH":1.0,"RISK_LEVEL":"sample string 4","SEQ":5,"FLAG_ON":1,"OLD":1,"Flag":{"ID":1,"DIV_ID":2,"FLAG":"sample string 3","IMG":"sample string 4","IMG_S":"sample string 5","SHOW":true,"OLD":1,"Program":[{"PROGRAM_ID":1,"DIV_ID":2,"PROGRAM":"sample string 3","IS_TCM":true,"CPT_CODE":"sample string 5","BILLING_TIME":1,"FLAG_ON":1,"ACTIVE":true,"DURATION":1,"SECOND_ID":true,"FEE":1.0,"OLD":1,"IS_RPM":true,"CPTCodes":[{"Id":1,"Code":"sample string 2","Description":"sample string 3","ProgramId":1},{"Id":1,"Code":"sample string 2","Description":"sample string 3","ProgramId":1}]},{"PROGRAM_ID":1,"DIV_ID":2,"PROGRAM":"sample string 3","IS_TCM":true,"CPT_CODE":"sample string 5","BILLING_TIME":1,"FLAG_ON":1,"ACTIVE":true,"DURATION":1,"SECOND_ID":true,"FEE":1.0,"OLD":1,"IS_RPM":true,"CPTCodes":[{"Id":1,"Code":"sample string 2","Description":"sample string 3","ProgramId":1},{"Id":1,"Code":"sample string 2","Description":"sample string 3","ProgramId":1}]}],"RiskLevel":[]}}}