GET api/PatientHospitalizationHistories?CPI={CPI}&Division={Division}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CPI

string

Required

Division

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PatientHospitalizationHistory
NameDescriptionTypeAdditional information
ID

integer

None.

CPI

string

None.

DIV_ID

integer

None.

HOSPITALIZED

boolean

None.

ADMISSION

date

None.

HOSPITAL

string

None.

REASON

string

None.

DISCHARGED

date

None.

ENTR_BY

string

None.

ENTR_DATE

date

None.

READMISSION

boolean

None.

OLD

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "CPI": "sample string 2",
    "DIV_ID": 3,
    "HOSPITALIZED": true,
    "ADMISSION": "2025-08-21T22:56:27.4974757+00:00",
    "HOSPITAL": "sample string 6",
    "REASON": "sample string 7",
    "DISCHARGED": "2025-08-21T22:56:27.4974757+00:00",
    "ENTR_BY": "sample string 8",
    "ENTR_DATE": "2025-08-21T22:56:27.4974757+00:00",
    "READMISSION": true,
    "OLD": 1
  },
  {
    "ID": 1,
    "CPI": "sample string 2",
    "DIV_ID": 3,
    "HOSPITALIZED": true,
    "ADMISSION": "2025-08-21T22:56:27.4974757+00:00",
    "HOSPITAL": "sample string 6",
    "REASON": "sample string 7",
    "DISCHARGED": "2025-08-21T22:56:27.4974757+00:00",
    "ENTR_BY": "sample string 8",
    "ENTR_DATE": "2025-08-21T22:56:27.4974757+00:00",
    "READMISSION": true,
    "OLD": 1
  }
]

application/octet-stream

Sample:
[{"ID":1,"CPI":"sample string 2","DIV_ID":3,"HOSPITALIZED":true,"ADMISSION":"2025-08-21T22:56:27.4974757+00:00","HOSPITAL":"sample string 6","REASON":"sample string 7","DISCHARGED":"2025-08-21T22:56:27.4974757+00:00","ENTR_BY":"sample string 8","ENTR_DATE":"2025-08-21T22:56:27.4974757+00:00","READMISSION":true,"OLD":1},{"ID":1,"CPI":"sample string 2","DIV_ID":3,"HOSPITALIZED":true,"ADMISSION":"2025-08-21T22:56:27.4974757+00:00","HOSPITAL":"sample string 6","REASON":"sample string 7","DISCHARGED":"2025-08-21T22:56:27.4974757+00:00","ENTR_BY":"sample string 8","ENTR_DATE":"2025-08-21T22:56:27.4974757+00:00","READMISSION":true,"OLD":1}]

application/xml, text/xml

Sample:
<ArrayOfPatientHospitalizationHistory xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <PatientHospitalizationHistory>
    <ID>1</ID>
    <CPI>sample string 2</CPI>
    <DIV_ID>3</DIV_ID>
    <HOSPITALIZED>true</HOSPITALIZED>
    <ADMISSION>2025-08-21T22:56:27.4974757+00:00</ADMISSION>
    <HOSPITAL>sample string 6</HOSPITAL>
    <REASON>sample string 7</REASON>
    <DISCHARGED>2025-08-21T22:56:27.4974757+00:00</DISCHARGED>
    <ENTR_BY>sample string 8</ENTR_BY>
    <ENTR_DATE>2025-08-21T22:56:27.4974757+00:00</ENTR_DATE>
    <READMISSION>true</READMISSION>
    <OLD>1</OLD>
  </PatientHospitalizationHistory>
  <PatientHospitalizationHistory>
    <ID>1</ID>
    <CPI>sample string 2</CPI>
    <DIV_ID>3</DIV_ID>
    <HOSPITALIZED>true</HOSPITALIZED>
    <ADMISSION>2025-08-21T22:56:27.4974757+00:00</ADMISSION>
    <HOSPITAL>sample string 6</HOSPITAL>
    <REASON>sample string 7</REASON>
    <DISCHARGED>2025-08-21T22:56:27.4974757+00:00</DISCHARGED>
    <ENTR_BY>sample string 8</ENTR_BY>
    <ENTR_DATE>2025-08-21T22:56:27.4974757+00:00</ENTR_DATE>
    <READMISSION>true</READMISSION>
    <OLD>1</OLD>
  </PatientHospitalizationHistory>
</ArrayOfPatientHospitalizationHistory>