Release 4

Community Based Collaborative Care Work GroupMaturity Level: N/AStandards Status: Informative Compartments: Patient

This is a representation of the json schema for Consent, which is just a part of the full JSON Schema.

{
  "$schema": "http://json-schema.org/draft-06/schema#",
  "id": "http://hl7.org/fhir/json-schema/Consent",
  "$ref": "#/definitions/Consent",
  "description": "see http://hl7.org/fhir/json.html#schema for information about the FHIR Json Schemas",
  "definitions": {
    "Consent": {
      "description": "Запись о выборе потребителя здравоохранения, которая разрешает или запрещает идентифицированному получателю(ам) или роли(ям) получателя выполнять одно или несколько действий в рамках заданного контекста политики для определенных целей и периодов времени.",
      "properties": {
        "resourceType": {
          "description": "This is a Consent resource",
          "const": "Consent"
        },
        "id": {
          "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
          "$ref": "id.schema.json#/definitions/id"
        },
        "meta": {
          "description": "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.",
          "$ref": "Meta.schema.json#/definitions/Meta"
        },
        "implicitRules": {
          "description": "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.",
          "$ref": "#/definitions/uri"
        },
        "_implicitRules": {
          "description": "Extensions for implicitRules",
          "$ref": "Element.schema.json#/definitions/Element"
        },
        "language": {
          "description": "The base language in which the resource is written.",
          "$ref": "#/definitions/code"
        },
        "_language": {
          "description": "Extensions for language",
          "$ref": "Element.schema.json#/definitions/Element"
        },
        "text": {
          "description": "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.",
          "$ref": "Narrative.schema.json#/definitions/Narrative"
        },
        "contained": {
          "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
          "items": {
            "$ref": "ResourceList.schema.json#/definitions/ResourceList"
          },
          "type": "array"
        },
        "extension": {
          "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
          "items": {
            "$ref": "Extension.schema.json#/definitions/Extension"
          },
          "type": "array"
        },
        "modifierExtension": {
          "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element\u0027s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
          "items": {
            "$ref": "Extension.schema.json#/definitions/Extension"
          },
          "type": "array"
        },
        "identifier": {
          "description": "Уникальный идентификатор этой копии заявления о согласии.",
          "items": {
            "$ref": "Identifier.schema.json#/definitions/Identifier"
          },
          "type": "array"
        },
        "status": {
          "description": "Указывает текущее состояние этого согласия.",
          "enum": [
            "draft",
            "proposed",
            "active",
            "rejected",
            "inactive",
            "entered-in-error"
          ]
        },
        "_status": {
          "description": "Extensions for status",
          "$ref": "Element.schema.json#/definitions/Element"
        },
        "scope": {
          "description": "Селектор типа предоставляемого согласия: ADR, Privacy, Treatment, Research. Этот список теперь расширяемый.",
          "$ref": "CodeableConcept.schema.json#/definitions/CodeableConcept"
        },
        "category": {
          "description": "Классификация типов согласия в заявлении. Этот элемент поддерживает индексирование и извлечение заявлений о согласии.",
          "items": {
            "$ref": "CodeableConcept.schema.json#/definitions/CodeableConcept"
          },
          "type": "array"
        },
        "patient": {
          "description": "Пациент / потребитель медицинских услуг, на которого распространяется данное согласие.",
          "$ref": "Reference.schema.json#/definitions/Reference"
        },
        "dateTime": {
          "description": "Когда это Согласие было выдано / создано / проиндексировано.",
          "$ref": "#/definitions/dateTime"
        },
        "_dateTime": {
          "description": "Extensions for dateTime",
          "$ref": "Element.schema.json#/definitions/Element"
        },
        "performer": {
          "description": "Либо Правообладатель, который является лицом, ответственным за предоставление прав, перечисленных в Директиве о согласии, либо Грантополучатель, который является лицом, ответственным за соблюдение Директивы о согласии, включая любые обязательства или ограничения в отношении разрешений и соблюдения запретов.",
          "items": {
            "$ref": "Reference.schema.json#/definitions/Reference"
          },
          "type": "array"
        },
        "organization": {
          "description": "Организация, которая управляет согласием, и структура, в которой оно оформляется.",
          "items": {
            "$ref": "Reference.schema.json#/definitions/Reference"
          },
          "type": "array"
        },
        "sourceAttachment": {
          "description": "Источник, на котором основано это согласие. Источником может быть отсканированная оригинальная бумажная форма или ссылка на согласие, которая ссылается на такой источник, ссылка на репозиторий документов (например, XDS), в котором хранится исходный документ согласия.",
          "$ref": "Attachment.schema.json#/definitions/Attachment"
        },
        "sourceReference": {
          "description": "Источник, на котором основано это согласие. Источником может быть отсканированная оригинальная бумажная форма или ссылка на согласие, которая ссылается на такой источник, ссылка на репозиторий документов (например, XDS), в котором хранится исходный документ согласия.",
          "$ref": "Reference.schema.json#/definitions/Reference"
        },
        "policy": {
          "description": "Ссылки на политики, включенные в эту область согласия. Политика может быть организационной, но часто определяется юрисдикцией или законом.",
          "items": {
            "$ref": "#/definitions/Consent_Policy"
          },
          "type": "array"
        },
        "policyRule": {
          "description": "Ссылка на конкретное базовое вычислимое регулирование или политику.",
          "$ref": "CodeableConcept.schema.json#/definitions/CodeableConcept"
        },
        "verification": {
          "description": "Была ли проверена инструкция по лечению (например, искусственное дыхание - да или нет) с пациентом, его / ее семьей или другим уполномоченным лицом.",
          "items": {
            "$ref": "#/definitions/Consent_Verification"
          },
          "type": "array"
        },
        "provision": {
          "description": "Исключение из основной политики этого согласия. Исключением может быть добавление или удаление прав доступа.",
          "$ref": "#/definitions/Consent_Provision"
        }
      },
      "additionalProperties": false,
      "required": [
        "scope",
        "category",
        "resourceType"
      ]
    },
    "Consent_Policy": {
      "description": "Запись о выборе потребителя здравоохранения, которая разрешает или запрещает идентифицированному получателю(ам) или роли(ям) получателя выполнять одно или несколько действий в рамках заданного контекста политики для определенных целей и периодов времени.",
      "properties": {
        "id": {
          "description": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
          "$ref": "string.schema.json#/definitions/string"
        },
        "extension": {
          "description": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
          "items": {
            "$ref": "Extension.schema.json#/definitions/Extension"
          },
          "type": "array"
        },
        "modifierExtension": {
          "description": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element\u0027s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
          "items": {
            "$ref": "Extension.schema.json#/definitions/Extension"
          },
          "type": "array"
        },
        "authority": {
          "description": "Субъект или организация, обладающая регулирующей юрисдикцией или подотчетной за обеспечение соблюдения политик, относящихся к Директивам о согласии.",
          "$ref": "#/definitions/uri"
        },
        "_authority": {
          "description": "Extensions for authority",
          "$ref": "Element.schema.json#/definitions/Element"
        },
        "uri": {
          "description": "Ссылки на политики, включенные в эту область согласия. Политика может быть организационной, но часто определяется юрисдикцией или законом.",
          "$ref": "#/definitions/uri"
        },
        "_uri": {
          "description": "Extensions for uri",
          "$ref": "Element.schema.json#/definitions/Element"
        }
      },
      "additionalProperties": false
    },
    "Consent_Verification": {
      "description": "Запись о выборе потребителя здравоохранения, которая разрешает или запрещает идентифицированному получателю(ам) или роли(ям) получателя выполнять одно или несколько действий в рамках заданного контекста политики для определенных целей и периодов времени.",
      "properties": {
        "id": {
          "description": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
          "$ref": "string.schema.json#/definitions/string"
        },
        "extension": {
          "description": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
          "items": {
            "$ref": "Extension.schema.json#/definitions/Extension"
          },
          "type": "array"
        },
        "modifierExtension": {
          "description": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element\u0027s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
          "items": {
            "$ref": "Extension.schema.json#/definitions/Extension"
          },
          "type": "array"
        },
        "verified": {
          "description": "Была ли инструкция проверена.",
          "$ref": "#/definitions/boolean"
        },
        "_verified": {
          "description": "Extensions for verified",
          "$ref": "Element.schema.json#/definitions/Element"
        },
        "verifiedWith": {
          "description": "Кто проверил инструкцию (пациент, родственник или другое уполномоченное лицо).",
          "$ref": "Reference.schema.json#/definitions/Reference"
        },
        "verificationDate": {
          "description": "Дата подтверждения согласия.",
          "$ref": "#/definitions/dateTime"
        },
        "_verificationDate": {
          "description": "Extensions for verificationDate",
          "$ref": "Element.schema.json#/definitions/Element"
        }
      },
      "additionalProperties": false
    },
    "Consent_Provision": {
      "description": "Запись о выборе потребителя здравоохранения, которая разрешает или запрещает идентифицированному получателю(ам) или роли(ям) получателя выполнять одно или несколько действий в рамках заданного контекста политики для определенных целей и периодов времени.",
      "properties": {
        "id": {
          "description": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
          "$ref": "string.schema.json#/definitions/string"
        },
        "extension": {
          "description": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
          "items": {
            "$ref": "Extension.schema.json#/definitions/Extension"
          },
          "type": "array"
        },
        "modifierExtension": {
          "description": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element\u0027s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
          "items": {
            "$ref": "Extension.schema.json#/definitions/Extension"
          },
          "type": "array"
        },
        "type": {
          "description": "Действия, которые необходимо предпринять - разрешить или запретить - при выполнении условий правила. Не разрешено в корневом правиле, требуется во всех вложенных правилах.",
          "enum": [
            "deny",
            "permit"
          ]
        },
        "_type": {
          "description": "Extensions for type",
          "$ref": "Element.schema.json#/definitions/Element"
        },
        "period": {
          "description": "Срок действия этого правила.",
          "$ref": "Period.schema.json#/definitions/Period"
        },
        "actor": {
          "description": "Кто или что контролирует это правило. Используйте группу, чтобы идентифицировать набор участников по некоторому признаку, который они разделяют (например, \u0027admitting officers\u0027).",
          "items": {
            "$ref": "#/definitions/Consent_Actor"
          },
          "type": "array"
        },
        "action": {
          "description": "Действия, контролируемые этим правилом.",
          "items": {
            "$ref": "CodeableConcept.schema.json#/definitions/CodeableConcept"
          },
          "type": "array"
        },
        "securityLabel": {
          "description": "Метка безопасности, состоящая из 0 .. * полей метки безопасности (тегов конфиденциальности), которые определяют, какие ресурсы контролируются этим исключением.",
          "items": {
            "$ref": "Coding.schema.json#/definitions/Coding"
          },
          "type": "array"
        },
        "purpose": {
          "description": "Контекст действий, которые выполняет пользователь - почему пользователь обращается к данным, - которые контролируются этим правилом.",
          "items": {
            "$ref": "Coding.schema.json#/definitions/Coding"
          },
          "type": "array"
        },
        "class": {
          "description": "Класс информации, на который распространяется это правило. Тип может быть типом ресурса FHIR, профилем типа, документом CDA или каким-либо другим типом, который указывает, к какому виду информации относится согласие.",
          "items": {
            "$ref": "Coding.schema.json#/definitions/Coding"
          },
          "type": "array"
        },
        "code": {
          "description": "Если этот код найден в экземпляре, то применяется правило.",
          "items": {
            "$ref": "CodeableConcept.schema.json#/definitions/CodeableConcept"
          },
          "type": "array"
        },
        "dataPeriod": {
          "description": "Клинически релевантный или рабочий период времени, ограничивающий данные, контролируемые этим правилом.",
          "$ref": "Period.schema.json#/definitions/Period"
        },
        "data": {
          "description": "Ресурсы, контролируемые этим правилом, если есть ссылки на определенные ресурсы.",
          "items": {
            "$ref": "#/definitions/Consent_Data"
          },
          "type": "array"
        },
        "provision": {
          "description": "Правила, которые предоставляют исключения из основного правила или подправил.",
          "items": {
            "$ref": "#/definitions/Consent_Provision"
          },
          "type": "array"
        }
      },
      "additionalProperties": false
    },
    "Consent_Actor": {
      "description": "Запись о выборе потребителя здравоохранения, которая разрешает или запрещает идентифицированному получателю(ам) или роли(ям) получателя выполнять одно или несколько действий в рамках заданного контекста политики для определенных целей и периодов времени.",
      "properties": {
        "id": {
          "description": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
          "$ref": "string.schema.json#/definitions/string"
        },
        "extension": {
          "description": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
          "items": {
            "$ref": "Extension.schema.json#/definitions/Extension"
          },
          "type": "array"
        },
        "modifierExtension": {
          "description": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element\u0027s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
          "items": {
            "$ref": "Extension.schema.json#/definitions/Extension"
          },
          "type": "array"
        },
        "role": {
          "description": "Каким образом данное лицо участвует в содержании ресурсов, описанном в исключении.",
          "$ref": "CodeableConcept.schema.json#/definitions/CodeableConcept"
        },
        "reference": {
          "description": "Ресурс, идентифицирующий актера. Чтобы идентифицировать актеров по типу, используйте группу, чтобы идентифицировать набор актеров по некоторому общему свойству (например, \u0027admitting officers\u0027).",
          "$ref": "Reference.schema.json#/definitions/Reference"
        }
      },
      "additionalProperties": false,
      "required": [
        "reference",
        "role"
      ]
    },
    "Consent_Data": {
      "description": "Запись о выборе потребителя здравоохранения, которая разрешает или запрещает идентифицированному получателю(ам) или роли(ям) получателя выполнять одно или несколько действий в рамках заданного контекста политики для определенных целей и периодов времени.",
      "properties": {
        "id": {
          "description": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
          "$ref": "string.schema.json#/definitions/string"
        },
        "extension": {
          "description": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
          "items": {
            "$ref": "Extension.schema.json#/definitions/Extension"
          },
          "type": "array"
        },
        "modifierExtension": {
          "description": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element\u0027s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
          "items": {
            "$ref": "Extension.schema.json#/definitions/Extension"
          },
          "type": "array"
        },
        "meaning": {
          "description": "Как интерпретируется ссылка на ресурс при тестировании ограничений согласия.",
          "enum": [
            "instance",
            "related",
            "dependents",
            "authoredby"
          ]
        },
        "_meaning": {
          "description": "Extensions for meaning",
          "$ref": "Element.schema.json#/definitions/Element"
        },
        "reference": {
          "description": "Ссылка на конкретный ресурс, который определяет, на какие ресурсы распространяется это согласие.",
          "$ref": "Reference.schema.json#/definitions/Reference"
        }
      },
      "additionalProperties": false,
      "required": [
        "reference"
      ]
    }
  }
}