Руководство к использованию стандарта FHIR в ЦИСЗ
0.2.6803 - ci-build

Профиль ресурса: AllergyPatientDiary - Детальное описание

Unknown as of 2026-06-25

Определения AllergyPatientDiary профиль ресурса.

Рекомендации по толкованию содержимого этой таблицы можно найтиздесь-- no content: do not translate #97 --

0. QuestionnaireResponse
2. QuestionnaireResponse.id
Контроль1..?
4. QuestionnaireResponse.meta
Контроль1..?
6. QuestionnaireResponse.meta.id
Контроль0..0
8. QuestionnaireResponse.meta.extension
Контроль0..0
10. QuestionnaireResponse.meta.versionId
КороткийИдентификатор версии. Указывается версия ресурса, который подлежит редактированию, если предусмотрено правилами. Если версия не указана, то ресурс считается новым.
12. QuestionnaireResponse.meta.lastUpdated
КороткийДата и время последнего обновления
14. QuestionnaireResponse.meta.source
Контроль0..0
16. QuestionnaireResponse.meta.profile
Контроль1..1
Значение шаблонаhttps://fhir.by/StructureDefinition/AllergyPatientDiary
18. QuestionnaireResponse.meta.security
Контроль0..0
20. QuestionnaireResponse.meta.tag
Контроль0..0
22. QuestionnaireResponse.implicitRules
Контроль0..0
24. QuestionnaireResponse.language
Контроль0..0
26. QuestionnaireResponse.contained
Контроль0..0
28. QuestionnaireResponse.extension
Контроль0..0
30. QuestionnaireResponse.modifierExtension
Контроль0..0
32. QuestionnaireResponse.identifier
ПримечаниеЭто бизнес-идентификатор, а не идентификатор ресурса (см. обсуждение)
Контроль0..0
34. QuestionnaireResponse.basedOn
Контроль0..0
36. QuestionnaireResponse.partOf
Контроль0..0
38. QuestionnaireResponse.questionnaire
Значение шаблонаhttps://fhir.by/Questionnaire/AllergyPatientDiary
40. QuestionnaireResponse.subject
КороткийСубъект опроса
Контроль1..?
ТипReference(Пациент, Пациент без ИН)
42. QuestionnaireResponse.encounter
Контроль0..0
44. QuestionnaireResponse.authored
Контроль1..?
46. QuestionnaireResponse.author
КороткийПользователь, получивший и записавший ответы
Контроль1..?
ТипReference(Пациент, Пациент без ИН, Законный представитель пациента)
48. QuestionnaireResponse.source
Контроль0..0
50. QuestionnaireResponse.item
52. QuestionnaireResponse.item.id
Контроль0..0
54. QuestionnaireResponse.item.extension
Контроль0..0
56. QuestionnaireResponse.item.modifierExtension
Контроль0..0
58. QuestionnaireResponse.item.answer
60. QuestionnaireResponse.item.answer.id
Контроль0..0
62. QuestionnaireResponse.item.answer.extension
Контроль0..0
64. QuestionnaireResponse.item.answer.modifierExtension
Контроль0..0
66. QuestionnaireResponse.item.answer.value[x]
ТипВыбор: boolean, string, Coding, date, dateTime, Reference(Resource), Quantity(SimpleQuantity), Attachment, integer, time, decimal, uri
[x] ЗаметкаСмотретьВыбор типов данныхдля дополнительной информации о том, как использовать [x]
Примитивное значениеЭтот примитивный элемент может присутствовать или отсутствовать, или быть замененным расширением

Рекомендации по толкованию содержимого этой таблицы можно найтиздесь-- no content: do not translate #97 --

0. QuestionnaireResponse
Определение

Структурированный набор вопросов и ответов на них. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the questionnaire being responded to.

КороткийСтруктурированный набор вопросов и ответов на них
Комментарии

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.

Контроль0..*
Модификаторfalse
Требуется поддержкаfalse
Summaryfalse
Альтернативные именаForm, QuestionnaireAnswers
Инвариантыdom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources (contained.contained.empty())
dom-3: 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty())
dom-4: 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: If a resource is contained in another resource, it SHALL NOT have a security label (contained.meta.security.empty())
dom-6: A resource should have narrative for robust management (text.`div`.exists())
2. QuestionnaireResponse.id
Определение

The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.

КороткийЛогический идентификатор этого артефакта
Комментарии

Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case.

Контроль1..1
Типid
Модификаторfalse
Требуется поддержкаfalse
Summarytrue
4. QuestionnaireResponse.meta
Определение

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.

КороткийМетаданные о ресурсе
Контроль1..1
ТипMeta
Модификаторfalse
Требуется поддержкаfalse
Summarytrue
Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
6. QuestionnaireResponse.meta.id
Определение

Уникальный идентификатор элемента в ресурсе (для внутренних ссылок). Это может быть любое строковое значение, не содержащее пробелов.

КороткийУникальный идентификатор для межэлементных ссылок
Контроль0..0
На этот элемент влияют следующие инварианты: ele-1
Типid
Модификаторfalse
Формат XMLВ формате XML это свойство представлено в качестве атрибута.
Summaryfalse
8. QuestionnaireResponse.meta.extension
Определение

An Extension

КороткийExtension
Контроль0..0
ТипExtension
Модификаторfalse
Summaryfalse
Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
SlicingЭтот элемент представляет набор разрезов на QuestionnaireResponse.meta.extension. Разрезы бываютНе упорядочено и Open, и могут быть дифференцированы с помощью следующих дискриминаторов:
  • value @ url
  • 10. QuestionnaireResponse.meta.versionId
    Определение

    Идентификатор конкретной версии, который отображается в части URL, относящейся к версии. Это значение изменяется при создании, обновлении или удалении ресурса.

    КороткийИдентификатор версии. Указывается версия ресурса, который подлежит редактированию, если предусмотрено правилами. Если версия не указана, то ресурс считается новым.
    Комментарии

    Сервер присваивает это значение и игнорирует то, что указывает клиент, за исключением случая, когда сервер устанавливает целостность версии при обновлении/удалении.

    Контроль0..1
    Типid
    Модификаторfalse
    Примитивное значениеЭтот примитивный элемент может присутствовать или отсутствовать, или быть замененным расширением
    Summarytrue
    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    12. QuestionnaireResponse.meta.lastUpdated
    Определение

    Когда ресурс менялся в последний раз - например, когда изменилась версия.

    КороткийДата и время последнего обновления
    Комментарии

    Этот элемент обычно опускается в экземплярах, отправляемых с помощью PUT или POST. Вместо этого он заполняется в экземпляре ответа и при получении информации с помощью GET. Это значение задается менеджером сервера / ресурсов; то, что предоставляет клиент, не имеет значения. Это эквивалентно последнему изменению HTTP и должно иметь такое же значение при взаимодействии read.

    Контроль0..1
    Типinstant
    Модификаторfalse
    Примитивное значениеЭтот примитивный элемент может присутствовать или отсутствовать, или быть замененным расширением
    Summarytrue
    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    14. QuestionnaireResponse.meta.source
    Определение

    uri, который идентифицирует систему-источник ресурса. Он предоставляет минимальный объем информации о [Provenance] (provenance.html#), которую можно использовать для отслеживания или определения источника информации на ресурсе. Источник может идентифицировать другой сервер FHIR, документ, сообщение, базу данных и т.д.

    КороткийОпределяет, откуда берется ресурс
    Комментарии

    Точное использование источника (и возможное подразумеваемое Provenance.entity.role и agent.role) остается на усмотрение разработчика. Допускается только один указанный источник; для получения дополнительной информации о происхождении следует использовать полный источник. Источник может соответствовать Provenance.entity.what[x] или Provenance.agent.who[x], хотя это может быть и более общая или абстрактная ссылка.

    Этот элемент может использоваться для указания текущего главного источника ресурса, имеющего канонический URL-адрес, если ресурс больше не размещен по каноническому URL-адресу.

    Контроль0..0
    Типuri
    Модификаторfalse
    Примитивное значениеЭтот примитивный элемент может присутствовать или отсутствовать, или быть замененным расширением
    Summarytrue
    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    16. QuestionnaireResponse.meta.profile
    Определение

    Список профилей (ссылок на StructureDefinition ресурсы), которым, как утверждается, соответствует этот ресурс. URL-адрес является ссылкой на StructureDefinition.url.

    КороткийСсылка на профиль
    Комментарии

    Сервер и/или другая инфраструктура политики должны определять, проверяются ли и/или обновляются ли эти утверждения с течением времени. Список URL-адресов профиля представляет собой набор.

    Контроль1..1
    Типcanonical(StructureDefinition)
    Модификаторfalse
    Примитивное значениеЭтот примитивный элемент может присутствовать или отсутствовать, или быть замененным расширением
    Summarytrue
    Значение шаблонаhttps://fhir.by/StructureDefinition/AllergyPatientDiary
    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    18. QuestionnaireResponse.meta.security
    Определение

    Метки безопасности, применяемые к данному ресурсу. Эти метки связывают определенные ресурсы с общей политикой безопасности и инфраструктурой.

    КороткийМетки безопасности, примененные к этому ресурсу
    Комментарии

    Метки безопасности могут быть обновлены без изменения указанной версии ресурса. Список меток безопасности представляет собой набор. Уникальность основана на системе/коде, а версия и отображение игнорируются.

    Контроль0..0
    ПривязкаЕсли они не подходят, эти коды ДОЛЖНЫ быть взяты из AllSecurityLabels
    (extensible to http://hl7.org/fhir/ValueSet/security-labels|5.0.0)

    Защитные этикетки из системы классификации конфиденциальности и безопасности в сфере здравоохранения.

    ТипCoding
    Модификаторfalse
    Summarytrue
    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    20. QuestionnaireResponse.meta.tag
    Определение

    Теги, применяемые к этому ресурсу. Теги предназначены для идентификации ресурсов и соотнесения их с процессами и документооборотом, и приложения не обязаны учитывать теги при интерпретации значения ресурса.

    КороткийТеги, применяемые к этому ресурсу
    Комментарии

    Теги могут быть обновлены без изменения заявленной версии ресурса. Список тегов представляет собой набор. Уникальность основана на системе/коде, а версия и отображение игнорируются.

    Контроль0..0
    ПривязкаНапример, коды см. CommonTags
    (example to http://hl7.org/fhir/ValueSet/common-tags|5.0.0)

    Коды, представляющие различные типы тегов, обычно связанные с рабочим процессом; например, "Требуется проверка доктором Джонсом".

    ТипCoding
    Модификаторfalse
    Summarytrue
    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    22. QuestionnaireResponse.implicitRules
    Определение

    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 its narrative along with other profiles, value sets, etc.

    Контроль0..0
    Типuri
    Модификаторtrue потому что This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation
    Примитивное значениеЭтот примитивный элемент может присутствовать или отсутствовать, или быть замененным расширением
    Требуется поддержкаfalse
    Summarytrue
    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    24. QuestionnaireResponse.language
    Определение

    The base language in which the resource is written.

    КороткийLanguage of the resource content
    Комментарии

    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).

    Контроль0..0
    ПривязкаКоды ДОЛЖНЫ быть взяты из AllLanguages
    (required to http://hl7.org/fhir/ValueSet/all-languages|5.0.0)

    Языковой тег IETF для человеческого языка

    Типcode
    Модификаторfalse
    Примитивное значениеЭтот примитивный элемент может присутствовать или отсутствовать, или быть замененным расширением
    Требуется поддержкаfalse
    Summaryfalse
    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    26. QuestionnaireResponse.text
    Определение

    A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.

    КороткийКраткое изложение текста ресурса для интерпретации человеком
    Комментарии

    Contained resources do not have a 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 information is added later.

    Контроль0..1
    На этот элемент влияют следующие инварианты: dom-6
    ТипNarrative
    Модификаторfalse
    Требуется поддержкаfalse
    Summaryfalse
    Альтернативные именаnarrative, html, xhtml, display
    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    28. QuestionnaireResponse.contained
    Определение

    These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.

    КороткийАвтономные встроенные ресурсы
    Комментарии

    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. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels.

    Контроль0..0
    На этот элемент влияют следующие инварианты: dom-2, dom-4, dom-3, dom-5
    ТипResource
    Модификаторfalse
    Требуется поддержкаfalse
    Summaryfalse
    Альтернативные именаinline resources, anonymous resources, contained resources
    30. QuestionnaireResponse.extension
    Определение

    An Extension

    КороткийExtension
    Контроль0..0
    ТипExtension
    Модификаторfalse
    Требуется поддержкаfalse
    Summaryfalse
    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    32. QuestionnaireResponse.modifierExtension
    Определение

    An Extension

    КороткийExtension
    Контроль0..0
    ТипExtension
    Модификаторtrue потому что Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them
    Требуется поддержкаfalse
    Summarytrue
    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    34. QuestionnaireResponse.identifier
    Определение

    Business identifiers assigned to this questionnaire response by the performer and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server.

    КороткийBusiness identifier for this set of answers
    Комментарии

    Note: This is a business identifier, not a resource identifier (see discussion).

    ПримечаниеЭто бизнес-идентификатор, а не идентификатор ресурса (см. обсуждение)
    Контроль0..0
    ТипIdentifier
    Модификаторfalse
    Требуется поддержкаfalse
    Summarytrue
    Требования

    Allows identification of the questionnaire response as it is known by various participating systems and in a way that remains consistent across servers.

    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    36. QuestionnaireResponse.basedOn
    Определение

    A plan, proposal or order that is fulfilled in whole or in part by this questionnaire response. For example, a ServiceRequest seeking an intake assessment or a decision support recommendation to assess for post-partum depression.

    КороткийRequest fulfilled by this QuestionnaireResponse
    Контроль0..0
    ТипReference(CarePlan, ServiceRequest)
    Модификаторfalse
    Требуется поддержкаfalse
    Summarytrue
    Требования

    Supports traceability of responsibility for the questionnaire response and allows linkage of the response to the proposals/recommendations acted upon.

    Альтернативные именаorder
    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    38. QuestionnaireResponse.partOf
    Определение

    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.

    КороткийЧасть события, на которое ссылается ссылка
    Комментарии

    Not to be used to link an questionnaire response to an Encounter - use 'context' for that.

    Composition of questionnaire responses will be handled using the Assemble operation defined in the SDC IG. For relationships to referrals, and other types of requests, use basedOn.

    Контроль0..0
    ТипReference(Observation, Procedure)
    Модификаторfalse
    Требуется поддержкаfalse
    Summarytrue
    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    40. QuestionnaireResponse.questionnaire
    Определение

    The Questionnaire that defines and organizes the questions for which answers are being provided.

    КороткийКанонический URL-адрес анкеты, на которую вы отвечаете
    Комментарии

    If a QuestionnaireResponse references a Questionnaire that can be resolved, 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.). It is possible to have a QuestionnaireResponse whose 'questionnaire' element does not resolve. It is also possible for the questionnaire element to not have a value but only extensions (e.g. conveying the title or identifier for the questionnaire). This may happen for legacy data. If there is no formally defined Questionnaire, it is undefined what the 'correct' values for the linkId elements should be and it is possible that linkIds might be inconsistent for QuestionnaireResponses for the same form if captured by distinct systems.

    Контроль1..1
    Типcanonical(Questionnaire)
    Модификаторfalse
    Примитивное значениеЭтот примитивный элемент может присутствовать или отсутствовать, или быть замененным расширением
    Требуется поддержкаfalse
    Summarytrue
    Требования

    Needed to allow editing of the questionnaire response in a manner that enforces the constraints of the original form.

    Альтернативные именаForm
    Значение шаблонаhttps://fhir.by/Questionnaire/AllergyPatientDiary
    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    42. QuestionnaireResponse.status
    Определение

    The current state of the questionnaire response.

    Короткийin-progress | completed | amended | entered-in-error | stopped
    Комментарии

    Unknown does not represent "other" - one of the defined statuses must apply. Unknown is used when the authoring system is not sure what the current status is.

    Контроль1..1
    ПривязкаКоды ДОЛЖНЫ быть взяты из QuestionnaireResponseStatus
    (required to http://hl7.org/fhir/ValueSet/questionnaire-answers-status|5.0.0)

    Статус ответа на вопросник в течение жизненного цикла.

    Типcode
    Модификаторtrue потому что This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid
    Примитивное значениеЭтот примитивный элемент может присутствовать или отсутствовать, или быть замененным расширением
    Требуется поддержкаfalse
    Summarytrue
    Требования

    The information on Questionnaire resources may possibly be gathered during multiple sessions and altered after considered being finished.

    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    44. QuestionnaireResponse.subject
    Определение

    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.

    КороткийСубъект опроса
    Комментарии

    If the Questionnaire declared a subjectType, the resource pointed to by this element must be an instance of one of the listed types.

    Контроль1..1
    ТипReference(Пациент, Пациент без ИН)
    Модификаторfalse
    Требуется поддержкаfalse
    Summarytrue
    Требования

    Links the questionnaire response to the Patient context. May also affect access control.

    Альтернативные именаPatient, Focus
    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    46. QuestionnaireResponse.encounter
    Определение

    The Encounter during which this questionnaire response was created or to which the creation of this record is tightly associated.

    КороткийEncounter the questionnaire response is part of
    Комментарии

    This will typically be the encounter the questionnaire response was created during, but some questionnaire responses may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission forms). A questionnaire that was initiated during an encounter but not fully completed during the encounter would still generally be associated with the encounter.

    Контроль0..0
    ТипReference(Encounter)
    Модификаторfalse
    Требуется поддержкаfalse
    Summarytrue
    Требования

    Links the questionnaire response to the Encounter context. May also affect access control.

    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    48. QuestionnaireResponse.authored
    Определение

    The date and/or time that this questionnaire response was last modified by the user - e.g. changing answers or revising status.

    КороткийДата сбора ответов
    Комментарии

    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.

    This element is optional to allow for systems that might not know the value, however it SHOULD be populated if possible.

    Контроль1..1
    ТипdateTime
    Модификаторfalse
    Примитивное значениеЭтот примитивный элемент может присутствовать или отсутствовать, или быть замененным расширением
    Требуется поддержкаfalse
    Summarytrue
    Требования

    Clinicians need to be able to check the date that the information in the questionnaire was collected, to derive the context of the answers.

    Альтернативные именаDate Created, Date published, Date Issued, Date updated
    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    50. QuestionnaireResponse.author
    Определение

    The individual or device that received the answers to the questions in the QuestionnaireResponse and recorded them in the system.

    КороткийПользователь, получивший и записавший ответы
    Комментарии

    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. Device should only be used if it directly determined the answers, not if it was merely used as a capture tool to record answers provided by others. In the latter case, information about the physical device, software, etc. would be captured using Provenance.

    Контроль1..1
    ТипReference(Пациент, Пациент без ИН, Законный представитель пациента)
    Модификаторfalse
    Требуется поддержкаfalse
    Summarytrue
    Требования

    Need to know who interpreted the subject's answers to the questions in the questionnaire, and selected the appropriate options for answers.

    Альтернативные именаLaboratory, Service, Practitioner, Department, Company, Performer
    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    52. QuestionnaireResponse.source
    Определение

    The individual or device that answered the questions about the subject.

    КороткийThe individual or device that answered the questions
    Комментарии

    If not specified, no inference can be made about who provided the data. Device should only be used if it directly determined the answers, not if it was merely used as a capture tool to record answers provided by others. In the latter case, information about the physical device, software, etc. would be captured using Provenance.

    Контроль0..0
    ТипReference(Device, Organization, Patient, Practitioner, PractitionerRole, RelatedPerson)
    Модификаторfalse
    Требуется поддержкаfalse
    Summarytrue
    Требования

    When answering questions about a subject that is minor, incapable of answering or an animal, another human source may answer the questions.

    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    54. QuestionnaireResponse.item
    Определение

    A group or question item from the original questionnaire for which answers are provided.

    КороткийГруппы и вопросы
    Комментарии

    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).\nWhen dealing with repeating items, each group repetition will be handled by a separate item. However, repeating questions are handled with a single question item and potentially multiple answers.

    Контроль0..*
    ТипBackboneElement
    Модификаторfalse
    Требуется поддержкаfalse
    Summaryfalse
    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    qrs-1: Item cannot contain both item and answer ((answer.exists() and item.exists()).not())
    qrs-2: Repeated answers are combined in the answers array of a single item (repeat(answer|item).select(item.where(answer.value.exists()).linkId.isDistinct()).allTrue())
    56. QuestionnaireResponse.item.id
    Определение

    Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

    КороткийУникальный идентификатор для межэлементных ссылок
    Контроль0..0
    На этот элемент влияют следующие инварианты: ele-1
    Типstring
    Модификаторfalse
    Формат XMLВ формате XML это свойство представлено в качестве атрибута.
    Summaryfalse
    58. QuestionnaireResponse.item.extension
    Определение

    An Extension

    КороткийExtension
    Контроль0..0
    ТипExtension
    Модификаторfalse
    Summaryfalse
    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    60. QuestionnaireResponse.item.modifierExtension
    Определение

    An Extension

    КороткийExtension
    Контроль0..0
    ТипExtension
    Модификаторtrue потому что Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
    Summarytrue
    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    62. QuestionnaireResponse.item.linkId
    Определение

    The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.

    КороткийУказатель на конкретный пункт из анкеты
    Контроль1..1
    На этот элемент влияют следующие инварианты: qrs-2
    Типstring
    Модификаторfalse
    Примитивное значениеЭтот примитивный элемент может присутствовать или отсутствовать, или быть замененным расширением
    Требуется поддержкаfalse
    Summaryfalse
    Требования

    Items can repeat in the answers, so a direct 1..1 correspondence by position might not exist - requiring correspondence by identifier.

    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    64. QuestionnaireResponse.item.definition
    Определение

    A reference to an ElementDefinition that provides the details for the item.

    КороткийОпределение элемента - подробные сведения об элементе
    Комментарии

    The ElementDefinition must be in a StructureDefinition, 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].

    There is no need for this element if the item pointed to by the linkId has a definition listed.

    Контроль0..1
    Типuri
    Модификаторfalse
    Примитивное значениеЭтот примитивный элемент может присутствовать или отсутствовать, или быть замененным расширением
    Требуется поддержкаfalse
    Summaryfalse
    Требования

    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.

    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    66. QuestionnaireResponse.item.text
    Определение

    Text that is displayed above the contents of the group or as the text of the question being answered.

    КороткийНазвание группы или текст вопроса
    Комментарии

    The text for an item SHOULD be identical to the text from the corresponding Questionnaire.item. This can't be strictly enforced because it's possible for the Questionnaire to be updated subsequent to the QuestionnaireResponse having been created, however the intention is that the text in the QuestionnaireResponse reflects what the user saw when completing the Questionnaire.

    Контроль0..1
    Типstring
    Модификаторfalse
    Примитивное значениеЭтот примитивный элемент может присутствовать или отсутствовать, или быть замененным расширением
    Требуется поддержкаfalse
    Summaryfalse
    Требования

    Allows the questionnaire response to be read without access to the questionnaire.

    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    68. QuestionnaireResponse.item.answer
    Определение

    The respondent's answer(s) to the question.

    КороткийОтвет(ы) на вопрос(ы)
    Комментарии

    The value is nested because we cannot have a repeating structure that has variable type.

    Контроль0..*
    На этот элемент влияют следующие инварианты: qrs-1, qrs-2
    ТипBackboneElement
    Модификаторfalse
    Требуется поддержкаfalse
    Summaryfalse
    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    70. QuestionnaireResponse.item.answer.id
    Определение

    Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

    КороткийУникальный идентификатор для межэлементных ссылок
    Контроль0..0
    На этот элемент влияют следующие инварианты: ele-1
    Типstring
    Модификаторfalse
    Формат XMLВ формате XML это свойство представлено в качестве атрибута.
    Summaryfalse
    72. QuestionnaireResponse.item.answer.extension
    Определение

    An Extension

    КороткийExtension
    Контроль0..0
    ТипExtension
    Модификаторfalse
    Summaryfalse
    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    74. QuestionnaireResponse.item.answer.modifierExtension
    Определение

    An Extension

    КороткийExtension
    Контроль0..0
    ТипExtension
    Модификаторtrue потому что Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
    Summarytrue
    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    76. QuestionnaireResponse.item.answer.value[x]
    Определение

    The answer (or one of the answers) provided by the respondent to the question.

    КороткийОднозначный ответ на вопрос
    Комментарии

    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. Must match the datatype specified by Questionnaire.item.type in the corresponding Questionnaire. Note that a question is answered using one of the possible choices defined with answerOption, answerValueSet or some other means and the answer has a complex data type, all elements within the answer in the QuestionnaireResponse SHOULD match the elements defined corresponding choice value in the Questionnaire. However, it is possible that not all elements will be propagated. Also, some systems might use language translations resulting in different displays. Comparison of value to the values defined in the Questionnaire (whether by answerOption, answerValueSet or answerExpression) SHALL NOT pay attention to Coding.display, Reference.display, Quantity.unit unless those are the only elements present. As well, systems are not required to check for a match on any extensions (e.g. ordinal values, translations, etc.). Systems MAY enforce that if extensions such as ordinal values are present in both Questionnaire and QuestionnaireResponse, they match.

    Контроль1..1
    На этот элемент влияют следующие инварианты: qrs-2
    ПривязкаНапример, коды см. QuestionnaireAnswerCodes
    (example to http://hl7.org/fhir/ValueSet/questionnaire-answers|5.0.0)

    Привязка к этому является проблематичной, поскольку один набор значений не может применяться как к кодам, так и к количествам.

    ТипВыбор: boolean, string, Coding
    [x] ЗаметкаСмотретьВыбор типов данныхдля дополнительной информации о том, как использовать [x]
    Модификаторfalse
    Примитивное значениеЭтот примитивный элемент может присутствовать или отсутствовать, или быть замененным расширением
    Требуется поддержкаfalse
    Summaryfalse
    Требования

    Ability to retain a single-valued answer to a question.

    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    78. QuestionnaireResponse.item.answer.item
    Определение

    Nested groups and/or questions found within this particular answer.

    КороткийДочерние элементы вопроса
    Комментарии

    Only used when nesting beneath a question - see item.item for nesting beneath groups

    Контроль0..*
    ТипСмотретьttp://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item
    Модификаторfalse
    Требуется поддержкаfalse
    Summaryfalse
    Требования

    It is useful to have "sub-questions", questions which normally appear when certain answers are given and which collect additional details.

    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    80. QuestionnaireResponse.item.item
    Определение

    Sub-questions, sub-groups or display items nested beneath a group.

    КороткийДочерние элементы элемента группы
    Комментарии

    Only used when nesting beneath a group - see item.answer.item for nesting beneath questions

    Контроль0..*
    ТипСмотретьttp://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item
    Модификаторfalse
    Требуется поддержкаfalse
    Summaryfalse
    Требования

    Reports can consist of complex nested groups.

    Инвариантыele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))