{
  "resourceType": "StructureDefinition",
  "id": "49732f64-4d7e-42bf-841a-97852f551055",
  "url": "https://cloudconnect.cognisantmd.com/fhir/StructureDefinition/AppointmentResponse",
  "name": "AppointmentResponse",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "AppointmentResponse",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/AppointmentResponse",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "AppointmentResponse.appointment.reference",
        "path": "AppointmentResponse.appointment.reference",
        "min": 1
      },
      {
        "id": "AppointmentResponse.participant.actor",
        "path": "AppointmentResponse.participant.actor",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/ca/baseline/StructureDefinition/Patient",
              "http://hl7.org/fhir/ca/baseline/StructureDefinition/Practitioner"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "AppointmentResponse.participant.actor.reference",
        "path": "AppointmentResponse.participant.actor.reference",
        "min": 1
      },
      {
        "id": "AppointmentResponse.participantStatus",
        "path": "AppointmentResponse.participantStatus",
        "comment": "Set to 'accepted' for Ocean Reminder appointment confirmations. Set to 'declined' for online booking cancellations by the patient. Set to 'declined' when declined by the practitioner."
      },
      {
        "id": "AppointmentResponse.comment",
        "path": "AppointmentResponse.comment",
        "comment": "Describes the related event, e.g. 'Reminder sent to patient via Ocean', 'Appointment confirmed via Ocean'",
        "min": 1
      }
    ]
  }
}