@aehrc/sdc-populate
v2.3.1
Published
Performs the $populate operation from the HL7 FHIR SDC (Structured Data Capture) specification: http://hl7.org/fhir/uv/sdc
Downloads
937
Readme
SDC-Populate
A Typescript reference implementation of the $populate operation from the HL7 FHIR Structured Data Capture Specification designed for Form Population.
Check out the API Reference for technical specifications.
Note for Vite users (or if you facing CommonJS/ESM issues)
If you are using Vite, you might need to add the following to your vite.config.ts
file:
This package is a CommonJS module for backwards compatibility with Node.js, so this configuration is required so that Vite can correctly bundle the module.
export default defineConfig({
// ...
optimizeDeps: {
include: [
'@aehrc/sdc-populate',
// other modules as required...
],
},
build: {
commonjsOptions: {
include: [
/node_modules/,
'@aehrc/sdc-populate',
// other modules as required...
]
}
}
});