Property | Type | Description | |
---|---|---|---|
$id | |||
$isNewResource |
Property | Type | Description | |
---|---|---|---|
$model_class | string | Class of model that is stored internally for this resource. | |
$resource_type | |||
$worklist_manager | WorklistManager |
Method | Description | |
---|---|---|
__construct ( $version, array $options = [] ) | PatientAppointment constructor. | |
delete ( ) | ||
save ( ) | ||
saveModel ( WorklistPatient $model ) : boolean | WorklistPatient | ||
shouldValidateRequired ( ) : boolean | ||
validate ( ) : boolean | As a primary resource (i.e. mapped to external resource) we need to ensure we have an id for tracking the resource in the system. |
Method | Description | |
---|---|---|
mapAttributes ( WorklistPatient $wp ) | ||
mapPatient ( WorklistPatient $wp ) : |
||
mapWhen ( WorklistPatient $wp ) | ||
resolveAttributes ( ) | ||
resolvePatient ( ) : |
||
resolveWhen ( $default_when ) |
public __construct ( $version, array $options = [] ) | ||
$version | ||
$options | array |
protected mapAttributes ( WorklistPatient $wp ) | ||
$wp | WorklistPatient |
protected mapPatient ( WorklistPatient $wp ) : |
||
$wp | WorklistPatient | |
return |
protected static string $model_class | ||
return | string |