Class FHIRNotificationUtil


  • public class FHIRNotificationUtil
    extends Object
    • Constructor Detail

      • FHIRNotificationUtil

        public FHIRNotificationUtil()
    • Method Detail

      • toJsonString

        public static String toJsonString​(FHIRNotificationEvent event,
                                          boolean includeResource)
                                   throws FHIRException
        Serializes the notification event into a JSON string.
        Parameters:
        event - the FHIRNotificationEvent structure to be serialized
        includeResource - a flag that controls whether or not the resource object within the event structure should be included in the serialized message.
        Returns:
        the serialized message as a String
        Throws:
        FHIRException