C# 클래스 Spark.Service.FhirService

파일 보기 프로젝트 열기: raysearchlabs/spark 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
generator IGenerator
index IFhirIndex
listener IServiceListener
localhost ILocalhost
pager Pager
snapshotstore ISnapshotStore
store IFhirStore
transfer Transfer

공개 메소드들

메소드 설명
AddMeta ( Key key, Hl7.Fhir.Model.Parameters parameters ) : Spark.Engine.Core.FhirResponse
ConditionalCreate ( IKey key, Hl7.Fhir.Model.Resource resource, string>.IEnumerable query ) : Spark.Engine.Core.FhirResponse
ConditionalDelete ( Key key, string>.IEnumerable parameters ) : Spark.Engine.Core.FhirResponse
ConditionalUpdate ( Key key, Hl7.Fhir.Model.Resource resource, Hl7.Fhir.Rest.SearchParams _params ) : Spark.Engine.Core.FhirResponse
Conformance ( ) : Spark.Engine.Core.FhirResponse
Create ( IKey key, Hl7.Fhir.Model.Resource resource ) : Spark.Engine.Core.FhirResponse

Create a new resource with a server assigned id.

Delete ( IKey key ) : Spark.Engine.Core.FhirResponse

Delete a resource.

Upon successful deletion the server should return * 204 (No Content). * If the resource does not exist on the server, the server must return 404 (Not found). * Performing this operation on a resource that is already deleted has no effect, and should return 204 (No Content).

FhirService ( Infrastructure infrastructure ) : System
GetPage ( string snapshotkey, int index, int count ) : Spark.Engine.Core.FhirResponse
HandleInteraction ( Spark.Engine.Core.Interaction interaction ) : Spark.Engine.Core.FhirResponse
History ( DateTimeOffset since, string sortby ) : Spark.Engine.Core.FhirResponse
History ( Key key, DateTimeOffset since, string sortby ) : Spark.Engine.Core.FhirResponse
History ( string type, DateTimeOffset since, string sortby ) : Spark.Engine.Core.FhirResponse
Mailbox ( Hl7.Fhir.Model.Bundle bundle, Hl7.Fhir.Model.Binary body ) : Spark.Engine.Core.FhirResponse
Put ( IKey key, Hl7.Fhir.Model.Resource resource ) : Spark.Engine.Core.FhirResponse
Read ( Key key ) : Spark.Engine.Core.FhirResponse
ReadMeta ( Key key ) : Spark.Engine.Core.FhirResponse
Search ( string type, string>.IEnumerable parameters, int pageSize, string sortby ) : Spark.Engine.Core.FhirResponse
Search ( string type, Hl7.Fhir.Rest.SearchParams searchCommand ) : Spark.Engine.Core.FhirResponse
Transaction ( Hl7.Fhir.Model.Bundle bundle ) : Spark.Engine.Core.FhirResponse
Transaction ( IList interactions ) : Spark.Engine.Core.FhirResponse
Update ( IKey key, Hl7.Fhir.Model.Resource resource ) : Spark.Engine.Core.FhirResponse

Updates a resource if it exist on the given id, or creates the resource if it is new. If a VersionId is included a version specific update will be attempted.

ValidateOperation ( Key key, Hl7.Fhir.Model.Resource resource ) : Spark.Engine.Core.FhirResponse
VersionRead ( Key key ) : Spark.Engine.Core.FhirResponse

Read the state of a specific version of the resource.

If the version referred to is actually one where the resource was deleted, the server should return a 410 status code.

VersionSpecificUpdate ( IKey versionedkey, Hl7.Fhir.Model.Resource resource ) : Spark.Engine.Core.FhirResponse

비공개 메소드들

메소드 설명
Store ( Spark.Engine.Core.Interaction interaction ) : void

메소드 상세

AddMeta() 공개 메소드

public AddMeta ( Key key, Hl7.Fhir.Model.Parameters parameters ) : Spark.Engine.Core.FhirResponse
key Key
parameters Hl7.Fhir.Model.Parameters
리턴 Spark.Engine.Core.FhirResponse

ConditionalCreate() 공개 메소드

public ConditionalCreate ( IKey key, Hl7.Fhir.Model.Resource resource, string>.IEnumerable query ) : Spark.Engine.Core.FhirResponse
key IKey
resource Hl7.Fhir.Model.Resource
query string>.IEnumerable
리턴 Spark.Engine.Core.FhirResponse

ConditionalDelete() 공개 메소드

public ConditionalDelete ( Key key, string>.IEnumerable parameters ) : Spark.Engine.Core.FhirResponse
key Key
parameters string>.IEnumerable
리턴 Spark.Engine.Core.FhirResponse

ConditionalUpdate() 공개 메소드

public ConditionalUpdate ( Key key, Hl7.Fhir.Model.Resource resource, Hl7.Fhir.Rest.SearchParams _params ) : Spark.Engine.Core.FhirResponse
key Key
resource Hl7.Fhir.Model.Resource
_params Hl7.Fhir.Rest.SearchParams
리턴 Spark.Engine.Core.FhirResponse

Conformance() 공개 메소드

public Conformance ( ) : Spark.Engine.Core.FhirResponse
리턴 Spark.Engine.Core.FhirResponse

Create() 공개 메소드

Create a new resource with a server assigned id.
public Create ( IKey key, Hl7.Fhir.Model.Resource resource ) : Spark.Engine.Core.FhirResponse
key IKey
resource Hl7.Fhir.Model.Resource The data for the Resource to be created
리턴 Spark.Engine.Core.FhirResponse

Delete() 공개 메소드

Delete a resource.
Upon successful deletion the server should return * 204 (No Content). * If the resource does not exist on the server, the server must return 404 (Not found). * Performing this operation on a resource that is already deleted has no effect, and should return 204 (No Content).
public Delete ( IKey key ) : Spark.Engine.Core.FhirResponse
key IKey
리턴 Spark.Engine.Core.FhirResponse

FhirService() 공개 메소드

public FhirService ( Infrastructure infrastructure ) : System
infrastructure Spark.Core.Infrastructure
리턴 System

GetPage() 공개 메소드

public GetPage ( string snapshotkey, int index, int count ) : Spark.Engine.Core.FhirResponse
snapshotkey string
index int
count int
리턴 Spark.Engine.Core.FhirResponse

HandleInteraction() 공개 메소드

public HandleInteraction ( Spark.Engine.Core.Interaction interaction ) : Spark.Engine.Core.FhirResponse
interaction Spark.Engine.Core.Interaction
리턴 Spark.Engine.Core.FhirResponse

History() 공개 메소드

public History ( DateTimeOffset since, string sortby ) : Spark.Engine.Core.FhirResponse
since DateTimeOffset
sortby string
리턴 Spark.Engine.Core.FhirResponse

History() 공개 메소드

public History ( Key key, DateTimeOffset since, string sortby ) : Spark.Engine.Core.FhirResponse
key Key
since DateTimeOffset
sortby string
리턴 Spark.Engine.Core.FhirResponse

History() 공개 메소드

public History ( string type, DateTimeOffset since, string sortby ) : Spark.Engine.Core.FhirResponse
type string
since DateTimeOffset
sortby string
리턴 Spark.Engine.Core.FhirResponse

Mailbox() 공개 메소드

public Mailbox ( Hl7.Fhir.Model.Bundle bundle, Hl7.Fhir.Model.Binary body ) : Spark.Engine.Core.FhirResponse
bundle Hl7.Fhir.Model.Bundle
body Hl7.Fhir.Model.Binary
리턴 Spark.Engine.Core.FhirResponse

Put() 공개 메소드

public Put ( IKey key, Hl7.Fhir.Model.Resource resource ) : Spark.Engine.Core.FhirResponse
key IKey
resource Hl7.Fhir.Model.Resource
리턴 Spark.Engine.Core.FhirResponse

Read() 공개 메소드

public Read ( Key key ) : Spark.Engine.Core.FhirResponse
key Key
리턴 Spark.Engine.Core.FhirResponse

ReadMeta() 공개 메소드

public ReadMeta ( Key key ) : Spark.Engine.Core.FhirResponse
key Key
리턴 Spark.Engine.Core.FhirResponse

Search() 공개 메소드

public Search ( string type, string>.IEnumerable parameters, int pageSize, string sortby ) : Spark.Engine.Core.FhirResponse
type string
parameters string>.IEnumerable
pageSize int
sortby string
리턴 Spark.Engine.Core.FhirResponse

Search() 공개 메소드

public Search ( string type, Hl7.Fhir.Rest.SearchParams searchCommand ) : Spark.Engine.Core.FhirResponse
type string
searchCommand Hl7.Fhir.Rest.SearchParams
리턴 Spark.Engine.Core.FhirResponse

Transaction() 공개 메소드

public Transaction ( Hl7.Fhir.Model.Bundle bundle ) : Spark.Engine.Core.FhirResponse
bundle Hl7.Fhir.Model.Bundle
리턴 Spark.Engine.Core.FhirResponse

Transaction() 공개 메소드

public Transaction ( IList interactions ) : Spark.Engine.Core.FhirResponse
interactions IList
리턴 Spark.Engine.Core.FhirResponse

Update() 공개 메소드

Updates a resource if it exist on the given id, or creates the resource if it is new. If a VersionId is included a version specific update will be attempted.
public Update ( IKey key, Hl7.Fhir.Model.Resource resource ) : Spark.Engine.Core.FhirResponse
key IKey
resource Hl7.Fhir.Model.Resource
리턴 Spark.Engine.Core.FhirResponse

ValidateOperation() 공개 메소드

public ValidateOperation ( Key key, Hl7.Fhir.Model.Resource resource ) : Spark.Engine.Core.FhirResponse
key Key
resource Hl7.Fhir.Model.Resource
리턴 Spark.Engine.Core.FhirResponse

VersionRead() 공개 메소드

Read the state of a specific version of the resource.
If the version referred to is actually one where the resource was deleted, the server should return a 410 status code.
public VersionRead ( Key key ) : Spark.Engine.Core.FhirResponse
key Key
리턴 Spark.Engine.Core.FhirResponse

VersionSpecificUpdate() 공개 메소드

public VersionSpecificUpdate ( IKey versionedkey, Hl7.Fhir.Model.Resource resource ) : Spark.Engine.Core.FhirResponse
versionedkey IKey
resource Hl7.Fhir.Model.Resource
리턴 Spark.Engine.Core.FhirResponse

프로퍼티 상세

generator 보호되어 있는 프로퍼티

protected IGenerator generator
리턴 IGenerator

index 보호되어 있는 프로퍼티

protected IFhirIndex index
리턴 IFhirIndex

listener 보호되어 있는 프로퍼티

protected IServiceListener listener
리턴 IServiceListener

localhost 보호되어 있는 프로퍼티

protected ILocalhost localhost
리턴 ILocalhost

pager 보호되어 있는 프로퍼티

protected Pager,Spark.Service pager
리턴 Pager

snapshotstore 보호되어 있는 프로퍼티

protected ISnapshotStore snapshotstore
리턴 ISnapshotStore

store 보호되어 있는 프로퍼티

protected IFhirStore store
리턴 IFhirStore

transfer 보호되어 있는 프로퍼티

protected Transfer,Spark.Service transfer
리턴 Transfer