Skip to main content
Get element response
curl --request GET \
  --url https://{tenantId}.api.nestmed.com/api/v1/visits/{visitId}/elements/{slug} \
  --header 'Authorization: Bearer <token>'
{
  "slug": "<string>",
  "name": "<string>",
  "category": "<string>",
  "module": "<string>",
  "responseData": {},
  "metadata": {
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "createdBy": "<string>",
    "updatedBy": "<string>"
  },
  "status": "draft"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

visitId
string
required
slug
string
required

Response

200 - application/json

Element data.

slug
string

Unique identifier for the element type

name
string

Human-readable name of the element

category
string

Category of the element (e.g., assessment, vital_signs)

module
string

Module this element belongs to

responseData
object

The actual response data for this element, structure varies by element type

metadata
object
status
enum<string>

Status of the element response

Available options:
draft,
completed,
reviewed,
approved