Operation: Create Subscription
After the subscription is successfully processed, the OLIS pub/sub server will use the subscriptionTopic logic to check if a lab report meets the notification criteria. If it does, the notification will be sent to the client in a FHIR bundle.
To create a new Subscription, the subscription should be submitted to the server via a FHIR create operation.
POST [base]/Subscription
The Subscription SHOULD be in "requested" state. The server will validate its strucuture and content, and if it passes validation, changes the status to "active". If the Subscription fails validation, client will receive an error message with OperationOutcome indcating the issue. The Subscription MUST be conformant to the Subscription profile in this implementation guide.