Package org.hl7.fhir.utilities.graphql
Interface IGraphQLStorageServices
public interface IGraphQLStorageServices
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidlistResources(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.IBaseResourcejust get the identified resourcelookup(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.IBaseBundlejust perform a standard search, and return the bundle as you return to the client
-
Method Details
-
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
-