Current Build

Переводит команда Health Samurai . Приглашаем поучаствовать в русификации стандарта FHIR: GitHub , Email.

FHIR Infrastructure Work Group Maturity Level: 1Trial Use Use Context: Any

Официальный URL этого профиля:

http://hl7.org/fhir/StructureDefinition/cqf-questionnaire

A questionnaire with the ability to specify behavior associated with questions or groups of questions

Этот профиль был опубликован Sat, May 30, 2015 00:00+0000 со статусом as a draft, автор: Health Level Seven, Inc. - CDS WG.

Описание профилей, дифференциалов, снапшотов и того, как работают XML- и JSON-представления .

Эта структура получена из Questionnaire.

Summary

Extensions

This structure refers to these extensions:

Эта структура получена из Questionnaire.

ИмяФлагиКард.ТипОписание и ограниченияdoco
.. Questionnaire 0..*A questionnaire with the ability to specify behavior associated with questions or groups of questions
... cqf-library 0..*canonical(Library)A library containing logic referenced by the questionnaire
URL: http://hl7.org/fhir/StructureDefinition/cqf-library

doco Документация по этому формату
ИмяФлагиКард.ТипОписание и ограниченияdoco
.. Questionnaire I0..*A questionnaire with the ability to specify behavior associated with questions or groups of questions
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaМетаданные ресурса
... implicitRules ?!Σ0..1uriСвод правил, в соответствии с которыми создавалось это содержимое
... language 0..1codeЯзык содержимого ресурса
Binding: Language (preferred)
... text 0..1NarrativeКраткое текстовое изложение ресурса для интерпретации человеком
... contained 0..*ResourceВложенные, встроенные инлайн ресурсы
... extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... cqf-library I0..*canonical(Library)A library containing logic referenced by the questionnaire
URL: http://hl7.org/fhir/StructureDefinition/cqf-library
... modifierExtension ?!0..*ExtensionРасширения, которые нельзя игнорировать
... url Σ0..1uriCanonical identifier for this questionnaire, represented as a URI (globally unique)
... identifier Σ0..*IdentifierAdditional identifier for the questionnaire
... version Σ0..1stringBusiness version of the questionnaire
... name ΣI0..1stringName for this questionnaire (computer friendly)
... title Σ0..1stringName for this questionnaire (human friendly)
... derivedFrom 0..*canonical(Questionnaire)Instantiates protocol or definition
... status ?!Σ1..1codedraft | active | retired | unknown
Binding: PublicationStatus (required)
... experimental Σ0..1booleanFor testing purposes, not real usage
... subjectType Σ0..*codeРесурс, который может быть субъектом ресурса QuestionnaireResponse
Binding: ResourceType (required)
... date Σ0..1dateTimeDate last changed
... publisher Σ0..1stringName of the publisher (organization or individual)
... contact Σ0..*ContactDetailContact details for the publisher
... description 0..1markdownNatural language description of the questionnaire
... useContext Σ0..*UsageContextThe context that the content is intended to support
... jurisdiction Σ0..*CodeableConceptIntended jurisdiction for questionnaire (if applicable)
Binding: Jurisdiction (extensible)
... purpose 0..1markdownWhy this questionnaire is defined
... copyright 0..1markdownUse and/or publishing restrictions
... approvalDate 0..1dateWhen the questionnaire was approved by publisher
... lastReviewDate 0..1dateWhen the questionnaire was last reviewed
... effectivePeriod Σ0..1PeriodWhen the questionnaire is expected to be used
... code Σ0..*CodingКонцепт, описывающий весь вопросник в целом
Binding: Questionnaire Question Codes (example)
... item I0..*BackboneElementВопросы и разделы вопросника
que-9: Read-only can't be specified for "display" items
que-8: Initial values can't be specified for groups or display items
que-6: Элементы required и repeats не разрешены для отображаемых пунктов
que-5: Only 'choice' and 'open-choice' items can have answerValueSet
que-4: A question cannot have both answerOption and answerValueSet
que-3: Display items cannot have a "code" asserted
que-10: Максимальная длина может быть задана только для простых типов вопросов
que-1: Пункты группы должны иметь вложенные пункты, а отображаемые пункты не могут иметь вложенных пунктов
que-13: Can only have multiple initial values for repeating items
que-11: If one or more answerOption is present, initial[x] must be missing
que-12: If there are more than one enableWhen, enableBehavior must be specified
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... linkId 1..1stringUnique id for item in questionnaire
.... definition 0..1uriElementDefinition - details for the item
.... code I0..*CodingCorresponding concept for this item in a terminology
Binding: Questionnaire Question Codes (example)
.... prefix 0..1stringE.g. "1(a)", "2.5.3"
.... text 0..1stringОсновной текст для пункта
.... type 1..1codegroup | display | boolean | decimal | integer | date | dateTime +
Binding: QuestionnaireItemType (required)
.... enableWhen ?!I0..*BackboneElementOnly allow data when
que-7: If the operator is 'exists', the value must be a boolean
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... question 1..1stringQuestion that determines whether item is enabled
..... operator 1..1codeexists | = | != | > | < | >= | <=
Binding: QuestionnaireItemOperator (required)
..... answer[x] I1..1boolean, decimal, integer, date, dateTime, time, string, Coding, Quantity, Reference(Resource)Value for question comparison based on operator
Binding: Questionnaire Answer Codes (example)
.... enableBehavior I0..1codeall | any
Binding: EnableWhenBehavior (required)
.... required I0..1booleanWhether the item must be included in data results
.... repeats I0..1booleanWhether the item may repeat
.... readOnly I0..1booleanDon't allow human editing
.... maxLength I0..1integerNo more than this many characters
.... answerValueSet I0..1canonical(ValueSet)Набор значений, содержащий возможные ответы
.... answerOption I0..*BackboneElementРазрешённый ответ
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... value[x] 1..1integer, date, time, string, Coding, Reference(Resource)Answer value
Binding: Questionnaire Answer Codes (example)
..... initialSelected 0..1booleanWhether option is selected by default
.... initial I0..*BackboneElementInitial value(s) when item is first rendered
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... value[x] 1..1boolean, decimal, integer, date, dateTime, time, string, uri, Attachment, Coding, Quantity, Reference(Resource)Actual value for initializing the question
Binding: Questionnaire Answer Codes (example)
.... item I0..*Unknown reference to #Questionnaire.item
Вложенные пункты вопросника

doco Документация по этому формату
<!-- CQF-Questionnaire -->doco

<Questionnaire xmlns="http://hl7.org/fhir"
>
  <!-- from Element: extension -->
 <id value="[id]"/><!-- 0..1 Logical id of this artifact -->
 <meta><!-- 0..1 Meta Метаданные ресурса --></meta>
 <implicitRules value="[uri]"/><!-- 0..1 Свод правил, в соответствии с которыми создавалось это содержимое -->
 <language value="[code]"/><!-- 0..1 Язык содержимого ресурса   -->
 <text><!-- 0..1 Narrative 
     Краткое текстовое изложение ресурса для интерпретации человеком --></text>
 <contained><!-- 0..* Resource 
     Вложенные, встроенные инлайн ресурсы --></contained>
 <modifierExtension><!-- 0..* Extension  Расширения, которые нельзя игнорировать  --></modifierExtension>
 <url value="[uri]"/><!-- 0..1 
     Canonical identifier for this questionnaire, represented as a URI (globally unique) -->
 <identifier><!-- 0..* Identifier 
     Additional identifier for the questionnaire --></identifier>
 <version value="[string]"/><!-- 0..1 Business version of the questionnaire -->
 <name value="[string]"/><!-- 0..1 Name for this questionnaire (computer friendly) -->
 <title value="[string]"/><!-- 0..1 Name for this questionnaire (human friendly) -->
 <derivedFrom value="[canonical]"/><!-- 0..* Instantiates protocol or definition -->
 <status value="[code]"/><!-- 1..1 draft | active | retired | unknown   -->
 <experimental value="[boolean]"/><!-- 0..1 For testing purposes, not real usage -->
 <subjectType value="[code]"/><!-- 0..* Ресурс, который может быть субъектом ресурса QuestionnaireResponse   -->
 <date value="[dateTime]"/><!-- 0..1 Date last changed -->
 <publisher value="[string]"/><!-- 0..1 Name of the publisher (organization or individual) -->
 <contact><!-- 0..* ContactDetail 
     Contact details for the publisher --></contact>
 <description value="[markdown]"/><!-- 0..1 Natural language description of the questionnaire -->
 <useContext><!-- 0..* UsageContext 
     The context that the content is intended to support --></useContext>
 <jurisdiction><!-- 0..* CodeableConcept Intended jurisdiction for questionnaire (if applicable)   --></jurisdiction>
 <purpose value="[markdown]"/><!-- 0..1 Why this questionnaire is defined -->
 <copyright value="[markdown]"/><!-- 0..1 Use and/or publishing restrictions -->
 <approvalDate value="[date]"/><!-- 0..1 When the questionnaire was approved by publisher -->
 <lastReviewDate value="[date]"/><!-- 0..1 When the questionnaire was last reviewed -->
 <effectivePeriod><!-- 0..1 Period 
     When the questionnaire is expected to be used --></effectivePeriod>
 <code><!-- 0..* Coding Концепт, описывающий весь вопросник в целом   --></code>
 <item> ?? 0..* BackboneElement  <!-- ?? 0..* Вопросы и разделы вопросника -->
  <modifierExtension><!-- 0..* Extension  Extensions that cannot be ignored even if unrecognized  --></modifierExtension>
  <linkId value="[string]"/><!-- 1..1 Unique id for item in questionnaire -->
  <definition value="[uri]"/><!-- 0..1 ElementDefinition - details for the item -->
  <code><!-- 0..* Coding Corresponding concept for this item in a terminology   --></code>
  <prefix value="[string]"/><!-- 0..1 E.g. "1(a)", "2.5.3" -->
  <text value="[string]"/><!-- 0..1 Основной текст для пункта -->
  <type value="[code]"/><!-- 1..1 group | display | boolean | decimal | integer | date | dateTime +   -->
  <enableWhen> ?? 0..* BackboneElement  <!-- ?? 0..* Only allow data when -->
   <modifierExtension><!-- 0..* Extension  Extensions that cannot be ignored even if unrecognized  --></modifierExtension>
   <question value="[string]"/><!-- 1..1 Question that determines whether item is enabled -->
   <operator value="[code]"/><!-- 1..1 exists | = | != | > | < | >= | <=   -->
   <answer[x]><!-- 1..1 boolean|decimal|integer|
     date|dateTime|time|string|Coding|Quantity|Reference(Resource) Value for question comparison based on operator   --></answer[x]>
  </enableWhen>
  <enableBehavior value="[code]"/><!-- 0..1 all | any   -->
  <required value="[boolean]"/><!-- 0..1 Whether the item must be included in data results -->
  <repeats value="[boolean]"/><!-- 0..1 Whether the item may repeat -->
  <readOnly value="[boolean]"/><!-- 0..1 Don't allow human editing -->
  <maxLength value="[integer]"/><!-- 0..1 No more than this many characters -->
  <answerValueSet value="[canonical]"/><!-- 0..1 Набор значений, содержащий возможные ответы -->
  <answerOption> ?? 0..* BackboneElement  <!-- ?? 0..* Разрешённый ответ -->
   <modifierExtension><!-- 0..* Extension  Extensions that cannot be ignored even if unrecognized  --></modifierExtension>
   <value[x]><!-- 1..1 integer|date|time|string|
     Coding|Reference(Resource) Answer value   --></value[x]>
   <initialSelected value="[boolean]"/><!-- 0..1 Whether option is selected by default -->
  </answerOption>
  <initial> ?? 0..* BackboneElement  <!-- ?? 0..* Initial value(s) when item is first rendered -->
   <modifierExtension><!-- 0..* Extension  Extensions that cannot be ignored even if unrecognized  --></modifierExtension>
   <value[x]><!-- 1..1 boolean|decimal|integer|date|
     dateTime|time|string|uri|Attachment|Coding|Quantity|Reference(Resource) Actual value for initializing the question   --></value[x]>
  </initial>
  <item><!-- See #Questionnaire.item  Вложенные пункты вопросника --></item>
 </item>
</Questionnaire>
{ // CQF-Questionnaire
  // from Element: extension
    "meta" : { Meta }, //Метаданные ресурса
    "implicitRules" : "<uri>", //Свод правил, в соответствии с которыми создавалось это содержимое
    "language" : "<code>", //Язык содержимого ресурса
    "text" : { Narrative }, //Краткое текстовое изложение ресурса для интерпретации человеком
    "contained" : [{ Resource }], //Вложенные, встроенные инлайн ресурсы
    "extension" : [ //  sliced by value:url  in the specified order, Open 
      { // A library containing logic referenced by the questionnaire // C?
        // from Element: extension
      }
    ],
    "modifierExtension" : [{ Extension }], //Расширения, которые нельзя игнорировать
    "url" : "<uri>", //Canonical identifier for this questionnaire, represented as a URI (globally unique)
    "identifier" : [{ Identifier }], //Additional identifier for the questionnaire
    "version" : "<string>", //Business version of the questionnaire
    "name" : "<string>", //Name for this questionnaire (computer friendly)
    "title" : "<string>", //Name for this questionnaire (human friendly)
    "derivedFrom" : ["<canonical>"], //Instantiates protocol or definition
    "status" : "<code>", // R! draft | active | retired | unknown
    "experimental" : <boolean>, //For testing purposes, not real usage
    "subjectType" : ["<code>"], //Ресурс, который может быть субъектом ресурса QuestionnaireResponse
    "date" : "<dateTime>", //Date last changed
    "publisher" : "<string>", //Name of the publisher (organization or individual)
    "contact" : [{ ContactDetail }], //Contact details for the publisher
    "description" : "<markdown>", //Natural language description of the questionnaire
    "useContext" : [{ UsageContext }], //The context that the content is intended to support
    "jurisdiction" : [{ CodeableConcept }], //Intended jurisdiction for questionnaire (if applicable)
    "purpose" : "<markdown>", //Why this questionnaire is defined
    "copyright" : "<markdown>", //Use and/or publishing restrictions
    "approvalDate" : "<date>", //When the questionnaire was approved by publisher
    "lastReviewDate" : "<date>", //When the questionnaire was last reviewed
    "effectivePeriod" : { Period }, //When the questionnaire is expected to be used
    "code" : [{ Coding }], //Концепт, описывающий весь вопросник в целом
    "item" : [{ BackboneElement }], // C?Вопросы и разделы вопросника
  }

Эта структура получена из Questionnaire.

Summary

Extensions

This structure refers to these extensions:

Дифференциальный режим представления

This structure is derived from Questionnaire.

ИмяФлагиКард.ТипОписание и ограниченияdoco
.. Questionnaire 0..*A questionnaire with the ability to specify behavior associated with questions or groups of questions
... cqf-library 0..*canonical(Library)A library containing logic referenced by the questionnaire
URL: http://hl7.org/fhir/StructureDefinition/cqf-library

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

Режим представления "снапшот"

ИмяФлагиКард.ТипОписание и ограниченияdoco
.. Questionnaire I0..*A questionnaire with the ability to specify behavior associated with questions or groups of questions
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaМетаданные ресурса
... implicitRules ?!Σ0..1uriСвод правил, в соответствии с которыми создавалось это содержимое
... language 0..1codeЯзык содержимого ресурса
Binding: Language (preferred)
... text 0..1NarrativeКраткое текстовое изложение ресурса для интерпретации человеком
... contained 0..*ResourceВложенные, встроенные инлайн ресурсы
... extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... cqf-library I0..*canonical(Library)A library containing logic referenced by the questionnaire
URL: http://hl7.org/fhir/StructureDefinition/cqf-library
... modifierExtension ?!0..*ExtensionРасширения, которые нельзя игнорировать
... url Σ0..1uriCanonical identifier for this questionnaire, represented as a URI (globally unique)
... identifier Σ0..*IdentifierAdditional identifier for the questionnaire
... version Σ0..1stringBusiness version of the questionnaire
... name ΣI0..1stringName for this questionnaire (computer friendly)
... title Σ0..1stringName for this questionnaire (human friendly)
... derivedFrom 0..*canonical(Questionnaire)Instantiates protocol or definition
... status ?!Σ1..1codedraft | active | retired | unknown
Binding: PublicationStatus (required)
... experimental Σ0..1booleanFor testing purposes, not real usage
... subjectType Σ0..*codeРесурс, который может быть субъектом ресурса QuestionnaireResponse
Binding: ResourceType (required)
... date Σ0..1dateTimeDate last changed
... publisher Σ0..1stringName of the publisher (organization or individual)
... contact Σ0..*ContactDetailContact details for the publisher
... description 0..1markdownNatural language description of the questionnaire
... useContext Σ0..*UsageContextThe context that the content is intended to support
... jurisdiction Σ0..*CodeableConceptIntended jurisdiction for questionnaire (if applicable)
Binding: Jurisdiction (extensible)
... purpose 0..1markdownWhy this questionnaire is defined
... copyright 0..1markdownUse and/or publishing restrictions
... approvalDate 0..1dateWhen the questionnaire was approved by publisher
... lastReviewDate 0..1dateWhen the questionnaire was last reviewed
... effectivePeriod Σ0..1PeriodWhen the questionnaire is expected to be used
... code Σ0..*CodingКонцепт, описывающий весь вопросник в целом
Binding: Questionnaire Question Codes (example)
... item I0..*BackboneElementВопросы и разделы вопросника
que-9: Read-only can't be specified for "display" items
que-8: Initial values can't be specified for groups or display items
que-6: Элементы required и repeats не разрешены для отображаемых пунктов
que-5: Only 'choice' and 'open-choice' items can have answerValueSet
que-4: A question cannot have both answerOption and answerValueSet
que-3: Display items cannot have a "code" asserted
que-10: Максимальная длина может быть задана только для простых типов вопросов
que-1: Пункты группы должны иметь вложенные пункты, а отображаемые пункты не могут иметь вложенных пунктов
que-13: Can only have multiple initial values for repeating items
que-11: If one or more answerOption is present, initial[x] must be missing
que-12: If there are more than one enableWhen, enableBehavior must be specified
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... linkId 1..1stringUnique id for item in questionnaire
.... definition 0..1uriElementDefinition - details for the item
.... code I0..*CodingCorresponding concept for this item in a terminology
Binding: Questionnaire Question Codes (example)
.... prefix 0..1stringE.g. "1(a)", "2.5.3"
.... text 0..1stringОсновной текст для пункта
.... type 1..1codegroup | display | boolean | decimal | integer | date | dateTime +
Binding: QuestionnaireItemType (required)
.... enableWhen ?!I0..*BackboneElementOnly allow data when
que-7: If the operator is 'exists', the value must be a boolean
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... question 1..1stringQuestion that determines whether item is enabled
..... operator 1..1codeexists | = | != | > | < | >= | <=
Binding: QuestionnaireItemOperator (required)
..... answer[x] I1..1boolean, decimal, integer, date, dateTime, time, string, Coding, Quantity, Reference(Resource)Value for question comparison based on operator
Binding: Questionnaire Answer Codes (example)
.... enableBehavior I0..1codeall | any
Binding: EnableWhenBehavior (required)
.... required I0..1booleanWhether the item must be included in data results
.... repeats I0..1booleanWhether the item may repeat
.... readOnly I0..1booleanDon't allow human editing
.... maxLength I0..1integerNo more than this many characters
.... answerValueSet I0..1canonical(ValueSet)Набор значений, содержащий возможные ответы
.... answerOption I0..*BackboneElementРазрешённый ответ
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... value[x] 1..1integer, date, time, string, Coding, Reference(Resource)Answer value
Binding: Questionnaire Answer Codes (example)
..... initialSelected 0..1booleanWhether option is selected by default
.... initial I0..*BackboneElementInitial value(s) when item is first rendered
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... value[x] 1..1boolean, decimal, integer, date, dateTime, time, string, uri, Attachment, Coding, Quantity, Reference(Resource)Actual value for initializing the question
Binding: Questionnaire Answer Codes (example)
.... item I0..*Unknown reference to #Questionnaire.item
Вложенные пункты вопросника

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

XML-шаблон

<!-- CQF-Questionnaire -->doco

<Questionnaire xmlns="http://hl7.org/fhir"
>
  <!-- from Element: extension -->
 <id value="[id]"/><!-- 0..1 Logical id of this artifact -->
 <meta><!-- 0..1 Meta Метаданные ресурса --></meta>
 <implicitRules value="[uri]"/><!-- 0..1 Свод правил, в соответствии с которыми создавалось это содержимое -->
 <language value="[code]"/><!-- 0..1 Язык содержимого ресурса   -->
 <text><!-- 0..1 Narrative 
     Краткое текстовое изложение ресурса для интерпретации человеком --></text>
 <contained><!-- 0..* Resource 
     Вложенные, встроенные инлайн ресурсы --></contained>
 <modifierExtension><!-- 0..* Extension  Расширения, которые нельзя игнорировать  --></modifierExtension>
 <url value="[uri]"/><!-- 0..1 
     Canonical identifier for this questionnaire, represented as a URI (globally unique) -->
 <identifier><!-- 0..* Identifier 
     Additional identifier for the questionnaire --></identifier>
 <version value="[string]"/><!-- 0..1 Business version of the questionnaire -->
 <name value="[string]"/><!-- 0..1 Name for this questionnaire (computer friendly) -->
 <title value="[string]"/><!-- 0..1 Name for this questionnaire (human friendly) -->
 <derivedFrom value="[canonical]"/><!-- 0..* Instantiates protocol or definition -->
 <status value="[code]"/><!-- 1..1 draft | active | retired | unknown   -->
 <experimental value="[boolean]"/><!-- 0..1 For testing purposes, not real usage -->
 <subjectType value="[code]"/><!-- 0..* Ресурс, который может быть субъектом ресурса QuestionnaireResponse   -->
 <date value="[dateTime]"/><!-- 0..1 Date last changed -->
 <publisher value="[string]"/><!-- 0..1 Name of the publisher (organization or individual) -->
 <contact><!-- 0..* ContactDetail 
     Contact details for the publisher --></contact>
 <description value="[markdown]"/><!-- 0..1 Natural language description of the questionnaire -->
 <useContext><!-- 0..* UsageContext 
     The context that the content is intended to support --></useContext>
 <jurisdiction><!-- 0..* CodeableConcept Intended jurisdiction for questionnaire (if applicable)   --></jurisdiction>
 <purpose value="[markdown]"/><!-- 0..1 Why this questionnaire is defined -->
 <copyright value="[markdown]"/><!-- 0..1 Use and/or publishing restrictions -->
 <approvalDate value="[date]"/><!-- 0..1 When the questionnaire was approved by publisher -->
 <lastReviewDate value="[date]"/><!-- 0..1 When the questionnaire was last reviewed -->
 <effectivePeriod><!-- 0..1 Period 
     When the questionnaire is expected to be used --></effectivePeriod>
 <code><!-- 0..* Coding Концепт, описывающий весь вопросник в целом   --></code>
 <item> ?? 0..* BackboneElement  <!-- ?? 0..* Вопросы и разделы вопросника -->
  <modifierExtension><!-- 0..* Extension  Extensions that cannot be ignored even if unrecognized  --></modifierExtension>
  <linkId value="[string]"/><!-- 1..1 Unique id for item in questionnaire -->
  <definition value="[uri]"/><!-- 0..1 ElementDefinition - details for the item -->
  <code><!-- 0..* Coding Corresponding concept for this item in a terminology   --></code>
  <prefix value="[string]"/><!-- 0..1 E.g. "1(a)", "2.5.3" -->
  <text value="[string]"/><!-- 0..1 Основной текст для пункта -->
  <type value="[code]"/><!-- 1..1 group | display | boolean | decimal | integer | date | dateTime +   -->
  <enableWhen> ?? 0..* BackboneElement  <!-- ?? 0..* Only allow data when -->
   <modifierExtension><!-- 0..* Extension  Extensions that cannot be ignored even if unrecognized  --></modifierExtension>
   <question value="[string]"/><!-- 1..1 Question that determines whether item is enabled -->
   <operator value="[code]"/><!-- 1..1 exists | = | != | > | < | >= | <=   -->
   <answer[x]><!-- 1..1 boolean|decimal|integer|
     date|dateTime|time|string|Coding|Quantity|Reference(Resource) Value for question comparison based on operator   --></answer[x]>
  </enableWhen>
  <enableBehavior value="[code]"/><!-- 0..1 all | any   -->
  <required value="[boolean]"/><!-- 0..1 Whether the item must be included in data results -->
  <repeats value="[boolean]"/><!-- 0..1 Whether the item may repeat -->
  <readOnly value="[boolean]"/><!-- 0..1 Don't allow human editing -->
  <maxLength value="[integer]"/><!-- 0..1 No more than this many characters -->
  <answerValueSet value="[canonical]"/><!-- 0..1 Набор значений, содержащий возможные ответы -->
  <answerOption> ?? 0..* BackboneElement  <!-- ?? 0..* Разрешённый ответ -->
   <modifierExtension><!-- 0..* Extension  Extensions that cannot be ignored even if unrecognized  --></modifierExtension>
   <value[x]><!-- 1..1 integer|date|time|string|
     Coding|Reference(Resource) Answer value   --></value[x]>
   <initialSelected value="[boolean]"/><!-- 0..1 Whether option is selected by default -->
  </answerOption>
  <initial> ?? 0..* BackboneElement  <!-- ?? 0..* Initial value(s) when item is first rendered -->
   <modifierExtension><!-- 0..* Extension  Extensions that cannot be ignored even if unrecognized  --></modifierExtension>
   <value[x]><!-- 1..1 boolean|decimal|integer|date|
     dateTime|time|string|uri|Attachment|Coding|Quantity|Reference(Resource) Actual value for initializing the question   --></value[x]>
  </initial>
  <item><!-- See #Questionnaire.item  Вложенные пункты вопросника --></item>
 </item>
</Questionnaire>

JSON-шаблон

{ // CQF-Questionnaire
  // from Element: extension
    "meta" : { Meta }, //Метаданные ресурса
    "implicitRules" : "<uri>", //Свод правил, в соответствии с которыми создавалось это содержимое
    "language" : "<code>", //Язык содержимого ресурса
    "text" : { Narrative }, //Краткое текстовое изложение ресурса для интерпретации человеком
    "contained" : [{ Resource }], //Вложенные, встроенные инлайн ресурсы
    "extension" : [ //  sliced by value:url  in the specified order, Open 
      { // A library containing logic referenced by the questionnaire // C?
        // from Element: extension
      }
    ],
    "modifierExtension" : [{ Extension }], //Расширения, которые нельзя игнорировать
    "url" : "<uri>", //Canonical identifier for this questionnaire, represented as a URI (globally unique)
    "identifier" : [{ Identifier }], //Additional identifier for the questionnaire
    "version" : "<string>", //Business version of the questionnaire
    "name" : "<string>", //Name for this questionnaire (computer friendly)
    "title" : "<string>", //Name for this questionnaire (human friendly)
    "derivedFrom" : ["<canonical>"], //Instantiates protocol or definition
    "status" : "<code>", // R! draft | active | retired | unknown
    "experimental" : <boolean>, //For testing purposes, not real usage
    "subjectType" : ["<code>"], //Ресурс, который может быть субъектом ресурса QuestionnaireResponse
    "date" : "<dateTime>", //Date last changed
    "publisher" : "<string>", //Name of the publisher (organization or individual)
    "contact" : [{ ContactDetail }], //Contact details for the publisher
    "description" : "<markdown>", //Natural language description of the questionnaire
    "useContext" : [{ UsageContext }], //The context that the content is intended to support
    "jurisdiction" : [{ CodeableConcept }], //Intended jurisdiction for questionnaire (if applicable)
    "purpose" : "<markdown>", //Why this questionnaire is defined
    "copyright" : "<markdown>", //Use and/or publishing restrictions
    "approvalDate" : "<date>", //When the questionnaire was approved by publisher
    "lastReviewDate" : "<date>", //When the questionnaire was last reviewed
    "effectivePeriod" : { Period }, //When the questionnaire is expected to be used
    "code" : [{ Coding }], //Концепт, описывающий весь вопросник в целом
    "item" : [{ BackboneElement }], // C?Вопросы и разделы вопросника
  }

 

Другие представления этого профиля : Schematron

ПутьИмяConformanceValueSet
Questionnaire.languageLanguagepreferredLanguage
Questionnaire.statusPublicationStatusrequiredPublicationStatus
Questionnaire.subjectTypeResourceTyperequiredResourceType
Questionnaire.jurisdictionJurisdictionextensibleJurisdiction
Questionnaire.codeQuestionnaire Question CodesexampleQuestionnaire Question Codes
Questionnaire.item.codeQuestionnaire Question CodesexampleQuestionnaire Question Codes
Questionnaire.item.typeQuestionnaireItemTyperequiredQuestionnaireItemType
Questionnaire.item.enableWhen.operatorQuestionnaireItemOperatorrequiredQuestionnaireItemOperator
Questionnaire.item.enableWhen.answer[x]Questionnaire Answer CodesexampleQuestionnaire Answer Codes
Questionnaire.item.enableBehaviorEnableWhenBehaviorrequiredEnableWhenBehavior
Questionnaire.item.answerOption.value[x]Questionnaire Answer CodesexampleQuestionnaire Answer Codes
Questionnaire.item.initial.value[x]Questionnaire Answer CodesexampleQuestionnaire Answer Codes
RuleRuleRuleRuleRuleRuleRuleRuleRuleRuleRuleRule
IdПутьDetailsRequirements
que-9Questionnaire.itemRead-only can't be specified for "display" items
Expression : type!='display' or readOnly.empty()
que-8Questionnaire.itemInitial values can't be specified for groups or display items
Expression : (type!='group' and type!='display') or initial.empty()
que-6Questionnaire.itemЭлементы required и repeats не разрешены для отображаемых пунктов
Expression : type!='display' or (required.empty() and repeats.empty())
que-5Questionnaire.itemOnly 'choice' and 'open-choice' items can have answerValueSet
Expression : (type ='choice' or type = 'open-choice' 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-4Questionnaire.itemA question cannot have both answerOption and answerValueSet
Expression : answerOption.empty() or answerValueSet.empty()
que-3Questionnaire.itemDisplay items cannot have a "code" asserted
Expression : type!='display' or code.empty()
que-10Questionnaire.itemМаксимальная длина может быть задана только для простых типов вопросов
Expression : (type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url' | 'open-choice')) or maxLength.empty()
que-1Questionnaire.itemПункты группы должны иметь вложенные пункты, а отображаемые пункты не могут иметь вложенных пунктов
Expression : (type='group' implies item.empty().not()) and (type.trace('type')='display' implies item.trace('item').empty())
que-13Questionnaire.itemCan only have multiple initial values for repeating items
Expression : repeats=true or initial.count() <= 1
que-11Questionnaire.itemIf one or more answerOption is present, initial[x] must be missing
Expression : answerOption.empty() or initial.empty()
que-12Questionnaire.itemIf there are more than one enableWhen, enableBehavior must be specified
Expression : enableWhen.count() > 2 implies enableBehavior.exists()
que-7Questionnaire.item.enableWhenIf the operator is 'exists', the value must be a boolean
Expression : operator = 'exists' implies (answer is Boolean)
.