Overview
Social History is represented using Observation FHIR Resource. Observations are a central element in healthcare, used to support diagnosis, monitor progress, determine baselines and patterns and even capture demographic characteristics, as well as capture results of tests performed on products and substances. Most observations are simple name/value pair assertions with some metadata, but some observations group other observations together logically, or even are multi-component observations. Each Observation has next elements:- a status
- a category code of “social-history”
- a code
- a patient
- a category code of ‘sdoh’
- a time indicating when observation was made
- who answered the questions
- a value
- See the SDOH guidance page for how this profile can used to represent SDOH assessments.1
- Observations that are formally derived from an assessment tool or survey should use the US Core Observation Survey Profile. However, simple assertion may be derived from a screening tool assessments and can reference them using Observation.derivedFrom.
- The codes can be from LOINC or SNOMED CT.
- Often the pattern for these types of observations that the Observation.code indicates a statement about findings and the Observation.value is present and “qualifies” the finding typically confirming or refuting it. For example:
value: true This resource conforms to USCDI V2 profile for Observation - refer to US Core Observation Social History Profile. Observation response will be provided in JSON (refers to Capability Statement) format as per FHIR standard R4 version.
| USCore Data Element | FHIR Resource Field |
|---|---|
| status | Observation.status |
| a category code of “social-history” | Observation.category |
| a code | Observation.code |
| a patient | Observation.subject |
| a category code of ‘sdoh’ | Observation.category |
| a time indicating when observation was made | Observation.effective[x] |
| who answered the questions | Observation.performer |
| a value | Observation.value[x] |
Must support elements, mandatory and optional search parameters
Observationmust support these elements:statusSlices for categorycategory:us-core/social-historycategory:sdoh
codesubjecteffectiveDateTimeperformervalue[x]valueQuantityvalueStringvalueBooleanvalueCodeableConcept
GET [base url]/Observation?patient={Type/}[id]&category=http://terminology.hl7.org/CodeSystem/observation-category|social-history
SHALL support searching for all Observations for a patient and code search parameters:
- including optional support for OR search on code (e.g.code={system|}|{code},{system|}|{code},…)
GET [base url]/Observation?patient={Type/}[id]&code={system|}|{code}{,{system|}|{code},...}}
- including support for these date comparators: gt,lt,ge,le
- including optional support for AND search on date (e.g.date={date}&date={date}&…)
GET [base url]/Observation?patient={Type/}[id]&category=http://terminology.hl7.org/CodeSystem/observation-category|social-history&date={gt|lt|ge|le}{date}{&date={gt|lt|ge|le}{date}&...}
- including support for OR search on status (e.g.status={system|}|{code},{system|}|{code},…)
GET [base url]/Observation?patient={Type/}[id]&category=http://terminology.hl7.org/CodeSystem/observation-category|social-history&status={system|}|{code}{,{system|}|{code},...}
- including optional support for OR search on code (e.g.code={system|}|{code},{system|}|{code},…)
- including support for these date comparators: gt,lt,ge,le
- including optional support for AND search on date (e.g.date={date}&date={date}}&…)
GET [base url]/Observation?patient={Type/}[id]&code={system|}|{code}{,{system|}|{code},...}&date={gt|lt|ge|le}{date}{&date={gt|lt|ge|le}{date}&...}
Observation By Patient Id
Search for Observation by patient. METHOD GET[base url] - FHIR base url [id] - Id for the Patient HEADERS The Authorization token SHALL be obtained during the Authentication and Authorization process. Go to Authentication and Authorization for further details.
| Header | Type | Required/Optional | Value |
|---|---|---|---|
| Authorization | string | required | Bearer <token> |
| Code | Description | Comment |
|---|---|---|
| 200 | OK | The request was processed successfully |
| 400 | Bad request | Invalid request parameters or FHIR operation outcome resource returned |
| 401 | Unauthorized | This code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource |
| 404 | No route matched with those values | The request was able to communicate with a given server, but the server could not find what was requested |
| 500 | Internal Server Error | The server has encountered a situation it doesn’t know how to handle |
Observation By Id
Get Observation by ID. METHOD GET| Header | Type | Required/Optional | Value |
|---|---|---|---|
| Authorization | string | required | Bearer <token> |
| Code | Description | Comment |
|---|---|---|
| 200 | OK | The request was processed successfully |
| 400 | Bad request | Invalid request parameters or FHIR operation outcome resource returned |
| 401 | Unauthorized | This code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource |
| 404 | No route matched with those values | The request was able to communicate with a given server, but the server could not find what was requested |
| 500 | Internal Server Error | The server has encountered a situation it doesn’t know how to handle |
Observation by patient and category search parameters
Get Observations using the combination of the patient and category search parameters: METHOD GET[base url] - FHIR base url {Type} - Type for the Reference. Example:
Patient[id] - patient id
HEADERS The Authorization token SHALL be obtained during the Authentication and Authorization process. Go to Authentication and Authorization for further details.
| Header | Type | Required/Optional | Value |
|---|---|---|---|
| Authorization | string | required | Bearer <token> |
| Code | Description | Comment |
|---|---|---|
| 200 | OK | The request was processed successfully |
| 400 | Bad request | Invalid request parameters or FHIR operation outcome resource returned |
| 401 | Unauthorized | This code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource |
| 404 | No route matched with those values | The request was able to communicate with a given server, but the server could not find what was requested |
| 500 | Internal Server Error | The server has encountered a situation it doesn’t know how to handle |
Observation by patient and category and date search parameters
Get Observations using the combination of the patient and category and date search parameters: METHOD GET[base url] - FHIR base url {Type} - Type for the Reference. Example:
Patient[id] - patient id
{date} - observation effective date HEADERS The Authorization token SHALL be obtained during the Authentication and Authorization process. Go to Authentication and Authorization for further details.
| Header | Type | Required/Optional | Value |
|---|---|---|---|
| Authorization | string | required | Bearer <token> |
| Code | Description | Comment |
|---|---|---|
| 200 | OK | The request was processed successfully |
| 400 | Bad request | Invalid request parameters or FHIR operation outcome resource returned |
| 401 | Unauthorized | This code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource |
| 404 | No route matched with those values | The request was able to communicate with a given server, but the server could not find what was requested |
| 500 | Internal Server Error | The server has encountered a situation it doesn’t know how to handle |
Observation by patient and code search parameters
Get Observations using the combination of the patient and code search parameters: METHOD GETPatient[id] - patient id
{system|} - system used to identify observation code
{code} - observation code HEADERS The Authorization token SHALL be obtained during the Authentication and Authorization process. Go to Authentication and Authorization for further details.
| Header | Type | Required/Optional | Value |
|---|---|---|---|
| Authorization | string | required | Bearer <token> |
| Code | Description | Comment |
|---|---|---|
| 200 | OK | The request was processed successfully |
| 400 | Bad request | Invalid request parameters or FHIR operation outcome resource returned |
| 401 | Unauthorized | This code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource |
| 404 | No route matched with those values | The request was able to communicate with a given server, but the server could not find what was requested |
| 500 | Internal Server Error | The server has encountered a situation it doesn’t know how to handle |
Observation by patient and code and date search parameters
Get Observations using the combination of the patient and code and date search parameters: METHOD GET[base url] - FHIR base url {Type} - Type for the Reference. Example:
Patient[id] - patient id
{system|} - terminology system used to identify observation code
{code} - observation code
{date} - observation effective date HEADERS The Authorization token SHALL be obtained during the Authentication and Authorization process. Go to Authentication and Authorization for further details.
| Header | Type | Required/Optional | Value |
|---|---|---|---|
| Authorization | string | required | Bearer <token> |
| Code | Description | Comment |
|---|---|---|
| 200 | OK | The request was processed successfully |
| 400 | Bad request | Invalid request parameters or FHIR operation outcome resource returned |
| 401 | Unauthorized | This code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource |
| 404 | No route matched with those values | The request was able to communicate with a given server, but the server could not find what was requested |
| 500 | Internal Server Error | The server has encountered a situation it doesn’t know how to handle |
Observation by patient and category and status search parameters
Get Observations using the combination of the patient and category and status search parameters: METHOD GET[base url] - FHIR base url {Type} - Type for the Reference. Example:
Patient[id] - patient id
{status_system} - terminology system used to identify observation status
{status} - observation status HEADERS The Authorization token SHALL be obtained during the Authentication and Authorization process. Go to Authentication and Authorization for further details.
| Header | Type | Required/Optional | Value |
|---|---|---|---|
| Authorization | string | required | Bearer <token> |
| Code | Description | Comment |
|---|---|---|
| 200 | OK | The request was processed successfully |
| 400 | Bad request | Invalid request parameters or FHIR operation outcome resource returned |
| 401 | Unauthorized | This code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource |
| 404 | No route matched with those values | The request was able to communicate with a given server, but the server could not find what was requested |
| 500 | Internal Server Error | The server has encountered a situation it doesn’t know how to handle |