CAMHS-api

Backend api for CAMHS Bedfinder @NHSHackday 13

End points

Trusts
Bed requests
Add a request

This is currently done using a parameter based get request to the postrequest endpoint

The request does a search for the closest hospitals with available beds and posts them a bed request

    originId: RV01,         <- Requesting trust id
    patient: "Tom"          <- Patient name
    beds_type: = 1,         <- Bed type requested (1, 2, 3)
    referredBy: "Dr Moghraby" <- Doctor name
    nhsNumber: 09101313     <- Patient nhs number
    age: 16,                <- Patient age
    gender: Male,           <- (Male/Female)
Inbox and outbox
Beds of various types
Search

Getting Started

Running locally

./run.sh

Dependencies