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

Профиль ресурса: Анкета для диспансеризации

Официальный URL: https://fhir.by/StructureDefinition/QuestionnaireDispanserisation
Draft as of 2026-06-25 Имя: QuestionnaireDispanserisation

Профиль вопросов анкеты для диспансеризации

Необходимо добавить описание!!!!!!

Для добавления описания нужно добавить файл input/intro-notes/StructureDefinition-QuestionnaireDispanserisation-intro.md

Использование:

You can also check for usages in the FHIR IG Statistics

Контент профиля

Описание профилей и принципов работы различных представлений..

Профиль ресурса: Questionnaire

НаименованиеФлагиКарта.ТипОписание и ограничения    Filter: Filtersdoco
.. Questionnaire 0..* Questionnaire Структурированный набор вопросов
Interfaces Implemented: MetadataResource
... id 1..1 id Логический идентификатор этого артефакта
... meta 1..1 Meta Метаданные о ресурсе
.... extension 0..0 Extension
.... versionId 0..1 id Идентификатор версии. Указывается версия ресурса, который подлежит редактированию, если предусмотрено правилами. Если версия не указана, то ресурс считается новым.
.... lastUpdated 0..1 instant Дата и время последнего обновления
.... source 0..0 Определяет, откуда берется ресурс
.... profile 1..1 canonical(StructureDefinition) Ссылка на профиль
Требуемый шаблон: https://fhir.by/StructureDefinition/QuestionnaireDispanserisation
.... security 0..0 Метки безопасности, примененные к этому ресурсу
.... tag 0..0 Теги, применяемые к этому ресурсу
... implicitRules 0..0 Набор правил, в соответствии с которыми был создан этот контент
... contained 0..0 Автономные встроенные ресурсы
... extension 0..0 Extension
... modifierExtension 0..0 Extension
... identifier 0..0 Business identifier for questionnaire
... versionAlgorithm[x] 0..0 How to compare versions
... name 1..1 string Название для этой анкеты (computer friendly)
... title 1..1 string Название для этой анкеты (понятное для человека)
... derivedFrom 0..0 Based on Questionnaire
... subjectType 1..1 code Ресурс, который может быть предметом ответа на вопросник
Требуемый шаблон: Patient
... contact 0..1 ContactDetail Contact details for the publisher
... useContext 0..0 The context that the content is intended to support
... jurisdiction 0..0 Intended jurisdiction for questionnaire (if applicable)
... purpose 0..0 Why this questionnaire is defined
... copyright 0..0 Use and/or publishing restrictions
... copyrightLabel 0..0 Copyright holder and year(s)
... approvalDate 0..0 When the questionnaire was approved by publisher
... lastReviewDate 0..0 When the questionnaire was last reviewed by the publisher
... effectivePeriod 0..0 When the questionnaire is expected to be used
... code 0..0 Concept that represents the overall questionnaire
... item 1..* BackboneElement Вопросы и разделы анкеты
.... id 0..0 Уникальный идентификатор для межэлементных ссылок
.... extension 0..0 Extension
.... modifierExtension 0..0 Extension
.... code 0..0 Corresponding concept for this item in a terminology
.... prefix 0..0 E.g. "1(a)", "2.5.3"
.... text 1..1 string Основной текст для элемента
.... enableWhen 0..1 BackboneElement Разрешать передачу данных только в том случае, если
..... id 0..0 Уникальный идентификатор для межэлементных ссылок
..... extension 0..0 Extension
..... modifierExtension 0..0 Extension
.... enableBehavior 0..0 all | any
.... disabledDisplay 0..0 hidden | protected
.... repeats 0..0 Whether the item may repeat
.... readOnly 0..0 Don't allow human editing
.... maxLength 0..0 No more than these many characters
.... answerConstraint 0..0 optionsOnly | optionsOrType | optionsOrString
.... answerOption 0..0 Permitted answer
.... initial 0..0 Initial value(s) when item is first rendered
.... item 0..0 Nested questionnaire items

doco Документация для этого формата
НаименованиеФлагиКарта.ТипОписание и ограничения    Filter: Filtersdoco
.. Questionnaire C 0..* Questionnaire Структурированный набор вопросов
Interfaces Implemented: MetadataResource
Constraints: cnl-0, que-2
... id Σ 1..1 id Логический идентификатор этого артефакта
... meta Σ 1..1 Meta Метаданные о ресурсе
.... id 0..1 id Уникальный идентификатор для межэлементных ссылок
.... extension 0..0 Extension
Разрез: Не упорядочено, Открыто от value:url
.... versionId Σ 0..1 id Идентификатор версии. Указывается версия ресурса, который подлежит редактированию, если предусмотрено правилами. Если версия не указана, то ресурс считается новым.
.... lastUpdated Σ 0..1 instant Дата и время последнего обновления
.... profile Σ 1..1 canonical(StructureDefinition) Ссылка на профиль

Требуемый шаблон: https://fhir.by/StructureDefinition/QuestionnaireDispanserisation
... text 0..1 Narrative Краткое изложение текста ресурса для интерпретации человеком
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... version Σ 0..1 string Business version of the questionnaire
... name ΣC 1..1 string Название для этой анкеты (computer friendly)
... title Σ 1..1 string Название для этой анкеты (понятное для человека)
... status ?!ΣC 1..1 code draft | active | retired | unknown
Привязка: PublicationStatus (required): Статус жизненного цикла артефакта.
... experimental Σ 0..1 boolean Для целей тестирования, а не для реального использования
... subjectType Σ 1..1 code Ресурс, который может быть предметом ответа на вопросник
Привязка: ResourceType (required): Один из типов ресурсов, определенных как часть этой версии FHIR.

Требуемый шаблон: Patient
... date Σ 0..1 dateTime Дата последнего изменения
... publisher Σ 0..1 string Имя издателя/распорядителя (организации или физического лица)
... contact Σ 0..1 ContactDetail Contact details for the publisher
... description Σ 0..1 markdown Описание анкеты
... item C 1..* BackboneElement Вопросы и разделы анкеты
Constraints: que-1a, que-1b, que-1c, que-3, que-4, que-5, que-6, que-8, que-9, que-10, que-11, que-12, que-13, que-14
.... linkId C 1..1 string Уникальный идентификатор элемента в анкете
Constraints: que-15
.... definition 0..1 uri Определение элемента - подробные сведения об элементе
.... text 1..1 string Основной текст для элемента
.... type C 1..1 code group | display | boolean | decimal | integer | date | dateTime +
Привязка: QuestionnaireItemType (required): Отличает группы от вопросов и отображает текст, а также указывает тип данных для вопросов.
.... enableWhen ?!C 0..1 BackboneElement Разрешать передачу данных только в том случае, если
Constraints: que-7
..... question 1..1 string Идентификатор ссылки, по которому задается вопрос, определяет, включен ли элемент или отключен
..... operator C 1..1 code exists | = | != | > | < | >= | <=
Привязка: QuestionnaireItemOperator (required): Критерии, по которым включается вопрос.
..... answer[x] C 1..1 Значение для сравнения вопросов на основе оператора
Привязка: QuestionnaireAnswerCodes (example): Допустимые значения для ответов на вопросы.
...... answerBoolean boolean
...... answerDecimal decimal
...... answerInteger integer
...... answerDate date
...... answerDateTime dateTime
...... answerTime time
...... answerString string
...... answerCoding Coding
...... answerQuantity Quantity
...... answerReference Reference(Resource)
.... required C 0..1 boolean Должен ли элемент быть включен в результаты обработки данных
.... answerValueSet C 0..1 canonical(ValueSet) ValueSet containing permitted answers

doco Документация для этого формата

Привязки к терминологии

Путь Статус Использование ValueSet Версия Источник
Questionnaire.status Base required PublicationStatus 📍5.0.0 Стандарт FHIR
Questionnaire.subjectType Base required Resource Types 📍5.0.0 Стандарт FHIR
Questionnaire.item.type Base required Questionnaire Item Type 📍5.0.0 Стандарт FHIR
Questionnaire.item.enableWhen.​operator Base required Questionnaire Item Operator 📍5.0.0 Стандарт FHIR
Questionnaire.item.enableWhen.​answer[x] Base example Questionnaire Answer Codes 📍5.0.0 Стандарт FHIR
Questionnaire.item.answerOption.​value[x] Base example Questionnaire Answer Codes 📍5.0.0 Стандарт FHIR
Questionnaire.item.initial.​value[x] Base example Questionnaire Answer Codes 📍5.0.0 Стандарт FHIR

Ограничения

Id Градация Путь(и) Описание Выражение
cnl-0 warning Questionnaire Name should be usable as an identifier for the module by machine processing applications such as code generation name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')
cnl-1 warning Questionnaire.url URL should not contain | or # - these characters make processing canonical references problematic exists() implies matches('^[^|# ]+$')
ele-1 error **ВСЕ** элементы All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ВСЕ** расширения Must have either extensions or value[x], not both extension.exists() != value.exists()
que-1a error Questionnaire.item Group items must have nested items when Questionanire is complete (type='group' and %resource.status='complete') implies item.empty().not()
que-1b warning Questionnaire.item Groups should have items type='group' implies item.empty().not()
que-1c error Questionnaire.item Display items cannot have child items type='display' implies item.empty()
que-2 error Questionnaire The link ids for groups and questions must be unique within the questionnaire descendants().linkId.isDistinct()
que-3 error Questionnaire.item Display items cannot have a "code" asserted type!='display' or code.empty()
que-4 error Questionnaire.item A question cannot have both answerOption and answerValueSet answerOption.empty() or answerValueSet.empty()
que-5 error Questionnaire.item Only coding, decimal, integer, date, dateTime, time, string or quantity items can have answerOption or answerValueSet (type='coding' or type = 'decimal' or type = 'integer' or type = 'date' or type = 'dateTime' or type = 'time' or type = 'string' or type = 'quantity') or (answerValueSet.empty() and answerOption.empty())
que-6 error Questionnaire.item Required and repeat aren't permitted for display items type!='display' or (required.empty() and repeats.empty())
que-7 error Questionnaire.item.enableWhen If the operator is 'exists', the value must be a boolean operator = 'exists' implies (answer is boolean)
que-8 error Questionnaire.item Initial values can't be specified for groups or display items (type!='group' and type!='display') or initial.empty()
que-9 error Questionnaire.item Read-only can't be specified for "display" items type!='display' or readOnly.empty()
que-10 error Questionnaire.item Maximum length can only be declared for simple question types (type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url')) or answerConstraint='optionOrString' or maxLength.empty()
que-11 error Questionnaire.item If one or more answerOption is present, initial cannot be present. Use answerOption.initialSelected instead answerOption.empty() or initial.empty()
que-12 error Questionnaire.item If there are more than one enableWhen, enableBehavior must be specified enableWhen.count() > 1 implies enableBehavior.exists()
que-13 error Questionnaire.item Can only have multiple initial values for repeating items repeats=true or initial.count() <= 1
que-14 warning Questionnaire.item Can only have answerConstraint if answerOption or answerValueSet are present. (This is a warning because extensions may serve the same purpose) answerConstraint.exists() implies answerOption.exists() or answerValueSet.exists()
que-15 warning Questionnaire.item.linkId Link ids should be 255 characters or less $this.length() <= 255

Профиль ресурса: Questionnaire

Summary

Обязательный: 8 элементs
Запрещено: 41 элементs

Полная Схема

НаименованиеФлагиКарта.ТипОписание и ограничения    Filter: Filtersdoco
.. Questionnaire C 0..* Questionnaire Структурированный набор вопросов
Interfaces Implemented: MetadataResource
Constraints: cnl-0, que-2
... id Σ 1..1 id Логический идентификатор этого артефакта
... meta Σ 1..1 Meta Метаданные о ресурсе
.... id 0..1 id Уникальный идентификатор для межэлементных ссылок
.... extension 0..0 Extension
Разрез: Не упорядочено, Открыто от value:url
.... versionId Σ 0..1 id Идентификатор версии. Указывается версия ресурса, который подлежит редактированию, если предусмотрено правилами. Если версия не указана, то ресурс считается новым.
.... lastUpdated Σ 0..1 instant Дата и время последнего обновления
.... profile Σ 1..1 canonical(StructureDefinition) Ссылка на профиль

Требуемый шаблон: https://fhir.by/StructureDefinition/QuestionnaireDispanserisation
... text 0..1 Narrative Краткое изложение текста ресурса для интерпретации человеком
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... version Σ 0..1 string Business version of the questionnaire
... name ΣC 1..1 string Название для этой анкеты (computer friendly)
... title Σ 1..1 string Название для этой анкеты (понятное для человека)
... status ?!ΣC 1..1 code draft | active | retired | unknown
Привязка: PublicationStatus (required): Статус жизненного цикла артефакта.
... experimental Σ 0..1 boolean Для целей тестирования, а не для реального использования
... subjectType Σ 1..1 code Ресурс, который может быть предметом ответа на вопросник
Привязка: ResourceType (required): Один из типов ресурсов, определенных как часть этой версии FHIR.

Требуемый шаблон: Patient
... date Σ 0..1 dateTime Дата последнего изменения
... publisher Σ 0..1 string Имя издателя/распорядителя (организации или физического лица)
... contact Σ 0..1 ContactDetail Contact details for the publisher
... description Σ 0..1 markdown Описание анкеты
... item C 1..* BackboneElement Вопросы и разделы анкеты
Constraints: que-1a, que-1b, que-1c, que-3, que-4, que-5, que-6, que-8, que-9, que-10, que-11, que-12, que-13, que-14
.... linkId C 1..1 string Уникальный идентификатор элемента в анкете
Constraints: que-15
.... definition 0..1 uri Определение элемента - подробные сведения об элементе
.... text 1..1 string Основной текст для элемента
.... type C 1..1 code group | display | boolean | decimal | integer | date | dateTime +
Привязка: QuestionnaireItemType (required): Отличает группы от вопросов и отображает текст, а также указывает тип данных для вопросов.
.... enableWhen ?!C 0..1 BackboneElement Разрешать передачу данных только в том случае, если
Constraints: que-7
..... question 1..1 string Идентификатор ссылки, по которому задается вопрос, определяет, включен ли элемент или отключен
..... operator C 1..1 code exists | = | != | > | < | >= | <=
Привязка: QuestionnaireItemOperator (required): Критерии, по которым включается вопрос.
..... answer[x] C 1..1 Значение для сравнения вопросов на основе оператора
Привязка: QuestionnaireAnswerCodes (example): Допустимые значения для ответов на вопросы.
...... answerBoolean boolean
...... answerDecimal decimal
...... answerInteger integer
...... answerDate date
...... answerDateTime dateTime
...... answerTime time
...... answerString string
...... answerCoding Coding
...... answerQuantity Quantity
...... answerReference Reference(Resource)
.... required C 0..1 boolean Должен ли элемент быть включен в результаты обработки данных
.... answerValueSet C 0..1 canonical(ValueSet) ValueSet containing permitted answers

doco Документация для этого формата

Привязки к терминологии

Путь Статус Использование ValueSet Версия Источник
Questionnaire.status Base required PublicationStatus 📍5.0.0 Стандарт FHIR
Questionnaire.subjectType Base required Resource Types 📍5.0.0 Стандарт FHIR
Questionnaire.item.type Base required Questionnaire Item Type 📍5.0.0 Стандарт FHIR
Questionnaire.item.enableWhen.​operator Base required Questionnaire Item Operator 📍5.0.0 Стандарт FHIR
Questionnaire.item.enableWhen.​answer[x] Base example Questionnaire Answer Codes 📍5.0.0 Стандарт FHIR
Questionnaire.item.answerOption.​value[x] Base example Questionnaire Answer Codes 📍5.0.0 Стандарт FHIR
Questionnaire.item.initial.​value[x] Base example Questionnaire Answer Codes 📍5.0.0 Стандарт FHIR

Ограничения

Id Градация Путь(и) Описание Выражение
cnl-0 warning Questionnaire Name should be usable as an identifier for the module by machine processing applications such as code generation name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')
cnl-1 warning Questionnaire.url URL should not contain | or # - these characters make processing canonical references problematic exists() implies matches('^[^|# ]+$')
ele-1 error **ВСЕ** элементы All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ВСЕ** расширения Must have either extensions or value[x], not both extension.exists() != value.exists()
que-1a error Questionnaire.item Group items must have nested items when Questionanire is complete (type='group' and %resource.status='complete') implies item.empty().not()
que-1b warning Questionnaire.item Groups should have items type='group' implies item.empty().not()
que-1c error Questionnaire.item Display items cannot have child items type='display' implies item.empty()
que-2 error Questionnaire The link ids for groups and questions must be unique within the questionnaire descendants().linkId.isDistinct()
que-3 error Questionnaire.item Display items cannot have a "code" asserted type!='display' or code.empty()
que-4 error Questionnaire.item A question cannot have both answerOption and answerValueSet answerOption.empty() or answerValueSet.empty()
que-5 error Questionnaire.item Only coding, decimal, integer, date, dateTime, time, string or quantity items can have answerOption or answerValueSet (type='coding' or type = 'decimal' or type = 'integer' or type = 'date' or type = 'dateTime' or type = 'time' or type = 'string' or type = 'quantity') or (answerValueSet.empty() and answerOption.empty())
que-6 error Questionnaire.item Required and repeat aren't permitted for display items type!='display' or (required.empty() and repeats.empty())
que-7 error Questionnaire.item.enableWhen If the operator is 'exists', the value must be a boolean operator = 'exists' implies (answer is boolean)
que-8 error Questionnaire.item Initial values can't be specified for groups or display items (type!='group' and type!='display') or initial.empty()
que-9 error Questionnaire.item Read-only can't be specified for "display" items type!='display' or readOnly.empty()
que-10 error Questionnaire.item Maximum length can only be declared for simple question types (type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url')) or answerConstraint='optionOrString' or maxLength.empty()
que-11 error Questionnaire.item If one or more answerOption is present, initial cannot be present. Use answerOption.initialSelected instead answerOption.empty() or initial.empty()
que-12 error Questionnaire.item If there are more than one enableWhen, enableBehavior must be specified enableWhen.count() > 1 implies enableBehavior.exists()
que-13 error Questionnaire.item Can only have multiple initial values for repeating items repeats=true or initial.count() <= 1
que-14 warning Questionnaire.item Can only have answerConstraint if answerOption or answerValueSet are present. (This is a warning because extensions may serve the same purpose) answerConstraint.exists() implies answerOption.exists() or answerValueSet.exists()
que-15 warning Questionnaire.item.linkId Link ids should be 255 characters or less $this.length() <= 255

Схема различий

Профиль ресурса: Questionnaire

НаименованиеФлагиКарта.ТипОписание и ограничения    Filter: Filtersdoco
.. Questionnaire 0..* Questionnaire Структурированный набор вопросов
Interfaces Implemented: MetadataResource
... id 1..1 id Логический идентификатор этого артефакта
... meta 1..1 Meta Метаданные о ресурсе
.... extension 0..0 Extension
.... versionId 0..1 id Идентификатор версии. Указывается версия ресурса, который подлежит редактированию, если предусмотрено правилами. Если версия не указана, то ресурс считается новым.
.... lastUpdated 0..1 instant Дата и время последнего обновления
.... source 0..0 Определяет, откуда берется ресурс
.... profile 1..1 canonical(StructureDefinition) Ссылка на профиль
Требуемый шаблон: https://fhir.by/StructureDefinition/QuestionnaireDispanserisation
.... security 0..0 Метки безопасности, примененные к этому ресурсу
.... tag 0..0 Теги, применяемые к этому ресурсу
... implicitRules 0..0 Набор правил, в соответствии с которыми был создан этот контент
... contained 0..0 Автономные встроенные ресурсы
... extension 0..0 Extension
... modifierExtension 0..0 Extension
... identifier 0..0 Business identifier for questionnaire
... versionAlgorithm[x] 0..0 How to compare versions
... name 1..1 string Название для этой анкеты (computer friendly)
... title 1..1 string Название для этой анкеты (понятное для человека)
... derivedFrom 0..0 Based on Questionnaire
... subjectType 1..1 code Ресурс, который может быть предметом ответа на вопросник
Требуемый шаблон: Patient
... contact 0..1 ContactDetail Contact details for the publisher
... useContext 0..0 The context that the content is intended to support
... jurisdiction 0..0 Intended jurisdiction for questionnaire (if applicable)
... purpose 0..0 Why this questionnaire is defined
... copyright 0..0 Use and/or publishing restrictions
... copyrightLabel 0..0 Copyright holder and year(s)
... approvalDate 0..0 When the questionnaire was approved by publisher
... lastReviewDate 0..0 When the questionnaire was last reviewed by the publisher
... effectivePeriod 0..0 When the questionnaire is expected to be used
... code 0..0 Concept that represents the overall questionnaire
... item 1..* BackboneElement Вопросы и разделы анкеты
.... id 0..0 Уникальный идентификатор для межэлементных ссылок
.... extension 0..0 Extension
.... modifierExtension 0..0 Extension
.... code 0..0 Corresponding concept for this item in a terminology
.... prefix 0..0 E.g. "1(a)", "2.5.3"
.... text 1..1 string Основной текст для элемента
.... enableWhen 0..1 BackboneElement Разрешать передачу данных только в том случае, если
..... id 0..0 Уникальный идентификатор для межэлементных ссылок
..... extension 0..0 Extension
..... modifierExtension 0..0 Extension
.... enableBehavior 0..0 all | any
.... disabledDisplay 0..0 hidden | protected
.... repeats 0..0 Whether the item may repeat
.... readOnly 0..0 Don't allow human editing
.... maxLength 0..0 No more than these many characters
.... answerConstraint 0..0 optionsOnly | optionsOrType | optionsOrString
.... answerOption 0..0 Permitted answer
.... initial 0..0 Initial value(s) when item is first rendered
.... item 0..0 Nested questionnaire items

doco Документация для этого формата

Профиль ресурса: Questionnaire

Summary

Обязательный: 8 элементs
Запрещено: 41 элементs

 


Необходимо добавить дополнительную информацию!!!!!!

Для добавления дополнительной информации нужно добавить файл input/intro-notes/StructureDefinition-QuestionnaireDispanserisation-notes.md

Необходимо добавить описание Прав доступа!!!!!!

Для добавления описания нужно добавить файл input/rules/StructureDefinition-QuestionnaireDispanserisation-rules.md