Why are ImagingStudies dependent on Conditions, and can I change that? #1641
-
|
Greetings friends, I've been building a model for radiological follow-ups on imaging pathologies and run across a design choice (?) that I found thoroughly confusing: I had this model where a population would get Imaging and get diagnosed an unclear mass, receivied a ConditionOnset for unclear mass. Then I had a series of follow ups, which led to this mass being identified as benign or malign. I coded this as the Condition of "Unclear mass" ending and another COndition of "Benign (or malign) mass" starting. However, when I end the Condition, the corresponding ImagingStudy gets wiped out from the FHIR datasets too. I end up with just the data from the last examination, which has the information that its benign. So, for instance, in a workflow of CT -> MRI, the fact that I did the CT gets deleted from the record too. I found this thoroughly unintutive, but from the testing I did, this seems to be the case. Can I somehow avoid this or do I need to preserve all the previous conditions? ALso, is that behavior documented someowhere that I just missed? Thanks a lot for any clarification, it would really be appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
Looking at the code I don't see any obvious dependency from imaging study on condition so I'm puzzled by the behavior you are seeing. Are you wrapping the imaging study in an encounter? |
Beta Was this translation helpful? Give feedback.
-
|
If you're missing data, it could be due to the years of history setting. See why isn't X showing up? and Common Configuration - Other Export Settings |
Beta Was this translation helpful? Give feedback.
If you're missing data, it could be due to the years of history setting. See why isn't X showing up? and Common Configuration - Other Export Settings