Current Build

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

Goal.profile.json

Patient Care Work GroupMaturity Level: N/ABallot Status: InformativeCompartments: Patient

Raw JSON (каноническая форма + also see JSON Format Specification)

StructureDefinition for goal

{
  "resourceType" : "StructureDefinition",
  "id" : "Goal",
  "meta" : {
    "lastUpdated" : "2019-05-17T12:34:53.932+00:00"
  },
  "text" : {
    "status" : "generated",
    "div" : "<div>!-- Snipped for Brevity --></div>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "trial-use"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 2
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
    "valueCode" : "patient"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "pc"
  }],
  "url" : "http://hl7.org/fhir/StructureDefinition/Goal",
  "version" : "3.6.0",
  "name" : "Goal",
  "status" : "draft",
  "date" : "2019-05-17T12:34:53+00:00",
  "publisher" : "Health Level Seven International (Patient Care)",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://hl7.org/fhir"
    }]
  },
  {
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/patientcare/index.cfm"
    }]
  }],
  "description" : "Описание поставленных целей для пациента, группы или организации, например потеря веса, восстановление действия по удовлетворению повседневных нужд, иммунизация стада, выполнение цели по улучшению процесса и т. д.",
  "fhirVersion" : "3.6.0",
  "mapping" : [{
    "identity" : "v2",
    "uri" : "http://hl7.org/v2",
    "name" : "HL7 v2 Mapping"
  },
  {
    "identity" : "rim",
    "uri" : "http://hl7.org/v3",
    "name" : "RIM Mapping"
  },
  {
    "identity" : "w5",
    "uri" : "http://hl7.org/fhir/fivews",
    "name" : "FiveWs Pattern"
  }],
  "kind" : "resource",
  "abstract" : false,
  "type" : "Goal",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/DomainResource",
  "derivation" : "specialization",
  "snapshot" : {
    "element" : [{
      "id" : "Goal",
      "path" : "Goal",
      "short" : "Описание поставленных целей для пациента, группы или организации",
      "definition" : "Описание поставленных целей для пациента, группы или организации, например потеря веса, восстановление действия по удовлетворению повседневных нужд, иммунизация стада, выполнение цели по улучшению процесса и т. д.",
      "comment" : "Целью может быть достижение конкретного показателя, просто поддержание текущего состояния или даже замедление ухудшения.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Goal",
        "min" : 0,
        "max" : "*"
      },
      "constraint" : [{
        "key" : "dom-2",
        "severity" : "error",
        "human" : "Если ресурс встроен в другой ресурс, он НЕ ДОЛЖЕН содержать описательной части",
        "expression" : "contained.contained.empty()",
        "xpath" : "not(parent::f:contained and f:contained)",
        "source" : "DomainResource"
      },
      {
        "key" : "dom-4",
        "severity" : "error",
        "human" : "Если ресурс встроен в другой ресурс, он НЕ ДОЛЖЕН иметь meta.versionId или meta.lastUpdated",
        "expression" : "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
        "xpath" : "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
        "source" : "DomainResource"
      },
      {
        "key" : "dom-3",
        "severity" : "error",
        "human" : "Если ресурс встроен в другой ресурс, где-то в родительском ресурсе на него ДОЛЖНА БЫТЬ дана ссылка or SHALL refer to the containing resource",
        "expression" : "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()",
        "xpath" : "not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))",
        "source" : "DomainResource"
      },
      {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
          "valueBoolean" : true
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
          "valueMarkdown" : "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
        }],
        "key" : "dom-6",
        "severity" : "warning",
        "human" : "A resource should have narrative for robust management",
        "expression" : "text.div.exists()",
        "xpath" : "exists(f:text/h:div)",
        "source" : "DomainResource"
      },
      {
        "key" : "dom-5",
        "severity" : "error",
        "human" : "If a resource is contained in another resource, it SHALL NOT have a security label",
        "expression" : "contained.meta.security.empty()",
        "xpath" : "not(exists(f:contained/*/f:meta/f:security))",
        "source" : "DomainResource"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "Entity. Role, or Act"
      },
      {
        "identity" : "v2",
        "map" : "GOL.1"
      },
      {
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode<=OBJ]."
      }]
    },
    {
      "id" : "Goal.id",
      "path" : "Goal.id",
      "short" : "Logical id of this artifact",
      "definition" : "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
      "comment" : "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Resource.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "id"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Goal.meta",
      "path" : "Goal.meta",
      "short" : "Метаданные ресурса",
      "definition" : "Метаданные ресурса. Это такая информация, которая поддерживается инфраструктурой. Изменения этой информации не всегда можно ассоциировать с версионными изменениями ресурса.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Resource.meta",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Meta"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "Goal.implicitRules",
      "path" : "Goal.implicitRules",
      "short" : "Свод правил, в соответствии с которыми создавалось это содержимое",
      "definition" : "Ссылка на свод правил, которым следовали при создании этого ресурса и которые необходимо понимать при обработке этого содержимого. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
      "comment" : "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 it's narrative along with other profiles, value sets, etc.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Resource.implicitRules",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "uri"
      }],
      "isModifier" : true,
      "isModifierReason" : "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation",
      "isSummary" : true
    },
    {
      "id" : "Goal.language",
      "path" : "Goal.language",
      "short" : "Язык содержимого ресурса",
      "definition" : "Основной язык, на котором написан ресурс.",
      "comment" : "Язык указывается для поддержки предварительной обработки текстов и доступности для понимания (например при преобразовании текста в речь используется языковой тег). HTML-тег language в описательной части применяется к этой описательной части. Языковой тег ресурса может использоваться для указания языков других представлений, генерируемых из данных ресурса\n\nНе все содержание ресурса должно быть на указанном основном языке. Resource.language нельзя автоматически принимать за язык описательной части. Если язык указан, его также следует указать в элементе div в HTML (информацию о связи между xml:lang и HTML-атрибутом lang см. в правилах HTML5).",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Resource.language",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "code"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
          "valueCanonical" : "http://hl7.org/fhir/ValueSet/all-languages"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Language"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "preferred",
        "description" : "Естественный язык.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/languages"
      }
    },
    {
      "id" : "Goal.text",
      "path" : "Goal.text",
      "short" : "Краткое текстовое изложение ресурса для интерпретации человеком",
      "definition" : "Человекочитаемая описательная часть, содержащая краткое изложение ресурса, которая может использоваться для представления содержимого ресурса человеку. От описательной части не требуется кодировать все структурированные данные, но она должна содержать достаточно сведений, чтобы простое её прочтение человеком было \"клинически безопасным\". Определения ресурсов могут описывать, какое содержимое должно быть представлено в описательной части для обеспечения клинической безопасной.",
      "comment" : "Contained resources do not have 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.",
      "alias" : ["narrative",
      "html",
      "xhtml",
      "display"],
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "DomainResource.text",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Narrative"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "Act.text?"
      }]
    },
    {
      "id" : "Goal.contained",
      "path" : "Goal.contained",
      "short" : "Вложенные, встроенные инлайн ресурсы",
      "definition" : "Эти ресурсы не обладают независимым существованием вне ресурса, который их содержит - их нельзя идентифицировать независимо, и они не могут иметь своей собственной независимой транзакционной области действия.",
      "comment" : "Этого не следует делать, когда содержимое может быть идентифицировано должным образом, поскольку, потеряв идентификацию, будет чрезвычайно сложно (и контекстно-зависимо) снова восстановить её. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.",
      "alias" : ["inline resources",
      "anonymous resources",
      "contained resources"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "DomainResource.contained",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Resource"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "Goal.extension",
      "path" : "Goal.extension",
      "short" : "Дополнительное содержимое, определенное реализаторами",
      "definition" : "Может использоваться для представления дополнительной информации, не являющейся частью базового определения ресурса. Чтобы сделать использование расширений надежным и управляемым, существует строгий набор управления применительно к определению и использованию расширений. Хотя каждому реализатору разрешается определять расширения, имеется набор требований, которые должны выполняться в рамках определения расширения.",
      "comment" : "Не должно быть никаких предрассудков по использованию расширений любыми приложениями, проектами или стандартами - вне зависимости от учреждения или юрисдикции, которые используют или задают расширение. Именно использование расширений позволяет спецификации FHIR сохранять простоту для всех.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "DomainResource.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "Goal.modifierExtension",
      "path" : "Goal.modifierExtension",
      "short" : "Расширения, которые нельзя игнорировать",
      "definition" : "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. 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).",
      "comment" : "Не должно быть никаких предрассудков по использованию расширений любыми приложениями, проектами или стандартами - вне зависимости от учреждения или юрисдикции, которые используют или задают расширение. Именно использование расширений позволяет спецификации FHIR сохранять простоту для всех.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "DomainResource.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "Goal.identifier",
      "path" : "Goal.identifier",
      "short" : "Внешние идентификаторы для этой цели",
      "definition" : "Business identifiers assigned to this goal by the performer or other systems which remain constant as the resource is updated and propagates from server to server.",
      "comment" : "This is a business identifier, not a resource identifier (see [discussion](resource.html#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and a Person resource instance might share the same social insurance number.",
      "requirements" : "Allows identification of the goal as it is known by various participating systems and in a way that remains consistent across servers.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Goal.identifier",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Identifier"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.identifier"
      },
      {
        "identity" : "rim",
        "map" : ".id"
      }]
    },
    {
      "id" : "Goal.lifecycleStatus",
      "path" : "Goal.lifecycleStatus",
      "short" : "proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected",
      "definition" : "The state of the goal throughout its lifecycle.",
      "comment" : "This element is labeled as a modifier because the lifecycleStatus contains codes that mark the resource as not currently valid.",
      "requirements" : "Allows knowing whether goal needs to be further tracked.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "Goal.lifecycleStatus",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "code"
      }],
      "isModifier" : true,
      "isModifierReason" : "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",
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "GoalLifecycleStatus"
        }],
        "strength" : "required",
        "description" : "Обозначает, достигнута ли уже цель или она все еще актуальна.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/goal-status"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.status"
      },
      {
        "identity" : "v2",
        "map" : "GOL-18-goal life cycle status"
      },
      {
        "identity" : "rim",
        "map" : ".statusCode in-progress = active (classCode = OBJ) cancelled = aborted"
      }]
    },
    {
      "id" : "Goal.achievementStatus",
      "path" : "Goal.achievementStatus",
      "short" : "in-progress | improving | worsening | no-change | achieved | sustaining | not-achieved | no-progress | not-attainable",
      "definition" : "Describes the progression, or lack thereof, towards the goal against the target.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Goal.achievementStatus",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "GoalAchievementStatus"
        }],
        "strength" : "preferred",
        "description" : "Indicates the progression, or lack thereof, towards the goal against the target.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/goal-achievement"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : ".statusCode achieved = complete sustaining = active"
      }]
    },
    {
      "id" : "Goal.category",
      "path" : "Goal.category",
      "short" : "Например терапевтическая, диетическая, психологическая и т. п",
      "definition" : "Категория цели.",
      "requirements" : "Для фильтрации и сортировки целей.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Goal.category",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "GoalCategory"
        }],
        "strength" : "example",
        "description" : "Коды для группировки и сортировки целей.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/goal-category"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.class"
      }]
    },
    {
      "id" : "Goal.priority",
      "path" : "Goal.priority",
      "short" : "high-priority | medium-priority | low-priority",
      "definition" : "Определяет взаимно согласованный уровень важности, связанный с достижением/поддержания цели.",
      "comment" : "Для отслеживания приоритетов, устанавливаемых каждым участником, можно использовать расширения (т. е. приоритет с точки зрения пациента, различных врачей, членов семьи)\n\nДля численного ранжирования приоритетов можно использовать расширение для типа данных Coding (имейте в виду, что различные системы кодирования могут использовать разные принципы, например\"чем меньше числовое значение, тем выше приоритет\".",
      "requirements" : "Используется для сортировки и отображения целей.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Goal.priority",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "GoalPriority"
        }],
        "strength" : "preferred",
        "description" : "Определяет уровень важности, ассоциированный с целью.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/goal-priority"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.grade"
      },
      {
        "identity" : "rim",
        "map" : ".priorityCode"
      }]
    },
    {
      "id" : "Goal.description",
      "path" : "Goal.description",
      "short" : "Code or text describing goal",
      "definition" : "Human-readable and/or coded description of a specific desired objective of care, such as \"control blood pressure\" or \"negotiate an obstacle course\" or \"dance with child at wedding\".",
      "comment" : "If no code is available, use CodeableConcept.text.",
      "requirements" : "Без описания, что пытаются достичь, элемент не имеет смысла.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "Goal.description",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "GoalDescription"
        }],
        "strength" : "example",
        "description" : "Codes providing the details of a particular goal.  This will generally be system or implementation guide-specific.  In many systems, only the text element will be used.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/clinical-findings"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.what[x]"
      },
      {
        "identity" : "v2",
        "map" : "GOL-3.2-goal ID.text"
      },
      {
        "identity" : "rim",
        "map" : ".text"
      }]
    },
    {
      "id" : "Goal.subject",
      "path" : "Goal.subject",
      "short" : "Для кого ставится эта цель",
      "definition" : "Указание пациента, группы или организации, для которых устанавливается цель.",
      "requirements" : "Элемент сделан необязательным для поддержки анонимных отчётов.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "Goal.subject",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Patient",
        "http://hl7.org/fhir/StructureDefinition/Group",
        "http://hl7.org/fhir/StructureDefinition/Organization"]
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.subject[x]"
      },
      {
        "identity" : "v2",
        "map" : "PID-3-patient ID list"
      },
      {
        "identity" : "rim",
        "map" : ".participation[typeCode=PAT].role[classCode=PAT]"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.subject"
      }]
    },
    {
      "id" : "Goal.start[x]",
      "path" : "Goal.start[x]",
      "short" : "Когда началось выполнение цели",
      "definition" : "Дата или событие, после которого должно начаться выполнение цели.",
      "requirements" : "Цели могут устанавливаться заранее, до начала их выполнения, например цель послеоперационного восстановления устанавливается ещё до операции.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Goal.start[x]",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "date"
      },
      {
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "GoalStartEvent"
        }],
        "strength" : "example",
        "description" : "Коды событий, которые могут инициировать начало преследования цели.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/goal-start-event"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.planned"
      }]
    },
    {
      "id" : "Goal.target",
      "path" : "Goal.target",
      "short" : "Target outcome for the goal",
      "definition" : "Indicates what should be done by when.",
      "comment" : "When multiple targets are present for a single goal instance, all targets must be met for the overall goal to be met.",
      "requirements" : "Allows the progress of the goal to be monitored against an observation or due date.  Target is 0..* to support Observations with multiple components, such as blood pressure goals with both a systolic and diastolic target.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Goal.target",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "condition" : ["gol-1"],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "Element"
      },
      {
        "key" : "gol-1",
        "severity" : "error",
        "human" : "Goal.target.measure is required if Goal.target.detail is populated",
        "expression" : "(detail.exists() and measure.exists()) or detail.exists().not()",
        "xpath" : "(exists(f:*[starts-with(local-name(.), 'detail')]) and exists(f:measure)) or not(exists(f:*[starts-with(local-name(.), 'detail')]))"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "Goal.target.id",
      "path" : "Goal.target.id",
      "representation" : ["xmlAttr"],
      "short" : "xml:id (or equivalent in JSON)",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "Goal.target.extension",
      "path" : "Goal.target.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "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.",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "Goal.target.modifierExtension",
      "path" : "Goal.target.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "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. 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).",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "Goal.target.measure",
      "path" : "Goal.target.measure",
      "short" : "The parameter whose value is being tracked",
      "definition" : "The parameter whose value is being tracked, e.g. body weight, blood pressure, or hemoglobin A1c level.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Goal.target.measure",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "condition" : ["gol-1"],
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "GoalTargetMeasure"
        }],
        "strength" : "example",
        "description" : "Codes to identify the value being tracked, e.g. body weight, blood pressure, or hemoglobin A1c level.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/observation-codes"
      }
    },
    {
      "id" : "Goal.target.detail[x]",
      "path" : "Goal.target.detail[x]",
      "short" : "The target value to be achieved",
      "definition" : "The target value of the focus to be achieved to signify the fulfillment of the goal, e.g. 150 pounds, 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any focus value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any focus value at or above the low value.",
      "comment" : "A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Goal.target.measure defines a coded value.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Goal.target.detail[x]",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Quantity"
      },
      {
        "code" : "Range"
      },
      {
        "code" : "CodeableConcept"
      },
      {
        "code" : "string"
      },
      {
        "code" : "boolean"
      },
      {
        "code" : "integer"
      },
      {
        "code" : "Ratio"
      }],
      "condition" : ["gol-1"],
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "GoalTargetDetail"
        }],
        "strength" : "example",
        "description" : "Codes to identify the target value of the focus to be achieved to signify the fulfillment of the goal."
      }
    },
    {
      "id" : "Goal.target.due[x]",
      "path" : "Goal.target.due[x]",
      "short" : "Достигнуть цели в или ранее",
      "definition" : "Дата или продолжительность после начала, когда цель должна быть достигнута.",
      "requirements" : "Определяет, когда следует оценивать цель.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Goal.target.due[x]",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "date"
      },
      {
        "code" : "Duration"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.done[x]"
      }]
    },
    {
      "id" : "Goal.statusDate",
      "path" : "Goal.statusDate",
      "short" : "Дата изменения статуса цели",
      "definition" : "Определяет, когда был выставлен текущий статус. Т. е. когда цель была изначально создана, когда достигнута, когда отменена и т. п.",
      "comment" : "Чтобы увидеть даты предыдущих статусов, необходимо запросить историю.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Goal.statusDate",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "date"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.recorded"
      }]
    },
    {
      "id" : "Goal.statusReason",
      "path" : "Goal.statusReason",
      "short" : "Причина текущего статуса",
      "definition" : "Обоснование текущего статуса.",
      "comment" : "Это поле обычно заполняется для таких статусов, как отклонена, отложена или отменена, но может быть указано и для других статусов.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Goal.statusReason",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "Goal.expressedBy",
      "path" : "Goal.expressedBy",
      "short" : "Кто ответственен за создание цели?",
      "definition" : "Обозначает, для кого предназначена эта цель - для пациента, для специалиста и т. д.",
      "comment" : "Это лицо, ответственное за установление этой цели, это не обязательно именно тот, кто записал её (для этого используйте ресурс Provenance).",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Goal.expressedBy",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Patient",
        "http://hl7.org/fhir/StructureDefinition/Practitioner",
        "http://hl7.org/fhir/StructureDefinition/RelatedPerson"]
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.source"
      }]
    },
    {
      "id" : "Goal.addresses",
      "path" : "Goal.addresses",
      "short" : "Проблемы, решаемые в рамках данной цели",
      "definition" : "Выявленные состояния и другие элементы медицинской карты, которые планируется решить в рамках этой цели.",
      "requirements" : "Позволяет явным образом привязать определенные цели к проблемам, которые решаются в ее рамках, что делает цель более понятной.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Goal.addresses",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Condition",
        "http://hl7.org/fhir/StructureDefinition/Observation",
        "http://hl7.org/fhir/StructureDefinition/MedicationStatement",
        "http://hl7.org/fhir/StructureDefinition/NutritionOrder",
        "http://hl7.org/fhir/StructureDefinition/ServiceRequest",
        "http://hl7.org/fhir/StructureDefinition/RiskAssessment"]
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.why[x]"
      },
      {
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode=SUBJ].target[classCode=CONC]"
      }]
    },
    {
      "id" : "Goal.note",
      "path" : "Goal.note",
      "short" : "Примечания к этой цели",
      "definition" : "Любые комментарии, связанные с этой целью.",
      "comment" : "Может использоваться для текущих заметок, опасений или другой связанной информации, которая по факту саму цель не описывает.",
      "requirements" : "Нужна возможность вводить информацию о цели, которая по факту не является ее описанием.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Goal.note",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Annotation"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "v2",
        "map" : "GOL-16-goal evaluation + NTE?"
      },
      {
        "identity" : "rim",
        "map" : ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value"
      }]
    },
    {
      "id" : "Goal.outcomeCode",
      "path" : "Goal.outcomeCode",
      "short" : "What result was achieved regarding the goal?",
      "definition" : "Identifies the change (or lack of change) at the point when the status of the goal is assessed.",
      "comment" : "Обратите внимание, что здесь не нужно дублировать статус цели.",
      "requirements" : "Отслеживание результатов является ключевым аспектом в планировании ухода.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Goal.outcomeCode",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "GoalOutcome"
        }],
        "strength" : "example",
        "description" : "The result of the goal; e.g. \"25% increase in shoulder mobility\", \"Anxiety reduced to moderate levels\".  \"15 kg weight loss sustained over 6 months\".",
        "valueSet" : "http://hl7.org/fhir/ValueSet/clinical-findings"
      }
    },
    {
      "id" : "Goal.outcomeReference",
      "path" : "Goal.outcomeReference",
      "short" : "Observation that resulted from goal",
      "definition" : "Details of what's changed (or not changed).",
      "comment" : "The goal outcome is independent of the outcome of the related activities.  For example, if the Goal is to achieve a target body weight of 150 lb and a care plan activity is defined to diet, then the care plan’s activity outcome could be calories consumed whereas goal outcome is an observation for the actual body weight measured.",
      "requirements" : "Отслеживание результатов является ключевым аспектом в планировании ухода.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Goal.outcomeReference",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Observation"]
      }],
      "isModifier" : false,
      "isSummary" : false
    }]
  },
  "differential" : {
    "element" : [{
      "id" : "Goal",
      "path" : "Goal",
      "short" : "Описание поставленных целей для пациента, группы или организации",
      "definition" : "Описание поставленных целей для пациента, группы или организации, например потеря веса, восстановление действия по удовлетворению повседневных нужд, иммунизация стада, выполнение цели по улучшению процесса и т. д.",
      "comment" : "Целью может быть достижение конкретного показателя, просто поддержание текущего состояния или даже замедление ухудшения.",
      "min" : 0,
      "max" : "*",
      "mapping" : [{
        "identity" : "v2",
        "map" : "GOL.1"
      },
      {
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode<=OBJ]."
      }]
    },
    {
      "id" : "Goal.identifier",
      "path" : "Goal.identifier",
      "short" : "Внешние идентификаторы для этой цели",
      "definition" : "Business identifiers assigned to this goal by the performer or other systems which remain constant as the resource is updated and propagates from server to server.",
      "comment" : "This is a business identifier, not a resource identifier (see [discussion](resource.html#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and a Person resource instance might share the same social insurance number.",
      "requirements" : "Allows identification of the goal as it is known by various participating systems and in a way that remains consistent across servers.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Identifier"
      }],
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.identifier"
      },
      {
        "identity" : "rim",
        "map" : ".id"
      }]
    },
    {
      "id" : "Goal.lifecycleStatus",
      "path" : "Goal.lifecycleStatus",
      "short" : "proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected",
      "definition" : "The state of the goal throughout its lifecycle.",
      "comment" : "This element is labeled as a modifier because the lifecycleStatus contains codes that mark the resource as not currently valid.",
      "requirements" : "Allows knowing whether goal needs to be further tracked.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "code"
      }],
      "isModifier" : true,
      "isModifierReason" : "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",
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "GoalLifecycleStatus"
        }],
        "strength" : "required",
        "description" : "Обозначает, достигнута ли уже цель или она все еще актуальна.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/goal-status"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.status"
      },
      {
        "identity" : "v2",
        "map" : "GOL-18-goal life cycle status"
      },
      {
        "identity" : "rim",
        "map" : ".statusCode in-progress = active (classCode = OBJ) cancelled = aborted"
      }]
    },
    {
      "id" : "Goal.achievementStatus",
      "path" : "Goal.achievementStatus",
      "short" : "in-progress | improving | worsening | no-change | achieved | sustaining | not-achieved | no-progress | not-attainable",
      "definition" : "Describes the progression, or lack thereof, towards the goal against the target.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "GoalAchievementStatus"
        }],
        "strength" : "preferred",
        "description" : "Indicates the progression, or lack thereof, towards the goal against the target.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/goal-achievement"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : ".statusCode achieved = complete sustaining = active"
      }]
    },
    {
      "id" : "Goal.category",
      "path" : "Goal.category",
      "short" : "Например терапевтическая, диетическая, психологическая и т. п",
      "definition" : "Категория цели.",
      "requirements" : "Для фильтрации и сортировки целей.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "GoalCategory"
        }],
        "strength" : "example",
        "description" : "Коды для группировки и сортировки целей.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/goal-category"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.class"
      }]
    },
    {
      "id" : "Goal.priority",
      "path" : "Goal.priority",
      "short" : "high-priority | medium-priority | low-priority",
      "definition" : "Определяет взаимно согласованный уровень важности, связанный с достижением/поддержания цели.",
      "comment" : "Для отслеживания приоритетов, устанавливаемых каждым участником, можно использовать расширения (т. е. приоритет с точки зрения пациента, различных врачей, членов семьи)\n\nДля численного ранжирования приоритетов можно использовать расширение для типа данных Coding (имейте в виду, что различные системы кодирования могут использовать разные принципы, например\"чем меньше числовое значение, тем выше приоритет\".",
      "requirements" : "Используется для сортировки и отображения целей.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "GoalPriority"
        }],
        "strength" : "preferred",
        "description" : "Определяет уровень важности, ассоциированный с целью.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/goal-priority"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.grade"
      },
      {
        "identity" : "rim",
        "map" : ".priorityCode"
      }]
    },
    {
      "id" : "Goal.description",
      "path" : "Goal.description",
      "short" : "Code or text describing goal",
      "definition" : "Human-readable and/or coded description of a specific desired objective of care, such as \"control blood pressure\" or \"negotiate an obstacle course\" or \"dance with child at wedding\".",
      "comment" : "If no code is available, use CodeableConcept.text.",
      "requirements" : "Без описания, что пытаются достичь, элемент не имеет смысла.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "GoalDescription"
        }],
        "strength" : "example",
        "description" : "Codes providing the details of a particular goal.  This will generally be system or implementation guide-specific.  In many systems, only the text element will be used.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/clinical-findings"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.what[x]"
      },
      {
        "identity" : "v2",
        "map" : "GOL-3.2-goal ID.text"
      },
      {
        "identity" : "rim",
        "map" : ".text"
      }]
    },
    {
      "id" : "Goal.subject",
      "path" : "Goal.subject",
      "short" : "Для кого ставится эта цель",
      "definition" : "Указание пациента, группы или организации, для которых устанавливается цель.",
      "requirements" : "Элемент сделан необязательным для поддержки анонимных отчётов.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Patient",
        "http://hl7.org/fhir/StructureDefinition/Group",
        "http://hl7.org/fhir/StructureDefinition/Organization"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.subject[x]"
      },
      {
        "identity" : "v2",
        "map" : "PID-3-patient ID list"
      },
      {
        "identity" : "rim",
        "map" : ".participation[typeCode=PAT].role[classCode=PAT]"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.subject"
      }]
    },
    {
      "id" : "Goal.start[x]",
      "path" : "Goal.start[x]",
      "short" : "Когда началось выполнение цели",
      "definition" : "Дата или событие, после которого должно начаться выполнение цели.",
      "requirements" : "Цели могут устанавливаться заранее, до начала их выполнения, например цель послеоперационного восстановления устанавливается ещё до операции.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "date"
      },
      {
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "GoalStartEvent"
        }],
        "strength" : "example",
        "description" : "Коды событий, которые могут инициировать начало преследования цели.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/goal-start-event"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.planned"
      }]
    },
    {
      "id" : "Goal.target",
      "path" : "Goal.target",
      "short" : "Target outcome for the goal",
      "definition" : "Indicates what should be done by when.",
      "comment" : "When multiple targets are present for a single goal instance, all targets must be met for the overall goal to be met.",
      "requirements" : "Allows the progress of the goal to be monitored against an observation or due date.  Target is 0..* to support Observations with multiple components, such as blood pressure goals with both a systolic and diastolic target.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }],
      "condition" : ["gol-1"],
      "constraint" : [{
        "key" : "gol-1",
        "severity" : "error",
        "human" : "Goal.target.measure is required if Goal.target.detail is populated",
        "expression" : "(detail.exists() and measure.exists()) or detail.exists().not()",
        "xpath" : "(exists(f:*[starts-with(local-name(.), 'detail')]) and exists(f:measure)) or not(exists(f:*[starts-with(local-name(.), 'detail')]))"
      }]
    },
    {
      "id" : "Goal.target.measure",
      "path" : "Goal.target.measure",
      "short" : "The parameter whose value is being tracked",
      "definition" : "The parameter whose value is being tracked, e.g. body weight, blood pressure, or hemoglobin A1c level.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "condition" : ["gol-1"],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "GoalTargetMeasure"
        }],
        "strength" : "example",
        "description" : "Codes to identify the value being tracked, e.g. body weight, blood pressure, or hemoglobin A1c level.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/observation-codes"
      }
    },
    {
      "id" : "Goal.target.detail[x]",
      "path" : "Goal.target.detail[x]",
      "short" : "The target value to be achieved",
      "definition" : "The target value of the focus to be achieved to signify the fulfillment of the goal, e.g. 150 pounds, 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any focus value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any focus value at or above the low value.",
      "comment" : "A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Goal.target.measure defines a coded value.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Quantity"
      },
      {
        "code" : "Range"
      },
      {
        "code" : "CodeableConcept"
      },
      {
        "code" : "string"
      },
      {
        "code" : "boolean"
      },
      {
        "code" : "integer"
      },
      {
        "code" : "Ratio"
      }],
      "condition" : ["gol-1"],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "GoalTargetDetail"
        }],
        "strength" : "example",
        "description" : "Codes to identify the target value of the focus to be achieved to signify the fulfillment of the goal."
      }
    },
    {
      "id" : "Goal.target.due[x]",
      "path" : "Goal.target.due[x]",
      "short" : "Достигнуть цели в или ранее",
      "definition" : "Дата или продолжительность после начала, когда цель должна быть достигнута.",
      "requirements" : "Определяет, когда следует оценивать цель.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "date"
      },
      {
        "code" : "Duration"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.done[x]"
      }]
    },
    {
      "id" : "Goal.statusDate",
      "path" : "Goal.statusDate",
      "short" : "Дата изменения статуса цели",
      "definition" : "Определяет, когда был выставлен текущий статус. Т. е. когда цель была изначально создана, когда достигнута, когда отменена и т. п.",
      "comment" : "Чтобы увидеть даты предыдущих статусов, необходимо запросить историю.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "date"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.recorded"
      }]
    },
    {
      "id" : "Goal.statusReason",
      "path" : "Goal.statusReason",
      "short" : "Причина текущего статуса",
      "definition" : "Обоснование текущего статуса.",
      "comment" : "Это поле обычно заполняется для таких статусов, как отклонена, отложена или отменена, но может быть указано и для других статусов.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }]
    },
    {
      "id" : "Goal.expressedBy",
      "path" : "Goal.expressedBy",
      "short" : "Кто ответственен за создание цели?",
      "definition" : "Обозначает, для кого предназначена эта цель - для пациента, для специалиста и т. д.",
      "comment" : "Это лицо, ответственное за установление этой цели, это не обязательно именно тот, кто записал её (для этого используйте ресурс Provenance).",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Patient",
        "http://hl7.org/fhir/StructureDefinition/Practitioner",
        "http://hl7.org/fhir/StructureDefinition/RelatedPerson"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.source"
      }]
    },
    {
      "id" : "Goal.addresses",
      "path" : "Goal.addresses",
      "short" : "Проблемы, решаемые в рамках данной цели",
      "definition" : "Выявленные состояния и другие элементы медицинской карты, которые планируется решить в рамках этой цели.",
      "requirements" : "Позволяет явным образом привязать определенные цели к проблемам, которые решаются в ее рамках, что делает цель более понятной.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Condition",
        "http://hl7.org/fhir/StructureDefinition/Observation",
        "http://hl7.org/fhir/StructureDefinition/MedicationStatement",
        "http://hl7.org/fhir/StructureDefinition/NutritionOrder",
        "http://hl7.org/fhir/StructureDefinition/ServiceRequest",
        "http://hl7.org/fhir/StructureDefinition/RiskAssessment"]
      }],
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.why[x]"
      },
      {
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode=SUBJ].target[classCode=CONC]"
      }]
    },
    {
      "id" : "Goal.note",
      "path" : "Goal.note",
      "short" : "Примечания к этой цели",
      "definition" : "Любые комментарии, связанные с этой целью.",
      "comment" : "Может использоваться для текущих заметок, опасений или другой связанной информации, которая по факту саму цель не описывает.",
      "requirements" : "Нужна возможность вводить информацию о цели, которая по факту не является ее описанием.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Annotation"
      }],
      "mapping" : [{
        "identity" : "v2",
        "map" : "GOL-16-goal evaluation + NTE?"
      },
      {
        "identity" : "rim",
        "map" : ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value"
      }]
    },
    {
      "id" : "Goal.outcomeCode",
      "path" : "Goal.outcomeCode",
      "short" : "What result was achieved regarding the goal?",
      "definition" : "Identifies the change (or lack of change) at the point when the status of the goal is assessed.",
      "comment" : "Обратите внимание, что здесь не нужно дублировать статус цели.",
      "requirements" : "Отслеживание результатов является ключевым аспектом в планировании ухода.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "GoalOutcome"
        }],
        "strength" : "example",
        "description" : "The result of the goal; e.g. \"25% increase in shoulder mobility\", \"Anxiety reduced to moderate levels\".  \"15 kg weight loss sustained over 6 months\".",
        "valueSet" : "http://hl7.org/fhir/ValueSet/clinical-findings"
      }
    },
    {
      "id" : "Goal.outcomeReference",
      "path" : "Goal.outcomeReference",
      "short" : "Observation that resulted from goal",
      "definition" : "Details of what's changed (or not changed).",
      "comment" : "The goal outcome is independent of the outcome of the related activities.  For example, if the Goal is to achieve a target body weight of 150 lb and a care plan activity is defined to diet, then the care plan’s activity outcome could be calories consumed whereas goal outcome is an observation for the actual body weight measured.",
      "requirements" : "Отслеживание результатов является ключевым аспектом в планировании ухода.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Observation"]
      }]
    }]
  }
}

Примечание к использованию: мы очень стараемся приводить корректные и полезные примеры, но нормативно они не являются частью спецификации.