Closed ellykits closed 5 months ago
Could you potential use this to hard-code the initial config into an APK for a specific project?
Could you potentially use this to hard-code the initial config into an APK for a specific project?
Yes, we could if we enable this functionality for release apps.
Describe the feature request. Read and use content for configuration resources from the
configs/app/resources
directory in the assets directory. Ideally, any FHIR resource can be loaded into the application through the assets.Additional context The current implementation loads the configuration resources declared in the Composition (including Questionnaires, StructureMaps, PlanDefs, Lists, etc) by retrieving them from the server, which requires the device to be online. This enhancement should allow the user to create config directories for the resources inside
/configs/app/resources
. The resources directory name should be in lowercase format e.g.configs/app/resources/binary
,configs/app/resources/questionnaire
,configs/app/resources/structuremap
,configs/app/resources/plandefinition
, etc.Acceptance criteria
configs/appId/resources
directory.app/debug
Area path A list of ordered steps in the app on usage of the feature to support anyone testing it e.g. Code reviewer, QA e.g.
config/app/resources/questionnaire/add_household.json
app/debug
Implementation plan (For Engineers) The plan for implementing the solution e.g. via a description or a check list for the various ordered tasks that will need to be completed. _i.e. Describe how you intend to solve the problem
config/resources
directory.