> ## 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.

# Non Visit Note

> Event payload details and trigger documentation for Non Visit Note data from Elation

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

# Events

## Triggering Webhook Types

The following event types are associated with the Non Visit Note event payload from Elation.

* `Elation Non Visit Note Updated`
* `Elation Non Visit Note Deleted`

<RequestExample>
  ```json Example theme={null}
  {
    "bullets": [
      {
        "author_id": "131074",
        "category": "Problem",
        "id": "987654321",
        "text": "Patient reports improvement in symptoms",
        "updated_at": "2024-01-15T10:30:00Z",
        "version": 1
      }
    ],
    "chart_datetime": "2024-01-15T10:30:00Z",
    "document_datetime": "2024-01-15T10:30:00Z",
    "id": "123456789",
    "non_visit_note_type": "NON_VISIT_NOTE_TYPE_NONVISIT",
    "patient_id": "64058687489",
    "practice_id": "65540",
    "signed_at": "2024-01-15T11:00:00Z",
    "signed_by": "131074",
    "tags": [
      {
        "code": "TAG_001",
        "code_type": 1,
        "concept_name": "Follow-up Visit",
        "created_at": "2024-01-15T10:30:00Z",
        "deleted_at": "2024-01-16T10:30:00Z",
        "description": "Tag for follow-up visits",
        "id": "123456",
        "value": "Follow-up"
      }
    ]
  }
  ```
</RequestExample>

<ResponseExample>
  ```json Description theme={null}
  {
    "bullets": {
      "author_id": "ID of the author who created this bullet point.",
      "category": "Category of the bullet point.",
      "id": "Unique identifier for the bullet point.",
      "text": "Content of the bullet point. Must not be empty.",
      "updated_at": "Date and time when the bullet point was last updated.",
      "version": "Version number of the bullet point."
    },
    "chart_datetime": "Date and time when the note was added to the chart.",
    "document_datetime": "Date and time when the document was created.",
    "id": "Unique identifier for the non-visit note.",
    "non_visit_note_type": "Type of non-visit note. Defaults to nonvisit if not specified.",
    "patient_id": "ID of the patient this note belongs to.",
    "practice_id": "ID of the practice this note belongs to.",
    "signed_at": "Date and time when the note was signed.",
    "signed_by": "ID of the provider who signed the note.",
    "tags": {
      "code": "Code identifier for the tag.",
      "code_type": "Type identifier for the tag code.",
      "concept_name": "Concept name associated with the tag.",
      "created_at": "Date and time when the tag was created.",
      "deleted_at": "Date and time when the tag was deleted, if applicable.",
      "description": "Description of the tag's purpose or meaning.",
      "id": "Unique identifier for the tag.",
      "value": "Value or display text of the tag."
    }
  }
  ```
</ResponseExample>

### Payload Field Details

<ResponseField name="Non Visit Note" type="Event Payload">
  <Expandable title="fields" defaultOpen="true">
    <ResponseField name="id" type="string" required>
      `ID` Unique identifier for the non-visit note.

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

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

    <ResponseField name="non_visit_note_type" type="elation.v1.NonVisitNoteType" required>
      Type of non-visit note. Defaults to nonvisit if not specified.

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

      ```json Example theme={null}
      elation.v1.NonVisitNoteType.NON_VISIT_NOTE_TYPE_EMAIL
      elation.v1.NonVisitNoteType.NON_VISIT_NOTE_TYPE_NONVISIT
      elation.v1.NonVisitNoteType.NON_VISIT_NOTE_TYPE_PHONE
      ```
    </ResponseField>

    <ResponseField name="bullets" type="[]object" required>
      List of bullet points in the note.

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

      ```json Example theme={null}
      [
      {
      "author_id": "131074",
      "category": "Problem",
      "id": "987654321",
      "text": "Patient reports improvement in symptoms",
      "updated_at": "2024-01-15T10:30:00Z",
      "version": 1
      }
      ]
      ```
    </ResponseField>

    <ResponseField name="bullets.map(x, x.id)" type="[]string" required>
      Mapped array of: Unique identifier for the bullet point.

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

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

    <ResponseField name="bullets.map(x, x.text)" type="[]string" required>
      Mapped array of: Content of the bullet point. Must not be empty.

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

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

    <ResponseField name="bullets.map(x, x.author_id)" type="[]string" required>
      Mapped array of: ID of the author who created this bullet point.

      ```json CEL theme={null}
      bullets.map(x, x.author_id)
      ```

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

    <ResponseField name="category" type="elation.v1.BulletCategory">
      Mapped array of: Category of the bullet point.

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

      ```json Example theme={null}
      elation.v1.BulletCategory.BULLET_CATEGORY_PROBLEM
      elation.v1.BulletCategory.BULLET_CATEGORY_PAST
      elation.v1.BulletCategory.BULLET_CATEGORY_FAMILY
      elation.v1.BulletCategory.BULLET_CATEGORY_SOCIAL
      elation.v1.BulletCategory.BULLET_CATEGORY_INSTR
      elation.v1.BulletCategory.BULLET_CATEGORY_PE
      elation.v1.BulletCategory.BULLET_CATEGORY_ROS
      elation.v1.BulletCategory.BULLET_CATEGORY_MED
      elation.v1.BulletCategory.BULLET_CATEGORY_DATA
      elation.v1.BulletCategory.BULLET_CATEGORY_ASSESSMENT
      elation.v1.BulletCategory.BULLET_CATEGORY_TEST
      elation.v1.BulletCategory.BULLET_CATEGORY_TX
      elation.v1.BulletCategory.BULLET_CATEGORY_NARRATIVE
      elation.v1.BulletCategory.BULLET_CATEGORY_FOLLOWUP
      elation.v1.BulletCategory.BULLET_CATEGORY_REASON
      elation.v1.BulletCategory.BULLET_CATEGORY_PLAN
      elation.v1.BulletCategory.BULLET_CATEGORY_OBJECTIVE
      elation.v1.BulletCategory.BULLET_CATEGORY_HPI
      elation.v1.BulletCategory.BULLET_CATEGORY_ALLERGIES
      elation.v1.BulletCategory.BULLET_CATEGORY_HABITS
      elation.v1.BulletCategory.BULLET_CATEGORY_ASSESSPLAN
      elation.v1.BulletCategory.BULLET_CATEGORY_CONSULTANT
      elation.v1.BulletCategory.BULLET_CATEGORY_ATTENDING
      elation.v1.BulletCategory.BULLET_CATEGORY_DATEPROCEDURE
      elation.v1.BulletCategory.BULLET_CATEGORY_SURGICAL
      elation.v1.BulletCategory.BULLET_CATEGORY_ORDERS
      elation.v1.BulletCategory.BULLET_CATEGORY_REFERENCED
      elation.v1.BulletCategory.BULLET_CATEGORY_PROCEDURE
      ```
    </ResponseField>

    <ResponseField name="bullets.map(x, x.version)" type="[]uint64" required>
      Mapped array of: Version number of the bullet point.

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

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

    <ResponseField name="bullets.map(x, x.updated_at)" type="[]timing.v1.Timestamp" required>
      Mapped array of: Date and time when the bullet point was last updated.

      ```json CEL theme={null}
      bullets.map(x, x.updated_at)
      ```

      ```json Example theme={null}
      [
      "2024-01-15T10:30:00Z"
      ]
      ```
    </ResponseField>

    <ResponseField name="patient_id" type="string" required>
      `ID` ID of the patient this note belongs to.

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

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

    <ResponseField name="practice_id" type="string">
      ID of the practice this note belongs to.

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

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

    <ResponseField name="document_datetime" type="timing.v1.Timestamp" required>
      Date and time when the document was created.

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

      ```json Example theme={null}
      "2024-01-15T10:30:00Z"
      ```
    </ResponseField>

    <ResponseField name="chart_datetime" type="timing.v1.Timestamp" required>
      Date and time when the note was added to the chart.

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

      ```json Example theme={null}
      "2024-01-15T10:30:00Z"
      ```
    </ResponseField>

    <ResponseField name="tags" type="[]object" required>
      List of tags associated with the note.

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

      ```json Example theme={null}
      [
      {
      "code": "TAG_001",
      "code_type": 1,
      "concept_name": "Follow-up Visit",
      "created_at": "2024-01-15T10:30:00Z",
      "deleted_at": "2024-01-16T10:30:00Z",
      "description": "Tag for follow-up visits",
      "id": "123456",
      "value": "Follow-up"
      }
      ]
      ```
    </ResponseField>

    <ResponseField name="tags.map(x, x.id)" type="[]string" required>
      Mapped array of: Unique identifier for the tag.

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

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

    <ResponseField name="tags.map(x, x.code)" type="[]string" required>
      Mapped array of: Code identifier for the tag.

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

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

    <ResponseField name="tags.map(x, x.value)" type="[]string" required>
      Mapped array of: Value or display text of the tag.

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

      ```json Example theme={null}
      [
      "Follow-up"
      ]
      ```
    </ResponseField>

    <ResponseField name="tags.map(x, x.code_type)" type="[]int64" required>
      Mapped array of: Type identifier for the tag code.

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

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

    <ResponseField name="tags.map(x, x.concept_name)" type="[]string" required>
      Mapped array of: Concept name associated with the tag.

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

      ```json Example theme={null}
      [
      "Follow-up Visit"
      ]
      ```
    </ResponseField>

    <ResponseField name="tags.map(x, x.created_at)" type="[]timing.v1.Timestamp" required>
      Mapped array of: Date and time when the tag was created.

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

      ```json Example theme={null}
      [
      "2024-01-15T10:30:00Z"
      ]
      ```
    </ResponseField>

    <ResponseField name="tags.map(x, x.deleted_at)" type="[]timing.v1.Timestamp" required>
      Mapped array of: Date and time when the tag was deleted, if applicable.

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

      ```json Example theme={null}
      [
      "2024-01-16T10:30:00Z"
      ]
      ```
    </ResponseField>

    <ResponseField name="tags.map(x, x.description)" type="[]string" required>
      Mapped array of: Description of the tag's purpose or meaning.

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

      ```json Example theme={null}
      [
      "Tag for follow-up visits"
      ]
      ```
    </ResponseField>

    <ResponseField name="signed_by" type="string">
      ID of the provider who signed the note.

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

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

    <ResponseField name="signed_at" type="timing.v1.Timestamp">
      Date and time when the note was signed.

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

      ```json Example theme={null}
      "2024-01-15T11:00:00Z"
      ```
    </ResponseField>
  </Expandable>
</ResponseField>
