1.0.0 - Build CI
SaraAlert - Local Development build (v1.0.0). See the Directory of published versions
Defining URL: | http://saraalert.org/StructureDefinition/sara-alert-questionnaire-response |
Version: | 1.0.0 |
Name: | SaraAlertQuestionnaireResponse |
Title: | Sara Alert QuestionnaireResponse Profile |
Status: | Active as of 2021-12-01T10:26:21-05:00 |
Definition: | The Sara Alert QuestionnaireResponse profile represents a monitoree daily report. |
Publisher: | The MITRE Corporation |
Source Resource: | XML / JSON / Turtle |
The official URL for this profile is:
http://saraalert.org/StructureDefinition/sara-alert-questionnaire-response
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from QuestionnaireResponse
This structure is derived from QuestionnaireResponse
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QuestionnaireResponse | 0..* | QuestionnaireResponse | A structured set of questions and their answers | |
meta | ||||
lastUpdated | S | 1..1 | instant | When the resource version last changed |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
created-at | S | 0..1 | dateTime | Created At URL: http://saraalert.org/StructureDefinition/created-at |
who-reported | S | 0..1 | string | Who Reported URL: http://saraalert.org/StructureDefinition/who-reported |
symptomatic | S | 0..1 | boolean | Symptomatic URL: http://saraalert.org/StructureDefinition/symptomatic |
status | S | 1..1 | code | in-progress | completed | amended | entered-in-error | stopped |
subject | S | 1..1 | Reference(Sara Alert Patient Profile) | The subject of the questions |
item | S | 1..* | BackboneElement | Groups and questions |
linkId | S | 1..1 | string | Pointer to specific item from Questionnaire |
text | S | 1..1 | string | Name for group or question text |
answer | S | 1..1 | BackboneElement | The response(s) to the question |
value[x] | S | 1..1 | Single-valued answer to the question | |
valueBoolean | boolean | |||
valueString | string | |||
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QuestionnaireResponse | 0..* | QuestionnaireResponse | A structured set of questions and their answers | |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
versionId | Σ | 0..1 | id | Version specific identifier |
lastUpdated | SΣ | 1..1 | instant | When the resource version last changed |
source | Σ | 0..1 | uri | Identifies where the resource comes from |
profile | Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to |
security | Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. |
tag | Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages: A human language. | |
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
contained | 0..* | Resource | Contained, inline Resources | |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
created-at | S | 0..1 | dateTime | Created At URL: http://saraalert.org/StructureDefinition/created-at |
who-reported | S | 0..1 | string | Who Reported URL: http://saraalert.org/StructureDefinition/who-reported |
symptomatic | S | 0..1 | boolean | Symptomatic URL: http://saraalert.org/StructureDefinition/symptomatic |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | Σ | 0..1 | Identifier | Unique id for this set of answers |
basedOn | Σ | 0..* | Reference(CarePlan | ServiceRequest) | Request fulfilled by this QuestionnaireResponse |
partOf | Σ | 0..* | Reference(Observation | Procedure) | Part of this action |
questionnaire | Σ | 0..1 | canonical(Questionnaire) | Form being answered |
status | ?!SΣ | 1..1 | code | in-progress | completed | amended | entered-in-error | stopped Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response. |
subject | SΣ | 1..1 | Reference(Sara Alert Patient Profile) | The subject of the questions |
encounter | Σ | 0..1 | Reference(Encounter) | Encounter created as part of |
authored | Σ | 0..1 | dateTime | Date the answers were gathered |
author | Σ | 0..1 | Reference(Device | Practitioner | PractitionerRole | Patient | RelatedPerson | Organization) | Person who received and recorded the answers |
source | Σ | 0..1 | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) | The person who answered the questions |
item | SI | 1..* | BackboneElement | Groups and questions |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
linkId | S | 1..1 | string | Pointer to specific item from Questionnaire |
definition | 0..1 | uri | ElementDefinition - details for the item | |
text | S | 1..1 | string | Name for group or question text |
answer | S | 1..1 | BackboneElement | The response(s) to the question |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
value[x] | S | 1..1 | Single-valued answer to the question Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question. | |
valueBoolean | boolean | |||
valueString | string | |||
item | 0..* | See item (QuestionnaireResponse) | Nested groups and questions | |
item | 0..* | See item (QuestionnaireResponse) | Nested questionnaire response items | |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QuestionnaireResponse | 0..* | QuestionnaireResponse | A structured set of questions and their answers | |
meta | Σ | 0..1 | Meta | Metadata about the resource |
lastUpdated | Σ | 1..1 | instant | When the resource version last changed |
created-at | 0..1 | dateTime | Created At URL: http://saraalert.org/StructureDefinition/created-at | |
who-reported | 0..1 | string | Who Reported URL: http://saraalert.org/StructureDefinition/who-reported | |
symptomatic | 0..1 | boolean | Symptomatic URL: http://saraalert.org/StructureDefinition/symptomatic | |
status | ?!Σ | 1..1 | code | in-progress | completed | amended | entered-in-error | stopped Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response. |
subject | Σ | 1..1 | Reference(Sara Alert Patient Profile) | The subject of the questions |
item | I | 1..* | BackboneElement | Groups and questions |
linkId | 1..1 | string | Pointer to specific item from Questionnaire | |
text | 1..1 | string | Name for group or question text | |
answer | 1..1 | BackboneElement | The response(s) to the question | |
value[x] | 1..1 | Single-valued answer to the question Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question. | ||
valueBoolean | boolean | |||
valueString | string | |||
Documentation for this format |
This structure is derived from QuestionnaireResponse
Differential View
This structure is derived from QuestionnaireResponse
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QuestionnaireResponse | 0..* | QuestionnaireResponse | A structured set of questions and their answers | |
meta | ||||
lastUpdated | S | 1..1 | instant | When the resource version last changed |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
created-at | S | 0..1 | dateTime | Created At URL: http://saraalert.org/StructureDefinition/created-at |
who-reported | S | 0..1 | string | Who Reported URL: http://saraalert.org/StructureDefinition/who-reported |
symptomatic | S | 0..1 | boolean | Symptomatic URL: http://saraalert.org/StructureDefinition/symptomatic |
status | S | 1..1 | code | in-progress | completed | amended | entered-in-error | stopped |
subject | S | 1..1 | Reference(Sara Alert Patient Profile) | The subject of the questions |
item | S | 1..* | BackboneElement | Groups and questions |
linkId | S | 1..1 | string | Pointer to specific item from Questionnaire |
text | S | 1..1 | string | Name for group or question text |
answer | S | 1..1 | BackboneElement | The response(s) to the question |
value[x] | S | 1..1 | Single-valued answer to the question | |
valueBoolean | boolean | |||
valueString | string | |||
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QuestionnaireResponse | 0..* | QuestionnaireResponse | A structured set of questions and their answers | |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
versionId | Σ | 0..1 | id | Version specific identifier |
lastUpdated | SΣ | 1..1 | instant | When the resource version last changed |
source | Σ | 0..1 | uri | Identifies where the resource comes from |
profile | Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to |
security | Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. |
tag | Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages: A human language. | |
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
contained | 0..* | Resource | Contained, inline Resources | |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
created-at | S | 0..1 | dateTime | Created At URL: http://saraalert.org/StructureDefinition/created-at |
who-reported | S | 0..1 | string | Who Reported URL: http://saraalert.org/StructureDefinition/who-reported |
symptomatic | S | 0..1 | boolean | Symptomatic URL: http://saraalert.org/StructureDefinition/symptomatic |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | Σ | 0..1 | Identifier | Unique id for this set of answers |
basedOn | Σ | 0..* | Reference(CarePlan | ServiceRequest) | Request fulfilled by this QuestionnaireResponse |
partOf | Σ | 0..* | Reference(Observation | Procedure) | Part of this action |
questionnaire | Σ | 0..1 | canonical(Questionnaire) | Form being answered |
status | ?!SΣ | 1..1 | code | in-progress | completed | amended | entered-in-error | stopped Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response. |
subject | SΣ | 1..1 | Reference(Sara Alert Patient Profile) | The subject of the questions |
encounter | Σ | 0..1 | Reference(Encounter) | Encounter created as part of |
authored | Σ | 0..1 | dateTime | Date the answers were gathered |
author | Σ | 0..1 | Reference(Device | Practitioner | PractitionerRole | Patient | RelatedPerson | Organization) | Person who received and recorded the answers |
source | Σ | 0..1 | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) | The person who answered the questions |
item | SI | 1..* | BackboneElement | Groups and questions |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
linkId | S | 1..1 | string | Pointer to specific item from Questionnaire |
definition | 0..1 | uri | ElementDefinition - details for the item | |
text | S | 1..1 | string | Name for group or question text |
answer | S | 1..1 | BackboneElement | The response(s) to the question |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
value[x] | S | 1..1 | Single-valued answer to the question Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question. | |
valueBoolean | boolean | |||
valueString | string | |||
item | 0..* | See item (QuestionnaireResponse) | Nested groups and questions | |
item | 0..* | See item (QuestionnaireResponse) | Nested questionnaire response items | |
Documentation for this format |
Other representations of profile: CSV, Excel, Schematron
Path | Conformance | ValueSet |
QuestionnaireResponse.meta.security | extensible | All Security Labels |
QuestionnaireResponse.meta.tag | example | CommonTags |
QuestionnaireResponse.language | preferred | CommonLanguages Max Binding: AllLanguages |
QuestionnaireResponse.status | required | QuestionnaireResponseStatus |
QuestionnaireResponse.item.answer.value[x] | example | QuestionnaireAnswerCodes |
Id | Path | Details | Requirements |
dom-2 | QuestionnaireResponse | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | QuestionnaireResponse | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | QuestionnaireResponse | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | QuestionnaireResponse | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | QuestionnaireResponse | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | QuestionnaireResponse.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.meta.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | QuestionnaireResponse.meta.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | QuestionnaireResponse.meta.versionId | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.meta.lastUpdated | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.meta.source | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.meta.profile | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.meta.security | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.meta.tag | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.implicitRules | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | QuestionnaireResponse.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | QuestionnaireResponse.extension:created-at | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | QuestionnaireResponse.extension:created-at | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | QuestionnaireResponse.extension:who-reported | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | QuestionnaireResponse.extension:who-reported | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | QuestionnaireResponse.extension:symptomatic | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | QuestionnaireResponse.extension:symptomatic | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | QuestionnaireResponse.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | QuestionnaireResponse.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | QuestionnaireResponse.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.basedOn | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.partOf | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.questionnaire | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.status | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.subject | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.encounter | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.authored | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.author | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.source | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.item | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
qrs-1 | QuestionnaireResponse.item | Nested item can't be beneath both item and answer : (answer.exists() and item.exists()).not() | |
ele-1 | QuestionnaireResponse.item.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | QuestionnaireResponse.item.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | QuestionnaireResponse.item.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | QuestionnaireResponse.item.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | QuestionnaireResponse.item.linkId | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.item.definition | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.item.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.item.answer | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.item.answer.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | QuestionnaireResponse.item.answer.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | QuestionnaireResponse.item.answer.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | QuestionnaireResponse.item.answer.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | QuestionnaireResponse.item.answer.value[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.item.answer.item | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.item.item | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |