...
Endpoint | Method | RequestBody | Auth header |
---|---|---|---|
https://aggregated-fhir.sandbox.patietnsknowbestpatientsknowbest.com/fhir/Questionnaire/questionnaireID/$send-questionnaire-request | POST | parameters: 0..* target 0..1 additionalIdentifier (optional) 0..1 notificaitionFlag
| Authorization: Bearer <Keycloak token> x-team-id: <UUID> |
...
Code Block |
---|
POST https://aggregated-fhir.sandbox.patietnsknowbestpatientsknowbest.com/fhir/Questionnaire/bd17e556-20e3-4f01-8078-30e5f675b0f2/$send-questionnaire-request |
...
curl -X POST --header "Accept: application/fhir+json" --header "Content-Type: application/fhir+json" --header "Authorization: Bearer aaaaa-bbbbb" --header “x-team-id: 235a397b-1ae8-4755-9c77-1a0e2fbc5314” "https://aggregated-fhir.sandbox.patietnsknowbestpatientsknowbest.com/fhir/Questionnaire/bd17e556-20e3-4f01-8078-30e5f675b0f2/$send-questionnaire-request" --data "{ \"resourceType\":\"Parameters\", \"parameter\":[ { \"name\":\"target\", \"valueReference\":{ \"reference\": \”Patient/a81e46b1-f953-4599-9721-81e66aa67c34”\: } ,{\"name\":\"notificationFlag\", \"valueCode\":\”True”\ ] }"
...
curl -X POST --header "Accept: application/fhir+json" --header "Content-Type: application/fhir+json" --header "Authorization: Bearer aaaaa-bbbbb" --header “x-team-id: 235a397b-1ae8-4755-9c77-1a0e2fbc5314” "https://aggregated-fhir.sandbox.patietnsknowbestpatientsknowbest.com/fhir/Questionnaire/bd17e556-20e3-4f01-8078-30e5f675b0f2/$send-questionnaire-request" --data "{ \"resourceType\":\"Parameters\", \"parameter\":[ { \"name\":\"target\", \"valueReference\":{ \"reference\": \”Patient/a81e46b1-f953-4599-9721-81e66aa67c34”\: } ,{\"name\":\"notificationFlag\", \"valueCode\":\”True”\ ] }"
...
Code Block |
---|
GET https://aggregated-fhir.sandbox.patietnsknowbestpatientsknowbest.com/fhir/Questionnaire |
The following search parameters can be used to search for Questionnaire resources:
...
curl -X GET --header "Accept: application/fhir+json" --header "Authorization: Bearer aaaaa-bbbbb" --header "x-team-id: 235a397b-1ae8-4755-9c77-1a0e2fbc5314" “https://aggregated-fhir.sandbox.patietnsknowbestpatientsknowbest.com/fhir/Questionnaire/"
...
curl -X GET --header "Accept: application/fhir+json" --header "Authorization: Bearer aaaaa-bbbbb" --header "x-team-id: 235a397b-1ae8-4755-9c77-1a0e2fbc5314" “https://aggregated-fhir.sandbox.patietnsknowbestpatientsknowbest.com/fhir/Questionnaire/bd17e556-20e3-4f01-8078-30e5f675b0f2"
...
curl -X GET --header "Accept: application/fhir+json" --header "Authorization: Bearer aaaaa-bbbbb" --header "x-team-id: 235a397b-1ae8-4755-9c77-1a0e2fbc5314" “https://aggregated-fhir.sandbox.patietnsknowbestpatientsknowbest.com/fhir/Questionnaire/"
...
Code Block |
---|
GET https://aggregated-fhir.sandbox.patietnsknowbestpatientsknowbest.com/fhir/QuestionnaireResponse |
...
curl -X GET --header "Accept: application/fhir+json" --header "Authorization: Bearer aaaaa-bbbbb" --header “x-team-id: 235a397b-1ae8-4755-9c77-1a0e2fbc5314” "https://aggregated-fhir.sandbox.patietnsknowbestpatientsknowbest.com/fhir/QuestionnaireResponse"
...
curl -X GET --header "Accept: application/fhir+json" --header "Authorization: Bearer eyJhbGxxxx" --header “x-team-id: 235a397b-1ae8-4755-9c77-1a0e2fbc5314” "https://aggregated-fhir.sandbox.patietnsknowbestpatientsknowbest.com/fhir/QuestionnaireResponse
...