https://github.com/beda-software/smart-form-ide
https://github.com/beda-software/smart-form-ide
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/beda-software/smart-form-ide
- Owner: beda-software
- License: mit
- Created: 2024-06-17T00:34:43.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-16T01:38:11.000Z (almost 2 years ago)
- Last Synced: 2025-03-13T07:03:16.576Z (over 1 year ago)
- Language: TypeScript
- Size: 673 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# smart-form-ide
## Live demo environment
[https://ide.au-core.beda.software/AboriginalTorresStraitIslanderHealthCheck?client=sdc-ide](https://ide.au-core.beda.software/AboriginalTorresStraitIslanderHealthCheck?client=sdc-ide)
Use
```
username: admin
password: password
```
to authorize.
## Local development
Setup dependencies
```
git submodule update --init
yarn
```
Start dev server
```
yarn start
```
Launch application [http://localhost:3001/AboriginalTorresStraitIslanderHealthCheck?client=sdc-ide-local](http://localhost:3001/AboriginalTorresStraitIslanderHealthCheck?client=sdc-ide-local)
Use
```
username: admin
password: password
```
to authorize.
Mapper sample
```
map "http://emr.beda.software/StructureMap/extract-patient" = "extract-patient"
uses "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" as source
uses "http://hl7.org/fhir/StructureDefinition/Patient" as target
group patientMap(source src : QuestionnaireResponse, target patient : Patient) {
src.item as item where linkId = 'fd5af92e-c248-497a-8007-ee0952ccd4d9' -> patient.name = create("HumanName") as name then {
item.item as nItem where linkId = '5b224753-9365-44e3-823b-9c17e7394005' -> name.family = (%nItem.item.answer.value) ;
};
}
```