PHP Class Services\ServiceManager

Inheritance: extends CApplicationComponent
Afficher le fichier Open project: openeyes/openeyes Class Usage Examples

Méthodes publiques

Свойство Type Description
$internal_services

Méthodes publiques

Méthode Description
__get ( string $name ) : Service
describeFhirServerResources ( ) : array Describe FHIR REST server resources supported by the system.
fhirIdToReference ( string $fhir_type, string $fhir_id ) : InternalReference | null Convert a FHIR resource type and ID to an internal service reference.
getFhirService ( $fhir_type, array $profiles ) : InternalService | null Find an internal service for the specified FHIR resource type, using profiles to differentiate if necessary.
getService ( string $name ) : Service | null
init ( )
listFhirSupportedProfiles ( ) : ResourceReference[] List FHIR 'supported' profiles for the system.
referenceToFhirUrl ( InternalReference $ref ) : string Convert an internal reference to a FHIR relative URL.
serviceAndIdToFhirUrl ( string $service_name, integer $id ) : string Convert an internal service name and ID to a FHIR relative URL.

Method Details

__get() public méthode

public __get ( string $name ) : Service
$name string
Résultat Service

describeFhirServerResources() public méthode

http://hl7.org/implement/standards/fhir/conformance-definitions.html#Conformance.rest.resource
public describeFhirServerResources ( ) : array
Résultat array

fhirIdToReference() public méthode

Convert a FHIR resource type and ID to an internal service reference.
public fhirIdToReference ( string $fhir_type, string $fhir_id ) : InternalReference | null
$fhir_type string
$fhir_id string
Résultat InternalReference | null Null if no mapping found

getFhirService() public méthode

Find an internal service for the specified FHIR resource type, using profiles to differentiate if necessary.
public getFhirService ( $fhir_type, array $profiles ) : InternalService | null
$profiles array
Résultat InternalService | null

getService() public méthode

public getService ( string $name ) : Service | null
$name string
Résultat Service | null

init() public méthode

public init ( )

listFhirSupportedProfiles() public méthode

http://hl7.org/implement/standards/fhir/conformance-definitions.html#Conformance.profile From our point of view, this means profiles specific to each internal resource type.
public listFhirSupportedProfiles ( ) : ResourceReference[]
Résultat ResourceReference[]

referenceToFhirUrl() public méthode

Convert an internal reference to a FHIR relative URL.
public referenceToFhirUrl ( InternalReference $ref ) : string
$ref InternalReference
Résultat string

serviceAndIdToFhirUrl() public méthode

Convert an internal service name and ID to a FHIR relative URL.
public serviceAndIdToFhirUrl ( string $service_name, integer $id ) : string
$service_name string
$id integer
Résultat string

Property Details

$internal_services public_oe property

public $internal_services