{ "description": "This profile represents a response to the Healthcare Associated Infection Population Summary Questionnaire as a FHIR QuestionnaireResponse profile.", "_filename": "StructureDefinition-hai-population-summary-questionnaire-response.json", "package_name": "hl7.fhir.us.hai", "date": "2019-03-27T07:21:32+11:00", "derivation": "constraint", "meta": { "versionId": "1", "lastUpdated": "2019-03-08T07:40:56.000+11:00" }, "publisher": "Lantana Consulting Group", "fhirVersion": "3.0.1", "name": "hai-population-summary-questionnaire-response", "mapping": [ { "uri": "http://hl7.org/v3", "name": "RIM Mapping", "identity": "rim" }, { "uri": "http://hl7.org/fhir/w5", "name": "W5 Mapping", "identity": "w5" } ], "abstract": false, "type": "QuestionnaireResponse", "experimental": null, "resourceType": "StructureDefinition", "title": "Healthcare Associated Infection Population Summary QuestionnaireResponse", "package_version": "1.1.0", "snapshot": { "element": [ { "constraint": [ { "key": "dom-2", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource", "severity": "error", "expression": "contained.contained.empty()" }, { "key": "dom-1", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource", "severity": "error", "expression": "contained.text.empty()" }, { "key": "dom-4", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource", "severity": "error", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" }, { "key": "dom-3", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", "source": "DomainResource", "severity": "error", "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()" } ], "path": "QuestionnaireResponse", "min": 0, "definition": "This profile represents a response to the Healthcare Associated Infection Population Summary Questionnaire as a FHIR QuestionnaireResponse profile.", "short": "Healthcare Associated Infection Population Summary QuestionnaireResponse", "mapping": [ { "map": "Entity. Role, or Act", "identity": "rim" }, { "map": "Observation[moodCode=EVN]", "identity": "rim" }, { "map": "infrastructure.information", "identity": "w5" } ], "mustSupport": true, "alias": [ "Form", "QuestionnaireAnswers" ], "max": "*", "id": "QuestionnaireResponse", "comment": "The QuestionnaireResponse contains enough information about the questions asked and their organization that it can be interpreted somewhat independently from the Questionnaire it is based on. I.e. You don't need access to the Questionnaire in order to extract basic information from a QuestionnaireResponse.", "base": { "max": "*", "min": 0, "path": "QuestionnaireResponse" } }, { "path": "QuestionnaireResponse.id", "min": 1, "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", "short": "Logical id of this artifact", "type": [ { "code": "id" } ], "max": "1", "id": "QuestionnaireResponse.id", "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", "base": { "max": "1", "min": 0, "path": "Resource.id" }, "isSummary": true }, { "path": "QuestionnaireResponse.meta", "min": 1, "definition": "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.", "short": "Metadata about the resource", "type": [ { "code": "Meta" } ], "mustSupport": true, "max": "1", "id": "QuestionnaireResponse.meta", "base": { "max": "1", "min": 0, "path": "Resource.meta" }, "isSummary": true }, { "path": "QuestionnaireResponse.meta.id", "min": 0, "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "short": "xml:id (or equivalent in JSON)", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "string" } ], "representation": [ "xmlAttr" ], "max": "1", "id": "QuestionnaireResponse.meta.id", "base": { "max": "1", "min": 0, "path": "Element.id" } }, { "path": "QuestionnaireResponse.meta.extension", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "short": "Additional Content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" } ], "slicing": { "rules": "open", "description": "Extensions are always sliced by (at least) url", "discriminator": [ { "path": "url", "type": "value" } ] }, "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "QuestionnaireResponse.meta.extension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "Element.extension" } }, { "path": "QuestionnaireResponse.meta.versionId", "min": 0, "definition": "The version specific identifier, as it appears in the version portion of the URL. This values changes when the resource is created, updated, or deleted.", "short": "Version specific identifier", "type": [ { "code": "id" } ], "max": "1", "id": "QuestionnaireResponse.meta.versionId", "comment": "The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes.", "base": { "max": "1", "min": 0, "path": "Meta.versionId" }, "isSummary": true }, { "path": "QuestionnaireResponse.meta.lastUpdated", "min": 0, "definition": "When the resource last changed - e.g. when the version changed.", "short": "When the resource version last changed", "type": [ { "code": "instant" } ], "max": "1", "id": "QuestionnaireResponse.meta.lastUpdated", "comment": "This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant.", "base": { "max": "1", "min": 0, "path": "Meta.lastUpdated" }, "isSummary": true }, { "path": "QuestionnaireResponse.meta.profile", "min": 1, "definition": "A reference to this profile (to which the instance claims to conform).", "short": "A reference to this profile (to which the instance claims to conform).", "type": [ { "code": "uri" } ], "mustSupport": true, "max": "1", "id": "QuestionnaireResponse.meta.profile", "comment": "It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time. The list of profile URLs is a set.", "base": { "max": "*", "min": 0, "path": "Meta.profile" }, "patternUri": "http://hl7.org/fhir/us/hai/StructureDefinition/hai-population-summary-questionnaire-response", "isSummary": true }, { "path": "QuestionnaireResponse.meta.security", "min": 0, "definition": "Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.", "short": "Security Labels applied to this resource", "type": [ { "code": "Coding" } ], "binding": { "strength": "extensible", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "SecurityLabels" }, { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", "valueBoolean": true } ], "description": "Security Labels from the Healthcare Privacy and Security Classification System.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/security-labels" } }, "max": "*", "id": "QuestionnaireResponse.meta.security", "comment": "The security labels can be updated without changing the stated version of the resource The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored.", "base": { "max": "*", "min": 0, "path": "Meta.security" }, "isSummary": true }, { "path": "QuestionnaireResponse.meta.tag", "min": 0, "definition": "Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.", "short": "Tags applied to this resource", "type": [ { "code": "Coding" } ], "binding": { "strength": "example", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "Tags" } ], "description": "Codes that represent various types of tags, commonly workflow-related; e.g. \"Needs review by Dr. Jones\"", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/common-tags" } }, "max": "*", "id": "QuestionnaireResponse.meta.tag", "comment": "The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored.", "base": { "max": "*", "min": 0, "path": "Meta.tag" }, "isSummary": true }, { "path": "QuestionnaireResponse.implicitRules", "min": 0, "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.", "isModifier": true, "short": "A set of rules under which this content was created", "type": [ { "code": "uri" } ], "max": "1", "id": "QuestionnaireResponse.implicitRules", "comment": "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. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.", "base": { "max": "1", "min": 0, "path": "Resource.implicitRules" }, "isSummary": true }, { "path": "QuestionnaireResponse.language", "min": 0, "definition": "The base language in which the resource is written.", "short": "Language of the resource content", "type": [ { "code": "code" } ], "binding": { "strength": "extensible", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } }, { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "Language" }, { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", "valueBoolean": true } ], "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } }, "max": "1", "id": "QuestionnaireResponse.language", "comment": "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).", "base": { "max": "1", "min": 0, "path": "Resource.language" } }, { "path": "QuestionnaireResponse.text", "min": 1, "definition": "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.", "short": "Text summary of the resource, for human interpretation", "mapping": [ { "map": "Act.text?", "identity": "rim" } ], "type": [ { "code": "Narrative" } ], "mustSupport": true, "alias": [ "narrative", "html", "xhtml", "display" ], "max": "1", "id": "QuestionnaireResponse.text", "condition": [ "dom-1" ], "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded in formation is added later.", "base": { "max": "1", "min": 0, "path": "DomainResource.text" } }, { "path": "QuestionnaireResponse.contained", "min": 0, "definition": "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.", "short": "Contained, inline Resources", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Resource" } ], "alias": [ "inline resources", "anonymous resources", "contained resources" ], "max": "*", "id": "QuestionnaireResponse.contained", "comment": "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.", "base": { "max": "*", "min": 0, "path": "DomainResource.contained" } }, { "path": "QuestionnaireResponse.extension", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "short": "Additional Content defined by implementations", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "QuestionnaireResponse.extension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "DomainResource.extension" } }, { "path": "QuestionnaireResponse.modifierExtension", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.", "isModifier": true, "short": "Extensions that cannot be ignored", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "QuestionnaireResponse.modifierExtension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "DomainResource.modifierExtension" } }, { "path": "QuestionnaireResponse.identifier", "requirements": "Used for tracking, registration and other business purposes.", "min": 1, "definition": "A business identifier assigned to a particular completed (or partially completed) questionnaire.", "short": "Unique id for this set of answers", "mapping": [ { "map": ".id", "identity": "rim" }, { "map": "id", "identity": "w5" } ], "type": [ { "code": "Identifier" } ], "mustSupport": true, "max": "1", "id": "QuestionnaireResponse.identifier", "base": { "max": "1", "min": 0, "path": "QuestionnaireResponse.identifier" }, "isSummary": true }, { "path": "QuestionnaireResponse.basedOn", "requirements": "Supports traceability of responsibility for the action and allows linkage of an action to the recommendations acted upon.", "min": 0, "definition": "The order, proposal or plan that is fulfilled in whole or in part by this QuestionnaireResponse. For example, a ProcedureRequest seeking an intake assessment or a decision support recommendation to assess for post-partum depression.", "short": "Request fulfilled by this QuestionnaireResponse", "mapping": [ { "map": ".outboundRelationship[typeCode=FLFS].target", "identity": "rim" } ], "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CarePlan" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" } ], "alias": [ "order" ], "max": "*", "id": "QuestionnaireResponse.basedOn", "base": { "max": "*", "min": 0, "path": "QuestionnaireResponse.basedOn" }, "isSummary": true }, { "path": "QuestionnaireResponse.parent", "min": 0, "definition": "A procedure or observation that this questionnaire was performed as part of the execution of. For example, the surgery a checklist was executed as part of.", "short": "Part of this action", "mapping": [ { "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]", "identity": "rim" } ], "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Procedure" } ], "max": "*", "id": "QuestionnaireResponse.parent", "comment": "Composition of questionnaire responses will be handled by the parent questionnaire having answers that reference the child questionnaire. For relationships to referrals, and other types of requests, use basedOn.", "base": { "max": "*", "min": 0, "path": "QuestionnaireResponse.parent" }, "isSummary": true }, { "path": "QuestionnaireResponse.questionnaire", "requirements": "Needed to allow editing of the questionnaire response in a manner that enforces the constraints of the original form.", "min": 1, "definition": "The Questionnaire that defines and organizes the questions for which answers are being provided.", "short": "Points to the form being answered.", "mapping": [ { "map": "./outboundRelationship[typeCode=INST]/target[classCode=OBS, moodCode=DEFN]", "identity": "rim" } ], "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/us/hai/StructureDefinition/hai-population-summary-questionnaire" } ], "mustSupport": true, "alias": [ "Form" ], "max": "1", "id": "QuestionnaireResponse.questionnaire", "comment": "If a QuestionnaireResponse references a Questionnaire, then the QuestionnaireResponse structure must be consistent with the Questionnaire (i.e. questions must be organized into the same groups, nested questions must still be nested, etc.).", "base": { "max": "1", "min": 0, "path": "QuestionnaireResponse.questionnaire" }, "isSummary": true }, { "path": "QuestionnaireResponse.status", "requirements": "The information on Questionnaire resources may possibly be gathered during multiple sessions and altered after considered being finished.", "min": 1, "definition": "The position of the questionnaire response within its overall lifecycle.", "isModifier": true, "short": "in-progress | completed | amended | entered-in-error | stopped", "mapping": [ { "map": ".statusCode (also whether there's a revisionControlAct - and possibly mood to distinguish \"in-progress\" from \"published)", "identity": "rim" }, { "map": "status", "identity": "w5" } ], "type": [ { "code": "code" } ], "mustSupport": true, "patternCode": "completed", "binding": { "strength": "required", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "QuestionnaireResponseStatus" } ], "description": "Lifecycle status of the questionnaire response.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/questionnaire-answers-status" } }, "max": "1", "id": "QuestionnaireResponse.status", "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", "base": { "max": "1", "min": 1, "path": "QuestionnaireResponse.status" }, "isSummary": true }, { "path": "QuestionnaireResponse.subject", "requirements": "Allows linking the answers to the individual the answers describe. May also affect access control.", "min": 0, "definition": "The subject of the questionnaire response. This could be a patient, organization, practitioner, device, etc. This is who/what the answers apply to, but is not necessarily the source of information.", "short": "The subject of the questions", "mapping": [ { "map": ".participation[typeCode=SBJ].role", "identity": "rim" }, { "map": "who.focus", "identity": "w5" } ], "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "alias": [ "Patient", "Focus" ], "max": "1", "id": "QuestionnaireResponse.subject", "comment": "If the Questionnaire declared a subjectType, the resource pointed to by this element must be an instance of one of the listed types.", "base": { "max": "1", "min": 0, "path": "QuestionnaireResponse.subject" }, "isSummary": true }, { "path": "QuestionnaireResponse.context", "requirements": "Provides context for the information that was captured. May also affect access control.", "min": 0, "definition": "The encounter or episode of care with primary association to the questionnaire response.", "short": "Encounter or Episode during which questionnaire was completed", "mapping": [ { "map": ".inboundRelationship(typeCode=COMP].source[classCode<=PCPR, moodCode=EVN]", "identity": "rim" }, { "map": "context", "identity": "w5" } ], "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ], "max": "1", "id": "QuestionnaireResponse.context", "comment": "A questionnaire that was initiated during an encounter but not fully completed during the encounter would still generally be associated with the encounter.", "base": { "max": "1", "min": 0, "path": "QuestionnaireResponse.context" }, "isSummary": true }, { "path": "QuestionnaireResponse.authored", "requirements": "Clinicians need to be able to check the date that the information in the questionnaire was collected, to derive the context of the answers.", "min": 0, "definition": "The date and/or time that this set of answers were last changed.", "short": "Date the answers were gathered", "mapping": [ { "map": ".participation[typeCode=AUT].time", "identity": "rim" }, { "map": "when.recorded", "identity": "w5" } ], "type": [ { "code": "dateTime" } ], "mustSupport": true, "alias": [ "Date Created", "Date published", "Date Issued", "Date updated" ], "max": "1", "id": "QuestionnaireResponse.authored", "comment": "May be different from the lastUpdateTime of the resource itself, because that reflects when the data was known to the server, not when the data was captured.\n\nThis element is optional to allow for systems that may not know the value, however it SHOULD be populated if possible.", "base": { "max": "1", "min": 0, "path": "QuestionnaireResponse.authored" }, "isSummary": true }, { "path": "QuestionnaireResponse.author", "requirements": "Need to know who interpreted the subject's answers to the questions in the questionnaire, and selected the appropriate options for answers.", "min": 1, "definition": "In a single-person report, the author may be software (US Core Device) or may be a person in the role of infection control professional (ICP) (US Core Practitioner). ", "short": "Software or infection control professional", "mapping": [ { "map": ".participation[typeCode=AUT].role", "identity": "rim" }, { "map": "who.author", "identity": "w5" } ], "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-practitioner" } ], "mustSupport": true, "alias": [ "Laboratory", "Service", "Practitioner", "Department", "Company", "Performer" ], "max": "1", "id": "QuestionnaireResponse.author", "comment": "Mapping a subject's answers to multiple choice options and determining what to put in the textual answer is a matter of interpretation. Authoring by device would indicate that some portion of the questionnaire had been auto-populated.", "base": { "max": "1", "min": 0, "path": "QuestionnaireResponse.author" }, "isSummary": true }, { "path": "QuestionnaireResponse.source", "requirements": "When answering questions about a subject that is minor, incapable of answering or an animal, another human source may answer the questions.", "min": 0, "definition": "The person who answered the questions about the subject.", "short": "The person who answered the questions", "mapping": [ { "map": ".participation[typeCode=INF].role", "identity": "rim" }, { "map": "who.source", "identity": "w5" } ], "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "max": "1", "id": "QuestionnaireResponse.source", "comment": "If not specified, no inference can be made about who provided the data.", "base": { "max": "1", "min": 0, "path": "QuestionnaireResponse.source" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "Element", "severity": "error", "expression": "hasValue() | (children().count() > id.count())" }, { "key": "qrs-1", "human": "Nested item can't be beneath both item and answer", "xpath": "not(exists(f:answer) and exists(f:item))", "source": "QuestionnaireResponse.item", "severity": "error", "expression": "(answer.exists() and item.exists()).not()" } ], "path": "QuestionnaireResponse.item", "min": 1, "definition": "A questionnaire item", "short": "item", "mapping": [ { "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]", "identity": "rim" } ], "type": [ { "code": "BackboneElement" } ], "mustSupport": true, "max": "*", "id": "QuestionnaireResponse.item", "comment": "Groups cannot have answers and therefore must nest directly within item. When dealing with questions, nesting must occur within each answer because some questions may have multiple answers (and the nesting occurs for each answer).", "base": { "max": "*", "min": 0, "path": "QuestionnaireResponse.item" } }, { "path": "QuestionnaireResponse.item.id", "min": 0, "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "short": "xml:id (or equivalent in JSON)", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "string" } ], "representation": [ "xmlAttr" ], "max": "1", "id": "QuestionnaireResponse.item.id", "base": { "max": "1", "min": 0, "path": "Element.id" } }, { "path": "QuestionnaireResponse.item.extension", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "short": "Additional Content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "QuestionnaireResponse.item.extension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "Element.extension" } }, { "path": "QuestionnaireResponse.item.modifierExtension", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.", "isModifier": true, "short": "Extensions that cannot be ignored", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content", "modifiers" ], "max": "*", "id": "QuestionnaireResponse.item.modifierExtension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "BackboneElement.modifierExtension" }, "isSummary": true }, { "path": "QuestionnaireResponse.item.linkId", "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.", "min": 1, "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.", "short": "Pointer to specific item from Questionnaire", "mapping": [ { "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id", "identity": "rim" } ], "type": [ { "code": "string" } ], "max": "1", "id": "QuestionnaireResponse.item.linkId", "base": { "max": "1", "min": 1, "path": "QuestionnaireResponse.item.linkId" } }, { "path": "QuestionnaireResponse.item.definition", "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.", "min": 0, "definition": "A reference to an [ElementDefinition](http://hl7.org/fhir/STU3/elementdefinition.html) that provides the details for the item.", "short": "ElementDefinition - details for the item", "mapping": [ { "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code", "identity": "rim" } ], "type": [ { "code": "uri" } ], "max": "1", "id": "QuestionnaireResponse.item.definition", "comment": "The ElementDefinition must be in a [StructureDefinition](http://hl7.org/fhir/STU3/structuredefinition.html) or a [DataElement](http://hl7.org/fhir/STU3/dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.", "base": { "max": "1", "min": 0, "path": "QuestionnaireResponse.item.definition" } }, { "path": "QuestionnaireResponse.item.text", "requirements": "Allows the questionnaire response to be read without access to the questionnaire.", "min": 0, "definition": "Text description of the questionnaire item", "short": "Name for group or question text", "mapping": [ { "map": ".text", "identity": "rim" } ], "type": [ { "code": "string" } ], "mustSupport": true, "max": "1", "id": "QuestionnaireResponse.item.text", "base": { "max": "1", "min": 0, "path": "QuestionnaireResponse.item.text" } }, { "path": "QuestionnaireResponse.item.subject", "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.", "min": 0, "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.", "short": "The subject this group's answers are about", "mapping": [ { "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target", "identity": "rim" } ], "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "max": "1", "id": "QuestionnaireResponse.item.subject", "base": { "max": "1", "min": 0, "path": "QuestionnaireResponse.item.subject" } }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "Element", "severity": "error", "expression": "hasValue() | (children().count() > id.count())" } ], "path": "QuestionnaireResponse.item.answer", "min": 0, "definition": "The answer to the questionnaire question (item)", "short": "The response(s) to the question", "mapping": [ { "map": ".value[type=LIST_ANY]", "identity": "rim" } ], "type": [ { "code": "BackboneElement" } ], "mustSupport": true, "max": "*", "id": "QuestionnaireResponse.item.answer", "comment": "The value is nested because we cannot have a repeating structure that has variable type.", "base": { "max": "*", "min": 0, "path": "QuestionnaireResponse.item.answer" } }, { "path": "QuestionnaireResponse.item.answer.id", "min": 0, "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "short": "xml:id (or equivalent in JSON)", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "string" } ], "representation": [ "xmlAttr" ], "max": "1", "id": "QuestionnaireResponse.item.answer.id", "base": { "max": "1", "min": 0, "path": "Element.id" } }, { "path": "QuestionnaireResponse.item.answer.extension", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "short": "Additional Content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "QuestionnaireResponse.item.answer.extension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "Element.extension" } }, { "path": "QuestionnaireResponse.item.answer.modifierExtension", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.", "isModifier": true, "short": "Extensions that cannot be ignored", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content", "modifiers" ], "max": "*", "id": "QuestionnaireResponse.item.answer.modifierExtension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "BackboneElement.modifierExtension" }, "isSummary": true }, { "path": "QuestionnaireResponse.item.answer.value[x]", "requirements": "Ability to retain a single-valued answer to a question.", "min": 0, "definition": "The answer (or one of the answers) provided by the respondent to the question.", "short": "Single-valued answer to the question", "mapping": [ { "map": ".item", "identity": "rim" } ], "type": [ { "code": "boolean" }, { "code": "decimal" }, { "code": "integer" }, { "code": "date" }, { "code": "dateTime" }, { "code": "time" }, { "code": "string" }, { "code": "uri" }, { "code": "Attachment" }, { "code": "Coding" }, { "code": "Quantity" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "binding": { "strength": "example", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "QuestionnaireAnswer" } ], "description": "Code indicating the response provided for a question.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/questionnaire-answers" } }, "max": "1", "id": "QuestionnaireResponse.item.answer.value[x]", "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type. Additional complex types can be introduced through extensions.", "base": { "max": "1", "min": 0, "path": "QuestionnaireResponse.item.answer.value[x]" } }, { "path": "QuestionnaireResponse.item.answer.item", "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.", "min": 0, "definition": "Nested groups and/or questions found within this particular answer.", "short": "Nested groups and questions", "mapping": [ { "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]", "identity": "rim" } ], "contentReference": "#QuestionnaireResponse.item", "max": "*", "id": "QuestionnaireResponse.item.answer.item", "base": { "max": "*", "min": 0, "path": "QuestionnaireResponse.item.answer.item" } }, { "path": "QuestionnaireResponse.item.item", "requirements": "Reports can consist of complex nested groups.", "min": 0, "definition": "A nested questionnaire item (contained in a group)", "short": "item", "mapping": [ { "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]", "identity": "rim" } ], "type": [ { "code": "BackboneElement" } ], "max": "*", "id": "QuestionnaireResponse.item.item", "base": { "max": "*", "min": 0, "path": "QuestionnaireResponse.item.item" } }, { "path": "QuestionnaireResponse.item.item.id", "min": 0, "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "short": "xml:id (or equivalent in JSON)", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "string" } ], "representation": [ "xmlAttr" ], "max": "1", "id": "QuestionnaireResponse.item.item.id", "base": { "max": "1", "min": 0, "path": "Element.id" } }, { "path": "QuestionnaireResponse.item.item.extension", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "short": "Additional Content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "QuestionnaireResponse.item.item.extension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "Element.extension" } }, { "path": "QuestionnaireResponse.item.item.modifierExtension", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.", "isModifier": true, "short": "Extensions that cannot be ignored", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content", "modifiers" ], "max": "*", "id": "QuestionnaireResponse.item.item.modifierExtension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "BackboneElement.modifierExtension" }, "isSummary": true }, { "path": "QuestionnaireResponse.item.item.linkId", "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.", "min": 1, "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.", "short": "Pointer to specific item from Questionnaire", "mapping": [ { "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id", "identity": "rim" } ], "type": [ { "code": "string" } ], "max": "1", "id": "QuestionnaireResponse.item.item.linkId", "base": { "max": "1", "min": 1, "path": "QuestionnaireResponse.item.linkId" } }, { "path": "QuestionnaireResponse.item.item.definition", "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.", "min": 0, "definition": "A reference to an [ElementDefinition](http://hl7.org/fhir/STU3/elementdefinition.html) that provides the details for the item.", "short": "ElementDefinition - details for the item", "mapping": [ { "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code", "identity": "rim" } ], "type": [ { "code": "uri" } ], "max": "1", "id": "QuestionnaireResponse.item.item.definition", "comment": "The ElementDefinition must be in a [StructureDefinition](http://hl7.org/fhir/STU3/structuredefinition.html) or a [DataElement](http://hl7.org/fhir/STU3/dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.", "base": { "max": "1", "min": 0, "path": "QuestionnaireResponse.item.definition" } }, { "path": "QuestionnaireResponse.item.item.text", "requirements": "Allows the questionnaire response to be read without access to the questionnaire.", "min": 0, "definition": "Text description of the questionnaire item", "short": "text", "mapping": [ { "map": ".text", "identity": "rim" } ], "type": [ { "code": "string" } ], "mustSupport": true, "max": "1", "id": "QuestionnaireResponse.item.item.text", "base": { "max": "1", "min": 0, "path": "QuestionnaireResponse.item.text" } }, { "path": "QuestionnaireResponse.item.item.subject", "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.", "min": 0, "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.", "short": "The subject this group's answers are about", "mapping": [ { "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target", "identity": "rim" } ], "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "max": "1", "id": "QuestionnaireResponse.item.item.subject", "base": { "max": "1", "min": 0, "path": "QuestionnaireResponse.item.subject" } }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "Element", "severity": "error", "expression": "hasValue() | (children().count() > id.count())" } ], "path": "QuestionnaireResponse.item.item.answer", "min": 0, "definition": "The answer to the questionnaire question (item)", "short": "The response(s) to the question", "mapping": [ { "map": ".value[type=LIST_ANY]", "identity": "rim" } ], "type": [ { "code": "BackboneElement" } ], "mustSupport": true, "max": "*", "id": "QuestionnaireResponse.item.item.answer", "comment": "The value is nested because we cannot have a repeating structure that has variable type.", "base": { "max": "*", "min": 0, "path": "QuestionnaireResponse.item.answer" } }, { "path": "QuestionnaireResponse.item.item.answer.id", "min": 0, "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "short": "xml:id (or equivalent in JSON)", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "string" } ], "representation": [ "xmlAttr" ], "max": "1", "id": "QuestionnaireResponse.item.item.answer.id", "base": { "max": "1", "min": 0, "path": "Element.id" } }, { "path": "QuestionnaireResponse.item.item.answer.extension", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "short": "Additional Content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "QuestionnaireResponse.item.item.answer.extension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "Element.extension" } }, { "path": "QuestionnaireResponse.item.item.answer.modifierExtension", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.", "isModifier": true, "short": "Extensions that cannot be ignored", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content", "modifiers" ], "max": "*", "id": "QuestionnaireResponse.item.item.answer.modifierExtension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "BackboneElement.modifierExtension" }, "isSummary": true }, { "path": "QuestionnaireResponse.item.item.answer.value[x]", "requirements": "Ability to retain a single-valued answer to a question.", "min": 0, "definition": "The answer (or one of the answers) provided by the respondent to the question.", "short": "Single-valued answer to the question", "mapping": [ { "map": ".item", "identity": "rim" } ], "type": [ { "code": "boolean" }, { "code": "decimal" }, { "code": "integer" }, { "code": "date" }, { "code": "dateTime" }, { "code": "time" }, { "code": "string" }, { "code": "uri" }, { "code": "Attachment" }, { "code": "Coding" }, { "code": "Quantity" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "binding": { "strength": "example", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "QuestionnaireAnswer" } ], "description": "Code indicating the response provided for a question.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/questionnaire-answers" } }, "max": "1", "id": "QuestionnaireResponse.item.item.answer.value[x]", "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type. Additional complex types can be introduced through extensions.", "base": { "max": "1", "min": 0, "path": "QuestionnaireResponse.item.answer.value[x]" } }, { "path": "QuestionnaireResponse.item.item.answer.item", "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.", "min": 0, "definition": "Nested groups and/or questions found within this particular answer.", "short": "Nested groups and questions", "mapping": [ { "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]", "identity": "rim" } ], "contentReference": "#QuestionnaireResponse.item", "max": "*", "id": "QuestionnaireResponse.item.item.answer.item", "base": { "max": "*", "min": 0, "path": "QuestionnaireResponse.item.answer.item" } }, { "path": "QuestionnaireResponse.item.item.item", "requirements": "Reports can consist of complex nested groups.", "min": 0, "definition": "Questions or sub-groups nested beneath a question or group.", "short": "Nested questionnaire response items", "mapping": [ { "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]", "identity": "rim" } ], "contentReference": "#QuestionnaireResponse.item", "max": "*", "id": "QuestionnaireResponse.item.item.item", "base": { "max": "*", "min": 0, "path": "QuestionnaireResponse.item.item" } } ] }, "status": "draft", "id": "a05f4c8d-ef02-4394-94b1-8f0f3740ed12", "kind": "resource", "url": "http://hl7.org/fhir/us/hai/StructureDefinition/hai-population-summary-questionnaire-response", "version": "1.1.0", "differential": { "element": [ { "id": "QuestionnaireResponse", "path": "QuestionnaireResponse", "short": "Healthcare Associated Infection Population Summary QuestionnaireResponse", "definition": "This profile represents a response to the Healthcare Associated Infection Population Summary Questionnaire as a FHIR QuestionnaireResponse profile.", "mustSupport": true }, { "id": "QuestionnaireResponse.id", "min": 1, "path": "QuestionnaireResponse.id" }, { "id": "QuestionnaireResponse.meta", "min": 1, "path": "QuestionnaireResponse.meta", "mustSupport": true }, { "id": "QuestionnaireResponse.meta.profile", "max": "1", "min": 1, "path": "QuestionnaireResponse.meta.profile", "short": "A reference to this profile (to which the instance claims to conform).", "definition": "A reference to this profile (to which the instance claims to conform).", "patternUri": "http://hl7.org/fhir/us/hai/StructureDefinition/hai-population-summary-questionnaire-response", "mustSupport": true }, { "id": "QuestionnaireResponse.text", "min": 1, "path": "QuestionnaireResponse.text", "mustSupport": true }, { "id": "QuestionnaireResponse.identifier", "min": 1, "path": "QuestionnaireResponse.identifier", "mustSupport": true }, { "id": "QuestionnaireResponse.questionnaire", "min": 1, "path": "QuestionnaireResponse.questionnaire", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/us/hai/StructureDefinition/hai-population-summary-questionnaire" } ], "short": "Points to the form being answered.", "mustSupport": true }, { "id": "QuestionnaireResponse.status", "path": "QuestionnaireResponse.status", "mustSupport": true, "patternCode": "completed" }, { "id": "QuestionnaireResponse.authored", "path": "QuestionnaireResponse.authored", "mustSupport": true }, { "id": "QuestionnaireResponse.author", "min": 1, "path": "QuestionnaireResponse.author", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-practitioner" } ], "short": "Software or infection control professional", "definition": "In a single-person report, the author may be software (US Core Device) or may be a person in the role of infection control professional (ICP) (US Core Practitioner). ", "mustSupport": true }, { "id": "QuestionnaireResponse.item", "min": 1, "path": "QuestionnaireResponse.item", "short": "item", "definition": "A questionnaire item", "mustSupport": true }, { "id": "QuestionnaireResponse.item.text", "path": "QuestionnaireResponse.item.text", "definition": "Text description of the questionnaire item", "mustSupport": true }, { "id": "QuestionnaireResponse.item.answer", "path": "QuestionnaireResponse.item.answer", "definition": "The answer to the questionnaire question (item)", "mustSupport": true }, { "id": "QuestionnaireResponse.item.item", "path": "QuestionnaireResponse.item.item", "short": "item", "definition": "A nested questionnaire item (contained in a group)" }, { "id": "QuestionnaireResponse.item.item.text", "path": "QuestionnaireResponse.item.item.text", "short": "text", "definition": "Text description of the questionnaire item", "mustSupport": true }, { "id": "QuestionnaireResponse.item.item.answer", "path": "QuestionnaireResponse.item.item.answer", "definition": "The answer to the questionnaire question (item)", "mustSupport": true } ] }, "contact": [ { "name": "Sarah Gaunt", "telecom": [ { "use": "work", "value": "+61 4 1029 2506", "system": "phone" }, { "use": "work", "value": "sarah.gaunt@lantanagroup.com", "system": "email" } ] } ], "baseDefinition": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" }