Government Systems Coordinator, Facility System Administrator
Get summaries of all facilities' data within specific query parameters:
disasterId
stateCode
between startDate and endDate
statusId
User Story
As a Government Systems Coordinator or Facility System Administrator
I want to see a summary of patient impact data
So that I can get a "big picture" view of how patients are impacted by disasters
Because I need to monitor overall quality of care for patients during disasters.
Description
acme/disaster/list
GET
disasterId
(int
),stateCode
(string
),startDate
(date
),endDate
(date
),statusId
(int
)Get summaries of all facilities' data within specific query parameters:
disasterId
stateCode
startDate
andendDate
statusId
User Story
As a Government Systems Coordinator or Facility System Administrator I want to see a summary of patient impact data So that I can get a "big picture" view of how patients are impacted by disasters Because I need to monitor overall quality of care for patients during disasters.
GET Parameters
disasterId
int
stateCode
string
startDate
date
endDate
date
statusId
int
Response Body
200
400
If request body sent is syntactically invalid.
If request body sent is not processable (missing or malformed data).
403
This endpoint is not authorized for roles who are not Government Systems Coordinators or Facility System Administrators.
Acceptance Criteria
200
with response body when well-formatted data is sent by a Government Systems Coordinators or Facility System Administrators.400
if request body is malformed.400
if request body is missing required data.400
if the request body contains data that doesn't make sense.403
if request is made by a role other than a Government Systems Coordinators or Facility System Administrators.Tech Notes
If the
state
comes in as other than just two letters then reject the input. (cap agnostic)Overall schema plan (Lucidchart)