Retrieves a FHIR R5 Observation resource.
const url = 'http://api.probatix.localhost/fhir/r5/observations/example?XDEBUG_SESSION=PHPSTORM';const options = { method: 'GET', headers: {'accept-language': 'de', 'X-API-TOKEN': '<X-API-TOKEN>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://api.probatix.localhost/fhir/r5/observations/example?XDEBUG_SESSION=PHPSTORM' \ --header 'X-API-TOKEN: <X-API-TOKEN>' \ --header 'accept-language: de'Retrieves a FHIR R5 Observation resource.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”FHIR R5 Observation identifier
Header Parameters
Section titled “Header Parameters”Language for Errors and Translatable properties
Example
deQuery Parameters
Section titled “Query Parameters”Xdebug session for debugging
Example
?XDEBUG_SESSION=PHPSTORMResponses
Section titled “Responses”FHIR R5 Observation resource
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
Example
{ "resourceType": "Observation", "identifier": [ { "use": "2986-8", "codeableConcept": { "coding": [ { "system": "http://loinc.org", "code": "AAA-000" } ] }, "system": "http://loinc.org", "period": { "start": "2025-01-09T13:48:29+01:00", "end": "2025-01-09T13:48:29+01:00" }, "reference": { "type": "observations/1" } } ], "instantiatesCanonical": "http://orders.probatix.de/fhir/r5/observation_definitions/", "instantiatesReference": { "type": "observations/1" }, "basedOn": [ { "type": "observations/1" } ], "partOf": [ { "type": "observations/1" } ], "status": "final", "category": [ { "coding": [ { "system": "http://loinc.org", "code": "AAA-000" } ] } ], "code": { "coding": [ { "system": "http://loinc.org", "code": "AAA-000" } ] }, "subject": { "type": "observations/1" }, "focus": [ { "type": "observations/1" } ], "encounter": { "type": "observations/1" }, "effectiveDateTime": "2025-01-09T13:48:29+01:00", "effectivePeriod": { "start": "2025-01-09T13:48:29+01:00", "end": "2025-01-09T13:48:29+01:00" }, "performer": [ { "type": "observations/1" } ], "valueCodeableConcept": { "coding": [ { "system": "http://loinc.org", "code": "AAA-000" } ] }, "valueTime": "12:00:00", "valueDateTime": "2025-01-09T13:48:29+01:00", "valuePeriod": { "start": "2025-01-09T13:48:29+01:00", "end": "2025-01-09T13:48:29+01:00" }, "valueReference": { "type": "observations/1" }, "dataAbsentReason": { "coding": [ { "system": "http://loinc.org", "code": "AAA-000" } ] }, "interpretation": [ { "coding": [ { "system": "http://loinc.org", "code": "AAA-000" } ] } ], "bodySite": { "coding": [ { "system": "http://loinc.org", "code": "AAA-000" } ] }, "bodyStructure": { "type": "observations/1" }, "method": { "coding": [ { "system": "http://loinc.org", "code": "AAA-000" } ] }, "specimen": { "type": "observations/1" }, "device": { "type": "observations/1" }, "hasMember": [ { "type": "observations/1" } ], "derivedFrom": [ { "type": "observations/1" } ], "meta": [ { "source": "http://loinc.org", "security": [ { "system": "http://loinc.org", "code": "AAA-000" } ], "tag": [ { "system": "http://loinc.org", "code": "AAA-000" } ] } ], "language": "de"}Unauthorized
A representation of common errors.
object
A short, human-readable summary of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
A URI reference that identifies the problem type
Example
{ "@context": { "hydra": "http://www.w3.org/ns/hydra/core#" }, "status": 400}A representation of common errors.
object
A short, human-readable summary of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
A URI reference that identifies the problem type
Example
{ "status": 400}A representation of common errors.
object
A short, human-readable summary of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
A URI reference that identifies the problem type
Example
{ "status": 400}Forbidden
A representation of common errors.
object
A short, human-readable summary of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
A URI reference that identifies the problem type
Example
{ "@context": { "hydra": "http://www.w3.org/ns/hydra/core#" }, "status": 400}A representation of common errors.
object
A short, human-readable summary of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
A URI reference that identifies the problem type
Example
{ "status": 400}A representation of common errors.
object
A short, human-readable summary of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
A URI reference that identifies the problem type
Example
{ "status": 400}Not found
A representation of common errors.
object
A short, human-readable summary of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
A URI reference that identifies the problem type
Example
{ "@context": { "hydra": "http://www.w3.org/ns/hydra/core#" }, "status": 400}A representation of common errors.
object
A short, human-readable summary of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
A URI reference that identifies the problem type
Example
{ "status": 400}A representation of common errors.
object
A short, human-readable summary of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
A URI reference that identifies the problem type
Example
{ "status": 400}