This wiki has undergone a migration to Confluence found Here
<meta name="googlebot" content="noindex">

Difference between revisions of "201709 FHIR Subscriptions"

From HL7Wiki
Jump to navigation Jump to search
(create)
 
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
Sub category of [[:Category:FHIR Connectathon Track Proposals|FHIR Connectathon Track Proposals]] for the current connectathon: Sept 2017 [[FHIR_Connectathon_16|Connectathon 16]]
 
Sub category of [[:Category:FHIR Connectathon Track Proposals|FHIR Connectathon Track Proposals]] for the current connectathon: Sept 2017 [[FHIR_Connectathon_16|Connectathon 16]]
  
Go to prior connectathon proposals: [[:Category:201705 FHIR Connectathon Track Proposals|May 2017 Connectathon Proposals]]
 
 
Use this page to submit proposals for tracks for inclusion in the Sept 9-10, 2017 (San Diego) connectathon.  These proposals will be reviewed and prioritized by the FMG as per the [[FHIR_Connectathon_Track_Process]].
 
 
[[Category:201709_FHIR_Connectathon_Track_Proposals|Sept 2017 Proposals]]
 
[[Category:201709_FHIR_Connectathon_Track_Proposals|Sept 2017 Proposals]]
 
__NOTOC__
 
__NOTOC__
Line 31: Line 28:
 
<!-- List of the individuals and/or organizations that have indicated a desire to attend the connectathon and implement this track -->
 
<!-- List of the individuals and/or organizations that have indicated a desire to attend the connectathon and implement this track -->
  
*Brian Postlethwaite
+
*[https://chat.fhir.org/#narrow/pm-with/61-brian_pos Brian Postlethwaite]
*Alexander Henket
+
*[https://chat.fhir.org/#narrow/pm-with/69-henket Alexander Henket]
*Christiaan Knapp
+
*[https://chat.fhir.org/#narrow/pm-with/451-christiaanfurore Christiaan Knaap]
*Grahame Grieve
+
*[https://chat.fhir.org/#narrow/pm-with/10-grahame Grahame Grieve]
*Will Maethner
+
*[https://chat.fhir.org/#narrow/pm-with/3052-wmaethner Will Maethner]
*TBD PACS developers
+
*[https://chat.fhir.org/#narrow/pm-with/3056-niklas.svenzen Niklas Svenzén]
 +
*Bill Harty
  
 
==Roles==
 
==Roles==

Latest revision as of 19:05, 1 September 2017

Sub category of FHIR Connectathon Track Proposals for the current connectathon: Sept 2017 Connectathon 16

FHIR Subscriptions

Submitting WG/Project/Implementer Group

FHIR-I

Justification

The current FHIR Subscriptions spec is based around the idea that a clinical system uses FHIR resources as its native database format and executes subscribed FHIR queries against every resource as it's created or modified. This would work well for custom built middleware and FHIR reference implementations, but generally not for systems that implement clinical workflow.

Many clinical systems are event-based. An implementable subscription criteria would rather be based on an event and then narrowed to specific attributes/criteria.

The subscription pub/sub pattern enables FHIR clients to retrieve data from a server without performing a more expensive periodic polling queries. This model potentially also enables workflow event-based notifications that could keep two applications data in sync, but also synchronize their context. There's some interest within the RIS/PACS community to identify a common, lightweight application synchronization standard.

This track will attempt to prototype this event-based concept on top of the existing FHIR Subscription REST hook and criteria element. Further, as a stretch goal, this connectathon will attempt to prototype this workflow synchronization using FHIR Subscriptions.

Proposed Track Lead

Isaac Vetter

Expected participants

Roles

FHIR Subscriptions server

The FHIR Server supports the Subscription resource and pushing relevant FHIR resources to client.

FHIR Subscribing client

Subscribes to FHIR server and gets updates.

Scenarios

Create FHIR Subscription

Action: Support Subscription resource writes using the topic extension, as illustrated, below.
Precondition: n/a
Success Criteria: Client POSTs new subscription resource to FHIR server. FHIR server persists active subscription resource.
Bonus Point: FHIR server support searching and reading Subscription resources.

REST Hook with payload of "payload": "application/fhir+json"

Action: Support pushing FHIR resources.
Precondition: n/a
Success Criteria: FHIR server pushes FHIR payload of relevant resource using REST Hook when the subscribed event occurs in the FHIR server.
Bonus point: n/a

Subscribe to a REST Hook of "patientchartopen"

Action: Subscribing app creates Subscription with an extended topic that means that a patient chart was opened in the EHR FHIR server in a specific Location. FHIR Server notifies app of the patient chart that was opened.
Precondition: Subscription resource support.
Success Criteria: Subscribing app is notified of the event.
Bonus point: FHIR server has a prototyped EventDefinition resource that defines a patient chart being opened.


Example subscription resource with proposed extension

{
  "resourceType": "Subscription",
  "criteria": "Patient/123",
  "extension": {[
	"url": "http://hl7.org/fhir/subscription/topics",
	"valueReference": {
		"reference": "https://example.com/EventDefinition/123",
		"display": "patient admitted",
	}
     ]
  }
  "channel": {
    "type": "rest-hook",
    "endpoint": "https://biliwatch.com/customers/mount-auburn-miu/on-result",
    "payload": "application/fhir+json"
  }
}