Skip to content

generating profile by using FSH and used it to connect FHIR server with hosxp

Notifications You must be signed in to change notification settings

kimmchii/fhir-fsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fhir-fsh

The purpose for the repository is to modify a profile utilizing in Thailand hospital by using FHIR Shorthand (FSH) as a tool for editting the diagnosis questions. for nore information and references

Sushi installation

Since this project is utilized from FSH, hence we should install and initialize it first (for more information) and the directory that contained with sushi would have structure like this. image1

Usage

In Observation_Diagnosis, you can put the files in fsh directory from input to your local project and edit it as much as you like. To calibrate the syntax, you can run sushi . and the result will be like this if there's no errors

image2

The json files will be generated in resources located in fsh-generated folder and you can post the files to hapi-fhir server by using Postman.
hapi-fhir jpaserver installation

In there's an error indicate that the server can't find the valueset related to LOINC or SNOMED, that's mean the codesystem is required, you need to upload it (loinc codesystem) to the server by using hapi-fhir-cli (hapi-fhir-cli installation step) by using the following command line

hapi-fhir-cli upload-terminology -d Downloads/Loinc_xx.x.zip -v r4 -t https://localhost:8080/fhir/ -u https://loinc.org

which xx.x is the version of the file we downloaded

About

generating profile by using FSH and used it to connect FHIR server with hosxp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published