ServiceRequest
ServiceRequest returns information about an order.
Query
Endpoint
GET <serveraddress>/fhir/ServiceRequest
Parameter
Parameter | Query example | Description |
---|---|---|
id | <endpoint>/<id> | the technical id of the order |
identifier | <endpoint>?identifier=<identifier> | the external identifier of the order |
status | <endpoint>?status=draft|active|revoked|completed | the status of the order |
Combinations of search parameters are not supported.
Searching identifiers with a specific system or the internal identifier are not supported.
Example
{ "resourceType": "ServiceRequest", "id": "servicerequest-example", "contained": [ { "resourceType": "Condition", "id": "condition-example", "code": { "coding": [ { "code": "DIAGNOSIS-1", "system": "http://www.qualitype.de/samples/fhir/CodeSystem/diagnoses", "display": "Diagnosis 1" } ] }, "subject": { "reference": "Patient/patient-example", "identifier": { "system": "http://www.acme.com/fhir/NamingSystem/patient-identifier", "value": "patient-extern-123" } } }, { "resourceType": "Medication", "id": "medication-example", "code": { "coding": [ { "code": "MEDICATION-1", "system": "http://www.qualitype.de/samples/fhir/CodeSystem/medications", "display": "Medication 1" } ] } } ], "extension": [ { "url": "http://www.qualitype.de/samples/fhir/StructureDefinition/notification-url", "valueUrl": "http://www.acme.com/notifyme" } ], "identifier": [ { "system": "http://www.acme.com/fhir/NamingSystem/servicerequest-identifier", "value": "order-extern-123" }, { "system": "http://www.qualitype.de/samples/fhir/NamingSystem/servicerequest-identifier", "value": "order-intern-123" } ], "status": "active", "intent": "order", "code": { "coding": [ { "code": "GOAL-1", "system": "http://www.qualitype.de/samples/fhir/CodeSystem/goals", "display": "Goal 1" } ] }, "subject": { "reference": "Patient/patient-example", "identifier": { "system": "http://www.acme.com/fhir/NamingSystem/patient-identifier", "value": "patient-extern-123" } }, "requester": { "reference": "Organization/acme" }, "reasonCode": [ { "coding": [ { "code": "INDICATION-1", "system": "http://www.qualitype.de/samples/fhir/CodeSystem/indications", "display": "Indication 1" } ] } ], "supportingInfo": [ { "reference": "#condition-example" }, { "reference": "#medication-example" } ], "specimen": [ { "reference": "Specimen/specimen-example", "identifier": { "system": "http://www.acme.com/fhir/NamingSystem/specimen-identifier", "value": "sample-extern-123" } } ] }