This page is part of the FHIR Specification (v0.0.82: DSTU 1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
Generated Questionnaire for Subscription
<?xml version="1.0" encoding="UTF-8"?> <Questionnaire xmlns="http://hl7.org/fhir"> <id value="qs1"/> <identifier> <system value="urn:ietf:rfc:3986"/> </identifier> <status value="draft"/> <date value="2015-03-27T00:13:00+11:00"/> <publisher value="HL7 FHIR Project (FHIR Management Group)"/> <group> <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover"> <valueString value="The subscription resource is used to define a push based subscription from a server to another system. Once a subscription is registered with the server, the server checks every resource that is created or updated, and if the resource matches the given criteria, it sends a message on the defined "channel" so that another system is able to take an appropriate action."/> </extension> <linkId value="Subscription"/> <title value="A server push subscription criteria"/> <required value="true"/> <repeats value="false"/> <group> <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover"> <valueString value="The logical id of the resource, as used in the url for the resoure. Once assigned, this value never changes. The only time that a resource does not have an id is when it is being submitted to the server using a create operation. Bundles always have an id, though it is usually a generated UUID."/> </extension> <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type"> <valueString value="string"/> </extension> <linkId value="Subscription.id"/> <required value="false"/> <repeats value="true"/> <question> <linkId value="Subscription.id.value"/> <text value="Logical id of this artefact"/> <type value="string"/> <required value="false"/> <repeats value="false"/> </question> </group> <group> <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover"> <valueString value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource."/> </extension> <linkId value="Subscription.meta"/> <text value="Metadata about the resource"/> <required value="false"/> <repeats value="true"/> </group> <group> <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover"> <valueString value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element as much as possible."/> </extension> <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type"> <valueString value="uri"/> </extension> <linkId value="Subscription.implicitRules"/> <required value="false"/> <repeats value="true"/> <question> <linkId value="Subscription.implicitRules.value"/> <text value="A set of rules under which this content was created"/> <type value="string"/> <required value="false"/> <repeats value="false"/> </question> </group> <group> <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover"> <valueString value="The base language in which the resource is written. Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)."/> </extension> <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type"> <valueString value="code"/> </extension> <linkId value="Subscription.language"/> <required value="false"/> <repeats value="true"/> <question> <linkId value="Subscription.language.value"/> <text value="language"/> <type value="choice"/> <required value="false"/> <repeats value="false"/> </question> </group> <group> <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover"> <valueString value="A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety. Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative."/> </extension> <linkId value="Subscription.text"/> <text value="Text summary of the resource, for human interpretation"/> <required value="false"/> <repeats value="true"/> </group> <group> <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover"> <valueString value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope. This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again."/> </extension> <linkId value="Subscription.contained"/> <text value="Contained, inline Resources"/> <required value="false"/> <repeats value="true"/> </group> <group> <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover"> <valueString value="The rules that the server should use to determine when to generate notifications for this subscription. The rules are a search criteria (without the [base] part."/> </extension> <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type"> <valueString value="string"/> </extension> <linkId value="Subscription.criteria"/> <required value="true"/> <repeats value="true"/> <question> <linkId value="Subscription.criteria.value"/> <text value="Rule for server push criteria"/> <type value="string"/> <required value="false"/> <repeats value="false"/> </question> </group> <group> <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover"> <valueString value="Contact details for a human to contact about the subscription. The primary use of this for system administrator troubleshooting."/> </extension> <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type"> <valueString value="ContactPoint"/> </extension> <linkId value="Subscription.contact"/> <text value="Contact details for source (e.g. troubleshooting)"/> <required value="false"/> <repeats value="true"/> <question> <linkId value="Subscription.contact.system"/> <text value="type:"/> <type value="choice"/> <required value="false"/> <repeats value="false"/> </question> <question> <linkId value="Subscription.contact.value"/> <text value="value:"/> <type value="string"/> <required value="false"/> <repeats value="false"/> </question> <question> <linkId value="Subscription.contact.use"/> <text value="use:"/> <type value="choice"/> <required value="false"/> <repeats value="false"/> </question> </group> <group> <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover"> <valueString value="A description of why this subscription is defined."/> </extension> <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type"> <valueString value="string"/> </extension> <linkId value="Subscription.reason"/> <required value="true"/> <repeats value="true"/> <question> <linkId value="Subscription.reason.value"/> <text value="Description of why this subscription was created"/> <type value="string"/> <required value="false"/> <repeats value="false"/> </question> </group> <group> <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover"> <valueString value="The status of the subscription, which marks the server state for managing the subscription. A client can only submit subscription resources in the requested or off state. Only the server can move a subscription from requested to active, and then to error. Either the server or the client can turn a subscription off."/> </extension> <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type"> <valueString value="code"/> </extension> <linkId value="Subscription.status"/> <required value="true"/> <repeats value="true"/> <question> <linkId value="Subscription.status.value"/> <text value="status"/> <type value="choice"/> <required value="false"/> <repeats value="false"/> </question> </group> <group> <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover"> <valueString value="A record of the last error that occurred when the server processed a notification."/> </extension> <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type"> <valueString value="string"/> </extension> <linkId value="Subscription.error"/> <required value="false"/> <repeats value="true"/> <question> <linkId value="Subscription.error.value"/> <text value="Latest error note"/> <type value="string"/> <required value="false"/> <repeats value="false"/> </question> </group> <group> <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover"> <valueString value="Details where to send notifications when resources are received that meet the criteria."/> </extension> <linkId value="Subscription.channel"/> <title value="The channel on which to report matches to the criteria"/> <required value="true"/> <repeats value="false"/> <group> <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover"> <valueString value="unique id for the element within a resource (for internal references)."/> </extension> <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type"> <valueString value="string"/> </extension> <linkId value="Subscription.channel.id"/> <required value="false"/> <repeats value="true"/> <question> <linkId value="Subscription.channel.id.value"/> <text value="xml:id (or equivalent in JSON)"/> <type value="string"/> <required value="false"/> <repeats value="false"/> </question> </group> <group> <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover"> <valueString value="The type of channel to send notififcations on."/> </extension> <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type"> <valueString value="code"/> </extension> <linkId value="Subscription.channel.type"/> <required value="true"/> <repeats value="true"/> <question> <linkId value="Subscription.channel.type.value"/> <text value="type"/> <type value="choice"/> <required value="false"/> <repeats value="false"/> </question> </group> <group> <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover"> <valueString value="The uri that describes tha actual end point to send messages to. For rest-hook, and websocket, the end point must be an http: or https URL; for email, a mailto: url, for sms, a tel: url, and for message the endpoint can be in any form of url the server understands (usually, http: or mllp:). The URI is allowed to be relative; in which case, it is relative to the server end-point (since their may be more than one, clients should avoid using relative URIs)."/> </extension> <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type"> <valueString value="uri"/> </extension> <linkId value="Subscription.channel.endpoint"/> <required value="false"/> <repeats value="true"/> <question> <linkId value="Subscription.channel.endpoint.value"/> <text value="Where the channel points to"/> <type value="string"/> <required value="false"/> <repeats value="false"/> </question> </group> <group> <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover"> <valueString value="The mime type to send the payload in - either application/xml+fhir, or application/json+fhir. If the mime type is blank, then there is no payload in the notification, just a notification. Sending the payload has obvious security consequences. The server is responsible for ensuring that the content is appropriately secured."/> </extension> <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type"> <valueString value="string"/> </extension> <linkId value="Subscription.channel.payload"/> <required value="true"/> <repeats value="true"/> <question> <linkId value="Subscription.channel.payload.value"/> <text value="Mimetype to send, or blank for no payload"/> <type value="string"/> <required value="false"/> <repeats value="false"/> </question> </group> <group> <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover"> <valueString value="Additional headers / information to send as part of the notification. Exactly what these mean depend on the channel type. The can convey additional information to the recipient and/or meet security requirements."/> </extension> <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type"> <valueString value="string"/> </extension> <linkId value="Subscription.channel.header"/> <required value="false"/> <repeats value="true"/> <question> <linkId value="Subscription.channel.header.value"/> <text value="Usage depends on the channel type"/> <type value="string"/> <required value="false"/> <repeats value="false"/> </question> </group> </group> <group> <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover"> <valueString value="The time for the server to turn the subscription off. The server is permitted to deviate from this time, but should observe it."/> </extension> <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type"> <valueString value="instant"/> </extension> <linkId value="Subscription.end"/> <required value="false"/> <repeats value="true"/> <question> <linkId value="Subscription.end.value"/> <text value="When to automatically delete the subscription"/> <type value="instant"/> <required value="false"/> <repeats value="false"/> </question> </group> <group> <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover"> <valueString value="A tag to add to any resource that matches the criteria, after the subscription is processed. So that other systems can tell which resources have been the subject of a notification."/> </extension> <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type"> <valueString value="Coding"/> </extension> <linkId value="Subscription.tag"/> <required value="false"/> <repeats value="true"/> <question> <linkId value="Subscription.tag.value"/> <text value="A tag to add to matching resources"/> <type value="open-choice"/> <required value="false"/> <repeats value="false"/> </question> </group> </group> </Questionnaire>
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.