Hi Mariam, For some reason the logic module does not seem to be registering tokens correctly for obs. You can verify this by looking at Administration -> (Logic Module) Token Registration. If you see only ~20 tokens registered, that means that the obs ones have not been registered yet. Also, if you search for CD4 in the search box and don't find anything, that means the token isn't registered yet.
To register the token, you need to do the following: - Go to the url: http://demo.openmrs.org/openmrs/module/logic/editTokenRegistration.form(but on your own server, not on demo.openmrs.org) - Token: CD4 COUNT - Rule Provider: org.openmrs.logic.datasource.ObsDataSource - Configuration: CD4 COUNT - Provider Token: CD4 COUNT - (Save) Now you should have a logic token registered for CD4, and you can test this from the "test" link next to that new token. Note, also, that everyone who uses your module is going to have to make sure they set up the CD4 COUNT token also. Does this help? -Darius On Wed, Apr 4, 2012 at 4:13 AM, Tammy Dugan <[email protected]> wrote: > What exactly do you want to CD4CountRule to do? > > Thanks, > > Tammy Dugan > > > On 4/4/2012 5:28 AM, Mariam N. wrote: > > > Hi, > In the the report I'm working on with reporting framework, I've tried to > get the median of patients' CD4 Count > and the problem was that the CD4CountRule hasn't been done before in the > logic module. > So, what I have to do is to add this obs rule.Can u plz help me step by > step on how this can be done? > But I think the best way is to add this in the core so that it will be > useful to everyone who will need to work on obs median issue. > > Regards! > > > > > > -- > *Mariam NYINAWUMUNTU > EMR Developer/MOH > > * > > ------------------------------ > Click here to > unsubscribe<[email protected]?body=SIGNOFF%20openmrs-devel-l>from > OpenMRS Developers' mailing list > > > -- > Tammy Dugan > CHIRDL Technical Lead > Children's Health Services Research > IU School of Medicine > > ------------------------------ > Click here to > unsubscribe<[email protected]?body=SIGNOFF%20openmrs-devel-l>from > OpenMRS Developers' mailing list > _________________________________________ To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to [email protected] with "SIGNOFF openmrs-devel-l" in the body (not the subject) of your e-mail. [mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

