Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Ambulance ¶
type Ambulance struct { // Unique identifier of the ambulance Id string `json:"id"` // Human readable display name of the ambulance Name string `json:"name"` RoomNumber string `json:"roomNumber"` WaitingList []WaitingListEntry `json:"waitingList,omitempty"` PredefinedConditions []Condition `json:"predefinedConditions,omitempty"` }
type AmbulanceConditionsAPI ¶
type AmbulanceWaitingListAPI ¶
type AmbulanceWaitingListAPI interface { // CreateWaitingListEntry - Saves new entry into waiting list CreateWaitingListEntry(ctx *gin.Context) // DeleteWaitingListEntry - Deletes specific entry DeleteWaitingListEntry(ctx *gin.Context) // GetWaitingListEntries - Provides the ambulance waiting list GetWaitingListEntries(ctx *gin.Context) // GetWaitingListEntry - Provides details about waiting list entry GetWaitingListEntry(ctx *gin.Context) // UpdateWaitingListEntry - Updates specific entry UpdateWaitingListEntry(ctx *gin.Context) // contains filtered or unexported methods }
type AmbulancesAPI ¶
type Condition ¶
type Condition struct { Value string `json:"value"` Code string `json:"code,omitempty"` // Link to encyclopedical explanation of the patient's condition Reference string `json:"reference,omitempty"` TypicalDurationMinutes int32 `json:"typicalDurationMinutes,omitempty"` }
Condition - Describes disease, symptoms, or other reasons of patient visit
type WaitingListEntry ¶
type WaitingListEntry struct { // Unique id of the entry in this waiting list Id string `json:"id"` // Name of patient in waiting list Name string `json:"name,omitempty"` // Unique identifier of the patient known to Web-In-Cloud system PatientId string `json:"patientId"` // Timestamp since when the patient entered the waiting list WaitingSince time.Time `json:"waitingSince"` // Estimated time of entering ambulance. Ignored on post. EstimatedStart time.Time `json:"estimatedStart,omitempty"` // Estimated duration of ambulance visit. If not provided then it will be computed based on condition and ambulance settings EstimatedDurationMinutes int32 `json:"estimatedDurationMinutes"` Condition Condition `json:"condition,omitempty"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.