Stream: implementers
Topic: Best Way For ADTs
Justin (Jul 26 2018 at 18:32):
Hey all,
I need some advice on the best way to achieve what I am trying to do in my app. This is a C# ASP.NET Web App hosted in the cloud with its own SQL Database backend. This is more of an Administrative level app rather than clinical.
What the app wants to know:
1) When a planned or scheduled admission is created or updated
2) When that planned or scheduled admission turns into an actual admission
3) When a standard admission happens
4) When a transfer happens
5) When a discharge happens
The app is external from any EHR but does have the ability to receive FHIR resources and/or go out and get FHIR resources.
So, what is the best way to achieve what the app is meant to handle and what is the most "standard" way to do it across EHRs?
Lloyd McKenzie (Jul 26 2018 at 18:42):
The simplest thing would be to subscribe to the Encounter resources of interest. Then you'll get notified whenever they're created or changed. You'll get notifications about changes you don't care about that you'd need to ignore, but it's the least effort for the server - and thus more likely that servers will actually do it.
Justin (Jul 26 2018 at 18:55):
Thanks for the answer! Yes that is what I have been working towards. Do you know of a good workflow/use case document that outlines the different Encounter statuses and when they are used? Also, would an Encounter flow act as (for status) Planned -> Arrived -> In-Progress -> Finished and keep the same Encounter ID?
Lloyd McKenzie (Jul 26 2018 at 19:01):
FHIR supports a wide variety of flows and it's hard to guarantee consistency given that internal business processes aren't the same. For example,in some cases you might be discharged from an emergency encounter and then admitted for an inpatient encounter. In other organizations that would be handled as a transfer. @Brian Postlethwaite, @Irma Jongeneel - are you aware of any specific guidance/documentation beyond what's already in the spec?
Justin (Jul 26 2018 at 19:02):
ahh that reminds me, the app would only be interested with inpatient but yes the differences by ehr make total sense! Just the joys of trying to make an external administrative application!
Irma Jongeneel (Jul 26 2018 at 19:18):
@Lloyd McKenzie Like you said, some systems would see that as a transfer, others as a discharge and new encounter.
Justin (Jul 26 2018 at 19:29):
And there isn't anything linking that together besides the patient ID correct?
Justin (Jul 26 2018 at 19:44):
Also, is there an efficient way to pull new/updated encounters out of Fhir with search parameters? I assume this is also depending on the Fhir EHR of how we can pull?
Lloyd McKenzie (Jul 26 2018 at 19:47):
admitSource could give a hint - e.g. admitSource=emergency would be a hint to look for an encounter. There's also an associated-encounter extension. But whether those will be populated or not is probably not something you can rely on.
Last updated: Apr 12 2022 at 19:14 UTC