Property | Type | Description | |
---|---|---|---|
$operations | Operations supported by this service. | ||
$search_params | Search parameters supported by this service as a map of name => type. |
Method | Description | |
---|---|---|
create ( |
Create a new resource and return its ID. | |
delete ( scalar $id ) | Delete a resource by ID. | |
fhirCreate ( StdClass $fhirObject ) : |
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, |
Update a resource by ID. |
Method | Description | |
---|---|---|
fhirToResource ( StdClass $fhirObject ) : resource |
public create ( |
||
$resource | ||
return | scalar |
public fhirCreate ( StdClass $fhirObject ) : |
||
$fhirObject | StdClass | |
return |
protected fhirToResource ( StdClass $fhirObject ) : resource | ||
$fhirObject | StdClass | |
return | resource |
public fhirUpdate ( scalar $id, StdClass $fhirObject ) | ||
$id | scalar | |
$fhirObject | StdClass |
public getLastModified ( scalar $id ) : integer | ||
$id | scalar | |
return | integer |
public static getResourceClass ( ) : string | ||
return | string |
public static getServiceName ( ) : string | ||
return | string |
public static getSupportedOperations ( ) : string[] | ||
return | string[] |
public static getSupportedSearchParams ( ) : string[] | ||
return | string[] |
public read ( scalar $id ) : resource | ||
$id | scalar | |
return | resource |
public static supportsOperation ( string $operation ) : boolean | ||
$operation | string | |
return | boolean |
public update ( scalar $id, |
||
$id | scalar | |
$resource |
protected static $operations |