Concept missing openmrs-module commonlabtest


(Naveed khan) #1

I have cloned and installed the module with reference application 2.0.I try my best to get the whole idea of module.Can some have experience with this module.The module is currently working fine but while adding sample it require “SampleSite” the concept are missing,So I created the concept and provide the uuid but it’s not picking.How to add sampleSite concept to this module. @tahira @ahmed14 @owais.hussain Thanks


(Tahira Niazi) #2

Hi @naveed1228 ,

We (@owais.hussain, @shujaat, @ahmed14) have developed this module and it basically handles information related to Lab Tests from ordering phase to results for patients.

Here is the basic workflow:

  1. A Lab Test order is requested for a particular test type.
  2. This step involves collecting sample information if the ordered test requires any sample to process.
  3. Lab results are entered.

The module actually requires some setting up of the global properties before it can be used. Like all the metadata related information like Specimen Type, Specimen Site etc are handled through global properties. In your particular issue, please set the uuid of the concept to the global property named “commonlabtest.specimenSiteConceptUuid”. Please note, it should be a coded concept. There will be some more global properties that you need to set up (all will have this keyword commonlabtest).

Hope it solves your problem. Please let me know if there are some other issues, I would be happy to help.


Guidance to work on a lab module
(Naveed khan) #3

Thanks Tahira Can you please create the specimen site concept at openmrs demo,So by following that I will create the concept in my local environment.I think after that I will just provide the conceptuuid at global property.I create the concepts here but somehow it’s not appearing in dropdown of specimen site.


(Naveed khan) #4

specimen source is available in concept dictionary.The missing concepts are specimenSite and testunitsConceptUuid.I have created the specimentSite by following the specimentSource by somehow it’s not showing in specimentSite dropdown.


(Tahira Niazi) #5

I have created a concept on openmrs demo " SPECIMEN SITE". It should be a coded concept. Same goes for the specimen type and test units concepts (this test unit refers to the units in which the sample is quantified.)


(Naveed khan) #6

thanks and and please explain the term reference lab number as well.


(Tahira Niazi) #7

You’re welcome. Lab Reference number is basically Test Order ID which is assigned by lab, if a user does not specify then it is auto-generated time stamp (but still it can be edited later).


(Naveed khan) #8

One thing more related to Restful api.In the swagger documentation the POST and Update methods are missing.Will you please it’s missing in swagger.If it is will you please provide some mock object so I can test it from Postman.


(Andrew Kanter) #9

I am a little worried about the direction this is going. I think CIEL might need to re-evaluate the appropriate specimen concepts. These need to interoperate with the HL7 requirements for message creation. I believe there is a specimen site which represents an anatomical location and a specimen type which involves things like punch biopsy, swab, etc. There are then attributes to each of them which require mapping to SNOMED, etc. I will go look up my documentation.


(Andrew Kanter) #10

The way IMO looks at this is: "Specimen Type”, SNOMED maps for these concepts must be to a SNOMED in the “specimen” hierarchy (SNOMED 123038009 and its descendants) and is meant to populate HL7 2.5.1 SPM-4. The HL7 2.5.1 SPM-8 element is supposed to reflect the anatomic source of a specimen, and must be coded to the SNOMED “body structure” hierarchy (123037004 and its descendants). I would recommend we use SPECIMEN SOURCE as the anatomic site of specimen and SPECIMEN TYPE as the form of the specimen. So, Bronchioalveolar lavage fluid would be a SPECIMEN TYPE and Left lower lobe of lung would be a SPECIMEN SOURCE.