Thanks, James... works like a charm. For some reason now the Household ID is 
showing up in the result list. However, I believe the issue about whether they 
are being properly indexed for search might be a Dojo problem. I added this to 
an existing bug report, but it does not seem that patient attributes are 
searchable in 1.6.5

Andy
 
-------------------- 
Andrew S. Kanter, MD MPH 

- Director of Health Information Systems/Medical Informatics
Millennium Villages Project, Earth Institute, Columbia University
- Asst. Prof. of Clinical Biomedical Informatics and Clinical Epidemiology
Columbia University

Email: [email protected] 
Mobile: +1 (646) 469-2421
Office: +1 (212) 305-4842
Skype: akanter-ippnw
Yahoo: andy_kanter



>________________________________
> From: James Arbaugh <[email protected]>
>To: [email protected] 
>Sent: Sunday, March 18, 2012 10:47 PM
>Subject: Re: [OPENMRS-IMPLEMENTERS] Adding Household ID and make searchable 
>and reportable
> 
>
>Hi Andy,
> 
>I don’t have all the answers, but you should be able to include a person 
>attribute on a data export.  It’s not in the convenient drop-down list, but 
>you can add it in manually.  We do that to get our tribe person attribute 
>sometimes.  You can setup a column value something like this, but changing it 
>to match the name of your Household ID.
>$!{fn.getPersonAttribute('Tribe')}
> 
>I’m sure you’ve tried the obvious in getting the person attribute to appear in 
>search results, but just in case; At the bottom of the person attribute page, 
>you should be able to choose which fields to include in search result lists.  
>Looks like it’s called “Patient Listing Attributes” in OpenMRS 1.8.  This can 
>be specified by name, with a comma (and no spaces) between values.  This is 
>broken in 1.8. If this is something you anticipate needing once you upgrade, 
>please place a vote for it. https://tickets.openmrs.org/browse/TRUNK-2442 
> 
>Thanks,
>James
> 
>From:[email protected] [mailto:[email protected]] On Behalf Of 
>Andrew Kanter
>Sent: Sunday, March 18, 2012 5:19 PM
>To: [email protected]
>Subject: [OPENMRS-IMPLEMENTERS] Adding Household ID and make searchable and 
>reportable
> 
>I added a new person_attribute called Household ID, made it a java.string and 
>searchable. I added it to the patient list and patient view and header 
>elements. I am using 1.6.5
> 
>It now appears on the short demographic entry screen and on the patient header 
>and when I view the patient. It does NOT appear on the search result list, nor 
>when I search for the code does it return any results. Any idea why this might 
>not be working?
> 
>Also, I think we need to have a report of patient name and household ID. I 
>thought I could use data export for this, but it appears that person 
>attributes do not appear. I could right custom XML, or just do a SQL query, 
>but wondered if someone was more familiar with the built in functions for 1.6x 
>it might be easier just to ask :)
> 
>Thanks!
>Andy
> 
>________________________________
> Click here to unsubscribe from OpenMRS Implementers' mailing list
>
>

_________________________________________

To unsubscribe from OpenMRS Implementers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-implement-l" in the  body 
(not the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l]

Reply via email to