Class: Patient

domain/Patient.Patient

Constructors

constructor

new Patient(name, uid)

A patient

Parameters

Name

Type

Description

name

string

name of the patient

uid

string

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

patient

any

JSON object

Returns

Patient