Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-5198

ObsService.getObs(int) should get complex obs data

    XMLWordPrintable

Details

    Description

      ObsService.getComplexObs(..), is marked as deprecated. Documentation of the method suggests to use ObsService.getObs() instead.

      However, currently ObsServiceImpl.getObs() does not fetch the complexData like getComplexObs() does, by invoking the associated handler.getObs(obs,view) if the concept datatype is complex. Same should happen with getObsByUuid(), which should also invoke the associated handler if the concept datatype is complex.

      More in talk topic: https://talk.openmrs.org/t/obsservice-getcomplexobs-deprecated/12188/9

      Gliffy Diagrams

        Attachments

          Activity

            People

              angshuonline Angshuman Sarkar
              angshuonline Angshuman Sarkar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1 hour Original Estimate - 1 hour
                  1h
                  Remaining:
                  Time Spent - 1 hour Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - 1 hour Remaining Estimate - 1 hour
                  1h