Skip to content

Returns a list of clinicalNotes based on filter criteria

Request

Query shape: Prefer a narrow filter—combine patient.id or provider.id with lastModified or datedAs bounds. A very wide lastModified range with no other scoping can 408 (timeout) on large tenants; retry with a smaller window or use cursor pagination (lastId with lastModified—see parameter descriptions).

Empty results: 200 with data: [] means no notes matched; it does not indicate a bad patient or provider id.

responseFields: Use only names allowed on this operation (see the responseFields parameter). Dotted pseudo-paths such as patient.id are rejected; use ALL or the documented flat field list.

Pagination: The page query parameter is deprecated; lastModified / lastId style pagination is preferred. See the Public API pagination documentation.

Security
bearerAuth or oAuthSandbox
Query
responseFieldsstring

A URL-encoded, comma-delimited list of field names to include in the response data. Additionally, the following values are also supported:

ALL - Returns all field names.

filterstring

Filter clauses for clinical notes. General grammar and operators: the Public API filter documentation.

Auto filter: If you omit a date-limiting filter (such as lastModified), the server may apply one automatically; behavior can vary by deployment.

Keys and operators (this endpoint)

  • patient.id (==)
  • provider.id (==)
  • primarySignature.id (==, !=)
  • additionalSignature.id (==, !=)
  • datedAs (<, <=, >, >=)
  • lastModified (>=, >, <=, <)

Ordering: When filtering by datedAs or lastModified, results are returned in descending order (newest first).

Examples: patient.id==12345, provider.id==7, datedAs>=2022-01-01, additionalSignature.id==12, primarySignature.id==12.

pagestring

Page number for pagination control

Example:page=1
pageSizestring

Page size for pagination control

Example:pageSize=10
lastIdstring

the biggest clinicalNoteId from previous page

Example:lastId=100
Headers
Organization-IDstringrequired

Organization context for the request. Must match the organization authorized by the access token.

Example:1006
curl -i -X GET \
  'https://papidocs.hs1api.com/_mock/publicapi/api-clinical-and-medical-records/v1/clinicalnotes?responseFields=string&filter=string&page=1&pageSize=10&lastId=100' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Organization-ID: 1006'

Responses

The request was successful

Bodyapplication/json
dataArray of objects(ClinicalNoteV1)
Example:
[ { "datedAs": "2019-07-18", "text": "Tester provider note", "patient": { … }, "provider": { … } } ]
warningsArray of objects(Error)
Example:
[ { "code": "VALIDATION_ERROR", "title": "Validation Failed", "description": "The provided data does not meet the required validation rules.", "source": "request.body" } ]
errorsArray of objects(Error)
Example:
[ { "code": "ERR101", "title": "Example Title" } ]
metaobject
Response
{ "data": [ { … } ], "warnings": [ { … } ] }