Class: Patient¶
domain/Patient.Patient
Constructors¶
constructor¶
new Patient(name, uid)
A patient
Parameters¶
| Name | Type | Description | 
|---|---|---|
| 
 | 
 | name of the patient | 
| 
 | 
 | unique identifier of the patient | 
Properties¶
name¶
name: string
name of the patient
uid¶
uid: string
unique identifier of the patient
Methods¶
fromJSON¶
Static fromJSON(patient): Patient
Create from JSON
Parameters¶
| Name | Type | Description | 
|---|---|---|
| 
 | 
 | JSON object |