ConfigurationRegistry
Constructors
Properties
Functions
Update this stored resources with the passed resource, or create it if not found. If the resource is a Metadata Resource save it in the Knowledge Manager
Using this FhirEngine and DispatcherProvider, for all passed resources, make sure they all have IDs or generate if they don't, then pass them to create.
Fetch non-patient Resources for the application that are not application configurations resources such as ResourceType.Questionnaire and ResourceType.StructureMap. ( ResourceType.Binary and ResourceType.Parameters are currently the only FHIR HL7 resources used to represent application configurations). These non-patients resource identifiers are also set in the section components of the Composition resource.
Populate application's configurations from the composition resource. Only Binary and Parameter Resources are used to represent application configurations. The configCacheMap is reset on every configs load.
Retrieve configuration for the provided ConfigType. The JSON retrieved from configsJsonMap can be directly converted to a FHIR resource or hard coded custom model. The filtering assumes you are passing data across screens, then later using it in DataQueries and to retrieve registerConfiguration. It is necessary to check that paramsMap is empty to confirm that the params used in the DataQuery are passed when retrieving the configurations.
Retrieve translation configuration for the provided bundleName. The Bundle value is retrieved from configsJsonMap can be directly converted to a ResourceBundle.
Retrieve configuration for the provided ConfigType. The JSON retrieved from configsJsonMap can be directly converted to a FHIR resource or hard coded custom model.