Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 

Code Block
languagebash
titleBuild image:
 sudo docker build -t="opencds/hspc:ubuntu" .
Code Block
languagebash
titleCreate container:
sudo docker run -d -p 8080:8080 -p 2222:22 --name hspc opencds/hspc:ubuntu
Code Block
languagebash
titleImport sample patient data:
# The sandbox must be running
cd hspc/hsp-tools/tools/target
java -jar hsp-tools.jar org.hspconsortium.DataLoad -url http://localhost:8080/hsp-api/data

Test the Installation

  1. Open a browser and go to: http://localhost:8080/hsp-reference-apps
  2. Log in with "demo/demo"
  3. Select a patient 
  4. Select an application

 Issue a Test Query Against Your Unsecured RESTful API Server
http://localhost:8080/hsp-api/data/Patient?_format=json - This should result in aJSON FHIR bundle containing all the default patients in the system.