Current Build

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

Appointmentresponse.profile.json

Patient Administration Work GroupMaturity Level: N/ABallot Status: InformativeCompartments: Device, Patient, Practitioner, RelatedPerson

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

StructureDefinition for appointmentresponse

{
  "resourceType" : "StructureDefinition",
  "id" : "AppointmentResponse",
  "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" : 3
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
    "valueCode" : "patient"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "pa"
  }],
  "url" : "http://hl7.org/fhir/StructureDefinition/AppointmentResponse",
  "version" : "3.6.0",
  "name" : "AppointmentResponse",
  "status" : "draft",
  "date" : "2019-05-17T12:34:53+00:00",
  "publisher" : "Health Level Seven International (Patient Administration)",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://hl7.org/fhir"
    }]
  },
  {
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/pafm/index.cfm"
    }]
  }],
  "description" : "A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection.",
  "fhirVersion" : "3.6.0",
  "mapping" : [{
    "identity" : "workflow",
    "uri" : "http://hl7.org/fhir/workflow",
    "name" : "Workflow Pattern"
  },
  {
    "identity" : "rim",
    "uri" : "http://hl7.org/v3",
    "name" : "RIM Mapping"
  },
  {
    "identity" : "ical",
    "uri" : "http://ietf.org/rfc/2445",
    "name" : "iCalendar"
  },
  {
    "identity" : "w5",
    "uri" : "http://hl7.org/fhir/fivews",
    "name" : "FiveWs Pattern"
  },
  {
    "identity" : "v2",
    "uri" : "http://hl7.org/v2",
    "name" : "HL7 v2 Mapping"
  }],
  "kind" : "resource",
  "abstract" : false,
  "type" : "AppointmentResponse",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/DomainResource",
  "derivation" : "specialization",
  "snapshot" : {
    "element" : [{
      "id" : "AppointmentResponse",
      "path" : "AppointmentResponse",
      "short" : "A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection",
      "definition" : "A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "AppointmentResponse",
        "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"
      },
      {
        "key" : "apr-1",
        "severity" : "error",
        "human" : "Either the participantType or actor must be specified",
        "expression" : "participantType.exists() or actor.exists()",
        "xpath" : "(exists(f:participantType) or exists(f:actor))"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "Entity. Role, or Act"
      },
      {
        "identity" : "workflow",
        "map" : "Request"
      },
      {
        "identity" : "rim",
        "map" : "Appointment[@moodCode &lt;= 'PRMS']"
      },
      {
        "identity" : "ical",
        "map" : "VEVENT"
      }]
    },
    {
      "id" : "AppointmentResponse.id",
      "path" : "AppointmentResponse.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" : "AppointmentResponse.meta",
      "path" : "AppointmentResponse.meta",
      "short" : "Метаданные ресурса",
      "definition" : "Метаданные ресурса. Это такая информация, которая поддерживается инфраструктурой. Изменения этой информации не всегда можно ассоциировать с версионными изменениями ресурса.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Resource.meta",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Meta"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "AppointmentResponse.implicitRules",
      "path" : "AppointmentResponse.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" : "AppointmentResponse.language",
      "path" : "AppointmentResponse.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" : "AppointmentResponse.text",
      "path" : "AppointmentResponse.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" : "AppointmentResponse.contained",
      "path" : "AppointmentResponse.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" : "AppointmentResponse.extension",
      "path" : "AppointmentResponse.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" : "AppointmentResponse.modifierExtension",
      "path" : "AppointmentResponse.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" : "AppointmentResponse.identifier",
      "path" : "AppointmentResponse.identifier",
      "short" : "External Ids for this item",
      "definition" : "This records identifiers associated with this appointment response concern that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "AppointmentResponse.identifier",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Identifier"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.identifier"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.identifier"
      },
      {
        "identity" : "rim",
        "map" : ".id"
      },
      {
        "identity" : "ical",
        "map" : "UID"
      }]
    },
    {
      "id" : "AppointmentResponse.appointment",
      "path" : "AppointmentResponse.appointment",
      "short" : "Appointment this response relates to",
      "definition" : "Appointment that this response is replying to.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "AppointmentResponse.appointment",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Appointment"]
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.basedOn"
      },
      {
        "identity" : "rim",
        "map" : "scheduleRequest.ActAppointmentRequest[@moodCode &lt;= 'ARQ']"
      }]
    },
    {
      "id" : "AppointmentResponse.start",
      "path" : "AppointmentResponse.start",
      "short" : "Time from appointment, or requested new start time",
      "definition" : "Date/Time that the appointment is to take place, or requested new start time.",
      "comment" : "This may be either the same as the appointment request to confirm the details of the appointment, or alternately a new time to request a re-negotiation of the start time.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "AppointmentResponse.start",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "instant"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.occurrence[x]"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.init"
      },
      {
        "identity" : "rim",
        "map" : ".effectiveTime.low"
      }]
    },
    {
      "id" : "AppointmentResponse.end",
      "path" : "AppointmentResponse.end",
      "short" : "Time from appointment, or requested new end time",
      "definition" : "This may be either the same as the appointment request to confirm the details of the appointment, or alternately a new time to request a re-negotiation of the end time.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "AppointmentResponse.end",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "instant"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.occurrence[x]"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.done[x]"
      },
      {
        "identity" : "rim",
        "map" : ".effectiveTime.high"
      }]
    },
    {
      "id" : "AppointmentResponse.participantType",
      "path" : "AppointmentResponse.participantType",
      "short" : "Role of participant in the appointment",
      "definition" : "Role of participant in the appointment.",
      "comment" : "The role of the participant can be used to declare what the actor will be doing in the scope of the referenced appointment.\r\rIf the actor is not specified, then it is expected that the actor will be filled in at a later stage of planning.\r\rThis value SHALL be the same as specified on the referenced Appointment so that they can be matched, and subsequently updated.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "AppointmentResponse.participantType",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ParticipantType"
        }],
        "strength" : "extensible",
        "description" : "Role of participant in encounter.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/encounter-participant-type"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.performerType"
      },
      {
        "identity" : "rim",
        "map" : "(performer | reusableDevice | subject | location).@typeCode"
      },
      {
        "identity" : "ical",
        "map" : "n/a"
      }]
    },
    {
      "id" : "AppointmentResponse.actor",
      "path" : "AppointmentResponse.actor",
      "short" : "Person, Location, HealthcareService, or Device",
      "definition" : "A Person, Location, HealthcareService, or Device that is participating in the appointment.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "AppointmentResponse.actor",
        "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",
        "http://hl7.org/fhir/StructureDefinition/Device",
        "http://hl7.org/fhir/StructureDefinition/HealthcareService",
        "http://hl7.org/fhir/StructureDefinition/Location"]
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.performer"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.who"
      },
      {
        "identity" : "v2",
        "map" : "PID-3-Patient ID List"
      },
      {
        "identity" : "rim",
        "map" : "performer.person | reusableDevice.manufacturedDevice | subject.patient | location.serviceDeliveryLocation"
      },
      {
        "identity" : "ical",
        "map" : "ATTENDEE: (Need to provide the common name CN and also the MAILTO properties from the practitioner resource)"
      }]
    },
    {
      "id" : "AppointmentResponse.participantStatus",
      "path" : "AppointmentResponse.participantStatus",
      "short" : "accepted | declined | tentative | in-process | completed | needs-action | entered-in-error",
      "definition" : "Participation status of the participant. When the status is declined or tentative if the start/end times are different to the appointment, then these times should be interpreted as a requested time change. When the status is accepted, the times can either be the time of the appointment (as a confirmation of the time) or can be empty.",
      "comment" : "This element is labeled as a modifier because the status contains the code entered-in-error that marks the participant as not currently valid.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "AppointmentResponse.participantStatus",
        "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" : "ParticipantStatus"
        }],
        "strength" : "required",
        "description" : "The Participation status of an appointment.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/participationstatus"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.status"
      },
      {
        "identity" : "rim",
        "map" : "(performer | reusableDevice | subject | location).statusCode"
      },
      {
        "identity" : "ical",
        "map" : "ATTENDEE;CN=\"Brian Postlethwaite\";RSVP=TRUE:mailto:BPostlethwaite@data.com (rsvpparam | partstatparam)"
      }]
    },
    {
      "id" : "AppointmentResponse.comment",
      "path" : "AppointmentResponse.comment",
      "short" : "Additional comments",
      "definition" : "Additional comments about the appointment.",
      "comment" : "This comment is particularly important when the responder is declining, tentatively accepting or requesting another time to indicate the reasons why.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "AppointmentResponse.comment",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.note"
      },
      {
        "identity" : "rim",
        "map" : ".subjectOf.observation[@moodCode = 'EVN'][code = 'annotation'].value"
      },
      {
        "identity" : "ical",
        "map" : "COMMENT"
      }]
    }]
  },
  "differential" : {
    "element" : [{
      "id" : "AppointmentResponse",
      "path" : "AppointmentResponse",
      "short" : "A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection",
      "definition" : "A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection.",
      "min" : 0,
      "max" : "*",
      "constraint" : [{
        "key" : "apr-1",
        "severity" : "error",
        "human" : "Either the participantType or actor must be specified",
        "expression" : "participantType.exists() or actor.exists()",
        "xpath" : "(exists(f:participantType) or exists(f:actor))"
      }],
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request"
      },
      {
        "identity" : "rim",
        "map" : "Appointment[@moodCode &lt;= 'PRMS']"
      },
      {
        "identity" : "ical",
        "map" : "VEVENT"
      }]
    },
    {
      "id" : "AppointmentResponse.identifier",
      "path" : "AppointmentResponse.identifier",
      "short" : "External Ids for this item",
      "definition" : "This records identifiers associated with this appointment response concern that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Identifier"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.identifier"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.identifier"
      },
      {
        "identity" : "rim",
        "map" : ".id"
      },
      {
        "identity" : "ical",
        "map" : "UID"
      }]
    },
    {
      "id" : "AppointmentResponse.appointment",
      "path" : "AppointmentResponse.appointment",
      "short" : "Appointment this response relates to",
      "definition" : "Appointment that this response is replying to.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Appointment"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.basedOn"
      },
      {
        "identity" : "rim",
        "map" : "scheduleRequest.ActAppointmentRequest[@moodCode &lt;= 'ARQ']"
      }]
    },
    {
      "id" : "AppointmentResponse.start",
      "path" : "AppointmentResponse.start",
      "short" : "Time from appointment, or requested new start time",
      "definition" : "Date/Time that the appointment is to take place, or requested new start time.",
      "comment" : "This may be either the same as the appointment request to confirm the details of the appointment, or alternately a new time to request a re-negotiation of the start time.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "instant"
      }],
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.occurrence[x]"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.init"
      },
      {
        "identity" : "rim",
        "map" : ".effectiveTime.low"
      }]
    },
    {
      "id" : "AppointmentResponse.end",
      "path" : "AppointmentResponse.end",
      "short" : "Time from appointment, or requested new end time",
      "definition" : "This may be either the same as the appointment request to confirm the details of the appointment, or alternately a new time to request a re-negotiation of the end time.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "instant"
      }],
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.occurrence[x]"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.done[x]"
      },
      {
        "identity" : "rim",
        "map" : ".effectiveTime.high"
      }]
    },
    {
      "id" : "AppointmentResponse.participantType",
      "path" : "AppointmentResponse.participantType",
      "short" : "Role of participant in the appointment",
      "definition" : "Role of participant in the appointment.",
      "comment" : "The role of the participant can be used to declare what the actor will be doing in the scope of the referenced appointment.\r\rIf the actor is not specified, then it is expected that the actor will be filled in at a later stage of planning.\r\rThis value SHALL be the same as specified on the referenced Appointment so that they can be matched, and subsequently updated.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ParticipantType"
        }],
        "strength" : "extensible",
        "description" : "Role of participant in encounter.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/encounter-participant-type"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.performerType"
      },
      {
        "identity" : "rim",
        "map" : "(performer | reusableDevice | subject | location).@typeCode"
      },
      {
        "identity" : "ical",
        "map" : "n/a"
      }]
    },
    {
      "id" : "AppointmentResponse.actor",
      "path" : "AppointmentResponse.actor",
      "short" : "Person, Location, HealthcareService, or Device",
      "definition" : "A Person, Location, HealthcareService, or Device that is participating in the appointment.",
      "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",
        "http://hl7.org/fhir/StructureDefinition/Device",
        "http://hl7.org/fhir/StructureDefinition/HealthcareService",
        "http://hl7.org/fhir/StructureDefinition/Location"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.performer"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.who"
      },
      {
        "identity" : "v2",
        "map" : "PID-3-Patient ID List"
      },
      {
        "identity" : "rim",
        "map" : "performer.person | reusableDevice.manufacturedDevice | subject.patient | location.serviceDeliveryLocation"
      },
      {
        "identity" : "ical",
        "map" : "ATTENDEE: (Need to provide the common name CN and also the MAILTO properties from the practitioner resource)"
      }]
    },
    {
      "id" : "AppointmentResponse.participantStatus",
      "path" : "AppointmentResponse.participantStatus",
      "short" : "accepted | declined | tentative | in-process | completed | needs-action | entered-in-error",
      "definition" : "Participation status of the participant. When the status is declined or tentative if the start/end times are different to the appointment, then these times should be interpreted as a requested time change. When the status is accepted, the times can either be the time of the appointment (as a confirmation of the time) or can be empty.",
      "comment" : "This element is labeled as a modifier because the status contains the code entered-in-error that marks the participant as not currently valid.",
      "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" : "ParticipantStatus"
        }],
        "strength" : "required",
        "description" : "The Participation status of an appointment.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/participationstatus"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.status"
      },
      {
        "identity" : "rim",
        "map" : "(performer | reusableDevice | subject | location).statusCode"
      },
      {
        "identity" : "ical",
        "map" : "ATTENDEE;CN=\"Brian Postlethwaite\";RSVP=TRUE:mailto:BPostlethwaite@data.com (rsvpparam | partstatparam)"
      }]
    },
    {
      "id" : "AppointmentResponse.comment",
      "path" : "AppointmentResponse.comment",
      "short" : "Additional comments",
      "definition" : "Additional comments about the appointment.",
      "comment" : "This comment is particularly important when the responder is declining, tentatively accepting or requesting another time to indicate the reasons why.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.note"
      },
      {
        "identity" : "rim",
        "map" : ".subjectOf.observation[@moodCode = 'EVN'][code = 'annotation'].value"
      },
      {
        "identity" : "ical",
        "map" : "COMMENT"
      }]
    }]
  }
}

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