Skip to content

Commit

Permalink
docs: explain which resources are completion tracked (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikix authored Jan 6, 2025
1 parent 941efe3 commit 8fae5f3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cumulus_library/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
from cumulus_library.study_manifest import StudyManifest

__all__ = ["BaseTableBuilder", "CountsBuilder", "StudyConfig", "StudyManifest"]
__version__ = "4.1.3"
__version__ = "4.2.0"
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ in this table.
SELECT
ece.encounter_id,
(
-- Every time you add a resource here, update core-study-details.md
BOOL_OR(ec.table_name = 'allergyintolerance')
AND BOOL_OR(ec.table_name = 'condition')
AND BOOL_OR(ec.table_name = 'diagnosticreport')
Expand Down
11 changes: 9 additions & 2 deletions docs/core-study-details.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,15 @@ that encounter is considered "incomplete" and may be left out of the core tables
You can see which encounters were ignored as incomplete by examining the
`core__incomplete_encounters` table which holds the ID of all incomplete encounters.

Usually, you can resolve this by running the ETL process again for the encounters,
making sure to include all associated resources.
Usually, you can resolve this by making sure you've run the ETL process
for each of the following encounter-linked resources:
- AllergyIntolerance
- Condition
- DiagnosticReport
- DocumentReference
- MedicationRequest
- Observation
- Procedure

## Optional fields

Expand Down

0 comments on commit 8fae5f3

Please sign in to comment.