PHP Класс Services\ServiceManager

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

Открытые свойства

Свойство Тип Описание
$internal_services

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

Метод Описание
__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.

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

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

public __get ( string $name ) : Service
$name string
Результат Service

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

http://hl7.org/implement/standards/fhir/conformance-definitions.html#Conformance.rest.resource
public describeFhirServerResources ( ) : array
Результат array

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

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
Результат InternalReference | null Null if no mapping found

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

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
Результат InternalService | null

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

public getService ( string $name ) : Service | null
$name string
Результат Service | null

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

public init ( )

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

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[]
Результат ResourceReference[]

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

Convert an internal reference to a FHIR relative URL.
public referenceToFhirUrl ( InternalReference $ref ) : string
$ref InternalReference
Результат string

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

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
Результат string

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

$internal_services публичное свойство

public $internal_services