Skip to content

Latest commit

 

History

History
45 lines (38 loc) · 1.61 KB

README.md

File metadata and controls

45 lines (38 loc) · 1.61 KB

IHE-SDC-FHIR-Parser

The IHE SDC Parser takes a static IHE SDC Form and Converts each question and answer pair into FHIR Observations The FHIR Implementation Guide can be found here: https://simplifier.net/sdconfhir

License

The sdcparser project is made avaible via the MIT License - https://opensource.org/licenses/MIT

Project Type

sdcparser is a maven project (https://maven.apache.org/). The pom.xml contains the project structure and dependencies. Maven will package this project as a WAR file that can be deployed on to any application server such as Apache Tomcat (http://tomcat.apache.org/)

Generating a WAR file

To generate a WAR file, execute the following on the command line:

C:\sdcparser>mvn package

The WAR file will be geenerated to the /target folder

Libraries used

Build Commands:

make dev-up make dev-down docker logs sdcparser_worker_1 --tail 50 -f

AWS DevOps:

make aws-push

VS Code Docker

  1. Clone this repo with github desktop. Install VS Code & Docker Extension
  2. install/Start Docker Desktop
  3. right click on the docker-compose.yml file and click "Compose Up." This

Making a request

[base]/ will return an SDC form in XML base/

Optional Paremeters

Send to specific Server server = [FHIR Server endpoint the resources will be posted to] Ex: /sdcparser?server=http://test.fhir.org/r4

Return JSOn instead Optional Paremeters: format = json/xml Ex: /sdcparser?server=http://test.fhir.org/r4&format=json

Change bundle type to transaction: [base]?bundleType=transaction in JSON: [base]?bundleType=transaction&format=json