PHP Класс Services\InternalService

Наследование: extends Service
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$operations Operations supported by this service.
$search_params Search parameters supported by this service as a map of name => type.

Открытые методы

Метод Описание
create ( Resource $resource ) : scalar Create a new resource and return its ID.
delete ( scalar $id ) Delete a resource by ID.
fhirCreate ( StdClass $fhirObject ) : ResourceReference Create a new resource using the supplied FHIR object.
fhirUpdate ( scalar $id, StdClass $fhirObject ) Update the specified resource using the supplied FHIR object.
getLastModified ( scalar $id ) : integer Get the last modified date for a resource without fetching it.
getResourceClass ( ) : string Get the class name of the resource type managed by this service.
getServiceName ( ) : string Get the name of this service, ie the unqualified class name of the resource type it handles.
getSupportedOperations ( ) : string[]
getSupportedSearchParams ( ) : string[]
read ( scalar $id ) : resource Fetch a single resource by ID.
search ( array $params ) : resource[] Search for resources according to the parameters passed.
supportsOperation ( string $operation ) : boolean
update ( scalar $id, Resource $resource ) Update a resource by ID.

Защищенные методы

Метод Описание
fhirToResource ( StdClass $fhirObject ) : resource

Описание методов

create() публичный Метод

Create a new resource and return its ID.
public create ( Resource $resource ) : scalar
$resource Resource
Результат scalar

delete() публичный Метод

Delete a resource by ID.
public delete ( scalar $id )
$id scalar

fhirCreate() публичный Метод

Create a new resource using the supplied FHIR object.
public fhirCreate ( StdClass $fhirObject ) : ResourceReference
$fhirObject StdClass
Результат ResourceReference

fhirToResource() защищенный Метод

protected fhirToResource ( StdClass $fhirObject ) : resource
$fhirObject StdClass
Результат resource

fhirUpdate() публичный Метод

Update the specified resource using the supplied FHIR object.
public fhirUpdate ( scalar $id, StdClass $fhirObject )
$id scalar
$fhirObject StdClass

getLastModified() публичный Метод

Get the last modified date for a resource without fetching it.
public getLastModified ( scalar $id ) : integer
$id scalar
Результат integer

getResourceClass() публичный статический Метод

Get the class name of the resource type managed by this service.
public static getResourceClass ( ) : string
Результат string

getServiceName() публичный статический Метод

Get the name of this service, ie the unqualified class name of the resource type it handles.
public static getServiceName ( ) : string
Результат string

getSupportedOperations() публичный статический Метод

public static getSupportedOperations ( ) : string[]
Результат string[]

getSupportedSearchParams() публичный статический Метод

public static getSupportedSearchParams ( ) : string[]
Результат string[]

read() публичный Метод

Fetch a single resource by ID.
public read ( scalar $id ) : resource
$id scalar
Результат resource

supportsOperation() публичный статический Метод

public static supportsOperation ( string $operation ) : boolean
$operation string
Результат boolean

update() публичный Метод

Update a resource by ID.
public update ( scalar $id, Resource $resource )
$id scalar
$resource Resource

Описание свойств

$operations защищенное статическое свойство

Operations supported by this service.
protected static $operations

$search_params защищенное статическое свойство

Search parameters supported by this service as a map of name => type.
protected static $search_params