Class: HospitalLocation¶
domain/HospitalLocation.HospitalLocation
Constructors¶
constructor¶
new HospitalLocation(id, latitude, longitude, name, street1, city, region, postalCode)
Location of a hospital
Parameters¶
Name |
Type |
Description |
|---|---|---|
|
|
Hospital unique ID |
|
|
Latitude of hospital location |
|
|
Longitude of hospital location |
|
|
Name of hospital |
|
|
street address of hospital |
|
|
city in which hospital is located |
|
|
region in which hospital is located |
|
|
postal code of hospital |
Properties¶
city¶
city: string
city in which hospital is located
id¶
id: number
Hospital unique ID
latitude¶
latitude: number
Latitude of hospital location
longitude¶
longitude: number
Longitude of hospital location
name¶
name: string
Name of hospital
postalCode¶
postalCode: string
postal code of hospital
region¶
region: string
region in which hospital is located
street1¶
street1: string
street address of hospital
Methods¶
fromJSON¶
Static fromJSON(hospitalLocation): HospitalLocation
Create from JSON
Parameters¶
Name |
Type |
Description |
|---|---|---|
|
|
JSON object |