{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Ferrum","colors":{"primary":"#4076B9","light":"#4076B9","dark":"#4076B9"},"logo":{"light":"https://mintcdn.com/thalamiq/MnlYeF-Y6ojGeQgf/logos/ferrum.svg?fit=max\u0026auto=format\u0026n=MnlYeF-Y6ojGeQgf\u0026q=85\u0026s=fc9aa15ec5a332123fdf9888fc7aad73","dark":"https://mintcdn.com/thalamiq/MnlYeF-Y6ojGeQgf/logos/ferrum.svg?fit=max\u0026auto=format\u0026n=MnlYeF-Y6ojGeQgf\u0026q=85\u0026s=fc9aa15ec5a332123fdf9888fc7aad73"},"favicon":"/favicon.svg","api":{"playground":{"display":"interactive","proxy":true},"examples":{"defaults":"required","languages":["curl","python","javascript"],"prefill":true}},"navbar":{"links":[{"href":"https://github.com/thalamiq/ferrum","label":"GitHub"}]},"footer":{"socials":{"github":"https://github.com/thalamiq/ferrum","website":"https://thalamiq.io"},"links":[{"header":"By ThalamiQ","items":[{"label":"thalamiq.io","href":"https://thalamiq.io"},{"label":"GitHub","href":"https://github.com/thalamiq/ferrum"}]}]},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/thalamiq/ferrum"},{"anchor":"FHIR Specification","icon":"book-open","href":"https://hl7.org/fhir/"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"thalamiq","hasAudioNarration":false,"actualSubdomain":"thalamiq","customDomains":["docs.ferrum.thalamiq.io"],"gitSource":{"type":"github","owner":"thalamiq","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21eb761794d24ae190a9b8","collectionId":"6b07d4c8-a2cb-4019-9082-d41a6a323953","schemaVersion":"v2"},"entitlements":{},"buildId":"6a21eb761794d24ae190a9b8:success","clientVersion":"0.0.3971","searchFilterCounts":[{"language":"default","tag":"API Reference","count":22},{"language":"default","tag":"Documentation","count":15},{"language":"default","tag":"Server","count":11},{"language":"default","tag":"CRUD Operations","count":5},{"language":"default","tag":"Overview","count":4},{"language":"default","tag":"History \u0026 Versioning","count":4},{"language":"default","tag":"Getting Started","count":4},{"language":"default","tag":"Operations","count":3},{"language":"default","tag":"Search","count":3},{"language":"default","tag":"Batch \u0026 Transaction","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"editor-v7-file-tree","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":"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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"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":"editor-nav-generations","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":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","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":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/history/system","slug":"/api-reference/history/system","pageMetadata":{"title":"System History","description":"Get history of all resources in the system","openapi":"GET /_history","href":"/api-reference/history/system","hidden":false},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Get history of all resources in the system\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`system-history`,children:`System History`}),`\n`,_jsx(_components.p,{children:`Retrieve the history of all resources in the system, showing changes across all resource types.`}),`\n`,_jsx(Heading,{level:`2`,id:`endpoint`,children:`Endpoint`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`GET /fhir/_history`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query Parameters`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`_count`}),` - Maximum number of results (default: 10)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`_since`}),` - Only return resources modified since this date/time`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`_at`}),` - Return resources as they were at a specific point in time`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`example-request`,children:`Example Request`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://your-server.com/fhir/_history?_count=20\u0026_since=2024-01-01T00:00:00Z\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`HTTP`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /fhir/_history?_count=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`20`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`_since`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`2024-01-01T00:00:00Z`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` HTTP/1.1`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Host:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` your-server.com`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(Heading,{level:`3`,id:`success-200-ok`,children:`Success (200 OK)`}),`\n`,_jsxs(_components.p,{children:[`Returns a `,_jsx(_components.code,{children:`Bundle`}),` containing history entries:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`49`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`49`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"resourceType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bundle\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"history\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`150`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"link\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"relation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"self\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://your-server.com/fhir/_history?_count=20\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"relation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"next\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://your-server.com/fhir/_history?_count=20\u0026_offset=20\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"entry\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fullUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://your-server.com/fhir/Patient/123/_history/2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"resource\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"resourceType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Patient\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"123\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"meta\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"versionId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lastUpdated\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-01T13:00:00Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:` ...`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"request\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PUT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Patient/123\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fullUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://your-server.com/fhir/Observation/456/_history/1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"resource\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"resourceType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Observation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"456\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"meta\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"versionId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lastUpdated\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-01T12:30:00Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:` ...`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"request\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"POST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Observation\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`history-entry-structure`,children:`History Entry Structure`}),`\n`,_jsx(_components.p,{children:`Each entry in the history bundle includes:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`fullUrl`}),` - The versioned URL of the resource`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`resource`}),` - The resource at that point in time`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`request`}),` - Information about the request that created this version`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`method`}),` - HTTP method (POST, PUT, PATCH, DELETE)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`url`}),` - Resource URL`]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`filtering-by-date`,children:`Filtering by Date`}),`\n`,_jsx(Heading,{level:`3`,id:`since-parameter`,children:`Since Parameter`}),`\n`,_jsx(_components.p,{children:`Get all changes since a specific date/time:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /fhir/_history?_since=2024-01-01T00:00:00Z`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`at-parameter`,children:`At Parameter`}),`\n`,_jsx(_components.p,{children:`Get resources as they were at a specific point in time:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /fhir/_history?_at=2024-01-01T12:00:00Z`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`pagination`,children:`Pagination`}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`_count`}),` and `,_jsx(_components.code,{children:`_offset`}),` for pagination:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /fhir/_history?_count=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`20`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`_offset`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`0`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /fhir/_history?_count=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`20`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`_offset`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`20`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The response includes `,_jsx(_components.code,{children:`next`}),` and `,_jsx(_components.code,{children:`previous`}),` links when available.`]}),`\n`,_jsx(Heading,{level:`2`,id:`notes`,children:`Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`System history can be very large - use `,_jsx(_components.code,{children:`_count`}),` and `,_jsx(_components.code,{children:`_since`}),` to limit results`]}),`\n`,_jsxs(_components.li,{children:[`History entries are ordered by `,_jsx(_components.code,{children:`lastUpdated`}),` timestamp (most recent first)`]}),`\n`,_jsx(_components.li,{children:`Deleted resources appear in history with their deletion timestamp`}),`\n`,_jsxs(_components.li,{children:[`Use `,_jsx(_components.code,{children:`_since`}),` to get incremental updates`]}),`\n`,_jsxs(_components.li,{children:[`The `,_jsx(_components.code,{children:`total`}),` count may be an estimate for performance reasons`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"System History","description":"Get history of all resources in the system","openapi":"GET /_history","href":"/api-reference/history/system","hidden":false}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"System History","slug":"system-history","depth":2,"children":[]},{"title":"Endpoint","slug":"endpoint","depth":2,"children":[]},{"title":"Query Parameters","slug":"query-parameters","depth":2,"children":[]},{"title":"Example Request","slug":"example-request","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[{"title":"Success (200 OK)","slug":"success-200-ok","depth":3,"children":[]}]},{"title":"History Entry Structure","slug":"history-entry-structure","depth":2,"children":[]},{"title":"Filtering by Date","slug":"filtering-by-date","depth":2,"children":[{"title":"Since Parameter","slug":"since-parameter","depth":3,"children":[]},{"title":"At Parameter","slug":"at-parameter","depth":3,"children":[]}]},{"title":"Pagination","slug":"pagination","depth":2,"children":[]},{"title":"Notes","slug":"notes","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"System History","description":"Get history of all resources in the system","operationId":"systemHistory","tags":["History"],"parameters":["609c0605-9bce-463f-aefd-05e845267e9c","1c28d98c-41af-494d-83fd-3e3dd35ee193","53cb9607-a334-4176-87a1-b57dec5f85f0"],"responses":{"200":"c9c74e1d-c4ef-4e7d-af40-d253a50b2943"},"method":"get","type":"path","servers":["f33f2d19-5c71-4345-bf96-efaeeae832ea","6ff400de-fc81-46be-86fb-449ee21c7ef1","ea1773f4-6eb5-4c15-afeb-2eca092d2430"],"security":["df10741b-f052-4498-a740-324115db1e9a"],"path":"/_history","baseUrlOptions":["http://localhost:8080/fhir","https://your-server.com/fhir","https://api.example.com/fhir"],"title":"System History","codeSamples":[],"requestExampleLanguages":["bash","python","javascript"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[]},"dependencies":{"parameters":{"609c0605-9bce-463f-aefd-05e845267e9c":{"name":"_count","in":"query","description":"Maximum number of results to return","schema":{"type":"integer","minimum":0,"default":10,"description":"Maximum number of results to return","uniqueKey":"","typeLabel":"integer"}},"1c28d98c-41af-494d-83fd-3e3dd35ee193":{"name":"_since","in":"query","description":"Only return resources modified since this date/time","schema":{"type":"string","format":"date-time","description":"Only return resources modified since this date/time","uniqueKey":"","typeLabel":"string\u003cdate-time>"}},"53cb9607-a334-4176-87a1-b57dec5f85f0":{"name":"_at","in":"query","description":"Return resources as they were at a specific point in time","schema":{"type":"string","format":"date-time","description":"Return resources as they were at a specific point in time","uniqueKey":"","typeLabel":"string\u003cdate-time>"}}},"responses":{"c9c74e1d-c4ef-4e7d-af40-d253a50b2943":{"description":"History bundle","content":{"application/fhir+json":{"schema":{"type":"object","description":"A container for a collection of resources","required":["resourceType","type"],"properties":{"resourceType":{"type":"string","enum":["Bundle"],"description":"Resource type","isRequired":true,"uniqueKey":"resourceType","typeLabel":"enum\u003cstring>"},"type":{"type":"string","enum":["document","message","transaction","transaction-response","batch","batch-response","history","searchset","collection"],"description":"Indicates the purpose of this bundle","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"total":{"type":"integer","description":"If search, the total number of matches","uniqueKey":"total","typeLabel":"integer"},"link":{"type":"array","items":{"type":"object","description":"A link to another resource","properties":{"relation":{"type":"string","description":"See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1","uniqueKey":"link.items.[INDEX].relation","typeLabel":"string"},"url":{"type":"string","format":"uri","description":"Reference details for the link","uniqueKey":"link.items.[INDEX].url","typeLabel":"string\u003curi>"}},"uniqueKey":"link.items.[INDEX]","typeLabel":"object"},"description":"Links related to this Bundle","uniqueKey":"link","typeLabel":"object[]"},"entry":{"type":"array","items":{"type":"object","description":"An entry in a bundle resource","properties":{"fullUrl":{"type":"string","format":"uri","description":"URI for resource","uniqueKey":"entry.items.[INDEX].fullUrl","typeLabel":"string\u003curi>"},"resource":{"type":"object","description":"A FHIR resource. All resources have resourceType, id, and meta fields.","required":["resourceType"],"properties":{"resourceType":{"type":"string","description":"The type of resource","isRequired":true,"uniqueKey":"entry.items.[INDEX].resource.resourceType","typeLabel":"string"},"id":{"type":"string","description":"Logical id of this artifact","uniqueKey":"entry.items.[INDEX].resource.id","typeLabel":"string"},"meta":{"type":"object","description":"Metadata about a resource","properties":{"versionId":{"type":"string","description":"Version specific identifier","uniqueKey":"entry.items.[INDEX].resource.meta.versionId","typeLabel":"string"},"lastUpdated":{"type":"string","format":"date-time","description":"When the resource version last changed","uniqueKey":"entry.items.[INDEX].resource.meta.lastUpdated","typeLabel":"string\u003cdate-time>"},"profile":{"type":"array","items":{"type":"string","format":"uri","uniqueKey":"entry.items.[INDEX].resource.meta.profile.items.[INDEX]","typeLabel":"string\u003curi>"},"description":"Profiles this resource claims to conform to","uniqueKey":"entry.items.[INDEX].resource.meta.profile","typeLabel":"string\u003curi>[]"},"tag":{"type":"array","items":{"type":"object","description":"A reference to a code defined by a terminology system","properties":{"system":{"type":"string","format":"uri","description":"Identity of the terminology system","uniqueKey":"entry.items.[INDEX].resource.meta.tag.items.[INDEX].system","typeLabel":"string\u003curi>"},"version":{"type":"string","description":"Version of the system - if relevant","uniqueKey":"entry.items.[INDEX].resource.meta.tag.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"Symbol in syntax defined by the system","uniqueKey":"entry.items.[INDEX].resource.meta.tag.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Representation defined by the system","uniqueKey":"entry.items.[INDEX].resource.meta.tag.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"entry.items.[INDEX].resource.meta.tag.items.[INDEX]","typeLabel":"object"},"description":"Tags applied to this resource","uniqueKey":"entry.items.[INDEX].resource.meta.tag","typeLabel":"object[]"},"security":{"type":"array","items":{"type":"object","description":"A reference to a code defined by a terminology system","properties":{"system":{"type":"string","format":"uri","description":"Identity of the terminology system","uniqueKey":"entry.items.[INDEX].resource.meta.security.items.[INDEX].system","typeLabel":"string\u003curi>"},"version":{"type":"string","description":"Version of the system - if relevant","uniqueKey":"entry.items.[INDEX].resource.meta.security.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"Symbol in syntax defined by the system","uniqueKey":"entry.items.[INDEX].resource.meta.security.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Representation defined by the system","uniqueKey":"entry.items.[INDEX].resource.meta.security.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"entry.items.[INDEX].resource.meta.security.items.[INDEX]","typeLabel":"object"},"description":"Security labels applied to this resource","uniqueKey":"entry.items.[INDEX].resource.meta.security","typeLabel":"object[]"}},"uniqueKey":"entry.items.[INDEX].resource.meta","typeLabel":"object"}},"additionalProperties":true,"uniqueKey":"entry.items.[INDEX].resource","typeLabel":"object"},"request":{"type":"object","description":"Additional information about how this entry should be processed","properties":{"method":{"type":"string","enum":["GET","POST","PUT","PATCH","DELETE"],"description":"HTTP verb for the operation","uniqueKey":"entry.items.[INDEX].request.method","typeLabel":"enum\u003cstring>"},"url":{"type":"string","description":"URL for HTTP equivalent of this entry","uniqueKey":"entry.items.[INDEX].request.url","typeLabel":"string"}},"uniqueKey":"entry.items.[INDEX].request","typeLabel":"object"},"response":{"type":"object","description":"Indicates the results of processing the corresponding 'request' entry","properties":{"status":{"type":"string","description":"Status response code","uniqueKey":"entry.items.[INDEX].response.status","typeLabel":"string"},"location":{"type":"string","description":"The location (if the operation returns a location)","uniqueKey":"entry.items.[INDEX].response.location","typeLabel":"string"},"etag":{"type":"string","description":"The etag for the resource (if relevant)","uniqueKey":"entry.items.[INDEX].response.etag","typeLabel":"string"},"lastModified":{"type":"string","format":"date-time","description":"Server's date time modified","uniqueKey":"entry.items.[INDEX].response.lastModified","typeLabel":"string\u003cdate-time>"},"outcome":{"type":"object","description":"A collection of error, warning or information messages that result from a system action","required":["resourceType"],"properties":{"resourceType":{"type":"string","enum":["OperationOutcome"],"description":"Resource type","isRequired":true,"uniqueKey":"entry.items.[INDEX].response.outcome.resourceType","typeLabel":"enum\u003cstring>"},"issue":{"type":"array","items":{"type":"object","description":"An issue associated with the operation","required":["severity","code"],"properties":{"severity":{"type":"string","enum":["fatal","error","warning","information"],"description":"Severity of the issue","isRequired":true,"uniqueKey":"entry.items.[INDEX].response.outcome.issue.items.[INDEX].severity","typeLabel":"enum\u003cstring>"},"code":{"type":"string","enum":["invalid","structure","required","value","invariant","security","login","unknown","expired","forbidden","suppressed","processing","not-supported","duplicate","multiple-matches","not-found","deleted","too-long","code-invalid","extension","too-costly","business-rule","conflict","transient","lock-error","no-store","exception","timeout","incomplete","throttled","informational"],"description":"Error or warning code","isRequired":true,"uniqueKey":"entry.items.[INDEX].response.outcome.issue.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"details":{"type":"object","description":"A concept that may be defined by a formal reference to a terminology or ontology","properties":{"coding":{"type":"array","items":{"type":"object","description":"A reference to a code defined by a terminology system","properties":{"system":{"type":"string","format":"uri","description":"Identity of the terminology system","uniqueKey":"entry.items.[INDEX].response.outcome.issue.items.[INDEX].details.coding.items.[INDEX].system","typeLabel":"string\u003curi>"},"version":{"type":"string","description":"Version of the system - if relevant","uniqueKey":"entry.items.[INDEX].response.outcome.issue.items.[INDEX].details.coding.items.[INDEX].version","typeLabel":"string"},"code":{"type":"string","description":"Symbol in syntax defined by the system","uniqueKey":"entry.items.[INDEX].response.outcome.issue.items.[INDEX].details.coding.items.[INDEX].code","typeLabel":"string"},"display":{"type":"string","description":"Representation defined by the system","uniqueKey":"entry.items.[INDEX].response.outcome.issue.items.[INDEX].details.coding.items.[INDEX].display","typeLabel":"string"}},"uniqueKey":"entry.items.[INDEX].response.outcome.issue.items.[INDEX].details.coding.items.[INDEX]","typeLabel":"object"},"uniqueKey":"entry.items.[INDEX].response.outcome.issue.items.[INDEX].details.coding","typeLabel":"object[]"},"text":{"type":"string","description":"Plain text representation of the concept","uniqueKey":"entry.items.[INDEX].response.outcome.issue.items.[INDEX].details.text","typeLabel":"string"}},"uniqueKey":"entry.items.[INDEX].response.outcome.issue.items.[INDEX].details","typeLabel":"object"},"diagnostics":{"type":"string","description":"Additional diagnostic information about the issue","uniqueKey":"entry.items.[INDEX].response.outcome.issue.items.[INDEX].diagnostics","typeLabel":"string"},"location":{"type":"array","items":{"type":"string","uniqueKey":"entry.items.[INDEX].response.outcome.issue.items.[INDEX].location.items.[INDEX]","typeLabel":"string"},"description":"XPath or JSONPath expression describing the location of the issue","uniqueKey":"entry.items.[INDEX].response.outcome.issue.items.[INDEX].location","typeLabel":"string[]"}},"uniqueKey":"entry.items.[INDEX].response.outcome.issue.items.[INDEX]","typeLabel":"object"},"description":"A list of issues associated with the operation","uniqueKey":"entry.items.[INDEX].response.outcome.issue","typeLabel":"object[]"}},"uniqueKey":"entry.items.[INDEX].response.outcome","typeLabel":"object"}},"uniqueKey":"entry.items.[INDEX].response","typeLabel":"object"}},"uniqueKey":"entry.items.[INDEX]","typeLabel":"object"},"description":"Entry in the bundle","uniqueKey":"entry","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"resourceType":"Bundle","type":"document","total":123,"link":[{"relation":"\u003cstring>","url":"\u003cstring>"}],"entry":[{"fullUrl":"\u003cstring>","resource":{"resourceType":"\u003cstring>","id":"\u003cstring>","meta":{"versionId":"\u003cstring>","lastUpdated":"2023-11-07T05:31:56Z","profile":["\u003cstring>"],"tag":[{"system":"\u003cstring>","version":"\u003cstring>","code":"\u003cstring>","display":"\u003cstring>"}],"security":[{"system":"\u003cstring>","version":"\u003cstring>","code":"\u003cstring>","display":"\u003cstring>"}]}},"request":{"method":"GET","url":"\u003cstring>"},"response":{"status":"\u003cstring>","location":"\u003cstring>","etag":"\u003cstring>","lastModified":"2023-11-07T05:31:56Z","outcome":{"resourceType":"OperationOutcome","issue":[{"severity":"fatal","code":"invalid","details":{"coding":[{"system":"\u003cstring>","version":"\u003cstring>","code":"\u003cstring>","display":"\u003cstring>"}],"text":"\u003cstring>"},"diagnostics":"\u003cstring>","location":["\u003cstring>"]}]}}}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"df10741b-f052-4498-a740-324115db1e9a":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Bearer token authentication","scopes":[]}}},"servers":{"f33f2d19-5c71-4345-bf96-efaeeae832ea":{"url":"http://localhost:8080/fhir","description":"Local development server (default port 8080)"},"6ff400de-fc81-46be-86fb-449ee21c7ef1":{"url":"https://your-server.com/fhir","description":"Production server (replace with your actual server URL)"},"ea1773f4-6eb5-4c15-afeb-2eca092d2430":{"url":"https://api.example.com/fhir","description":"Example production server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Bearer token authentication","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer token authentication","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"thalamiq","siteName":"Ferrum","title":"System History - Ferrum","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-02-13T16:08:49.330Z","originalFileLocation":"api-reference/history/system.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=\"Get history of all resources in the system\">\u003cmeta data-mint-head name=\"application-name\" content=\"Ferrum\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/thalamiq/f08Uq1XE4cCfm4Wi/_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/thalamiq/f08Uq1XE4cCfm4Wi/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/thalamiq/f08Uq1XE4cCfm4Wi/_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/thalamiq/f08Uq1XE4cCfm4Wi/_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/thalamiq/f08Uq1XE4cCfm4Wi/_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/thalamiq/f08Uq1XE4cCfm4Wi/_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/thalamiq/f08Uq1XE4cCfm4Wi/_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/thalamiq/f08Uq1XE4cCfm4Wi/_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/thalamiq/f08Uq1XE4cCfm4Wi/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"System History - Ferrum\">\u003cmeta data-mint-head property=\"og:description\" content=\"Get history of all resources in the system\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Ferrum\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ferrum.thalamiq.io/api-reference/history/system\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://thalamiq.mintlify.app/_mintlify/api/og/v2?division=History+%26+Versioning\u0026amp;title=System+History\u0026amp;description=Get+history+of+all+resources+in+the+system\u0026amp;theme=7542210386eb30a104b2d294\u0026amp;signature=d7ff20a8fc344111846c0deccde05f2085578858131f2af59cfdea42ff10754d\">\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=\"System History - Ferrum\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Get history of all resources in the system\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://thalamiq.mintlify.app/_mintlify/api/og/v2?division=History+%26+Versioning\u0026amp;title=System+History\u0026amp;description=Get+history+of+all+resources+in+the+system\u0026amp;theme=7542210386eb30a104b2d294\u0026amp;signature=d7ff20a8fc344111846c0deccde05f2085578858131f2af59cfdea42ff10754d\">\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/thalamiq/f08Uq1XE4cCfm4Wi/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Ferrum\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4076B9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ferrum.thalamiq.io/api-reference/history/system\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/history/system.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.ferrum.thalamiq.io/#organization\",\"name\":\"Ferrum\",\"url\":\"https://docs.ferrum.thalamiq.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/thalamiq/MnlYeF-Y6ojGeQgf/logos/ferrum.svg?fit=max\u0026auto=format\u0026n=MnlYeF-Y6ojGeQgf\u0026q=85\u0026s=fc9aa15ec5a332123fdf9888fc7aad73\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ferrum.thalamiq.io#website\",\"name\":\"Ferrum\",\"url\":\"https://docs.ferrum.thalamiq.io\",\"publisher\":{\"@id\":\"https://docs.ferrum.thalamiq.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ferrum.thalamiq.io/api-reference/history/system#webpage\",\"url\":\"https://docs.ferrum.thalamiq.io/api-reference/history/system\",\"name\":\"System History\",\"description\":\"Get history of all resources in the system\",\"dateModified\":\"2026-02-13T16:08:49.330Z\",\"isPartOf\":{\"@id\":\"https://docs.ferrum.thalamiq.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ferrum.thalamiq.io/api-reference/history/system#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ferrum.thalamiq.io/api-reference/history/system#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Ferrum\",\"item\":\"https://docs.ferrum.thalamiq.io\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"System History\",\"item\":\"https://docs.ferrum.thalamiq.io/api-reference/history/system\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.ferrum.thalamiq.io/api-reference/history/system#apireference\",\"headline\":\"System History\",\"name\":\"System History\",\"description\":\"Get history of all resources in the system\",\"url\":\"https://docs.ferrum.thalamiq.io/api-reference/history/system\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ferrum.thalamiq.io/api-reference/history/system#webpage\"},\"dateModified\":\"2026-02-13T16:08:49.330Z\",\"publisher\":{\"@id\":\"https://docs.ferrum.thalamiq.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ferrum.thalamiq.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Ferrum\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Ferrum","nav":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/thalamiq/ferrum"},{"anchor":"FHIR Specification","icon":"book-open","href":"https://hl7.org/fhir/"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/getting-started"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Error Handling","href":"/api-reference/errors"},{"title":"Content Negotiation","href":"/api-reference/content-negotiation"}]},{"group":"Metadata","pages":[{"title":"Capability Statement","openapi":"GET /metadata","href":"/api-reference/metadata/capability-statement"}]},{"group":"CRUD Operations","pages":[{"title":"Create Resource","openapi":"POST /{resourceType}","href":"/api-reference/endpoint/create"},{"title":"Read Resource","openapi":"GET /{resourceType}/{id}","href":"/api-reference/endpoint/read"},{"title":"Update Resource","openapi":"PUT /{resourceType}/{id}","href":"/api-reference/endpoint/update"},{"title":"Patch Resource","openapi":"PATCH /{resourceType}/{id}","href":"/api-reference/endpoint/patch"},{"title":"Delete Resource","openapi":"DELETE /{resourceType}/{id}","href":"/api-reference/endpoint/delete"}]},{"group":"Search","pages":[{"title":"System-Level Search","openapi":"GET /","href":"/api-reference/search/system"},{"title":"Type-Level Search","openapi":"GET /{resourceType}","href":"/api-reference/search/type"},{"title":"Compartment Search","description":"Search resources within a compartment","openapi":"GET /{compartmentType}/{compartmentId}/{resourceType}","href":"/api-reference/search/compartment"}]},{"group":"History \u0026 Versioning","pages":[{"title":"System History","openapi":"GET /_history","href":"/api-reference/history/system"},{"title":"Type History","description":"Get history of all resources of a specific type","openapi":"GET /{resourceType}/_history","href":"/api-reference/history/type"},{"title":"Resource History","openapi":"GET /{resourceType}/{id}/_history","href":"/api-reference/history/resource"},{"title":"Versioned Read (vread)","openapi":"GET /{resourceType}/{id}/_history/{vid}","href":"/api-reference/history/versioned-read"}]},{"group":"Batch \u0026 Transaction","pages":[{"title":"Transaction","openapi":"POST /","href":"/api-reference/batch/transaction"},{"title":"Batch","openapi":"POST /","href":"/api-reference/batch/batch"}]},{"group":"Operations","pages":[{"title":"System-Level Operations","href":"/api-reference/operations/system"},{"title":"Type-Level Operations","href":"/api-reference/operations/type"},{"title":"Instance-Level Operations","href":"/api-reference/operations/instance"}]}]}]},"title":"System History - Ferrum","buildId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","deploymentId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-rfhihCWU.js","utils-BmH1XFxk.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BcNsxPKB.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BAES3tkd.js","snippetPresets-DCMQBKLP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D6l_bzE9.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BOktbnNh.js","shallow-BCs8SgM7.js","getApiPlaygroundDisplay-DEmW5bJB.js","CodeSnippet-CpZOpB9C.js","CodeSnippets-BOBDqibl.js","Page-D5fEM6aW.js","getPastedJson-DH2JBvmr.js","icon-BBJH-kKh.js","MethodPill-D2Sd5NLC.js","DuplicateIcon-CGgfL2qN.js","createIcon-BKudBBzi.js","DynamicMarkdown-85clUA0i.js","SectionHeading-D0JiMgDx.js","axios-vUo_bRtp.js","Markdown-Cfiy0xZO.js","clsx-rL8ZCCw4.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-aeztFa9U.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BywkCr5C.js"]}