Class R4NotificationStatusBuilder

java.lang.Object
ca.uhn.fhir.jpa.topic.status.R4NotificationStatusBuilder
All Implemented Interfaces:
INotificationStatusBuilder<org.hl7.fhir.r4.model.Parameters>

public class R4NotificationStatusBuilder extends Object implements INotificationStatusBuilder<org.hl7.fhir.r4.model.Parameters>
  • Constructor Details

  • Method Details

    • buildNotificationStatus

      public org.hl7.fhir.r4.model.Parameters buildNotificationStatus(List<org.hl7.fhir.instance.model.api.IBaseResource> theResources, ActiveSubscription theActiveSubscription, String theTopicUrl)
      Description copied from interface: INotificationStatusBuilder
      Build a notification status resource to include as the first element in a topic subscription notification bundle
      Specified by:
      buildNotificationStatus in interface INotificationStatusBuilder<org.hl7.fhir.r4.model.Parameters>
      Parameters:
      theResources - The resources to include in the notification bundle. It should _NOT_ include the notification status resource. The first resource will be the "focus" resource.
      theActiveSubscription - The active subscription that triggered the notification
      theTopicUrl - The topic URL of the topic subscription
      Returns:
      the notification status resource. The resource type varies depending on the FHIR version.