Sign inSign up

aehrc/smart-forms-assemble

By aehrc

•Updated about 2 years ago

An ExpressJS Typescript reference implementation of the FHIR SDC $assemble operation.

Image
0

10K+

aehrc/smart-forms-assemble repository overview

⁠SDC $assemble ExpressJS service

An ExpressJS⁠ Typescript reference implementation of the $assemble⁠ operation from the HL7 FHIR Structured Data Capture Specification⁠. It builds on @aehrc/sdc-assemble⁠, nicely packaging it into an ExpressJS app that can be deployed as a microservice.

⁠Docker Usage

Run docker run -p 3002:3002 aehrc/smart-forms-assemble.

You can supply your docker run command environment variables. i.e.

docker run -p 3002:3002 -e FORMS_SERVER_URL=https://smartforms.csiro.au/api/fhir aehrc/smart-forms-assemble

⁠Optional environment variables

FORMS_SERVER_URL

FORMS_SERVER_AUTH_TOKEN

If FORMS_SERVER_URL is left empty, the service will use the request endpoint as the forms server URL.

i.e. Deploying this service on http://localhost:3001/fhir⁠ will result in calls to fetch subquestionnaires on the http://localhost:3001/fhir⁠ FHIR API during execution of the $assemble operation.

⁠Sample implementation

A sample implementation of this service is available at https://smartforms.csiro.au/api/fhir/Questionnaire/$assemble⁠.

Note: The $assemble service on https://smartforms.csiro.au/api/fhir⁠ only performs processing - it does not persist any data.

Tag summary

Content type

Image

Digest

sha256:33a175f26…

Size

76.9 MB

Last updated

about 2 years ago

docker pull aehrc/smart-forms-assemble