Hi Marc,
Any way someone has contacts with HRM for such info? Otherwise I guess I'll
have to call their support line.
As for details, the code is in the class "HRMReportParser" on line 340,
function "routeReportToSubClass"
So the code only creates a "subclass" if the report is either a diagnostic
imaging report, or a cardio resp report . Otherwise, it would't add a
subclass. The issue is, we have clients who are getting reports that don't
fall in these 2 categories, but the reports still come with a sub-class. So
it puzzles me why was it designed in a way to assume sub-class only for
these 2 report types and not the 3rd one (i.e. medical record reports)
The code:
public static void routeReportToSubClass(HRMReport report, Integer
reportId) {
do stuff;
if (report.getFirstReportClass().equalsIgnoreCase("Diagnostic Imaging
Report") || report.getFirstReportClass().equalsIgnoreCase("Cardio
Respiratory Report")) {
create the subclass;
} else {
// There aren't subclasses on a Medical Records Report
}
}
Hagir elhadari
905 444 9166
Director of EMR Technology
www.kaiinnovations.com
- Cobourg
- Whitby
- Toronto
On Tue, Sep 29, 2015 at 3:39 PM, Marc Dumontier <ma...@md...> wrote:
> Hi Hagir,
>
> I don't think you'll get an answer from the original authors, but what
> code are you referring to with regards to logic?
>
> On Mon, Sep 28, 2015 at 6:22 PM, Hagir El-Hadari <he...@ka...>
> wrote:
>
>> Hello everyone,
>>
>> I am currently working on this bug report
>> http://sourceforge.net/p/oscarmcmaster/bugs/4099/ related to HRM. When
>> examining the source code, I can see different report classes are treated
>> differently in an explicit way so that the report class in question is
>> assumed to have no sub-class.
>>
>> I was wondering if there is any documentation related to HRM reports that
>> was used to make these decisions and conditions. I would need to refer to
>> the specifications when working with this, and it would be a great resource
>> to share for any future improvements on HRM feature.
>>
>> Thanks
>> Hagir elhadari
>> 905 444 9166
>> Director of EMR Technology
>> www.kaiinnovations.com
>>
>> - Cobourg
>> - Whitby
>> - Toronto
>>
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Oscarmcmaster-devel mailing list
>> Osc...@li...
>> https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel
>>
>>
>
>
> --
> Marc Dumontier
> 519-584-5601
> http://www.hxb.ca <http://oscardevel.com/wordpress/>
> http://www.oscarmcmaster.org
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Oscarmcmaster-devel mailing list
> Osc...@li...
> https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel
>
>
|