GET api/PatientQuestionnaires?CYCLE={CYCLE}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CYCLE

integer

Required

Body Parameters

Collection of Question
NameDescriptionTypeAdditional information
QID

integer

None.

DIV_ID

integer

None.

STEP_ID

integer

None.

VERSION

string

None.

SEQ

integer

None.

FIELDNAME

string

None.

DESCRIPTION

string

None.

TYPE_ID

integer

None.

FORM_ID

integer

None.

ALT_ID

integer

None.

HASCHILD

boolean

None.

FATHERID

integer

None.

LEVEL

integer

None.

TABLENAME

string

None.

COLUMNNAME

string

None.

SQL

string

None.

DISPLAY

boolean

None.

MANDATORY

boolean

None.

MANDATORY_GROUP

boolean

None.

DESTINATION

string

None.

GENDER

string

None.

SECTION_ID

integer

None.

ON_RPT

boolean

None.

OLD

integer

None.

ON_DOC

boolean

None.

SHOW_IN_PATIENT_FORM

boolean

None.

Options

Collection of QuestionOption

None.

Conditions

Collection of QuestionCondition

None.

Type

QuestionType

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "QID": 1,
    "DIV_ID": 2,
    "STEP_ID": 1,
    "VERSION": "sample string 3",
    "SEQ": 4,
    "FIELDNAME": "sample string 5",
    "DESCRIPTION": "sample string 6",
    "TYPE_ID": 1,
    "FORM_ID": 1,
    "ALT_ID": 1,
    "HASCHILD": true,
    "FATHERID": 1,
    "LEVEL": 1,
    "TABLENAME": "sample string 8",
    "COLUMNNAME": "sample string 9",
    "SQL": "sample string 10",
    "DISPLAY": true,
    "MANDATORY": true,
    "MANDATORY_GROUP": true,
    "DESTINATION": "sample string 14",
    "GENDER": "sample string 15",
    "SECTION_ID": 16,
    "ON_RPT": true,
    "OLD": 1,
    "ON_DOC": true,
    "SHOW_IN_PATIENT_FORM": true,
    "Options": [
      {
        "OptionID": 1,
        "QID": 2,
        "OptionDescription": "sample string 3",
        "OptionAltID": "sample string 4",
        "OpenChild": true,
        "OpenIDs": "sample string 6",
        "PopUp": true,
        "Type_Msg": "sample string 8",
        "Formula": "sample string 9",
        "LastStep": true,
        "SEQ": 11,
        "OptionCode": "sample string 12",
        "OLD": 1,
        "ACTIVE": true
      },
      {
        "OptionID": 1,
        "QID": 2,
        "OptionDescription": "sample string 3",
        "OptionAltID": "sample string 4",
        "OpenChild": true,
        "OpenIDs": "sample string 6",
        "PopUp": true,
        "Type_Msg": "sample string 8",
        "Formula": "sample string 9",
        "LastStep": true,
        "SEQ": 11,
        "OptionCode": "sample string 12",
        "OLD": 1,
        "ACTIVE": true
      }
    ],
    "Conditions": [
      {
        "Id": 1,
        "Key": "sample string 2",
        "QID": 3,
        "OLD": 1,
        "Values": [
          {
            "Id": 1,
            "ConditionId": 2,
            "Code": "sample string 3",
            "Label": "sample string 4",
            "Checked": true,
            "OLD": 1
          },
          {
            "Id": 1,
            "ConditionId": 2,
            "Code": "sample string 3",
            "Label": "sample string 4",
            "Checked": true,
            "OLD": 1
          }
        ]
      },
      {
        "Id": 1,
        "Key": "sample string 2",
        "QID": 3,
        "OLD": 1,
        "Values": [
          {
            "Id": 1,
            "ConditionId": 2,
            "Code": "sample string 3",
            "Label": "sample string 4",
            "Checked": true,
            "OLD": 1
          },
          {
            "Id": 1,
            "ConditionId": 2,
            "Code": "sample string 3",
            "Label": "sample string 4",
            "Checked": true,
            "OLD": 1
          }
        ]
      }
    ],
    "Type": {
      "ID": 1,
      "CODE": "sample string 2",
      "NAME": "sample string 3",
      "TEMPLATE": "sample string 4",
      "SEQ": 1,
      "ACTIVE": true,
      "OLD": 1,
      "MEASURE_ID": 1,
      "GROUP": "sample string 6",
      "DIV_ID": 1,
      "MEASURE": {
        "ID": 1,
        "SEQ": 2,
        "DIV_ID": 3,
        "TYPE_ID": 1,
        "ACTIVE": true,
        "FREQUENCY": 1,
        "CHART_DEFAULT": true,
        "BILLABLE": true,
        "TYPE": {
          "ID": 1,
          "DEFAULT_NAME": "sample string 2",
          "SYSTEM_CODES": "sample string 3",
          "UNITS": "sample string 4",
          "GROUP_NAME": "sample string 5",
          "ORDER": 1,
          "DECIMALS": 1
        },
        "AbnormalRanges": [
          {
            "ID": 1,
            "MEASURE_ID": 2,
            "MIN_VALUE": 3.0,
            "MAX_VALUE": 4.0,
            "BADGE_COLOR": "sample string 5",
            "TYPE": "sample string 6",
            "LABEL": "sample string 7"
          },
          {
            "ID": 1,
            "MEASURE_ID": 2,
            "MIN_VALUE": 3.0,
            "MAX_VALUE": 4.0,
            "BADGE_COLOR": "sample string 5",
            "TYPE": "sample string 6",
            "LABEL": "sample string 7"
          }
        ]
      }
    }
  },
  {
    "QID": 1,
    "DIV_ID": 2,
    "STEP_ID": 1,
    "VERSION": "sample string 3",
    "SEQ": 4,
    "FIELDNAME": "sample string 5",
    "DESCRIPTION": "sample string 6",
    "TYPE_ID": 1,
    "FORM_ID": 1,
    "ALT_ID": 1,
    "HASCHILD": true,
    "FATHERID": 1,
    "LEVEL": 1,
    "TABLENAME": "sample string 8",
    "COLUMNNAME": "sample string 9",
    "SQL": "sample string 10",
    "DISPLAY": true,
    "MANDATORY": true,
    "MANDATORY_GROUP": true,
    "DESTINATION": "sample string 14",
    "GENDER": "sample string 15",
    "SECTION_ID": 16,
    "ON_RPT": true,
    "OLD": 1,
    "ON_DOC": true,
    "SHOW_IN_PATIENT_FORM": true,
    "Options": [
      {
        "OptionID": 1,
        "QID": 2,
        "OptionDescription": "sample string 3",
        "OptionAltID": "sample string 4",
        "OpenChild": true,
        "OpenIDs": "sample string 6",
        "PopUp": true,
        "Type_Msg": "sample string 8",
        "Formula": "sample string 9",
        "LastStep": true,
        "SEQ": 11,
        "OptionCode": "sample string 12",
        "OLD": 1,
        "ACTIVE": true
      },
      {
        "OptionID": 1,
        "QID": 2,
        "OptionDescription": "sample string 3",
        "OptionAltID": "sample string 4",
        "OpenChild": true,
        "OpenIDs": "sample string 6",
        "PopUp": true,
        "Type_Msg": "sample string 8",
        "Formula": "sample string 9",
        "LastStep": true,
        "SEQ": 11,
        "OptionCode": "sample string 12",
        "OLD": 1,
        "ACTIVE": true
      }
    ],
    "Conditions": [
      {
        "Id": 1,
        "Key": "sample string 2",
        "QID": 3,
        "OLD": 1,
        "Values": [
          {
            "Id": 1,
            "ConditionId": 2,
            "Code": "sample string 3",
            "Label": "sample string 4",
            "Checked": true,
            "OLD": 1
          },
          {
            "Id": 1,
            "ConditionId": 2,
            "Code": "sample string 3",
            "Label": "sample string 4",
            "Checked": true,
            "OLD": 1
          }
        ]
      },
      {
        "Id": 1,
        "Key": "sample string 2",
        "QID": 3,
        "OLD": 1,
        "Values": [
          {
            "Id": 1,
            "ConditionId": 2,
            "Code": "sample string 3",
            "Label": "sample string 4",
            "Checked": true,
            "OLD": 1
          },
          {
            "Id": 1,
            "ConditionId": 2,
            "Code": "sample string 3",
            "Label": "sample string 4",
            "Checked": true,
            "OLD": 1
          }
        ]
      }
    ],
    "Type": {
      "ID": 1,
      "CODE": "sample string 2",
      "NAME": "sample string 3",
      "TEMPLATE": "sample string 4",
      "SEQ": 1,
      "ACTIVE": true,
      "OLD": 1,
      "MEASURE_ID": 1,
      "GROUP": "sample string 6",
      "DIV_ID": 1,
      "MEASURE": {
        "ID": 1,
        "SEQ": 2,
        "DIV_ID": 3,
        "TYPE_ID": 1,
        "ACTIVE": true,
        "FREQUENCY": 1,
        "CHART_DEFAULT": true,
        "BILLABLE": true,
        "TYPE": {
          "ID": 1,
          "DEFAULT_NAME": "sample string 2",
          "SYSTEM_CODES": "sample string 3",
          "UNITS": "sample string 4",
          "GROUP_NAME": "sample string 5",
          "ORDER": 1,
          "DECIMALS": 1
        },
        "AbnormalRanges": [
          {
            "ID": 1,
            "MEASURE_ID": 2,
            "MIN_VALUE": 3.0,
            "MAX_VALUE": 4.0,
            "BADGE_COLOR": "sample string 5",
            "TYPE": "sample string 6",
            "LABEL": "sample string 7"
          },
          {
            "ID": 1,
            "MEASURE_ID": 2,
            "MIN_VALUE": 3.0,
            "MAX_VALUE": 4.0,
            "BADGE_COLOR": "sample string 5",
            "TYPE": "sample string 6",
            "LABEL": "sample string 7"
          }
        ]
      }
    }
  }
]

application/octet-stream

Sample:
[{"QID":1,"DIV_ID":2,"STEP_ID":1,"VERSION":"sample string 3","SEQ":4,"FIELDNAME":"sample string 5","DESCRIPTION":"sample string 6","TYPE_ID":1,"FORM_ID":1,"ALT_ID":1,"HASCHILD":true,"FATHERID":1,"LEVEL":1,"TABLENAME":"sample string 8","COLUMNNAME":"sample string 9","SQL":"sample string 10","DISPLAY":true,"MANDATORY":true,"MANDATORY_GROUP":true,"DESTINATION":"sample string 14","GENDER":"sample string 15","SECTION_ID":16,"ON_RPT":true,"OLD":1,"ON_DOC":true,"SHOW_IN_PATIENT_FORM":true,"Options":[{"OptionID":1,"QID":2,"OptionDescription":"sample string 3","OptionAltID":"sample string 4","OpenChild":true,"OpenIDs":"sample string 6","PopUp":true,"Type_Msg":"sample string 8","Formula":"sample string 9","LastStep":true,"SEQ":11,"OptionCode":"sample string 12","OLD":1,"ACTIVE":true},{"OptionID":1,"QID":2,"OptionDescription":"sample string 3","OptionAltID":"sample string 4","OpenChild":true,"OpenIDs":"sample string 6","PopUp":true,"Type_Msg":"sample string 8","Formula":"sample string 9","LastStep":true,"SEQ":11,"OptionCode":"sample string 12","OLD":1,"ACTIVE":true}],"Conditions":[{"Id":1,"Key":"sample string 2","QID":3,"OLD":1,"Values":[{"Id":1,"ConditionId":2,"Code":"sample string 3","Label":"sample string 4","Checked":true,"OLD":1},{"Id":1,"ConditionId":2,"Code":"sample string 3","Label":"sample string 4","Checked":true,"OLD":1}]},{"Id":1,"Key":"sample string 2","QID":3,"OLD":1,"Values":[{"Id":1,"ConditionId":2,"Code":"sample string 3","Label":"sample string 4","Checked":true,"OLD":1},{"Id":1,"ConditionId":2,"Code":"sample string 3","Label":"sample string 4","Checked":true,"OLD":1}]}],"Type":{"ID":1,"CODE":"sample string 2","NAME":"sample string 3","TEMPLATE":"sample string 4","SEQ":1,"ACTIVE":true,"OLD":1,"MEASURE_ID":1,"GROUP":"sample string 6","DIV_ID":1,"MEASURE":{"ID":1,"SEQ":2,"DIV_ID":3,"TYPE_ID":1,"ACTIVE":true,"FREQUENCY":1,"CHART_DEFAULT":true,"BILLABLE":true,"TYPE":{"ID":1,"DEFAULT_NAME":"sample string 2","SYSTEM_CODES":"sample string 3","UNITS":"sample string 4","GROUP_NAME":"sample string 5","ORDER":1,"DECIMALS":1},"AbnormalRanges":[{"ID":1,"MEASURE_ID":2,"MIN_VALUE":3.0,"MAX_VALUE":4.0,"BADGE_COLOR":"sample string 5","TYPE":"sample string 6","LABEL":"sample string 7"},{"ID":1,"MEASURE_ID":2,"MIN_VALUE":3.0,"MAX_VALUE":4.0,"BADGE_COLOR":"sample string 5","TYPE":"sample string 6","LABEL":"sample string 7"}]}}},{"QID":1,"DIV_ID":2,"STEP_ID":1,"VERSION":"sample string 3","SEQ":4,"FIELDNAME":"sample string 5","DESCRIPTION":"sample string 6","TYPE_ID":1,"FORM_ID":1,"ALT_ID":1,"HASCHILD":true,"FATHERID":1,"LEVEL":1,"TABLENAME":"sample string 8","COLUMNNAME":"sample string 9","SQL":"sample string 10","DISPLAY":true,"MANDATORY":true,"MANDATORY_GROUP":true,"DESTINATION":"sample string 14","GENDER":"sample string 15","SECTION_ID":16,"ON_RPT":true,"OLD":1,"ON_DOC":true,"SHOW_IN_PATIENT_FORM":true,"Options":[{"OptionID":1,"QID":2,"OptionDescription":"sample string 3","OptionAltID":"sample string 4","OpenChild":true,"OpenIDs":"sample string 6","PopUp":true,"Type_Msg":"sample string 8","Formula":"sample string 9","LastStep":true,"SEQ":11,"OptionCode":"sample string 12","OLD":1,"ACTIVE":true},{"OptionID":1,"QID":2,"OptionDescription":"sample string 3","OptionAltID":"sample string 4","OpenChild":true,"OpenIDs":"sample string 6","PopUp":true,"Type_Msg":"sample string 8","Formula":"sample string 9","LastStep":true,"SEQ":11,"OptionCode":"sample string 12","OLD":1,"ACTIVE":true}],"Conditions":[{"Id":1,"Key":"sample string 2","QID":3,"OLD":1,"Values":[{"Id":1,"ConditionId":2,"Code":"sample string 3","Label":"sample string 4","Checked":true,"OLD":1},{"Id":1,"ConditionId":2,"Code":"sample string 3","Label":"sample string 4","Checked":true,"OLD":1}]},{"Id":1,"Key":"sample string 2","QID":3,"OLD":1,"Values":[{"Id":1,"ConditionId":2,"Code":"sample string 3","Label":"sample string 4","Checked":true,"OLD":1},{"Id":1,"ConditionId":2,"Code":"sample string 3","Label":"sample string 4","Checked":true,"OLD":1}]}],"Type":{"ID":1,"CODE":"sample string 2","NAME":"sample string 3","TEMPLATE":"sample string 4","SEQ":1,"ACTIVE":true,"OLD":1,"MEASURE_ID":1,"GROUP":"sample string 6","DIV_ID":1,"MEASURE":{"ID":1,"SEQ":2,"DIV_ID":3,"TYPE_ID":1,"ACTIVE":true,"FREQUENCY":1,"CHART_DEFAULT":true,"BILLABLE":true,"TYPE":{"ID":1,"DEFAULT_NAME":"sample string 2","SYSTEM_CODES":"sample string 3","UNITS":"sample string 4","GROUP_NAME":"sample string 5","ORDER":1,"DECIMALS":1},"AbnormalRanges":[{"ID":1,"MEASURE_ID":2,"MIN_VALUE":3.0,"MAX_VALUE":4.0,"BADGE_COLOR":"sample string 5","TYPE":"sample string 6","LABEL":"sample string 7"},{"ID":1,"MEASURE_ID":2,"MIN_VALUE":3.0,"MAX_VALUE":4.0,"BADGE_COLOR":"sample string 5","TYPE":"sample string 6","LABEL":"sample string 7"}]}}}]

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

Collection of PatientQuestionnaire
NameDescriptionTypeAdditional information
ID

integer

None.

CPI

string

None.

DIV_ID

integer

None.

CYCLE

integer

None.

QID

integer

None.

ENTR_BY

string

None.

ENTR_DATE

date

None.

OLD_CYCLE

integer

None.

OLD_QID

integer

None.

Values

Collection of PatientQuestionnaireValue

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "CPI": "sample string 2",
    "DIV_ID": 3,
    "CYCLE": 4,
    "QID": 5,
    "ENTR_BY": "sample string 6",
    "ENTR_DATE": "2025-08-29T02:55:29.350136+00:00",
    "OLD_CYCLE": 1,
    "OLD_QID": 1,
    "Values": [
      {
        "ID": 1,
        "PAT_QUESTIONNAIRE_ID": 2,
        "VALUE": "sample string 3",
        "OPTION_ID": 1,
        "CHECKED": true,
        "OLD": 1,
        "COLLECTION_DATE": "2025-08-29T02:55:29.350136+00:00",
        "Option": {
          "OptionID": 1,
          "QID": 2,
          "OptionDescription": "sample string 3",
          "OptionAltID": "sample string 4",
          "OpenChild": true,
          "OpenIDs": "sample string 6",
          "PopUp": true,
          "Type_Msg": "sample string 8",
          "Formula": "sample string 9",
          "LastStep": true,
          "SEQ": 11,
          "OptionCode": "sample string 12",
          "OLD": 1,
          "ACTIVE": true
        }
      },
      {
        "ID": 1,
        "PAT_QUESTIONNAIRE_ID": 2,
        "VALUE": "sample string 3",
        "OPTION_ID": 1,
        "CHECKED": true,
        "OLD": 1,
        "COLLECTION_DATE": "2025-08-29T02:55:29.350136+00:00",
        "Option": {
          "OptionID": 1,
          "QID": 2,
          "OptionDescription": "sample string 3",
          "OptionAltID": "sample string 4",
          "OpenChild": true,
          "OpenIDs": "sample string 6",
          "PopUp": true,
          "Type_Msg": "sample string 8",
          "Formula": "sample string 9",
          "LastStep": true,
          "SEQ": 11,
          "OptionCode": "sample string 12",
          "OLD": 1,
          "ACTIVE": true
        }
      }
    ]
  },
  {
    "ID": 1,
    "CPI": "sample string 2",
    "DIV_ID": 3,
    "CYCLE": 4,
    "QID": 5,
    "ENTR_BY": "sample string 6",
    "ENTR_DATE": "2025-08-29T02:55:29.350136+00:00",
    "OLD_CYCLE": 1,
    "OLD_QID": 1,
    "Values": [
      {
        "ID": 1,
        "PAT_QUESTIONNAIRE_ID": 2,
        "VALUE": "sample string 3",
        "OPTION_ID": 1,
        "CHECKED": true,
        "OLD": 1,
        "COLLECTION_DATE": "2025-08-29T02:55:29.350136+00:00",
        "Option": {
          "OptionID": 1,
          "QID": 2,
          "OptionDescription": "sample string 3",
          "OptionAltID": "sample string 4",
          "OpenChild": true,
          "OpenIDs": "sample string 6",
          "PopUp": true,
          "Type_Msg": "sample string 8",
          "Formula": "sample string 9",
          "LastStep": true,
          "SEQ": 11,
          "OptionCode": "sample string 12",
          "OLD": 1,
          "ACTIVE": true
        }
      },
      {
        "ID": 1,
        "PAT_QUESTIONNAIRE_ID": 2,
        "VALUE": "sample string 3",
        "OPTION_ID": 1,
        "CHECKED": true,
        "OLD": 1,
        "COLLECTION_DATE": "2025-08-29T02:55:29.350136+00:00",
        "Option": {
          "OptionID": 1,
          "QID": 2,
          "OptionDescription": "sample string 3",
          "OptionAltID": "sample string 4",
          "OpenChild": true,
          "OpenIDs": "sample string 6",
          "PopUp": true,
          "Type_Msg": "sample string 8",
          "Formula": "sample string 9",
          "LastStep": true,
          "SEQ": 11,
          "OptionCode": "sample string 12",
          "OLD": 1,
          "ACTIVE": true
        }
      }
    ]
  }
]

application/octet-stream

Sample:
[{"ID":1,"CPI":"sample string 2","DIV_ID":3,"CYCLE":4,"QID":5,"ENTR_BY":"sample string 6","ENTR_DATE":"2025-08-29T02:55:29.350136+00:00","OLD_CYCLE":1,"OLD_QID":1,"Values":[{"ID":1,"PAT_QUESTIONNAIRE_ID":2,"VALUE":"sample string 3","OPTION_ID":1,"CHECKED":true,"OLD":1,"COLLECTION_DATE":"2025-08-29T02:55:29.350136+00:00","Option":{"OptionID":1,"QID":2,"OptionDescription":"sample string 3","OptionAltID":"sample string 4","OpenChild":true,"OpenIDs":"sample string 6","PopUp":true,"Type_Msg":"sample string 8","Formula":"sample string 9","LastStep":true,"SEQ":11,"OptionCode":"sample string 12","OLD":1,"ACTIVE":true}},{"ID":1,"PAT_QUESTIONNAIRE_ID":2,"VALUE":"sample string 3","OPTION_ID":1,"CHECKED":true,"OLD":1,"COLLECTION_DATE":"2025-08-29T02:55:29.350136+00:00","Option":{"OptionID":1,"QID":2,"OptionDescription":"sample string 3","OptionAltID":"sample string 4","OpenChild":true,"OpenIDs":"sample string 6","PopUp":true,"Type_Msg":"sample string 8","Formula":"sample string 9","LastStep":true,"SEQ":11,"OptionCode":"sample string 12","OLD":1,"ACTIVE":true}}]},{"ID":1,"CPI":"sample string 2","DIV_ID":3,"CYCLE":4,"QID":5,"ENTR_BY":"sample string 6","ENTR_DATE":"2025-08-29T02:55:29.350136+00:00","OLD_CYCLE":1,"OLD_QID":1,"Values":[{"ID":1,"PAT_QUESTIONNAIRE_ID":2,"VALUE":"sample string 3","OPTION_ID":1,"CHECKED":true,"OLD":1,"COLLECTION_DATE":"2025-08-29T02:55:29.350136+00:00","Option":{"OptionID":1,"QID":2,"OptionDescription":"sample string 3","OptionAltID":"sample string 4","OpenChild":true,"OpenIDs":"sample string 6","PopUp":true,"Type_Msg":"sample string 8","Formula":"sample string 9","LastStep":true,"SEQ":11,"OptionCode":"sample string 12","OLD":1,"ACTIVE":true}},{"ID":1,"PAT_QUESTIONNAIRE_ID":2,"VALUE":"sample string 3","OPTION_ID":1,"CHECKED":true,"OLD":1,"COLLECTION_DATE":"2025-08-29T02:55:29.350136+00:00","Option":{"OptionID":1,"QID":2,"OptionDescription":"sample string 3","OptionAltID":"sample string 4","OpenChild":true,"OpenIDs":"sample string 6","PopUp":true,"Type_Msg":"sample string 8","Formula":"sample string 9","LastStep":true,"SEQ":11,"OptionCode":"sample string 12","OLD":1,"ACTIVE":true}}]}]