Interface INotificationStatusBuilder<T extends org.hl7.fhir.instance.model.api.IBaseResource>

All Known Implementing Classes:
R4BNotificationStatusBuilder, R4NotificationStatusBuilder, R5NotificationStatusBuilder

public interface INotificationStatusBuilder<T extends org.hl7.fhir.instance.model.api.IBaseResource>
  • Method Summary

    Modifier and Type
    Method
    Description
    buildNotificationStatus(List<org.hl7.fhir.instance.model.api.IBaseResource> theResources, ActiveSubscription theActiveSubscription, String theTopicUrl)
    Build a notification status resource to include as the first element in a topic subscription notification bundle
  • Method Details

    • buildNotificationStatus

      T buildNotificationStatus(List<org.hl7.fhir.instance.model.api.IBaseResource> theResources, ActiveSubscription theActiveSubscription, String theTopicUrl)
      Build a notification status resource to include as the first element in a topic subscription notification bundle
      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.