This page is part of a downloaded copy of this specification. This page is part of the FHIR Specification (v4.0.1: R4 - Mixed Normative and STU). For a full list of available versions, see the Directory of published versions
FHIR Infrastructure Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Not linked to any defined compartments |
Raw XML (canonical form + also see XML Format Specification)
Generated Questionnaire for Binary
<?xml version="1.0" encoding="UTF-8"?> <Questionnaire xmlns="http://hl7.org/fhir"> <id value="qs1"/> <identifier> <system value="urn:ietf:rfc:3986"/> </identifier> <version value="4.0.1"/> <status value="active"/> <date value="2019-11-01T09:29:23+11:00"/> <publisher value="Health Level Seven International (FHIR Infrastructure)"/> <item> <linkId value="Binary"/> <text value="Pure binary content defined by a format other than FHIR"/> <type value="group"/> <required value="false"/> <repeats value="true"/> <item> <text value="Typically, Binary resources are used for handling content such as: 

* CDA Documents (i.e. with XDS) 
* PDF Documents 
* Images (the Media resource is preferred for handling images, but not possible when the content is already binary - e.g. XDS)."/> <type value="display"/> </item> <item> <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl"> <valueCodeableConcept> <coding> <system value="http://hl7.org/fhir/questionnaire-item-control"/> <code value="flyover"/> <display value="Fly-over"/> </coding> </valueCodeableConcept> </extension> <text value="A resource that represents the data of a single raw artifact as digital content accessible in its native format. A Binary resource can contain any content, whether text, image, pdf, zip archive, etc."/> <type value="display"/> </item> <item> <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs"> <valueInteger value="1"/> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType"> <valueString value="string"/> </extension> <linkId value="Binary.id"/> <type value="group"/> <required value="false"/> <repeats value="true"/> <item> <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl"> <valueCodeableConcept> <coding> <system value="http://hl7.org/fhir/questionnaire-item-control"/> <code value="flyover"/> <display value="Fly-over"/> </coding> </valueCodeableConcept> </extension> <text value="The logical id of the resource, as used in the URL for the resource. 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."/> <type value="display"/> </item> <item> <linkId value="Binary.id.value"/> <text value="Logical id of this artifact"/> <type value="string"/> <required value="false"/> <repeats value="false"/> </item> </item> <item> <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs"> <valueInteger value="1"/> </extension> <linkId value="Binary.meta"/> <text value="Metadata about the resource"/> <type value="group"/> <required value="false"/> <repeats value="true"/> <item> <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl"> <valueCodeableConcept> <coding> <system value="http://hl7.org/fhir/questionnaire-item-control"/> <code value="flyover"/> <display value="Fly-over"/> </coding> </valueCodeableConcept> </extension> <text value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource."/> <type value="display"/> </item> </item> <item> <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs"> <valueInteger value="1"/> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType"> <valueString value="uri"/> </extension> <linkId value="Binary.implicitRules"/> <type value="group"/> <required value="false"/> <repeats value="true"/> <item> <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl"> <valueCodeableConcept> <coding> <system value="http://hl7.org/fhir/questionnaire-item-control"/> <code value="flyover"/> <display value="Fly-over"/> </coding> </valueCodeableConcept> </extension> <text 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. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc. 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. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc."/> <type value="display"/> </item> <item> <linkId value="Binary.implicitRules.value"/> <text value="A set of rules under which this content was created"/> <type value="string"/> <required value="false"/> <repeats value="false"/> </item> </item> <item> <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs"> <valueInteger value="1"/> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType"> <valueString value="code"/> </extension> <linkId value="Binary.language"/> <type value="group"/> <required value="false"/> <repeats value="true"/> <item> <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl"> <valueCodeableConcept> <coding> <system value="http://hl7.org/fhir/questionnaire-item-control"/> <code value="flyover"/> <display value="Fly-over"/> </coding> </valueCodeableConcept> </extension> <text 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)."/> <type value="display"/> </item> <item> <linkId value="Binary.language.value"/> <text value="language"/> <type value="choice"/> <required value="false"/> <repeats value="false"/> </item> </item> <item> <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs"> <valueInteger value="1"/> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs"> <valueInteger value="1"/> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType"> <valueString value="code"/> </extension> <linkId value="Binary.contentType"/> <type value="group"/> <required value="true"/> <repeats value="true"/> <item> <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl"> <valueCodeableConcept> <coding> <system value="http://hl7.org/fhir/questionnaire-item-control"/> <code value="flyover"/> <display value="Fly-over"/> </coding> </valueCodeableConcept> </extension> <text value="MimeType of the binary content represented as a standard MimeType (BCP 13)."/> <type value="display"/> </item> <item> <linkId value="Binary.contentType.value"/> <text value="content type"/> <type value="choice"/> <required value="false"/> <repeats value="false"/> </item> </item> <item> <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs"> <valueInteger value="1"/> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType"> <valueString value="Reference"/> </extension> <linkId value="Binary.securityContext"/> <type value="group"/> <required value="false"/> <repeats value="true"/> <item> <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl"> <valueCodeableConcept> <coding> <system value="http://hl7.org/fhir/questionnaire-item-control"/> <code value="flyover"/> <display value="Fly-over"/> </coding> </valueCodeableConcept> </extension> <text value="This element identifies another resource that can be used as a proxy of the security sensitivity to use when deciding and enforcing access control rules for the Binary resource. Given that the Binary resource contains very few elements that can be used to determine the sensitivity of the data and relationships to individuals, the referenced resource stands in as a proxy equivalent for this purpose. This referenced resource may be related to the Binary (e.g. Media, DocumentReference), or may be some non-related Resource purely as a security proxy. E.g. to identify that the binary resource relates to a patient, and access should only be granted to applications that have access to the patient. Very often, a server will also know of a resource that references the binary, and can automatically apply the appropriate access rules based on that reference. However, there are some circumstances where this is not appropriate, e.g. the binary is uploaded directly to the server without any linking resource, the binary is referred to from multiple different resources, and/or the binary is content such as an application logo that has less protection than any of the resources that reference it."/> <type value="display"/> </item> <item> <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource"> <valueCode value="Resource"/> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter"> <valueString value="subject=$subj&patient=$subj&encounter=$encounter"/> </extension> <linkId value="Binary.securityContext.value"/> <text value="Identifies another resource to use as proxy when enforcing access control"/> <type value="reference"/> <required value="false"/> <repeats value="false"/> </item> </item> <item> <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs"> <valueInteger value="1"/> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType"> <valueString value="binary"/> </extension> <linkId value="Binary.data"/> <text value="The actual content"/> <type value="group"/> <required value="false"/> <repeats value="true"/> <item> <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl"> <valueCodeableConcept> <coding> <system value="http://hl7.org/fhir/questionnaire-item-control"/> <code value="flyover"/> <display value="Fly-over"/> </coding> </valueCodeableConcept> </extension> <text value="The actual content, base64 encoded. If the content type is itself base64 encoding, then this will be base64 encoded twice - what is created by un-base64ing the content must be the specified content type."/> <type value="display"/> </item> </item> </item> </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.