PHP 클래스 Services\ServiceManager

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

공개 프로퍼티들

프로퍼티 타입 설명
$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

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