package
0.0.0-20180827153403-cd152e6130c6
Repository: https://github.com/intervention-engine/fhir.git
Documentation: pkg.go.dev

# Functions

AbortNonJSONRequests is middleware that responds to any request that Accepts a format other than JSON with a 406 Not Acceptable status.
ConfigureIndexes ensures that all indexes listed in the provided indexes.conf file are part of the Mongodb fhir database.
No description provided by the author
NewBatchController creates a new BatchController based on the passed in DAL.
NewMongoDataAccessLayer returns an implementation of DataAccessLayer that is backed by a Mongo database.
NewResourceController creates a new resource controller for the passed in resource name and the passed in DataAccessLayer.
No description provided by the author
RegisterController registers the CRUD routes (and middleware) for a FHIR resource.
RegisterRoutes registers the routes for each of the FHIR resources.
RequestLoggerHandler is a handler intended to be used during debugging to log out the request details including the request headers and the request body.

# Variables

Although we got rid of the global in the fhir package, the ie project still needs it Once ie removes the dependency on the global, this should go away.
DefaultConfig is the default server configuration.
ErrMultipleMatches indicates that the conditional update query returned multiple matches.
ErrNotFound indicates an error.

# Structs

BatchController handles FHIR batch operations via input bundles.
Config is used to hold information about the configuration of the FHIR server.
No description provided by the author
ResourceController provides the necessary CRUD handlers for a given resource.

# Interfaces

DataAccessLayer is an interface for the various interactions that can occur on a FHIR data store.
ResourcePlusRelatedResources is an interface to capture those structs that implement the functions for getting included and rev-included resources.

# Type aliases

No description provided by the author
IndexMap is a map of index arrays with the collection name as the key.