Using Bed Details Service
If any implementation need to get the bed details based on visit, that particular implementation can use the bedDetailsService.js. We have to call bedDetailsService.getBedDetailsByVisit method by passing the visitUuid. For now that method will return the wardName and bedNumber. If we want more details we can modify the method constructBedDetails, to return whatever details we want.
The Bahmni documentation is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)