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

operationID

string

The operation ID

name

string

The operation name

sendTime

Date

The time at which the operation was sent

createdTime

Date

The time at which the operation was created

endTime

Date

The time at which the operation ended, undefined still ongoing

callCenterId

string

The Call Center ID

caseFolderId

string

The Case folder ID

transmitterCode

string

The transmitter code

alarmCategory

string

The alarm category

alarmEventCode

string

The alarm event code

medicalCommander

string

The medical commander of this operation

medicalIncidentOfficer

string

The medical incident office of this operation

attachedCustomerObject

string

The attached customer Object

alarmEventText

string

The alarm event text

additionalInfo

string

The additional information attached to this operation

keyNumber

string

The key number

electronicKey

string

The electronic key

radioGroupMain

string

The main radio group associated with this operation

radioGroupSecondary

string

The secondary radio group associated with this operation

additionalCoordinationInformation

string

Additional coordination information

availablePriorities

OperationPriority[]

The list of available priorities to select from

patientName

string

The name of the patient if any

patientUID

string

The personal number of the patient if any

vehicleStatus

VehicleStatus

The current vehicle status in this operation

destinationSiteLocation

DestinationSiteLocation

The location of the destination

breakpointLocation

DestinationControlPointLocation

The location of the breakpoint if any

availableHospitalLocations

HospitalLocation[]

The list of available hospitals to select from

header1

string

The case index 2

header2

string

The case index 3

eventInfo

string

The event description

caseInfo

string

The case info comment

selectedHospital

number

The id of the selected hospital [inside available hospitals]

selectedPriority

number

The id of the selected priority [inside available priority]

operationState

default

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

data

any

JSON object

Returns

Operation