https://github.com/beda-software/fhir-questionnaire
A set of TypeScript components and utilities to work with Questionnaire and QuestionnaireResponse resources
https://github.com/beda-software/fhir-questionnaire
Last synced: 11 months ago
JSON representation
A set of TypeScript components and utilities to work with Questionnaire and QuestionnaireResponse resources
- Host: GitHub
- URL: https://github.com/beda-software/fhir-questionnaire
- Owner: beda-software
- License: mit
- Created: 2024-01-15T20:02:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-06-05T12:11:37.000Z (about 1 year ago)
- Last Synced: 2025-06-05T13:24:49.323Z (about 1 year ago)
- Language: TypeScript
- Size: 274 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Installation instructions
- Add this repository as a project dependency
```sh
git submodule add 'https or git repository link' packages/@beda.software/fhir-questionnaire/
```
- Update your project `package.json` with `yarn` workspaces configuration
```json
{
...,
"private": true,
"workspaces": [
"packages/@beda.software/fhir-questionnaire"
],
"dependencies": {
...,
"@beda.software/fhir-questionnaire": "1.0.0",
...
}
}
```
Note that CRA-based applications do not allow ts or tsx to be transpilled outside of the `src` folder, so the workspace package might need to be installed under `src/packages/@beda.software/fhir-questionnaire` instead.
- Link workspace as a project dependency
```sh
yarn install
```
Please refer to the official `yarn` documentation for additional details on [yarn workspace](https://classic.yarnpkg.com/lang/en/docs/workspaces/) usage.
# Development
Make sure global dependencies (like `react`) are defined as peer-dependencies.
`yarn workspace @beda.software/fhir-questionnaire cmd` can be used while in a root project to manage submodule dependecies (when needed).