-
Notifications
You must be signed in to change notification settings - Fork 93
Patient Importer - Comm from Provider to Provider - Wrong ID #333
Comments
The following monkeypatch, under the assumption it should be 1.29 and not 1.129, makes measure 0089 passable in cypress.
|
Actually the issue, I think, is much bigger than this. As I said above, it's not just the OID, but it's the NEGATIVE OID. Well that negative (NOT DONE) version needs to be accounted for to. And from what I see, it's not accounted for anywhere in the importer. When generating QRDA III documents and doing performance calculations, everything still seems to come out fine. But when re-generating QRDA I documents, things don't go so well. So in order to combat this, I did 2 things:
Here's the full monkey patch. I'm more than happy to turn this into a pull request and update the core code. I just need to know that it will actually be merged. I don't want to waste my time. This project seems very inactive. So I'm at least putting this here for the sake of others. NOTE: with this monkey patch, I get 100% success flags on all ambulatory and inpatient Cypress tests on the latest package.
|
In
patient_importer.rb
:generate_importer(Cat1::ProcedureImporter, nil, '2.16.840.1.113883.3.560.1.129'), #comm from provider to provider
If I look at the spec, the code should be
...1.29
not...
1.129. There's an extra 1 in there.
1.129is the
negation: trueversion of
communication_from_provider_to_provideraccording to the
hqmf_template_oid_map`.I think anyway :) If I'm wrong, please let me know why. FWIW, I had to edit my
records
documents in my DB to be1.29
instead of1.129
to passMeasure 0089 QRDA Cat I Test
in Cypress.The text was updated successfully, but these errors were encountered: