Class: LeavePatientLocation¶
domain/LeavePatientLocation.LeavePatientLocation
data class LeavePatientLocation( override val locationType: LocationType = LocationType.LeavePatientSite, override val locationId: String, override val latitude: Double, override val longitude: Double, override val street: String?, override val locality: String?, override val municipality: String?, override val routeDirections: String?, val leaveTime: LocalDateTime?, )
Constructors¶
constructor¶
new LeavePatientLocation(latitude
, longitude
, street
, locality
, municipality
, routeDirections
, leaveTime
)
Location of a leave patient location
Parameters¶
Name |
Type |
Description |
---|---|---|
|
|
Latitude in decimal degrees |
|
|
Longitude in decimal degrees |
|
|
The street name if available |
|
|
The locality name if available |
|
|
The municipality name if available |
|
|
The route directions text if available |
|
|
the leave time of the patient |
Properties¶
latitude¶
latitude: number
Latitude in decimal degrees
leaveTime¶
leaveTime: string
the leave time of the patient
locality¶
locality: string
The locality name if available
longitude¶
longitude: number
Longitude in decimal degrees
municipality¶
municipality: string
The municipality name if available
routeDirections¶
routeDirections: string
The route directions text if available
street¶
street: string
The street name if available
Methods¶
fromJSON¶
Static
fromJSON(loc
): LeavePatientLocation
Create from JSON
Parameters¶
Name |
Type |
Description |
---|---|---|
|
|
JSON object |