Subscription
Ontoserver supports the management of Subscriptions.
Subscriptions support SCRUD (Search, Create, Read, Update and Delete) operations as per the FHIR Specification rules for REST and Subscriptions.
Search for subscriptions is limited to the following parameters:
-
the
_id,criteriaandtopicparameters (this additionally supports the:exact,:containsand:missingmodifiers) -
the
statusand_tagparameters, includingcode,|code,system|andsystem|codeformats, and the:missingmodifier -
the
_lastUpdatedparameter, including thelt,gt,ge,leandeqprefixes, and the:missingmodifier. This parameter can be provided multiple times for AND semantics, to support use cases such as searching between 2 times -
the
urlparameter, including the:missing,:aboveand:belowmodifiers, and -
Composite search parameters are supported, so all parameters can be used multiple times, for AND semantics, or with comma-separated values for OR semantics.
Of these, _id, url, criteria, topic,statusand_lastUpdated` can be used to sort search results.
Status Operation
The $status operation returns the current status of zero or more Subscriptions.
http://ontoserver.base.url/fhir/Subscription/$status (type level)
http://ontoserver.base.url/fhir/Subscription/[id]/$status (instance level)
where the type-level invocation can specify the id (which identifies one or more Subscriptions) and/or status (which constrains these Subscriptions based on their status) parameters either in the parameters of a GET request, or the body of a POST request.
The $status operation is supported according to its definition in the FHIR Specification,
and supports the id and status parameters.

Ontoserver