I'm using Open.epic to fetch data from fhir resources. But my requirement is that after getting the patient data from the resource . If there is any changes or updation on patient record (for eg : for lab test or medication) then it should be automatically update in my database without explicity calling it from the frontend
I read the documentation of openepic (https://fhir.epic.com/Sandbox) didn't find any solution there. there are CDS Hooks (https://fhir.epic.com/Documentation?docId=cds-hooks) but i don't think it is related to pulling real time data
for that do FHIR have any hooks, apis or any other trigger points from where we can get the data at realtime whenever they get added for the patients(or for specific encounter)
Epic does not offer webhooks. If you need to be notified of changes, if there is an HL7v2 interface and trigger that would apply to the data you care about, you could receive notifications that way.