MIABIS diagnosis on Observation - #373
Open
a-tuerk wants to merge 1 commit into
Open
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MIABIS diagnosis on Observation.
The MIABIS-on-FHIR IG puts sample-linked diagnoses on
Observation(
miabis-observation,value[x].coding[icd-10-who]) and reservesConditionfor diagnoses of the patient the biobank holds no specimen for.
Condition.codeis
0..1and the reference implementation (BBMRI-cz/MoF-library, used byBBMRI-cz/fhir-module) leaves it empty, sodiagnosis,date_of_diagnosisanddiagnosis_age_donorreturned zero against MIABIS data. Both placements arevalid, so the snippets now match either, the same way the bbmri flavour matches
its three ICD-10 code systems.
The
Diagnosisdefine and the stratifier basis move toObservation, since astratifier takes one population basis and the sample-linked diagnosis is the one
worth breaking down.
Verified against a Blaze store written by
fhir-module: diagnosis queries nowreturn the expected donors where they returned zero, a coded
Conditionisstill matched, an absent code still returns zero, and the stratifier reports the
ICD-10 codes present.