FHIR Chat · Marking attributes as no longer valid · implementers

Stream: implementers

Topic: Marking attributes as no longer valid


view this post on Zulip Ann Guilinger (Nov 28 2018 at 17:01):

Hey FHIR implementers, I have a scenario I was wondering if there is an existing solution to. Say I have some data (i.e. a Condition) that gets a code attached to it. Later, we realize that code was entered incorrectly in our system and really shouldn't be linked to that data at all. Is there a way to mark that in the code/codeable concept?

view this post on Zulip Ann Guilinger (Nov 28 2018 at 17:02):

Also, in a similar vein is there a way to mark a code a deprecated (either by our system or within the code system itself i.e. SNOMED deprecates the code vs. our system decides we're no longer going to use a code going forward)

view this post on Zulip Yunwei Wang (Nov 28 2018 at 18:15):

Is the Condition or Condition.code entered incorrectly? For the 1st, you can update Condition.verificationStatus. For the 2nd, you can update Condition.code.
For your second question, someone need to set valueSet.expansion.contains.inactive to true.

view this post on Zulip Ann Guilinger (Nov 28 2018 at 18:39):

sorry for point 2 I meant more retired, so there's no good code to replace it

view this post on Zulip Yunwei Wang (Nov 28 2018 at 18:55):

Then you need to mark the code in source ValueSet to inactive=true. You don't change where the code is used.

view this post on Zulip Ann Guilinger (Nov 28 2018 at 22:31):

but the source isn't saying that it's inactive, we're saying that we no longer want to use this attribute of the value set

view this post on Zulip Lloyd McKenzie (Dec 11 2018 at 01:44):

Marking it as inactive means it won't be used going forward. You can't generally remove all references to it in existing data - at least not if there's no replacement.


Last updated: Apr 12 2022 at 19:14 UTC