FHIR Chat · Device.status valueset question · implementers

Stream: implementers

Topic: Device.status valueset question


view this post on Zulip Asharaf Kadavath (Apr 15 2020 at 18:47):

Device.status valueset question

I am planning to use non standard "status" code for Device resource(element location: Device.status).

for example: status=recalled

how can i go about using a status code other than fhir defined value set - active,inactive,entered-in-error and unknown.

any pointers highly appreciated.

Thanks
~ash

view this post on Zulip Lloyd McKenzie (Apr 15 2020 at 19:19):

You can't - at least not if you want to be conformant. A 'required' binding means you must use those code and only those codes (though it's fine if you support only a limited subset). The notion of 'recalled' seems like it could be conveyed in statusReason (where the actual status would be 'inactive'). statusReason is extensible, which means you can send other codes if the notion isn't covered by one of the codes in the value set - and on first read, I don't see any codes that would cover that notion.

view this post on Zulip Jose Costa Teixeira (Apr 15 2020 at 20:09):

you use Device.operationalStatus

view this post on Zulip Jose Costa Teixeira (Apr 15 2020 at 20:10):

Device.status is the status of the record.
Device.operationalStatus is for the operational status of the "physical" thing (broken, requiring maintenance, still in box)


Last updated: Apr 12 2022 at 19:14 UTC