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
{ "resourceType": "Questionnaire", "id": "qs1", "identifier": [ { "system": "urn:ietf:rfc:3986" } ], "status": "draft", "date": "2015-03-27T00:13:00+11:00", "publisher": "HL7 FHIR Project (FHIR Management Group)", "group": { "extension": [ { "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover", "valueString": "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." } ], "linkId": "Subscription", "title": "A server push subscription criteria", "required": true, "repeats": false, "group": [ { "extension": [ { "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover", "valueString": "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." }, { "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type", "valueString": "string" } ], "linkId": "Subscription.id", "required": false, "repeats": true, "question": [ { "linkId": "Subscription.id.value", "text": "Logical id of this artefact", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover", "valueString": "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." } ], "linkId": "Subscription.meta", "text": "Metadata about the resource", "required": false, "repeats": true }, { "extension": [ { "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover", "valueString": "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." }, { "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type", "valueString": "uri" } ], "linkId": "Subscription.implicitRules", "required": false, "repeats": true, "question": [ { "linkId": "Subscription.implicitRules.value", "text": "A set of rules under which this content was created", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover", "valueString": "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\n\nNot 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)." }, { "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type", "valueString": "code" } ], "linkId": "Subscription.language", "required": false, "repeats": true, "question": [ { "linkId": "Subscription.language.value", "text": "language", "type": "choice", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover", "valueString": "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." } ], "linkId": "Subscription.text", "text": "Text summary of the resource, for human interpretation", "required": false, "repeats": true }, { "extension": [ { "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover", "valueString": "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." } ], "linkId": "Subscription.contained", "text": "Contained, inline Resources", "required": false, "repeats": true }, { "extension": [ { "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover", "valueString": "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." }, { "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type", "valueString": "string" } ], "linkId": "Subscription.criteria", "required": true, "repeats": true, "question": [ { "linkId": "Subscription.criteria.value", "text": "Rule for server push criteria", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover", "valueString": "Contact details for a human to contact about the subscription. The primary use of this for system administrator troubleshooting." }, { "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type", "valueString": "ContactPoint" } ], "linkId": "Subscription.contact", "text": "Contact details for source (e.g. troubleshooting)", "required": false, "repeats": true, "question": [ { "linkId": "Subscription.contact.system", "text": "type:", "type": "choice", "required": false, "repeats": false }, { "linkId": "Subscription.contact.value", "text": "value:", "type": "string", "required": false, "repeats": false }, { "linkId": "Subscription.contact.use", "text": "use:", "type": "choice", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover", "valueString": "A description of why this subscription is defined." }, { "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type", "valueString": "string" } ], "linkId": "Subscription.reason", "required": true, "repeats": true, "question": [ { "linkId": "Subscription.reason.value", "text": "Description of why this subscription was created", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover", "valueString": "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." }, { "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type", "valueString": "code" } ], "linkId": "Subscription.status", "required": true, "repeats": true, "question": [ { "linkId": "Subscription.status.value", "text": "status", "type": "choice", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover", "valueString": "A record of the last error that occurred when the server processed a notification." }, { "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type", "valueString": "string" } ], "linkId": "Subscription.error", "required": false, "repeats": true, "question": [ { "linkId": "Subscription.error.value", "text": "Latest error note", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover", "valueString": "Details where to send notifications when resources are received that meet the criteria." } ], "linkId": "Subscription.channel", "title": "The channel on which to report matches to the criteria", "required": true, "repeats": false, "group": [ { "extension": [ { "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover", "valueString": "unique id for the element within a resource (for internal references)." }, { "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type", "valueString": "string" } ], "linkId": "Subscription.channel.id", "required": false, "repeats": true, "question": [ { "linkId": "Subscription.channel.id.value", "text": "xml:id (or equivalent in JSON)", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover", "valueString": "The type of channel to send notififcations on." }, { "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type", "valueString": "code" } ], "linkId": "Subscription.channel.type", "required": true, "repeats": true, "question": [ { "linkId": "Subscription.channel.type.value", "text": "type", "type": "choice", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover", "valueString": "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)." }, { "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type", "valueString": "uri" } ], "linkId": "Subscription.channel.endpoint", "required": false, "repeats": true, "question": [ { "linkId": "Subscription.channel.endpoint.value", "text": "Where the channel points to", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover", "valueString": "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." }, { "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type", "valueString": "string" } ], "linkId": "Subscription.channel.payload", "required": true, "repeats": true, "question": [ { "linkId": "Subscription.channel.payload.value", "text": "Mimetype to send, or blank for no payload", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover", "valueString": "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." }, { "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type", "valueString": "string" } ], "linkId": "Subscription.channel.header", "required": false, "repeats": true, "question": [ { "linkId": "Subscription.channel.header.value", "text": "Usage depends on the channel type", "type": "string", "required": false, "repeats": false } ] } ] }, { "extension": [ { "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover", "valueString": "The time for the server to turn the subscription off. The server is permitted to deviate from this time, but should observe it." }, { "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type", "valueString": "instant" } ], "linkId": "Subscription.end", "required": false, "repeats": true, "question": [ { "linkId": "Subscription.end.value", "text": "When to automatically delete the subscription", "type": "instant", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover", "valueString": "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." }, { "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type", "valueString": "Coding" } ], "linkId": "Subscription.tag", "required": false, "repeats": true, "question": [ { "linkId": "Subscription.tag.value", "text": "A tag to add to matching resources", "type": "open-choice", "required": false, "repeats": false } ] } ] } }
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.