API for downloading the master data for Lab module

XMLWordPrintable

    • Type: Story
    • Resolution: Done
    • Priority: High
    • None
    • Affects Version/s: None
    • None
    • 5
    • AMRIT Sprint 22, AMRIT Sprint 23, AMRIT Sprint 24, AMRIT Sprint 26, AMRIT Sprint 27, AMRIT Sprint 28

      In the HWC Application there is a need for API for downloading the master data for Lab module, like complete list of active Procedures and mapped active Components from a particular Provider Admin ("providerServiceMapID").

      Refer to the attached API that has sample data needed for Lab module used in the prescription.

      The API is expected to return List of procedure master DTO

      @POST("/hwc-facility-service/labTechnician/get/masterData")

      @JsonClass(generateAdapter = true)
      data class ProcedureMasterDTO(
      val benRegId: Long,
      val procedureDesc: String,
      val procedureType: String,
      val procedureID: Long,
      val procedureName: String,
      var compListDetails: List<ComponentDetailMasterDTO>,
      val isMandatory: Boolean
      )

      @JsonClass(generateAdapter = true)
      data class ComponentDetailMasterDTO(
      val id: Long,
      val range_normal_min: Int? = null,
      val range_normal_max: Int? = null,
      val range_min: Int? = null,
      val range_max: Int? = null,
      val isDecimal: Boolean? = null,
      val inputType: String,
      val testComponentID: Long,
      val measurementUnit: String? = null,
      val testComponentName: String,
      var testComponentDesc: String,
      var compOpt: List<ComponentOptionsMasterDTO>
      )

      @JsonClass(generateAdapter = true)
      data class ComponentOptionsMasterDTO(
      val name: String?,
      )

      Note: Other parameters like LOINC code, etc that are missing in the above mentioned should be included.

        1. Screenshot (408).png
          Screenshot (408).png
          226 kB
        2. providerServiceMapID.png
          providerServiceMapID.png
          219 kB
        3. Procedures_Components.png
          Procedures_Components.png
          218 kB
        4. Lab_API-1.txt
          7 kB
        5. Lab_Admin_Procedures_Components.txt
          6 kB
        6. image-2024-10-28-04-27-17-427.png
          image-2024-10-28-04-27-17-427.png
          370 kB
        7. APIs_Pharmacy_Sub-Store_Stock.txt
          7 kB

              Assignee:
              Manisha Dilip Shinde [X] (Inactive)
              Reporter:
              Madhava Ramu N
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Time Spent - 19 minutes Remaining Estimate - 4 hours, 45 minutes
                  4h 45m
                  Logged:
                  Time Spent - 19 minutes Remaining Estimate - 4 hours, 45 minutes
                  19m