Open rjduff-lil opened 4 years ago
Workaround: submit a POST request to insert a new Practitioner.
E.G.
curl -H "Content-Type: application/json+fhir; charset=UTF-8" -d "{
\"resourceType\": \"Practitioner\",
\"identifier\": [ {
\"system\": \"http://hl7.org/fhir/sid/us-npi\",
\"value\": \"160\"
} ],
\"active\": true,
\"name\": [ {
\"family\": \"Armitage\",
\"given\": [ \"Henry\" ],
\"prefix\": [ \"Dr.\" ]
} ],
\"address\": [ {
\"line\": [ \"13 MISKATONIC AVENUE\" ],
\"city\": \"ARKHAM\",
\"state\": \"MA\",
\"postalCode\": \"01970\",
\"country\": \"US\"
} ],
\"gender\": \"male\"
}" -X POST http://localhost:4002/hapi-fhir-jpaserver/fhir/Practitioner?_format=json&_pretty=true
It seems the current docker image is lacking a set of Providers/Practitioners for its DSTU2 dataset, which is making it impossible for our app to launch in the DSTU2 configuration.
Steps to reproduce:
Contrast:
COREPRACTITIONER1,SMART-1234,COREPRACTITIONER4
I've tried switching the dataset as described here: https://github.com/smart-on-fhir/smart-dev-sandbox#choosing-a-dataset, but the volumes were already set with
R2_IMAGE=smartonfhir/hapi-5:r2-full
.Other configurations work (R3/R4), only R2 seems broken for me.
Any help would be appreciated, as we wish to have a full suite of FHIR versions to test against.