C# Class Spark.Service.FhirService

Afficher le fichier Open project: raysearchlabs/spark Class Usage Examples

Protected Properties

Свойство Type Description
generator IGenerator
index IFhirIndex
listener IServiceListener
localhost ILocalhost
pager Pager
snapshotstore ISnapshotStore
store IFhirStore
transfer Transfer

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
Store ( Spark.Engine.Core.Interaction interaction ) : void

Method Details

AddMeta() public méthode

public AddMeta ( Key key, Hl7.Fhir.Model.Parameters parameters ) : Spark.Engine.Core.FhirResponse
key Key
parameters Hl7.Fhir.Model.Parameters
Résultat Spark.Engine.Core.FhirResponse

ConditionalCreate() public méthode

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
Résultat Spark.Engine.Core.FhirResponse

ConditionalDelete() public méthode

public ConditionalDelete ( Key key, string>.IEnumerable parameters ) : Spark.Engine.Core.FhirResponse
key Key
parameters string>.IEnumerable
Résultat Spark.Engine.Core.FhirResponse

ConditionalUpdate() public méthode

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
Résultat Spark.Engine.Core.FhirResponse

Conformance() public méthode

public Conformance ( ) : Spark.Engine.Core.FhirResponse
Résultat Spark.Engine.Core.FhirResponse

Create() public méthode

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
Résultat Spark.Engine.Core.FhirResponse

Delete() public méthode

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
Résultat Spark.Engine.Core.FhirResponse

FhirService() public méthode

public FhirService ( Infrastructure infrastructure ) : System
infrastructure Spark.Core.Infrastructure
Résultat System

GetPage() public méthode

public GetPage ( string snapshotkey, int index, int count ) : Spark.Engine.Core.FhirResponse
snapshotkey string
index int
count int
Résultat Spark.Engine.Core.FhirResponse

HandleInteraction() public méthode

public HandleInteraction ( Spark.Engine.Core.Interaction interaction ) : Spark.Engine.Core.FhirResponse
interaction Spark.Engine.Core.Interaction
Résultat Spark.Engine.Core.FhirResponse

History() public méthode

public History ( DateTimeOffset since, string sortby ) : Spark.Engine.Core.FhirResponse
since DateTimeOffset
sortby string
Résultat Spark.Engine.Core.FhirResponse

History() public méthode

public History ( Key key, DateTimeOffset since, string sortby ) : Spark.Engine.Core.FhirResponse
key Key
since DateTimeOffset
sortby string
Résultat Spark.Engine.Core.FhirResponse

History() public méthode

public History ( string type, DateTimeOffset since, string sortby ) : Spark.Engine.Core.FhirResponse
type string
since DateTimeOffset
sortby string
Résultat Spark.Engine.Core.FhirResponse

Mailbox() public méthode

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
Résultat Spark.Engine.Core.FhirResponse

Put() public méthode

public Put ( IKey key, Hl7.Fhir.Model.Resource resource ) : Spark.Engine.Core.FhirResponse
key IKey
resource Hl7.Fhir.Model.Resource
Résultat Spark.Engine.Core.FhirResponse

Read() public méthode

public Read ( Key key ) : Spark.Engine.Core.FhirResponse
key Key
Résultat Spark.Engine.Core.FhirResponse

ReadMeta() public méthode

public ReadMeta ( Key key ) : Spark.Engine.Core.FhirResponse
key Key
Résultat Spark.Engine.Core.FhirResponse

Search() public méthode

public Search ( string type, string>.IEnumerable parameters, int pageSize, string sortby ) : Spark.Engine.Core.FhirResponse
type string
parameters string>.IEnumerable
pageSize int
sortby string
Résultat Spark.Engine.Core.FhirResponse

Search() public méthode

public Search ( string type, Hl7.Fhir.Rest.SearchParams searchCommand ) : Spark.Engine.Core.FhirResponse
type string
searchCommand Hl7.Fhir.Rest.SearchParams
Résultat Spark.Engine.Core.FhirResponse

Transaction() public méthode

public Transaction ( Hl7.Fhir.Model.Bundle bundle ) : Spark.Engine.Core.FhirResponse
bundle Hl7.Fhir.Model.Bundle
Résultat Spark.Engine.Core.FhirResponse

Transaction() public méthode

public Transaction ( IList interactions ) : Spark.Engine.Core.FhirResponse
interactions IList
Résultat Spark.Engine.Core.FhirResponse

Update() public méthode

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
Résultat Spark.Engine.Core.FhirResponse

ValidateOperation() public méthode

public ValidateOperation ( Key key, Hl7.Fhir.Model.Resource resource ) : Spark.Engine.Core.FhirResponse
key Key
resource Hl7.Fhir.Model.Resource
Résultat Spark.Engine.Core.FhirResponse

VersionRead() public méthode

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
Résultat Spark.Engine.Core.FhirResponse

VersionSpecificUpdate() public méthode

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

Property Details

generator protected_oe property

protected IGenerator generator
Résultat IGenerator

index protected_oe property

protected IFhirIndex index
Résultat IFhirIndex

listener protected_oe property

protected IServiceListener listener
Résultat IServiceListener

localhost protected_oe property

protected ILocalhost localhost
Résultat ILocalhost

pager protected_oe property

protected Pager,Spark.Service pager
Résultat Pager

snapshotstore protected_oe property

protected ISnapshotStore snapshotstore
Résultat ISnapshotStore

store protected_oe property

protected IFhirStore store
Résultat IFhirStore

transfer protected_oe property

protected Transfer,Spark.Service transfer
Résultat Transfer