Click or drag to resize
PatientConstructor

[This is preliminary documentation and is subject to change.]

Construct and return a Patient object, read from database, Identified by key value(s).

Syntax (1)
PatientConstructor(id)
Parameters (1)

Name

Type

Description

id

Integer

Id of a Patient object

Syntax (2)
PatientConstructor(nationalId)
Parameters (2)

Name

Type

Description

nationalId

String

The NationalId value

Returns

The Patient object identified by the passed key value(s) - null if not found

Examples

Expression

Result

PatientConstructor(1)

The Patient object having ID=1 - null if it does not exist.

PatientConstructor("0102034444")

The Patient object having NationalId="0102034444" - null if it does not exist.

PatientConstructor(1).ID

1

PatientConstructor("0102034444").NationalId

"0102034444"