curl --request POST \ --url https://api.{environment}.corti.app/v2/tools/fhir/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'Tenant-Name: <tenant-name>' \ --data '{ "context": { "contextType": "other", "data": "Maria Nielsen, born 25 December 1974, presents to the emergency department with worsening breathlessness at night. She has known asthma since childhood. Penicillin gives her a rash. Her father also has asthma." }}'
Predict FHIR R4 resources from clinical text. This is a stateless tool: it reads the clinical note from the request context, extracts the clinical facts found in it, and returns them as FHIR R4 resources collected in a FHIR R4 transaction Bundle (https://hl7.org/fhir/R4/bundle.html). The Bundle can be POSTed as-is to the base URL of a FHIR R4 server, which creates every resource and resolves the references between them.
You do not need to know FHIR to use this endpoint. FHIR is the healthcare interoperability standard; each returned Bundle.entry[].resource is a structured object for one clinical fact, identified by its resourceType, for example Condition (https://hl7.org/fhir/R4/condition.html) or AllergyIntolerance (https://hl7.org/fhir/R4/allergyintolerance.html). See the response examples and the schema descriptions of FhirBundleEntry for the resource types produced today.
How to read the response:
A Patient and an Encounter are always returned, first and second; they carry whatever the note and the request state about them. Every other resource is returned only for facts present in the note that satisfy the requested resource-group selection, category selection and code filters. A missing resourceType means no matching resources were returned, not necessarily that the note contained no facts of that type. A Bundle holding only Patient and Encounter is a successful response, not an error.
The same type may appear more than once (for example, once per condition found). Identify resources by their id, not by entry position.
Every entry has a fullUrl of the form urn:uuid:<id> (https://www.rfc-editor.org/rfc/rfc4122), and every reference inside the Bundle points at one of them: clinical resources point at the Patient (subject or patient), and Condition, Procedure and Observation also point at the Encounter (encounter).
Every entry carries a transaction request (POST to its resource type). Patient and Encounter are conditional creates on their business identifier (ifNoneExist), so a FHIR server that already holds that patient or encounter links the new resources to it instead of creating a duplicate.
FHIR R4 requires some elements even when the note does not state them (Encounter.class, FamilyMemberHistory.relationship, AllergyIntolerance.reaction.manifestation, Procedure.performer.actor). Such an element then carries only the FHIR data-absent-reason extension (FhirDataAbsentReasonExtension) instead of a guessed value. An unstated Encounter.status is unknown.
Where the model grounds a resource field in the note, the resource carries an evidence extension (…/mention, see FhirMentionExtension) with the character offsets of the supporting text. Competing codes ride in alternative extensions (…/alternative, see FhirAlternativeExtension). Worked examples are attached to this endpoint.
Offsets count characters in the request note. For a contextType: other context the note is the data string. For a contextType: clinicalNote context the note is the sections written one after another as "<title>:\n<body>\n\n"; spans inside one section also carry sectionId, sectionStart and sectionEnd, the position within that section’s title followed by its body. start is inclusive, end is exclusive.
New resource types may be added in the future. Ignore entries whose resourceType you do not recognize.
Known facts about the patient (patient) or the encounter (encounter) can be supplied in the request; every supplied field overrides the value the model extracts from the note.
The output can be narrowed in two independent ways. resourceGroups selects which resource types (and categories within them) are produced; Patient and Encounter are always produced. filters restricts which codes may be returned, per coding system and optionally per resource group, category and coded field.
POST
/
tools
/
fhir
/
curl --request POST \ --url https://api.{environment}.corti.app/v2/tools/fhir/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'Tenant-Name: <tenant-name>' \ --data '{ "context": { "contextType": "other", "data": "Maria Nielsen, born 25 December 1974, presents to the emergency department with worsening breathlessness at night. She has known asthma since childhood. Penicillin gives her a rash. Her father also has asthma." }}'
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.
String
Clinical note
Show child attributes
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.
Show child attributes
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.
Show child attributes
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
Show child attributes
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.
Show child attributes
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.
Show child attributes
usageInfo
object
required
Credits consumed for this request.
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Corti API Documentation","description":"Explore product documentation, quickstart guides, tutorials, release notes, and detailed API references to build with Corti API. Leverage full stack AI to unlock workflows with speech to text, text generation, agentic framework, embedded Corti Assistant and more.","colors":{"primary":"#3F3F46","light":"#F4F4F5","dark":"#18181B"},"logo":{"light":"https://mintcdn.com/corti/en_RPjQCFb1qJpbU/logo/corti_light.svg?fit=max\u0026auto=format\u0026n=en_RPjQCFb1qJpbU\u0026q=85\u0026s=effbca890e531e034f6b66ce8e15aa6c","dark":"https://mintcdn.com/corti/en_RPjQCFb1qJpbU/logo/corti_dark.svg?fit=max\u0026auto=format\u0026n=en_RPjQCFb1qJpbU\u0026q=85\u0026s=39e1b8245783318adebc44f1548aee0d"},"favicon":"https://mintcdn.com/corti/en_RPjQCFb1qJpbU/logo/favicon-docs.svg?fit=max\u0026auto=format\u0026n=en_RPjQCFb1qJpbU\u0026q=85\u0026s=1971ff0d52cd65b9f56d059bc6457848","api":{"playground":{"display":"simple"},"examples":{"languages":["curl","javascript","csharp","python","php","go","java"]},"mdx":{"auth":{"method":"bearer"}}},"background":{"color":{"light":"#FFFFFF","dark":"#09090B"}},"navbar":{"links":[{"href":"https://help.corti.app/","label":"Support"}],"primary":{"type":"button","label":"Start Building","href":"https://console.corti.app/signup"}},"footer":{"socials":{"website":"https://www.corti.ai","x":"https://x.com/corti_ai","linkedin":"https://www.linkedin.com/company/corti","github":"https://github.com/corticph","youtube":"https://www.youtube.com/@cortiai"}},"fonts":{"heading":{"family":"Booton","weight":600},"body":{"family":"Booton","weight":400}},"icons":{"library":"lucide"},"integrations":{"gtm":{"tagId":"GTM-MR3DSSF2"},"intercom":{"appId":"y30epli4"}},"banner":{"content":"Corti Models is now available: frontier AI on sovereign infrastructure, through an OpenAI-compatible API. [Get started](/models/welcome).","dismissible":true},"errors":{"404":{"redirect":false,"title":"Page not found","description":"The page you're looking for doesn't exist or may have moved. Use the search bar above, or start from one of these pages:\n\n- [Get started](/get_started/welcome)\n- [Corti Models](/models/welcome)\n- [Agentic Framework](/agentic/overview)\n- [Speech to Text](/stt/overview)\n- [Clinical Text Generation](/textgen/overview)\n- [Medical Coding](/coding/overview)\n- [Clinical Assistant](/assistant/welcome)\n- [API Reference](/api-reference/welcome)"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"corti","hasAudioNarration":false,"actualSubdomain":"corti","customDomains":["docs.corti.ai"],"gitSource":{"type":"github","owner":"corticph","repo":"docs_corti","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b08124fe817875fa67f9388","clientVersion":"0.0.4336","searchFilterCounts":[{"language":"default","tag":"Healthcare","count":228},{"language":"default","tag":"API Reference","count":146},{"language":"default","tag":"Clinical Assistant","count":117},{"language":"default","tag":"Events","count":85},{"language":"default","tag":"Event Reference","count":84},{"language":"default","tag":"REST APIs","count":65},{"language":"default","tag":"Agentic Framework","count":51},{"language":"default","tag":"Speech to Text","count":50},{"language":"default","tag":"Home","count":49},{"language":"default","tag":"Clinical Text Generation","count":47}]},"assistantConfig":{"enableAskAiButton":true,"enableStarterQuestions":false,"enableAskAiSearchBar":false,"deflection":{"enabled":true,"email":"help@corti.ai"}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@font-face{font-family:\"Booton\";src:url(\"/fonts/booton/Booton-Regular.woff2\") format(\"woff2\");font-style:normal;font-weight:400;font-display:swap}@font-face{font-family:\"Booton\";src:url(\"/fonts/booton/Booton-Medium.woff2\") format(\"woff2\");font-style:normal;font-weight:500;font-display:swap}@font-face{font-family:\"Booton\";src:url(\"/fonts/booton/Booton-Semibold.woff2\") format(\"woff2\");font-style:normal;font-weight:600;font-display:swap}:root{--corti-font-sans: \"Booton\", \"Inter\", ui-sans-serif, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif;--mintlify-slot-header-height: 7rem}html,body{font-family:var(--corti-font-sans);font-weight:400;-webkit-font-smoothing:antialiased}body :not(code):not(code *):not(pre):not(pre *):not(kbd):not(kbd *):not(samp):not(samp *){font-family:var(--corti-font-sans)}h1,h2,h3,h4,h5,h6{font-family:var(--corti-font-sans);font-weight:600!important;color:var(--tw-prose-headings, #18181b)!important}:is(html.dark,.dark) h1,:is(html.dark,.dark) h2,:is(html.dark,.dark) h3,:is(html.dark,.dark) h4,:is(html.dark,.dark) h5,:is(html.dark,.dark) h6{color:#fafafa!important}:is(html.dark,.dark) [data-component-part=\"step-title\"]{color:#fafafa!important}a[target=\"_blank\"][href=\"https://console.corti.app/signup\"].group>span.absolute.inset-0{background-color:#18181b!important}:is(html.dark,.dark) a[target=\"_blank\"][href=\"https://console.corti.app/signup\"].group>span.absolute.inset-0{background-color:#fafafa!important}:is(html.dark,.dark) a[target=\"_blank\"][href=\"https://console.corti.app/signup\"].group .z-10,:is(html.dark,.dark) a[target=\"_blank\"][href=\"https://console.corti.app/signup\"].group .z-10 *,:is(html.dark,.dark) a[target=\"_blank\"][href=\"https://console.corti.app/signup\"].group svg{color:#18181b!important}[data-component-part=\"card-content-container\"]{align-items:flex-start!important}.card [data-component-part=\"card-content\"]>.code-block:last-child{margin-bottom:0!important}[data-component-part=\"card-content-container\"]>div[class*=\"h-6\"][class*=\"w-6\"]{width:24px!important;height:24px!important;min-width:24px;min-height:24px;display:inline-flex;align-items:center;justify-content:center;margin-top:2px}[data-component-part=\"card-content-container\"]>div[class*=\"h-6\"][class*=\"w-6\"] svg,[data-component-part=\"card-content-container\"]>div[class*=\"h-6\"][class*=\"w-6\"] img{width:24px!important;height:24px!important}:is(html.dark,.dark) .card [data-component-part=\"card-title\"],:is(html.dark,.dark) .card [data-component-part=\"card-title\"] a,:is(html.dark,.dark) .card h2 a,:is(html.dark,.dark) .card h3 a,:is(html.dark,.dark) .card h4 a,:is(html.dark,.dark) .card a[href].font-semibold{color:#fafafa!important}:is(html.dark,.dark) .card [data-component-part=\"card-title\"] a:visited,:is(html.dark,.dark) .card h2 a:visited,:is(html.dark,.dark) .card h3 a:visited,:is(html.dark,.dark) .card h4 a:visited,:is(html.dark,.dark) .card a[href].font-semibold:visited{color:#fafafa!important}.nav-tag-pill-text[data-nav-tag=\"beta\"],[data-nav-tag=\"beta\"].nav-tag-pill-text{background-color:#b8f818!important;border:none!important;color:#18181b!important;text-transform:uppercase!important;font-weight:600!important}#navigation-items{padding-bottom:9rem}.accent-badge{background-color:#b8f818!important;border:none!important;color:#18181b!important;text-transform:uppercase!important;font-weight:600!important}.mdx-content li strong{font-weight:600!important}.mdx-content [class*=\"overflow-x-auto\"]{overflow-x:visible!important}.mdx-content [class*=\"w-[calc(100%+(var(--page-padding)*2))]\"]{width:100%!important}.mdx-content [class*=\"-mx-[var(--page-padding)]\"]{margin-left:0!important;margin-right:0!important}.mdx-content [class*=\"max-w-none\"]{max-width:100%!important}.mdx-content .table{display:block!important}.mdx-content table{width:100%!important;max-width:100%!important;min-width:0!important;table-layout:auto;border-collapse:collapse;box-sizing:border-box;margin:0}.mdx-content table th,.mdx-content table td{min-width:0!important;vertical-align:top}.mdx-content table th,.mdx-content table th *{white-space:normal;overflow-wrap:normal!important;word-break:normal!important;hyphens:manual}.mdx-content table th,.mdx-content table th *,.mdx-content table strong{font-weight:600!important}.mdx-content table td{white-space:normal;overflow-wrap:break-word;word-break:normal;hyphens:manual}.mdx-content table code,.mdx-content table kbd,.mdx-content table samp{white-space:nowrap;overflow-wrap:normal;word-break:keep-all}.mdx-content table td code,.mdx-content table td kbd,.mdx-content table td samp{white-space:normal;overflow-wrap:normal;word-break:normal}.mdx-content table td a{white-space:normal;overflow-wrap:break-word;word-break:normal;hyphens:manual}.mdx-content .capabilities-table table th:first-child,.mdx-content .capabilities-table table td:first-child,.mdx-content .capabilities-table table th:last-child,.mdx-content .capabilities-table table td:last-child,.mdx-content .capabilities-table table td:first-child a,.mdx-content .capabilities-table table td:last-child a{white-space:nowrap}.mdx-content table img,.mdx-content table svg{max-width:100%;height:auto;display:block}.mdx-content [data-component-part=\"code-block-root\"]{width:100%!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch}.mdx-content [data-component-part=\"code-block-root\"][class*=\"overflow-x-auto\"]{overflow-x:auto!important}.mdx-content [data-component-part=\"code-block-root\"] pre,.mdx-content [data-component-part=\"code-block-root\"] code,.mdx-content [data-component-part=\"code-block-root\"] .shiki,.mdx-content [data-component-part=\"code-block-root\"] .shiki .line,.mdx-content [data-component-part=\"code-block-root\"] .shiki .line>span{white-space:pre!important;word-break:normal!important;overflow-wrap:normal!important}.mdx-content [data-component-part=\"code-block-root\"] pre>code>span.line-diff{min-width:max-content!important}:not(pre)>code{background-color:rgba(0,0,0,0.03);border:1px solid rgba(0,0,0,0.08);border-radius:6px;padding:0.15em 0.4em;font-size:0.875em;color:inherit}:is(html.dark,.dark) :not(pre)>code{background-color:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.08);color:#fafafa}html:not(.dark) .mdx-content [data-component-part=\"code-block-root\"] .line-highlight,html:not(.dark) .mdx-content [data-component-part=\"code-block-root\"] .line-highlight::before{background-color:rgba(115, 115, 115, 0.16)!important}:is(html.dark,.dark) g.node.nodeNeutral span,:is(html.dark,.dark) g.node.nodeNeutral .label,:is(html.dark,.dark) g.node.nodeNeutral .label text,:is(html.dark,.dark) g.node.nodeGray span,:is(html.dark,.dark) g.node.nodeGray .label,:is(html.dark,.dark) g.node.nodeGray .label text,:is(html.dark,.dark) g.node.nodeBlue span,:is(html.dark,.dark) g.node.nodeBlue .label,:is(html.dark,.dark) g.node.nodeBlue .label text,:is(html.dark,.dark) g.node.nodeGreen span,:is(html.dark,.dark) g.node.nodeGreen .label,:is(html.dark,.dark) g.node.nodeGreen .label text,:is(html.dark,.dark) g.node.nodeYellow span,:is(html.dark,.dark) g.node.nodeYellow .label,:is(html.dark,.dark) g.node.nodeYellow .label text,:is(html.dark,.dark) g.node.nodeCyan span,:is(html.dark,.dark) g.node.nodeCyan .label,:is(html.dark,.dark) g.node.nodeCyan .label text,:is(html.dark,.dark) g.node.nodePurple span,:is(html.dark,.dark) g.node.nodePurple .label,:is(html.dark,.dark) g.node.nodePurple .label text,:is(html.dark,.dark) g.node.nodeLightPurple span,:is(html.dark,.dark) g.node.nodeLightPurple .label,:is(html.dark,.dark) g.node.nodeLightPurple .label text{color:#1a1a1a!important;fill:#1a1a1a!important}img[src$=\"embedded-assistant.svg\"]{filter:brightness(0) invert(32%)}a[aria-current=\"location\"] img[src$=\"embedded-assistant.svg\"],a:hover img[src$=\"embedded-assistant.svg\"]{filter:brightness(0) invert(15%)}:is(html.dark,.dark) img[src$=\"embedded-assistant.svg\"]{filter:brightness(0) invert(63%)}:is(html.dark,.dark) a[aria-current=\"location\"] img[src$=\"embedded-assistant.svg\"],:is(html.dark,.dark) a:hover img[src$=\"embedded-assistant.svg\"]{filter:brightness(0) invert(88%)}.errors-tabs [role=\"tablist\"] [role=\"tab\"],.errors-tabs [role=\"tablist\"] [role=\"tab\"] *,.errors-tabs [role=\"tablist\"] button,.errors-tabs [role=\"tablist\"] button *{font-weight:800!important;font-size:1.05em!important}"}]}
{"page":{"pagePath":"api-reference/fhir/predict-fhir-resources","slug":"/api-reference/fhir/predict-fhir-resources","pageMetadata":{"title":"Predict FHIR Resources","description":"Predict FHIR R4 resources from clinical text. This is a stateless tool: it reads the clinical note from the request `context`, extracts the clinical facts found in it, and returns them as FHIR R4 resources collected in a FHIR R4 transaction Bundle (https://hl7.org/fhir/R4/bundle.html). The Bundle can be POSTed as-is to the base URL of a FHIR R4 server, which creates every resource and resolves the references between them.\n\nYou do not need to know FHIR to use this endpoint. FHIR is the healthcare interoperability standard; each returned `Bundle.entry[].resource` is a structured object for one clinical fact, identified by its `resourceType`, for example `Condition` (https://hl7.org/fhir/R4/condition.html) or `AllergyIntolerance` (https://hl7.org/fhir/R4/allergyintolerance.html). See the response examples and the schema descriptions of `FhirBundleEntry` for the resource types produced today.\n\nHow to read the response:\n\n- A `Patient` and an `Encounter` are always returned, first and second; they carry whatever the note and the request state about them. Every other resource is returned only for facts present in the note that satisfy the requested resource-group selection, category selection and code filters. A missing `resourceType` means no matching resources were returned, not necessarily that the note contained no facts of that type. A Bundle holding only Patient and Encounter is a successful response, not an error.\n- The same type may appear more than once (for example, once per condition found). Identify resources by their `id`, not by entry position.\n- Every entry has a `fullUrl` of the form `urn:uuid:\u003cid>` (https://www.rfc-editor.org/rfc/rfc4122), and every reference inside the Bundle points at one of them: clinical resources point at the Patient (`subject` or `patient`), and Condition, Procedure and Observation also point at the Encounter (`encounter`).\n- Every entry carries a transaction `request` (`POST` to its resource type). Patient and Encounter are conditional creates on their business identifier (`ifNoneExist`), so a FHIR server that already holds that patient or encounter links the new resources to it instead of creating a duplicate.\n- FHIR R4 requires some elements even when the note does not state them (`Encounter.class`, `FamilyMemberHistory.relationship`, `AllergyIntolerance.reaction.manifestation`, `Procedure.performer.actor`). Such an element then carries only the FHIR data-absent-reason extension (`FhirDataAbsentReasonExtension`) instead of a guessed value. An unstated `Encounter.status` is `unknown`.\n- Where the model grounds a resource field in the note, the resource carries an evidence extension (`…/mention`, see `FhirMentionExtension`) with the character offsets of the supporting text. Competing codes ride in alternative extensions (`…/alternative`, see `FhirAlternativeExtension`). Worked examples are attached to this endpoint.\n- Offsets count characters in the request note. For a `contextType: other` context the note is the `data` string. For a `contextType: clinicalNote` context the note is the sections written one after another as `\"\u003ctitle>:\\n\u003cbody>\\n\\n\"`; spans inside one section also carry `sectionId`, `sectionStart` and `sectionEnd`, the position within that section's `title` followed by its `body`. `start` is inclusive, `end` is exclusive.\n- New resource types may be added in the future. Ignore entries whose `resourceType` you do not recognize.\n\nKnown facts about the patient (`patient`) or the encounter (`encounter`) can be supplied in the request; every supplied field overrides the value the model extracts from the note.\n\nThe output can be narrowed in two independent ways. `resourceGroups` selects which resource types (and categories within them) are produced; Patient and Encounter are always produced. `filters` restricts which codes may be returned, per coding system and optionally per resource group, category and coded field.","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml post /tools/fhir/","href":"/api-reference/fhir/predict-fhir-resources","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n li: \"li\",\n p: \"p\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Predict FHIR R4 resources from clinical text. This is a stateless tool: it reads the clinical note from the request \", _jsx(_components.code, {\n children: \"context\"\n }), \", extracts the clinical facts found in it, and returns them as FHIR R4 resources collected in a FHIR R4 transaction Bundle (\", _jsx(_components.a, {\n href: \"https://hl7.org/fhir/R4/bundle.html\",\n children: \"https://hl7.org/fhir/R4/bundle.html\"\n }), \"). The Bundle can be POSTed as-is to the base URL of a FHIR R4 server, which creates every resource and resolves the references between them.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"You do not need to know FHIR to use this endpoint. FHIR is the healthcare interoperability standard; each returned \", _jsx(_components.code, {\n children: \"Bundle.entry[].resource\"\n }), \" is a structured object for one clinical fact, identified by its \", _jsx(_components.code, {\n children: \"resourceType\"\n }), \", for example \", _jsx(_components.code, {\n children: \"Condition\"\n }), \" (\", _jsx(_components.a, {\n href: \"https://hl7.org/fhir/R4/condition.html\",\n children: \"https://hl7.org/fhir/R4/condition.html\"\n }), \") or \", _jsx(_components.code, {\n children: \"AllergyIntolerance\"\n }), \" (\", _jsx(_components.a, {\n href: \"https://hl7.org/fhir/R4/allergyintolerance.html\",\n children: \"https://hl7.org/fhir/R4/allergyintolerance.html\"\n }), \"). See the response examples and the schema descriptions of \", _jsx(_components.code, {\n children: \"FhirBundleEntry\"\n }), \" for the resource types produced today.\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"How to read the response:\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [\"A \", _jsx(_components.code, {\n children: \"Patient\"\n }), \" and an \", _jsx(_components.code, {\n children: \"Encounter\"\n }), \" are always returned, first and second; they carry whatever the note and the request state about them. Every other resource is returned only for facts present in the note that satisfy the requested resource-group selection, category selection and code filters. A missing \", _jsx(_components.code, {\n children: \"resourceType\"\n }), \" means no matching resources were returned, not necessarily that the note contained no facts of that type. A Bundle holding only Patient and Encounter is a successful response, not an error.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"The same type may appear more than once (for example, once per condition found). Identify resources by their \", _jsx(_components.code, {\n children: \"id\"\n }), \", not by entry position.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Every entry has a \", _jsx(_components.code, {\n children: \"fullUrl\"\n }), \" of the form \", _jsx(_components.code, {\n children: \"urn:uuid:\u003cid>\"\n }), \" (\", _jsx(_components.a, {\n href: \"https://www.rfc-editor.org/rfc/rfc4122\",\n children: \"https://www.rfc-editor.org/rfc/rfc4122\"\n }), \"), and every reference inside the Bundle points at one of them: clinical resources point at the Patient (\", _jsx(_components.code, {\n children: \"subject\"\n }), \" or \", _jsx(_components.code, {\n children: \"patient\"\n }), \"), and Condition, Procedure and Observation also point at the Encounter (\", _jsx(_components.code, {\n children: \"encounter\"\n }), \").\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Every entry carries a transaction \", _jsx(_components.code, {\n children: \"request\"\n }), \" (\", _jsx(_components.code, {\n children: \"POST\"\n }), \" to its resource type). Patient and Encounter are conditional creates on their business identifier (\", _jsx(_components.code, {\n children: \"ifNoneExist\"\n }), \"), so a FHIR server that already holds that patient or encounter links the new resources to it instead of creating a duplicate.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"FHIR R4 requires some elements even when the note does not state them (\", _jsx(_components.code, {\n children: \"Encounter.class\"\n }), \", \", _jsx(_components.code, {\n children: \"FamilyMemberHistory.relationship\"\n }), \", \", _jsx(_components.code, {\n children: \"AllergyIntolerance.reaction.manifestation\"\n }), \", \", _jsx(_components.code, {\n children: \"Procedure.performer.actor\"\n }), \"). Such an element then carries only the FHIR data-absent-reason extension (\", _jsx(_components.code, {\n children: \"FhirDataAbsentReasonExtension\"\n }), \") instead of a guessed value. An unstated \", _jsx(_components.code, {\n children: \"Encounter.status\"\n }), \" is \", _jsx(_components.code, {\n children: \"unknown\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Where the model grounds a resource field in the note, the resource carries an evidence extension (\", _jsx(_components.code, {\n children: \"…/mention\"\n }), \", see \", _jsx(_components.code, {\n children: \"FhirMentionExtension\"\n }), \") with the character offsets of the supporting text. Competing codes ride in alternative extensions (\", _jsx(_components.code, {\n children: \"…/alternative\"\n }), \", see \", _jsx(_components.code, {\n children: \"FhirAlternativeExtension\"\n }), \"). Worked examples are attached to this endpoint.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Offsets count characters in the request note. For a \", _jsx(_components.code, {\n children: \"contextType: other\"\n }), \" context the note is the \", _jsx(_components.code, {\n children: \"data\"\n }), \" string. For a \", _jsx(_components.code, {\n children: \"contextType: clinicalNote\"\n }), \" context the note is the sections written one after another as \", _jsx(_components.code, {\n children: \"\\\"\u003ctitle>:\\\\n\u003cbody>\\\\n\\\\n\\\"\"\n }), \"; spans inside one section also carry \", _jsx(_components.code, {\n children: \"sectionId\"\n }), \", \", _jsx(_components.code, {\n children: \"sectionStart\"\n }), \" and \", _jsx(_components.code, {\n children: \"sectionEnd\"\n }), \", the position within that section’s \", _jsx(_components.code, {\n children: \"title\"\n }), \" followed by its \", _jsx(_components.code, {\n children: \"body\"\n }), \". \", _jsx(_components.code, {\n children: \"start\"\n }), \" is inclusive, \", _jsx(_components.code, {\n children: \"end\"\n }), \" is exclusive.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"New resource types may be added in the future. Ignore entries whose \", _jsx(_components.code, {\n children: \"resourceType\"\n }), \" you do not recognize.\"]\n }), \"\\n\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Known facts about the patient (\", _jsx(_components.code, {\n children: \"patient\"\n }), \") or the encounter (\", _jsx(_components.code, {\n children: \"encounter\"\n }), \") can be supplied in the request; every supplied field overrides the value the model extracts from the note.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The output can be narrowed in two independent ways. \", _jsx(_components.code, {\n children: \"resourceGroups\"\n }), \" selects which resource types (and categories within them) are produced; Patient and Encounter are always produced. \", _jsx(_components.code, {\n children: \"filters\"\n }), \" restricts which codes may be returned, per coding system and optionally per resource group, category and coded field.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Predict FHIR Resources","description":"Predict FHIR R4 resources from clinical text. This is a stateless tool: it reads the clinical note from the request `context`, extracts the clinical facts found in it, and returns them as FHIR R4 resources collected in a FHIR R4 transaction Bundle (https://hl7.org/fhir/R4/bundle.html). The Bundle can be POSTed as-is to the base URL of a FHIR R4 server, which creates every resource and resolves the references between them.\n\nYou do not need to know FHIR to use this endpoint. FHIR is the healthcare interoperability standard; each returned `Bundle.entry[].resource` is a structured object for one clinical fact, identified by its `resourceType`, for example `Condition` (https://hl7.org/fhir/R4/condition.html) or `AllergyIntolerance` (https://hl7.org/fhir/R4/allergyintolerance.html). See the response examples and the schema descriptions of `FhirBundleEntry` for the resource types produced today.\n\nHow to read the response:\n\n- A `Patient` and an `Encounter` are always returned, first and second; they carry whatever the note and the request state about them. Every other resource is returned only for facts present in the note that satisfy the requested resource-group selection, category selection and code filters. A missing `resourceType` means no matching resources were returned, not necessarily that the note contained no facts of that type. A Bundle holding only Patient and Encounter is a successful response, not an error.\n- The same type may appear more than once (for example, once per condition found). Identify resources by their `id`, not by entry position.\n- Every entry has a `fullUrl` of the form `urn:uuid:\u003cid>` (https://www.rfc-editor.org/rfc/rfc4122), and every reference inside the Bundle points at one of them: clinical resources point at the Patient (`subject` or `patient`), and Condition, Procedure and Observation also point at the Encounter (`encounter`).\n- Every entry carries a transaction `request` (`POST` to its resource type). Patient and Encounter are conditional creates on their business identifier (`ifNoneExist`), so a FHIR server that already holds that patient or encounter links the new resources to it instead of creating a duplicate.\n- FHIR R4 requires some elements even when the note does not state them (`Encounter.class`, `FamilyMemberHistory.relationship`, `AllergyIntolerance.reaction.manifestation`, `Procedure.performer.actor`). Such an element then carries only the FHIR data-absent-reason extension (`FhirDataAbsentReasonExtension`) instead of a guessed value. An unstated `Encounter.status` is `unknown`.\n- Where the model grounds a resource field in the note, the resource carries an evidence extension (`…/mention`, see `FhirMentionExtension`) with the character offsets of the supporting text. Competing codes ride in alternative extensions (`…/alternative`, see `FhirAlternativeExtension`). Worked examples are attached to this endpoint.\n- Offsets count characters in the request note. For a `contextType: other` context the note is the `data` string. For a `contextType: clinicalNote` context the note is the sections written one after another as `\"\u003ctitle>:\\n\u003cbody>\\n\\n\"`; spans inside one section also carry `sectionId`, `sectionStart` and `sectionEnd`, the position within that section's `title` followed by its `body`. `start` is inclusive, `end` is exclusive.\n- New resource types may be added in the future. Ignore entries whose `resourceType` you do not recognize.\n\nKnown facts about the patient (`patient`) or the encounter (`encounter`) can be supplied in the request; every supplied field overrides the value the model extracts from the note.\n\nThe output can be narrowed in two independent ways. `resourceGroups` selects which resource types (and categories within them) are produced; Patient and Encounter are always produced. `filters` restricts which codes may be returned, per coding system and optionally per resource group, category and coded field.","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml post /tools/fhir/","href":"/api-reference/fhir/predict-fhir-resources","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/corti/f39b9e0170d6232a/api-reference/corti.js","/_mintlify/custom/corti/8c15918c79eb9f3c/generate-events-nav.js"],"openApiReferenceData":{"operation":{"operationId":"fhir_predict","responses":{"200":"56a6431d-125f-4800-b234-cd1ba307354d","400":"0d759616-46b3-4d8d-b6bc-9ade6fceca0b","403":"710f833c-ec9a-4625-aa8e-c032ff5a4c8c","413":"8099cee9-105a-46df-8dec-5853d0c0c903","422":"415a8ddc-a26a-4b1c-9eee-283d3470071e","500":"9cb49652-02ba-43e5-8768-2aabf8e75b3d"},"tags":["FHIR"],"summary":"Predict FHIR Resources","description":"Predict FHIR R4 resources from clinical text. This is a stateless tool: it reads the clinical note from the request `context`, extracts the clinical facts found in it, and returns them as FHIR R4 resources collected in a FHIR R4 transaction Bundle (https://hl7.org/fhir/R4/bundle.html). The Bundle can be POSTed as-is to the base URL of a FHIR R4 server, which creates every resource and resolves the references between them.\n\nYou do not need to know FHIR to use this endpoint. FHIR is the healthcare interoperability standard; each returned `Bundle.entry[].resource` is a structured object for one clinical fact, identified by its `resourceType`, for example `Condition` (https://hl7.org/fhir/R4/condition.html) or `AllergyIntolerance` (https://hl7.org/fhir/R4/allergyintolerance.html). See the response examples and the schema descriptions of `FhirBundleEntry` for the resource types produced today.\n\nHow to read the response:\n\n- A `Patient` and an `Encounter` are always returned, first and second; they carry whatever the note and the request state about them. Every other resource is returned only for facts present in the note that satisfy the requested resource-group selection, category selection and code filters. A missing `resourceType` means no matching resources were returned, not necessarily that the note contained no facts of that type. A Bundle holding only Patient and Encounter is a successful response, not an error.\n- The same type may appear more than once (for example, once per condition found). Identify resources by their `id`, not by entry position.\n- Every entry has a `fullUrl` of the form `urn:uuid:\u003cid>` (https://www.rfc-editor.org/rfc/rfc4122), and every reference inside the Bundle points at one of them: clinical resources point at the Patient (`subject` or `patient`), and Condition, Procedure and Observation also point at the Encounter (`encounter`).\n- Every entry carries a transaction `request` (`POST` to its resource type). Patient and Encounter are conditional creates on their business identifier (`ifNoneExist`), so a FHIR server that already holds that patient or encounter links the new resources to it instead of creating a duplicate.\n- FHIR R4 requires some elements even when the note does not state them (`Encounter.class`, `FamilyMemberHistory.relationship`, `AllergyIntolerance.reaction.manifestation`, `Procedure.performer.actor`). Such an element then carries only the FHIR data-absent-reason extension (`FhirDataAbsentReasonExtension`) instead of a guessed value. An unstated `Encounter.status` is `unknown`.\n- Where the model grounds a resource field in the note, the resource carries an evidence extension (`…/mention`, see `FhirMentionExtension`) with the character offsets of the supporting text. Competing codes ride in alternative extensions (`…/alternative`, see `FhirAlternativeExtension`). Worked examples are attached to this endpoint.\n- Offsets count characters in the request note. For a `contextType: other` context the note is the `data` string. For a `contextType: clinicalNote` context the note is the sections written one after another as `\"\u003ctitle>:\\n\u003cbody>\\n\\n\"`; spans inside one section also carry `sectionId`, `sectionStart` and `sectionEnd`, the position within that section's `title` followed by its `body`. `start` is inclusive, `end` is exclusive.\n- New resource types may be added in the future. Ignore entries whose `resourceType` you do not recognize.\n\nKnown facts about the patient (`patient`) or the encounter (`encounter`) can be supplied in the request; every supplied field overrides the value the model extracts from the note.\n\nThe output can be narrowed in two independent ways. `resourceGroups` selects which resource types (and categories within them) are produced; Patient and Encounter are always produced. `filters` restricts which codes may be returned, per coding system and optionally per resource group, category and coded field.","parameters":["69dc1ed1-f920-40ba-a5a9-8b8d80c41160"],"requestBody":"8215ef4f-d4a7-4458-9603-7ae5c11f889d","method":"post","type":"path","servers":["9acb6e07-a4b3-4514-bebb-0c8f2cba50c3"],"security":["7329c2ad-c32d-4509-a8f1-d125b8577922"],"path":"/tools/fhir/","baseUrlOptions":["https://api.{environment}.corti.app/v2/"],"title":"Predict FHIR Resources","codeSamples":[],"requestExampleLanguages":["bash","javascript","csharp","python","php","go","java"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"69dc1ed1-f920-40ba-a5a9-8b8d80c41160":{"name":"Tenant-Name","in":"header","description":"Identifies a distinct entity within Corti's multi-tenant system. Ensures correct routing and authentication of the request.","required":true,"example":"base","schema":{"type":"string","description":"Identifies a distinct entity within Corti's multi-tenant system. Ensures correct routing and authentication of the request.","example":"base","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Request body of `/tools/fhir/`.","required":["context"],"properties":{"context":{"oneOf":[{"type":"object","title":"String","description":"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.","required":["contextType","data"],"properties":{"contextType":{"type":"string","enum":["other"],"description":"Always `other` for a note sent as one string.","isRequired":true,"uniqueKey":"context.oneOf.0.contextType","typeLabel":"enum\u003cstring>"},"data":{"type":"string","description":"The note. A blank string is rejected (400).","example":"Known asthma, now with a cough.","isRequired":true,"uniqueKey":"context.oneOf.0.data","typeLabel":"string"}},"isRequired":true,"uniqueKey":"context.oneOf.0","typeLabel":"String · object"},{"type":"object","title":"Clinical note","description":"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.","required":["contextType","data"],"properties":{"contextType":{"type":"string","enum":["clinicalNote"],"description":"Always `clinicalNote` for a note sent as sections.","isRequired":true,"uniqueKey":"context.oneOf.1.contextType","typeLabel":"enum\u003cstring>"},"data":{"type":"array","description":"The sections of the note, in order.","items":{"type":"object","description":"One titled section of a clinical note.","required":["id","title","body"],"properties":{"id":{"type":"string","description":"Your id for the section; returned as `sectionId` on evidence spans inside it.","example":"vitals","isRequired":true,"uniqueKey":"context.oneOf.1.data.items.[INDEX].id","typeLabel":"string"},"title":{"type":"string","description":"Section title, written into the note as `\u003ctitle>:` on its own line.","example":"Vitals","isRequired":true,"uniqueKey":"context.oneOf.1.data.items.[INDEX].title","typeLabel":"string"},"body":{"type":"string","description":"Section text.","example":"Systolic blood pressure is 150 mmHg.","isRequired":true,"uniqueKey":"context.oneOf.1.data.items.[INDEX].body","typeLabel":"string"}},"uniqueKey":"context.oneOf.1.data.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"context.oneOf.1.data","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"context.oneOf.1","typeLabel":"Clinical note · object"}],"isRequired":true,"uniqueKey":"context","typeLabel":"String · object | Clinical note · object"},"patient":{"type":"object","description":"Known facts about the patient. Every supplied field overrides the value the model extracts from the note; omitted fields fall back to extraction.","properties":{"identifier":{"type":"string","description":"Business identifier of the patient in the caller's system (FHIR R4 `Patient.identifier.value`). When provided, the returned Patient resource uses this identifier instead of a generated one. It never replaces the resource `id`.","example":"MRN-00123","uniqueKey":"patient.identifier","typeLabel":"string"},"gender":{"type":"string","enum":["male","female","other","unknown"],"description":"Administrative gender (FHIR R4 `Patient.gender`, http://hl7.org/fhir/ValueSet/administrative-gender).","uniqueKey":"patient.gender","typeLabel":"enum\u003cstring>"},"birthDate":{"type":"string","pattern":"^\\d{4}(-(0[1-9]|1[0-2])(-(0[1-9]|[12]\\d|3[01]))?)?$","description":"Date of birth as a FHIR R4 `date`: `YYYY`, `YYYY-MM` or `YYYY-MM-DD`. No time of day, no relative or free-text dates.","example":"1974-12-25","uniqueKey":"patient.birthDate","typeLabel":"string"},"name":{"type":"string","description":"The patient's name as plain text. Returned as `Patient.name[0].text`; never split into given and family parts.","example":"Maria Nielsen","uniqueKey":"patient.name","typeLabel":"string"}},"uniqueKey":"patient","typeLabel":"object"},"encounter":{"type":"object","description":"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.","properties":{"identifier":{"type":"string","description":"Business identifier of the encounter in the caller's system (FHIR R4 `Encounter.identifier.value`). When provided, the returned Encounter resource uses this identifier instead of a generated one. It never replaces the resource `id`.","example":"123456789","uniqueKey":"encounter.identifier","typeLabel":"string"},"status":{"type":"string","enum":["planned","arrived","triaged","in-progress","onleave","finished","cancelled","entered-in-error","unknown"],"description":"Encounter status (FHIR R4 `Encounter.status`, http://hl7.org/fhir/ValueSet/encounter-status).","uniqueKey":"encounter.status","typeLabel":"enum\u003cstring>"},"class":{"type":"string","enum":["ambulatory","emergency","inpatient","home-health","virtual"],"description":"Care setting of the encounter (FHIR R4 `Encounter.class`, coded in the v3-ActCode system: AMB, EMER, IMP, HH, VR).","uniqueKey":"encounter.class","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Specific type of the encounter, free text.","uniqueKey":"encounter.type","typeLabel":"string"},"serviceType":{"type":"string","description":"Broad category of the service, free text.","uniqueKey":"encounter.serviceType","typeLabel":"string"},"priority":{"type":"string","enum":["routine","urgent","emergency","asap","elective","stat"],"description":"Urgency of the encounter (FHIR R4 `Encounter.priority`, v3-ActPriority).","uniqueKey":"encounter.priority","typeLabel":"enum\u003cstring>"},"reasonCode":{"type":"string","description":"Chief complaint or reason for the visit, free text.","uniqueKey":"encounter.reasonCode","typeLabel":"string"},"period":{"type":"object","description":"Start and end of the encounter, FHIR R4 dateTimes.","properties":{"start":{"type":"string","pattern":"^\\d{4}(-(0[1-9]|1[0-2])(-(0[1-9]|[12]\\d|3[01])(T([01]\\d|2[0-3]):[0-5]\\d:([0-5]\\d|60)(\\.\\d+)?(Z|[+-]((0\\d|1[0-3]):[0-5]\\d|14:00)))?)?)?$","description":"Start of the period, FHIR R4 dateTime.","example":"2025-01-15T09:00:00Z","uniqueKey":"encounter.period.start","typeLabel":"string"},"end":{"type":"string","pattern":"^\\d{4}(-(0[1-9]|1[0-2])(-(0[1-9]|[12]\\d|3[01])(T([01]\\d|2[0-3]):[0-5]\\d:([0-5]\\d|60)(\\.\\d+)?(Z|[+-]((0\\d|1[0-3]):[0-5]\\d|14:00)))?)?)?$","description":"End of the period, inclusive, FHIR R4 dateTime. The period is ongoing while `end` is missing.","example":"2025-01-15T09:45:00Z","uniqueKey":"encounter.period.end","typeLabel":"string"}},"uniqueKey":"encounter.period","typeLabel":"object"}},"uniqueKey":"encounter","typeLabel":"object"},"resourceGroups":{"type":"array","minItems":1,"description":"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.","items":{"type":"object","description":"One selected resource group and, optionally, the categories to produce within it.","required":["type"],"properties":{"type":{"type":"string","description":"The resource group to produce.","enum":["Condition","AllergyIntolerance","FamilyMemberHistory","Procedure","Observation","Patient","Encounter"],"isRequired":true,"uniqueKey":"resourceGroups.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"categories":{"type":"array","minItems":1,"description":"Categories to produce within this group. Omit for all categories. Only resources whose category is selected are returned. Each value must belong to this group's category set (400 otherwise): Observation — `laboratory`, `vital-signs`, `survey`, `exam`, `social-history`, `imaging`, `procedure`; Condition — `problem-list-item`, `encounter-diagnosis`; AllergyIntolerance — `food`, `medication`, `environment`, `biologic`; Procedure — the SNOMED CT procedure categories listed in the enum. Patient, Encounter and FamilyMemberHistory have no categories and reject this field.","items":{"type":"string","enum":["laboratory","vital-signs","survey","exam","social-history","imaging","procedure","problem-list-item","encounter-diagnosis","food","medication","environment","biologic","Psychiatry procedure or service","Counseling","Education","Surgical procedure","Laboratory test","Imaging","Measurement","Chiropractic manipulation","Social service procedure"],"uniqueKey":"resourceGroups.items.[INDEX].categories.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["vital-signs","laboratory"],"uniqueKey":"resourceGroups.items.[INDEX].categories","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"resourceGroups.items.[INDEX]","typeLabel":"object"},"uniqueKey":"resourceGroups","typeLabel":"object[]"},"filters":{"type":"array","description":"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.","items":{"type":"object","description":"Restricts the codes the service may return for one coding system. Without a `scope`, the entry applies to every `code` search of its system across all selected resource groups; `bodySite` and `valueCodeableConcept` searches are only restricted by entries that name the field in `scope.field`.","required":["systemId"],"properties":{"systemId":{"type":"string","pattern":"^[a-z0-9]+$","description":"Coding system the filter applies to, written without hyphens, e.g. `snomedctint` or `loinc`. Must be a system the service searches for the scope; any other value is rejected (400).","example":"snomedctint","isRequired":true,"uniqueKey":"filters.items.[INDEX].systemId","typeLabel":"string"},"include":{"type":"object","description":"Codes that may be returned. Omit to allow every code of the system.","required":["conditions"],"properties":{"conditions":{"type":"array","minItems":1,"items":{"oneOf":[{"type":"object","description":"Single property/op/value filter clause for attribute-based code filtering.","required":["property","value"],"properties":{"property":{"type":"string","description":"The attribute to filter on.","example":"code","isRequired":true,"uniqueKey":"filters.items.[INDEX].include.conditions.items.[INDEX].oneOf.0.property","typeLabel":"string"},"value":{"oneOf":[{"type":"string","description":"Comparison value; type depends on `op`.","isRequired":true,"uniqueKey":"filters.items.[INDEX].include.conditions.items.[INDEX].oneOf.0.value.oneOf.0","typeLabel":"string"},{"type":"boolean","description":"Comparison value; type depends on `op`.","isRequired":true,"uniqueKey":"filters.items.[INDEX].include.conditions.items.[INDEX].oneOf.0.value.oneOf.1","typeLabel":"boolean"},{"type":"integer","description":"Comparison value; type depends on `op`.","isRequired":true,"uniqueKey":"filters.items.[INDEX].include.conditions.items.[INDEX].oneOf.0.value.oneOf.2","typeLabel":"integer"},{"type":"array","items":{"type":"string","uniqueKey":"filters.items.[INDEX].include.conditions.items.[INDEX].oneOf.0.value.oneOf.3.items.[INDEX]","typeLabel":"string"},"description":"Comparison value; type depends on `op`.","isRequired":true,"uniqueKey":"filters.items.[INDEX].include.conditions.items.[INDEX].oneOf.0.value.oneOf.3","typeLabel":"string[]"}],"isRequired":true,"uniqueKey":"filters.items.[INDEX].include.conditions.items.[INDEX].oneOf.0.value","typeLabel":"string | boolean | integer | string[]"},"op":{"type":"string","enum":["=","is-a","descendent-of","exists","in"],"default":"=","description":"Comparison operator: `=` (equal), `is-a` (code plus descendants), `descendent-of` (strict descendants), `exists` (`value: true`/`false` for set/unset), `in` (membership).","uniqueKey":"filters.items.[INDEX].include.conditions.items.[INDEX].oneOf.0.op","typeLabel":"enum\u003cstring>"}},"uniqueKey":"filters.items.[INDEX].include.conditions.items.[INDEX].oneOf.0","typeLabel":"object"},{}],"uniqueKey":"filters.items.[INDEX].include.conditions.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"filters.items.[INDEX].include.conditions","typeLabel":"object[]"},"match":{"type":"string","enum":["all","any"],"description":"How `conditions` combine. May be omitted only when `conditions` has a single item.","uniqueKey":"filters.items.[INDEX].include.match","typeLabel":"enum\u003cstring>"}},"example":{"match":"all","conditions":[{"property":"code","op":"is-a","value":["50043002"]}]},"uniqueKey":"filters.items.[INDEX].include","typeLabel":"object"},"exclude":{"type":"object","description":"Codes that must not be returned, subtracted from the include set.","required":["conditions"],"properties":{"conditions":{"type":"array","minItems":1,"items":{"oneOf":[{"type":"object","description":"Single property/op/value filter clause for attribute-based code filtering.","required":["property","value"],"properties":{"property":{"type":"string","description":"The attribute to filter on.","example":"code","isRequired":true,"uniqueKey":"filters.items.[INDEX].exclude.conditions.items.[INDEX].oneOf.0.property","typeLabel":"string"},"value":{"oneOf":[{"type":"string","description":"Comparison value; type depends on `op`.","isRequired":true,"uniqueKey":"filters.items.[INDEX].exclude.conditions.items.[INDEX].oneOf.0.value.oneOf.0","typeLabel":"string"},{"type":"boolean","description":"Comparison value; type depends on `op`.","isRequired":true,"uniqueKey":"filters.items.[INDEX].exclude.conditions.items.[INDEX].oneOf.0.value.oneOf.1","typeLabel":"boolean"},{"type":"integer","description":"Comparison value; type depends on `op`.","isRequired":true,"uniqueKey":"filters.items.[INDEX].exclude.conditions.items.[INDEX].oneOf.0.value.oneOf.2","typeLabel":"integer"},{"type":"array","items":{"type":"string","uniqueKey":"filters.items.[INDEX].exclude.conditions.items.[INDEX].oneOf.0.value.oneOf.3.items.[INDEX]","typeLabel":"string"},"description":"Comparison value; type depends on `op`.","isRequired":true,"uniqueKey":"filters.items.[INDEX].exclude.conditions.items.[INDEX].oneOf.0.value.oneOf.3","typeLabel":"string[]"}],"isRequired":true,"uniqueKey":"filters.items.[INDEX].exclude.conditions.items.[INDEX].oneOf.0.value","typeLabel":"string | boolean | integer | string[]"},"op":{"type":"string","enum":["=","is-a","descendent-of","exists","in"],"default":"=","description":"Comparison operator: `=` (equal), `is-a` (code plus descendants), `descendent-of` (strict descendants), `exists` (`value: true`/`false` for set/unset), `in` (membership).","uniqueKey":"filters.items.[INDEX].exclude.conditions.items.[INDEX].oneOf.0.op","typeLabel":"enum\u003cstring>"}},"uniqueKey":"filters.items.[INDEX].exclude.conditions.items.[INDEX].oneOf.0","typeLabel":"object"},{}],"uniqueKey":"filters.items.[INDEX].exclude.conditions.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"filters.items.[INDEX].exclude.conditions","typeLabel":"object[]"},"match":{"type":"string","enum":["all","any"],"description":"How `conditions` combine. May be omitted only when `conditions` has a single item.","uniqueKey":"filters.items.[INDEX].exclude.match","typeLabel":"enum\u003cstring>"}},"example":{"match":"all","conditions":[{"property":"code","op":"is-a","value":["50043002"]}]},"uniqueKey":"filters.items.[INDEX].exclude","typeLabel":"object"},"scope":{"type":"object","description":"Where the entry applies. Omit to apply it everywhere for `systemId`.","properties":{"resourceGroup":{"type":"string","description":"Resource group the entry applies to. Omit for every group.","enum":["Condition","AllergyIntolerance","FamilyMemberHistory","Procedure","Observation","Patient","Encounter"],"uniqueKey":"filters.items.[INDEX].scope.resourceGroup","typeLabel":"enum\u003cstring>"},"category":{"type":"string","description":"A category of `resourceGroup` (see `FhirResourceGroupSelection.categories`). Requires `resourceGroup`; a category the `resourceGroups` selection deselects is rejected (400).","example":"problem-list-item","uniqueKey":"filters.items.[INDEX].scope.category","typeLabel":"string"},"field":{"type":"string","enum":["code","bodySite","valueCodeableConcept"],"default":"code","description":"Coded element the filter restricts: `code` (the resource's main code, e.g. `Condition.code` or `FamilyMemberHistory.condition.code`), `bodySite` (the anatomical site), or `valueCodeableConcept` (the coded finding of an imaging observation).","uniqueKey":"filters.items.[INDEX].scope.field","typeLabel":"enum\u003cstring>"}},"uniqueKey":"filters.items.[INDEX].scope","typeLabel":"object"}},"uniqueKey":"filters.items.[INDEX]","typeLabel":"object"},"uniqueKey":"filters","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"basic":{"title":"basic","summary":"Predict from a single text block","value":{"context":{"contextType":"other","data":"Maria Nielsen, born 25 December 1974, presents to the emergency department with worsening breathlessness at night. She has known asthma since childhood. Penicillin gives her a rash. Her father also has asthma."}}},"with_patient_and_encounter":{"title":"with_patient_and_encounter","summary":"Known patient and encounter; note sent as titled sections","value":{"context":{"contextType":"clinicalNote","data":[{"id":"plan","title":"Plan","body":"Patient to follow up in two weeks."},{"id":"vitals","title":"Vitals","body":"Systolic blood pressure is 150 mmHg."}]},"patient":{"identifier":"MRN-00123"},"encounter":{"status":"finished","class":"ambulatory"}}},"with_selection_and_filters":{"title":"with_selection_and_filters","summary":"Only vital signs and conditions, with conditions restricted to respiratory disorders","value":{"context":{"contextType":"other","data":"Known asthma, now with a cough. Blood pressure 150/90 mmHg, pulse 88."},"resourceGroups":[{"type":"Observation","categories":["vital-signs"]},{"type":"Condition"}],"filters":[{"systemId":"snomedctint","scope":{"resourceGroup":"Condition","field":"code"},"include":{"conditions":[{"property":"code","op":"is-a","value":["50043002"]}]}}]}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"56a6431d-125f-4800-b234-cd1ba307354d":{"description":"The clinical facts found in the note, returned as FHIR R4 resources in a FHIR Bundle, together with the credits consumed by the request.","content":{"application/json":{"schema":{"type":"object","description":"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`.","required":["bundle","usageInfo"],"properties":{"bundle":{"type":"object","description":"The extracted clinical facts as FHIR R4 resources.","required":["resourceType","type"],"properties":{"resourceType":{"type":"string","enum":["Bundle"],"description":"FHIR resource type discriminator; always `Bundle`.","isRequired":true,"uniqueKey":"bundle.resourceType","typeLabel":"enum\u003cstring>"},"type":{"type":"string","enum":["transaction"],"description":"Bundle type; always `transaction` for this endpoint.","isRequired":true,"uniqueKey":"bundle.type","typeLabel":"enum\u003cstring>"},"timestamp":{"type":"string","format":"date-time","description":"When the response was produced.","example":"2025-01-15T09:30:47.512034+00:00","uniqueKey":"bundle.timestamp","typeLabel":"string\u003cdate-time>"},"entry":{"type":"array","description":"The extracted resources, one per entry. Always holds the Patient and the Encounter; a Bundle with only those two is a successful response for a note without clinical content.","items":{"type":"object","description":"One entry of the FHIR Bundle (`Bundle.entry`).","required":["fullUrl","resource","request"],"properties":{"fullUrl":{"type":"string","description":"Bundle-local address of the resource, `urn:uuid:\u003cresource.id>`. References inside the Bundle point at this value.","example":"urn:uuid:3f6d2b1a-8c4e-5a7d-b9f0-1e2d3c4b5a69","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].fullUrl","typeLabel":"string"},"resource":{"oneOf":[{"type":"object","description":"One FHIR R4 resource extracted from the note. One of: Patient, Encounter, Condition, AllergyIntolerance, FamilyMemberHistory, Procedure, Observation. New resource types may be added in the future; ignore entries whose `resourceType` you do not recognize.","required":["resourceType","id"],"properties":{"resourceType":{"type":"string","enum":["Patient"],"description":"FHIR resource type discriminator; always `Patient`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.resourceType","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"Bundle-local logical id of the resource (a UUID); the entry's `fullUrl` is `urn:uuid:\u003cid>`.","example":"3f6d2b1a-8c4e-5a7d-b9f0-1e2d3c4b5a69","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.id","typeLabel":"string"},"identifier":{"type":"array","description":"Business identifiers of the patient.","items":{"type":"object","description":"An identifier of a patient, encounter, or other entity inside a namespace (FHIR R4 Identifier, https://hl7.org/fhir/R4/datatypes.html#Identifier). The service uses the systems `http://corti.app/fhir/identifier/patient` and `http://corti.app/fhir/identifier/encounter`; the value is the request's `patient.identifier` / `encounter.identifier`, or the resource `id` when the request supplies none.","properties":{"system":{"type":"string","description":"Namespace of the identifier.","example":"http://corti.app/fhir/identifier/patient","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.identifier.items.[INDEX].system","typeLabel":"string"},"value":{"type":"string","description":"The identifier value, e.g. a medical record number.","example":"MRN-00123","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.identifier.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.identifier.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.identifier","typeLabel":"object[]"},"active":{"type":"boolean","description":"Whether this patient's record is in active use.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.active","typeLabel":"boolean"},"gender":{"type":"string","enum":["male","female","other","unknown"],"description":"Administrative gender.","example":"female","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.gender","typeLabel":"enum\u003cstring>"},"birthDate":{"type":"string","description":"Date of birth, ISO 8601 (`YYYY-MM-DD`).","example":"1974-12-25","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.birthDate","typeLabel":"string"},"name":{"type":"array","description":"The patient's name, as written in the note or overridden by the request's `patient.name`. Omitted when neither states one.","items":{"type":"object","description":"A person's name (FHIR R4 HumanName, https://hl7.org/fhir/R4/datatypes.html#HumanName). Only `text` is set: the name exactly as stated, never split into given and family parts.","properties":{"text":{"type":"string","description":"The full name as plain text.","example":"Maria Nielsen","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.name.items.[INDEX].text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.name.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.name","typeLabel":"object[]"},"extension":{"type":"array","description":"Extensions attached to a FHIR resource (FHIR R4 `DomainResource.extension`). The service produces two extension types today: `mention` (evidence spans that ground the resource in the note) and `alternative` (competing codes). Ignore extensions whose `url` you do not recognize; new extension types may be added in the future.","items":{"oneOf":[{"type":"object","description":"Evidence the model located in the clinical note, attached to one field of a resource as a FHIR R4 extension with the fixed URL `https://docs.corti.ai/fhir/StructureDefinition/mention`. Repeated once per field: each occurrence names the supported element in a `field` sub-extension, then carries one `evidence` block per span found.","required":["url","extension"],"properties":{"url":{"type":"string","enum":["https://docs.corti.ai/fhir/StructureDefinition/mention"],"description":"Identifies this extension as evidence.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.0.url","typeLabel":"enum\u003cstring>"},"extension":{"type":"array","minItems":2,"description":"One `field` sub-extension, then one or more `evidence` sub-extensions.","items":{"oneOf":[{"type":"object","description":"The FHIR element that the sibling evidence or alternative blocks support, e.g. `code`, `bodySite`, or `onsetDateTime`.","required":["url","valueString"],"properties":{"url":{"type":"string","enum":["field"],"description":"Marks this sub-extension as the field name.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.0.url","typeLabel":"enum\u003cstring>"},"valueString":{"type":"string","description":"Name of the supported FHIR element.","example":"code","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.0.valueString","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"One evidence span from the clinical note. `start` and `end` are positions in the whole request note (see the endpoint description). For a `clinicalNote` context, a span inside one section also carries `sectionId`, `sectionStart` and `sectionEnd`; a span that crosses a section boundary does not.","required":["url","extension"],"properties":{"url":{"type":"string","enum":["evidence"],"description":"Marks this sub-extension as one evidence span.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.url","typeLabel":"enum\u003cstring>"},"extension":{"type":"array","minItems":2,"description":"A `start` and an `end` sub-extension, optionally followed by a `text` sub-extension, then optionally `sectionId`, `sectionStart` and `sectionEnd`.","items":{"oneOf":[{"type":"object","description":"Start of an evidence span.","required":["url","valueInteger"],"properties":{"url":{"type":"string","enum":["start"],"description":"Marks this sub-extension as the span start.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0.url","typeLabel":"enum\u003cstring>"},"valueInteger":{"type":"integer","description":"Start of the span, inclusive: the number of characters of the request note before the first character of the span.","example":129,"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0.valueInteger","typeLabel":"integer"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"End of an evidence span.","required":["url","valueInteger"],"properties":{"url":{"type":"string","enum":["end"],"description":"Marks this sub-extension as the span end.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.url","typeLabel":"enum\u003cstring>"},"valueInteger":{"type":"integer","description":"End of the span, exclusive: the number of characters of the request note up to the first character after the span.","example":135,"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueInteger","typeLabel":"integer"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"Verbatim text of an evidence span.","required":["url","valueString"],"properties":{"url":{"type":"string","enum":["text"],"description":"Marks this sub-extension as the span text.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.2.url","typeLabel":"enum\u003cstring>"},"valueString":{"type":"string","description":"The mentioning text as it appears in the note.","example":"asthma","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.2.valueString","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","description":"The request section an evidence span lies in. Only present when the request `context` is a `clinicalNote` and the span lies inside one section.","required":["url","valueString"],"properties":{"url":{"type":"string","enum":["sectionId"],"description":"Marks this sub-extension as the section id.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.3.url","typeLabel":"enum\u003cstring>"},"valueString":{"type":"string","description":"The `id` of the request section.","example":"vitals","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.3.valueString","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.3","typeLabel":"object"},{"type":"object","description":"Start of an evidence span inside its section. Only present together with `sectionId`.","required":["url","valueInteger"],"properties":{"url":{"type":"string","enum":["sectionStart"],"description":"Marks this sub-extension as the section-relative span start.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.4.url","typeLabel":"enum\u003cstring>"},"valueInteger":{"type":"integer","description":"Start of the span, inclusive, counted in the section's `title` followed directly by its `body` (no separator).","example":6,"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.4.valueInteger","typeLabel":"integer"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.4","typeLabel":"object"},{"type":"object","description":"End of an evidence span inside its section. Only present together with `sectionId`.","required":["url","valueInteger"],"properties":{"url":{"type":"string","enum":["sectionEnd"],"description":"Marks this sub-extension as the section-relative span end.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.5.url","typeLabel":"enum\u003cstring>"},"valueInteger":{"type":"integer","description":"End of the span, exclusive, counted in the section's `title` followed directly by its `body` (no separator).","example":29,"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.5.valueInteger","typeLabel":"integer"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.5","typeLabel":"object"}],"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension","typeLabel":"object[]"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.0.extension.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.0.extension","typeLabel":"object[]"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"A competing code the model considered but did not select, attached to one field of a resource as a FHIR R4 extension with the fixed URL `https://docs.corti.ai/fhir/StructureDefinition/alternative`. Repeated once per field: each occurrence names the element in a `field` sub-extension, then carries one `alternative` sub-extension per competing code.","required":["url","extension"],"properties":{"url":{"type":"string","enum":["https://docs.corti.ai/fhir/StructureDefinition/alternative"],"description":"Identifies this extension as a competing-code alternative.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.1.url","typeLabel":"enum\u003cstring>"},"extension":{"type":"array","minItems":2,"description":"One `field` sub-extension, then one or more `alternative` sub-extensions.","items":{"oneOf":[{"type":"object","description":"The FHIR element that the sibling evidence or alternative blocks support, e.g. `code`, `bodySite`, or `onsetDateTime`.","required":["url","valueString"],"properties":{"url":{"type":"string","enum":["field"],"description":"Marks this sub-extension as the field name.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0.url","typeLabel":"enum\u003cstring>"},"valueString":{"type":"string","description":"Name of the supported FHIR element.","example":"code","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0.valueString","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"One competing code.","required":["url","valueCodeableConcept"],"properties":{"url":{"type":"string","enum":["alternative"],"description":"Marks this sub-extension as one competing code.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.url","typeLabel":"enum\u003cstring>"},"valueCodeableConcept":{"type":"object","description":"The competing code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.text","typeLabel":"string"}},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept","typeLabel":"object"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.1.extension","typeLabel":"object[]"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0.extension","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.0","typeLabel":"object"},{"type":"object","description":"One FHIR R4 resource extracted from the note. One of: Patient, Encounter, Condition, AllergyIntolerance, FamilyMemberHistory, Procedure, Observation. New resource types may be added in the future; ignore entries whose `resourceType` you do not recognize.","required":["resourceType","id","status","class"],"properties":{"resourceType":{"type":"string","enum":["Encounter"],"description":"FHIR resource type discriminator; always `Encounter`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.resourceType","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"Bundle-local logical id of the resource (a UUID); the entry's `fullUrl` is `urn:uuid:\u003cid>`.","example":"3f6d2b1a-8c4e-5a7d-b9f0-1e2d3c4b5a69","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.id","typeLabel":"string"},"status":{"type":"string","enum":["planned","arrived","triaged","in-progress","onleave","finished","cancelled","entered-in-error","unknown"],"description":"Encounter status; `unknown` when the note and the request do not state it.","example":"in-progress","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.status","typeLabel":"enum\u003cstring>"},"class":{"type":"object","description":"The care setting. A Coding from the v3-ActCode system: AMB (ambulatory), EMER (emergency), IMP (inpatient), HH (home health), VR (virtual). Only the data-absent-reason extension when the note and the request do not state it.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.class.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.class.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.class.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.class.extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.class.system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.class.version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.class.code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.class.display","typeLabel":"string"}},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.class","typeLabel":"object"},"identifier":{"type":"array","description":"Business identifiers of the encounter.","items":{"type":"object","description":"An identifier of a patient, encounter, or other entity inside a namespace (FHIR R4 Identifier, https://hl7.org/fhir/R4/datatypes.html#Identifier). The service uses the systems `http://corti.app/fhir/identifier/patient` and `http://corti.app/fhir/identifier/encounter`; the value is the request's `patient.identifier` / `encounter.identifier`, or the resource `id` when the request supplies none.","properties":{"system":{"type":"string","description":"Namespace of the identifier.","example":"http://corti.app/fhir/identifier/patient","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.identifier.items.[INDEX].system","typeLabel":"string"},"value":{"type":"string","description":"The identifier value, e.g. a medical record number.","example":"MRN-00123","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.identifier.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.identifier.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.identifier","typeLabel":"object[]"},"subject":{"type":"object","description":"The patient, a reference to the Bundle's Patient.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.subject.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.subject.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.subject.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.subject.extension","typeLabel":"object[]"},"reference":{"type":"string","description":"The referenced resource, e.g. `urn:uuid:b7c4e1d9-...`; equal to the `fullUrl` of an entry of the Bundle.","example":"urn:uuid:b7c4e1d9-2a3f-4c8b-9d5e-6f0a1b2c3d7e","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.subject.reference","typeLabel":"string"},"type":{"type":"string","description":"Resource type of the reference target.","example":"Encounter","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.subject.type","typeLabel":"string"},"identifier":{"type":"object","description":"Business identifier of the referenced resource. Set on `encounter` references, so they also identify the caller's encounter.","properties":{"system":{"type":"string","description":"Namespace of the identifier.","example":"http://corti.app/fhir/identifier/patient","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.subject.identifier.system","typeLabel":"string"},"value":{"type":"string","description":"The identifier value, e.g. a medical record number.","example":"MRN-00123","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.subject.identifier.value","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.subject.identifier","typeLabel":"object"},"display":{"type":"string","description":"Text alternative for the referenced resource.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.subject.display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.subject","typeLabel":"object"},"type":{"type":"array","description":"Specific type of the encounter.","items":{"type":"object","description":"A clinical concept: one or more codes from one or more terminology systems, plus a plain-text representation (FHIR R4 CodeableConcept, https://hl7.org/fhir/R4/datatypes.html#CodeableConcept). When several codings appear, they express the same concept in different systems. A required concept the note does not state (`FamilyMemberHistory.relationship`, `AllergyIntolerance.reaction.manifestation`) carries only `extension` (data-absent-reason).","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.type.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.type.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.type.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.type.items.[INDEX].extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.type.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.type.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.type.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.type.items.[INDEX].coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.type.items.[INDEX].coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.type.items.[INDEX].coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.type.items.[INDEX].coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.type.items.[INDEX].coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.type.items.[INDEX].coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.type.items.[INDEX].coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.type.items.[INDEX].text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.type.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.type","typeLabel":"object[]"},"serviceType":{"type":"object","description":"Broad category of the service, e.g. cardiology.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.serviceType.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.serviceType.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.serviceType.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.serviceType.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.serviceType.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.serviceType.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.serviceType.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.serviceType.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.serviceType.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.serviceType.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.serviceType.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.serviceType.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.serviceType.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.serviceType.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.serviceType.text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.serviceType","typeLabel":"object"},"priority":{"type":"object","description":"Urgency of the encounter, e.g. `routine` or `emergency`.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.priority.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.priority.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.priority.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.priority.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.priority.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.priority.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.priority.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.priority.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.priority.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.priority.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.priority.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.priority.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.priority.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.priority.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.priority.text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.priority","typeLabel":"object"},"reasonCode":{"type":"array","description":"Reasons for the encounter, e.g. the chief complaint.","items":{"type":"object","description":"A clinical concept: one or more codes from one or more terminology systems, plus a plain-text representation (FHIR R4 CodeableConcept, https://hl7.org/fhir/R4/datatypes.html#CodeableConcept). When several codings appear, they express the same concept in different systems. A required concept the note does not state (`FamilyMemberHistory.relationship`, `AllergyIntolerance.reaction.manifestation`) carries only `extension` (data-absent-reason).","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.reasonCode.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.reasonCode.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.reasonCode.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.reasonCode.items.[INDEX].extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.reasonCode.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.reasonCode.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.reasonCode.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.reasonCode.items.[INDEX].coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.reasonCode.items.[INDEX].coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.reasonCode.items.[INDEX].coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.reasonCode.items.[INDEX].coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.reasonCode.items.[INDEX].coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.reasonCode.items.[INDEX].coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.reasonCode.items.[INDEX].coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.reasonCode.items.[INDEX].text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.reasonCode.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.reasonCode","typeLabel":"object[]"},"period":{"type":"object","description":"Start and end of the encounter.","properties":{"start":{"type":"string","description":"Start of the period, ISO 8601 date-time.","example":"2025-01-15T09:00:00Z","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.period.start","typeLabel":"string"},"end":{"type":"string","description":"End of the period, inclusive, ISO 8601 date-time. The period is ongoing while `end` is missing.","example":"2025-01-15T09:45:00Z","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.period.end","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.period","typeLabel":"object"},"extension":{"type":"array","description":"Extensions attached to a FHIR resource (FHIR R4 `DomainResource.extension`). The service produces two extension types today: `mention` (evidence spans that ground the resource in the note) and `alternative` (competing codes). Ignore extensions whose `url` you do not recognize; new extension types may be added in the future.","items":{"oneOf":[{"type":"object","description":"Evidence the model located in the clinical note, attached to one field of a resource as a FHIR R4 extension with the fixed URL `https://docs.corti.ai/fhir/StructureDefinition/mention`. Repeated once per field: each occurrence names the supported element in a `field` sub-extension, then carries one `evidence` block per span found.","required":["url","extension"],"properties":{"url":{"type":"string","enum":["https://docs.corti.ai/fhir/StructureDefinition/mention"],"description":"Identifies this extension as evidence.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.0.url","typeLabel":"enum\u003cstring>"},"extension":{"type":"array","minItems":2,"description":"One `field` sub-extension, then one or more `evidence` sub-extensions.","items":{"oneOf":[{"type":"object","description":"The FHIR element that the sibling evidence or alternative blocks support, e.g. `code`, `bodySite`, or `onsetDateTime`.","required":["url","valueString"],"properties":{"url":{"type":"string","enum":["field"],"description":"Marks this sub-extension as the field name.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.0.url","typeLabel":"enum\u003cstring>"},"valueString":{"type":"string","description":"Name of the supported FHIR element.","example":"code","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.0.valueString","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"One evidence span from the clinical note. `start` and `end` are positions in the whole request note (see the endpoint description). For a `clinicalNote` context, a span inside one section also carries `sectionId`, `sectionStart` and `sectionEnd`; a span that crosses a section boundary does not.","required":["url","extension"],"properties":{"url":{"type":"string","enum":["evidence"],"description":"Marks this sub-extension as one evidence span.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.url","typeLabel":"enum\u003cstring>"},"extension":{"type":"array","minItems":2,"description":"A `start` and an `end` sub-extension, optionally followed by a `text` sub-extension, then optionally `sectionId`, `sectionStart` and `sectionEnd`.","items":{"oneOf":[{"type":"object","description":"Start of an evidence span.","required":["url","valueInteger"],"properties":{"url":{"type":"string","enum":["start"],"description":"Marks this sub-extension as the span start.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0.url","typeLabel":"enum\u003cstring>"},"valueInteger":{"type":"integer","description":"Start of the span, inclusive: the number of characters of the request note before the first character of the span.","example":129,"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0.valueInteger","typeLabel":"integer"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"End of an evidence span.","required":["url","valueInteger"],"properties":{"url":{"type":"string","enum":["end"],"description":"Marks this sub-extension as the span end.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.url","typeLabel":"enum\u003cstring>"},"valueInteger":{"type":"integer","description":"End of the span, exclusive: the number of characters of the request note up to the first character after the span.","example":135,"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueInteger","typeLabel":"integer"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"Verbatim text of an evidence span.","required":["url","valueString"],"properties":{"url":{"type":"string","enum":["text"],"description":"Marks this sub-extension as the span text.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.2.url","typeLabel":"enum\u003cstring>"},"valueString":{"type":"string","description":"The mentioning text as it appears in the note.","example":"asthma","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.2.valueString","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","description":"The request section an evidence span lies in. Only present when the request `context` is a `clinicalNote` and the span lies inside one section.","required":["url","valueString"],"properties":{"url":{"type":"string","enum":["sectionId"],"description":"Marks this sub-extension as the section id.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.3.url","typeLabel":"enum\u003cstring>"},"valueString":{"type":"string","description":"The `id` of the request section.","example":"vitals","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.3.valueString","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.3","typeLabel":"object"},{"type":"object","description":"Start of an evidence span inside its section. Only present together with `sectionId`.","required":["url","valueInteger"],"properties":{"url":{"type":"string","enum":["sectionStart"],"description":"Marks this sub-extension as the section-relative span start.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.4.url","typeLabel":"enum\u003cstring>"},"valueInteger":{"type":"integer","description":"Start of the span, inclusive, counted in the section's `title` followed directly by its `body` (no separator).","example":6,"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.4.valueInteger","typeLabel":"integer"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.4","typeLabel":"object"},{"type":"object","description":"End of an evidence span inside its section. Only present together with `sectionId`.","required":["url","valueInteger"],"properties":{"url":{"type":"string","enum":["sectionEnd"],"description":"Marks this sub-extension as the section-relative span end.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.5.url","typeLabel":"enum\u003cstring>"},"valueInteger":{"type":"integer","description":"End of the span, exclusive, counted in the section's `title` followed directly by its `body` (no separator).","example":29,"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.5.valueInteger","typeLabel":"integer"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.5","typeLabel":"object"}],"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension","typeLabel":"object[]"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.0.extension.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.0.extension","typeLabel":"object[]"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"A competing code the model considered but did not select, attached to one field of a resource as a FHIR R4 extension with the fixed URL `https://docs.corti.ai/fhir/StructureDefinition/alternative`. Repeated once per field: each occurrence names the element in a `field` sub-extension, then carries one `alternative` sub-extension per competing code.","required":["url","extension"],"properties":{"url":{"type":"string","enum":["https://docs.corti.ai/fhir/StructureDefinition/alternative"],"description":"Identifies this extension as a competing-code alternative.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.1.url","typeLabel":"enum\u003cstring>"},"extension":{"type":"array","minItems":2,"description":"One `field` sub-extension, then one or more `alternative` sub-extensions.","items":{"oneOf":[{"type":"object","description":"The FHIR element that the sibling evidence or alternative blocks support, e.g. `code`, `bodySite`, or `onsetDateTime`.","required":["url","valueString"],"properties":{"url":{"type":"string","enum":["field"],"description":"Marks this sub-extension as the field name.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0.url","typeLabel":"enum\u003cstring>"},"valueString":{"type":"string","description":"Name of the supported FHIR element.","example":"code","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0.valueString","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"One competing code.","required":["url","valueCodeableConcept"],"properties":{"url":{"type":"string","enum":["alternative"],"description":"Marks this sub-extension as one competing code.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.url","typeLabel":"enum\u003cstring>"},"valueCodeableConcept":{"type":"object","description":"The competing code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.text","typeLabel":"string"}},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept","typeLabel":"object"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.1.extension.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.1.extension","typeLabel":"object[]"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1.extension","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.1","typeLabel":"object"},{"type":"object","description":"One FHIR R4 resource extracted from the note. One of: Patient, Encounter, Condition, AllergyIntolerance, FamilyMemberHistory, Procedure, Observation. New resource types may be added in the future; ignore entries whose `resourceType` you do not recognize.","required":["resourceType","id"],"properties":{"resourceType":{"type":"string","enum":["Condition"],"description":"FHIR resource type discriminator; always `Condition`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.resourceType","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"Bundle-local logical id of the resource (a UUID); the entry's `fullUrl` is `urn:uuid:\u003cid>`.","example":"3f6d2b1a-8c4e-5a7d-b9f0-1e2d3c4b5a69","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.id","typeLabel":"string"},"subject":{"type":"object","description":"The patient, a reference to the Bundle's Patient.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.subject.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.subject.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.subject.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.subject.extension","typeLabel":"object[]"},"reference":{"type":"string","description":"The referenced resource, e.g. `urn:uuid:b7c4e1d9-...`; equal to the `fullUrl` of an entry of the Bundle.","example":"urn:uuid:b7c4e1d9-2a3f-4c8b-9d5e-6f0a1b2c3d7e","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.subject.reference","typeLabel":"string"},"type":{"type":"string","description":"Resource type of the reference target.","example":"Encounter","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.subject.type","typeLabel":"string"},"identifier":{"type":"object","description":"Business identifier of the referenced resource. Set on `encounter` references, so they also identify the caller's encounter.","properties":{"system":{"type":"string","description":"Namespace of the identifier.","example":"http://corti.app/fhir/identifier/patient","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.subject.identifier.system","typeLabel":"string"},"value":{"type":"string","description":"The identifier value, e.g. a medical record number.","example":"MRN-00123","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.subject.identifier.value","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.subject.identifier","typeLabel":"object"},"display":{"type":"string","description":"Text alternative for the referenced resource.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.subject.display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.subject","typeLabel":"object"},"code":{"type":"object","description":"The condition, typically a SNOMED CT code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.code.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.code.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.code.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.code.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.code.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.code.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.code.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.code.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.code.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.code.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.code.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.code.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.code.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.code.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.code.text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.code","typeLabel":"object"},"clinicalStatus":{"type":"object","description":"Whether the condition is active, resolved, and so on (http://terminology.hl7.org/CodeSystem/condition-clinical).","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.clinicalStatus.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.clinicalStatus.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.clinicalStatus.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.clinicalStatus.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.clinicalStatus.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.clinicalStatus.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.clinicalStatus.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.clinicalStatus.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.clinicalStatus.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.clinicalStatus.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.clinicalStatus.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.clinicalStatus.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.clinicalStatus.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.clinicalStatus.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.clinicalStatus.text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.clinicalStatus","typeLabel":"object"},"verificationStatus":{"type":"object","description":"Whether the condition is confirmed, provisional, refuted, and so on.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.verificationStatus.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.verificationStatus.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.verificationStatus.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.verificationStatus.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.verificationStatus.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.verificationStatus.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.verificationStatus.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.verificationStatus.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.verificationStatus.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.verificationStatus.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.verificationStatus.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.verificationStatus.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.verificationStatus.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.verificationStatus.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.verificationStatus.text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.verificationStatus","typeLabel":"object"},"category":{"type":"array","description":"Category, e.g. `problem-list-item` or `encounter-diagnosis`.","items":{"type":"object","description":"A clinical concept: one or more codes from one or more terminology systems, plus a plain-text representation (FHIR R4 CodeableConcept, https://hl7.org/fhir/R4/datatypes.html#CodeableConcept). When several codings appear, they express the same concept in different systems. A required concept the note does not state (`FamilyMemberHistory.relationship`, `AllergyIntolerance.reaction.manifestation`) carries only `extension` (data-absent-reason).","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.category.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.category.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.category.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.category.items.[INDEX].extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.category.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.category.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.category.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.category.items.[INDEX].coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.category.items.[INDEX].coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.category.items.[INDEX].coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.category.items.[INDEX].coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.category.items.[INDEX].coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.category.items.[INDEX].coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.category.items.[INDEX].coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.category.items.[INDEX].text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.category.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.category","typeLabel":"object[]"},"severity":{"type":"object","description":"Severity, e.g. mild, moderate, or severe (SNOMED CT).","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.severity.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.severity.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.severity.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.severity.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.severity.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.severity.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.severity.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.severity.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.severity.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.severity.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.severity.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.severity.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.severity.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.severity.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.severity.text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.severity","typeLabel":"object"},"bodySite":{"type":"array","description":"Anatomical location, e.g. left knee.","items":{"type":"object","description":"A clinical concept: one or more codes from one or more terminology systems, plus a plain-text representation (FHIR R4 CodeableConcept, https://hl7.org/fhir/R4/datatypes.html#CodeableConcept). When several codings appear, they express the same concept in different systems. A required concept the note does not state (`FamilyMemberHistory.relationship`, `AllergyIntolerance.reaction.manifestation`) carries only `extension` (data-absent-reason).","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.bodySite.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.bodySite.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.bodySite.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.bodySite.items.[INDEX].extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.bodySite.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.bodySite.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.bodySite.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.bodySite.items.[INDEX].coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.bodySite.items.[INDEX].coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.bodySite.items.[INDEX].coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.bodySite.items.[INDEX].coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.bodySite.items.[INDEX].coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.bodySite.items.[INDEX].coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.bodySite.items.[INDEX].coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.bodySite.items.[INDEX].text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.bodySite.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.bodySite","typeLabel":"object[]"},"encounter":{"type":"object","description":"The encounter this condition was recorded during.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.encounter.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.encounter.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.encounter.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.encounter.extension","typeLabel":"object[]"},"reference":{"type":"string","description":"The referenced resource, e.g. `urn:uuid:b7c4e1d9-...`; equal to the `fullUrl` of an entry of the Bundle.","example":"urn:uuid:b7c4e1d9-2a3f-4c8b-9d5e-6f0a1b2c3d7e","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.encounter.reference","typeLabel":"string"},"type":{"type":"string","description":"Resource type of the reference target.","example":"Encounter","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.encounter.type","typeLabel":"string"},"identifier":{"type":"object","description":"Business identifier of the referenced resource. Set on `encounter` references, so they also identify the caller's encounter.","properties":{"system":{"type":"string","description":"Namespace of the identifier.","example":"http://corti.app/fhir/identifier/patient","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.encounter.identifier.system","typeLabel":"string"},"value":{"type":"string","description":"The identifier value, e.g. a medical record number.","example":"MRN-00123","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.encounter.identifier.value","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.encounter.identifier","typeLabel":"object"},"display":{"type":"string","description":"Text alternative for the referenced resource.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.encounter.display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.encounter","typeLabel":"object"},"onsetDateTime":{"type":"string","description":"When the condition began, ISO 8601 date-time.","example":"2025-01-15T09:00:00Z","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.onsetDateTime","typeLabel":"string"},"onsetString":{"type":"string","description":"When the condition began, free text.","example":"since childhood","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.onsetString","typeLabel":"string"},"onsetPeriod":{"type":"object","description":"When the condition began, a time range.","properties":{"start":{"type":"string","description":"Start of the period, ISO 8601 date-time.","example":"2025-01-15T09:00:00Z","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.onsetPeriod.start","typeLabel":"string"},"end":{"type":"string","description":"End of the period, inclusive, ISO 8601 date-time. The period is ongoing while `end` is missing.","example":"2025-01-15T09:45:00Z","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.onsetPeriod.end","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.onsetPeriod","typeLabel":"object"},"abatementDateTime":{"type":"string","description":"When the condition resolved, ISO 8601 date-time.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.abatementDateTime","typeLabel":"string"},"abatementString":{"type":"string","description":"When the condition resolved, free text.","example":"last week","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.abatementString","typeLabel":"string"},"abatementPeriod":{"type":"object","description":"When the condition resolved, a time range.","properties":{"start":{"type":"string","description":"Start of the period, ISO 8601 date-time.","example":"2025-01-15T09:00:00Z","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.abatementPeriod.start","typeLabel":"string"},"end":{"type":"string","description":"End of the period, inclusive, ISO 8601 date-time. The period is ongoing while `end` is missing.","example":"2025-01-15T09:45:00Z","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.abatementPeriod.end","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.abatementPeriod","typeLabel":"object"},"asserter":{"type":"object","description":"Who reported the condition.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.asserter.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.asserter.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.asserter.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.asserter.extension","typeLabel":"object[]"},"reference":{"type":"string","description":"The referenced resource, e.g. `urn:uuid:b7c4e1d9-...`; equal to the `fullUrl` of an entry of the Bundle.","example":"urn:uuid:b7c4e1d9-2a3f-4c8b-9d5e-6f0a1b2c3d7e","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.asserter.reference","typeLabel":"string"},"type":{"type":"string","description":"Resource type of the reference target.","example":"Encounter","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.asserter.type","typeLabel":"string"},"identifier":{"type":"object","description":"Business identifier of the referenced resource. Set on `encounter` references, so they also identify the caller's encounter.","properties":{"system":{"type":"string","description":"Namespace of the identifier.","example":"http://corti.app/fhir/identifier/patient","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.asserter.identifier.system","typeLabel":"string"},"value":{"type":"string","description":"The identifier value, e.g. a medical record number.","example":"MRN-00123","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.asserter.identifier.value","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.asserter.identifier","typeLabel":"object"},"display":{"type":"string","description":"Text alternative for the referenced resource.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.asserter.display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.asserter","typeLabel":"object"},"stage":{"type":"array","description":"Stage, e.g. a cancer stage.","items":{"type":"object","description":"Stage of a condition (FHIR R4 `Condition.stage`, https://hl7.org/fhir/R4/condition-definitions.html).","properties":{"summary":{"type":"object","description":"Simple summary of the stage, e.g. the cancer stage.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].summary.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].summary.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].summary.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].summary.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].summary.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].summary.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].summary.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].summary.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].summary.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].summary.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].summary.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].summary.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].summary.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].summary.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].summary.text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].summary","typeLabel":"object"},"assessment":{"type":"array","description":"References to the formal assessment records.","items":{"type":"object","description":"A reference from one resource to another (FHIR R4 Reference, https://hl7.org/fhir/R4/references.html). Inside the returned Bundle, resources refer to each other with `urn:uuid` references. References to people the note names (`asserter`, `performer.actor`) and to containing events (`Procedure.partOf`) carry only `display`, since no resource for them exists in the Bundle.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].assessment.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].assessment.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].assessment.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].assessment.items.[INDEX].extension","typeLabel":"object[]"},"reference":{"type":"string","description":"The referenced resource, e.g. `urn:uuid:b7c4e1d9-...`; equal to the `fullUrl` of an entry of the Bundle.","example":"urn:uuid:b7c4e1d9-2a3f-4c8b-9d5e-6f0a1b2c3d7e","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].assessment.items.[INDEX].reference","typeLabel":"string"},"type":{"type":"string","description":"Resource type of the reference target.","example":"Encounter","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].assessment.items.[INDEX].type","typeLabel":"string"},"identifier":{"type":"object","description":"Business identifier of the referenced resource. Set on `encounter` references, so they also identify the caller's encounter.","properties":{"system":{"type":"string","description":"Namespace of the identifier.","example":"http://corti.app/fhir/identifier/patient","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].assessment.items.[INDEX].identifier.system","typeLabel":"string"},"value":{"type":"string","description":"The identifier value, e.g. a medical record number.","example":"MRN-00123","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].assessment.items.[INDEX].identifier.value","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].assessment.items.[INDEX].identifier","typeLabel":"object"},"display":{"type":"string","description":"Text alternative for the referenced resource.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].assessment.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].assessment.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].assessment","typeLabel":"object[]"},"type":{"type":"object","description":"Kind of staging, e.g. TNM.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].type.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].type.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].type.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].type.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].type.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].type.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].type.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].type.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].type.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].type.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].type.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].type.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].type.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].type.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].type.text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX].type","typeLabel":"object"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.stage","typeLabel":"object[]"},"evidence":{"type":"array","description":"Supporting manifestations of the condition.","items":{"type":"object","description":"Supporting evidence for a condition (FHIR R4 `Condition.evidence`).","properties":{"code":{"type":"array","description":"Manifestations that support the condition.","items":{"type":"object","description":"A clinical concept: one or more codes from one or more terminology systems, plus a plain-text representation (FHIR R4 CodeableConcept, https://hl7.org/fhir/R4/datatypes.html#CodeableConcept). When several codings appear, they express the same concept in different systems. A required concept the note does not state (`FamilyMemberHistory.relationship`, `AllergyIntolerance.reaction.manifestation`) carries only `extension` (data-absent-reason).","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.evidence.items.[INDEX].code.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.evidence.items.[INDEX].code.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.evidence.items.[INDEX].code.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.evidence.items.[INDEX].code.items.[INDEX].extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.evidence.items.[INDEX].code.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.evidence.items.[INDEX].code.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.evidence.items.[INDEX].code.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.evidence.items.[INDEX].code.items.[INDEX].coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.evidence.items.[INDEX].code.items.[INDEX].coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.evidence.items.[INDEX].code.items.[INDEX].coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.evidence.items.[INDEX].code.items.[INDEX].coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.evidence.items.[INDEX].code.items.[INDEX].coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.evidence.items.[INDEX].code.items.[INDEX].coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.evidence.items.[INDEX].code.items.[INDEX].coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.evidence.items.[INDEX].code.items.[INDEX].text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.evidence.items.[INDEX].code.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.evidence.items.[INDEX].code","typeLabel":"object[]"},"detail":{"type":"array","description":"References to resources that support the condition.","items":{"type":"object","description":"A reference from one resource to another (FHIR R4 Reference, https://hl7.org/fhir/R4/references.html). Inside the returned Bundle, resources refer to each other with `urn:uuid` references. References to people the note names (`asserter`, `performer.actor`) and to containing events (`Procedure.partOf`) carry only `display`, since no resource for them exists in the Bundle.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.evidence.items.[INDEX].detail.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.evidence.items.[INDEX].detail.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.evidence.items.[INDEX].detail.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.evidence.items.[INDEX].detail.items.[INDEX].extension","typeLabel":"object[]"},"reference":{"type":"string","description":"The referenced resource, e.g. `urn:uuid:b7c4e1d9-...`; equal to the `fullUrl` of an entry of the Bundle.","example":"urn:uuid:b7c4e1d9-2a3f-4c8b-9d5e-6f0a1b2c3d7e","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.evidence.items.[INDEX].detail.items.[INDEX].reference","typeLabel":"string"},"type":{"type":"string","description":"Resource type of the reference target.","example":"Encounter","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.evidence.items.[INDEX].detail.items.[INDEX].type","typeLabel":"string"},"identifier":{"type":"object","description":"Business identifier of the referenced resource. Set on `encounter` references, so they also identify the caller's encounter.","properties":{"system":{"type":"string","description":"Namespace of the identifier.","example":"http://corti.app/fhir/identifier/patient","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.evidence.items.[INDEX].detail.items.[INDEX].identifier.system","typeLabel":"string"},"value":{"type":"string","description":"The identifier value, e.g. a medical record number.","example":"MRN-00123","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.evidence.items.[INDEX].detail.items.[INDEX].identifier.value","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.evidence.items.[INDEX].detail.items.[INDEX].identifier","typeLabel":"object"},"display":{"type":"string","description":"Text alternative for the referenced resource.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.evidence.items.[INDEX].detail.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.evidence.items.[INDEX].detail.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.evidence.items.[INDEX].detail","typeLabel":"object[]"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.evidence.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.evidence","typeLabel":"object[]"},"note":{"type":"array","description":"Notes about the condition.","items":{"type":"object","description":"A free-text note (FHIR R4 Annotation, https://hl7.org/fhir/R4/datatypes.html#Annotation).","required":["text"],"properties":{"text":{"type":"string","description":"The text of the note.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.note.items.[INDEX].text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.note.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.note","typeLabel":"object[]"},"extension":{"type":"array","description":"Extensions attached to a FHIR resource (FHIR R4 `DomainResource.extension`). The service produces two extension types today: `mention` (evidence spans that ground the resource in the note) and `alternative` (competing codes). Ignore extensions whose `url` you do not recognize; new extension types may be added in the future.","items":{"oneOf":[{"type":"object","description":"Evidence the model located in the clinical note, attached to one field of a resource as a FHIR R4 extension with the fixed URL `https://docs.corti.ai/fhir/StructureDefinition/mention`. Repeated once per field: each occurrence names the supported element in a `field` sub-extension, then carries one `evidence` block per span found.","required":["url","extension"],"properties":{"url":{"type":"string","enum":["https://docs.corti.ai/fhir/StructureDefinition/mention"],"description":"Identifies this extension as evidence.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.0.url","typeLabel":"enum\u003cstring>"},"extension":{"type":"array","minItems":2,"description":"One `field` sub-extension, then one or more `evidence` sub-extensions.","items":{"oneOf":[{"type":"object","description":"The FHIR element that the sibling evidence or alternative blocks support, e.g. `code`, `bodySite`, or `onsetDateTime`.","required":["url","valueString"],"properties":{"url":{"type":"string","enum":["field"],"description":"Marks this sub-extension as the field name.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.0.url","typeLabel":"enum\u003cstring>"},"valueString":{"type":"string","description":"Name of the supported FHIR element.","example":"code","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.0.valueString","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"One evidence span from the clinical note. `start` and `end` are positions in the whole request note (see the endpoint description). For a `clinicalNote` context, a span inside one section also carries `sectionId`, `sectionStart` and `sectionEnd`; a span that crosses a section boundary does not.","required":["url","extension"],"properties":{"url":{"type":"string","enum":["evidence"],"description":"Marks this sub-extension as one evidence span.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.url","typeLabel":"enum\u003cstring>"},"extension":{"type":"array","minItems":2,"description":"A `start` and an `end` sub-extension, optionally followed by a `text` sub-extension, then optionally `sectionId`, `sectionStart` and `sectionEnd`.","items":{"oneOf":[{"type":"object","description":"Start of an evidence span.","required":["url","valueInteger"],"properties":{"url":{"type":"string","enum":["start"],"description":"Marks this sub-extension as the span start.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0.url","typeLabel":"enum\u003cstring>"},"valueInteger":{"type":"integer","description":"Start of the span, inclusive: the number of characters of the request note before the first character of the span.","example":129,"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0.valueInteger","typeLabel":"integer"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"End of an evidence span.","required":["url","valueInteger"],"properties":{"url":{"type":"string","enum":["end"],"description":"Marks this sub-extension as the span end.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.url","typeLabel":"enum\u003cstring>"},"valueInteger":{"type":"integer","description":"End of the span, exclusive: the number of characters of the request note up to the first character after the span.","example":135,"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueInteger","typeLabel":"integer"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"Verbatim text of an evidence span.","required":["url","valueString"],"properties":{"url":{"type":"string","enum":["text"],"description":"Marks this sub-extension as the span text.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.2.url","typeLabel":"enum\u003cstring>"},"valueString":{"type":"string","description":"The mentioning text as it appears in the note.","example":"asthma","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.2.valueString","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","description":"The request section an evidence span lies in. Only present when the request `context` is a `clinicalNote` and the span lies inside one section.","required":["url","valueString"],"properties":{"url":{"type":"string","enum":["sectionId"],"description":"Marks this sub-extension as the section id.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.3.url","typeLabel":"enum\u003cstring>"},"valueString":{"type":"string","description":"The `id` of the request section.","example":"vitals","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.3.valueString","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.3","typeLabel":"object"},{"type":"object","description":"Start of an evidence span inside its section. Only present together with `sectionId`.","required":["url","valueInteger"],"properties":{"url":{"type":"string","enum":["sectionStart"],"description":"Marks this sub-extension as the section-relative span start.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.4.url","typeLabel":"enum\u003cstring>"},"valueInteger":{"type":"integer","description":"Start of the span, inclusive, counted in the section's `title` followed directly by its `body` (no separator).","example":6,"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.4.valueInteger","typeLabel":"integer"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.4","typeLabel":"object"},{"type":"object","description":"End of an evidence span inside its section. Only present together with `sectionId`.","required":["url","valueInteger"],"properties":{"url":{"type":"string","enum":["sectionEnd"],"description":"Marks this sub-extension as the section-relative span end.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.5.url","typeLabel":"enum\u003cstring>"},"valueInteger":{"type":"integer","description":"End of the span, exclusive, counted in the section's `title` followed directly by its `body` (no separator).","example":29,"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.5.valueInteger","typeLabel":"integer"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.5","typeLabel":"object"}],"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension","typeLabel":"object[]"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.0.extension.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.0.extension","typeLabel":"object[]"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"A competing code the model considered but did not select, attached to one field of a resource as a FHIR R4 extension with the fixed URL `https://docs.corti.ai/fhir/StructureDefinition/alternative`. Repeated once per field: each occurrence names the element in a `field` sub-extension, then carries one `alternative` sub-extension per competing code.","required":["url","extension"],"properties":{"url":{"type":"string","enum":["https://docs.corti.ai/fhir/StructureDefinition/alternative"],"description":"Identifies this extension as a competing-code alternative.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.1.url","typeLabel":"enum\u003cstring>"},"extension":{"type":"array","minItems":2,"description":"One `field` sub-extension, then one or more `alternative` sub-extensions.","items":{"oneOf":[{"type":"object","description":"The FHIR element that the sibling evidence or alternative blocks support, e.g. `code`, `bodySite`, or `onsetDateTime`.","required":["url","valueString"],"properties":{"url":{"type":"string","enum":["field"],"description":"Marks this sub-extension as the field name.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0.url","typeLabel":"enum\u003cstring>"},"valueString":{"type":"string","description":"Name of the supported FHIR element.","example":"code","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0.valueString","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"One competing code.","required":["url","valueCodeableConcept"],"properties":{"url":{"type":"string","enum":["alternative"],"description":"Marks this sub-extension as one competing code.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.url","typeLabel":"enum\u003cstring>"},"valueCodeableConcept":{"type":"object","description":"The competing code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.text","typeLabel":"string"}},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept","typeLabel":"object"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.1.extension.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.1.extension","typeLabel":"object[]"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2.extension","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.2","typeLabel":"object"},{"type":"object","description":"One FHIR R4 resource extracted from the note. One of: Patient, Encounter, Condition, AllergyIntolerance, FamilyMemberHistory, Procedure, Observation. New resource types may be added in the future; ignore entries whose `resourceType` you do not recognize.","required":["resourceType","id"],"properties":{"resourceType":{"type":"string","enum":["AllergyIntolerance"],"description":"FHIR resource type discriminator; always `AllergyIntolerance`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.resourceType","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"Bundle-local logical id of the resource (a UUID); the entry's `fullUrl` is `urn:uuid:\u003cid>`.","example":"3f6d2b1a-8c4e-5a7d-b9f0-1e2d3c4b5a69","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.id","typeLabel":"string"},"patient":{"type":"object","description":"The patient, a reference to the Bundle's Patient.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.patient.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.patient.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.patient.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.patient.extension","typeLabel":"object[]"},"reference":{"type":"string","description":"The referenced resource, e.g. `urn:uuid:b7c4e1d9-...`; equal to the `fullUrl` of an entry of the Bundle.","example":"urn:uuid:b7c4e1d9-2a3f-4c8b-9d5e-6f0a1b2c3d7e","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.patient.reference","typeLabel":"string"},"type":{"type":"string","description":"Resource type of the reference target.","example":"Encounter","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.patient.type","typeLabel":"string"},"identifier":{"type":"object","description":"Business identifier of the referenced resource. Set on `encounter` references, so they also identify the caller's encounter.","properties":{"system":{"type":"string","description":"Namespace of the identifier.","example":"http://corti.app/fhir/identifier/patient","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.patient.identifier.system","typeLabel":"string"},"value":{"type":"string","description":"The identifier value, e.g. a medical record number.","example":"MRN-00123","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.patient.identifier.value","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.patient.identifier","typeLabel":"object"},"display":{"type":"string","description":"Text alternative for the referenced resource.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.patient.display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.patient","typeLabel":"object"},"code":{"type":"object","description":"The substance or agent, e.g. penicillin (SNOMED CT).","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.code.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.code.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.code.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.code.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.code.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.code.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.code.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.code.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.code.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.code.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.code.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.code.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.code.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.code.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.code.text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.code","typeLabel":"object"},"type":{"type":"string","enum":["allergy","intolerance"],"description":"Whether the record is an allergy or an intolerance (http://hl7.org/fhir/ValueSet/allergy-intolerance-type).","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.type","typeLabel":"enum\u003cstring>"},"category":{"type":"array","description":"Category of the substance — food, medication, environment, or biologic (http://hl7.org/fhir/ValueSet/allergy-intolerance-category).","items":{"type":"string","enum":["food","medication","environment","biologic"],"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.category.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.category","typeLabel":"enum\u003cstring>[]"},"clinicalStatus":{"type":"object","description":"Whether the allergy is active, resolved, and so on.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.clinicalStatus.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.clinicalStatus.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.clinicalStatus.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.clinicalStatus.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.clinicalStatus.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.clinicalStatus.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.clinicalStatus.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.clinicalStatus.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.clinicalStatus.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.clinicalStatus.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.clinicalStatus.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.clinicalStatus.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.clinicalStatus.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.clinicalStatus.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.clinicalStatus.text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.clinicalStatus","typeLabel":"object"},"verificationStatus":{"type":"object","description":"Whether the allergy is confirmed, refuted, and so on.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.verificationStatus.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.verificationStatus.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.verificationStatus.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.verificationStatus.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.verificationStatus.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.verificationStatus.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.verificationStatus.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.verificationStatus.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.verificationStatus.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.verificationStatus.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.verificationStatus.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.verificationStatus.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.verificationStatus.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.verificationStatus.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.verificationStatus.text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.verificationStatus","typeLabel":"object"},"criticality":{"type":"string","enum":["low","high","unable-to-assess"],"description":"Clinical risk of the allergy (http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality).","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.criticality","typeLabel":"enum\u003cstring>"},"reaction":{"type":"array","description":"Reactions the patient had to the substance.","items":{"type":"object","description":"One reaction to an allergy (FHIR R4 `AllergyIntolerance.reaction`, http://hl7.org/fhir/R4/allergyintolerance-definitions.html).","required":["manifestation"],"properties":{"manifestation":{"type":"array","minItems":1,"description":"Clinical signs of the reaction, e.g. rash or anaphylaxis. When the note states none, a single concept carrying only the data-absent-reason extension.","items":{"type":"object","description":"A clinical concept: one or more codes from one or more terminology systems, plus a plain-text representation (FHIR R4 CodeableConcept, https://hl7.org/fhir/R4/datatypes.html#CodeableConcept). When several codings appear, they express the same concept in different systems. A required concept the note does not state (`FamilyMemberHistory.relationship`, `AllergyIntolerance.reaction.manifestation`) carries only `extension` (data-absent-reason).","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].manifestation.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].manifestation.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].manifestation.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].manifestation.items.[INDEX].extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].manifestation.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].manifestation.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].manifestation.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].manifestation.items.[INDEX].coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].manifestation.items.[INDEX].coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].manifestation.items.[INDEX].coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].manifestation.items.[INDEX].coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].manifestation.items.[INDEX].coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].manifestation.items.[INDEX].coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].manifestation.items.[INDEX].coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].manifestation.items.[INDEX].text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].manifestation.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].manifestation","typeLabel":"object[]"},"substance":{"type":"object","description":"The substance that caused the reaction, when known.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].substance.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].substance.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].substance.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].substance.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].substance.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].substance.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].substance.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].substance.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].substance.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].substance.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].substance.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].substance.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].substance.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].substance.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].substance.text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].substance","typeLabel":"object"},"description":{"type":"string","description":"Text description of the reaction.","example":"rash","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].description","typeLabel":"string"},"onset":{"type":"string","description":"When the reaction began, ISO 8601 date-time.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].onset","typeLabel":"string"},"severity":{"type":"string","enum":["mild","moderate","severe"],"description":"Severity of the reaction (http://hl7.org/fhir/ValueSet/reaction-event-severity).","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].severity","typeLabel":"enum\u003cstring>"},"exposureRoute":{"type":"object","description":"How the exposure occurred, e.g. oral or intravenous.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].exposureRoute.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].exposureRoute.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].exposureRoute.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].exposureRoute.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].exposureRoute.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].exposureRoute.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].exposureRoute.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].exposureRoute.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].exposureRoute.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].exposureRoute.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].exposureRoute.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].exposureRoute.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].exposureRoute.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].exposureRoute.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].exposureRoute.text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX].exposureRoute","typeLabel":"object"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.reaction","typeLabel":"object[]"},"onsetDateTime":{"type":"string","description":"When the allergy first occurred, ISO 8601 date-time.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.onsetDateTime","typeLabel":"string"},"onsetString":{"type":"string","description":"When the allergy first occurred, free text.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.onsetString","typeLabel":"string"},"onsetPeriod":{"type":"object","description":"When the allergy first occurred, a time range.","properties":{"start":{"type":"string","description":"Start of the period, ISO 8601 date-time.","example":"2025-01-15T09:00:00Z","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.onsetPeriod.start","typeLabel":"string"},"end":{"type":"string","description":"End of the period, inclusive, ISO 8601 date-time. The period is ongoing while `end` is missing.","example":"2025-01-15T09:45:00Z","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.onsetPeriod.end","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.onsetPeriod","typeLabel":"object"},"encounter":{"type":"object","description":"The encounter the allergy was recorded during.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.encounter.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.encounter.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.encounter.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.encounter.extension","typeLabel":"object[]"},"reference":{"type":"string","description":"The referenced resource, e.g. `urn:uuid:b7c4e1d9-...`; equal to the `fullUrl` of an entry of the Bundle.","example":"urn:uuid:b7c4e1d9-2a3f-4c8b-9d5e-6f0a1b2c3d7e","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.encounter.reference","typeLabel":"string"},"type":{"type":"string","description":"Resource type of the reference target.","example":"Encounter","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.encounter.type","typeLabel":"string"},"identifier":{"type":"object","description":"Business identifier of the referenced resource. Set on `encounter` references, so they also identify the caller's encounter.","properties":{"system":{"type":"string","description":"Namespace of the identifier.","example":"http://corti.app/fhir/identifier/patient","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.encounter.identifier.system","typeLabel":"string"},"value":{"type":"string","description":"The identifier value, e.g. a medical record number.","example":"MRN-00123","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.encounter.identifier.value","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.encounter.identifier","typeLabel":"object"},"display":{"type":"string","description":"Text alternative for the referenced resource.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.encounter.display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.encounter","typeLabel":"object"},"lastOccurrence":{"type":"string","description":"When the last reaction occurred, ISO 8601 date-time.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.lastOccurrence","typeLabel":"string"},"asserter":{"type":"object","description":"Who reported the allergy.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.asserter.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.asserter.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.asserter.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.asserter.extension","typeLabel":"object[]"},"reference":{"type":"string","description":"The referenced resource, e.g. `urn:uuid:b7c4e1d9-...`; equal to the `fullUrl` of an entry of the Bundle.","example":"urn:uuid:b7c4e1d9-2a3f-4c8b-9d5e-6f0a1b2c3d7e","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.asserter.reference","typeLabel":"string"},"type":{"type":"string","description":"Resource type of the reference target.","example":"Encounter","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.asserter.type","typeLabel":"string"},"identifier":{"type":"object","description":"Business identifier of the referenced resource. Set on `encounter` references, so they also identify the caller's encounter.","properties":{"system":{"type":"string","description":"Namespace of the identifier.","example":"http://corti.app/fhir/identifier/patient","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.asserter.identifier.system","typeLabel":"string"},"value":{"type":"string","description":"The identifier value, e.g. a medical record number.","example":"MRN-00123","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.asserter.identifier.value","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.asserter.identifier","typeLabel":"object"},"display":{"type":"string","description":"Text alternative for the referenced resource.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.asserter.display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.asserter","typeLabel":"object"},"note":{"type":"array","description":"Notes about the allergy.","items":{"type":"object","description":"A free-text note (FHIR R4 Annotation, https://hl7.org/fhir/R4/datatypes.html#Annotation).","required":["text"],"properties":{"text":{"type":"string","description":"The text of the note.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.note.items.[INDEX].text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.note.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.note","typeLabel":"object[]"},"extension":{"type":"array","description":"Extensions attached to a FHIR resource (FHIR R4 `DomainResource.extension`). The service produces two extension types today: `mention` (evidence spans that ground the resource in the note) and `alternative` (competing codes). Ignore extensions whose `url` you do not recognize; new extension types may be added in the future.","items":{"oneOf":[{"type":"object","description":"Evidence the model located in the clinical note, attached to one field of a resource as a FHIR R4 extension with the fixed URL `https://docs.corti.ai/fhir/StructureDefinition/mention`. Repeated once per field: each occurrence names the supported element in a `field` sub-extension, then carries one `evidence` block per span found.","required":["url","extension"],"properties":{"url":{"type":"string","enum":["https://docs.corti.ai/fhir/StructureDefinition/mention"],"description":"Identifies this extension as evidence.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.0.url","typeLabel":"enum\u003cstring>"},"extension":{"type":"array","minItems":2,"description":"One `field` sub-extension, then one or more `evidence` sub-extensions.","items":{"oneOf":[{"type":"object","description":"The FHIR element that the sibling evidence or alternative blocks support, e.g. `code`, `bodySite`, or `onsetDateTime`.","required":["url","valueString"],"properties":{"url":{"type":"string","enum":["field"],"description":"Marks this sub-extension as the field name.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.0.url","typeLabel":"enum\u003cstring>"},"valueString":{"type":"string","description":"Name of the supported FHIR element.","example":"code","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.0.valueString","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"One evidence span from the clinical note. `start` and `end` are positions in the whole request note (see the endpoint description). For a `clinicalNote` context, a span inside one section also carries `sectionId`, `sectionStart` and `sectionEnd`; a span that crosses a section boundary does not.","required":["url","extension"],"properties":{"url":{"type":"string","enum":["evidence"],"description":"Marks this sub-extension as one evidence span.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.url","typeLabel":"enum\u003cstring>"},"extension":{"type":"array","minItems":2,"description":"A `start` and an `end` sub-extension, optionally followed by a `text` sub-extension, then optionally `sectionId`, `sectionStart` and `sectionEnd`.","items":{"oneOf":[{"type":"object","description":"Start of an evidence span.","required":["url","valueInteger"],"properties":{"url":{"type":"string","enum":["start"],"description":"Marks this sub-extension as the span start.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0.url","typeLabel":"enum\u003cstring>"},"valueInteger":{"type":"integer","description":"Start of the span, inclusive: the number of characters of the request note before the first character of the span.","example":129,"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0.valueInteger","typeLabel":"integer"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"End of an evidence span.","required":["url","valueInteger"],"properties":{"url":{"type":"string","enum":["end"],"description":"Marks this sub-extension as the span end.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.url","typeLabel":"enum\u003cstring>"},"valueInteger":{"type":"integer","description":"End of the span, exclusive: the number of characters of the request note up to the first character after the span.","example":135,"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueInteger","typeLabel":"integer"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"Verbatim text of an evidence span.","required":["url","valueString"],"properties":{"url":{"type":"string","enum":["text"],"description":"Marks this sub-extension as the span text.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.2.url","typeLabel":"enum\u003cstring>"},"valueString":{"type":"string","description":"The mentioning text as it appears in the note.","example":"asthma","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.2.valueString","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","description":"The request section an evidence span lies in. Only present when the request `context` is a `clinicalNote` and the span lies inside one section.","required":["url","valueString"],"properties":{"url":{"type":"string","enum":["sectionId"],"description":"Marks this sub-extension as the section id.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.3.url","typeLabel":"enum\u003cstring>"},"valueString":{"type":"string","description":"The `id` of the request section.","example":"vitals","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.3.valueString","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.3","typeLabel":"object"},{"type":"object","description":"Start of an evidence span inside its section. Only present together with `sectionId`.","required":["url","valueInteger"],"properties":{"url":{"type":"string","enum":["sectionStart"],"description":"Marks this sub-extension as the section-relative span start.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.4.url","typeLabel":"enum\u003cstring>"},"valueInteger":{"type":"integer","description":"Start of the span, inclusive, counted in the section's `title` followed directly by its `body` (no separator).","example":6,"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.4.valueInteger","typeLabel":"integer"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.4","typeLabel":"object"},{"type":"object","description":"End of an evidence span inside its section. Only present together with `sectionId`.","required":["url","valueInteger"],"properties":{"url":{"type":"string","enum":["sectionEnd"],"description":"Marks this sub-extension as the section-relative span end.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.5.url","typeLabel":"enum\u003cstring>"},"valueInteger":{"type":"integer","description":"End of the span, exclusive, counted in the section's `title` followed directly by its `body` (no separator).","example":29,"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.5.valueInteger","typeLabel":"integer"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.5","typeLabel":"object"}],"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension","typeLabel":"object[]"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.0.extension.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.0.extension","typeLabel":"object[]"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"A competing code the model considered but did not select, attached to one field of a resource as a FHIR R4 extension with the fixed URL `https://docs.corti.ai/fhir/StructureDefinition/alternative`. Repeated once per field: each occurrence names the element in a `field` sub-extension, then carries one `alternative` sub-extension per competing code.","required":["url","extension"],"properties":{"url":{"type":"string","enum":["https://docs.corti.ai/fhir/StructureDefinition/alternative"],"description":"Identifies this extension as a competing-code alternative.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.1.url","typeLabel":"enum\u003cstring>"},"extension":{"type":"array","minItems":2,"description":"One `field` sub-extension, then one or more `alternative` sub-extensions.","items":{"oneOf":[{"type":"object","description":"The FHIR element that the sibling evidence or alternative blocks support, e.g. `code`, `bodySite`, or `onsetDateTime`.","required":["url","valueString"],"properties":{"url":{"type":"string","enum":["field"],"description":"Marks this sub-extension as the field name.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0.url","typeLabel":"enum\u003cstring>"},"valueString":{"type":"string","description":"Name of the supported FHIR element.","example":"code","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0.valueString","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"One competing code.","required":["url","valueCodeableConcept"],"properties":{"url":{"type":"string","enum":["alternative"],"description":"Marks this sub-extension as one competing code.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.url","typeLabel":"enum\u003cstring>"},"valueCodeableConcept":{"type":"object","description":"The competing code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.text","typeLabel":"string"}},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept","typeLabel":"object"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.1.extension.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.1.extension","typeLabel":"object[]"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3.extension","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.3","typeLabel":"object"},{"type":"object","description":"One FHIR R4 resource extracted from the note. One of: Patient, Encounter, Condition, AllergyIntolerance, FamilyMemberHistory, Procedure, Observation. New resource types may be added in the future; ignore entries whose `resourceType` you do not recognize.","required":["resourceType","id","status","relationship"],"properties":{"resourceType":{"type":"string","enum":["FamilyMemberHistory"],"description":"FHIR resource type discriminator; always `FamilyMemberHistory`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.resourceType","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"Bundle-local logical id of the resource (a UUID); the entry's `fullUrl` is `urn:uuid:\u003cid>`.","example":"3f6d2b1a-8c4e-5a7d-b9f0-1e2d3c4b5a69","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.id","typeLabel":"string"},"status":{"type":"string","enum":["partial","completed","entered-in-error","health-unknown"],"description":"Status of the family-history record.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.status","typeLabel":"enum\u003cstring>"},"relationship":{"type":"object","description":"The relation to the patient, coded in the v3-RoleCode family system, e.g. FTH (Father), MTH (Mother), or SIS (Sister); text only when the relation has no code; only the data-absent-reason extension when the note does not state it.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.relationship.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.relationship.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.relationship.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.relationship.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.relationship.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.relationship.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.relationship.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.relationship.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.relationship.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.relationship.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.relationship.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.relationship.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.relationship.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.relationship.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.relationship.text","typeLabel":"string"}},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.relationship","typeLabel":"object"},"patient":{"type":"object","description":"The patient, a reference to the Bundle's Patient.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.patient.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.patient.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.patient.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.patient.extension","typeLabel":"object[]"},"reference":{"type":"string","description":"The referenced resource, e.g. `urn:uuid:b7c4e1d9-...`; equal to the `fullUrl` of an entry of the Bundle.","example":"urn:uuid:b7c4e1d9-2a3f-4c8b-9d5e-6f0a1b2c3d7e","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.patient.reference","typeLabel":"string"},"type":{"type":"string","description":"Resource type of the reference target.","example":"Encounter","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.patient.type","typeLabel":"string"},"identifier":{"type":"object","description":"Business identifier of the referenced resource. Set on `encounter` references, so they also identify the caller's encounter.","properties":{"system":{"type":"string","description":"Namespace of the identifier.","example":"http://corti.app/fhir/identifier/patient","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.patient.identifier.system","typeLabel":"string"},"value":{"type":"string","description":"The identifier value, e.g. a medical record number.","example":"MRN-00123","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.patient.identifier.value","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.patient.identifier","typeLabel":"object"},"display":{"type":"string","description":"Text alternative for the referenced resource.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.patient.display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.patient","typeLabel":"object"},"name":{"type":"string","description":"The relative's name.","example":"Maria Nielsen","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.name","typeLabel":"string"},"sex":{"type":"object","description":"The relative's sex, e.g. male or female (SNOMED CT).","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.sex.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.sex.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.sex.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.sex.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.sex.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.sex.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.sex.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.sex.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.sex.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.sex.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.sex.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.sex.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.sex.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.sex.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.sex.text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.sex","typeLabel":"object"},"ageString":{"type":"string","description":"The relative's age, free text.","example":"around 70","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.ageString","typeLabel":"string"},"deceasedString":{"type":"string","description":"How the relative is deceased, free text; e.g. `died 2019` or `alive`.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.deceasedString","typeLabel":"string"},"condition":{"type":"array","description":"Conditions the relative has or had.","items":{"type":"object","description":"One condition of a family member (FHIR R4 `FamilyMemberHistory.condition`, https://hl7.org/fhir/R4/familymemberhistory-definitions.html).","required":["code"],"properties":{"code":{"type":"object","description":"The condition, e.g. asthma (SNOMED CT).","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].code.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].code.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].code.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].code.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].code.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].code.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].code.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].code.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].code.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].code.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].code.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].code.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].code.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].code.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].code.text","typeLabel":"string"}},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].code","typeLabel":"object"},"outcome":{"type":"object","description":"The outcome of the condition for the relative.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].outcome.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].outcome.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].outcome.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].outcome.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].outcome.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].outcome.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].outcome.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].outcome.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].outcome.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].outcome.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].outcome.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].outcome.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].outcome.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].outcome.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].outcome.text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].outcome","typeLabel":"object"},"contributedToDeath":{"type":"boolean","description":"Whether the condition contributed to the relative's death.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].contributedToDeath","typeLabel":"boolean"},"onsetString":{"type":"string","description":"When the condition began, free text.","example":"in childhood","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].onsetString","typeLabel":"string"},"onsetPeriod":{"type":"object","description":"When the condition began, a time range.","properties":{"start":{"type":"string","description":"Start of the period, ISO 8601 date-time.","example":"2025-01-15T09:00:00Z","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].onsetPeriod.start","typeLabel":"string"},"end":{"type":"string","description":"End of the period, inclusive, ISO 8601 date-time. The period is ongoing while `end` is missing.","example":"2025-01-15T09:45:00Z","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].onsetPeriod.end","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].onsetPeriod","typeLabel":"object"},"onsetAge":{"type":"object","description":"The age at which the condition began (Quantity with a UCUM time unit).","properties":{"value":{"type":"number","description":"The numeric value.","example":150,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].onsetAge.value","typeLabel":"number"},"comparator":{"type":"string","enum":["\u003c","\u003c=",">=",">"],"description":"How the value relates to its reference range.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].onsetAge.comparator","typeLabel":"enum\u003cstring>"},"unit":{"type":"string","description":"Human-readable unit.","example":"mmHg","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].onsetAge.unit","typeLabel":"string"},"system":{"type":"string","description":"The system the unit code comes from, e.g. `http://unitsofmeasure.org` (UCUM).","example":"http://unitsofmeasure.org","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].onsetAge.system","typeLabel":"string"},"code":{"type":"string","description":"Coded form of the unit.","example":"mmHg","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].onsetAge.code","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].onsetAge","typeLabel":"object"},"onsetRange":{"type":"object","description":"The age range at which the condition began.","properties":{"low":{"type":"object","description":"A measured amount with a unit (FHIR R4 Quantity, https://hl7.org/fhir/R4/datatypes.html#Quantity).","properties":{"value":{"type":"number","description":"The numeric value.","example":150,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].onsetRange.low.value","typeLabel":"number"},"comparator":{"type":"string","enum":["\u003c","\u003c=",">=",">"],"description":"How the value relates to its reference range.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].onsetRange.low.comparator","typeLabel":"enum\u003cstring>"},"unit":{"type":"string","description":"Human-readable unit.","example":"mmHg","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].onsetRange.low.unit","typeLabel":"string"},"system":{"type":"string","description":"The system the unit code comes from, e.g. `http://unitsofmeasure.org` (UCUM).","example":"http://unitsofmeasure.org","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].onsetRange.low.system","typeLabel":"string"},"code":{"type":"string","description":"Coded form of the unit.","example":"mmHg","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].onsetRange.low.code","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].onsetRange.low","typeLabel":"object"},"high":{"type":"object","description":"A measured amount with a unit (FHIR R4 Quantity, https://hl7.org/fhir/R4/datatypes.html#Quantity).","properties":{"value":{"type":"number","description":"The numeric value.","example":150,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].onsetRange.high.value","typeLabel":"number"},"comparator":{"type":"string","enum":["\u003c","\u003c=",">=",">"],"description":"How the value relates to its reference range.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].onsetRange.high.comparator","typeLabel":"enum\u003cstring>"},"unit":{"type":"string","description":"Human-readable unit.","example":"mmHg","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].onsetRange.high.unit","typeLabel":"string"},"system":{"type":"string","description":"The system the unit code comes from, e.g. `http://unitsofmeasure.org` (UCUM).","example":"http://unitsofmeasure.org","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].onsetRange.high.system","typeLabel":"string"},"code":{"type":"string","description":"Coded form of the unit.","example":"mmHg","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].onsetRange.high.code","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].onsetRange.high","typeLabel":"object"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].onsetRange","typeLabel":"object"},"note":{"type":"array","description":"Notes about the condition.","items":{"type":"object","description":"A free-text note (FHIR R4 Annotation, https://hl7.org/fhir/R4/datatypes.html#Annotation).","required":["text"],"properties":{"text":{"type":"string","description":"The text of the note.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].note.items.[INDEX].text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].note.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX].note","typeLabel":"object[]"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.condition","typeLabel":"object[]"},"note":{"type":"array","description":"Notes about the relative.","items":{"type":"object","description":"A free-text note (FHIR R4 Annotation, https://hl7.org/fhir/R4/datatypes.html#Annotation).","required":["text"],"properties":{"text":{"type":"string","description":"The text of the note.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.note.items.[INDEX].text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.note.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.note","typeLabel":"object[]"},"extension":{"type":"array","description":"Extensions attached to a FHIR resource (FHIR R4 `DomainResource.extension`). The service produces two extension types today: `mention` (evidence spans that ground the resource in the note) and `alternative` (competing codes). Ignore extensions whose `url` you do not recognize; new extension types may be added in the future.","items":{"oneOf":[{"type":"object","description":"Evidence the model located in the clinical note, attached to one field of a resource as a FHIR R4 extension with the fixed URL `https://docs.corti.ai/fhir/StructureDefinition/mention`. Repeated once per field: each occurrence names the supported element in a `field` sub-extension, then carries one `evidence` block per span found.","required":["url","extension"],"properties":{"url":{"type":"string","enum":["https://docs.corti.ai/fhir/StructureDefinition/mention"],"description":"Identifies this extension as evidence.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.0.url","typeLabel":"enum\u003cstring>"},"extension":{"type":"array","minItems":2,"description":"One `field` sub-extension, then one or more `evidence` sub-extensions.","items":{"oneOf":[{"type":"object","description":"The FHIR element that the sibling evidence or alternative blocks support, e.g. `code`, `bodySite`, or `onsetDateTime`.","required":["url","valueString"],"properties":{"url":{"type":"string","enum":["field"],"description":"Marks this sub-extension as the field name.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.0.url","typeLabel":"enum\u003cstring>"},"valueString":{"type":"string","description":"Name of the supported FHIR element.","example":"code","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.0.valueString","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"One evidence span from the clinical note. `start` and `end` are positions in the whole request note (see the endpoint description). For a `clinicalNote` context, a span inside one section also carries `sectionId`, `sectionStart` and `sectionEnd`; a span that crosses a section boundary does not.","required":["url","extension"],"properties":{"url":{"type":"string","enum":["evidence"],"description":"Marks this sub-extension as one evidence span.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.url","typeLabel":"enum\u003cstring>"},"extension":{"type":"array","minItems":2,"description":"A `start` and an `end` sub-extension, optionally followed by a `text` sub-extension, then optionally `sectionId`, `sectionStart` and `sectionEnd`.","items":{"oneOf":[{"type":"object","description":"Start of an evidence span.","required":["url","valueInteger"],"properties":{"url":{"type":"string","enum":["start"],"description":"Marks this sub-extension as the span start.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0.url","typeLabel":"enum\u003cstring>"},"valueInteger":{"type":"integer","description":"Start of the span, inclusive: the number of characters of the request note before the first character of the span.","example":129,"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0.valueInteger","typeLabel":"integer"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"End of an evidence span.","required":["url","valueInteger"],"properties":{"url":{"type":"string","enum":["end"],"description":"Marks this sub-extension as the span end.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.url","typeLabel":"enum\u003cstring>"},"valueInteger":{"type":"integer","description":"End of the span, exclusive: the number of characters of the request note up to the first character after the span.","example":135,"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueInteger","typeLabel":"integer"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"Verbatim text of an evidence span.","required":["url","valueString"],"properties":{"url":{"type":"string","enum":["text"],"description":"Marks this sub-extension as the span text.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.2.url","typeLabel":"enum\u003cstring>"},"valueString":{"type":"string","description":"The mentioning text as it appears in the note.","example":"asthma","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.2.valueString","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","description":"The request section an evidence span lies in. Only present when the request `context` is a `clinicalNote` and the span lies inside one section.","required":["url","valueString"],"properties":{"url":{"type":"string","enum":["sectionId"],"description":"Marks this sub-extension as the section id.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.3.url","typeLabel":"enum\u003cstring>"},"valueString":{"type":"string","description":"The `id` of the request section.","example":"vitals","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.3.valueString","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.3","typeLabel":"object"},{"type":"object","description":"Start of an evidence span inside its section. Only present together with `sectionId`.","required":["url","valueInteger"],"properties":{"url":{"type":"string","enum":["sectionStart"],"description":"Marks this sub-extension as the section-relative span start.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.4.url","typeLabel":"enum\u003cstring>"},"valueInteger":{"type":"integer","description":"Start of the span, inclusive, counted in the section's `title` followed directly by its `body` (no separator).","example":6,"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.4.valueInteger","typeLabel":"integer"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.4","typeLabel":"object"},{"type":"object","description":"End of an evidence span inside its section. Only present together with `sectionId`.","required":["url","valueInteger"],"properties":{"url":{"type":"string","enum":["sectionEnd"],"description":"Marks this sub-extension as the section-relative span end.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.5.url","typeLabel":"enum\u003cstring>"},"valueInteger":{"type":"integer","description":"End of the span, exclusive, counted in the section's `title` followed directly by its `body` (no separator).","example":29,"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.5.valueInteger","typeLabel":"integer"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.5","typeLabel":"object"}],"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension","typeLabel":"object[]"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.0.extension.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.0.extension","typeLabel":"object[]"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"A competing code the model considered but did not select, attached to one field of a resource as a FHIR R4 extension with the fixed URL `https://docs.corti.ai/fhir/StructureDefinition/alternative`. Repeated once per field: each occurrence names the element in a `field` sub-extension, then carries one `alternative` sub-extension per competing code.","required":["url","extension"],"properties":{"url":{"type":"string","enum":["https://docs.corti.ai/fhir/StructureDefinition/alternative"],"description":"Identifies this extension as a competing-code alternative.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.1.url","typeLabel":"enum\u003cstring>"},"extension":{"type":"array","minItems":2,"description":"One `field` sub-extension, then one or more `alternative` sub-extensions.","items":{"oneOf":[{"type":"object","description":"The FHIR element that the sibling evidence or alternative blocks support, e.g. `code`, `bodySite`, or `onsetDateTime`.","required":["url","valueString"],"properties":{"url":{"type":"string","enum":["field"],"description":"Marks this sub-extension as the field name.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0.url","typeLabel":"enum\u003cstring>"},"valueString":{"type":"string","description":"Name of the supported FHIR element.","example":"code","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0.valueString","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"One competing code.","required":["url","valueCodeableConcept"],"properties":{"url":{"type":"string","enum":["alternative"],"description":"Marks this sub-extension as one competing code.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.url","typeLabel":"enum\u003cstring>"},"valueCodeableConcept":{"type":"object","description":"The competing code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.text","typeLabel":"string"}},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept","typeLabel":"object"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.1.extension.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.1.extension","typeLabel":"object[]"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4.extension","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.4","typeLabel":"object"},{"type":"object","description":"One FHIR R4 resource extracted from the note. One of: Patient, Encounter, Condition, AllergyIntolerance, FamilyMemberHistory, Procedure, Observation. New resource types may be added in the future; ignore entries whose `resourceType` you do not recognize.","required":["resourceType","id","status"],"properties":{"resourceType":{"type":"string","enum":["Procedure"],"description":"FHIR resource type discriminator; always `Procedure`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.resourceType","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"Bundle-local logical id of the resource (a UUID); the entry's `fullUrl` is `urn:uuid:\u003cid>`.","example":"3f6d2b1a-8c4e-5a7d-b9f0-1e2d3c4b5a69","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.id","typeLabel":"string"},"status":{"type":"string","enum":["preparation","in-progress","not-done","on-hold","stopped","completed","entered-in-error","unknown"],"description":"Status of the procedure (http://hl7.org/fhir/ValueSet/procedure-status).","example":"completed","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.status","typeLabel":"enum\u003cstring>"},"subject":{"type":"object","description":"The patient, a reference to the Bundle's Patient.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.subject.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.subject.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.subject.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.subject.extension","typeLabel":"object[]"},"reference":{"type":"string","description":"The referenced resource, e.g. `urn:uuid:b7c4e1d9-...`; equal to the `fullUrl` of an entry of the Bundle.","example":"urn:uuid:b7c4e1d9-2a3f-4c8b-9d5e-6f0a1b2c3d7e","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.subject.reference","typeLabel":"string"},"type":{"type":"string","description":"Resource type of the reference target.","example":"Encounter","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.subject.type","typeLabel":"string"},"identifier":{"type":"object","description":"Business identifier of the referenced resource. Set on `encounter` references, so they also identify the caller's encounter.","properties":{"system":{"type":"string","description":"Namespace of the identifier.","example":"http://corti.app/fhir/identifier/patient","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.subject.identifier.system","typeLabel":"string"},"value":{"type":"string","description":"The identifier value, e.g. a medical record number.","example":"MRN-00123","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.subject.identifier.value","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.subject.identifier","typeLabel":"object"},"display":{"type":"string","description":"Text alternative for the referenced resource.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.subject.display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.subject","typeLabel":"object"},"category":{"type":"object","description":"Category of the procedure, e.g. `surgical procedure`.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.category.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.category.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.category.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.category.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.category.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.category.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.category.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.category.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.category.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.category.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.category.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.category.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.category.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.category.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.category.text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.category","typeLabel":"object"},"code":{"type":"object","description":"What was done, typically a SNOMED CT code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.code.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.code.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.code.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.code.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.code.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.code.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.code.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.code.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.code.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.code.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.code.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.code.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.code.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.code.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.code.text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.code","typeLabel":"object"},"encounter":{"type":"object","description":"The encounter the procedure was performed during.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.encounter.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.encounter.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.encounter.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.encounter.extension","typeLabel":"object[]"},"reference":{"type":"string","description":"The referenced resource, e.g. `urn:uuid:b7c4e1d9-...`; equal to the `fullUrl` of an entry of the Bundle.","example":"urn:uuid:b7c4e1d9-2a3f-4c8b-9d5e-6f0a1b2c3d7e","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.encounter.reference","typeLabel":"string"},"type":{"type":"string","description":"Resource type of the reference target.","example":"Encounter","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.encounter.type","typeLabel":"string"},"identifier":{"type":"object","description":"Business identifier of the referenced resource. Set on `encounter` references, so they also identify the caller's encounter.","properties":{"system":{"type":"string","description":"Namespace of the identifier.","example":"http://corti.app/fhir/identifier/patient","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.encounter.identifier.system","typeLabel":"string"},"value":{"type":"string","description":"The identifier value, e.g. a medical record number.","example":"MRN-00123","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.encounter.identifier.value","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.encounter.identifier","typeLabel":"object"},"display":{"type":"string","description":"Text alternative for the referenced resource.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.encounter.display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.encounter","typeLabel":"object"},"performedDateTime":{"type":"string","description":"When the procedure was performed, ISO 8601 date-time.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performedDateTime","typeLabel":"string"},"performedString":{"type":"string","description":"When the procedure was performed, free text.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performedString","typeLabel":"string"},"performedPeriod":{"type":"object","description":"When the procedure was performed, a time range.","properties":{"start":{"type":"string","description":"Start of the period, ISO 8601 date-time.","example":"2025-01-15T09:00:00Z","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performedPeriod.start","typeLabel":"string"},"end":{"type":"string","description":"End of the period, inclusive, ISO 8601 date-time. The period is ongoing while `end` is missing.","example":"2025-01-15T09:45:00Z","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performedPeriod.end","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performedPeriod","typeLabel":"object"},"performer":{"type":"array","description":"Who performed the procedure and in which role.","items":{"type":"object","description":"Who performed a procedure (FHIR R4 `Procedure.performer`, https://hl7.org/fhir/R4/procedure-definitions.html).","required":["actor"],"properties":{"actor":{"type":"object","description":"The practitioner who performed, as a display-only reference, or only the data-absent-reason extension when the note does not name them.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].actor.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].actor.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].actor.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].actor.extension","typeLabel":"object[]"},"reference":{"type":"string","description":"The referenced resource, e.g. `urn:uuid:b7c4e1d9-...`; equal to the `fullUrl` of an entry of the Bundle.","example":"urn:uuid:b7c4e1d9-2a3f-4c8b-9d5e-6f0a1b2c3d7e","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].actor.reference","typeLabel":"string"},"type":{"type":"string","description":"Resource type of the reference target.","example":"Encounter","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].actor.type","typeLabel":"string"},"identifier":{"type":"object","description":"Business identifier of the referenced resource. Set on `encounter` references, so they also identify the caller's encounter.","properties":{"system":{"type":"string","description":"Namespace of the identifier.","example":"http://corti.app/fhir/identifier/patient","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].actor.identifier.system","typeLabel":"string"},"value":{"type":"string","description":"The identifier value, e.g. a medical record number.","example":"MRN-00123","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].actor.identifier.value","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].actor.identifier","typeLabel":"object"},"display":{"type":"string","description":"Text alternative for the referenced resource.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].actor.display","typeLabel":"string"}},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].actor","typeLabel":"object"},"function":{"type":"object","description":"Role of the performer, e.g. surgeon or anesthetist.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].function.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].function.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].function.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].function.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].function.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].function.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].function.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].function.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].function.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].function.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].function.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].function.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].function.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].function.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].function.text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].function","typeLabel":"object"},"onBehalfOf":{"type":"object","description":"The organization the performer acted for.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].onBehalfOf.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].onBehalfOf.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].onBehalfOf.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].onBehalfOf.extension","typeLabel":"object[]"},"reference":{"type":"string","description":"The referenced resource, e.g. `urn:uuid:b7c4e1d9-...`; equal to the `fullUrl` of an entry of the Bundle.","example":"urn:uuid:b7c4e1d9-2a3f-4c8b-9d5e-6f0a1b2c3d7e","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].onBehalfOf.reference","typeLabel":"string"},"type":{"type":"string","description":"Resource type of the reference target.","example":"Encounter","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].onBehalfOf.type","typeLabel":"string"},"identifier":{"type":"object","description":"Business identifier of the referenced resource. Set on `encounter` references, so they also identify the caller's encounter.","properties":{"system":{"type":"string","description":"Namespace of the identifier.","example":"http://corti.app/fhir/identifier/patient","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].onBehalfOf.identifier.system","typeLabel":"string"},"value":{"type":"string","description":"The identifier value, e.g. a medical record number.","example":"MRN-00123","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].onBehalfOf.identifier.value","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].onBehalfOf.identifier","typeLabel":"object"},"display":{"type":"string","description":"Text alternative for the referenced resource.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].onBehalfOf.display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX].onBehalfOf","typeLabel":"object"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.performer","typeLabel":"object[]"},"reasonCode":{"type":"array","description":"Why the procedure was performed.","items":{"type":"object","description":"A clinical concept: one or more codes from one or more terminology systems, plus a plain-text representation (FHIR R4 CodeableConcept, https://hl7.org/fhir/R4/datatypes.html#CodeableConcept). When several codings appear, they express the same concept in different systems. A required concept the note does not state (`FamilyMemberHistory.relationship`, `AllergyIntolerance.reaction.manifestation`) carries only `extension` (data-absent-reason).","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.reasonCode.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.reasonCode.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.reasonCode.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.reasonCode.items.[INDEX].extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.reasonCode.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.reasonCode.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.reasonCode.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.reasonCode.items.[INDEX].coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.reasonCode.items.[INDEX].coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.reasonCode.items.[INDEX].coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.reasonCode.items.[INDEX].coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.reasonCode.items.[INDEX].coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.reasonCode.items.[INDEX].coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.reasonCode.items.[INDEX].coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.reasonCode.items.[INDEX].text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.reasonCode.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.reasonCode","typeLabel":"object[]"},"bodySite":{"type":"array","description":"Anatomical site of the procedure.","items":{"type":"object","description":"A clinical concept: one or more codes from one or more terminology systems, plus a plain-text representation (FHIR R4 CodeableConcept, https://hl7.org/fhir/R4/datatypes.html#CodeableConcept). When several codings appear, they express the same concept in different systems. A required concept the note does not state (`FamilyMemberHistory.relationship`, `AllergyIntolerance.reaction.manifestation`) carries only `extension` (data-absent-reason).","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.bodySite.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.bodySite.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.bodySite.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.bodySite.items.[INDEX].extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.bodySite.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.bodySite.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.bodySite.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.bodySite.items.[INDEX].coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.bodySite.items.[INDEX].coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.bodySite.items.[INDEX].coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.bodySite.items.[INDEX].coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.bodySite.items.[INDEX].coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.bodySite.items.[INDEX].coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.bodySite.items.[INDEX].coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.bodySite.items.[INDEX].text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.bodySite.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.bodySite","typeLabel":"object[]"},"outcome":{"type":"object","description":"Outcome of the procedure, e.g. `successful`.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.outcome.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.outcome.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.outcome.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.outcome.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.outcome.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.outcome.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.outcome.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.outcome.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.outcome.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.outcome.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.outcome.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.outcome.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.outcome.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.outcome.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.outcome.text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.outcome","typeLabel":"object"},"complication":{"type":"array","description":"Complications of the procedure.","items":{"type":"object","description":"A clinical concept: one or more codes from one or more terminology systems, plus a plain-text representation (FHIR R4 CodeableConcept, https://hl7.org/fhir/R4/datatypes.html#CodeableConcept). When several codings appear, they express the same concept in different systems. A required concept the note does not state (`FamilyMemberHistory.relationship`, `AllergyIntolerance.reaction.manifestation`) carries only `extension` (data-absent-reason).","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.complication.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.complication.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.complication.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.complication.items.[INDEX].extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.complication.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.complication.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.complication.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.complication.items.[INDEX].coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.complication.items.[INDEX].coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.complication.items.[INDEX].coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.complication.items.[INDEX].coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.complication.items.[INDEX].coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.complication.items.[INDEX].coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.complication.items.[INDEX].coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.complication.items.[INDEX].text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.complication.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.complication","typeLabel":"object[]"},"asserter":{"type":"object","description":"Who reported the procedure.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.asserter.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.asserter.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.asserter.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.asserter.extension","typeLabel":"object[]"},"reference":{"type":"string","description":"The referenced resource, e.g. `urn:uuid:b7c4e1d9-...`; equal to the `fullUrl` of an entry of the Bundle.","example":"urn:uuid:b7c4e1d9-2a3f-4c8b-9d5e-6f0a1b2c3d7e","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.asserter.reference","typeLabel":"string"},"type":{"type":"string","description":"Resource type of the reference target.","example":"Encounter","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.asserter.type","typeLabel":"string"},"identifier":{"type":"object","description":"Business identifier of the referenced resource. Set on `encounter` references, so they also identify the caller's encounter.","properties":{"system":{"type":"string","description":"Namespace of the identifier.","example":"http://corti.app/fhir/identifier/patient","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.asserter.identifier.system","typeLabel":"string"},"value":{"type":"string","description":"The identifier value, e.g. a medical record number.","example":"MRN-00123","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.asserter.identifier.value","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.asserter.identifier","typeLabel":"object"},"display":{"type":"string","description":"Text alternative for the referenced resource.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.asserter.display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.asserter","typeLabel":"object"},"partOf":{"type":"array","description":"Procedures this procedure is part of.","items":{"type":"object","description":"A reference from one resource to another (FHIR R4 Reference, https://hl7.org/fhir/R4/references.html). Inside the returned Bundle, resources refer to each other with `urn:uuid` references. References to people the note names (`asserter`, `performer.actor`) and to containing events (`Procedure.partOf`) carry only `display`, since no resource for them exists in the Bundle.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.partOf.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.partOf.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.partOf.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.partOf.items.[INDEX].extension","typeLabel":"object[]"},"reference":{"type":"string","description":"The referenced resource, e.g. `urn:uuid:b7c4e1d9-...`; equal to the `fullUrl` of an entry of the Bundle.","example":"urn:uuid:b7c4e1d9-2a3f-4c8b-9d5e-6f0a1b2c3d7e","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.partOf.items.[INDEX].reference","typeLabel":"string"},"type":{"type":"string","description":"Resource type of the reference target.","example":"Encounter","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.partOf.items.[INDEX].type","typeLabel":"string"},"identifier":{"type":"object","description":"Business identifier of the referenced resource. Set on `encounter` references, so they also identify the caller's encounter.","properties":{"system":{"type":"string","description":"Namespace of the identifier.","example":"http://corti.app/fhir/identifier/patient","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.partOf.items.[INDEX].identifier.system","typeLabel":"string"},"value":{"type":"string","description":"The identifier value, e.g. a medical record number.","example":"MRN-00123","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.partOf.items.[INDEX].identifier.value","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.partOf.items.[INDEX].identifier","typeLabel":"object"},"display":{"type":"string","description":"Text alternative for the referenced resource.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.partOf.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.partOf.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.partOf","typeLabel":"object[]"},"note":{"type":"array","description":"Notes about the procedure.","items":{"type":"object","description":"A free-text note (FHIR R4 Annotation, https://hl7.org/fhir/R4/datatypes.html#Annotation).","required":["text"],"properties":{"text":{"type":"string","description":"The text of the note.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.note.items.[INDEX].text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.note.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.note","typeLabel":"object[]"},"extension":{"type":"array","description":"Extensions attached to a FHIR resource (FHIR R4 `DomainResource.extension`). The service produces two extension types today: `mention` (evidence spans that ground the resource in the note) and `alternative` (competing codes). Ignore extensions whose `url` you do not recognize; new extension types may be added in the future.","items":{"oneOf":[{"type":"object","description":"Evidence the model located in the clinical note, attached to one field of a resource as a FHIR R4 extension with the fixed URL `https://docs.corti.ai/fhir/StructureDefinition/mention`. Repeated once per field: each occurrence names the supported element in a `field` sub-extension, then carries one `evidence` block per span found.","required":["url","extension"],"properties":{"url":{"type":"string","enum":["https://docs.corti.ai/fhir/StructureDefinition/mention"],"description":"Identifies this extension as evidence.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.0.url","typeLabel":"enum\u003cstring>"},"extension":{"type":"array","minItems":2,"description":"One `field` sub-extension, then one or more `evidence` sub-extensions.","items":{"oneOf":[{"type":"object","description":"The FHIR element that the sibling evidence or alternative blocks support, e.g. `code`, `bodySite`, or `onsetDateTime`.","required":["url","valueString"],"properties":{"url":{"type":"string","enum":["field"],"description":"Marks this sub-extension as the field name.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.0.url","typeLabel":"enum\u003cstring>"},"valueString":{"type":"string","description":"Name of the supported FHIR element.","example":"code","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.0.valueString","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"One evidence span from the clinical note. `start` and `end` are positions in the whole request note (see the endpoint description). For a `clinicalNote` context, a span inside one section also carries `sectionId`, `sectionStart` and `sectionEnd`; a span that crosses a section boundary does not.","required":["url","extension"],"properties":{"url":{"type":"string","enum":["evidence"],"description":"Marks this sub-extension as one evidence span.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.url","typeLabel":"enum\u003cstring>"},"extension":{"type":"array","minItems":2,"description":"A `start` and an `end` sub-extension, optionally followed by a `text` sub-extension, then optionally `sectionId`, `sectionStart` and `sectionEnd`.","items":{"oneOf":[{"type":"object","description":"Start of an evidence span.","required":["url","valueInteger"],"properties":{"url":{"type":"string","enum":["start"],"description":"Marks this sub-extension as the span start.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0.url","typeLabel":"enum\u003cstring>"},"valueInteger":{"type":"integer","description":"Start of the span, inclusive: the number of characters of the request note before the first character of the span.","example":129,"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0.valueInteger","typeLabel":"integer"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"End of an evidence span.","required":["url","valueInteger"],"properties":{"url":{"type":"string","enum":["end"],"description":"Marks this sub-extension as the span end.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.url","typeLabel":"enum\u003cstring>"},"valueInteger":{"type":"integer","description":"End of the span, exclusive: the number of characters of the request note up to the first character after the span.","example":135,"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueInteger","typeLabel":"integer"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"Verbatim text of an evidence span.","required":["url","valueString"],"properties":{"url":{"type":"string","enum":["text"],"description":"Marks this sub-extension as the span text.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.2.url","typeLabel":"enum\u003cstring>"},"valueString":{"type":"string","description":"The mentioning text as it appears in the note.","example":"asthma","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.2.valueString","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","description":"The request section an evidence span lies in. Only present when the request `context` is a `clinicalNote` and the span lies inside one section.","required":["url","valueString"],"properties":{"url":{"type":"string","enum":["sectionId"],"description":"Marks this sub-extension as the section id.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.3.url","typeLabel":"enum\u003cstring>"},"valueString":{"type":"string","description":"The `id` of the request section.","example":"vitals","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.3.valueString","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.3","typeLabel":"object"},{"type":"object","description":"Start of an evidence span inside its section. Only present together with `sectionId`.","required":["url","valueInteger"],"properties":{"url":{"type":"string","enum":["sectionStart"],"description":"Marks this sub-extension as the section-relative span start.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.4.url","typeLabel":"enum\u003cstring>"},"valueInteger":{"type":"integer","description":"Start of the span, inclusive, counted in the section's `title` followed directly by its `body` (no separator).","example":6,"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.4.valueInteger","typeLabel":"integer"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.4","typeLabel":"object"},{"type":"object","description":"End of an evidence span inside its section. Only present together with `sectionId`.","required":["url","valueInteger"],"properties":{"url":{"type":"string","enum":["sectionEnd"],"description":"Marks this sub-extension as the section-relative span end.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.5.url","typeLabel":"enum\u003cstring>"},"valueInteger":{"type":"integer","description":"End of the span, exclusive, counted in the section's `title` followed directly by its `body` (no separator).","example":29,"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.5.valueInteger","typeLabel":"integer"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.5","typeLabel":"object"}],"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension","typeLabel":"object[]"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.0.extension.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.0.extension","typeLabel":"object[]"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"A competing code the model considered but did not select, attached to one field of a resource as a FHIR R4 extension with the fixed URL `https://docs.corti.ai/fhir/StructureDefinition/alternative`. Repeated once per field: each occurrence names the element in a `field` sub-extension, then carries one `alternative` sub-extension per competing code.","required":["url","extension"],"properties":{"url":{"type":"string","enum":["https://docs.corti.ai/fhir/StructureDefinition/alternative"],"description":"Identifies this extension as a competing-code alternative.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.1.url","typeLabel":"enum\u003cstring>"},"extension":{"type":"array","minItems":2,"description":"One `field` sub-extension, then one or more `alternative` sub-extensions.","items":{"oneOf":[{"type":"object","description":"The FHIR element that the sibling evidence or alternative blocks support, e.g. `code`, `bodySite`, or `onsetDateTime`.","required":["url","valueString"],"properties":{"url":{"type":"string","enum":["field"],"description":"Marks this sub-extension as the field name.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0.url","typeLabel":"enum\u003cstring>"},"valueString":{"type":"string","description":"Name of the supported FHIR element.","example":"code","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0.valueString","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"One competing code.","required":["url","valueCodeableConcept"],"properties":{"url":{"type":"string","enum":["alternative"],"description":"Marks this sub-extension as one competing code.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.url","typeLabel":"enum\u003cstring>"},"valueCodeableConcept":{"type":"object","description":"The competing code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.text","typeLabel":"string"}},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept","typeLabel":"object"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.1.extension.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.1.extension","typeLabel":"object[]"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5.extension","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.5","typeLabel":"object"},{"type":"object","description":"One FHIR R4 resource extracted from the note. One of: Patient, Encounter, Condition, AllergyIntolerance, FamilyMemberHistory, Procedure, Observation. New resource types may be added in the future; ignore entries whose `resourceType` you do not recognize.","required":["resourceType","id","status","code"],"properties":{"resourceType":{"type":"string","enum":["Observation"],"description":"FHIR resource type discriminator; always `Observation`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.resourceType","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"Bundle-local logical id of the resource (a UUID); the entry's `fullUrl` is `urn:uuid:\u003cid>`.","example":"3f6d2b1a-8c4e-5a7d-b9f0-1e2d3c4b5a69","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.id","typeLabel":"string"},"status":{"type":"string","enum":["registered","preliminary","final","amended","corrected","cancelled","entered-in-error","unknown"],"description":"Status of the observation (http://hl7.org/fhir/ValueSet/observation-status).","example":"final","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.status","typeLabel":"enum\u003cstring>"},"code":{"type":"object","description":"What was observed or measured, typically a LOINC or SNOMED CT code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.code.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.code.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.code.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.code.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.code.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.code.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.code.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.code.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.code.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.code.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.code.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.code.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.code.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.code.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.code.text","typeLabel":"string"}},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.code","typeLabel":"object"},"subject":{"type":"object","description":"The patient, a reference to the Bundle's Patient.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.subject.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.subject.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.subject.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.subject.extension","typeLabel":"object[]"},"reference":{"type":"string","description":"The referenced resource, e.g. `urn:uuid:b7c4e1d9-...`; equal to the `fullUrl` of an entry of the Bundle.","example":"urn:uuid:b7c4e1d9-2a3f-4c8b-9d5e-6f0a1b2c3d7e","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.subject.reference","typeLabel":"string"},"type":{"type":"string","description":"Resource type of the reference target.","example":"Encounter","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.subject.type","typeLabel":"string"},"identifier":{"type":"object","description":"Business identifier of the referenced resource. Set on `encounter` references, so they also identify the caller's encounter.","properties":{"system":{"type":"string","description":"Namespace of the identifier.","example":"http://corti.app/fhir/identifier/patient","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.subject.identifier.system","typeLabel":"string"},"value":{"type":"string","description":"The identifier value, e.g. a medical record number.","example":"MRN-00123","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.subject.identifier.value","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.subject.identifier","typeLabel":"object"},"display":{"type":"string","description":"Text alternative for the referenced resource.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.subject.display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.subject","typeLabel":"object"},"category":{"type":"array","description":"Category of the observation, e.g. `vital-signs`.","items":{"type":"object","description":"A clinical concept: one or more codes from one or more terminology systems, plus a plain-text representation (FHIR R4 CodeableConcept, https://hl7.org/fhir/R4/datatypes.html#CodeableConcept). When several codings appear, they express the same concept in different systems. A required concept the note does not state (`FamilyMemberHistory.relationship`, `AllergyIntolerance.reaction.manifestation`) carries only `extension` (data-absent-reason).","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.category.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.category.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.category.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.category.items.[INDEX].extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.category.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.category.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.category.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.category.items.[INDEX].coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.category.items.[INDEX].coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.category.items.[INDEX].coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.category.items.[INDEX].coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.category.items.[INDEX].coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.category.items.[INDEX].coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.category.items.[INDEX].coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.category.items.[INDEX].text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.category.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.category","typeLabel":"object[]"},"valueQuantity":{"type":"object","description":"The observed value as a number with a unit.","properties":{"value":{"type":"number","description":"The numeric value.","example":150,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueQuantity.value","typeLabel":"number"},"comparator":{"type":"string","enum":["\u003c","\u003c=",">=",">"],"description":"How the value relates to its reference range.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueQuantity.comparator","typeLabel":"enum\u003cstring>"},"unit":{"type":"string","description":"Human-readable unit.","example":"mmHg","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueQuantity.unit","typeLabel":"string"},"system":{"type":"string","description":"The system the unit code comes from, e.g. `http://unitsofmeasure.org` (UCUM).","example":"http://unitsofmeasure.org","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueQuantity.system","typeLabel":"string"},"code":{"type":"string","description":"Coded form of the unit.","example":"mmHg","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueQuantity.code","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueQuantity","typeLabel":"object"},"valueCodeableConcept":{"type":"object","description":"The observed value as a coded finding.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueCodeableConcept.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueCodeableConcept.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueCodeableConcept.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueCodeableConcept.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueCodeableConcept.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueCodeableConcept.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueCodeableConcept.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueCodeableConcept.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueCodeableConcept.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueCodeableConcept.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueCodeableConcept.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueCodeableConcept.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueCodeableConcept.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueCodeableConcept.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueCodeableConcept.text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueCodeableConcept","typeLabel":"object"},"valueInteger":{"type":"integer","description":"The observed value as an integer.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueInteger","typeLabel":"integer"},"valueRatio":{"type":"object","description":"The observed value as a ratio.","properties":{"numerator":{"type":"object","description":"A measured amount with a unit (FHIR R4 Quantity, https://hl7.org/fhir/R4/datatypes.html#Quantity).","properties":{"value":{"type":"number","description":"The numeric value.","example":150,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueRatio.numerator.value","typeLabel":"number"},"comparator":{"type":"string","enum":["\u003c","\u003c=",">=",">"],"description":"How the value relates to its reference range.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueRatio.numerator.comparator","typeLabel":"enum\u003cstring>"},"unit":{"type":"string","description":"Human-readable unit.","example":"mmHg","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueRatio.numerator.unit","typeLabel":"string"},"system":{"type":"string","description":"The system the unit code comes from, e.g. `http://unitsofmeasure.org` (UCUM).","example":"http://unitsofmeasure.org","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueRatio.numerator.system","typeLabel":"string"},"code":{"type":"string","description":"Coded form of the unit.","example":"mmHg","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueRatio.numerator.code","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueRatio.numerator","typeLabel":"object"},"denominator":{"type":"object","description":"A measured amount with a unit (FHIR R4 Quantity, https://hl7.org/fhir/R4/datatypes.html#Quantity).","properties":{"value":{"type":"number","description":"The numeric value.","example":150,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueRatio.denominator.value","typeLabel":"number"},"comparator":{"type":"string","enum":["\u003c","\u003c=",">=",">"],"description":"How the value relates to its reference range.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueRatio.denominator.comparator","typeLabel":"enum\u003cstring>"},"unit":{"type":"string","description":"Human-readable unit.","example":"mmHg","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueRatio.denominator.unit","typeLabel":"string"},"system":{"type":"string","description":"The system the unit code comes from, e.g. `http://unitsofmeasure.org` (UCUM).","example":"http://unitsofmeasure.org","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueRatio.denominator.system","typeLabel":"string"},"code":{"type":"string","description":"Coded form of the unit.","example":"mmHg","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueRatio.denominator.code","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueRatio.denominator","typeLabel":"object"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueRatio","typeLabel":"object"},"valueString":{"type":"string","description":"The observed value as text.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.valueString","typeLabel":"string"},"dataAbsentReason":{"type":"object","description":"Why the observation carries no value.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.dataAbsentReason.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.dataAbsentReason.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.dataAbsentReason.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.dataAbsentReason.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.dataAbsentReason.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.dataAbsentReason.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.dataAbsentReason.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.dataAbsentReason.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.dataAbsentReason.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.dataAbsentReason.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.dataAbsentReason.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.dataAbsentReason.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.dataAbsentReason.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.dataAbsentReason.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.dataAbsentReason.text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.dataAbsentReason","typeLabel":"object"},"interpretation":{"type":"array","description":"Assessment of the value, e.g. `high` or `low`.","items":{"type":"object","description":"A clinical concept: one or more codes from one or more terminology systems, plus a plain-text representation (FHIR R4 CodeableConcept, https://hl7.org/fhir/R4/datatypes.html#CodeableConcept). When several codings appear, they express the same concept in different systems. A required concept the note does not state (`FamilyMemberHistory.relationship`, `AllergyIntolerance.reaction.manifestation`) carries only `extension` (data-absent-reason).","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.interpretation.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.interpretation.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.interpretation.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.interpretation.items.[INDEX].extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.interpretation.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.interpretation.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.interpretation.items.[INDEX].coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.interpretation.items.[INDEX].coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.interpretation.items.[INDEX].coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.interpretation.items.[INDEX].coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.interpretation.items.[INDEX].coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.interpretation.items.[INDEX].coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.interpretation.items.[INDEX].coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.interpretation.items.[INDEX].coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.interpretation.items.[INDEX].text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.interpretation.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.interpretation","typeLabel":"object[]"},"encounter":{"type":"object","description":"The encounter the observation was taken during.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.encounter.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.encounter.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.encounter.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.encounter.extension","typeLabel":"object[]"},"reference":{"type":"string","description":"The referenced resource, e.g. `urn:uuid:b7c4e1d9-...`; equal to the `fullUrl` of an entry of the Bundle.","example":"urn:uuid:b7c4e1d9-2a3f-4c8b-9d5e-6f0a1b2c3d7e","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.encounter.reference","typeLabel":"string"},"type":{"type":"string","description":"Resource type of the reference target.","example":"Encounter","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.encounter.type","typeLabel":"string"},"identifier":{"type":"object","description":"Business identifier of the referenced resource. Set on `encounter` references, so they also identify the caller's encounter.","properties":{"system":{"type":"string","description":"Namespace of the identifier.","example":"http://corti.app/fhir/identifier/patient","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.encounter.identifier.system","typeLabel":"string"},"value":{"type":"string","description":"The identifier value, e.g. a medical record number.","example":"MRN-00123","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.encounter.identifier.value","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.encounter.identifier","typeLabel":"object"},"display":{"type":"string","description":"Text alternative for the referenced resource.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.encounter.display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.encounter","typeLabel":"object"},"effectiveDateTime":{"type":"string","description":"When the measurement was taken, ISO 8601 date-time.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.effectiveDateTime","typeLabel":"string"},"effectivePeriod":{"type":"object","description":"Over which time span the measurement was taken.","properties":{"start":{"type":"string","description":"Start of the period, ISO 8601 date-time.","example":"2025-01-15T09:00:00Z","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.effectivePeriod.start","typeLabel":"string"},"end":{"type":"string","description":"End of the period, inclusive, ISO 8601 date-time. The period is ongoing while `end` is missing.","example":"2025-01-15T09:45:00Z","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.effectivePeriod.end","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.effectivePeriod","typeLabel":"object"},"bodySite":{"type":"object","description":"The site of the measurement.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.bodySite.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.bodySite.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.bodySite.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.bodySite.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.bodySite.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.bodySite.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.bodySite.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.bodySite.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.bodySite.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.bodySite.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.bodySite.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.bodySite.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.bodySite.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.bodySite.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.bodySite.text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.bodySite","typeLabel":"object"},"method":{"type":"object","description":"How the measurement was taken.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.method.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.method.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.method.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.method.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.method.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.method.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.method.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.method.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.method.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.method.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.method.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.method.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.method.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.method.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.method.text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.method","typeLabel":"object"},"note":{"type":"array","description":"Notes about the observation.","items":{"type":"object","description":"A free-text note (FHIR R4 Annotation, https://hl7.org/fhir/R4/datatypes.html#Annotation).","required":["text"],"properties":{"text":{"type":"string","description":"The text of the note.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.note.items.[INDEX].text","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.note.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.note","typeLabel":"object[]"},"extension":{"type":"array","description":"Extensions attached to a FHIR resource (FHIR R4 `DomainResource.extension`). The service produces two extension types today: `mention` (evidence spans that ground the resource in the note) and `alternative` (competing codes). Ignore extensions whose `url` you do not recognize; new extension types may be added in the future.","items":{"oneOf":[{"type":"object","description":"Evidence the model located in the clinical note, attached to one field of a resource as a FHIR R4 extension with the fixed URL `https://docs.corti.ai/fhir/StructureDefinition/mention`. Repeated once per field: each occurrence names the supported element in a `field` sub-extension, then carries one `evidence` block per span found.","required":["url","extension"],"properties":{"url":{"type":"string","enum":["https://docs.corti.ai/fhir/StructureDefinition/mention"],"description":"Identifies this extension as evidence.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.0.url","typeLabel":"enum\u003cstring>"},"extension":{"type":"array","minItems":2,"description":"One `field` sub-extension, then one or more `evidence` sub-extensions.","items":{"oneOf":[{"type":"object","description":"The FHIR element that the sibling evidence or alternative blocks support, e.g. `code`, `bodySite`, or `onsetDateTime`.","required":["url","valueString"],"properties":{"url":{"type":"string","enum":["field"],"description":"Marks this sub-extension as the field name.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.0.url","typeLabel":"enum\u003cstring>"},"valueString":{"type":"string","description":"Name of the supported FHIR element.","example":"code","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.0.valueString","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"One evidence span from the clinical note. `start` and `end` are positions in the whole request note (see the endpoint description). For a `clinicalNote` context, a span inside one section also carries `sectionId`, `sectionStart` and `sectionEnd`; a span that crosses a section boundary does not.","required":["url","extension"],"properties":{"url":{"type":"string","enum":["evidence"],"description":"Marks this sub-extension as one evidence span.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.url","typeLabel":"enum\u003cstring>"},"extension":{"type":"array","minItems":2,"description":"A `start` and an `end` sub-extension, optionally followed by a `text` sub-extension, then optionally `sectionId`, `sectionStart` and `sectionEnd`.","items":{"oneOf":[{"type":"object","description":"Start of an evidence span.","required":["url","valueInteger"],"properties":{"url":{"type":"string","enum":["start"],"description":"Marks this sub-extension as the span start.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0.url","typeLabel":"enum\u003cstring>"},"valueInteger":{"type":"integer","description":"Start of the span, inclusive: the number of characters of the request note before the first character of the span.","example":129,"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0.valueInteger","typeLabel":"integer"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"End of an evidence span.","required":["url","valueInteger"],"properties":{"url":{"type":"string","enum":["end"],"description":"Marks this sub-extension as the span end.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.url","typeLabel":"enum\u003cstring>"},"valueInteger":{"type":"integer","description":"End of the span, exclusive: the number of characters of the request note up to the first character after the span.","example":135,"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueInteger","typeLabel":"integer"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"Verbatim text of an evidence span.","required":["url","valueString"],"properties":{"url":{"type":"string","enum":["text"],"description":"Marks this sub-extension as the span text.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.2.url","typeLabel":"enum\u003cstring>"},"valueString":{"type":"string","description":"The mentioning text as it appears in the note.","example":"asthma","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.2.valueString","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","description":"The request section an evidence span lies in. Only present when the request `context` is a `clinicalNote` and the span lies inside one section.","required":["url","valueString"],"properties":{"url":{"type":"string","enum":["sectionId"],"description":"Marks this sub-extension as the section id.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.3.url","typeLabel":"enum\u003cstring>"},"valueString":{"type":"string","description":"The `id` of the request section.","example":"vitals","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.3.valueString","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.3","typeLabel":"object"},{"type":"object","description":"Start of an evidence span inside its section. Only present together with `sectionId`.","required":["url","valueInteger"],"properties":{"url":{"type":"string","enum":["sectionStart"],"description":"Marks this sub-extension as the section-relative span start.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.4.url","typeLabel":"enum\u003cstring>"},"valueInteger":{"type":"integer","description":"Start of the span, inclusive, counted in the section's `title` followed directly by its `body` (no separator).","example":6,"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.4.valueInteger","typeLabel":"integer"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.4","typeLabel":"object"},{"type":"object","description":"End of an evidence span inside its section. Only present together with `sectionId`.","required":["url","valueInteger"],"properties":{"url":{"type":"string","enum":["sectionEnd"],"description":"Marks this sub-extension as the section-relative span end.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.5.url","typeLabel":"enum\u003cstring>"},"valueInteger":{"type":"integer","description":"End of the span, exclusive, counted in the section's `title` followed directly by its `body` (no separator).","example":29,"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.5.valueInteger","typeLabel":"integer"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.5","typeLabel":"object"}],"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1.extension","typeLabel":"object[]"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.0.extension.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.0.extension.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.0.extension","typeLabel":"object[]"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"A competing code the model considered but did not select, attached to one field of a resource as a FHIR R4 extension with the fixed URL `https://docs.corti.ai/fhir/StructureDefinition/alternative`. Repeated once per field: each occurrence names the element in a `field` sub-extension, then carries one `alternative` sub-extension per competing code.","required":["url","extension"],"properties":{"url":{"type":"string","enum":["https://docs.corti.ai/fhir/StructureDefinition/alternative"],"description":"Identifies this extension as a competing-code alternative.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.1.url","typeLabel":"enum\u003cstring>"},"extension":{"type":"array","minItems":2,"description":"One `field` sub-extension, then one or more `alternative` sub-extensions.","items":{"oneOf":[{"type":"object","description":"The FHIR element that the sibling evidence or alternative blocks support, e.g. `code`, `bodySite`, or `onsetDateTime`.","required":["url","valueString"],"properties":{"url":{"type":"string","enum":["field"],"description":"Marks this sub-extension as the field name.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0.url","typeLabel":"enum\u003cstring>"},"valueString":{"type":"string","description":"Name of the supported FHIR element.","example":"code","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0.valueString","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"One competing code.","required":["url","valueCodeableConcept"],"properties":{"url":{"type":"string","enum":["alternative"],"description":"Marks this sub-extension as one competing code.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.url","typeLabel":"enum\u003cstring>"},"valueCodeableConcept":{"type":"object","description":"The competing code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.extension","typeLabel":"object[]"},"coding":{"type":"array","description":"The coded forms of the concept.","items":{"type":"object","description":"A code and the terminology system it comes from (FHIR R4 Coding, https://hl7.org/fhir/R4/datatypes.html#Coding). An `Encounter.class` the note does not state carries only `extension` (data-absent-reason) and no code.","properties":{"extension":{"type":"array","description":"Set instead of a value when FHIR R4 requires this element and the note does not state it.","items":{"type":"object","description":"The core FHIR R4 data-absent-reason extension (http://hl7.org/fhir/R4/extension-data-absent-reason.html). Marks an element that FHIR R4 requires but the note does not state; the element then carries this extension and no value.","required":["url","valueCode"],"properties":{"url":{"type":"string","enum":["http://hl7.org/fhir/StructureDefinition/data-absent-reason"],"description":"Identifies this extension as data-absent-reason.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].extension.items.[INDEX].url","typeLabel":"enum\u003cstring>"},"valueCode":{"type":"string","enum":["unknown"],"description":"Why the value is absent; always `unknown`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].extension.items.[INDEX].valueCode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].extension","typeLabel":"object[]"},"system":{"type":"string","description":"Identity of the terminology system. Common systems: `http://snomed.info/sct` (SNOMED CT), `http://hl7.org/fhir/sid/icd-10-cm` (ICD-10-CM), `http://loinc.org` (LOINC), `http://terminology.hl7.org/CodeSystem/v3-ActCode` (encounter class).","example":"http://snomed.info/sct","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].system","typeLabel":"string"},"version":{"type":"string","description":"Version of the terminology system, when relevant.","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"The code inside the system.","example":"195967001","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Human-readable text of the code.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Human-readable plain-text form of the concept.","example":"Asthma","uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept.text","typeLabel":"string"}},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1.valueCodeableConcept","typeLabel":"object"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.1.extension.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.1.extension.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.1.extension","typeLabel":"object[]"}},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6.extension","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource.oneOf.6","typeLabel":"object"}],"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].resource","typeLabel":"object"},"request":{"type":"object","description":"How a FHIR server processes the entry in the transaction.","required":["method","url"],"properties":{"method":{"type":"string","enum":["POST"],"description":"Always `POST`.","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].request.method","typeLabel":"enum\u003cstring>"},"url":{"type":"string","description":"The resource type the entry is created as.","example":"Condition","isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].request.url","typeLabel":"string"},"ifNoneExist":{"type":"string","description":"Set on the Patient and Encounter entries only: a conditional create on the business identifier (`identifier=\u003csystem>|\u003cvalue>`, URL-encoded). A server that already holds a resource with that identifier links the Bundle to it instead of creating a duplicate.","example":"identifier=http://corti.app/fhir/identifier/patient|MRN-00123","uniqueKey":"bundle.entry.items.[INDEX].request.ifNoneExist","typeLabel":"string"}},"isRequired":true,"uniqueKey":"bundle.entry.items.[INDEX].request","typeLabel":"object"}},"uniqueKey":"bundle.entry.items.[INDEX]","typeLabel":"object"},"uniqueKey":"bundle.entry","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"bundle","typeLabel":"object"},"usageInfo":{"type":"object","description":"Credits consumed for this request.","required":["creditsConsumed"],"properties":{"creditsConsumed":{"type":"number","isRequired":true,"uniqueKey":"usageInfo.creditsConsumed","typeLabel":"number"}},"isRequired":true,"uniqueKey":"usageInfo","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"success":{"title":"success","summary":"Patient, encounter, condition, allergy and family history found in the note","value":{"bundle":{"resourceType":"Bundle","type":"transaction","timestamp":"2025-01-15T09:30:47.512034+00:00","entry":[{"fullUrl":"urn:uuid:a2b39d0e-7f15-5f6e-9e2a-3d7b8c1a9f01","resource":{"resourceType":"Patient","id":"a2b39d0e-7f15-5f6e-9e2a-3d7b8c1a9f01","identifier":[{"system":"http://corti.app/fhir/identifier/patient","value":"a2b39d0e-7f15-5f6e-9e2a-3d7b8c1a9f01"}],"gender":"female","birthDate":"1974-12-25","name":[{"text":"Maria Nielsen"}]},"request":{"method":"POST","url":"Patient","ifNoneExist":"identifier=http://corti.app/fhir/identifier/patient|a2b39d0e-7f15-5f6e-9e2a-3d7b8c1a9f01"}},{"fullUrl":"urn:uuid:b7c4e1d9-2a3f-5c8b-9d5e-6f0a1b2c3d7e","resource":{"resourceType":"Encounter","id":"b7c4e1d9-2a3f-5c8b-9d5e-6f0a1b2c3d7e","identifier":[{"system":"http://corti.app/fhir/identifier/encounter","value":"b7c4e1d9-2a3f-5c8b-9d5e-6f0a1b2c3d7e"}],"status":"in-progress","class":{"system":"http://terminology.hl7.org/CodeSystem/v3-ActCode","code":"EMER","display":"emergency"},"subject":{"reference":"urn:uuid:a2b39d0e-7f15-5f6e-9e2a-3d7b8c1a9f01","type":"Patient"}},"request":{"method":"POST","url":"Encounter","ifNoneExist":"identifier=http://corti.app/fhir/identifier/encounter|b7c4e1d9-2a3f-5c8b-9d5e-6f0a1b2c3d7e"}},{"fullUrl":"urn:uuid:3f6d2b1a-8c4e-5a7d-b9f0-1e2d3c4b5a69","resource":{"resourceType":"Condition","id":"3f6d2b1a-8c4e-5a7d-b9f0-1e2d3c4b5a69","code":{"coding":[{"system":"http://snomed.info/sct","code":"195967001","display":"Asthma"}],"text":"Asthma"},"clinicalStatus":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-clinical","code":"active","display":"Active"}],"text":"Active"},"verificationStatus":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-ver-status","code":"confirmed","display":"Confirmed"}],"text":"Confirmed"},"category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-category","code":"problem-list-item","display":"Problem List Item"}],"text":"Problem List Item"}],"subject":{"reference":"urn:uuid:a2b39d0e-7f15-5f6e-9e2a-3d7b8c1a9f01","type":"Patient"},"encounter":{"reference":"urn:uuid:b7c4e1d9-2a3f-5c8b-9d5e-6f0a1b2c3d7e","type":"Encounter","identifier":{"system":"http://corti.app/fhir/identifier/encounter","value":"b7c4e1d9-2a3f-5c8b-9d5e-6f0a1b2c3d7e"}},"extension":[{"url":"https://docs.corti.ai/fhir/StructureDefinition/mention","extension":[{"url":"field","valueString":"code"},{"url":"evidence","extension":[{"url":"start","valueInteger":129},{"url":"end","valueInteger":135},{"url":"text","valueString":"asthma"}]}]},{"url":"https://docs.corti.ai/fhir/StructureDefinition/alternative","extension":[{"url":"field","valueString":"code"},{"url":"alternative","valueCodeableConcept":{"coding":[{"system":"http://snomed.info/sct","code":"233678006","display":"Childhood asthma"}],"text":"Childhood asthma"}}]}]},"request":{"method":"POST","url":"Condition"}},{"fullUrl":"urn:uuid:5e8f4d3c-0a6b-5c9f-8b2d-3a4f5e6d7c81","resource":{"resourceType":"AllergyIntolerance","id":"5e8f4d3c-0a6b-5c9f-8b2d-3a4f5e6d7c81","code":{"coding":[{"system":"http://snomed.info/sct","code":"91936005","display":"Allergy to penicillin"}],"text":"Allergy to penicillin"},"type":"allergy","category":["medication"],"patient":{"reference":"urn:uuid:a2b39d0e-7f15-5f6e-9e2a-3d7b8c1a9f01","type":"Patient"},"reaction":[{"manifestation":[{"coding":[{"system":"http://snomed.info/sct","code":"271807003","display":"Eruption of skin"}],"text":"Eruption of skin"}],"description":"rash"}],"extension":[{"url":"https://docs.corti.ai/fhir/StructureDefinition/mention","extension":[{"url":"field","valueString":"code"},{"url":"evidence","extension":[{"url":"start","valueInteger":153},{"url":"end","valueInteger":163},{"url":"text","valueString":"Penicillin"}]}]}]},"request":{"method":"POST","url":"AllergyIntolerance"}},{"fullUrl":"urn:uuid:7a0b6f5e-2c8d-5e1b-9d4f-5c6b7a8f9e03","resource":{"resourceType":"FamilyMemberHistory","id":"7a0b6f5e-2c8d-5e1b-9d4f-5c6b7a8f9e03","status":"completed","patient":{"reference":"urn:uuid:a2b39d0e-7f15-5f6e-9e2a-3d7b8c1a9f01","type":"Patient"},"relationship":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-RoleCode","code":"FTH","display":"Father"}],"text":"Father"},"condition":[{"code":{"coding":[{"system":"http://snomed.info/sct","code":"195967001","display":"Asthma"}],"text":"Asthma"}}]},"request":{"method":"POST","url":"FamilyMemberHistory"}}]},"usageInfo":{"creditsConsumed":42}}},"success_observation":{"title":"success_observation","summary":"Known patient and encounter; note sent as titled sections; only an observation found","value":{"bundle":{"resourceType":"Bundle","type":"transaction","timestamp":"2025-01-15T10:02:11.084512+00:00","entry":[{"fullUrl":"urn:uuid:d4e5f6a7-b8c9-5d0e-8f1a-2b3c4d5e6f70","resource":{"resourceType":"Patient","id":"d4e5f6a7-b8c9-5d0e-8f1a-2b3c4d5e6f70","identifier":[{"system":"http://corti.app/fhir/identifier/patient","value":"MRN-00123"}]},"request":{"method":"POST","url":"Patient","ifNoneExist":"identifier=http://corti.app/fhir/identifier/patient|MRN-00123"}},{"fullUrl":"urn:uuid:c1d2e3f4-a5b6-5789-8c9d-0e1f2a3b4c5d","resource":{"resourceType":"Encounter","id":"c1d2e3f4-a5b6-5789-8c9d-0e1f2a3b4c5d","identifier":[{"system":"http://corti.app/fhir/identifier/encounter","value":"c1d2e3f4-a5b6-5789-8c9d-0e1f2a3b4c5d"}],"status":"finished","class":{"system":"http://terminology.hl7.org/CodeSystem/v3-ActCode","code":"AMB","display":"ambulatory"},"subject":{"reference":"urn:uuid:d4e5f6a7-b8c9-5d0e-8f1a-2b3c4d5e6f70","type":"Patient"}},"request":{"method":"POST","url":"Encounter","ifNoneExist":"identifier=http://corti.app/fhir/identifier/encounter|c1d2e3f4-a5b6-5789-8c9d-0e1f2a3b4c5d"}},{"fullUrl":"urn:uuid:9c2d8e7f-4a0b-5c3d-8e6f-7a8b9c0d1e25","resource":{"resourceType":"Observation","id":"9c2d8e7f-4a0b-5c3d-8e6f-7a8b9c0d1e25","status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"vital-signs","display":"Vital Signs"}],"text":"Vital Signs"}],"code":{"coding":[{"system":"http://loinc.org","code":"8480-6","display":"Systolic blood pressure"}],"text":"Systolic blood pressure"},"valueQuantity":{"value":150,"unit":"mmHg","system":"http://unitsofmeasure.org"},"subject":{"reference":"urn:uuid:d4e5f6a7-b8c9-5d0e-8f1a-2b3c4d5e6f70","type":"Patient"},"encounter":{"reference":"urn:uuid:c1d2e3f4-a5b6-5789-8c9d-0e1f2a3b4c5d","type":"Encounter","identifier":{"system":"http://corti.app/fhir/identifier/encounter","value":"c1d2e3f4-a5b6-5789-8c9d-0e1f2a3b4c5d"}},"extension":[{"url":"https://docs.corti.ai/fhir/StructureDefinition/mention","extension":[{"url":"field","valueString":"code"},{"url":"evidence","extension":[{"url":"start","valueInteger":50},{"url":"end","valueInteger":73},{"url":"text","valueString":"Systolic blood pressure"},{"url":"sectionId","valueString":"vitals"},{"url":"sectionStart","valueInteger":6},{"url":"sectionEnd","valueInteger":29}]}]}]},"request":{"method":"POST","url":"Observation"}}]},"usageInfo":{"creditsConsumed":23}}},"no_findings":{"title":"no_findings","summary":"Note without clinical content; only the always-present Patient and Encounter are returned","value":{"bundle":{"resourceType":"Bundle","type":"transaction","timestamp":"2025-01-15T10:05:32.270918+00:00","entry":[{"fullUrl":"urn:uuid:e6f7a8b9-c0d1-5e2f-9a3b-4c5d6e7f8a92","resource":{"resourceType":"Patient","id":"e6f7a8b9-c0d1-5e2f-9a3b-4c5d6e7f8a92","identifier":[{"system":"http://corti.app/fhir/identifier/patient","value":"e6f7a8b9-c0d1-5e2f-9a3b-4c5d6e7f8a92"}]},"request":{"method":"POST","url":"Patient","ifNoneExist":"identifier=http://corti.app/fhir/identifier/patient|e6f7a8b9-c0d1-5e2f-9a3b-4c5d6e7f8a92"}},{"fullUrl":"urn:uuid:f7a8b9c0-d1e2-5f3a-8b4c-5d6e7f8a9b03","resource":{"resourceType":"Encounter","id":"f7a8b9c0-d1e2-5f3a-8b4c-5d6e7f8a9b03","identifier":[{"system":"http://corti.app/fhir/identifier/encounter","value":"f7a8b9c0-d1e2-5f3a-8b4c-5d6e7f8a9b03"}],"status":"unknown","class":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]},"subject":{"reference":"urn:uuid:e6f7a8b9-c0d1-5e2f-9a3b-4c5d6e7f8a92","type":"Patient"}},"request":{"method":"POST","url":"Encounter","ifNoneExist":"identifier=http://corti.app/fhir/identifier/encounter|f7a8b9c0-d1e2-5f3a-8b4c-5d6e7f8a9b03"}}]},"usageInfo":{"creditsConsumed":5}}}},"exampleType":"examples"}},"exampleType":"examples"},"0d759616-46b3-4d8d-b6bc-9ade6fceca0b":{"description":"RFC9457. Invalid request: a blank note (or a note whose section bodies are all blank), malformed JSON, an unknown `contextType`, an invalid enum value (for example `patient.gender` or `encounter.class`), or an invalid `resourceGroups` / `filters` entry (unknown resource group, category, field or coding system, a group listed twice, a filter that names no search the service performs). `detail` names the offending value.","content":{"application/json":{"schema":{"type":"object","required":["requestid","status","type","detail"],"properties":{"requestid":{"type":"string","isRequired":true,"uniqueKey":"requestid","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"validationErrors":{"type":"array","items":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"validationErrors.items.[INDEX].additionalProperties","typeLabel":"string"},"uniqueKey":"validationErrors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"validationErrors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"empty_context":{"title":"empty_context","summary":"The note is blank, or every section body is blank","value":{"requestid":"9f3e2d04-6f8b-4a5f-9d1c-2e7b8a6c1d3f","status":400,"type":"about:blank","detail":"Request context is empty. Provide a non-empty note or at least one non-empty section."}},"invalid_category":{"title":"invalid_category","summary":"A category that does not belong to the selected resource group","value":{"requestid":"3c9a7e21-5b4d-4f8e-a1c6-7d2e9b0f4a58","status":400,"type":"about:blank","detail":"Category 'vital-signs' is not a valid Condition category. Valid values: ['encounter-diagnosis', 'problem-list-item']."}},"duplicate_resource_group":{"title":"duplicate_resource_group","summary":"A resource group listed twice","value":{"requestid":"6b1f0d83-2e7a-4c95-b4d8-0a3f6e1c9b72","status":400,"type":"about:blank","detail":"Resource group 'Observation' is listed twice in 'resourceGroups'."}}},"exampleType":"examples"}},"exampleType":"examples"},"710f833c-ec9a-4625-aa8e-c032ff5a4c8c":{"description":"RFC9457","content":{"application/json":{"schema":{"type":"object","required":["requestid","status","type","detail"],"properties":{"requestid":{"type":"string","isRequired":true,"uniqueKey":"requestid","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"validationErrors":{"type":"array","items":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"validationErrors.items.[INDEX].additionalProperties","typeLabel":"string"},"uniqueKey":"validationErrors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"validationErrors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"requestid":"\u003cstring>","status":123,"type":"\u003cstring>","detail":"\u003cstring>","validationErrors":[{}]}}},"exampleType":"generated"}},"exampleType":"generated"},"8099cee9-105a-46df-8dec-5853d0c0c903":{"description":"RFC9457. The clinical note is longer than 256,000 characters, section titles included.","content":{"application/json":{"schema":{"type":"object","required":["requestid","status","type","detail"],"properties":{"requestid":{"type":"string","isRequired":true,"uniqueKey":"requestid","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"validationErrors":{"type":"array","items":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"validationErrors.items.[INDEX].additionalProperties","typeLabel":"string"},"uniqueKey":"validationErrors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"validationErrors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"note_too_long":{"title":"note_too_long","summary":"The clinical note exceeds the maximum allowed length","value":{"requestid":"8f14e45f-ceea-167a-5a36-dedd4bea2543","status":413,"type":"about:blank","detail":"Clinical note is 300000 characters, which exceeds the maximum of 256000."}}},"exampleType":"examples"}},"exampleType":"examples"},"415a8ddc-a26a-4b1c-9eee-283d3470071e":{"description":"RFC9457. The request body does not match the schema, for example a missing `context`, an empty `resourceGroups` or `categories` list, a `patient.birthDate` that is not a FHIR R4 date, or an `encounter.period` bound that is not a FHIR R4 dateTime. `detail` lists each failing field.","content":{"application/json":{"schema":{"type":"object","required":["requestid","status","type","detail"],"properties":{"requestid":{"type":"string","isRequired":true,"uniqueKey":"requestid","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"validationErrors":{"type":"array","items":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"validationErrors.items.[INDEX].additionalProperties","typeLabel":"string"},"uniqueKey":"validationErrors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"validationErrors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"invalid_birth_date":{"title":"invalid_birth_date","summary":"A birth date with a free-text format","value":{"requestid":"2d7e4b19-8a3c-4f60-b5e2-9c1a0d6f3e84","status":422,"type":"about:blank","detail":"Invalid request input. patient.birthDate: Value error, must be an ISO 8601 date (YYYY, YYYY-MM or YYYY-MM-DD; no time of day, no relative or free-text dates)"}}},"exampleType":"examples"}},"exampleType":"examples"},"9cb49652-02ba-43e5-8768-2aabf8e75b3d":{"description":"RFC9457. Any other failure, including an error or timeout of the prediction service. Not billed.","content":{"application/json":{"schema":{"type":"object","required":["requestid","status","type","detail"],"properties":{"requestid":{"type":"string","isRequired":true,"uniqueKey":"requestid","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"validationErrors":{"type":"array","items":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"validationErrors.items.[INDEX].additionalProperties","typeLabel":"string"},"uniqueKey":"validationErrors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"validationErrors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"requestid":"\u003cstring>","status":123,"type":"\u003cstring>","detail":"\u003cstring>","validationErrors":[{}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"7329c2ad-c32d-4509-a8f1-d125b8577922":{"AuthorizationHeader":{"type":"http","description":"Input your token","scheme":"bearer","scopes":["bearer"],"schemeName":"AuthorizationHeader"}}},"servers":{"9acb6e07-a4b3-4514-bebb-0c8f2cba50c3":{"url":"https://api.{environment}.corti.app/v2/","variables":{"environment":{"default":"eu","enum":["us","eu"]}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","description":"Input your token","scheme":"bearer","scopes":["bearer"],"schemeName":"AuthorizationHeader"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Input your token","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"AuthorizationHeader","name":"Authorization"}],"title":"AuthorizationHeader"}]},"originalFileLocation":"api-reference/auto-generated-openapi.yml"},"subdomain":"corti","siteName":"Corti API Documentation","title":"Predict FHIR Resources - Corti API Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-26T11:04:57.671Z","originalFileLocation":"api-reference/fhir/predict-fhir-resources.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Predict FHIR R4 resources from clinical text. This is a stateless tool: it reads the clinical note from the request context, extracts the clinical facts found in it, and returns them as FHIR R4 resources collected in a FHIR R4 transaction Bundle (https://hl7.org/fhir/R4/bundle.html). The Bundle can be POSTed as-is to the base URL of a FHIR R4 server, which creates every resource and resolves the references between them. You do not need to know FHIR to use this endpoint. FHIR is the healthcare interoperability standard; each returned Bundle.entry[].resource is a structured object for one clinical fact, identified by its resourceType, for example Condition (https://hl7.org/fhir/R4/condition.html) or AllergyIntolerance (https://hl7.org/fhir/R4/allergyintolerance.html). See the response examples and the schema descriptions of FhirBundleEntry for the resource types produced today. How to read the response: - A Patient and an Encounter are always returned, first and second; they carry whatever the note and the request state about them. Every other resource is returned only for facts present in the note that satisfy the requested resource-group selection, category selection and code filters. A missing resourceType means no matching resources were returned, not necessarily that the note contained no facts of that type. A Bundle holding only Patient and Encounter is a successful response, not an error. - The same type may appear more than once (for example, once per condition found). Identify resources by their id, not by entry position. - Every entry has a fullUrl of the form urn:uuid: (https://www.rfc-editor.org/rfc/rfc4122), and every reference inside the Bundle points at one of them: clinical resources point at the Patient (subject or patient), and Condition, Procedure and Observation also point at the Encounter (encounter). - Every entry carries a transaction request (POST to its resource type). Patient and Encounter are conditional creates on their business identifier (ifNoneExist), so a FHIR server that already holds that patient or encounter links the new resources to it instead of creating a duplicate. - FHIR R4 requires some elements even when the note does not state them (Encounter.class, FamilyMemberHistory.relationship, AllergyIntolerance.reaction.manifestation, Procedure.performer.actor). Such an element then carries only the FHIR data-absent-reason extension (FhirDataAbsentReasonExtension) instead of a guessed value. An unstated Encounter.status is unknown. - Where the model grounds a resource field in the note, the resource carries an evidence extension (…/mention, see FhirMentionExtension) with the character offsets of the supporting text. Competing codes ride in alternative extensions (…/alternative, see FhirAlternativeExtension). Worked examples are attached to this endpoint. - Offsets count characters in the request note. For a contextType: other context the note is the data string. For a contextType: clinicalNote context the note is the sections written one after another as \u0026quot;:\\n\\n\\n\u0026quot;; spans inside one section also carry sectionId, sectionStart and sectionEnd, the position within that section\u0026#x27;s title followed by its body. start is inclusive, end is exclusive. - New resource types may be added in the future. Ignore entries whose resourceType you do not recognize. Known facts about the patient (patient) or the encounter (encounter) can be supplied in the request; every supplied field overrides the value the model extracts from the note. The output can be narrowed in two independent ways. resourceGroups selects which resource types (and categories within them) are produced; Patient and Encounter are always produced. filters restricts which codes may be returned, per coding system and optionally per resource group, category and coded field.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Corti API Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/corti/gI_ok5T7zaR8y4z1/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/corti/gI_ok5T7zaR8y4z1/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/corti/gI_ok5T7zaR8y4z1/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/corti/gI_ok5T7zaR8y4z1/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/corti/gI_ok5T7zaR8y4z1/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/corti/gI_ok5T7zaR8y4z1/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/corti/gI_ok5T7zaR8y4z1/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/corti/gI_ok5T7zaR8y4z1/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/corti/gI_ok5T7zaR8y4z1/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Predict FHIR Resources - Corti API Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Predict FHIR R4 resources from clinical text. This is a stateless tool: it reads the clinical note from the request context, extracts the clinical facts found in it, and returns them as FHIR R4 resources collected in a FHIR R4 transaction Bundle (https://hl7.org/fhir/R4/bundle.html). The Bundle can be POSTed as-is to the base URL of a FHIR R4 server, which creates every resource and resolves the references between them. You do not need to know FHIR to use this endpoint. FHIR is the healthcare interoperability standard; each returned Bundle.entry[].resource is a structured object for one clinical fact, identified by its resourceType, for example Condition (https://hl7.org/fhir/R4/condition.html) or AllergyIntolerance (https://hl7.org/fhir/R4/allergyintolerance.html). See the response examples and the schema descriptions of FhirBundleEntry for the resource types produced today. How to read the response: - A Patient and an Encounter are always returned, first and second; they carry whatever the note and the request state about them. Every other resource is returned only for facts present in the note that satisfy the requested resource-group selection, category selection and code filters. A missing resourceType means no matching resources were returned, not necessarily that the note contained no facts of that type. A Bundle holding only Patient and Encounter is a successful response, not an error. - The same type may appear more than once (for example, once per condition found). Identify resources by their id, not by entry position. - Every entry has a fullUrl of the form urn:uuid: (https://www.rfc-editor.org/rfc/rfc4122), and every reference inside the Bundle points at one of them: clinical resources point at the Patient (subject or patient), and Condition, Procedure and Observation also point at the Encounter (encounter). - Every entry carries a transaction request (POST to its resource type). Patient and Encounter are conditional creates on their business identifier (ifNoneExist), so a FHIR server that already holds that patient or encounter links the new resources to it instead of creating a duplicate. - FHIR R4 requires some elements even when the note does not state them (Encounter.class, FamilyMemberHistory.relationship, AllergyIntolerance.reaction.manifestation, Procedure.performer.actor). Such an element then carries only the FHIR data-absent-reason extension (FhirDataAbsentReasonExtension) instead of a guessed value. An unstated Encounter.status is unknown. - Where the model grounds a resource field in the note, the resource carries an evidence extension (…/mention, see FhirMentionExtension) with the character offsets of the supporting text. Competing codes ride in alternative extensions (…/alternative, see FhirAlternativeExtension). Worked examples are attached to this endpoint. - Offsets count characters in the request note. For a contextType: other context the note is the data string. For a contextType: clinicalNote context the note is the sections written one after another as \u0026quot;:\\n\\n\\n\u0026quot;; spans inside one section also carry sectionId, sectionStart and sectionEnd, the position within that section\u0026#x27;s title followed by its body. start is inclusive, end is exclusive. - New resource types may be added in the future. Ignore entries whose resourceType you do not recognize. Known facts about the patient (patient) or the encounter (encounter) can be supplied in the request; every supplied field overrides the value the model extracts from the note. The output can be narrowed in two independent ways. resourceGroups selects which resource types (and categories within them) are produced; Patient and Encounter are always produced. filters restricts which codes may be returned, per coding system and optionally per resource group, category and coded field.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Corti API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.corti.ai/api-reference/fhir/predict-fhir-resources\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://corti.mintlify.site/_mintlify/api/og/v2?division=FHIR\u0026amp;title=Predict+FHIR+Resources\u0026amp;description=Predict+FHIR+R4+resources+from+clinical+text.+This+is+a+stateless+tool%3A+it+reads+the+clinical+note+from+the+request+%60context%60%2C+extracts+the+clinical+facts+found\u0026amp;theme=f2ff4eac94d47d8fe457bb02\u0026amp;signature=4c9b05e45cd3799649d74444c6f7d32f0e8e32f9de616ac64322426350d810a7\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Predict FHIR Resources - Corti API Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Predict FHIR R4 resources from clinical text. This is a stateless tool: it reads the clinical note from the request context, extracts the clinical facts found in it, and returns them as FHIR R4 resources collected in a FHIR R4 transaction Bundle (https://hl7.org/fhir/R4/bundle.html). The Bundle can be POSTed as-is to the base URL of a FHIR R4 server, which creates every resource and resolves the references between them. You do not need to know FHIR to use this endpoint. FHIR is the healthcare interoperability standard; each returned Bundle.entry[].resource is a structured object for one clinical fact, identified by its resourceType, for example Condition (https://hl7.org/fhir/R4/condition.html) or AllergyIntolerance (https://hl7.org/fhir/R4/allergyintolerance.html). See the response examples and the schema descriptions of FhirBundleEntry for the resource types produced today. How to read the response: - A Patient and an Encounter are always returned, first and second; they carry whatever the note and the request state about them. Every other resource is returned only for facts present in the note that satisfy the requested resource-group selection, category selection and code filters. A missing resourceType means no matching resources were returned, not necessarily that the note contained no facts of that type. A Bundle holding only Patient and Encounter is a successful response, not an error. - The same type may appear more than once (for example, once per condition found). Identify resources by their id, not by entry position. - Every entry has a fullUrl of the form urn:uuid: (https://www.rfc-editor.org/rfc/rfc4122), and every reference inside the Bundle points at one of them: clinical resources point at the Patient (subject or patient), and Condition, Procedure and Observation also point at the Encounter (encounter). - Every entry carries a transaction request (POST to its resource type). Patient and Encounter are conditional creates on their business identifier (ifNoneExist), so a FHIR server that already holds that patient or encounter links the new resources to it instead of creating a duplicate. - FHIR R4 requires some elements even when the note does not state them (Encounter.class, FamilyMemberHistory.relationship, AllergyIntolerance.reaction.manifestation, Procedure.performer.actor). Such an element then carries only the FHIR data-absent-reason extension (FhirDataAbsentReasonExtension) instead of a guessed value. An unstated Encounter.status is unknown. - Where the model grounds a resource field in the note, the resource carries an evidence extension (…/mention, see FhirMentionExtension) with the character offsets of the supporting text. Competing codes ride in alternative extensions (…/alternative, see FhirAlternativeExtension). Worked examples are attached to this endpoint. - Offsets count characters in the request note. For a contextType: other context the note is the data string. For a contextType: clinicalNote context the note is the sections written one after another as \u0026quot;:\\n\\n\\n\u0026quot;; spans inside one section also carry sectionId, sectionStart and sectionEnd, the position within that section\u0026#x27;s title followed by its body. start is inclusive, end is exclusive. - New resource types may be added in the future. Ignore entries whose resourceType you do not recognize. Known facts about the patient (patient) or the encounter (encounter) can be supplied in the request; every supplied field overrides the value the model extracts from the note. The output can be narrowed in two independent ways. resourceGroups selects which resource types (and categories within them) are produced; Patient and Encounter are always produced. filters restricts which codes may be returned, per coding system and optionally per resource group, category and coded field.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://corti.mintlify.site/_mintlify/api/og/v2?division=FHIR\u0026amp;title=Predict+FHIR+Resources\u0026amp;description=Predict+FHIR+R4+resources+from+clinical+text.+This+is+a+stateless+tool%3A+it+reads+the+clinical+note+from+the+request+%60context%60%2C+extracts+the+clinical+facts+found\u0026amp;theme=f2ff4eac94d47d8fe457bb02\u0026amp;signature=4c9b05e45cd3799649d74444c6f7d32f0e8e32f9de616ac64322426350d810a7\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/corti/gI_ok5T7zaR8y4z1/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Corti API Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3F3F46\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.corti.ai/api-reference/fhir/predict-fhir-resources\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/fhir/predict-fhir-resources.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.corti.ai/#organization\",\"name\":\"Corti API Documentation\",\"url\":\"https://docs.corti.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/corti/en_RPjQCFb1qJpbU/logo/corti_light.svg?fit=max\u0026auto=format\u0026n=en_RPjQCFb1qJpbU\u0026q=85\u0026s=effbca890e531e034f6b66ce8e15aa6c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.corti.ai#website\",\"name\":\"Corti API Documentation\",\"url\":\"https://docs.corti.ai\",\"publisher\":{\"@id\":\"https://docs.corti.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.corti.ai/api-reference/fhir/predict-fhir-resources#webpage\",\"url\":\"https://docs.corti.ai/api-reference/fhir/predict-fhir-resources\",\"name\":\"Predict FHIR Resources\",\"description\":\"Predict FHIR R4 resources from clinical text. This is a stateless tool: it reads the clinical note from the request context, extracts the clinical facts found in it, and returns them as FHIR R4 resources collected in a FHIR R4 transaction Bundle (https://hl7.org/fhir/R4/bundle.html). The Bundle can be POSTed as-is to the base URL of a FHIR R4 server, which creates every resource and resolves the references between them. You do not need to know FHIR to use this endpoint. FHIR is the healthcare interoperability standard; each returned Bundle.entry[].resource is a structured object for one clinical fact, identified by its resourceType, for example Condition (https://hl7.org/fhir/R4/condition.html) or AllergyIntolerance (https://hl7.org/fhir/R4/allergyintolerance.html). See the response examples and the schema descriptions of FhirBundleEntry for the resource types produced today. How to read the response: - A Patient and an Encounter are always returned, first and second; they carry whatever the note and the request state about them. Every other resource is returned only for facts present in the note that satisfy the requested resource-group selection, category selection and code filters. A missing resourceType means no matching resources were returned, not necessarily that the note contained no facts of that type. A Bundle holding only Patient and Encounter is a successful response, not an error. - The same type may appear more than once (for example, once per condition found). Identify resources by their id, not by entry position. - Every entry has a fullUrl of the form urn:uuid: (https://www.rfc-editor.org/rfc/rfc4122), and every reference inside the Bundle points at one of them: clinical resources point at the Patient (subject or patient), and Condition, Procedure and Observation also point at the Encounter (encounter). - Every entry carries a transaction request (POST to its resource type). Patient and Encounter are conditional creates on their business identifier (ifNoneExist), so a FHIR server that already holds that patient or encounter links the new resources to it instead of creating a duplicate. - FHIR R4 requires some elements even when the note does not state them (Encounter.class, FamilyMemberHistory.relationship, AllergyIntolerance.reaction.manifestation, Procedure.performer.actor). Such an element then carries only the FHIR data-absent-reason extension (FhirDataAbsentReasonExtension) instead of a guessed value. An unstated Encounter.status is unknown. - Where the model grounds a resource field in the note, the resource carries an evidence extension (…/mention, see FhirMentionExtension) with the character offsets of the supporting text. Competing codes ride in alternative extensions (…/alternative, see FhirAlternativeExtension). Worked examples are attached to this endpoint. - Offsets count characters in the request note. For a contextType: other context the note is the data string. For a contextType: clinicalNote context the note is the sections written one after another as \\\":\\\\n\\\\n\\\\n\\\"; spans inside one section also carry sectionId, sectionStart and sectionEnd, the position within that section's title followed by its body. start is inclusive, end is exclusive. - New resource types may be added in the future. Ignore entries whose resourceType you do not recognize. Known facts about the patient (patient) or the encounter (encounter) can be supplied in the request; every supplied field overrides the value the model extracts from the note. The output can be narrowed in two independent ways. resourceGroups selects which resource types (and categories within them) are produced; Patient and Encounter are always produced. filters restricts which codes may be returned, per coding system and optionally per resource group, category and coded field.\",\"dateModified\":\"2026-11-26T11:04:57.671Z\",\"isPartOf\":{\"@id\":\"https://docs.corti.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.corti.ai/api-reference/fhir/predict-fhir-resources#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.corti.ai/api-reference/fhir/predict-fhir-resources#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"REST APIs\",\"item\":\"https://docs.corti.ai/api-reference/interactions/list-all-interactions\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Predict FHIR Resources\",\"item\":\"https://docs.corti.ai/api-reference/fhir/predict-fhir-resources\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.corti.ai/api-reference/fhir/predict-fhir-resources#apireference\",\"headline\":\"Predict FHIR Resources\",\"name\":\"Predict FHIR Resources\",\"description\":\"Predict FHIR R4 resources from clinical text. This is a stateless tool: it reads the clinical note from the request context, extracts the clinical facts found in it, and returns them as FHIR R4 resources collected in a FHIR R4 transaction Bundle (https://hl7.org/fhir/R4/bundle.html). The Bundle can be POSTed as-is to the base URL of a FHIR R4 server, which creates every resource and resolves the references between them. You do not need to know FHIR to use this endpoint. FHIR is the healthcare interoperability standard; each returned Bundle.entry[].resource is a structured object for one clinical fact, identified by its resourceType, for example Condition (https://hl7.org/fhir/R4/condition.html) or AllergyIntolerance (https://hl7.org/fhir/R4/allergyintolerance.html). See the response examples and the schema descriptions of FhirBundleEntry for the resource types produced today. How to read the response: - A Patient and an Encounter are always returned, first and second; they carry whatever the note and the request state about them. Every other resource is returned only for facts present in the note that satisfy the requested resource-group selection, category selection and code filters. A missing resourceType means no matching resources were returned, not necessarily that the note contained no facts of that type. A Bundle holding only Patient and Encounter is a successful response, not an error. - The same type may appear more than once (for example, once per condition found). Identify resources by their id, not by entry position. - Every entry has a fullUrl of the form urn:uuid: (https://www.rfc-editor.org/rfc/rfc4122), and every reference inside the Bundle points at one of them: clinical resources point at the Patient (subject or patient), and Condition, Procedure and Observation also point at the Encounter (encounter). - Every entry carries a transaction request (POST to its resource type). Patient and Encounter are conditional creates on their business identifier (ifNoneExist), so a FHIR server that already holds that patient or encounter links the new resources to it instead of creating a duplicate. - FHIR R4 requires some elements even when the note does not state them (Encounter.class, FamilyMemberHistory.relationship, AllergyIntolerance.reaction.manifestation, Procedure.performer.actor). Such an element then carries only the FHIR data-absent-reason extension (FhirDataAbsentReasonExtension) instead of a guessed value. An unstated Encounter.status is unknown. - Where the model grounds a resource field in the note, the resource carries an evidence extension (…/mention, see FhirMentionExtension) with the character offsets of the supporting text. Competing codes ride in alternative extensions (…/alternative, see FhirAlternativeExtension). Worked examples are attached to this endpoint. - Offsets count characters in the request note. For a contextType: other context the note is the data string. For a contextType: clinicalNote context the note is the sections written one after another as \\\":\\\\n\\\\n\\\\n\\\"; spans inside one section also carry sectionId, sectionStart and sectionEnd, the position within that section's title followed by its body. start is inclusive, end is exclusive. - New resource types may be added in the future. Ignore entries whose resourceType you do not recognize. Known facts about the patient (patient) or the encounter (encounter) can be supplied in the request; every supplied field overrides the value the model extracts from the note. The output can be narrowed in two independent ways. resourceGroups selects which resource types (and categories within them) are produced; Patient and Encounter are always produced. filters restricts which codes may be returned, per coding system and optionally per resource group, category and coded field.\",\"url\":\"https://docs.corti.ai/api-reference/fhir/predict-fhir-resources\",\"mainEntityOfPage\":{\"@id\":\"https://docs.corti.ai/api-reference/fhir/predict-fhir-resources#webpage\"},\"dateModified\":\"2026-11-26T11:04:57.671Z\",\"publisher\":{\"@id\":\"https://docs.corti.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.corti.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Corti API Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Corti API Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/fhir/predict-fhir-resources.md","siteName":"Corti API Documentation","nav":{"global":null,"tabs":[{"tab":"Home","icon":"house","pages":[{"title":"Home","href":"/get_started/welcome"}]},{"tab":"Corti Models","icon":"microchip","pages":[{"title":"Corti Models","href":"/models/welcome"}]},{"tab":"Agentic Framework","icon":"layers","pages":[{"title":"Agentic Framework","href":"/agentic/overview"}]},{"tab":"Speech to Text","icon":"audio-lines","pages":[{"title":"Speech to Text","href":"/stt/overview"}]},{"tab":"Healthcare","icon":"heart-pulse","pages":[{"title":"Healthcare","href":"/healthcare"}]},{"tab":"API Reference","icon":"square-code","pages":[{"title":"Welcome to the Corti API Reference","sidebarTitle":"Welcome","mode":"wide","href":"/api-reference/welcome"},{"group":"Corti Models APIs","icon":"microchip","pages":[{"group":"Models","pages":[{"title":"List available models","deprecated":null,"version":null,"openapi":"/api-reference/corti-models/corti-models-openapi.yml get /v1/models","href":"/api-reference/corti-models/models/list-available-models"}]},{"group":"Chat","pages":[{"title":"Create chat completion","deprecated":null,"version":null,"openapi":"/api-reference/corti-models/corti-models-openapi.yml post /v1/chat/completions","href":"/api-reference/corti-models/chat/create-chat-completion"}]},{"group":"Completions","pages":[{"title":"Create completion","deprecated":null,"version":null,"openapi":"/api-reference/corti-models/corti-models-openapi.yml post /v1/completions","href":"/api-reference/corti-models/completions/create-completion"}]},{"group":"Responses","pages":[{"title":"Create response","deprecated":null,"version":null,"openapi":"/api-reference/corti-models/corti-models-openapi.yml post /v1/responses","href":"/api-reference/corti-models/responses/create-response"}]},{"group":"Anthropic","pages":[{"title":"Create message (Anthropic)","deprecated":null,"version":null,"openapi":"/api-reference/corti-models/corti-models-openapi.yml post /anthropic/v1/messages","href":"/api-reference/corti-models/anthropic/create-message-anthropic"}]},{"group":"Embeddings","pages":[{"title":"Create embeddings","deprecated":null,"version":null,"openapi":"/api-reference/corti-models/corti-models-openapi.yml post /v1/embeddings","href":"/api-reference/corti-models/embeddings/create-embeddings"}]}]},{"group":"Agentic APIs","icon":"layers","pages":[{"group":"Agents","pages":[{"title":"List agents","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi-v2.yml get /agentic/agents","href":"/agentic-v2/agents/list-agents"},{"title":"Create an agent","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi-v2.yml post /agentic/agents","href":"/agentic-v2/agents/create-an-agent"},{"title":"Get an agent","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi-v2.yml get /agentic/agents/{agentId}","href":"/agentic-v2/agents/get-an-agent"},{"title":"Delete an agent","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi-v2.yml delete /agentic/agents/{agentId}","href":"/agentic-v2/agents/delete-an-agent"},{"title":"Update an agent (partial)","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi-v2.yml patch /agentic/agents/{agentId}","href":"/agentic-v2/agents/update-an-agent-partial"}]},{"group":"Agent Card","pages":[{"title":"Get the A2A agent card","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi-v2.yml get /agentic/agents/{agentId}/.well-known/agent-card.json","href":"/agentic-v2/agent-card/get-the-a2a-agent-card"}]},{"group":"A2A","pages":[{"title":"A2A JSON-RPC binding","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi-v2.yml post /agentic/agents/{agentId}/a2a","href":"/agentic-v2/a2a/a2a-json-rpc-binding"},{"title":"Send a message (A2A REST)","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi-v2.yml post /agentic/agents/{agentId}/a2a/message:send","href":"/agentic-v2/a2a/send-a-message-a2a-rest"},{"title":"Stream a message (A2A REST)","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi-v2.yml post /agentic/agents/{agentId}/a2a/message:stream","href":"/agentic-v2/a2a/stream-a-message-a2a-rest"},{"title":"List tasks (A2A REST)","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi-v2.yml get /agentic/agents/{agentId}/a2a/tasks","href":"/agentic-v2/a2a/list-tasks-a2a-rest"},{"title":"Get a task (A2A REST)","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi-v2.yml get /agentic/agents/{agentId}/a2a/tasks/{taskId}","href":"/agentic-v2/a2a/get-a-task-a2a-rest"},{"title":"Cancel a task (A2A REST)","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi-v2.yml post /agentic/agents/{agentId}/a2a/tasks/{taskId}:cancel","href":"/agentic-v2/a2a/cancel-a-task-a2a-rest"},{"title":"Subscribe to task events (A2A REST)","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi-v2.yml post /agentic/agents/{agentId}/a2a/tasks/{taskId}:subscribe","href":"/agentic-v2/a2a/subscribe-to-task-events-a2a-rest"}]},{"group":"Usage","pages":[{"title":"Get an agent's usage","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi-v2.yml get /agentic/agents/{agentId}/usage","href":"/agentic-v2/usage/get-an-agents-usage"}]},{"group":"Connectors","pages":[{"title":"List an agent's connectors","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi-v2.yml get /agentic/agents/{agentId}/connectors","href":"/agentic-v2/connectors/list-an-agents-connectors"},{"title":"Attach a connector","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi-v2.yml post /agentic/agents/{agentId}/connectors","href":"/agentic-v2/connectors/attach-a-connector"},{"title":"Get an agent-scoped connector","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi-v2.yml get /agentic/agents/{agentId}/connectors/{agentConnectorId}","href":"/agentic-v2/connectors/get-an-agent-scoped-connector"},{"title":"Remove a connector","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi-v2.yml delete /agentic/agents/{agentId}/connectors/{agentConnectorId}","href":"/agentic-v2/connectors/remove-a-connector"},{"title":"Update an agent-scoped connector (partial)","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi-v2.yml patch /agentic/agents/{agentId}/connectors/{agentConnectorId}","href":"/agentic-v2/connectors/update-an-agent-scoped-connector-partial"}]},{"group":"Contexts","pages":[{"title":"List contexts","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi-v2.yml get /agentic/contexts","href":"/agentic-v2/contexts/list-contexts"},{"title":"Get a context","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi-v2.yml get /agentic/contexts/{contextId}","href":"/agentic-v2/contexts/get-a-context"},{"title":"Delete or expire a context","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi-v2.yml delete /agentic/contexts/{contextId}","href":"/agentic-v2/contexts/delete-or-expire-a-context"},{"title":"Export the observability trace for a context","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi-v2.yml get /agentic/contexts/{contextId}/trace","href":"/agentic-v2/contexts/export-the-observability-trace-for-a-context"},{"title":"List tasks within a context","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi-v2.yml get /agentic/contexts/{contextId}/tasks","href":"/agentic-v2/contexts/list-tasks-within-a-context"},{"title":"Get a task within a context","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi-v2.yml get /agentic/contexts/{contextId}/tasks/{taskId}","href":"/agentic-v2/contexts/get-a-task-within-a-context"}]},{"group":"Artifacts","pages":[{"title":"Get an artifact","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi-v2.yml get /agentic/contexts/{contextId}/tasks/{taskId}/artifacts/{artifactId}","href":"/agentic-v2/artifacts/get-an-artifact"}]},{"group":"Registry","pages":[{"title":"List available registry connectors","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi-v2.yml get /agentic/registry/connectors","href":"/agentic-v2/registry/list-available-registry-connectors"},{"title":"Get registry connector details and configuration schema","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi-v2.yml get /agentic/registry/connectors/{connectorId}","href":"/agentic-v2/registry/get-registry-connector-details-and-configuration-schema"}]},{"group":"Feedback","pages":[{"title":"List feedback for a task","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi-v2.yml get /agentic/contexts/{contextId}/tasks/{taskId}/feedback","href":"/agentic-v2/feedback/list-feedback-for-a-task"},{"title":"Submit feedback for a task","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi-v2.yml post /agentic/contexts/{contextId}/tasks/{taskId}/feedback","href":"/agentic-v2/feedback/submit-feedback-for-a-task"},{"title":"Delete a feedback resource","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi-v2.yml delete /agentic/contexts/{contextId}/tasks/{taskId}/feedback/{feedbackId}","href":"/agentic-v2/feedback/delete-a-feedback-resource"}]}]},{"group":"Web Socket APIs","icon":"handshake","pages":[{"group":"Transcribe","pages":[{"title":"Real-time stateless dictation","sidebarTitle":"Stateless dictation","tag":"WSS","href":"/api-reference/transcribe"}]},{"group":"Streams","pages":[{"title":"Real-time conversational transcript generation and fact extraction (FactsR™)","sidebarTitle":"Conversational fact extraction","tag":"WSS","href":"/api-reference/streams"}]}]},{"group":"REST APIs","icon":"arrow-up-down","pages":[{"group":"Interactions","pages":[{"title":"List All Interactions","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml get /interactions/","href":"/api-reference/interactions/list-all-interactions"},{"title":"Create Interaction","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml post /interactions/","href":"/api-reference/interactions/create-interaction"},{"title":"Get Existing Interaction","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml get /interactions/{id}","href":"/api-reference/interactions/get-existing-interaction"},{"title":"Delete Interaction","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml delete /interactions/{id}","href":"/api-reference/interactions/delete-interaction"},{"title":"Update Interaction","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml patch /interactions/{id}","href":"/api-reference/interactions/update-interaction"},{"title":"Update Interaction Retention Policy","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml put /interactions/{id}/retention-policy","href":"/api-reference/interactions/update-interaction-retention-policy"}]},{"group":"Recordings","pages":[{"title":"List Recordings","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml get /interactions/{id}/recordings/","href":"/api-reference/recordings/list-recordings"},{"title":"Upload Recording","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml post /interactions/{id}/recordings/","href":"/api-reference/recordings/upload-recording"},{"title":"Get Recording","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml get /interactions/{id}/recordings/{recordingId}","href":"/api-reference/recordings/get-recording"},{"title":"Delete Recording","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml delete /interactions/{id}/recordings/{recordingId}","href":"/api-reference/recordings/delete-recording"}]},{"group":"Transcripts","pages":[{"title":"List Transcripts","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml get /interactions/{id}/transcripts/","href":"/api-reference/transcripts/list-transcripts"},{"title":"Create Transcript","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml post /interactions/{id}/transcripts/","href":"/api-reference/transcripts/create-transcript"},{"title":"Get Transcript","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml get /interactions/{id}/transcripts/{transcriptId}","href":"/api-reference/transcripts/get-transcript"},{"title":"Delete Transcript","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml delete /interactions/{id}/transcripts/{transcriptId}","href":"/api-reference/transcripts/delete-transcript"},{"title":"Get Transcript Status","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml get /interactions/{id}/transcripts/{transcriptId}/status","href":"/api-reference/transcripts/get-transcript-status"}]},{"group":"Facts","pages":[{"title":"List Fact Groups","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml get /factgroups/","href":"/api-reference/facts/list-fact-groups"},{"title":"List Facts","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml get /interactions/{id}/facts/","href":"/api-reference/facts/list-facts"},{"title":"Add Facts","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml post /interactions/{id}/facts/","href":"/api-reference/facts/add-facts"},{"title":"Update Facts","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml patch /interactions/{id}/facts/","href":"/api-reference/facts/update-facts"},{"title":"Update Fact","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml patch /interactions/{id}/facts/{factId}","href":"/api-reference/facts/update-fact"},{"title":"Extract Facts","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml post /tools/extract-facts","href":"/api-reference/facts/extract-facts"}]},{"group":"Documents (Classic)","pages":[{"title":"List Documents","deprecated":true,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml get /interactions/{id}/documents/","href":"/api-reference/documents-classic/list-documents"},{"title":"Generate Document","deprecated":true,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml post /interactions/{id}/documents/","href":"/api-reference/documents-classic/generate-document"},{"title":"Get Document","deprecated":true,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml get /interactions/{id}/documents/{documentId}","href":"/api-reference/documents-classic/get-document"},{"title":"Delete Document","deprecated":true,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml delete /interactions/{id}/documents/{documentId}","href":"/api-reference/documents-classic/delete-document"},{"title":"Update Document","deprecated":true,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml patch /interactions/{id}/documents/{documentId}","href":"/api-reference/documents-classic/update-document"}]},{"group":"Templates (Classic)","pages":[{"title":"List Template Sections","deprecated":true,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml get /templateSections/","href":"/api-reference/templates-classic/list-template-sections"},{"title":"List Templates","deprecated":true,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml get /templates/","href":"/api-reference/templates-classic/list-templates"},{"title":"Get Template","deprecated":true,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml get /templates/{key}","href":"/api-reference/templates-classic/get-template"}]},{"group":"Codes (Legacy)","pages":[{"title":"List Codes","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml get /interactions/{id}/codes/","href":"/api-reference/codes-legacy/list-codes"},{"title":"Select Codes","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml put /interactions/{id}/codes/","href":"/api-reference/codes-legacy/select-codes"},{"title":"Generate Codes","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml post /interactions/{id}/codes/","href":"/api-reference/codes-legacy/generate-codes"}]},{"group":"Codes","pages":[{"title":"Predict Codes","description":"Predict medical codes from provided context.\u003cbr/>\u003cNote>This is a stateless endpoint, designed to predict ICD-10-CM, ICD-10-PCS, ICD-10 (international), ICD-10-UK, CIM-10-FR, ICD-10-GM, OPCS-4, OPS, CCAM, CPT, SNOMED CT, MedDRA, SKS, KVÅ and ICD-O-3 codes based on input text string or documentId.\u003cbr/>\u003cbr/>More than one code system may be defined in a single request.\u003cbr/>\u003cbr/>Code prediction requests have two possible values for context:\u003cbr/>- `text`: One set of code prediction results will be returned based on all input text defined.\u003cbr/>- `documentId`: Code prediction will be based on that defined document only.\u003cbr/>\u003cbr/>The response includes two sets of results:\u003cbr/>- `Codes`: Codes predicted by the model.\u003cbr/>- `Candidates`: Lower-confidence codes the model considered potentially relevant but excluded from the predicted set.\u003cbr/>\u003cbr/>All predicted code results are based on input context defined in the request only (not other external data or assets associated with an interaction).\u003c/Note>","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml post /tools/coding/","href":"/api-reference/codes/predict-codes"}]},{"group":"FHIR","pages":[{"title":"Predict FHIR Resources","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml post /tools/fhir/","href":"/api-reference/fhir/predict-fhir-resources"}]},{"group":"Evaluations","pages":[{"title":"Evaluate Document Groundedness","description":"Calculates how well the candidate document is supported by the source context.\nThe source context is a transcript or a list of facts.\u003cbr/>\u003cInfo>We plan to extend this to combinations and string source context in the future.\u003c/Info>\n\nThe API splits each section of the candidate document into sentences.\nEach sentence becomes one claim.\nA language model compares each claim with the source context and gives a verdict.\nEach claim contains the evidence from the source context. A `not_applicable` claim contains no evidence.\n\nThis operation uses a language model. It uses credits.\n","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml post /tools/evaluations/text/documents/groundedness","href":"/api-reference/evaluations/evaluate-document-groundedness"},{"title":"Evaluate Document Completeness","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml post /tools/evaluations/text/documents/completeness","href":"/api-reference/evaluations/evaluate-document-completeness"},{"title":"Evaluate Document Conciseness","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml post /tools/evaluations/text/documents/conciseness","href":"/api-reference/evaluations/evaluate-document-conciseness"},{"title":"Segment Document","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml post /tools/evaluations/text/documents/segment","href":"/api-reference/evaluations/segment-document"}]},{"group":"Guided Templates","pages":[{"title":"List templates","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml get /documents/templates/","href":"/api-reference/guided-templates/list-templates"},{"title":"Create template","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml post /documents/templates/","href":"/api-reference/guided-templates/create-template"},{"title":"Get template","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml get /documents/templates/{templateID}","href":"/api-reference/guided-templates/get-template"},{"title":"Delete template","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml delete /documents/templates/{templateID}","href":"/api-reference/guided-templates/delete-template"},{"title":"Update template metadata","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml patch /documents/templates/{templateID}","href":"/api-reference/guided-templates/update-template-metadata"},{"title":"List template versions","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml get /documents/templates/{templateID}/versions/","href":"/api-reference/guided-templates/list-template-versions"},{"title":"Create template version","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml post /documents/templates/{templateID}/versions/","href":"/api-reference/guided-templates/create-template-version"},{"title":"Get template version","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml get /documents/templates/{templateID}/versions/{versionID}","href":"/api-reference/guided-templates/get-template-version"},{"title":"Delete template version","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml delete /documents/templates/{templateID}/versions/{versionID}","href":"/api-reference/guided-templates/delete-template-version"},{"title":"Publish template version","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml post /documents/templates/{templateID}/versions/{versionID}/publish","href":"/api-reference/guided-templates/publish-template-version"}]},{"group":"Guided Sections","pages":[{"title":"List sections","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml get /documents/sections/","href":"/api-reference/guided-sections/list-sections"},{"title":"Create section","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml post /documents/sections/","href":"/api-reference/guided-sections/create-section"},{"title":"Get section","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml get /documents/sections/{sectionID}","href":"/api-reference/guided-sections/get-section"},{"title":"Delete section","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml delete /documents/sections/{sectionID}","href":"/api-reference/guided-sections/delete-section"},{"title":"Update section metadata","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml patch /documents/sections/{sectionID}","href":"/api-reference/guided-sections/update-section-metadata"},{"title":"List section versions","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml get /documents/sections/{sectionID}/versions/","href":"/api-reference/guided-sections/list-section-versions"},{"title":"Create section version","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml post /documents/sections/{sectionID}/versions/","href":"/api-reference/guided-sections/create-section-version"},{"title":"Get section version","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml get /documents/sections/{sectionID}/versions/{versionID}","href":"/api-reference/guided-sections/get-section-version"},{"title":"Delete section version","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml delete /documents/sections/{sectionID}/versions/{versionID}","href":"/api-reference/guided-sections/delete-section-version"},{"title":"Publish section version","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml post /documents/sections/{sectionID}/versions/{versionID}/publish","href":"/api-reference/guided-sections/publish-section-version"},{"title":"Get section impact","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml get /documents/sections/{sectionID}/impact","href":"/api-reference/guided-sections/get-section-impact"}]},{"group":"Guided Documents","pages":[{"title":"List documents","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml get /documents/","href":"/api-reference/guided-documents/list-documents"},{"title":"Generate a structured document","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml post /documents/","href":"/api-reference/guided-documents/generate-a-structured-document"},{"title":"Get document","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml get /documents/{documentID}","href":"/api-reference/guided-documents/get-document"},{"title":"Delete document","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml delete /documents/{documentID}","href":"/api-reference/guided-documents/delete-document"},{"title":"Update document","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml patch /documents/{documentID}","href":"/api-reference/guided-documents/update-document"}]},{"group":"Languages","pages":[{"title":"List Languages","deprecated":null,"version":null,"openapi":"/api-reference/auto-generated-openapi.yml get /languages/","href":"/api-reference/languages/list-languages"}]}]},{"group":"Admin APIs","icon":"shield-check","pages":[{"group":"Auth","pages":[{"title":"Authenticate user and get access token","deprecated":null,"version":null,"openapi":"/api-reference/admin/admin-openapi.yml post /auth/token","href":"/api-reference/admin/auth/authenticate-user-and-get-access-token"}]},{"group":"Customers","pages":[{"title":"List customers for a project","deprecated":null,"version":null,"openapi":"/api-reference/admin/admin-openapi.yml get /projects/{projectId}/customers","href":"/api-reference/admin/customers/list-customers-for-a-project"},{"title":"Create a new customer","deprecated":null,"version":null,"openapi":"/api-reference/admin/admin-openapi.yml post /projects/{projectId}/customers","href":"/api-reference/admin/customers/create-a-new-customer"},{"title":"Delete a customer","deprecated":null,"version":null,"openapi":"/api-reference/admin/admin-openapi.yml delete /projects/{projectId}/customers/{customerId}","href":"/api-reference/admin/customers/delete-a-customer"},{"title":"Update a customer","deprecated":null,"version":null,"openapi":"/api-reference/admin/admin-openapi.yml patch /projects/{projectId}/customers/{customerId}","href":"/api-reference/admin/customers/update-a-customer"},{"title":"Get quotas for a customer","deprecated":null,"version":null,"openapi":"/api-reference/admin/admin-openapi.yml get /projects/{projectId}/customers/{customerId}/quotas","href":"/api-reference/admin/customers/get-quotas-for-a-customer"}]},{"group":"Projects","pages":[{"title":"Get quotas for all tenants within a project","deprecated":null,"version":null,"openapi":"/api-reference/admin/admin-openapi.yml get /projects/{projectId}/quotas","href":"/api-reference/admin/projects/get-quotas-for-all-tenants-within-a-project"}]},{"group":"Users","pages":[{"title":"List users for a customer","deprecated":null,"version":null,"openapi":"/api-reference/admin/admin-openapi.yml get /projects/{projectId}/customers/{customerId}/users","href":"/api-reference/admin/users/list-users-for-a-customer"},{"title":"Create a new user and add it to the customer","deprecated":null,"version":null,"openapi":"/api-reference/admin/admin-openapi.yml post /projects/{projectId}/customers/{customerId}/users","href":"/api-reference/admin/users/create-a-new-user-and-add-it-to-the-customer"},{"title":"Get a user by ID","deprecated":null,"version":null,"openapi":"/api-reference/admin/admin-openapi.yml get /projects/{projectId}/customers/{customerId}/users/{userId}","href":"/api-reference/admin/users/get-a-user-by-id"},{"title":"Update a user","deprecated":null,"version":null,"openapi":"/api-reference/admin/admin-openapi.yml patch /projects/{projectId}/customers/{customerId}/users/{userId}","href":"/api-reference/admin/users/update-a-user"},{"title":"Get usage consumption for a user within a time window","deprecated":null,"version":null,"openapi":"/api-reference/admin/admin-openapi.yml get /projects/{projectId}/customers/{customerId}/users/{userId}/consumption","href":"/api-reference/admin/users/get-usage-consumption-for-a-user-within-a-time-window"},{"title":"Delete a user","deprecated":null,"version":null,"openapi":"/api-reference/admin/admin-openapi.yml delete /projects/{projectId}/customers/{customerId}/users/{userId}/consumption","href":"/api-reference/admin/users/delete-a-user"}]}]},{"group":"Errors","icon":"triangle-alert","pages":[{"title":"Errors","href":"/api-reference/errors"}]},{"group":"Agentic APIs v1 (deprecated)","icon":"layers","pages":[{"group":"Agents","pages":[{"title":"List Agents","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi.yml get /agents","href":"/agentic/agents/list-agents"},{"title":"Create Agent","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi.yml post /agents","href":"/agentic/agents/create-agent"},{"title":"Get Agent by ID","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi.yml get /agents/{id}","href":"/agentic/agents/get-agent-by-id"},{"title":"Delete Agent by ID","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi.yml delete /agents/{id}","href":"/agentic/agents/delete-agent-by-id"},{"title":"Update Agent by ID","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi.yml patch /agents/{id}","href":"/agentic/agents/update-agent-by-id"},{"title":"Get Agent Card","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi.yml get /agents/{id}/agent-card.json","href":"/agentic/agents/get-agent-card"},{"title":"Send Message to Agent","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi.yml post /agents/{id}/v1/message:send","href":"/agentic/agents/send-message-to-agent"},{"title":"Get Task by ID","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi.yml get /agents/{id}/v1/tasks/{taskId}","href":"/agentic/agents/get-task-by-id"},{"title":"Get Context by ID","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi.yml get /agents/{id}/v1/contexts/{contextId}","href":"/agentic/agents/get-context-by-id"},{"title":"Delete Context by ID","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi.yml delete /agents/{id}/v1/contexts/{contextId}","href":"/agentic/agents/delete-context-by-id"},{"title":"List Registry Experts","deprecated":null,"version":null,"openapi":"/agentic/auto-generated-openapi.yml get /agents/registry/experts","href":"/agentic/agents/list-registry-experts"}]}]}]}]},"basePath":"","title":"Predict FHIR Resources - Corti API Documentation","deploymentId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","buildId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","dynamics":["10e4515597","c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["BannerMarkdown-BXE6hfEw.js","dist-D9mz3EIS.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","OpenApiReferenceProvider-D4yvBxwa.js","snippetPresets-CkhhQaIQ.js","utils-XnMGX2lF.js","style-to-object-BY3JEAdk.js","utils-CRXL1dwr.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-DvwRKZnA.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DYtgUc7n.js","_Uint8Array-D8z7zjjJ.js","isObject-FP1Yky1u.js","ApiExamples-RYQSJVS4.js","usePlaygroundInputsStore-k_R_BTDL.js","shallow-BwVhzryZ.js","isEqual-Cx5TQjMc.js","CodeSnippets-BDe2dS5N.js","CodeSnippet-C1QlaNYl.js","use-playground-group-access-DyQ_1IIe.js","Page-DQd9HN9r.js","api-description-markdown-BpDftTKT.js","DynamicMarkdown-CZT_WAnN.js","SectionHeading-K1iuDm9j.js","MethodPill-Dx3JIwHJ.js","getPastedJson-buPTdYs_.js","Check2Icon-DmMrzBYX.js","axios-CsQoIw0U.js","Markdown-erv2ryQz.js","AssistantPageLink-DJ01X1Sn.js"]}