[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openmrs-dev
Subject:    Re: Patient-context based concept query and management module
From:       Wyclif Luyima <wyclif () openmrs ! org>
Date:       2014-08-29 17:01:12
Message-ID: CAJZqQ2rXa7xLnD9xJ=-m=mT=Ecd6Frh981QTLs=s1ijEaJ7Gyg () mail ! gmail ! com
[Download RAW message or body]

Hi Chandan,

Your question is kind of vague to me, what exactly you mean by query for
the regimens list, do you mean displaying them on the patient dashboard in
web application, calling the java API or actually making SQL queries to the
DB?

Wyclif


On Fri, Aug 29, 2014 at 2:16 AM, Chandan Datta <work.chandan@gmail.com>
wrote:

> Thanks Wyclif,
> 
> So for medications, will it be possible to query for the following
> concepts for example on the regimens list?
> 
> Patient_RegularMedication
> StartedDate
> Medication_Name
> Medication_Code
> Medication_CodingSystem
> Medication_DosageQuantity
> Medication_DosageUnit
> 
> 
> On Tue, Aug 12, 2014 at 2:53 AM, Wyclif Luyima <wyclif@openmrs.org> wrote:
> 
> > Hi Chandan,
> > 
> > Demographics are not captured or represented using concepts. Things like
> > allergies, medical history, vitals etc don't really constitute demographic
> > data and probably this is why i was getting confused. We capture those as
> > Observations or active lists in some OpenMRS versions.
> > 
> > Wyclif
> > 
> > 
> > On Sat, Aug 9, 2014 at 8:13 AM, Chandan Datta <work.chandan@gmail.com>
> > wrote:
> > 
> > > Hi Wyclif,
> > > I am referring to concepts that are specific to a patient's medical
> > > record such as the demographic data example. Could be his medications or
> > > medical history, allergies as well
> > > 
> > > 
> > > On Sat, Aug 9, 2014 at 1:59 AM, Wyclif Luyima <wyclif@openmrs.org>
> > > wrote:
> > > 
> > > > Hi Chandan,
> > > > 
> > > > I don't seem to get your question well, you are mentioning patient and
> > > > concepts which is confusing, what do concepts have to do with patient? Can
> > > > you rephrase the question please?
> > > > 
> > > > Wyclif
> > > > 
> > > > 
> > > > On Fri, Aug 8, 2014 at 12:23 AM, Chandan Datta <work.chandan@gmail.com>
> > > > wrote:
> > > > 
> > > > > 
> > > > > Hi,
> > > > > I am writing a concept query and concept management module. The
> > > > > purpose of the module is to query and find mappings of the patient data
> > > > > model that a specific version of openmrs has support for to the concept
> > > > > queried by the user. For example, with relation to the patient
> > > > > demographics, the query might be for
> > > > > Patient_FirstName,Patient_Middlename,Patient_Surname,Patient_PreviousSurname.
> > > > >  The module will look-up the equivalent concepts supported by openmrs and
> > > > > the view will show mappings to them and also return green or red checkboxes
> > > > > for concepts not supported.
> > > > > 
> > > > > Is there any module which does this currently and also and suggestions
> > > > > on how to use the Openmrs Java API to do this correctly and efficiently.
> > > > > 
> > > > > --
> > > > > OpenMRS Developers: http://go.openmrs.org/dev
> > > > > Post: dev@openmrs.org | Unsubscribe: dev+unsubscribe@openmrs.org
> > > > > Manage your OpenMRS subscriptions at https://id.openmrs.org/
> > > > > 
> > > > 
> > > > 
> > > > 
> > > > --
> > > > Wyclif Luyima
> > > > Regenstrief Institute Inc.
> > > > 
> > > > Confidentiality Notice: The contents of this message and any files
> > > > transmitted with it may contain confidential and/or privileged information
> > > > and are intended solely for the use of the named addressee(s).
> > > > Additionally, the information contained herein may have been disclosed to
> > > > you from medical records with confidentiality protected by federal and
> > > > state laws. Federal regulations and State laws prohibit you from making
> > > > further disclosure of such information without the specific written consent
> > > > of the person to whom the information pertains or as otherwise permitted by
> > > > such regulations. A general authorization for the release of medical or
> > > > other information is not sufficient for this purpose.
> > > > 
> > > > If you have received this message in error, please notify the sender by
> > > > return e-mail and delete the original message. Any retention, disclosure,
> > > > copying, distribution or use of this information by anyone other than the
> > > > intended recipient is strictly prohibited.
> > > > 
> > > > --
> > > > OpenMRS Developers: http://go.openmrs.org/dev
> > > > Post: dev@openmrs.org | Unsubscribe: dev+unsubscribe@openmrs.org
> > > > Manage your OpenMRS subscriptions at https://id.openmrs.org/
> > > > 
> > > 
> > > 
> > > 
> > > --
> > > Regards,
> > > Chandan
> > > 
> > > --
> > > OpenMRS Developers: http://go.openmrs.org/dev
> > > Post: dev@openmrs.org | Unsubscribe: dev+unsubscribe@openmrs.org
> > > Manage your OpenMRS subscriptions at https://id.openmrs.org/
> > > 
> > 
> > 
> > 
> > --
> > Wyclif Luyima
> > Regenstrief Institute Inc.
> > 
> > Confidentiality Notice: The contents of this message and any files
> > transmitted with it may contain confidential and/or privileged information
> > and are intended solely for the use of the named addressee(s).
> > Additionally, the information contained herein may have been disclosed to
> > you from medical records with confidentiality protected by federal and
> > state laws. Federal regulations and State laws prohibit you from making
> > further disclosure of such information without the specific written consent
> > of the person to whom the information pertains or as otherwise permitted by
> > such regulations. A general authorization for the release of medical or
> > other information is not sufficient for this purpose.
> > 
> > If you have received this message in error, please notify the sender by
> > return e-mail and delete the original message. Any retention, disclosure,
> > copying, distribution or use of this information by anyone other than the
> > intended recipient is strictly prohibited.
> > 
> > --
> > OpenMRS Developers: http://go.openmrs.org/dev
> > Post: dev@openmrs.org | Unsubscribe: dev+unsubscribe@openmrs.org
> > Manage your OpenMRS subscriptions at https://id.openmrs.org/
> > 
> 
> 
> 
> --
> Regards,
> Chandan
> 
> --
> OpenMRS Developers: http://go.openmrs.org/dev
> Post: dev@openmrs.org | Unsubscribe: dev+unsubscribe@openmrs.org
> Manage your OpenMRS subscriptions at https://id.openmrs.org/
> 



-- 
Wyclif Luyima
Regenstrief Institute Inc.

Confidentiality Notice: The contents of this message and any files
transmitted with it may contain confidential and/or privileged information
and are intended solely for the use of the named addressee(s).
Additionally, the information contained herein may have been disclosed to
you from medical records with confidentiality protected by federal and
state laws. Federal regulations and State laws prohibit you from making
further disclosure of such information without the specific written consent
of the person to whom the information pertains or as otherwise permitted by
such regulations. A general authorization for the release of medical or
other information is not sufficient for this purpose.

If you have received this message in error, please notify the sender by
return e-mail and delete the original message. Any retention, disclosure,
copying, distribution or use of this information by anyone other than the
intended recipient is strictly prohibited.

-- 
OpenMRS Developers: http://go.openmrs.org/dev
Post: dev@openmrs.org | Unsubscribe: dev+unsubscribe@openmrs.org
Manage your OpenMRS subscriptions at https://id.openmrs.org/

To unsubscribe from this group and stop receiving emails from it, send an email to \
dev+unsubscribe@openmrs.org.


[Attachment #3 (text/html)]

<div dir="ltr"><div><div>Hi Chandan,<br><br></div>Your question is kind of vague to \
me, what exactly you mean by query for the regimens list, do you mean displaying them \
on the patient dashboard in web application, calling the java API or actually making \
SQL queries to the DB?<br> </div><div><br></div>Wyclif<br></div><div \
class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 29, 2014 at 2:16 AM, \
Chandan Datta <span dir="ltr">&lt;<a href="mailto:work.chandan@gmail.com" \
target="_blank">work.chandan@gmail.com</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" \
style="font-family:georgia,serif;color:rgb(102,0,0)">Thanks Wyclif,</div><div \
class="gmail_default"> <div class="gmail_default"><br></div><div \
class="gmail_default">

<font color="#660000" face="georgia, serif">So for medications, will it be possible \
to query for the following concepts for example on the regimens \
list?</font></div><div class="gmail_default"><font color="#660000" face="georgia, \
serif"><br>


</font></div><div class="gmail_default"><font color="#660000" face="georgia, \
serif">Patient_RegularMedication</font></div><div class="gmail_default"><font \
color="#660000" face="georgia, serif"><span \
style="white-space:pre-wrap">	</span>StartedDate</font></div>


<div class="gmail_default"><font color="#660000" face="georgia, serif"><span \
style="white-space:pre-wrap">	</span>Medication_Name</font></div><div \
class="gmail_default"><font color="#660000" face="georgia, serif"><span \
style="white-space:pre-wrap">	</span>Medication_Code</font></div>


<div class="gmail_default"><font color="#660000" face="georgia, serif"><span \
style="white-space:pre-wrap">	</span>Medication_CodingSystem</font></div><div \
class="gmail_default"><font color="#660000" face="georgia, serif"><span \
style="white-space:pre-wrap">	</span>Medication_DosageQuantity</font></div>


<div class="gmail_default"><font color="#660000" face="georgia, serif"><span \
style="white-space:pre-wrap">	</span>Medication_DosageUnit</font></div></div></div><div \
class="gmail_extra"><br><br><div class="gmail_quote">

On Tue, Aug 12, 2014 at 2:53 AM, Wyclif Luyima <span dir="ltr">&lt;<a \
href="mailto:wyclif@openmrs.org" target="_blank">wyclif@openmrs.org</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex">


<div dir="ltr"><div><div>Hi Chandan,<br><br></div>Demographics are not captured or \
represented using concepts. Things like allergies, medical history, vitals etc \
don&#39;t really constitute demographic data and probably this is why i was getting \
confused. We capture those as Observations or active lists in some OpenMRS \
versions.<span><font color="#888888"><br>



</font></span></div><span><font \
color="#888888"><br>Wyclif<br></font></span></div><div><div><div \
class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Aug 9, 2014 at 8:13 AM, \
Chandan Datta <span dir="ltr">&lt;<a href="mailto:work.chandan@gmail.com" \
target="_blank">work.chandan@gmail.com</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" \
style="font-family:georgia,serif;color:#660000">Hi Wyclif,</div><div \
class="gmail_default" style="font-family:georgia,serif;color:#660000">



I am referring to concepts that are specific to a patient&#39;s medical record such \
as the demographic data example. Could be his medications or medical history, \
allergies as well</div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Aug 9, 2014 \
at 1:59 AM, Wyclif Luyima <span dir="ltr">&lt;<a href="mailto:wyclif@openmrs.org" \
target="_blank">wyclif@openmrs.org</a>&gt;</span> wrote:<br>





<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div><div>Hi Chandan,<br><br></div>I don&#39;t \
seem to get your question well, you are mentioning patient and concepts which is \
confusing, what do concepts have to do with patient? Can you rephrase the question \
please?<br>






<br></div>Wyclif<br></div><div class="gmail_extra"><div><div><br><br><div \
class="gmail_quote">On Fri, Aug 8, 2014 at 12:23 AM, Chandan Datta <span \
dir="ltr">&lt;<a href="mailto:work.chandan@gmail.com" \
target="_blank">work.chandan@gmail.com</a>&gt;</span> wrote:<br>






<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><br><div>Hi,</div><div>I am writing a concept \
query and concept management module. The purpose of the module is to query and find \
mappings of the patient data model that a specific version of openmrs has support for \
to the concept queried by the user. For example, with relation to the patient \
demographics, the query might be for \
Patient_FirstName,Patient_Middlename,Patient_Surname,Patient_PreviousSurname. The \
module will look-up the equivalent concepts supported by openmrs and the view will \
show mappings to them and also return green or red checkboxes for concepts not \
supported.  </div>






<div><br></div><div>Is there any module which does this currently and also and \
suggestions on how to use the Openmrs Java API to do this correctly and \
efficiently.</div></div><span><font color="#888888">

<p></p>

-- <br>
OpenMRS Developers: <a href="http://go.openmrs.org/dev" \
                target="_blank">http://go.openmrs.org/dev</a><br>
Post: <a href="mailto:dev@openmrs.org" target="_blank">dev@openmrs.org</a> | \
Unsubscribe: <a href="mailto:dev%2Bunsubscribe@openmrs.org" \
target="_blank">dev+unsubscribe@openmrs.org</a><br> Manage your OpenMRS subscriptions \
at <a href="https://id.openmrs.org/" target="_blank">https://id.openmrs.org/</a><br> \
</font></span></blockquote></div><br><br clear="all"><br></div></div><span><font \
color="#888888">-- <br><span style="background-color:rgb(51,102,255)"><span \
style="color:rgb(255,102,102)"><span \
style="font-size:7.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"><span \
style="background-color:rgb(255,255,255)"><span style="color:rgb(51,102,255)">Wyclif \
Luyima<br>






Regenstrief Institute Inc.<br><br>
</span></span></span><span style="color:rgb(204,0,0)"><span \
style="font-size:7.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"><span \
style="background-color:rgb(255,255,255)"><span \
style="color:rgb(51,102,255)">Confidentiality  Notice: The contents of this message \
and any files transmitted with it  may contain confidential and/or privileged \
information and are intended  solely for the
 use of the named addressee(s). Additionally, the information contained 
herein may have been disclosed to you from medical records with 
confidentiality protected by federal and state laws. Federal regulations
 and State laws prohibit you from making further
 disclosure of such information without the specific written consent of 
the person to whom the information pertains or as otherwise permitted by
 such regulations. A general authorization for the release of medical or
 other information is not sufficient for
 this purpose.<br>
<br>
If you have received this message in error, please notify the sender by 
return e-mail and delete the original message. Any retention, 
disclosure, copying, distribution or use of this information by anyone 
other than the intended recipient is strictly prohibited.
</span><span></span></span></span></span></span></span>
</font></span></div><div><div>

<p></p>

-- <br>
OpenMRS Developers: <a href="http://go.openmrs.org/dev" \
                target="_blank">http://go.openmrs.org/dev</a><br>
Post: <a href="mailto:dev@openmrs.org" target="_blank">dev@openmrs.org</a> | \
Unsubscribe: <a href="mailto:dev%2Bunsubscribe@openmrs.org" \
target="_blank">dev+unsubscribe@openmrs.org</a><br> Manage your OpenMRS subscriptions \
at <a href="https://id.openmrs.org/" \
target="_blank">https://id.openmrs.org/</a><span><font color="#888888"><br> \
</font></span></div></div></blockquote></div><span><font color="#888888"><br><br \
clear="all"><div><br></div>-- <br><div dir="ltr">Regards,<br>Chandan<br></div> \
</font></span></div><span><font color="#888888">

<p></p>

-- <br>
OpenMRS Developers: <a href="http://go.openmrs.org/dev" \
                target="_blank">http://go.openmrs.org/dev</a><br>
Post: <a href="mailto:dev@openmrs.org" target="_blank">dev@openmrs.org</a> | \
Unsubscribe: <a href="mailto:dev%2Bunsubscribe@openmrs.org" \
target="_blank">dev+unsubscribe@openmrs.org</a><br> Manage your OpenMRS subscriptions \
at <a href="https://id.openmrs.org/" target="_blank">https://id.openmrs.org/</a><br> \
</font></span></blockquote></div><br><br clear="all"><br>-- <br><span \
style="background-color:rgb(51,102,255)"><span style="color:rgb(255,102,102)"><span \
style="font-size:7.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"><span \
style="background-color:rgb(255,255,255)"><span style="color:rgb(51,102,255)">Wyclif \
Luyima<br>



Regenstrief Institute Inc.<br><br>
</span></span></span><span style="color:rgb(204,0,0)"><span \
style="font-size:7.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"><span \
style="background-color:rgb(255,255,255)"><span \
style="color:rgb(51,102,255)">Confidentiality  Notice: The contents of this message \
and any files transmitted with it  may contain confidential and/or privileged \
information and are intended  solely for the
 use of the named addressee(s). Additionally, the information contained 
herein may have been disclosed to you from medical records with 
confidentiality protected by federal and state laws. Federal regulations
 and State laws prohibit you from making further
 disclosure of such information without the specific written consent of 
the person to whom the information pertains or as otherwise permitted by
 such regulations. A general authorization for the release of medical or
 other information is not sufficient for
 this purpose.<br>
<br>
If you have received this message in error, please notify the sender by 
return e-mail and delete the original message. Any retention, 
disclosure, copying, distribution or use of this information by anyone 
other than the intended recipient is strictly prohibited.
</span><span></span></span></span></span></span></span>
</div>

<p></p>

-- <br>
OpenMRS Developers: <a href="http://go.openmrs.org/dev" \
                target="_blank">http://go.openmrs.org/dev</a><br>
Post: <a href="mailto:dev@openmrs.org" target="_blank">dev@openmrs.org</a> | \
Unsubscribe: <a href="mailto:dev%2Bunsubscribe@openmrs.org" \
target="_blank">dev+unsubscribe@openmrs.org</a><br> Manage your OpenMRS subscriptions \
at <a href="https://id.openmrs.org/" target="_blank">https://id.openmrs.org/</a><span \
class="HOEnZb"><font color="#888888"><br> \
</font></span></div></div></blockquote></div><span class="HOEnZb"><font \
color="#888888"><br><br clear="all"><div><br></div>-- <br><div \
dir="ltr">Regards,<br>Chandan<br></div> </font></span></div><span \
class="HOEnZb"><font color="#888888">

<p></p>

-- <br>
OpenMRS Developers: <a href="http://go.openmrs.org/dev" \
                target="_blank">http://go.openmrs.org/dev</a><br>
Post: <a href="mailto:dev@openmrs.org" target="_blank">dev@openmrs.org</a> | \
Unsubscribe: <a href="mailto:dev%2Bunsubscribe@openmrs.org" \
target="_blank">dev+unsubscribe@openmrs.org</a><br> Manage your OpenMRS subscriptions \
at <a href="https://id.openmrs.org/" target="_blank">https://id.openmrs.org/</a><br> \
</font></span></blockquote></div><br><br clear="all"><br>-- <br><span \
style="background-color:rgb(51,102,255)"><span style="color:rgb(255,102,102)"><span \
style="font-size:7.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"><span \
style="background-color:rgb(255,255,255)"><span style="color:rgb(51,102,255)">Wyclif \
Luyima<br> Regenstrief Institute Inc.<br><br>
</span></span></span><span style="color:rgb(204,0,0)"><span \
style="font-size:7.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"><span \
style="background-color:rgb(255,255,255)"><span \
style="color:rgb(51,102,255)">Confidentiality  Notice: The contents of this message \
and any files transmitted with it  may contain confidential and/or privileged \
information and are intended  solely for the
 use of the named addressee(s). Additionally, the information contained 
herein may have been disclosed to you from medical records with 
confidentiality protected by federal and state laws. Federal regulations
 and State laws prohibit you from making further
 disclosure of such information without the specific written consent of 
the person to whom the information pertains or as otherwise permitted by
 such regulations. A general authorization for the release of medical or
 other information is not sufficient for
 this purpose.<br>
<br>
If you have received this message in error, please notify the sender by 
return e-mail and delete the original message. Any retention, 
disclosure, copying, distribution or use of this information by anyone 
other than the intended recipient is strictly prohibited.
</span><span></span></span></span></span></span></span>
</div>

<p></p>

-- <br />
OpenMRS Developers: <a \
                href="http://go.openmrs.org/dev">http://go.openmrs.org/dev</a><br />
Post: dev@openmrs.org | Unsubscribe: dev+unsubscribe@openmrs.org<br />
Manage your OpenMRS subscriptions at <a \
href="https://id.openmrs.org/">https://id.openmrs.org/</a><br />

<p></p>

To unsubscribe from this group and stop receiving emails from it, send an email to <a \
href="mailto:dev+unsubscribe@openmrs.org">dev+unsubscribe@openmrs.org</a>.<br />



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic