Stream: implementers
Topic: Location Resource- Mapping room and bed
Aditya Joshi (Oct 16 2018 at 13:11):
I could not find easy way of writing both room & bed number in Location resource. We can use "physicalType" which can define if it is room or bed but it's cardinality is 0...1 means in one single resource, we can have either bed or room as physicalType. And there are no concrete elements for holding up room or bed number values. Though we can use name element to write room or bed number but still this element can hold any data or any granularity, for example- It can have building name, room name and bed number, all of them.
V2 used to define all these location elements (bed, room, building, floor etc.) in one single data type (PL). It was easy to use.
Either we have to use extension to define both room and bed number. or
may be can use one Location Resource with physicalType as bed and another Location resource with room, first one (bed one) would be partOf another one (room one). But second option is adding up complexity to manage small piece of data.
Is there something I am missing to understand? What could be the right way to map room and bed number in Location resource?
@Brian Postlethwaite any thoughts on above issue, thanks.
Yunwei Wang (Oct 16 2018 at 17:02):
You can Location.partOf to link bed location to room location
Brian Postlethwaite (Oct 16 2018 at 21:39):
As yunwei points out, you can use the part of structure to get to the room details, then its parent to get the ward and so on (depending on your location heirachy)
There is an example diagram of this in the spec.
We have been discussing how we might update the encounter to make this easier to use at the Baltimore WGM.
Brian Postlethwaite (Oct 16 2018 at 21:39):
Updates will be applied as R4 closes.
Aditya Joshi (Oct 17 2018 at 11:10):
Thanks @Yunwei Wang & @Brian Postlethwaite
Yes, that is one of the option I have mentioned in my earlier post. but this is much more complex implementation (just if we compare to V2 PL data type). bed, floor, room, building, point of care like ward- I believe these are some common data elements for any location, specifically when define Patient location in Hospital.
Yes, some easier way would be great thought. Hope to see that change in R4 :thumbs_up: :simple_smile:
Last updated: Apr 12 2022 at 19:14 UTC