> ## Documentation Index
> Fetch the complete documentation index at: https://docs.morf.health/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Appointment

> Event payload details and trigger documentation for Appointment data from Nextech

<img src="https://mintcdn.com/morfhealth/EU2WCxuXGIUQcziR/images/nextech.svg?fit=max&auto=format&n=EU2WCxuXGIUQcziR&q=85&s=28a153bc064aed42d3f8ea05ea684d70" alt="images/nextech.svg" width="40" height="40" data-path="images/nextech.svg" />

# Events

## Triggering Webhook Types

The following event types are associated with the Appointment event payload from Nextech.

* `Nextech Appointment Proposed`
* `Nextech Appointment Pending`
* `Nextech Appointment Booked`
* `Nextech Appointment Arrived`
* `Nextech Appointment Fulfilled`
* `Nextech Appointment Cancelled`
* `Nextech Appointment Noshow`
* `Nextech Appointment Entered In Error`
* `Nextech Appointment Updated Other`

<RequestExample>
  ```json Example theme={null}
  {
    "appointment_type": {
      "codings": [
        {
          "code": "X",
          "display": "Arbitrary string",
          "system": "Jr.",
          "user_selected": true,
          "version": "r4"
        }
      ],
      "extensions": [
        {
          "extension": null,
          "url": "https://morf.health/fhir/r4/extensions/formats",
          "value": "arbitrary value of any type (i.e. not necessarily a string)",
          "value_field_label": null
        }
      ],
      "text": "Arbitrary concept string value"
    },
    "based_on_service_requests": [
      {
        "display": "PatientX",
        "identifier": {
          "period": {
            "end": "2025-08-13T18:41:44.263+00:00",
            "start": "2025-08-13T17:41:44.263+00:00"
          },
          "system": "https://morf.health/fhir/r4/identifier_types/healthie",
          "use": "secondary",
          "value": "401421231"
        },
        "reference": {
          "type": "Patient",
          "value": "1234"
        },
        "type": "Patient"
      }
    ],
    "comment": "Intake forms are complete for patient.",
    "created_at": "2024-04-30T13:12:09+00:00",
    "description": "Intake Appointment",
    "end": "2024-05-01T14:30:00+05:00",
    "extensions": [
      {
        "extension": null,
        "url": "https://morf.health/fhir/r4/extensions/formats",
        "value": "arbitrary value of any type (i.e. not necessarily a string)",
        "value_field_label": null
      }
    ],
    "id": "e5eb4711-75e7-46f1-b36e-6e869c02926d",
    "identifiers": [
      {
        "period": {
          "end": "2025-08-13T18:41:44.263+00:00",
          "start": "2025-08-13T17:41:44.263+00:00"
        },
        "system": "https://morf.health/fhir/r4/identifier_types/healthie",
        "use": "secondary",
        "value": "401421231"
      }
    ],
    "length_minutes": 30,
    "meta": {
      "extensions": [
        {
          "extension": null,
          "url": "https://morf.health/fhir/r4/extensions/formats",
          "value": "arbitrary value of any type (i.e. not necessarily a string)",
          "value_field_label": null
        }
      ],
      "id": "20002",
      "last_updated": "2025-02-11T17:17:41.101+00:00",
      "profiles": "Profile 1",
      "security_labels": [
        {
          "code": "X",
          "display": "Arbitrary string",
          "system": "Jr.",
          "user_selected": true,
          "version": "r4"
        }
      ],
      "source": "1",
      "tags": [
        {
          "code": "X",
          "display": "Arbitrary string",
          "system": "Jr.",
          "user_selected": true,
          "version": "r4"
        }
      ],
      "version_id": "1"
    },
    "participants": [
      {
        "actor": {
          "display": "PatientX",
          "identifier": {
            "period": {
              "end": "2025-08-13T18:41:44.263+00:00",
              "start": "2025-08-13T17:41:44.263+00:00"
            },
            "system": "https://morf.health/fhir/r4/identifier_types/healthie",
            "use": "secondary",
            "value": "401421231"
          },
          "reference": {
            "type": "Patient",
            "value": "1234"
          },
          "type": "Patient"
        },
        "extensions": [
          {
            "extension": null,
            "url": "https://morf.health/fhir/r4/extensions/formats",
            "value": "arbitrary value of any type (i.e. not necessarily a string)",
            "value_field_label": null
          }
        ],
        "id": "e5eb4711-75e7-46f1-b36e-6e869c02926d",
        "modifier_extensions": [
          {
            "extension": null,
            "url": "https://morf.health/fhir/r4/extensions/formats",
            "value": "arbitrary value of any type (i.e. not necessarily a string)",
            "value_field_label": null
          }
        ],
        "period": {
          "end": "2025-08-13T18:41:44.263+00:00",
          "start": "2025-08-13T17:41:44.263+00:00"
        },
        "required": null,
        "status": null,
        "types": [
          {
            "codings": [
              {
                "code": "X",
                "display": "Arbitrary string",
                "system": "Jr.",
                "user_selected": true,
                "version": "r4"
              }
            ],
            "extensions": [
              {
                "extension": null,
                "url": "https://morf.health/fhir/r4/extensions/formats",
                "value": "arbitrary value of any type (i.e. not necessarily a string)",
                "value_field_label": null
              }
            ],
            "text": "Arbitrary concept string value"
          }
        ]
      }
    ],
    "patient_id": "c98e27e4-18c2-4e01-bd86-eca13db78889",
    "patient_instruction": "Please bring your insurance ID card and your medications and arrive 10 minutes early. Thank you.",
    "periods": [
      {
        "end": "2025-08-13T18:41:44.263+00:00",
        "start": "2025-08-13T17:41:44.263+00:00"
      }
    ],
    "priority": 1,
    "reason_code": [
      {
        "codings": [
          {
            "code": "X",
            "display": "Arbitrary string",
            "system": "Jr.",
            "user_selected": true,
            "version": "r4"
          }
        ],
        "extensions": [
          {
            "extension": null,
            "url": "https://morf.health/fhir/r4/extensions/formats",
            "value": "arbitrary value of any type (i.e. not necessarily a string)",
            "value_field_label": null
          }
        ],
        "text": "Arbitrary concept string value"
      }
    ],
    "reason_references": [
      {
        "display": "PatientX",
        "identifier": {
          "period": {
            "end": "2025-08-13T18:41:44.263+00:00",
            "start": "2025-08-13T17:41:44.263+00:00"
          },
          "system": "https://morf.health/fhir/r4/identifier_types/healthie",
          "use": "secondary",
          "value": "401421231"
        },
        "reference": {
          "type": "Patient",
          "value": "1234"
        },
        "type": "Patient"
      }
    ],
    "service_categories": [
      {
        "codings": [
          {
            "code": "X",
            "display": "Arbitrary string",
            "system": "Jr.",
            "user_selected": true,
            "version": "r4"
          }
        ],
        "extensions": [
          {
            "extension": null,
            "url": "https://morf.health/fhir/r4/extensions/formats",
            "value": "arbitrary value of any type (i.e. not necessarily a string)",
            "value_field_label": null
          }
        ],
        "text": "Arbitrary concept string value"
      }
    ],
    "service_types": [
      {
        "codings": [
          {
            "code": "X",
            "display": "Arbitrary string",
            "system": "Jr.",
            "user_selected": true,
            "version": "r4"
          }
        ],
        "extensions": [
          {
            "extension": null,
            "url": "https://morf.health/fhir/r4/extensions/formats",
            "value": "arbitrary value of any type (i.e. not necessarily a string)",
            "value_field_label": null
          }
        ],
        "text": "Arbitrary concept string value"
      }
    ],
    "slots": [
      {
        "display": "PatientX",
        "identifier": {
          "period": {
            "end": "2025-08-13T18:41:44.263+00:00",
            "start": "2025-08-13T17:41:44.263+00:00"
          },
          "system": "https://morf.health/fhir/r4/identifier_types/healthie",
          "use": "secondary",
          "value": "401421231"
        },
        "reference": {
          "type": "Patient",
          "value": "1234"
        },
        "type": "Patient"
      }
    ],
    "specialities": [
      {
        "codings": [
          {
            "code": "X",
            "display": "Arbitrary string",
            "system": "Jr.",
            "user_selected": true,
            "version": "r4"
          }
        ],
        "extensions": [
          {
            "extension": null,
            "url": "https://morf.health/fhir/r4/extensions/formats",
            "value": "arbitrary value of any type (i.e. not necessarily a string)",
            "value_field_label": null
          }
        ],
        "text": "Arbitrary concept string value"
      }
    ],
    "start": "2024-05-01T14:00:00+05:00",
    "status": null,
    "supporting_information_references": [
      {
        "display": "PatientX",
        "identifier": {
          "period": {
            "end": "2025-08-13T18:41:44.263+00:00",
            "start": "2025-08-13T17:41:44.263+00:00"
          },
          "system": "https://morf.health/fhir/r4/identifier_types/healthie",
          "use": "secondary",
          "value": "401421231"
        },
        "reference": {
          "type": "Patient",
          "value": "1234"
        },
        "type": "Patient"
      }
    ],
    "text": "Intake Appointment with Dr. Jenner"
  }
  ```
</RequestExample>

<ResponseExample>
  ```json Description theme={null}
  {
    "appointment_type": {
      "codings": {
        "code": "Symbol in syntax defined by the system",
        "display": "Representation defined by the system",
        "system": "Identity of the terminology system",
        "user_selected": "Coding was chosen directly by the user",
        "version": "Version of the system - if relevant"
      },
      "extensions": {
        "extension": null,
        "url": "The URL giving the meaning of the extension",
        "value": {
          "bool_value": null,
          "list_value": {
            "values": null
          },
          "null_value": null,
          "number_value": null,
          "string_value": null,
          "struct_value": null
        },
        "value_field_label": null
      },
      "text": "Plain text representation of the concept"
    },
    "based_on_service_requests": {
      "display": "Text alternative for the resource",
      "identifier": {
        "period": {
          "end": "Optional end of the period - inclusive, missing denotes ongoing",
          "start": "The beginning of the period - inclusive"
        },
        "system": "The identifier's namespace",
        "use": "The identifier's usage",
        "value": "The identifier value"
      },
      "reference": {
        "type": "Reference ID type",
        "value": "Reference ID value"
      },
      "type": "Type the reference refers"
    },
    "comment": "Comment about the Appointment",
    "created_at": "Appointment created at timestamp",
    "description": "Appointment description",
    "end": "End time of the Appointment",
    "extensions": {
      "extension": null,
      "url": "The URL giving the meaning of the extension",
      "value": {
        "bool_value": null,
        "list_value": {
          "values": null
        },
        "null_value": null,
        "number_value": null,
        "string_value": null,
        "struct_value": null
      },
      "value_field_label": null
    },
    "id": "ID of the Appointment object",
    "identifiers": {
      "period": {
        "end": "Optional end of the period - inclusive, missing denotes ongoing",
        "start": "The beginning of the period - inclusive"
      },
      "system": "The identifier's namespace",
      "use": "The identifier's usage",
      "value": "The identifier value"
    },
    "length_minutes": "Length of the Appointment in minutes",
    "meta": {
      "extensions": {
        "extension": null,
        "url": "The URL giving the meaning of the extension",
        "value": {
          "bool_value": null,
          "list_value": {
            "values": null
          },
          "null_value": null,
          "number_value": null,
          "string_value": null,
          "struct_value": null
        },
        "value_field_label": null
      },
      "id": "ID of the Meta element",
      "last_updated": "Last updated timestamp for the corresponding Resource object",
      "profiles": "Profiles this Resource claims to conform to",
      "security_labels": {
        "code": "Symbol in syntax defined by the system",
        "display": "Representation defined by the system",
        "system": "Identity of the terminology system",
        "user_selected": "Coding was chosen directly by the user",
        "version": "Version of the system - if relevant"
      },
      "source": "The source of the corresponding Resource object",
      "tags": {
        "code": "Symbol in syntax defined by the system",
        "display": "Representation defined by the system",
        "system": "Identity of the terminology system",
        "user_selected": "Coding was chosen directly by the user",
        "version": "Version of the system - if relevant"
      },
      "version_id": "Version ID of the Meta element"
    },
    "participants": {
      "actor": {
        "display": "Text alternative for the resource",
        "identifier": {
          "period": {
            "end": "Optional end of the period - inclusive, missing denotes ongoing",
            "start": "The beginning of the period - inclusive"
          },
          "system": "The identifier's namespace",
          "use": "The identifier's usage",
          "value": "The identifier value"
        },
        "reference": {
          "type": "Reference ID type",
          "value": "Reference ID value"
        },
        "type": "Type the reference refers"
      },
      "extensions": {
        "extension": null,
        "url": "The URL giving the meaning of the extension",
        "value": {
          "bool_value": null,
          "list_value": {
            "values": null
          },
          "null_value": null,
          "number_value": null,
          "string_value": null,
          "struct_value": null
        },
        "value_field_label": null
      },
      "id": "ID of the Participant object",
      "modifier_extensions": {
        "extension": null,
        "url": "The URL giving the meaning of the extension",
        "value": {
          "bool_value": null,
          "list_value": {
            "values": null
          },
          "null_value": null,
          "number_value": null,
          "string_value": null,
          "struct_value": null
        },
        "value_field_label": null
      },
      "period": {
        "end": "Optional end of the period - inclusive, missing denotes ongoing",
        "start": "The beginning of the period - inclusive"
      },
      "required": "Participant's required status",
      "status": "The acceptance status of the Participant",
      "types": {
        "codings": {
          "code": "Symbol in syntax defined by the system",
          "display": "Representation defined by the system",
          "system": "Identity of the terminology system",
          "user_selected": "Coding was chosen directly by the user",
          "version": "Version of the system - if relevant"
        },
        "extensions": {
          "extension": null,
          "url": "The URL giving the meaning of the extension",
          "value": {
            "bool_value": null,
            "list_value": {
              "values": null
            },
            "null_value": null,
            "number_value": null,
            "string_value": null,
            "struct_value": null
          },
          "value_field_label": null
        },
        "text": "Plain text representation of the concept"
      }
    },
    "patient_id": "ID of the associated Patient participating in the appointment - parsed from the participants set",
    "patient_instruction": "Instructions for the Patient re: Appointment",
    "periods": {
      "end": "Optional end of the period - inclusive, missing denotes ongoing",
      "start": "The beginning of the period - inclusive"
    },
    "priority": "Used to make informed decisions if needing to re-prioritize",
    "reason_code": {
      "codings": {
        "code": "Symbol in syntax defined by the system",
        "display": "Representation defined by the system",
        "system": "Identity of the terminology system",
        "user_selected": "Coding was chosen directly by the user",
        "version": "Version of the system - if relevant"
      },
      "extensions": {
        "extension": null,
        "url": "The URL giving the meaning of the extension",
        "value": {
          "bool_value": null,
          "list_value": {
            "values": null
          },
          "null_value": null,
          "number_value": null,
          "string_value": null,
          "struct_value": null
        },
        "value_field_label": null
      },
      "text": "Plain text representation of the concept"
    },
    "reason_references": {
      "display": "Text alternative for the resource",
      "identifier": {
        "period": {
          "end": "Optional end of the period - inclusive, missing denotes ongoing",
          "start": "The beginning of the period - inclusive"
        },
        "system": "The identifier's namespace",
        "use": "The identifier's usage",
        "value": "The identifier value"
      },
      "reference": {
        "type": "Reference ID type",
        "value": "Reference ID value"
      },
      "type": "Type the reference refers"
    },
    "service_categories": {
      "codings": {
        "code": "Symbol in syntax defined by the system",
        "display": "Representation defined by the system",
        "system": "Identity of the terminology system",
        "user_selected": "Coding was chosen directly by the user",
        "version": "Version of the system - if relevant"
      },
      "extensions": {
        "extension": null,
        "url": "The URL giving the meaning of the extension",
        "value": {
          "bool_value": null,
          "list_value": {
            "values": null
          },
          "null_value": null,
          "number_value": null,
          "string_value": null,
          "struct_value": null
        },
        "value_field_label": null
      },
      "text": "Plain text representation of the concept"
    },
    "service_types": {
      "codings": {
        "code": "Symbol in syntax defined by the system",
        "display": "Representation defined by the system",
        "system": "Identity of the terminology system",
        "user_selected": "Coding was chosen directly by the user",
        "version": "Version of the system - if relevant"
      },
      "extensions": {
        "extension": null,
        "url": "The URL giving the meaning of the extension",
        "value": {
          "bool_value": null,
          "list_value": {
            "values": null
          },
          "null_value": null,
          "number_value": null,
          "string_value": null,
          "struct_value": null
        },
        "value_field_label": null
      },
      "text": "Plain text representation of the concept"
    },
    "slots": {
      "display": "Text alternative for the resource",
      "identifier": {
        "period": {
          "end": "Optional end of the period - inclusive, missing denotes ongoing",
          "start": "The beginning of the period - inclusive"
        },
        "system": "The identifier's namespace",
        "use": "The identifier's usage",
        "value": "The identifier value"
      },
      "reference": {
        "type": "Reference ID type",
        "value": "Reference ID value"
      },
      "type": "Type the reference refers"
    },
    "specialities": {
      "codings": {
        "code": "Symbol in syntax defined by the system",
        "display": "Representation defined by the system",
        "system": "Identity of the terminology system",
        "user_selected": "Coding was chosen directly by the user",
        "version": "Version of the system - if relevant"
      },
      "extensions": {
        "extension": null,
        "url": "The URL giving the meaning of the extension",
        "value": {
          "bool_value": null,
          "list_value": {
            "values": null
          },
          "null_value": null,
          "number_value": null,
          "string_value": null,
          "struct_value": null
        },
        "value_field_label": null
      },
      "text": "Plain text representation of the concept"
    },
    "start": "Start time of the Appointment",
    "status": "Appointment status",
    "supporting_information_references": {
      "display": "Text alternative for the resource",
      "identifier": {
        "period": {
          "end": "Optional end of the period - inclusive, missing denotes ongoing",
          "start": "The beginning of the period - inclusive"
        },
        "system": "The identifier's namespace",
        "use": "The identifier's usage",
        "value": "The identifier value"
      },
      "reference": {
        "type": "Reference ID type",
        "value": "Reference ID value"
      },
      "type": "Type the reference refers"
    },
    "text": "Text summary of the Appointment, for human interpretation"
  }
  ```
</ResponseExample>

### Payload Field Details

<ResponseField name="Appointment" type="Event Payload">
  <Expandable title="fields" defaultOpen="true">
    <ResponseField name="id" type="string" required>
      `ID` ID of the Appointment object

      ```json CEL theme={null}
      id
      ```

      ```json Example theme={null}
      "e5eb4711-75e7-46f1-b36e-6e869c02926d"
      ```
    </ResponseField>

    <ResponseField name="patient_id" type="string">
      `ID` ID of the associated Patient participating in the appointment - parsed from the participants set

      ```json CEL theme={null}
      patient_id
      ```

      ```json Example theme={null}
      "c98e27e4-18c2-4e01-bd86-eca13db78889"
      ```
    </ResponseField>

    <ResponseField name="text" type="string">
      `HI` `ID` `PII` Text summary of the Appointment, for human interpretation

      ```json CEL theme={null}
      text
      ```

      ```json Example theme={null}
      "Intake Appointment with Dr. Jenner"
      ```
    </ResponseField>

    <ResponseField name="extensions" type="[]object" required>
      Additional content defined by implementations

      ```json CEL theme={null}
      extensions
      ```

      ```json Example theme={null}
      [
      {
      "extension": null,
      "url": "https://morf.health/fhir/r4/extensions/formats",
      "value": "arbitrary value of any type (i.e. not necessarily a string)",
      "value_field_label": null
      }
      ]
      ```
    </ResponseField>

    <ResponseField name="extensions.map(x, x.url)" type="[]string" required>
      `HI` `PII` Mapped array of: The URL giving the meaning of the extension

      ```json CEL theme={null}
      extensions.map(x, x.url)
      ```

      ```json Example theme={null}
      [
      "https://morf.health/fhir/r4/extensions/formats"
      ]
      ```
    </ResponseField>

    <ResponseField name="extensions.map(x, x.value_field_label)" type="[]string" required>
      *Description coming soon*

      ```json CEL theme={null}
      extensions.map(x, x.value_field_label)
      ```

      ```json Example theme={null}
      [
      null
      ]
      ```
    </ResponseField>

    <ResponseField name="extensions.map(x, x.value)" type="[]bool" required>
      `HI` `PII` Mapped array of: The extension's value

      ```json CEL theme={null}
      extensions.map(x, x.value)
      ```

      ```json Example theme={null}
      [
      "arbitrary value of any type (i.e. not necessarily a string)"
      ]
      ```
    </ResponseField>

    <ResponseField name="value.null_value" type="google.protobuf.NullValue">
      `HI` `PII` Mapped array of: The extension's value

      ```json CEL theme={null}
      value.null_value
      ```

      ```json Example theme={null}
      ```
    </ResponseField>

    <ResponseField name="extensions.map(x, x.extension)" type="[]bool" required>
      `HI` `PII` Mapped array of: Sub-extensions (recursive)

      ```json CEL theme={null}
      extensions.map(x, x.extension)
      ```

      ```json Example theme={null}
      [
      [
      {
      "extension": null,
      "url": "https://morf.health/fhir/r4/extensions/formats",
      "value": "arbitrary value of any type (i.e. not necessarily a string)",
      "value_field_label": null
      }
      ]
      ]
      ```
    </ResponseField>

    <ResponseField name="identifiers" type="[]object" required>
      Associated Identifiers for the Appointment

      ```json CEL theme={null}
      identifiers
      ```

      ```json Example theme={null}
      [
      {
      "period": {
      "end": "2025-08-13T18:41:44.263+00:00",
      "start": "2025-08-13T17:41:44.263+00:00"
      },
      "system": "https://morf.health/fhir/r4/identifier_types/healthie",
      "use": "secondary",
      "value": "401421231"
      }
      ]
      ```
    </ResponseField>

    <ResponseField name="use" type="fhir.v4.codes.IdentifierUse">
      Mapped array of: The identifier's usage

      ```json CEL theme={null}
      use
      ```

      ```json Example theme={null}
      fhir.v4.codes.IdentifierUse.IDENTIFIER_USE_USUAL
      fhir.v4.codes.IdentifierUse.IDENTIFIER_USE_OFFICIAL
      fhir.v4.codes.IdentifierUse.IDENTIFIER_USE_TEMP
      fhir.v4.codes.IdentifierUse.IDENTIFIER_USE_SECONDARY
      fhir.v4.codes.IdentifierUse.IDENTIFIER_USE_OLD
      ```
    </ResponseField>

    <ResponseField name="identifiers.map(x, x.system)" type="[]string" required>
      Mapped array of: The identifier's namespace

      ```json CEL theme={null}
      identifiers.map(x, x.system)
      ```

      ```json Example theme={null}
      [
      "https://morf.health/fhir/r4/identifier_types/healthie"
      ]
      ```
    </ResponseField>

    <ResponseField name="identifiers.map(x, x.value)" type="[]string" required>
      `ID` Mapped array of: The identifier value

      ```json CEL theme={null}
      identifiers.map(x, x.value)
      ```

      ```json Example theme={null}
      [
      "401421231"
      ]
      ```
    </ResponseField>

    <ResponseField name="identifiers.map(x, x.period)" type="[]bool" required>
      Mapped array of: Time period the identifier was / is in use

      ```json CEL theme={null}
      identifiers.map(x, x.period)
      ```

      ```json Example theme={null}
      [
      {
      "end": "2025-08-13T18:41:44.263+00:00",
      "start": "2025-08-13T17:41:44.263+00:00"
      }
      ]
      ```
    </ResponseField>

    <ResponseField name="status" type="fhir.v4.codes.AppointmentStatusCode" required>
      Appointment status

      ```json CEL theme={null}
      status
      ```

      ```json Example theme={null}
      fhir.v4.codes.AppointmentStatusCode.APPOINTMENT_STATUS_CODE_PROPOSED
      fhir.v4.codes.AppointmentStatusCode.APPOINTMENT_STATUS_CODE_PENDING
      fhir.v4.codes.AppointmentStatusCode.APPOINTMENT_STATUS_CODE_BOOKED
      fhir.v4.codes.AppointmentStatusCode.APPOINTMENT_STATUS_CODE_ARRIVED
      fhir.v4.codes.AppointmentStatusCode.APPOINTMENT_STATUS_CODE_FULFILLED
      fhir.v4.codes.AppointmentStatusCode.APPOINTMENT_STATUS_CODE_CANCELLED
      fhir.v4.codes.AppointmentStatusCode.APPOINTMENT_STATUS_CODE_NOSHOW
      fhir.v4.codes.AppointmentStatusCode.APPOINTMENT_STATUS_CODE_ENTERED_IN_ERROR
      fhir.v4.codes.AppointmentStatusCode.APPOINTMENT_STATUS_CODE_CHECKED_IN
      fhir.v4.codes.AppointmentStatusCode.APPOINTMENT_STATUS_CODE_WAITLIST
      ```
    </ResponseField>

    <ResponseField name="service_categories" type="[]object" required>
      A broad categorization of the service that is to be performed during this appointment

      ```json CEL theme={null}
      service_categories
      ```

      ```json Example theme={null}
      [
      {
      "codings": [
      {
        "code": "X",
        "display": "Arbitrary string",
        "system": "Jr.",
        "user_selected": true,
        "version": "r4"
      }
      ],
      "extensions": [
      {
        "extension": null,
        "url": "https://morf.health/fhir/r4/extensions/formats",
        "value": "arbitrary value of any type (i.e. not necessarily a string)",
        "value_field_label": null
      }
      ],
      "text": "Arbitrary concept string value"
      }
      ]
      ```
    </ResponseField>

    <ResponseField name="service_categories.map(x, x.extensions)" type="[]bool" required>
      Mapped array of: Additional content defined by implementations

      ```json CEL theme={null}
      service_categories.map(x, x.extensions)
      ```

      ```json Example theme={null}
      [
      [
      {
      "extension": null,
      "url": "https://morf.health/fhir/r4/extensions/formats",
      "value": "arbitrary value of any type (i.e. not necessarily a string)",
      "value_field_label": null
      }
      ]
      ]
      ```
    </ResponseField>

    <ResponseField name="value.null_value" type="google.protobuf.NullValue">
      Mapped array of: Additional content defined by implementations

      ```json CEL theme={null}
      value.null_value
      ```

      ```json Example theme={null}
      ```
    </ResponseField>

    <ResponseField name="service_categories.map(x, x.codings)" type="[]bool" required>
      Mapped array of: Codings defined by terminology system(s)

      ```json CEL theme={null}
      service_categories.map(x, x.codings)
      ```

      ```json Example theme={null}
      [
      [
      {
      "code": "X",
      "display": "Arbitrary string",
      "system": "Jr.",
      "user_selected": true,
      "version": "r4"
      }
      ]
      ]
      ```
    </ResponseField>

    <ResponseField name="service_categories.map(x, x.text)" type="[]string" required>
      `HI` `PII` Mapped array of: Plain text representation of the concept

      ```json CEL theme={null}
      service_categories.map(x, x.text)
      ```

      ```json Example theme={null}
      [
      "Arbitrary concept string value"
      ]
      ```
    </ResponseField>

    <ResponseField name="service_types" type="[]object" required>
      The specific service(s) that is/are to be performed during this appointment

      ```json CEL theme={null}
      service_types
      ```

      ```json Example theme={null}
      [
      {
      "codings": [
      {
        "code": "X",
        "display": "Arbitrary string",
        "system": "Jr.",
        "user_selected": true,
        "version": "r4"
      }
      ],
      "extensions": [
      {
        "extension": null,
        "url": "https://morf.health/fhir/r4/extensions/formats",
        "value": "arbitrary value of any type (i.e. not necessarily a string)",
        "value_field_label": null
      }
      ],
      "text": "Arbitrary concept string value"
      }
      ]
      ```
    </ResponseField>

    <ResponseField name="service_types.map(x, x.extensions)" type="[]bool" required>
      Mapped array of: Additional content defined by implementations

      ```json CEL theme={null}
      service_types.map(x, x.extensions)
      ```

      ```json Example theme={null}
      [
      [
      {
      "extension": null,
      "url": "https://morf.health/fhir/r4/extensions/formats",
      "value": "arbitrary value of any type (i.e. not necessarily a string)",
      "value_field_label": null
      }
      ]
      ]
      ```
    </ResponseField>

    <ResponseField name="value.null_value" type="google.protobuf.NullValue">
      Mapped array of: Additional content defined by implementations

      ```json CEL theme={null}
      value.null_value
      ```

      ```json Example theme={null}
      ```
    </ResponseField>

    <ResponseField name="service_types.map(x, x.codings)" type="[]bool" required>
      Mapped array of: Codings defined by terminology system(s)

      ```json CEL theme={null}
      service_types.map(x, x.codings)
      ```

      ```json Example theme={null}
      [
      [
      {
      "code": "X",
      "display": "Arbitrary string",
      "system": "Jr.",
      "user_selected": true,
      "version": "r4"
      }
      ]
      ]
      ```
    </ResponseField>

    <ResponseField name="service_types.map(x, x.text)" type="[]string" required>
      `HI` `PII` Mapped array of: Plain text representation of the concept

      ```json CEL theme={null}
      service_types.map(x, x.text)
      ```

      ```json Example theme={null}
      [
      "Arbitrary concept string value"
      ]
      ```
    </ResponseField>

    <ResponseField name="specialities" type="[]object" required>
      The specialty of a practitioner that would be required to perform the service requested in this appointment

      ```json CEL theme={null}
      specialities
      ```

      ```json Example theme={null}
      [
      {
      "codings": [
      {
        "code": "X",
        "display": "Arbitrary string",
        "system": "Jr.",
        "user_selected": true,
        "version": "r4"
      }
      ],
      "extensions": [
      {
        "extension": null,
        "url": "https://morf.health/fhir/r4/extensions/formats",
        "value": "arbitrary value of any type (i.e. not necessarily a string)",
        "value_field_label": null
      }
      ],
      "text": "Arbitrary concept string value"
      }
      ]
      ```
    </ResponseField>

    <ResponseField name="specialities.map(x, x.extensions)" type="[]bool" required>
      Mapped array of: Additional content defined by implementations

      ```json CEL theme={null}
      specialities.map(x, x.extensions)
      ```

      ```json Example theme={null}
      [
      [
      {
      "extension": null,
      "url": "https://morf.health/fhir/r4/extensions/formats",
      "value": "arbitrary value of any type (i.e. not necessarily a string)",
      "value_field_label": null
      }
      ]
      ]
      ```
    </ResponseField>

    <ResponseField name="value.null_value" type="google.protobuf.NullValue">
      Mapped array of: Additional content defined by implementations

      ```json CEL theme={null}
      value.null_value
      ```

      ```json Example theme={null}
      ```
    </ResponseField>

    <ResponseField name="specialities.map(x, x.codings)" type="[]bool" required>
      Mapped array of: Codings defined by terminology system(s)

      ```json CEL theme={null}
      specialities.map(x, x.codings)
      ```

      ```json Example theme={null}
      [
      [
      {
      "code": "X",
      "display": "Arbitrary string",
      "system": "Jr.",
      "user_selected": true,
      "version": "r4"
      }
      ]
      ]
      ```
    </ResponseField>

    <ResponseField name="specialities.map(x, x.text)" type="[]string" required>
      `HI` `PII` Mapped array of: Plain text representation of the concept

      ```json CEL theme={null}
      specialities.map(x, x.text)
      ```

      ```json Example theme={null}
      [
      "Arbitrary concept string value"
      ]
      ```
    </ResponseField>

    <ResponseField name="appointment_type" type="object">
      Appointment Type

      ```json CEL theme={null}
      appointment_type
      ```

      ```json Example theme={null}
      {
      "codings": [
      {
      "code": "X",
      "display": "Arbitrary string",
      "system": "Jr.",
      "user_selected": true,
      "version": "r4"
      }
      ],
      "extensions": [
      {
      "extension": null,
      "url": "https://morf.health/fhir/r4/extensions/formats",
      "value": "arbitrary value of any type (i.e. not necessarily a string)",
      "value_field_label": null
      }
      ],
      "text": "Arbitrary concept string value"
      }
      ```
    </ResponseField>

    <ResponseField name="appointment_type.extensions" type="[]object">
      Additional content defined by implementations

      ```json CEL theme={null}
      appointment_type.extensions
      ```

      ```json Example theme={null}
      [
      {
      "extension": null,
      "url": "https://morf.health/fhir/r4/extensions/formats",
      "value": "arbitrary value of any type (i.e. not necessarily a string)",
      "value_field_label": null
      }
      ]
      ```
    </ResponseField>

    <ResponseField name="appointment_type.extensions.map(x, x.url)" type="[]string" required>
      `HI` `PII` Mapped array of: The URL giving the meaning of the extension

      ```json CEL theme={null}
      appointment_type.extensions.map(x, x.url)
      ```

      ```json Example theme={null}
      [
      "https://morf.health/fhir/r4/extensions/formats"
      ]
      ```
    </ResponseField>

    <ResponseField name="appointment_type.extensions.map(x, x.value_field_label)" type="[]string" required>
      *Description coming soon*

      ```json CEL theme={null}
      appointment_type.extensions.map(x, x.value_field_label)
      ```

      ```json Example theme={null}
      [
      null
      ]
      ```
    </ResponseField>

    <ResponseField name="appointment_type.extensions.map(x, x.value)" type="[]bool" required>
      `HI` `PII` Mapped array of: The extension's value

      ```json CEL theme={null}
      appointment_type.extensions.map(x, x.value)
      ```

      ```json Example theme={null}
      [
      "arbitrary value of any type (i.e. not necessarily a string)"
      ]
      ```
    </ResponseField>

    <ResponseField name="value.null_value" type="google.protobuf.NullValue">
      `HI` `PII` Mapped array of: The extension's value

      ```json CEL theme={null}
      value.null_value
      ```

      ```json Example theme={null}
      ```
    </ResponseField>

    <ResponseField name="appointment_type.extensions.map(x, x.extension)" type="[]bool" required>
      `HI` `PII` Mapped array of: Sub-extensions (recursive)

      ```json CEL theme={null}
      appointment_type.extensions.map(x, x.extension)
      ```

      ```json Example theme={null}
      [
      [
      {
      "extension": null,
      "url": "https://morf.health/fhir/r4/extensions/formats",
      "value": "arbitrary value of any type (i.e. not necessarily a string)",
      "value_field_label": null
      }
      ]
      ]
      ```
    </ResponseField>

    <ResponseField name="appointment_type.codings" type="[]object">
      Codings defined by terminology system(s)

      ```json CEL theme={null}
      appointment_type.codings
      ```

      ```json Example theme={null}
      [
      {
      "code": "X",
      "display": "Arbitrary string",
      "system": "Jr.",
      "user_selected": true,
      "version": "r4"
      }
      ]
      ```
    </ResponseField>

    <ResponseField name="appointment_type.codings.map(x, x.system)" type="[]string" required>
      `HI` Mapped array of: Identity of the terminology system

      ```json CEL theme={null}
      appointment_type.codings.map(x, x.system)
      ```

      ```json Example theme={null}
      [
      "Jr."
      ]
      ```
    </ResponseField>

    <ResponseField name="appointment_type.codings.map(x, x.version)" type="[]string" required>
      Mapped array of: Version of the system - if relevant

      ```json CEL theme={null}
      appointment_type.codings.map(x, x.version)
      ```

      ```json Example theme={null}
      [
      "r4"
      ]
      ```
    </ResponseField>

    <ResponseField name="appointment_type.codings.map(x, x.code)" type="[]string" required>
      `HI` `PII` Mapped array of: Symbol in syntax defined by the system

      ```json CEL theme={null}
      appointment_type.codings.map(x, x.code)
      ```

      ```json Example theme={null}
      [
      "X"
      ]
      ```
    </ResponseField>

    <ResponseField name="appointment_type.codings.map(x, x.display)" type="[]string" required>
      `HI` `PII` Mapped array of: Representation defined by the system

      ```json CEL theme={null}
      appointment_type.codings.map(x, x.display)
      ```

      ```json Example theme={null}
      [
      "Arbitrary string"
      ]
      ```
    </ResponseField>

    <ResponseField name="appointment_type.codings.map(x, x.user_selected)" type="[]bool" required>
      Mapped array of: Coding was chosen directly by the user

      ```json CEL theme={null}
      appointment_type.codings.map(x, x.user_selected)
      ```

      ```json Example theme={null}
      [
      true
      ]
      ```
    </ResponseField>

    <ResponseField name="appointment_type.text" type="string">
      `HI` `PII` Plain text representation of the concept

      ```json CEL theme={null}
      appointment_type.text
      ```

      ```json Example theme={null}
      "Arbitrary concept string value"
      ```
    </ResponseField>

    <ResponseField name="reason_code" type="[]object" required>
      Coded reason this appointment is scheduled

      ```json CEL theme={null}
      reason_code
      ```

      ```json Example theme={null}
      [
      {
      "codings": [
      {
        "code": "X",
        "display": "Arbitrary string",
        "system": "Jr.",
        "user_selected": true,
        "version": "r4"
      }
      ],
      "extensions": [
      {
        "extension": null,
        "url": "https://morf.health/fhir/r4/extensions/formats",
        "value": "arbitrary value of any type (i.e. not necessarily a string)",
        "value_field_label": null
      }
      ],
      "text": "Arbitrary concept string value"
      }
      ]
      ```
    </ResponseField>

    <ResponseField name="reason_code.map(x, x.extensions)" type="[]bool" required>
      Mapped array of: Additional content defined by implementations

      ```json CEL theme={null}
      reason_code.map(x, x.extensions)
      ```

      ```json Example theme={null}
      [
      [
      {
      "extension": null,
      "url": "https://morf.health/fhir/r4/extensions/formats",
      "value": "arbitrary value of any type (i.e. not necessarily a string)",
      "value_field_label": null
      }
      ]
      ]
      ```
    </ResponseField>

    <ResponseField name="value.null_value" type="google.protobuf.NullValue">
      Mapped array of: Additional content defined by implementations

      ```json CEL theme={null}
      value.null_value
      ```

      ```json Example theme={null}
      ```
    </ResponseField>

    <ResponseField name="reason_code.map(x, x.codings)" type="[]bool" required>
      Mapped array of: Codings defined by terminology system(s)

      ```json CEL theme={null}
      reason_code.map(x, x.codings)
      ```

      ```json Example theme={null}
      [
      [
      {
      "code": "X",
      "display": "Arbitrary string",
      "system": "Jr.",
      "user_selected": true,
      "version": "r4"
      }
      ]
      ]
      ```
    </ResponseField>

    <ResponseField name="reason_code.map(x, x.text)" type="[]string" required>
      `HI` `PII` Mapped array of: Plain text representation of the concept

      ```json CEL theme={null}
      reason_code.map(x, x.text)
      ```

      ```json Example theme={null}
      [
      "Arbitrary concept string value"
      ]
      ```
    </ResponseField>

    <ResponseField name="priority" type="uint64">
      Used to make informed decisions if needing to re-prioritize

      ```json CEL theme={null}
      priority
      ```

      ```json Example theme={null}
      1
      ```
    </ResponseField>

    <ResponseField name="description" type="string">
      `HI` `PII` Appointment description

      ```json CEL theme={null}
      description
      ```

      ```json Example theme={null}
      "Intake Appointment"
      ```
    </ResponseField>

    <ResponseField name="start" type="timing.v1.Timestamp">
      Start time of the Appointment

      ```json CEL theme={null}
      start
      ```

      ```json Example theme={null}
      "2024-05-01T14:00:00+05:00"
      ```
    </ResponseField>

    <ResponseField name="end" type="timing.v1.Timestamp">
      End time of the Appointment

      ```json CEL theme={null}
      end
      ```

      ```json Example theme={null}
      "2024-05-01T14:30:00+05:00"
      ```
    </ResponseField>

    <ResponseField name="length_minutes" type="uint64">
      Length of the Appointment in minutes

      ```json CEL theme={null}
      length_minutes
      ```

      ```json Example theme={null}
      30
      ```
    </ResponseField>

    <ResponseField name="created_at" type="timing.v1.Timestamp">
      Appointment created at timestamp

      ```json CEL theme={null}
      created_at
      ```

      ```json Example theme={null}
      "2024-04-30T13:12:09+00:00"
      ```
    </ResponseField>

    <ResponseField name="comment" type="string">
      Comment about the Appointment

      ```json CEL theme={null}
      comment
      ```

      ```json Example theme={null}
      "Intake forms are complete for patient."
      ```
    </ResponseField>

    <ResponseField name="patient_instruction" type="string">
      Instructions for the Patient re: Appointment

      ```json CEL theme={null}
      patient_instruction
      ```

      ```json Example theme={null}
      "Please bring your insurance ID card and your medications and arrive 10 minutes early. Thank you."
      ```
    </ResponseField>

    <ResponseField name="participants" type="[]object" required>
      Participants (invitees) to the Appointment

      ```json CEL theme={null}
      participants
      ```

      ```json Example theme={null}
      [
      {
      "actor": {
      "display": "PatientX",
      "identifier": {
        "period": {
          "end": "2025-08-13T18:41:44.263+00:00",
          "start": "2025-08-13T17:41:44.263+00:00"
        },
        "system": "https://morf.health/fhir/r4/identifier_types/healthie",
        "use": "secondary",
        "value": "401421231"
      },
      "reference": {
        "type": "Patient",
        "value": "1234"
      },
      "type": "Patient"
      },
      "extensions": [
      {
        "extension": null,
        "url": "https://morf.health/fhir/r4/extensions/formats",
        "value": "arbitrary value of any type (i.e. not necessarily a string)",
        "value_field_label": null
      }
      ],
      "id": "e5eb4711-75e7-46f1-b36e-6e869c02926d",
      "modifier_extensions": [
      {
        "extension": null,
        "url": "https://morf.health/fhir/r4/extensions/formats",
        "value": "arbitrary value of any type (i.e. not necessarily a string)",
        "value_field_label": null
      }
      ],
      "period": {
      "end": "2025-08-13T18:41:44.263+00:00",
      "start": "2025-08-13T17:41:44.263+00:00"
      },
      "required": null,
      "status": null,
      "types": [
      {
        "codings": [
          {
            "code": "X",
            "display": "Arbitrary string",
            "system": "Jr.",
            "user_selected": true,
            "version": "r4"
          }
        ],
        "extensions": [
          {
            "extension": null,
            "url": "https://morf.health/fhir/r4/extensions/formats",
            "value": "arbitrary value of any type (i.e. not necessarily a string)",
            "value_field_label": null
          }
        ],
        "text": "Arbitrary concept string value"
      }
      ]
      }
      ]
      ```
    </ResponseField>

    <ResponseField name="participants.map(x, x.id)" type="[]string" required>
      `ID` Mapped array of: ID of the Participant object

      ```json CEL theme={null}
      participants.map(x, x.id)
      ```

      ```json Example theme={null}
      [
      "e5eb4711-75e7-46f1-b36e-6e869c02926d"
      ]
      ```
    </ResponseField>

    <ResponseField name="participants.map(x, x.extensions)" type="[]bool" required>
      Mapped array of: Additional content defined by implementations

      ```json CEL theme={null}
      participants.map(x, x.extensions)
      ```

      ```json Example theme={null}
      [
      [
      {
      "extension": null,
      "url": "https://morf.health/fhir/r4/extensions/formats",
      "value": "arbitrary value of any type (i.e. not necessarily a string)",
      "value_field_label": null
      }
      ]
      ]
      ```
    </ResponseField>

    <ResponseField name="value.null_value" type="google.protobuf.NullValue">
      Mapped array of: Additional content defined by implementations

      ```json CEL theme={null}
      value.null_value
      ```

      ```json Example theme={null}
      ```
    </ResponseField>

    <ResponseField name="participants.map(x, x.modifier_extensions)" type="[]bool" required>
      Mapped array of: Unignorable additional content defined by implementations

      ```json CEL theme={null}
      participants.map(x, x.modifier_extensions)
      ```

      ```json Example theme={null}
      [
      [
      {
      "extension": null,
      "url": "https://morf.health/fhir/r4/extensions/formats",
      "value": "arbitrary value of any type (i.e. not necessarily a string)",
      "value_field_label": null
      }
      ]
      ]
      ```
    </ResponseField>

    <ResponseField name="value.null_value" type="google.protobuf.NullValue">
      Mapped array of: Unignorable additional content defined by implementations

      ```json CEL theme={null}
      value.null_value
      ```

      ```json Example theme={null}
      ```
    </ResponseField>

    <ResponseField name="participants.map(x, x.types)" type="[]bool" required>
      Mapped array of: Participant types

      ```json CEL theme={null}
      participants.map(x, x.types)
      ```

      ```json Example theme={null}
      [
      [
      {
      "codings": [
        {
          "code": "X",
          "display": "Arbitrary string",
          "system": "Jr.",
          "user_selected": true,
          "version": "r4"
        }
      ],
      "extensions": [
        {
          "extension": null,
          "url": "https://morf.health/fhir/r4/extensions/formats",
          "value": "arbitrary value of any type (i.e. not necessarily a string)",
          "value_field_label": null
        }
      ],
      "text": "Arbitrary concept string value"
      }
      ]
      ]
      ```
    </ResponseField>

    <ResponseField name="value.null_value" type="google.protobuf.NullValue">
      Mapped array of: Participant types

      ```json CEL theme={null}
      value.null_value
      ```

      ```json Example theme={null}
      ```
    </ResponseField>

    <ResponseField name="required" type="fhir.v4.codes.ParticipantRequiredCode">
      Mapped array of: Participant's required status

      ```json CEL theme={null}
      required
      ```

      ```json Example theme={null}
      fhir.v4.codes.ParticipantRequiredCode.PARTICIPANT_REQUIRED_CODE_REQUIRED
      fhir.v4.codes.ParticipantRequiredCode.PARTICIPANT_REQUIRED_CODE_OPTIONAL
      fhir.v4.codes.ParticipantRequiredCode.PARTICIPANT_REQUIRED_CODE_INFORMATION_ONLY
      ```
    </ResponseField>

    <ResponseField name="status" type="fhir.v4.codes.ParticipantStatusCode">
      Mapped array of: The acceptance status of the Participant

      ```json CEL theme={null}
      status
      ```

      ```json Example theme={null}
      fhir.v4.codes.ParticipantStatusCode.PARTICIPANT_STATUS_CODE_ACCEPTED
      fhir.v4.codes.ParticipantStatusCode.PARTICIPANT_STATUS_CODE_DECLINED
      fhir.v4.codes.ParticipantStatusCode.PARTICIPANT_STATUS_CODE_TENTATIVE
      fhir.v4.codes.ParticipantStatusCode.PARTICIPANT_STATUS_CODE_NEEDS_ACTION
      ```
    </ResponseField>

    <ResponseField name="participants.map(x, x.period)" type="[]bool" required>
      Mapped array of: The period of time of the Appointment the Participant is participating

      ```json CEL theme={null}
      participants.map(x, x.period)
      ```

      ```json Example theme={null}
      [
      {
      "end": "2025-08-13T18:41:44.263+00:00",
      "start": "2025-08-13T17:41:44.263+00:00"
      }
      ]
      ```
    </ResponseField>

    <ResponseField name="participants.map(x, x.actor)" type="[]bool" required>
      Mapped array of: Person, location, healthcare service or device reference

      ```json CEL theme={null}
      participants.map(x, x.actor)
      ```

      ```json Example theme={null}
      [
      {
      "display": "PatientX",
      "identifier": {
      "period": {
        "end": "2025-08-13T18:41:44.263+00:00",
        "start": "2025-08-13T17:41:44.263+00:00"
      },
      "system": "https://morf.health/fhir/r4/identifier_types/healthie",
      "use": "secondary",
      "value": "401421231"
      },
      "reference": {
      "type": "Patient",
      "value": "1234"
      },
      "type": "Patient"
      }
      ]
      ```
    </ResponseField>

    <ResponseField name="actor.identifier.use" type="fhir.v4.codes.IdentifierUse">
      Mapped array of: Person, location, healthcare service or device reference

      ```json CEL theme={null}
      actor.identifier.use
      ```

      ```json Example theme={null}
      fhir.v4.codes.IdentifierUse.IDENTIFIER_USE_USUAL
      fhir.v4.codes.IdentifierUse.IDENTIFIER_USE_OFFICIAL
      fhir.v4.codes.IdentifierUse.IDENTIFIER_USE_TEMP
      fhir.v4.codes.IdentifierUse.IDENTIFIER_USE_SECONDARY
      fhir.v4.codes.IdentifierUse.IDENTIFIER_USE_OLD
      ```
    </ResponseField>

    <ResponseField name="periods" type="[]object" required>
      Potential date/time interval(s) requested to allocate the appointment within

      ```json CEL theme={null}
      periods
      ```

      ```json Example theme={null}
      [
      {
      "end": "2025-08-13T18:41:44.263+00:00",
      "start": "2025-08-13T17:41:44.263+00:00"
      }
      ]
      ```
    </ResponseField>

    <ResponseField name="periods.map(x, x.start)" type="[]timing.v1.Timestamp" required>
      Mapped array of: The beginning of the period - inclusive

      ```json CEL theme={null}
      periods.map(x, x.start)
      ```

      ```json Example theme={null}
      [
      "2025-08-13T17:41:44.263+00:00"
      ]
      ```
    </ResponseField>

    <ResponseField name="periods.map(x, x.end)" type="[]timing.v1.Timestamp" required>
      Mapped array of: Optional end of the period - inclusive, missing denotes ongoing

      ```json CEL theme={null}
      periods.map(x, x.end)
      ```

      ```json Example theme={null}
      [
      "2025-08-13T18:41:44.263+00:00"
      ]
      ```
    </ResponseField>

    <ResponseField name="meta" type="object">
      Metadata about the Appointment record

      ```json CEL theme={null}
      meta
      ```

      ```json Example theme={null}
      {
      "extensions": [
      {
      "extension": null,
      "url": "https://morf.health/fhir/r4/extensions/formats",
      "value": "arbitrary value of any type (i.e. not necessarily a string)",
      "value_field_label": null
      }
      ],
      "id": "20002",
      "last_updated": "2025-02-11T17:17:41.101+00:00",
      "profiles": "Profile 1",
      "security_labels": [
      {
      "code": "X",
      "display": "Arbitrary string",
      "system": "Jr.",
      "user_selected": true,
      "version": "r4"
      }
      ],
      "source": "1",
      "tags": [
      {
      "code": "X",
      "display": "Arbitrary string",
      "system": "Jr.",
      "user_selected": true,
      "version": "r4"
      }
      ],
      "version_id": "1"
      }
      ```
    </ResponseField>

    <ResponseField name="meta.id" type="string">
      ID of the Meta element

      ```json CEL theme={null}
      meta.id
      ```

      ```json Example theme={null}
      "20002"
      ```
    </ResponseField>

    <ResponseField name="meta.extensions" type="[]object">
      Additional content defined by implementations

      ```json CEL theme={null}
      meta.extensions
      ```

      ```json Example theme={null}
      [
      {
      "extension": null,
      "url": "https://morf.health/fhir/r4/extensions/formats",
      "value": "arbitrary value of any type (i.e. not necessarily a string)",
      "value_field_label": null
      }
      ]
      ```
    </ResponseField>

    <ResponseField name="meta.extensions.map(x, x.url)" type="[]string" required>
      `HI` `PII` Mapped array of: The URL giving the meaning of the extension

      ```json CEL theme={null}
      meta.extensions.map(x, x.url)
      ```

      ```json Example theme={null}
      [
      "https://morf.health/fhir/r4/extensions/formats"
      ]
      ```
    </ResponseField>

    <ResponseField name="meta.extensions.map(x, x.value_field_label)" type="[]string" required>
      *Description coming soon*

      ```json CEL theme={null}
      meta.extensions.map(x, x.value_field_label)
      ```

      ```json Example theme={null}
      [
      null
      ]
      ```
    </ResponseField>

    <ResponseField name="meta.extensions.map(x, x.value)" type="[]bool" required>
      `HI` `PII` Mapped array of: The extension's value

      ```json CEL theme={null}
      meta.extensions.map(x, x.value)
      ```

      ```json Example theme={null}
      [
      "arbitrary value of any type (i.e. not necessarily a string)"
      ]
      ```
    </ResponseField>

    <ResponseField name="value.null_value" type="google.protobuf.NullValue">
      `HI` `PII` Mapped array of: The extension's value

      ```json CEL theme={null}
      value.null_value
      ```

      ```json Example theme={null}
      ```
    </ResponseField>

    <ResponseField name="meta.extensions.map(x, x.extension)" type="[]bool" required>
      `HI` `PII` Mapped array of: Sub-extensions (recursive)

      ```json CEL theme={null}
      meta.extensions.map(x, x.extension)
      ```

      ```json Example theme={null}
      [
      [
      {
      "extension": null,
      "url": "https://morf.health/fhir/r4/extensions/formats",
      "value": "arbitrary value of any type (i.e. not necessarily a string)",
      "value_field_label": null
      }
      ]
      ]
      ```
    </ResponseField>

    <ResponseField name="meta.version_id" type="string">
      Version ID of the Meta element

      ```json CEL theme={null}
      meta.version_id
      ```

      ```json Example theme={null}
      "1"
      ```
    </ResponseField>

    <ResponseField name="meta.last_updated" type="timing.v1.Timestamp">
      Last updated timestamp for the corresponding Resource object

      ```json CEL theme={null}
      meta.last_updated
      ```

      ```json Example theme={null}
      "2025-02-11T17:17:41.101+00:00"
      ```
    </ResponseField>

    <ResponseField name="meta.source" type="string">
      The source of the corresponding Resource object

      ```json CEL theme={null}
      meta.source
      ```

      ```json Example theme={null}
      "1"
      ```
    </ResponseField>

    <ResponseField name="meta.profiles" type="[]string">
      Profiles this Resource claims to conform to

      ```json CEL theme={null}
      meta.profiles
      ```

      ```json Example theme={null}
      "Profile 1"
      ```
    </ResponseField>

    <ResponseField name="meta.security_labels" type="[]object">
      Security Labels applied to this resource

      ```json CEL theme={null}
      meta.security_labels
      ```

      ```json Example theme={null}
      [
      {
      "code": "X",
      "display": "Arbitrary string",
      "system": "Jr.",
      "user_selected": true,
      "version": "r4"
      }
      ]
      ```
    </ResponseField>

    <ResponseField name="meta.security_labels.map(x, x.system)" type="[]string" required>
      `HI` Mapped array of: Identity of the terminology system

      ```json CEL theme={null}
      meta.security_labels.map(x, x.system)
      ```

      ```json Example theme={null}
      [
      "Jr."
      ]
      ```
    </ResponseField>

    <ResponseField name="meta.security_labels.map(x, x.version)" type="[]string" required>
      Mapped array of: Version of the system - if relevant

      ```json CEL theme={null}
      meta.security_labels.map(x, x.version)
      ```

      ```json Example theme={null}
      [
      "r4"
      ]
      ```
    </ResponseField>

    <ResponseField name="meta.security_labels.map(x, x.code)" type="[]string" required>
      `HI` `PII` Mapped array of: Symbol in syntax defined by the system

      ```json CEL theme={null}
      meta.security_labels.map(x, x.code)
      ```

      ```json Example theme={null}
      [
      "X"
      ]
      ```
    </ResponseField>

    <ResponseField name="meta.security_labels.map(x, x.display)" type="[]string" required>
      `HI` `PII` Mapped array of: Representation defined by the system

      ```json CEL theme={null}
      meta.security_labels.map(x, x.display)
      ```

      ```json Example theme={null}
      [
      "Arbitrary string"
      ]
      ```
    </ResponseField>

    <ResponseField name="meta.security_labels.map(x, x.user_selected)" type="[]bool" required>
      Mapped array of: Coding was chosen directly by the user

      ```json CEL theme={null}
      meta.security_labels.map(x, x.user_selected)
      ```

      ```json Example theme={null}
      [
      true
      ]
      ```
    </ResponseField>

    <ResponseField name="meta.tags" type="[]object">
      Tags applied to this resource

      ```json CEL theme={null}
      meta.tags
      ```

      ```json Example theme={null}
      [
      {
      "code": "X",
      "display": "Arbitrary string",
      "system": "Jr.",
      "user_selected": true,
      "version": "r4"
      }
      ]
      ```
    </ResponseField>

    <ResponseField name="meta.tags.map(x, x.system)" type="[]string" required>
      `HI` Mapped array of: Identity of the terminology system

      ```json CEL theme={null}
      meta.tags.map(x, x.system)
      ```

      ```json Example theme={null}
      [
      "Jr."
      ]
      ```
    </ResponseField>

    <ResponseField name="meta.tags.map(x, x.version)" type="[]string" required>
      Mapped array of: Version of the system - if relevant

      ```json CEL theme={null}
      meta.tags.map(x, x.version)
      ```

      ```json Example theme={null}
      [
      "r4"
      ]
      ```
    </ResponseField>

    <ResponseField name="meta.tags.map(x, x.code)" type="[]string" required>
      `HI` `PII` Mapped array of: Symbol in syntax defined by the system

      ```json CEL theme={null}
      meta.tags.map(x, x.code)
      ```

      ```json Example theme={null}
      [
      "X"
      ]
      ```
    </ResponseField>

    <ResponseField name="meta.tags.map(x, x.display)" type="[]string" required>
      `HI` `PII` Mapped array of: Representation defined by the system

      ```json CEL theme={null}
      meta.tags.map(x, x.display)
      ```

      ```json Example theme={null}
      [
      "Arbitrary string"
      ]
      ```
    </ResponseField>

    <ResponseField name="meta.tags.map(x, x.user_selected)" type="[]bool" required>
      Mapped array of: Coding was chosen directly by the user

      ```json CEL theme={null}
      meta.tags.map(x, x.user_selected)
      ```

      ```json Example theme={null}
      [
      true
      ]
      ```
    </ResponseField>

    <ResponseField name="supporting_information_references" type="[]object" required>
      Additional information to support the Appointment

      ```json CEL theme={null}
      supporting_information_references
      ```

      ```json Example theme={null}
      [
      {
      "display": "PatientX",
      "identifier": {
      "period": {
        "end": "2025-08-13T18:41:44.263+00:00",
        "start": "2025-08-13T17:41:44.263+00:00"
      },
      "system": "https://morf.health/fhir/r4/identifier_types/healthie",
      "use": "secondary",
      "value": "401421231"
      },
      "reference": {
      "type": "Patient",
      "value": "1234"
      },
      "type": "Patient"
      }
      ]
      ```
    </ResponseField>

    <ResponseField name="supporting_information_references.map(x, x.reference)" type="[]bool" required>
      Mapped array of: Literal reference, relative, internal or absolute URL

      ```json CEL theme={null}
      supporting_information_references.map(x, x.reference)
      ```

      ```json Example theme={null}
      [
      {
      "type": "Patient",
      "value": "1234"
      }
      ]
      ```
    </ResponseField>

    <ResponseField name="supporting_information_references.map(x, x.type)" type="[]string" required>
      Mapped array of: Type the reference refers

      ```json CEL theme={null}
      supporting_information_references.map(x, x.type)
      ```

      ```json Example theme={null}
      [
      "Patient"
      ]
      ```
    </ResponseField>

    <ResponseField name="supporting_information_references.map(x, x.identifier)" type="[]bool" required>
      Mapped array of: Logical reference when literal reference is not known

      ```json CEL theme={null}
      supporting_information_references.map(x, x.identifier)
      ```

      ```json Example theme={null}
      [
      {
      "period": {
      "end": "2025-08-13T18:41:44.263+00:00",
      "start": "2025-08-13T17:41:44.263+00:00"
      },
      "system": "https://morf.health/fhir/r4/identifier_types/healthie",
      "use": "secondary",
      "value": "401421231"
      }
      ]
      ```
    </ResponseField>

    <ResponseField name="identifier.use" type="fhir.v4.codes.IdentifierUse">
      Mapped array of: Logical reference when literal reference is not known

      ```json CEL theme={null}
      identifier.use
      ```

      ```json Example theme={null}
      fhir.v4.codes.IdentifierUse.IDENTIFIER_USE_USUAL
      fhir.v4.codes.IdentifierUse.IDENTIFIER_USE_OFFICIAL
      fhir.v4.codes.IdentifierUse.IDENTIFIER_USE_TEMP
      fhir.v4.codes.IdentifierUse.IDENTIFIER_USE_SECONDARY
      fhir.v4.codes.IdentifierUse.IDENTIFIER_USE_OLD
      ```
    </ResponseField>

    <ResponseField name="supporting_information_references.map(x, x.display)" type="[]string" required>
      Mapped array of: Text alternative for the resource

      ```json CEL theme={null}
      supporting_information_references.map(x, x.display)
      ```

      ```json Example theme={null}
      [
      "PatientX"
      ]
      ```
    </ResponseField>

    <ResponseField name="reason_references" type="[]object" required>
      Reasons the Appointment is to take place

      ```json CEL theme={null}
      reason_references
      ```

      ```json Example theme={null}
      [
      {
      "display": "PatientX",
      "identifier": {
      "period": {
        "end": "2025-08-13T18:41:44.263+00:00",
        "start": "2025-08-13T17:41:44.263+00:00"
      },
      "system": "https://morf.health/fhir/r4/identifier_types/healthie",
      "use": "secondary",
      "value": "401421231"
      },
      "reference": {
      "type": "Patient",
      "value": "1234"
      },
      "type": "Patient"
      }
      ]
      ```
    </ResponseField>

    <ResponseField name="reason_references.map(x, x.reference)" type="[]bool" required>
      Mapped array of: Literal reference, relative, internal or absolute URL

      ```json CEL theme={null}
      reason_references.map(x, x.reference)
      ```

      ```json Example theme={null}
      [
      {
      "type": "Patient",
      "value": "1234"
      }
      ]
      ```
    </ResponseField>

    <ResponseField name="reason_references.map(x, x.type)" type="[]string" required>
      Mapped array of: Type the reference refers

      ```json CEL theme={null}
      reason_references.map(x, x.type)
      ```

      ```json Example theme={null}
      [
      "Patient"
      ]
      ```
    </ResponseField>

    <ResponseField name="reason_references.map(x, x.identifier)" type="[]bool" required>
      Mapped array of: Logical reference when literal reference is not known

      ```json CEL theme={null}
      reason_references.map(x, x.identifier)
      ```

      ```json Example theme={null}
      [
      {
      "period": {
      "end": "2025-08-13T18:41:44.263+00:00",
      "start": "2025-08-13T17:41:44.263+00:00"
      },
      "system": "https://morf.health/fhir/r4/identifier_types/healthie",
      "use": "secondary",
      "value": "401421231"
      }
      ]
      ```
    </ResponseField>

    <ResponseField name="identifier.use" type="fhir.v4.codes.IdentifierUse">
      Mapped array of: Logical reference when literal reference is not known

      ```json CEL theme={null}
      identifier.use
      ```

      ```json Example theme={null}
      fhir.v4.codes.IdentifierUse.IDENTIFIER_USE_USUAL
      fhir.v4.codes.IdentifierUse.IDENTIFIER_USE_OFFICIAL
      fhir.v4.codes.IdentifierUse.IDENTIFIER_USE_TEMP
      fhir.v4.codes.IdentifierUse.IDENTIFIER_USE_SECONDARY
      fhir.v4.codes.IdentifierUse.IDENTIFIER_USE_OLD
      ```
    </ResponseField>

    <ResponseField name="reason_references.map(x, x.display)" type="[]string" required>
      Mapped array of: Text alternative for the resource

      ```json CEL theme={null}
      reason_references.map(x, x.display)
      ```

      ```json Example theme={null}
      [
      "PatientX"
      ]
      ```
    </ResponseField>

    <ResponseField name="slots" type="[]object" required>
      The slots that this Appointment is filling

      ```json CEL theme={null}
      slots
      ```

      ```json Example theme={null}
      [
      {
      "display": "PatientX",
      "identifier": {
      "period": {
        "end": "2025-08-13T18:41:44.263+00:00",
        "start": "2025-08-13T17:41:44.263+00:00"
      },
      "system": "https://morf.health/fhir/r4/identifier_types/healthie",
      "use": "secondary",
      "value": "401421231"
      },
      "reference": {
      "type": "Patient",
      "value": "1234"
      },
      "type": "Patient"
      }
      ]
      ```
    </ResponseField>

    <ResponseField name="slots.map(x, x.reference)" type="[]bool" required>
      Mapped array of: Literal reference, relative, internal or absolute URL

      ```json CEL theme={null}
      slots.map(x, x.reference)
      ```

      ```json Example theme={null}
      [
      {
      "type": "Patient",
      "value": "1234"
      }
      ]
      ```
    </ResponseField>

    <ResponseField name="slots.map(x, x.type)" type="[]string" required>
      Mapped array of: Type the reference refers

      ```json CEL theme={null}
      slots.map(x, x.type)
      ```

      ```json Example theme={null}
      [
      "Patient"
      ]
      ```
    </ResponseField>

    <ResponseField name="slots.map(x, x.identifier)" type="[]bool" required>
      Mapped array of: Logical reference when literal reference is not known

      ```json CEL theme={null}
      slots.map(x, x.identifier)
      ```

      ```json Example theme={null}
      [
      {
      "period": {
      "end": "2025-08-13T18:41:44.263+00:00",
      "start": "2025-08-13T17:41:44.263+00:00"
      },
      "system": "https://morf.health/fhir/r4/identifier_types/healthie",
      "use": "secondary",
      "value": "401421231"
      }
      ]
      ```
    </ResponseField>

    <ResponseField name="identifier.use" type="fhir.v4.codes.IdentifierUse">
      Mapped array of: Logical reference when literal reference is not known

      ```json CEL theme={null}
      identifier.use
      ```

      ```json Example theme={null}
      fhir.v4.codes.IdentifierUse.IDENTIFIER_USE_USUAL
      fhir.v4.codes.IdentifierUse.IDENTIFIER_USE_OFFICIAL
      fhir.v4.codes.IdentifierUse.IDENTIFIER_USE_TEMP
      fhir.v4.codes.IdentifierUse.IDENTIFIER_USE_SECONDARY
      fhir.v4.codes.IdentifierUse.IDENTIFIER_USE_OLD
      ```
    </ResponseField>

    <ResponseField name="slots.map(x, x.display)" type="[]string" required>
      Mapped array of: Text alternative for the resource

      ```json CEL theme={null}
      slots.map(x, x.display)
      ```

      ```json Example theme={null}
      [
      "PatientX"
      ]
      ```
    </ResponseField>

    <ResponseField name="based_on_service_requests" type="[]object" required>
      The service requests this Appointment is allocated to assess

      ```json CEL theme={null}
      based_on_service_requests
      ```

      ```json Example theme={null}
      [
      {
      "display": "PatientX",
      "identifier": {
      "period": {
        "end": "2025-08-13T18:41:44.263+00:00",
        "start": "2025-08-13T17:41:44.263+00:00"
      },
      "system": "https://morf.health/fhir/r4/identifier_types/healthie",
      "use": "secondary",
      "value": "401421231"
      },
      "reference": {
      "type": "Patient",
      "value": "1234"
      },
      "type": "Patient"
      }
      ]
      ```
    </ResponseField>

    <ResponseField name="based_on_service_requests.map(x, x.reference)" type="[]bool" required>
      Mapped array of: Literal reference, relative, internal or absolute URL

      ```json CEL theme={null}
      based_on_service_requests.map(x, x.reference)
      ```

      ```json Example theme={null}
      [
      {
      "type": "Patient",
      "value": "1234"
      }
      ]
      ```
    </ResponseField>

    <ResponseField name="based_on_service_requests.map(x, x.type)" type="[]string" required>
      Mapped array of: Type the reference refers

      ```json CEL theme={null}
      based_on_service_requests.map(x, x.type)
      ```

      ```json Example theme={null}
      [
      "Patient"
      ]
      ```
    </ResponseField>

    <ResponseField name="based_on_service_requests.map(x, x.identifier)" type="[]bool" required>
      Mapped array of: Logical reference when literal reference is not known

      ```json CEL theme={null}
      based_on_service_requests.map(x, x.identifier)
      ```

      ```json Example theme={null}
      [
      {
      "period": {
      "end": "2025-08-13T18:41:44.263+00:00",
      "start": "2025-08-13T17:41:44.263+00:00"
      },
      "system": "https://morf.health/fhir/r4/identifier_types/healthie",
      "use": "secondary",
      "value": "401421231"
      }
      ]
      ```
    </ResponseField>

    <ResponseField name="identifier.use" type="fhir.v4.codes.IdentifierUse">
      Mapped array of: Logical reference when literal reference is not known

      ```json CEL theme={null}
      identifier.use
      ```

      ```json Example theme={null}
      fhir.v4.codes.IdentifierUse.IDENTIFIER_USE_USUAL
      fhir.v4.codes.IdentifierUse.IDENTIFIER_USE_OFFICIAL
      fhir.v4.codes.IdentifierUse.IDENTIFIER_USE_TEMP
      fhir.v4.codes.IdentifierUse.IDENTIFIER_USE_SECONDARY
      fhir.v4.codes.IdentifierUse.IDENTIFIER_USE_OLD
      ```
    </ResponseField>

    <ResponseField name="based_on_service_requests.map(x, x.display)" type="[]string" required>
      Mapped array of: Text alternative for the resource

      ```json CEL theme={null}
      based_on_service_requests.map(x, x.display)
      ```

      ```json Example theme={null}
      [
      "PatientX"
      ]
      ```
    </ResponseField>
  </Expandable>
</ResponseField>
