PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.nl.zorgviewer@1.15.0
    http://fhir.hl7.nl/zorgviewer/StructureDefinition/Appointment
{
  "description": "Afspraak",
  "_filename": "StructureDefinition-Appointment.json",
  "package_name": "hl7.fhir.nl.zorgviewer",
  "date": "2025-05-12T12:39:37+00:00",
  "derivation": "constraint",
  "publisher": "RIVO-NN HL7NL",
  "fhirVersion": "3.0.2",
  "jurisdiction": [ {
    "coding": [ {
      "code": "NL",
      "system": "urn:iso:std:iso:3166"
    } ]
  } ],
  "name": "Appointment",
  "mapping": [ {
    "uri": "https://decor.nictiz.nl/art-decor/decor-datasets--eafspraken-?id=2.16.840.1.113883.2.4.3.11.60.61.1.1&effectiveDate=2017-08-01T00:00:00&language=nl-NL",
    "name": "ART-DECOR Dataset eAfspraak",
    "identity": "art-decor-eafspraak"
  }, {
    "uri": "https://zibs.nl/wiki/PlannedCareActivityForTransfer-v1.2.1(2015EN)",
    "name": "HCIM PlannedCareActivityForTransfer-v1.2.1(2015EN)",
    "identity": "hcim-plannedcareactivityfortransfer-v1.2.1-2015EN"
  }, {
    "uri": "https://zibs.nl/wiki/PlannedCareActivityForTransfer-v3.0(2016EN)",
    "name": "HCIM PlannedCareActivityForTransfer-v3.0(2016EN)",
    "identity": "hcim-plannedcareactivityfortransfer-v3.0-2016EN"
  }, {
    "uri": "https://zibs.nl/wiki/PlannedCareActivityForTransfer-v3.1(2017EN)",
    "name": "HCIM PlannedCareActivityForTransfer-v3.1(2017EN)",
    "identity": "hcim-plannedcareactivityfortransfer-v3.1-2017EN"
  }, {
    "uri": "https://zibs.nl/wiki/HealthProfessional-v1.2.1(2015EN)",
    "name": "HCIM HealthProfessional-v1.2.1(2015EN)",
    "identity": "hcim-healthprofessional-v1.2.1-2015EN"
  }, {
    "uri": "https://zibs.nl/wiki/HealthProfessional-v3.0(2016EN)",
    "name": "HCIM HealthProfessional-v3.0(2016EN)",
    "identity": "hcim-healthprofessional-v3.0-2016EN"
  }, {
    "uri": "https://zibs.nl/wiki/HealthProfessional-v3.2(2017EN)",
    "name": "HCIM HealthProfessional-v3.2(2017EN)",
    "identity": "hcim-healthprofessional-v3.2-2017EN"
  }, {
    "uri": "https://zibs.nl/wiki/BasicElements-v1.0(2017EN)",
    "name": "HCIM BasicElements-v1.0(2017EN)",
    "identity": "hcim-basicelements-v1.0-2017EN"
  }, {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://www.ietf.org/rfc/rfc2445.txt",
    "name": "iCalendar",
    "identity": "ical"
  }, {
    "uri": "http://hl7.org/fhir/w5",
    "name": "W5 Mapping",
    "identity": "w5"
  }, {
    "uri": "http://hl7.org/v2",
    "name": "HL7 v2 Mapping",
    "identity": "v2"
  } ],
  "abstract": false,
  "type": "Appointment",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "Appointment",
  "package_version": "1.15.0",
  "snapshot": {
    "element": [ {
      "constraint": [ {
        "key": "dom-2",
        "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
        "xpath": "not(parent::f:contained and f:contained)",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "error",
        "expression": "contained.contained.empty()"
      }, {
        "key": "dom-1",
        "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative",
        "xpath": "not(parent::f:contained and f:text)",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "error",
        "expression": "contained.text.empty()"
      }, {
        "key": "dom-4",
        "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
        "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "error",
        "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"
      }, {
        "key": "dom-3",
        "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource",
        "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "error",
        "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()"
      }, {
        "key": "app-3",
        "human": "Only proposed or cancelled appointments can be missing start/end dates",
        "xpath": "((exists(f:start) and exists(f:end)) or (f:status/@value='proposed') or (f:status/@value='cancelled'))",
        "source": "http://hl7.org/fhir/StructureDefinition/Appointment",
        "severity": "error",
        "expression": "(start.exists() and end.exists()) or (status in ('proposed' | 'cancelled'))"
      }, {
        "key": "app-2",
        "human": "Either start and end are specified, or neither",
        "xpath": "((exists(f:start) and exists(f:end)) or (not(exists(f:start)) and not(exists(f:end))))",
        "source": "http://hl7.org/fhir/StructureDefinition/Appointment",
        "severity": "error",
        "expression": "start.empty() xor end.exists()"
      } ],
      "path": "Appointment",
      "min": 0,
      "definition": "A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s).",
      "short": "A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s)",
      "mapping": [ {
        "map": "NL-CM:16.1.6",
        "comment": "Appointment",
        "identity": "hcim-plannedcareactivityfortransfer-v1.2.1-2015EN"
      }, {
        "map": "NL-CM:16.1.6",
        "comment": "Appointment",
        "identity": "hcim-plannedcareactivityfortransfer-v3.0-2016EN"
      }, {
        "map": "NL-CM:16.1.6",
        "comment": "Appointment",
        "identity": "hcim-plannedcareactivityfortransfer-v3.1-2017EN"
      }, {
        "map": "Entity. Role, or Act",
        "identity": "rim"
      }, {
        "map": "Act[@moodCode <= 'INT']",
        "identity": "rim"
      }, {
        "map": "VEVENT",
        "identity": "ical"
      }, {
        "map": "workflow.scheduling",
        "identity": "w5"
      } ],
      "max": "*",
      "id": "Appointment",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Appointment"
      }
    }, {
      "path": "Appointment.id",
      "min": 0,
      "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
      "short": "Logical id of this artifact",
      "type": [ {
        "code": "id"
      } ],
      "max": "1",
      "id": "Appointment.id",
      "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.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.id"
      },
      "isSummary": true
    }, {
      "path": "Appointment.meta",
      "min": 0,
      "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.",
      "short": "Metadata about the resource",
      "type": [ {
        "code": "Meta"
      } ],
      "max": "1",
      "id": "Appointment.meta",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.meta"
      },
      "isSummary": true
    }, {
      "path": "Appointment.implicitRules",
      "min": 0,
      "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.",
      "isModifier": true,
      "short": "A set of rules under which this content was created",
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "Appointment.implicitRules",
      "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. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.implicitRules"
      },
      "isSummary": true
    }, {
      "path": "Appointment.language",
      "min": 0,
      "definition": "The base language in which the resource is written.",
      "short": "Language of the resource content",
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
          "valueReference": {
            "reference": "http://hl7.org/fhir/ValueSet/all-languages"
          }
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "Language"
        } ],
        "description": "A human language.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/languages"
        }
      },
      "max": "1",
      "id": "Appointment.language",
      "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource  Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.language"
      }
    }, {
      "path": "Appointment.text",
      "min": 0,
      "definition": "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
      "short": "Text summary of the resource, for human interpretation",
      "mapping": [ {
        "map": "Act.text?",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Narrative"
      } ],
      "alias": [ "narrative", "html", "xhtml", "display" ],
      "max": "1",
      "id": "Appointment.text",
      "condition": [ "dom-1" ],
      "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 in formation is added later.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "DomainResource.text"
      }
    }, {
      "path": "Appointment.contained",
      "min": 0,
      "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
      "short": "Contained, inline Resources",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Resource"
      } ],
      "alias": [ "inline resources", "anonymous resources", "contained resources" ],
      "max": "*",
      "id": "Appointment.contained",
      "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.contained"
      }
    }, {
      "path": "Appointment.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "Appointment.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Appointment.extension",
      "min": 0,
      "definition": "Remarks associated with the appointment that are not part of the appointment and as such are not influenced by third party edits of the appointment.",
      "short": "ContactPatientInstructions",
      "mapping": [ {
        "map": "eafspraak-dataelement-23",
        "comment": "ContactPatientInstruction",
        "identity": "art-decor-eafspraak"
      }, {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": "http://nictiz.nl/fhir/StructureDefinition/eAfspraak-Appointment-PatientInstructions"
      } ],
      "sliceName": "PatientInstructions",
      "alias": [ "ContactPatiëntInstructie" ],
      "max": "*",
      "id": "Appointment.extension:PatientInstructions",
      "condition": [ "ele-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Appointment.extension",
      "min": 0,
      "definition": "Optional Extension Element - found in all resources.",
      "short": "Optional Extensions Element",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": "http://nictiz.nl/fhir/StructureDefinition/eAfspraak-Appointment-OnlineEditable"
      } ],
      "sliceName": "OnlineEditable",
      "max": "1",
      "id": "Appointment.extension:OnlineEditable",
      "condition": [ "ele-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "path": "Appointment.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Appointment.extension:OnlineEditable.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Appointment.extension.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "Appointment.extension:OnlineEditable.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Appointment.extension.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "mapping": [ {
        "map": "eafspraak-dataelement-52",
        "comment": "OnlineEditableIndicator",
        "identity": "art-decor-eafspraak"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "sliceName": "Indicator",
      "alias": [ "OnlineWijzigbaarIndicator" ],
      "max": "1",
      "id": "Appointment.extension:OnlineEditable.extension:Indicator",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Appointment.extension.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Appointment.extension:OnlineEditable.extension:Indicator.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Appointment.extension.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Appointment.extension:OnlineEditable.extension:Indicator.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Appointment.extension.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "Indicator",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Appointment.extension:OnlineEditable.extension:Indicator.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "Appointment.extension.extension.value[x]",
      "min": 0,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "closed",
        "ordered": false,
        "discriminator": [ {
          "path": "$this",
          "type": "type"
        } ]
      },
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "Appointment.extension:OnlineEditable.extension:Indicator.value[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "Appointment.extension.extension.value[x]",
      "min": 0,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "sliceName": "valueBoolean",
      "max": "1",
      "id": "Appointment.extension:OnlineEditable.extension:Indicator.value[x]:valueBoolean",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "Appointment.extension.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "mapping": [ {
        "map": "eafspraak-dataelement-53",
        "comment": "OnlineEditableUntil",
        "identity": "art-decor-eafspraak"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "sliceName": "OnlineEditableUntil",
      "alias": [ "OnlineWijzigbaarTot" ],
      "max": "1",
      "id": "Appointment.extension:OnlineEditable.extension:OnlineEditableUntil",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Appointment.extension.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Appointment.extension:OnlineEditable.extension:OnlineEditableUntil.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Appointment.extension.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Appointment.extension:OnlineEditable.extension:OnlineEditableUntil.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Appointment.extension.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "OnlineEditableUntil",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Appointment.extension:OnlineEditable.extension:OnlineEditableUntil.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "Appointment.extension.extension.value[x]",
      "min": 0,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "closed",
        "ordered": false,
        "discriminator": [ {
          "path": "$this",
          "type": "type"
        } ]
      },
      "type": [ {
        "code": "dateTime"
      } ],
      "max": "1",
      "id": "Appointment.extension:OnlineEditable.extension:OnlineEditableUntil.value[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "Appointment.extension.extension.value[x]",
      "min": 0,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "sliceName": "valueDateTime",
      "max": "1",
      "id": "Appointment.extension:OnlineEditable.extension:OnlineEditableUntil.value[x]:valueDateTime",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "Appointment.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "http://nictiz.nl/fhir/StructureDefinition/eAfspraak-Appointment-OnlineEditable",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Appointment.extension:OnlineEditable.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "Appointment.extension.value[x]",
      "min": 0,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "base64Binary"
      }, {
        "code": "boolean"
      }, {
        "code": "code"
      }, {
        "code": "date"
      }, {
        "code": "dateTime"
      }, {
        "code": "decimal"
      }, {
        "code": "id"
      }, {
        "code": "instant"
      }, {
        "code": "integer"
      }, {
        "code": "markdown"
      }, {
        "code": "oid"
      }, {
        "code": "positiveInt"
      }, {
        "code": "string"
      }, {
        "code": "time"
      }, {
        "code": "unsignedInt"
      }, {
        "code": "uri"
      }, {
        "code": "Address"
      }, {
        "code": "Age"
      }, {
        "code": "Annotation"
      }, {
        "code": "Attachment"
      }, {
        "code": "CodeableConcept"
      }, {
        "code": "Coding"
      }, {
        "code": "ContactPoint"
      }, {
        "code": "Count"
      }, {
        "code": "Distance"
      }, {
        "code": "Duration"
      }, {
        "code": "HumanName"
      }, {
        "code": "Identifier"
      }, {
        "code": "Money"
      }, {
        "code": "Period"
      }, {
        "code": "Quantity"
      }, {
        "code": "Range"
      }, {
        "code": "Ratio"
      }, {
        "code": "Reference"
      }, {
        "code": "SampledData"
      }, {
        "code": "Signature"
      }, {
        "code": "Timing"
      }, {
        "code": "Meta"
      } ],
      "max": "0",
      "id": "Appointment.extension:OnlineEditable.value[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "Appointment.modifierExtension",
      "min": 0,
      "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. In order 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.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Appointment.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.modifierExtension"
      }
    }, {
      "path": "Appointment.identifier",
      "min": 1,
      "definition": "Globally unique number that identifies the instantiation of the information model. The number is composed of an identification of the issuer organization and a unique number assigned by this organization",
      "short": "IdentificationNumber",
      "mapping": [ {
        "map": "eafspraak-dataelement-3",
        "comment": "ContactSeriesId",
        "identity": "art-decor-eafspraak"
      }, {
        "map": "NL-CM:0.0.6",
        "comment": "IdentificationNumber",
        "identity": "hcim-basicelements-v1.0-2017EN"
      }, {
        "map": "SCH-1, SCH-2, ARQ-1, ARQ-2",
        "identity": "v2"
      }, {
        "map": ".id",
        "identity": "rim"
      }, {
        "map": "UID",
        "identity": "ical"
      }, {
        "map": "id",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "alias": [ "Identificatienummer" ],
      "max": "*",
      "id": "Appointment.identifier",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Appointment.identifier"
      },
      "isSummary": true
    }, {
      "path": "Appointment.status",
      "min": 1,
      "definition": "The overall status of the Appointment. Each of the participants has their own participation status which indicates their involvement in the process, however this status indicates the shared status.",
      "isModifier": true,
      "short": "ContactStatus",
      "mapping": [ {
        "map": "eafspraak-dataelement-20",
        "comment": "ContactStatus",
        "identity": "art-decor-eafspraak"
      }, {
        "map": "SCH-25",
        "identity": "v2"
      }, {
        "map": ".statusCode",
        "identity": "rim"
      }, {
        "map": "status",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AppointmentStatus"
        } ],
        "description": "The free/busy status of an appointment.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/appointmentstatus"
        }
      },
      "alias": [ "ContactStatus" ],
      "max": "1",
      "id": "Appointment.status",
      "comment": "If the Appointment's status is \"cancelled\" then all participants are expected to have their calendars released for the appointment period, and as such any Slots that were marked as BUSY can be re-set to FREE.\n\nThis element is labeled as a modifier because the status contains the code entered-in-error that mark the Appointment as not currently valid.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Appointment.status"
      },
      "isSummary": true
    }, {
      "path": "Appointment.status.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references)",
      "short": "xml:id (or equivalent in JSON)",
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Appointment.status.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Appointment.status.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "Appointment.status.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Appointment.status.extension",
      "min": 0,
      "definition": "Defines a more specific coded value for a code or string. Especially useful for FHIR's required ValueSets. These extensions are primarily used on codes bound to a required value set, where you would like to use a more specific code than the codes in the bounded value set.",
      "short": "OrderStatus",
      "mapping": [ {
        "map": "NL-CM:16.1.9",
        "comment": "OrderStatus",
        "identity": "hcim-plannedcareactivityfortransfer-v1.2.1-2015EN"
      }, {
        "map": "NL-CM:16.1.9",
        "comment": "OrderStatus",
        "identity": "hcim-plannedcareactivityfortransfer-v3.0-2016EN"
      }, {
        "map": "NL-CM:16.1.9",
        "comment": "OrderStatus",
        "identity": "hcim-plannedcareactivityfortransfer-v3.1-2017EN"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": "http://nictiz.nl/fhir/StructureDefinition/code-specification"
      } ],
      "sliceName": "OrderStatus",
      "alias": [ "Bevat de specifieke code conform de zib, bij een FHIR-element die een verplichte koppeling heeft met een bepaalde FHIR waardelijst of een FHIR element die niet gecodeerd is gedefinieerd, terwijl de zib dit wel doet." ],
      "max": "1",
      "id": "Appointment.status.extension:OrderStatus",
      "condition": [ "ele-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Appointment.status.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Appointment.status.extension:OrderStatus.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Appointment.status.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Appointment.status.extension:OrderStatus.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Appointment.status.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "http://nictiz.nl/fhir/StructureDefinition/code-specification",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Appointment.status.extension:OrderStatus.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "Appointment.status.extension.value[x]",
      "min": 1,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "closed",
        "ordered": false,
        "discriminator": [ {
          "path": "$this",
          "type": "type"
        } ]
      },
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "1",
      "id": "Appointment.status.extension:OrderStatus.value[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "Appointment.status.extension.value[x]",
      "min": 1,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "sliceName": "valueCodeableConcept",
      "binding": {
        "strength": "extensible",
        "description": "The status of the order.",
        "valueSetReference": {
          "reference": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.16.1.2--20171231000000"
        }
      },
      "max": "1",
      "id": "Appointment.status.extension:OrderStatus.value[x]:valueCodeableConcept",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "Appointment.status.value",
      "min": 0,
      "definition": "Primitive value for code",
      "short": "Primitive value for code",
      "type": [ {
        "_code": {
          "extension": [ {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
            "valueString": "string"
          }, {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
            "valueString": "xsd:token"
          }, {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
            "valueString": "xsd:token"
          } ]
        },
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-regex",
          "valueString": "[^\\s]+([\\s]?[^\\s]+)*"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Appointment.status.value",
      "base": {
        "max": "1",
        "min": 0,
        "path": "string.value"
      }
    }, {
      "path": "Appointment.serviceCategory",
      "min": 0,
      "definition": "A broad categorisation of the service that is to be performed during this appointment",
      "short": "ContactCategory",
      "mapping": [ {
        "map": "eafspraak-dataelement-25",
        "comment": "ContactCategory",
        "identity": "art-decor-eafspraak"
      }, {
        "map": "n/a, might be inferred from the ServiceDeliveryLocation",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "service-category"
        } ],
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/service-category"
        }
      },
      "alias": [ "ContactCategorie" ],
      "max": "1",
      "id": "Appointment.serviceCategory",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Appointment.serviceCategory"
      },
      "isSummary": true
    }, {
      "path": "Appointment.serviceType",
      "min": 0,
      "definition": "Type of procedure or service that is performed or is scheduled to be performed during the contract",
      "short": "ContactProcedureType",
      "mapping": [ {
        "map": "n/a, might be inferred from the ServiceDeliveryLocation",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "service-type"
        } ],
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/service-type"
        }
      },
      "alias": [ "ContactVerrichtingType" ],
      "max": "*",
      "id": "Appointment.serviceType",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Appointment.serviceType"
      },
      "isSummary": true
    }, {
      "path": "Appointment.specialty",
      "min": 0,
      "definition": "The specialty of a practitioner that would be required to perform the service requested in this appointment.",
      "short": "The specialty of a practitioner that would be required to perform the service requested in this appointment",
      "mapping": [ {
        "map": "eafspraak-dataelement-26",
        "comment": "Specialty",
        "identity": "art-decor-eafspraak"
      }, {
        "map": ".performer.AssignedPerson.code",
        "identity": "rim"
      }, {
        "map": "class",
        "identity": "w5"
      } ],
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "coding.system",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "preferred",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "specialty"
        } ],
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/c80-practice-codes"
        }
      },
      "alias": [ "Specialisme" ],
      "max": "*",
      "id": "Appointment.specialty",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Appointment.specialty"
      },
      "isSummary": true
    }, {
      "path": "Appointment.specialty",
      "min": 0,
      "definition": "The specialty of a practitioner that would be required to perform the service requested in this appointment.",
      "short": "The specialty of a practitioner that would be required to perform the service requested in this appointment",
      "mapping": [ {
        "map": ".performer.AssignedPerson.code",
        "identity": "rim"
      }, {
        "map": "class",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "sliceName": "specialtyAGB",
      "binding": {
        "strength": "required",
        "description": "Specific specialty associated with the agency",
        "valueSetReference": {
          "reference": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.17.1.7--20171231000000"
        }
      },
      "max": "*",
      "id": "Appointment.specialty:specialtyAGB",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Appointment.specialty"
      },
      "isSummary": true
    }, {
      "path": "Appointment.specialty.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Appointment.specialty:specialtyAGB.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Appointment.specialty.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Appointment.specialty:specialtyAGB.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Appointment.specialty.coding",
      "requirements": "Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings.",
      "min": 0,
      "definition": "A reference to a code defined by a terminology system.",
      "short": "Code defined by a terminology system",
      "mapping": [ {
        "map": "C*E.1-8, C*E.10-22",
        "identity": "v2"
      }, {
        "map": "union(., ./translation)",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "max": "*",
      "id": "Appointment.specialty:specialtyAGB.coding",
      "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CodeableConcept.coding"
      },
      "isSummary": true
    }, {
      "path": "Appointment.specialty.coding.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Appointment.specialty:specialtyAGB.coding.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Appointment.specialty.coding.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Appointment.specialty:specialtyAGB.coding.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Appointment.specialty.coding.system",
      "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
      "min": 1,
      "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
      "short": "Identity of the terminology system",
      "fixedUri": "urn:oid:2.16.840.1.113883.2.4.6.7",
      "mapping": [ {
        "map": "C*E.3",
        "identity": "v2"
      }, {
        "map": "./codeSystem",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "Appointment.specialty:specialtyAGB.coding.system",
      "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.system"
      },
      "isSummary": true
    }, {
      "path": "Appointment.specialty.coding.version",
      "min": 0,
      "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
      "short": "Version of the system - if relevant",
      "mapping": [ {
        "map": "C*E.7",
        "identity": "v2"
      }, {
        "map": "./codeSystemVersion",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Appointment.specialty:specialtyAGB.coding.version",
      "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.version"
      },
      "isSummary": true
    }, {
      "path": "Appointment.specialty.coding.code",
      "requirements": "Need to refer to a particular code in the system.",
      "min": 0,
      "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
      "short": "Symbol in syntax defined by the system",
      "mapping": [ {
        "map": "C*E.1",
        "identity": "v2"
      }, {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "max": "1",
      "id": "Appointment.specialty:specialtyAGB.coding.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.code"
      },
      "isSummary": true
    }, {
      "path": "Appointment.specialty.coding.display",
      "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
      "min": 0,
      "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
      "short": "Representation defined by the system",
      "mapping": [ {
        "map": "C*E.2 - but note this is not well followed",
        "identity": "v2"
      }, {
        "map": "CV.displayName",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "Appointment.specialty:specialtyAGB.coding.display",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.display"
      },
      "isSummary": true
    }, {
      "path": "Appointment.specialty.coding.userSelected",
      "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
      "min": 0,
      "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
      "short": "If this coding was chosen directly by the user",
      "mapping": [ {
        "map": "Sometimes implied by being first",
        "identity": "v2"
      }, {
        "map": "CD.codingRationale",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "Appointment.specialty:specialtyAGB.coding.userSelected",
      "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.userSelected"
      },
      "isSummary": true
    }, {
      "path": "Appointment.specialty.text",
      "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
      "min": 0,
      "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
      "short": "Plain text representation of the concept",
      "mapping": [ {
        "map": "C*E.9. But note many systems use C*E.2 for this",
        "identity": "v2"
      }, {
        "map": "./originalText[mediaType/code=\"text/plain\"]/data",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "Appointment.specialty:specialtyAGB.text",
      "comment": "Very often the text is the same as a displayName of one of the codings.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CodeableConcept.text"
      },
      "isSummary": true
    }, {
      "path": "Appointment.specialty",
      "min": 0,
      "definition": "The specialty of a practitioner that would be required to perform the service requested in this appointment.",
      "short": "The specialty of a practitioner that would be required to perform the service requested in this appointment",
      "mapping": [ {
        "map": ".performer.AssignedPerson.code",
        "identity": "rim"
      }, {
        "map": "class",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "sliceName": "specialtyUZI",
      "binding": {
        "strength": "required",
        "description": "Specific specialty associated with the agency",
        "valueSetReference": {
          "reference": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.17.1.6--20171231000000"
        }
      },
      "max": "*",
      "id": "Appointment.specialty:specialtyUZI",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Appointment.specialty"
      },
      "isSummary": true
    }, {
      "path": "Appointment.specialty.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Appointment.specialty:specialtyUZI.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Appointment.specialty.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Appointment.specialty:specialtyUZI.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Appointment.specialty.coding",
      "requirements": "Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings.",
      "min": 0,
      "definition": "A reference to a code defined by a terminology system.",
      "short": "Code defined by a terminology system",
      "mapping": [ {
        "map": "C*E.1-8, C*E.10-22",
        "identity": "v2"
      }, {
        "map": "union(., ./translation)",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "max": "*",
      "id": "Appointment.specialty:specialtyUZI.coding",
      "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CodeableConcept.coding"
      },
      "isSummary": true
    }, {
      "path": "Appointment.specialty.coding.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Appointment.specialty:specialtyUZI.coding.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Appointment.specialty.coding.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Appointment.specialty:specialtyUZI.coding.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Appointment.specialty.coding.system",
      "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
      "min": 1,
      "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
      "short": "Identity of the terminology system",
      "fixedUri": "http://fhir.nl/fhir/NamingSystem/uzi-rolcode",
      "mapping": [ {
        "map": "C*E.3",
        "identity": "v2"
      }, {
        "map": "./codeSystem",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "Appointment.specialty:specialtyUZI.coding.system",
      "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.system"
      },
      "isSummary": true
    }, {
      "path": "Appointment.specialty.coding.version",
      "min": 0,
      "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
      "short": "Version of the system - if relevant",
      "mapping": [ {
        "map": "C*E.7",
        "identity": "v2"
      }, {
        "map": "./codeSystemVersion",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Appointment.specialty:specialtyUZI.coding.version",
      "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.version"
      },
      "isSummary": true
    }, {
      "path": "Appointment.specialty.coding.code",
      "requirements": "Need to refer to a particular code in the system.",
      "min": 0,
      "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
      "short": "Symbol in syntax defined by the system",
      "mapping": [ {
        "map": "C*E.1",
        "identity": "v2"
      }, {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "max": "1",
      "id": "Appointment.specialty:specialtyUZI.coding.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.code"
      },
      "isSummary": true
    }, {
      "path": "Appointment.specialty.coding.display",
      "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
      "min": 0,
      "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
      "short": "Representation defined by the system",
      "mapping": [ {
        "map": "C*E.2 - but note this is not well followed",
        "identity": "v2"
      }, {
        "map": "CV.displayName",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "Appointment.specialty:specialtyUZI.coding.display",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.display"
      },
      "isSummary": true
    }, {
      "path": "Appointment.specialty.coding.userSelected",
      "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
      "min": 0,
      "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
      "short": "If this coding was chosen directly by the user",
      "mapping": [ {
        "map": "Sometimes implied by being first",
        "identity": "v2"
      }, {
        "map": "CD.codingRationale",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "Appointment.specialty:specialtyUZI.coding.userSelected",
      "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.userSelected"
      },
      "isSummary": true
    }, {
      "path": "Appointment.specialty.text",
      "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
      "min": 0,
      "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
      "short": "Plain text representation of the concept",
      "mapping": [ {
        "map": "C*E.9. But note many systems use C*E.2 for this",
        "identity": "v2"
      }, {
        "map": "./originalText[mediaType/code=\"text/plain\"]/data",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "Appointment.specialty:specialtyUZI.text",
      "comment": "Very often the text is the same as a displayName of one of the codings.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CodeableConcept.text"
      },
      "isSummary": true
    }, {
      "path": "Appointment.appointmentType",
      "min": 0,
      "definition": "The type of contact.",
      "short": "ContactType",
      "mapping": [ {
        "map": "eafspraak-dataelement-24",
        "comment": "ContactType",
        "identity": "art-decor-eafspraak"
      }, {
        "map": "ARQ-7",
        "identity": "v2"
      }, {
        "map": ".code",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "extensible",
        "description": "ContactType and NHGTable14v7-ContactType",
        "valueSetReference": {
          "reference": "http://nictiz.nl/fhir/ValueSet/ContactTypeCodelijst-en-NHGTable14v7-ContactType"
        }
      },
      "alias": [ "ContactType" ],
      "max": "1",
      "id": "Appointment.appointmentType",
      "comment": "The ContactTypeCodelijst is the ValueSet used within an eAfspraak context. A `.coding` from NHG Table 14 SHOULD only be used when a semantically compatible `.coding` from ContactTypeCodelijst is present as well, to further specify the type of contact.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Appointment.appointmentType"
      },
      "isSummary": true
    }, {
      "path": "Appointment.reason",
      "min": 0,
      "definition": "A deviating result which serves as the reason for the contact.",
      "short": "DeviatingResult",
      "mapping": [ {
        "map": "eafspraak-dataelement-46",
        "comment": "DeviatingResult",
        "identity": "art-decor-eafspraak"
      }, {
        "map": "AIS-3, SCH-7",
        "identity": "v2"
      }, {
        "map": ".reasonCode",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "preferred",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ApptReason"
        } ],
        "description": "The Reason for the appointment to take place.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/encounter-reason"
        }
      },
      "alias": [ "AfwijkendeUitslag" ],
      "max": "*",
      "id": "Appointment.reason",
      "comment": "The three child elements of ContactReason (Problem, Procedure and DeviatingResult) are mapped to the FHIR elements reason and indication. The container concept ContactReason is omitted in the mapping. Both FHIR elements convey the information on the reason the appointment as been scheduled to take place, either as a Reference or a CodeableConcept. This is clarified in FHIR R4 becasue the element indication is renamed to reasonReference.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Appointment.reason"
      },
      "isSummary": true
    }, {
      "path": "Appointment.indication",
      "min": 0,
      "definition": "Reason the appointment has been scheduled to take place, as specified using information from another resource. According to the dataset, this is either a Procedure or Problem.",
      "short": "Procedure | Problem",
      "mapping": [ {
        "map": "eafspraak-dataelement-42",
        "comment": "Problem",
        "identity": "art-decor-eafspraak"
      }, {
        "map": "eafspraak-dataelement-44",
        "comment": "Procedure",
        "identity": "art-decor-eafspraak"
      }, {
        "map": ".inboundRelationship[@typeCode = 'RSON'].observation",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition"
      }, {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Procedure"
      } ],
      "alias": [ "Verrichting", "Probleem" ],
      "max": "*",
      "id": "Appointment.indication",
      "comment": "The three child elements of ContactReason (Problem, Procedure and DeviatingResult) are mapped to the FHIR elements reason and indication. The container concept ContactReason is omitted in the mapping. Both FHIR elements convey the information on the reason the appointment as been scheduled to take place, either as a Reference or a CodeableConcept. This is clarified in FHIR R4 becasue the element indication is renamed to reasonReference.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Appointment.indication"
      }
    }, {
      "path": "Appointment.priority",
      "min": 0,
      "definition": "The priority of the appointment. Can be used to make informed decisions if needing to re-prioritize appointments. (The iCal Standard specifies 0 as undefined, 1 as highest, 9 as lowest priority).",
      "short": "Used to make informed decisions if needing to re-prioritize",
      "mapping": [ {
        "map": "ARQ-12, SCH-11.6 / TQ1-9",
        "identity": "v2"
      }, {
        "map": ".priorityCode",
        "identity": "rim"
      }, {
        "map": "PRIORITY",
        "identity": "ical"
      }, {
        "map": "class",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "unsignedInt"
      } ],
      "max": "1",
      "id": "Appointment.priority",
      "comment": "Seeking implementer feedback on this property and how interoperable it is.\r\rUsing an extension to record a codeableconcept for named values may be tested at a future connectathon.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Appointment.priority"
      }
    }, {
      "path": "Appointment.description",
      "min": 0,
      "definition": "The brief description of the appointment as would be shown on a subject line in a meeting request, or appointment list. Detailed or expanded information should be put in the comment field.",
      "short": "ContactSubject",
      "mapping": [ {
        "map": "eafspraak-dataelement-21",
        "comment": "ContactSubject",
        "identity": "art-decor-eafspraak"
      }, {
        "map": "NTE-3",
        "identity": "v2"
      }, {
        "map": ".text",
        "identity": "rim"
      }, {
        "map": "DESCRIPTION",
        "identity": "ical"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "alias": [ "ContactOnderwerp" ],
      "max": "1",
      "id": "Appointment.description",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Appointment.description"
      }
    }, {
      "path": "Appointment.supportingInformation",
      "min": 0,
      "definition": "Additional information to support the appointment provided when making the appointment.",
      "short": "Additional information to support the appointment",
      "mapping": [ {
        "map": ".inboundRelationship[@typeCode = 'SPRT'].observation",
        "identity": "rim"
      }, {
        "map": "context",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
      } ],
      "max": "*",
      "id": "Appointment.supportingInformation",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Appointment.supportingInformation"
      }
    }, {
      "path": "Appointment.start",
      "min": 0,
      "definition": "The date and time at which the contact took place.",
      "short": "StartDateTime",
      "mapping": [ {
        "map": "eafspraak-dataelement-6",
        "comment": "StartDateTime",
        "identity": "art-decor-eafspraak"
      }, {
        "map": "NL-CM:16.1.10",
        "comment": "StartDate",
        "identity": "hcim-plannedcareactivityfortransfer-v1.2.1-2015EN"
      }, {
        "map": "NL-CM:16.1.10",
        "comment": "StartDate",
        "identity": "hcim-plannedcareactivityfortransfer-v3.0-2016EN"
      }, {
        "map": "NL-CM:16.1.10",
        "comment": "StartDate",
        "identity": "hcim-plannedcareactivityfortransfer-v3.1-2017EN"
      }, {
        "map": "NL-CM:0.0.14",
        "comment": "DateTime",
        "identity": "hcim-basicelements-v1.0-2017EN"
      }, {
        "map": "ARQ-11.1, SCH-11.4 / TQ1-7",
        "identity": "v2"
      }, {
        "map": ".effectiveTime.low",
        "identity": "rim"
      }, {
        "map": "when.init",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "instant"
      } ],
      "alias": [ "BeginDatumTijd" ],
      "max": "1",
      "id": "Appointment.start",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Appointment.start"
      },
      "isSummary": true
    }, {
      "path": "Appointment.end",
      "min": 0,
      "definition": "The date and time at which the contact ended. If the contact takes place over a period of time, this indicates the end of the period, in the case of an admission, for example.",
      "short": "EndDateTime",
      "mapping": [ {
        "map": "eafspraak-dataelement-7",
        "comment": "EndDateTime",
        "identity": "art-decor-eafspraak"
      }, {
        "map": "NL-CM:16.1.11",
        "comment": "EndDate",
        "identity": "hcim-plannedcareactivityfortransfer-v1.2.1-2015EN"
      }, {
        "map": "NL-CM:16.1.11",
        "comment": "EndDate",
        "identity": "hcim-plannedcareactivityfortransfer-v3.0-2016EN"
      }, {
        "map": "NL-CM:16.1.11",
        "comment": "EndDate",
        "identity": "hcim-plannedcareactivityfortransfer-v3.1-2017EN"
      }, {
        "map": "SCH-11.5 / TQ1-8/ calculated based on the start and the duration which is in ARQ-9",
        "identity": "v2"
      }, {
        "map": ".effectiveTime.high",
        "identity": "rim"
      }, {
        "map": "when.done",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "instant"
      } ],
      "alias": [ "EindDatumTijd" ],
      "max": "1",
      "id": "Appointment.end",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Appointment.end"
      },
      "isSummary": true
    }, {
      "path": "Appointment.minutesDuration",
      "min": 0,
      "definition": "Appointment duration. The duration of a clinical appointment usually equals the difference between EndDateTime and StartDateTime. This is usually not the case in the care, e.g. home health. In a care setting there is usually a time range, for example between 12 and 2PM, for performing certain services within a maximum timespan of e.g. 15 minutes. The difference between end and Start of the appointment may be longer than the actual appointment, for example because of an extended visit at the previous client and/or busy traffic.",
      "short": "ContactDuration",
      "mapping": [ {
        "map": "eafspraak-dataelement-8",
        "comment": "ContactDuration",
        "identity": "art-decor-eafspraak"
      }, {
        "map": ".activityTime[@xsi:type = ('SXPR_TS', 'PIVL_TS')].width",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "positiveInt"
      } ],
      "alias": [ "ContactDuur" ],
      "max": "1",
      "id": "Appointment.minutesDuration",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Appointment.minutesDuration"
      }
    }, {
      "path": "Appointment.slot",
      "min": 0,
      "definition": "The slots from the participants' schedules that will be filled by the appointment.",
      "short": "The slots that this appointment is filling",
      "mapping": [ {
        "map": ".outboundRelationship[@typeCode = 'REFR'].act[@classCode = 'ACT'][@moodCode = 'SLOT']",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Slot"
      } ],
      "max": "*",
      "id": "Appointment.slot",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Appointment.slot"
      }
    }, {
      "path": "Appointment.created",
      "min": 0,
      "definition": "The date/time stamp that this appointment was initially created",
      "short": "DateTime",
      "mapping": [ {
        "map": "eafspraak-dataelement-5",
        "comment": "DateTime",
        "identity": "art-decor-eafspraak"
      }, {
        "map": ".author.time",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "alias": [ "DatumTijd" ],
      "max": "1",
      "id": "Appointment.created",
      "comment": "This property is required for many use cases where the age of an appointment is considered in processing workflows for scheduling and billing of appointments.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Appointment.created"
      }
    }, {
      "path": "Appointment.comment",
      "min": 0,
      "definition": "Additional description about the appointment in free text.",
      "short": "ContactDescription",
      "mapping": [ {
        "map": "NTE-3",
        "identity": "v2"
      }, {
        "map": ".subjectOf.observation[@moodCode = 'EVN'][code = 'annotation'].value",
        "identity": "rim"
      }, {
        "map": "COMMENT",
        "identity": "ical"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "alias": [ "ContactOmschrijving" ],
      "max": "1",
      "id": "Appointment.comment",
      "comment": "Additional text to aid in facilitating the appointment. For instance, a comment might be, \"patient should proceed immediately to infusion room upon arrival\"\r\rWhere this is a planned appointment and the start/end dates are not set then this field can be used to provide additional guidance on the details of the appointment request, including any restrictions on when to book it.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Appointment.comment"
      }
    }, {
      "path": "Appointment.incomingReferral",
      "min": 0,
      "definition": "Referral that is the basis for requesting an appointment or planning one. A referral is required in some contexts to be eligible for a specific type of care. In a lot of cases this referral will be from the general practitioner.",
      "short": "The ReferralRequest provided as information to allocate to the Encounter",
      "mapping": [ {
        "map": "eafspraak-dataelement-49",
        "comment": "Referral",
        "identity": "art-decor-eafspraak"
      }, {
        "map": ".outboundRelationship[@typeCode = 'FLFS'].act[@classCode < 'ActCareProvisionRequestType'][@moodCode = 'RQO']",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest"
      } ],
      "alias": [ "Verwijzing" ],
      "max": "*",
      "id": "Appointment.incomingReferral",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Appointment.incomingReferral"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      }, {
        "key": "app-1",
        "human": "Either the type or actor on the participant SHALL be specified",
        "xpath": "(exists(f:type) or exists(f:actor))",
        "source": "http://hl7.org/fhir/StructureDefinition/Appointment",
        "severity": "error",
        "expression": "type.exists() or actor.exists()"
      } ],
      "path": "Appointment.participant",
      "min": 1,
      "definition": "Participants involved in appointment. These may include persons, locations and means (devices and services). The specialty and role of the healthcare provider can be entered in the HealthcareProvider building block as well.",
      "short": "ContactWith",
      "mapping": [ {
        "map": "eafspraak-dataelement-27",
        "comment": "ContactWith",
        "identity": "art-decor-eafspraak"
      }, {
        "map": "NL-CM:0.0.7",
        "comment": "Author",
        "identity": "hcim-basicelements-v1.0-2017EN"
      }, {
        "map": "NL-CM:0.0.11",
        "comment": "Subject",
        "identity": "hcim-basicelements-v1.0-2017EN"
      }, {
        "map": "PID, AIP, AIG, AIL",
        "identity": "v2"
      }, {
        "map": "performer | reusableDevice | subject | location",
        "identity": "rim"
      }, {
        "map": "ATTENDEE component to be created",
        "identity": "ical"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "alias": [ "ContactMet" ],
      "max": "*",
      "id": "Appointment.participant",
      "base": {
        "max": "*",
        "min": 1,
        "path": "Appointment.participant"
      }
    }, {
      "path": "Appointment.participant.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Appointment.participant.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Appointment.participant.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Appointment.participant.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Appointment.participant.modifierExtension",
      "min": 0,
      "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 that contains it. Usually modifier elements provide negation or qualification. In order 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.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Appointment.participant.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "path": "Appointment.participant.type",
      "min": 0,
      "definition": "Role of participant in the appointment.",
      "short": "Role of participant in the appointment",
      "mapping": [ {
        "map": "AIP-4, AIG-4",
        "identity": "v2"
      }, {
        "map": "(performer | reusableDevice | subject | location).@typeCode",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "ical"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ParticipantType"
        } ],
        "description": "Role of participant in encounter.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/encounter-participant-type"
        }
      },
      "max": "*",
      "id": "Appointment.participant.type",
      "comment": "The role of the participant can be used to declare what the actor will be doing in the scope of this 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 when creating an AppointmentResponse so that they can be matched, and subsequently update the Appointment.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Appointment.participant.type"
      },
      "isSummary": true
    }, {
      "path": "Appointment.participant.type.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Appointment.participant.type.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Appointment.participant.type.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Appointment.participant.type.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Appointment.participant.type.coding",
      "requirements": "Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings.",
      "min": 0,
      "definition": "A reference to a code defined by a terminology system.",
      "short": "Code defined by a terminology system",
      "mapping": [ {
        "map": "C*E.1-8, C*E.10-22",
        "identity": "v2"
      }, {
        "map": "union(., ./translation)",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
        "identity": "orim"
      } ],
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Coding"
      } ],
      "max": "*",
      "id": "Appointment.participant.type.coding",
      "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CodeableConcept.coding"
      },
      "isSummary": true
    }, {
      "path": "Appointment.participant.type.coding",
      "requirements": "Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings.",
      "min": 0,
      "definition": "The role the healthcare provider fulfils in the healthcare process. For healthcare providers, this could be for example main practitioner, referrer or general practitioner.",
      "short": "HealthProfessionalRole",
      "mapping": [ {
        "map": "NL-CM:17.1.5",
        "comment": "HealthcareProviderRole",
        "identity": "hcim-healthprofessional-v1.2.1-2015EN"
      }, {
        "map": "NL-CM:17.1.5",
        "comment": "HealthcareProviderRole",
        "identity": "hcim-healthprofessional-v3.0-2016EN"
      }, {
        "map": "NL-CM:17.1.5",
        "comment": "HealthProfessionalRole",
        "identity": "hcim-healthprofessional-v3.2-2017EN"
      }, {
        "map": "C*E.1-8, C*E.10-22",
        "identity": "v2"
      }, {
        "map": "union(., ./translation)",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "sliceName": "healthProfessionalRole",
      "binding": {
        "strength": "required",
        "valueSetReference": {
          "reference": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.17.1.5--20171231000000"
        }
      },
      "alias": [ "ZorgverlenerRol" ],
      "max": "*",
      "id": "Appointment.participant.type.coding:healthProfessionalRole",
      "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CodeableConcept.coding"
      },
      "isSummary": true
    }, {
      "path": "Appointment.participant.type.text",
      "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
      "min": 0,
      "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
      "short": "Plain text representation of the concept",
      "mapping": [ {
        "map": "C*E.9. But note many systems use C*E.2 for this",
        "identity": "v2"
      }, {
        "map": "./originalText[mediaType/code=\"text/plain\"]/data",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "Appointment.participant.type.text",
      "comment": "Very often the text is the same as a displayName of one of the codings.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CodeableConcept.text"
      },
      "isSummary": true
    }, {
      "path": "Appointment.participant.actor",
      "min": 0,
      "definition": "A Person, Location/HealthcareService or Device that is participating in the appointment.",
      "short": "Person, Location/HealthcareService or Device",
      "mapping": [ {
        "map": "eafspraak-dataelement-30",
        "comment": "Contact",
        "identity": "art-decor-eafspraak"
      }, {
        "map": "eafspraak-dataelement-31",
        "comment": "Patient",
        "identity": "art-decor-eafspraak"
      }, {
        "map": "eafspraak-dataelement-32",
        "comment": "HealthProfessional",
        "identity": "art-decor-eafspraak"
      }, {
        "map": "eafspraak-dataelement-33",
        "comment": "Location",
        "identity": "art-decor-eafspraak"
      }, {
        "map": "PID-3-Patient ID List | AIL-3 | AIG-3 | AIP-3",
        "identity": "v2"
      }, {
        "map": "performer.person | reusableDevice.manufacturedDevice | subject.patient | location.serviceDeliveryLocation",
        "identity": "rim"
      }, {
        "map": "ATTENDEE: (Need to provide the common name CN and also the MAILTO properties from the practitioner resource) where the participant type is not \"information-only\"",
        "identity": "ical"
      }, {
        "map": "who",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-patient"
      }, {
        "code": "Reference",
        "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner"
      }, {
        "code": "Reference",
        "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson"
      }, {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device"
      }, {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/HealthcareService"
      }, {
        "code": "Reference",
        "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-location"
      } ],
      "alias": [ "Contactpersoon", "Patient", "Zorgverlener", "Locatie" ],
      "max": "1",
      "id": "Appointment.participant.actor",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Appointment.participant.actor"
      },
      "isSummary": true
    }, {
      "path": "Appointment.participant.actor.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Appointment.participant.actor.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Appointment.participant.actor.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "Appointment.participant.actor.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Appointment.participant.actor.extension",
      "min": 0,
      "definition": "Optional Extension Element - found in all resources.",
      "short": "Optional Extensions Element",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": "http://nictiz.nl/fhir/StructureDefinition/practitionerrole-reference"
      } ],
      "sliceName": "practitionerRole",
      "max": "1",
      "id": "Appointment.participant.actor.extension:practitionerRole",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Appointment.participant.actor.reference",
      "min": 0,
      "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
      "short": "Literal reference, Relative, internal or absolute URL",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Appointment.participant.actor.reference",
      "condition": [ "ref-1" ],
      "comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Reference.reference"
      },
      "isSummary": true
    }, {
      "path": "Appointment.participant.actor.identifier",
      "min": 0,
      "definition": "An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
      "short": "Logical reference, when literal reference is not known",
      "mapping": [ {
        "map": ".identifier",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "max": "1",
      "id": "Appointment.participant.actor.identifier",
      "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Reference.identifier"
      },
      "isSummary": true
    }, {
      "path": "Appointment.participant.actor.display",
      "min": 0,
      "definition": "Plain text narrative that identifies the resource in addition to the resource reference.",
      "short": "Text alternative for the resource",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "Appointment.participant.actor.display",
      "comment": "This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Reference.display"
      },
      "isSummary": true
    }, {
      "path": "Appointment.participant.required",
      "min": 0,
      "definition": "Is this participant required to be present at the meeting. This covers a use-case where 2 doctors need to meet to discuss the results for a specific patient, and the patient is not required to be present.",
      "short": "ContactWithRequired",
      "mapping": [ {
        "map": "(performer | reusableDevice | subject | location).@performInd",
        "identity": "rim"
      }, {
        "map": "ROLE=REQ-PARTICIPANT (roleparam)",
        "identity": "ical"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ParticipantRequired"
        } ],
        "description": "Is the Participant required to attend the appointment.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/participantrequired"
        }
      },
      "alias": [ "ContactMetVereist" ],
      "max": "1",
      "id": "Appointment.participant.required",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Appointment.participant.required"
      },
      "isSummary": true
    }, {
      "path": "Appointment.participant.status",
      "min": 1,
      "definition": "Indicated presence of the ContactParty.",
      "short": "ContactWithStatus",
      "mapping": [ {
        "map": "AIP-12, AIG-14",
        "identity": "v2"
      }, {
        "map": "(performer | reusableDevice | subject | location).statusCode",
        "identity": "rim"
      }, {
        "map": "ATTENDEE;CN=\"Brian Postlethwaite\";RSVP=TRUE:mailto:BPostlethwaite@data.com (rsvpparam | partstatparam)",
        "identity": "ical"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ParticipationStatus"
        } ],
        "description": "The Participation status of an appointment.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/participationstatus"
        }
      },
      "alias": [ "ContactMetStatus" ],
      "max": "1",
      "id": "Appointment.participant.status",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Appointment.participant.status"
      }
    }, {
      "path": "Appointment.requestedPeriod",
      "min": 0,
      "definition": "A set of date ranges (potentially including times) that the appointment is preferred to be scheduled within. When using these values, the minutes duration should be provided to indicate the length of the appointment to fill and populate the start/end times for the actual allocated time.",
      "short": "Potential date/time interval(s) requested to allocate the appointment within",
      "mapping": [ {
        "map": "ARQ-11",
        "identity": "v2"
      }, {
        "map": ".activityTime[@xsi:type = ('SXPR_TS', 'PIVL_TS')]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Period"
      } ],
      "max": "*",
      "id": "Appointment.requestedPeriod",
      "comment": "This does not introduce a capacity for recurring appointments.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Appointment.requestedPeriod"
      }
    } ],
    "extension": [ {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
      "valueString": "2.1.6"
    } ]
  },
  "status": "draft",
  "id": "1dd60a6e-705c-4f36-89bc-129983ebf5be",
  "kind": "resource",
  "url": "http://fhir.hl7.nl/zorgviewer/StructureDefinition/Appointment",
  "version": "1.15.0",
  "differential": {
    "element": [ {
      "id": "Appointment",
      "path": "Appointment"
    } ]
  },
  "contact": [ {
    "name": "RIVO-NN",
    "telecom": [ {
      "value": "https://rivo-noord.nl",
      "system": "url"
    } ]
  }, {
    "name": "HL7NL",
    "telecom": [ {
      "value": "https://hl7.nl",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://nictiz.nl/fhir/StructureDefinition/eAfspraak-Appointment"
}