Uploaded image for project: 'Order Entry UI'
  1. Order Entry UI
  2. OEUI-174

Generate available Lab Tests dynamically

    XMLWordPrintable

    Details

    • Complexity:
      Undetermined
    • Sprint:
      Order Entry UI Sprint 8, Order Entry UI Sprint 9

      Description

       

      We need a way to dynamically load the panels and tests that appear on the Lab Orders page, broken up into implementation-defined categories.

      We also need a way to specify whether or not the certain tests can be ordered individually or not.

      We will determine this by loading a single “Lab Orderables" concept that is a set and has member concepts as follows:

      “Lab Orderables” convenience set with the the top-level categories as members, ie:

      • “Hemotology” convenience set
      • “Biochemistry” convenience set,
      • etc…

      Then each category convenience set would have the following concepts:

      • 0 to N concepts of type “LabSet”
      • 0 to N concepts of type “Test”

      Nested in that, each “LabSet” would have:

      • 1 to N concepts of type “Test”

      This set would be used to render the Lab Orders page as follows:

      • Each category would result in a left-hand tab
      • The Panels box would include all the concepts in that set of type "LabSet"
      • The Tests box would contain the union of 1) all the concepts in that set of type "Test" and 2) all the set members of all the LabSet tests... however only the tests that are top-level concepts would be clickable

      For instance, say there was the following hierarchy within a "Biochemistry" convenience set:

      Biochemistry Order Set

      • Lipid Panel
        • Total cholesterol
        • HDL
        • LDL
        • VLDL
        • Triglycerides
      • Renal Panel
        • Urea
        • Creatitine
        • Urine microscopy
        • Glucose
        • Urea
      • Total Cholesterol
      • Total Bilirubin

      ... this should result in a Panels section with two buttons, "Lipids" and "Renals", and a Tests section with Total cholesterol, HDL, LDL, VLDL, Triglycerides, Urea Creatitine, Urine Microscopy, Glucose, Urea and Total Bilrubin

      Clicking on Lipid Panel or Renal Panel should select the relevant tests, but only Total Cholesterol and Total Bilirubin should be independently selectable. 

      To provide some test data I have created from test concepts in a local instance and attached files that are the results of REST calls to the /concept endpoint.

      One is default request for the "Lab Orderables" concept, another request for the "Hematology" concept, and the final one is a request for the "Biochemistry" concept that I've significantly trimmed down to what I think are the key concepts.  Hopefully these will be helpful  as some sample test data for creating this functionality.

      I also have created a metadata sharing package of all these concepts that could be installed into an existing implementation.

      Note that in the short-term we should just use the "display" field to determine the name to display in the Panel and Test buttons, but I think we may need to tweak this (can handle this in a second ticket).

       

        Gliffy Diagrams

          Attachments

          1. biochemistry_order_set_simple.json
            2 kB
          2. hematology_set_rest_call.json
            26 kB
          3. lab_orderables_rest_call.json
            4 kB
          4. Lab_Orderables-1.zip
            58 kB
          5. Screen Shot 2018-07-26 at 4.24.10 PM.png
            Screen Shot 2018-07-26 at 4.24.10 PM.png
            113 kB
          6. Screen Shot 2018-07-26 at 4.32.38 PM.png
            Screen Shot 2018-07-26 at 4.32.38 PM.png
            40 kB
          7. Screen Shot 2018-07-26 at 4.43.52 PM.png
            Screen Shot 2018-07-26 at 4.43.52 PM.png
            436 kB

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              mogoodrich Mark Goodrich
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3 weeks, 1 hour
                  3w 1h
                  Remaining:
                  Time Spent - 1 week, 7 hours Remaining Estimate - 1 week, 4 days, 2 hours
                  1w 4d 2h
                  Logged:
                  Time Spent - 1 week, 7 hours Remaining Estimate - 1 week, 4 days, 2 hours
                  1w 7h