{
  "resourceType": "StructureDefinition",
  "id": "AppointmentABeReC",
  "url": "https://www.alberta.ca/fhir/aberec/StructureDefinition/AppointmentABeReC",
  "version": "1.1.0",
  "name": "AppointmentABeReC",
  "title": "Appointment (AB:eReC)",
  "status": "draft",
  "description": "This profile defines a set of constraints to the FHIR Appointment resource for use in Alberta eReferral and eConsult (AB:eReC). It re-profiles the CA-eReC Appointment profile and it includes constraints that represent the minimum expectations for the Appointment resource when used in the AB:eReC.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Appointment",
  "baseDefinition": "http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Appointment",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Appointment.identifier",
        "path": "Appointment.identifier",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Appointment.identifier.system",
        "path": "Appointment.identifier.system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Appointment.identifier.value",
        "path": "Appointment.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Appointment.basedOn",
        "path": "Appointment.basedOn",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://www.alberta.ca/fhir/aberec/StructureDefinition/ServiceRequestABeReC"
            ]
          }
        ]
      },
      {
        "id": "Appointment.participant.actor",
        "path": "Appointment.participant.actor",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://www.alberta.ca/fhir/aberec/StructureDefinition/PatientABeReC",
              "https://www.alberta.ca/fhir/aberec/StructureDefinition/PractitionerRoleABeReC"
            ]
          }
        ]
      }
    ]
  }
}