PHP 클래스 OEModule\PASAPI\resources\PatientAppointment

상속: extends BaseResource
파일 보기 프로젝트 열기: openeyes/openeyes 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$id
$isNewResource

보호된 프로퍼티들

프로퍼티 타입 설명
$model_class string Class of model that is stored internally for this resource.
$resource_type
$worklist_manager WorklistManager

공개 메소드들

메소드 설명
__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.

보호된 메소드들

메소드 설명
mapAttributes ( WorklistPatient $wp )
mapPatient ( WorklistPatient $wp ) : Patient
mapWhen ( WorklistPatient $wp )
resolveAttributes ( )
resolvePatient ( ) : Patient
resolveWhen ( $default_when )

메소드 상세

__construct() 공개 메소드

PatientAppointment constructor.
public __construct ( $version, array $options = [] )
$version
$options array

delete() 공개 메소드

public delete ( )

mapAttributes() 보호된 메소드

protected mapAttributes ( WorklistPatient $wp )
$wp WorklistPatient

mapPatient() 보호된 메소드

protected mapPatient ( WorklistPatient $wp ) : Patient
$wp WorklistPatient
리턴 Patient

mapWhen() 보호된 메소드

protected mapWhen ( WorklistPatient $wp )
$wp WorklistPatient

resolveAttributes() 보호된 메소드

protected resolveAttributes ( )

resolvePatient() 보호된 메소드

protected resolvePatient ( ) : Patient
리턴 Patient

resolveWhen() 보호된 메소드

protected resolveWhen ( $default_when )

save() 공개 메소드

public save ( )

saveModel() 공개 메소드

public saveModel ( WorklistPatient $model ) : boolean | WorklistPatient
$model WorklistPatient
리턴 boolean | WorklistPatient

shouldValidateRequired() 공개 메소드

public shouldValidateRequired ( ) : boolean
리턴 boolean

validate() 공개 메소드

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.
public validate ( ) : boolean
리턴 boolean

프로퍼티 상세

$id 공개적으로 프로퍼티

public $id

$isNewResource 공개적으로 프로퍼티

public $isNewResource

$model_class 보호되어 있는 정적으로 프로퍼티

Class of model that is stored internally for this resource.
protected static string $model_class
리턴 string

$resource_type 보호되어 있는 정적으로 프로퍼티

protected static $resource_type

$worklist_manager 보호되어 있는 프로퍼티

protected WorklistManager $worklist_manager
리턴 WorklistManager