Class: Operation¶
domain/Operation.Operation
Constructors¶
constructor¶
new Operation(operationID
, name
, sendTime
, createdTime
, endTime
, callCenterId
, caseFolderId
, transmitterCode
, alarmCategory
, alarmEventCode
, medicalCommander
, medicalIncidentOfficer
, attachedCustomerObject
, alarmEventText
, additionalInfo
, keyNumber
, electronicKey
, radioGroupMain
, radioGroupSecondary
, additionalCoordinationInformation
, availablePriorities
, patientName
, patientUID
, vehicleStatus
, destinationSiteLocation
, breakpointLocation
, availableHospitalLocations
, header1
, header2
, eventInfo
, caseInfo
, selectedHospital
, selectedPriority
, operationState
)
Parameters¶
Name |
Type |
Description |
---|---|---|
|
|
The operation ID |
|
|
The operation name |
|
|
The time at which the operation was sent |
|
|
The time at which the operation was created |
|
|
The time at which the operation ended, |
|
|
The Call Center ID |
|
|
The Case folder ID |
|
|
The transmitter code |
|
|
The alarm category |
|
|
The alarm event code |
|
|
The medical commander of this operation |
|
|
The medical incident office of this operation |
|
|
The attached customer Object |
|
|
The alarm event text |
|
|
The additional information attached to this operation |
|
|
The key number |
|
|
The electronic key |
|
|
The main radio group associated with this operation |
|
|
The secondary radio group associated with this operation |
|
|
Additional coordination information |
|
The list of available priorities to select from |
|
|
|
The name of the patient if any |
|
|
The personal number of the patient if any |
|
The current vehicle status in this operation |
|
|
The location of the destination |
|
|
The location of the breakpoint if any |
|
|
The list of available hospitals to select from |
|
|
|
The case index 2 |
|
|
The case index 3 |
|
|
The event description |
|
|
The case info comment |
|
|
The id of the selected hospital [inside available hospitals] |
|
|
The id of the selected priority [inside available priority] |
|
the current state of the operation (ACTIVE, AVAILABLE, COMPLETE) |
Properties¶
additionalCoordinationInformation¶
additionalCoordinationInformation: string
additionalInfo¶
additionalInfo: string
alarmCategory¶
alarmCategory: string
alarmEventCode¶
alarmEventCode: string
alarmEventText¶
alarmEventText: string
attachedCustomerObject¶
attachedCustomerObject: string
availableHospitalLocations¶
availableHospitalLocations: HospitalLocation
[]
availablePriorities¶
availablePriorities: OperationPriority
[]
breakpointLocation¶
breakpointLocation: DestinationControlPointLocation
callCenterId¶
callCenterId: string
caseFolderId¶
caseFolderId: string
caseInfo¶
caseInfo: string
createdTime¶
createdTime: Date
destinationSiteLocation¶
destinationSiteLocation: DestinationSiteLocation
electronicKey¶
electronicKey: string
endTime¶
endTime: Date
eventInfo¶
eventInfo: string
header1¶
header1: string
header2¶
header2: string
keyNumber¶
keyNumber: string
medicalCommander¶
medicalCommander: string
medicalIncidentOfficer¶
medicalIncidentOfficer: string
name¶
name: string
operationID¶
operationID: string
operationState¶
operationState: default
patientName¶
patientName: string
patientUID¶
patientUID: string
radioGroupMain¶
radioGroupMain: string
radioGroupSecondary¶
radioGroupSecondary: string
selectedHospital¶
selectedHospital: number
selectedPriority¶
selectedPriority: number
sendTime¶
sendTime: Date
transmitterCode¶
transmitterCode: string
vehicleStatus¶
vehicleStatus: VehicleStatus
Methods¶
getFullId¶
getFullId(): string
Gets the full operation ID, e.g. ‘1:18:6546’, composed by ‘callCenterId:caseFolderId:operationID’.
Returns¶
string
id The full operation ID
fromJSON¶
Static
fromJSON(data
): Operation
Create from JSON
Parameters¶
Name |
Type |
Description |
---|---|---|
|
|
JSON object |