Load zen profiles into Aidbox
Enable the US Core Implementation Guide, extend it with profile and validate data against it
Last updated
Was this helpful?
Enable the US Core Implementation Guide, extend it with profile and validate data against it
Last updated
Was this helpful?
Install the Aidbox following .
In the .env
file find the line starting with AIDBOX_IMAGE
and edit it to be like this if it is not:
The Aidbox starter repository you cloned by following the guide from is already a zen project. It has zen-package.edn
, the project package file, and zrc/system.edn
, the project entry file.
Update zen-package.edn
so that it reflects information about the new project’ dependencies.
A dependency is any other zen project. It is common to include FHIR IG packages this way. We provide a number of which you can use similarly to the example above.
You also need to update an entry file, zrc/system.edn
. It is used, among other things, for importing and loading all the project’s files, including its dependencies.
Add my-profiles
namespace to the entry file imports.
Add AIDBOX_ZEN_DEV_MODE=enable
to your.env
file:
Now Aidbox will automatically reload when changes are made in the project. Note that this feature is a work in progress and some things may not reload properly.
Start Aidbox.
Open Aidbox in your browser and click Profiles
tab in the left menu:
You should see the list of zen namespaces loaded.
Open your profile by clicking its name
Test the data against this profile using validate tab
If your profile is tagged zen.fhir/profile-schema
it can be used to validate your data
On FHIR CRUD API requests a profile will be applied if data includes :zen.fhir/profileUri
in the meta.profile
attribute:
If you want more tips about development and production usage, visit the links below:
Refer to if you want to learn more about zen projects.
See used on this page.