Package org.hl7.fhir.utilities.graphql
Interface IGraphQLStorageServices
-
public interface IGraphQLStorageServices
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIGraphQLStorageServices.ReferenceResolution
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidlistResources(Object appInfo, String type, List<Argument> searchParams, List<org.hl7.fhir.instance.model.api.IBaseResource> matches)list the matching resources.org.hl7.fhir.instance.model.api.IBaseResourcelookup(Object appInfo, String type, String id)just get the identified resourceIGraphQLStorageServices.ReferenceResolutionlookup(Object appInfo, org.hl7.fhir.instance.model.api.IBaseResource context, org.hl7.fhir.instance.model.api.IBaseReference reference)given a reference inside a context, return what it references (including resolving internal references (e.g.org.hl7.fhir.instance.model.api.IBaseBundlesearch(Object appInfo, String type, List<Argument> searchParams)just perform a standard search, and return the bundle as you return to the client
-
-
-
Method Detail
-
lookup
IGraphQLStorageServices.ReferenceResolution lookup(Object appInfo, org.hl7.fhir.instance.model.api.IBaseResource context, org.hl7.fhir.instance.model.api.IBaseReference reference) throws FHIRException
given a reference inside a context, return what it references (including resolving internal references (e.g. start with #)- Throws:
FHIRException
-
lookup
org.hl7.fhir.instance.model.api.IBaseResource lookup(Object appInfo, String type, String id) throws FHIRException
just get the identified resource- Throws:
FHIRException
-
listResources
void listResources(Object appInfo, String type, List<Argument> searchParams, List<org.hl7.fhir.instance.model.api.IBaseResource> matches) throws FHIRException
list the matching resources. searchParams are the standard search params. this instanceof different to search because the server returns all matching resources, or an error. There instanceof no paging on this search- Throws:
FHIRException
-
search
org.hl7.fhir.instance.model.api.IBaseBundle search(Object appInfo, String type, List<Argument> searchParams) throws FHIRException
just perform a standard search, and return the bundle as you return to the client- Throws:
FHIRException
-
-