Patient Document - Template And Mapping

You can use an obs template (using Form Builder) to capture documents that will be uploaded for patient.

  • Create a concept set like below

    • figure 1
    • Consisting of members shown. However Document Types and Document Attachment concept must be defined. External Origin Name is used for capturing details of external source (e.g. external hospital, or patient held record), such external sourced documents are not shared from the HIP hospital.

      • The Document Attachment must be of datatype complex

        figure 2
    • Names of the concepts can be different and you can also change the label

    • Document Types will come bundled with Bahmni Lite/Standard 1.0+ onwards, but if you have set up data yourself or have migrated from older version, then you will have to set up yourself using OpenMRS concept dictionary.

 

  • Once you have defined the “Concept Set” (in this case Patient Document References), you can use the form builder to create a template, just drag and drop an “Obs asdasd

  • Once you have defined the above, you need to specify the mapping the “abdm_config.properties” as mentioned above. The following properties are applicable

 

 

 

 

abdm.conceptMap.docType.template *

concept identifier (UUID) of the template root. In this example, UUID of the “Patient Document Reference” in figure 1.

abdm.conceptMap.docTemplate.docType *

concept identifier for determination of document type. In this example, UUID of “Document Types” in figure 3

abdm.conceptMap.docTemplate.attachment *

concept identifier that has the reference of the document file. In this example, UUID of the “Document Attachment” in figure 2

abdm.conceptMap.docTemplate.externalOrigin

concept identifier that has the reference of an external hospital/lab etc. If mentioned, for matching templates - documents are not transferred as they are considered uploaded external.

 

 

Note, in additional to defining and mapping the template attributes, you can define what documents your implementation can send. You can do this by defining the identifiers for required document types like Prescription, Discharge Summary, Health Record Document etc by defining the respective properties

  1. abdm.conceptMap.docType.prescription

  2. abdm.conceptMap.docType.dischargeSummary

  3. abdm.conceptMap.docType.patientFile

Please refer to the “abdm.conceptMap.docType” properties section in Support for Health Information Types page.

 

 

The Bahmni documentation is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)