-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from smart-on-fhir/mikix/resources
Add new Supported Resources page and some other improvements
- Loading branch information
Showing
8 changed files
with
89 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,7 @@ | |
.jekyll-metadata | ||
vendor | ||
|
||
/docs/aggregator/ | ||
/docs/chart-review/ | ||
/docs/etl/ | ||
/docs/library/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
--- | ||
title: Supported Resources | ||
_parent: Overview | ||
nav_order: 2 | ||
# audience: non-programmers vaguely familiar with Cumulus | ||
# type: explanation | ||
--- | ||
|
||
# Supported FHIR Resources | ||
|
||
## What's a Resource? | ||
|
||
The [FHIR specification](https://www.hl7.org/fhir/R4/) describes many kinds of _resources_, | ||
which are individual logical bundles of data. | ||
For example: [Patients](https://www.hl7.org/fhir/R4/patient.html), | ||
[Encounters](https://www.hl7.org/fhir/R4/encounter.html), | ||
or [Devices](https://www.hl7.org/fhir/R4/device.html). | ||
|
||
Resources are the atomic units of data that flow through the Cumulus pipeline. | ||
|
||
You can bulk export them from your EHR.<br/> | ||
You can feed them through Cumulus ETL.<br/> | ||
And you can query them with Cumulus Library. | ||
|
||
## Levels of Support | ||
|
||
Only a subset of the FHIR resources are supported by Cumulus. | ||
And not every resource enjoys the same level of support. | ||
|
||
For a resource to enter the Cumulus pipeline, Cumulus ETL must support it. | ||
Any resource that the ETL supports can be directly queried in Athena. | ||
|
||
But for more convenient querying, | ||
the Cumulus Library's `core` study has additional support for some resources. | ||
For example, the `core` study abstracts the complexities of querying medication | ||
codes for you, because it has special knowledge of MedicationRequests and | ||
Medications. | ||
|
||
If a resource isn't supported by the `core` study, it can still be queried! | ||
It just may not be as convenient, | ||
as you'll have to handle directly querying FHIR nested layouts yourself. | ||
|
||
Over time, more resources will be added to the `core` study. | ||
|
||
## Support List | ||
|
||
| Resource | ETL | `core` | | ||
|--------------------|---------------|--------| | ||
| AllergyIntolerance | ✅ | ❌ | | ||
| Condition | ✅ | ✅ | | ||
| Device | ✅ | ❌ | | ||
| DiagnosticReport | ✅ | ❌ | | ||
| DocumentReference | ✅ | ✅ | | ||
| Encounter | ✅ | ✅ | | ||
| Immunization | ✅ | ❌ | | ||
| Medication | ✅<sup>1</sup> | ✅ | | ||
| MedicationRequest | ✅ | ✅ | | ||
| Observation | ✅ | ✅ | | ||
| Patient | ✅ | ✅ | | ||
| Procedure | ✅ | ❌ | | ||
| ServiceRequest | ✅ | ❌ | | ||
|
||
1. Medications are not usually bulk-exportable. | ||
Instead, as the ETL processes MedicationRequest resources, | ||
it downloads any linked Medication resources as well. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule chart-review
updated
3 files
+27 −0 | .github/workflows/pypi.yaml | |
+3 −0 | chart_review/__init__.py | |
+8 −3 | pyproject.toml |
Submodule cumulus-aggregator
updated
36 files
Submodule cumulus-etl
updated
20 files
+1 −1 | .github/workflows/ci.yaml | |
+1 −1 | .pre-commit-config.yaml | |
+3 −1 | cumulus_etl/cli_utils.py | |
+11 −1 | cumulus_etl/deid/philter.py | |
+3 −1 | cumulus_etl/errors.py | |
+1 −1 | cumulus_etl/fhir/__init__.py | |
+42 −4 | cumulus_etl/fhir/fhir_utils.py | |
+0 −1 | cumulus_etl/loaders/i2b2/external_mappings.py | |
+55 −10 | cumulus_etl/upload_notes/cli.py | |
+82 −19 | cumulus_etl/upload_notes/labelstudio.py | |
+1 −1 | docs/chart-review.md | |
+4 −4 | pyproject.toml | |
+1 −1 | tests/fhir/test_fhir_client.py | |
+27 −0 | tests/fhir/test_fhir_utils.py | |
+1 −0 | tests/i2b2/test_i2b2_oracle_extract.py | |
+1 −1 | tests/s3mock.py | |
+1 −0 | tests/test_common.py | |
+100 −40 | tests/upload_notes/test_upload_cli.py | |
+59 −17 | tests/upload_notes/test_upload_labelstudio.py | |
+3 −4 | tests/utils.py |
Submodule cumulus-library
updated
145 files