Hey @burke, @dkayiwa, @wyclif,
I think I know the answer, it was an oversight when upgrading to 2.2, but I just want to double check.
(Same question for Condition
of course).
Hey @burke, @dkayiwa, @wyclif,
I think I know the answer, it was an oversight when upgrading to 2.2, but I just want to double check.
(Same question for Condition
of course).
You’re likely correct, @mksd. A Diagnosis
, like Observation
, is a determination at a point in time (e.g., Why diagnoses are being addressed for the patient in clinic today? What is the presumed diagnosis at time of admission to the hospital? What is the final diagnosis at time of discharge from the hospital?).
Condition
is a little different
Condition
to have fewer rows.Technically, Condition
could be implemented as an immutable resource under the hood, but conditions can change over time while encounter and admitting/discharge diagnoses are point-in-time and don’t change.
@burke the reason why I brought Condition
in the mix is because, like Diagnosis
, they used to be recorded as obs (groups). So in 2.0 and 2.1 they were immutable, then from 2.2 on they lost their immutability.
Looks like Diagnosis
at least is a very good candidate for becoming immutable (again), perhaps a thing for 2.5? Cc @grace
As long as we’re careful about it. Part of why Condition ended up in the state it was in was some attempts to make it sort of act like an immutable object without the hard guarantees of immutability.
Added to our TAC call agenda for further discussion there too