drajer-health / eCRNow

Repository for eCRNow app.
Apache License 2.0
39 stars 53 forks source link

Request to update trigger_match_status column in ph_message with sufficient data #524

Open Pramodshetty04 opened 1 year ago

Pramodshetty04 commented 1 year ago

I kindly request the inclusion of precise and up-to-date information in this column, specifically regarding the action status and a comprehensive list of all available trigger codes in the EICR (as currently only the first code is displayed). Additionally, it would be beneficial to include the EICR ID in the Outproduced section, aiming for a similar setup as we had in the 2.0 launch details (in the "status" column).

@skshahi

currently, this is how it displays:

{"statuses":{"actionId":"","actionType":"UNKNOWN","actionStatus":"NOT_STARTED","outputProduced":[],"triggerMatchStatus":true,"matchedCodes":[{"matchedCodes":["[http://snomed.info/sct|189486241000119100"],"matchedValues":[],"valueSet":"http://ersd.aimsplatform.org/fhir/ValueSet/dxtc","valueSetVersion":"2022-10-19","matchedPath":"Condition.code"},{"matchedCodes":["http://hl7.org/fhir/sid/icd-10-cm|T40.1X1A"],"matchedValues":[],"valueSet":"http://ersd.aimsplatform.org/fhir/ValueSet/dxtc","valueSetVersion":"2022-10-19","matchedPath":"Condition.code"}],"matchedResources":null}]}

nbashyam commented 1 year ago

I have looked into this and there are other complications, let us discuss this further on our call today.

nbashyam commented 1 year ago

After discussion the following information is being requested:

  1. Code that matched is required
  2. State of the Encounter / Patient processing is required
  3. Timer that generated the eICR.

Check Notification_context table and the triggerMatchStatus attribute in the ph_messages to verify the above data.

Pramodshetty04 commented 10 months ago

Hi Drajer, any further updates on this one?