Skip to main content
POST

Authorizations

Authorization
string
header
required

Input your token

Scopes

bearer

Headers

Tenant-Name
string
required

Identifies a distinct entity within Corti's multi-tenant system. Ensures correct routing and authentication of the request.

Example:

"base"

Body

application/json

Request body of /tools/fhir/.

context
String · object
required

The clinical note: one string (contextType: other) or titled sections (contextType: clinicalNote). Evidence offsets in the response are character positions in the note; see the endpoint description. At most 256,000 characters, section titles included.

patient
object

Known facts about the patient. Every supplied field overrides the value the model extracts from the note; omitted fields fall back to extraction.

encounter
object

Known facts about the encounter during which the note was written. Every supplied field overrides the value the model extracts from the note; omitted fields fall back to extraction.

resourceGroups
object[]

Selection: the resource groups to produce, each optionally narrowed to categories. Omit to produce every resource group with every category; an empty list is rejected. Listing a group twice is rejected (400). Patient and Encounter are always produced, whether or not they are listed.

Minimum array length: 1
filters
object[]

Restriction: code filters, one per coding system, each optionally scoped to a resource group, category and coded field. Entries whose scopes match the same search are combined: includes are intersected, excludes are united. A filter that matches no search the service performs is rejected (400), so no filter is silently ignored. Omit for no restriction.

Response

The clinical facts found in the note, returned as FHIR R4 resources in a FHIR Bundle, together with the credits consumed by the request.

Response of /tools/fhir/ — the clinical facts found in the note as FHIR R4 resources, and the credits consumed. Fields without a value are omitted, never set to null.

bundle
object
required

The extracted clinical facts as FHIR R4 resources.

usageInfo
object
required

Credits consumed for this request.