From 7352498c0613d71f8f42a62f988fb856c0375a3d Mon Sep 17 00:00:00 2001 From: gh-actions Date: Tue, 12 Mar 2024 19:47:01 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20bonfhir/?= =?UTF-8?q?bonfhir@49b77c26ac3e074e2986cb5f78581c6d5609f983=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Introduction-mdx.36c6814e.iframe.bundle.js | 1 + Introduction-mdx.b8b6e6a4.iframe.bundle.js | 1 - data-display-FhirTable-stories.257d566d.iframe.bundle.js | 1 - data-display-FhirTable-stories.ac0939c5.iframe.bundle.js | 1 + data-display-FhirValue-stories.3dc6abfd.iframe.bundle.js | 1 - data-display-FhirValue-stories.c6e41461.iframe.bundle.js | 1 + feedback-FhirError-stories.27197f46.iframe.bundle.js | 1 + feedback-FhirError-stories.2739f786.iframe.bundle.js | 1 - feedback-FhirQueryLoader-stories.08cffbe1.iframe.bundle.js | 1 - feedback-FhirQueryLoader-stories.b5cc3014.iframe.bundle.js | 1 + iframe.html | 2 +- inputs-FhirInput-stories.5b3293bf.iframe.bundle.js | 1 + inputs-FhirInput-stories.fd8ddeb2.iframe.bundle.js | 1 - inputs-FhirInputArray-stories.78494b03.iframe.bundle.js | 1 - inputs-FhirInputArray-stories.ca9bda25.iframe.bundle.js | 1 + inputs-FhirQuestionnaire-stories.48989eb5.iframe.bundle.js | 1 + inputs-FhirQuestionnaire-stories.5b1ab2fc.iframe.bundle.js | 1 - ... navigation-FhirPagination-stories.387e87e0.iframe.bundle.js | 2 +- project.json | 2 +- ...6.iframe.bundle.js => runtime~main.e4f2371f.iframe.bundle.js | 2 +- 20 files changed, 12 insertions(+), 12 deletions(-) create mode 100644 Introduction-mdx.36c6814e.iframe.bundle.js delete mode 100644 Introduction-mdx.b8b6e6a4.iframe.bundle.js delete mode 100644 data-display-FhirTable-stories.257d566d.iframe.bundle.js create mode 100644 data-display-FhirTable-stories.ac0939c5.iframe.bundle.js delete mode 100644 data-display-FhirValue-stories.3dc6abfd.iframe.bundle.js create mode 100644 data-display-FhirValue-stories.c6e41461.iframe.bundle.js create mode 100644 feedback-FhirError-stories.27197f46.iframe.bundle.js delete mode 100644 feedback-FhirError-stories.2739f786.iframe.bundle.js delete mode 100644 feedback-FhirQueryLoader-stories.08cffbe1.iframe.bundle.js create mode 100644 feedback-FhirQueryLoader-stories.b5cc3014.iframe.bundle.js create mode 100644 inputs-FhirInput-stories.5b3293bf.iframe.bundle.js delete mode 100644 inputs-FhirInput-stories.fd8ddeb2.iframe.bundle.js delete mode 100644 inputs-FhirInputArray-stories.78494b03.iframe.bundle.js create mode 100644 inputs-FhirInputArray-stories.ca9bda25.iframe.bundle.js create mode 100644 inputs-FhirQuestionnaire-stories.48989eb5.iframe.bundle.js delete mode 100644 inputs-FhirQuestionnaire-stories.5b1ab2fc.iframe.bundle.js rename navigation-FhirPagination-stories.3327e210.iframe.bundle.js => navigation-FhirPagination-stories.387e87e0.iframe.bundle.js (97%) rename runtime~main.bcf5db86.iframe.bundle.js => runtime~main.e4f2371f.iframe.bundle.js (96%) diff --git a/Introduction-mdx.36c6814e.iframe.bundle.js b/Introduction-mdx.36c6814e.iframe.bundle.js new file mode 100644 index 0000000..7e79636 --- /dev/null +++ b/Introduction-mdx.36c6814e.iframe.bundle.js @@ -0,0 +1 @@ +(self.webpackChunk_bonfhir_storybook=self.webpackChunk_bonfhir_storybook||[]).push([[281],{"../../node_modules/.pnpm/@mdx-js+react@2.3.0_react@18.2.0/node_modules/@mdx-js/react/lib/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{NF:()=>withMDXComponents,Zo:()=>MDXProvider,ah:()=>useMDXComponents,pC:()=>MDXContext});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js");const MDXContext=react__WEBPACK_IMPORTED_MODULE_0__.createContext({});function withMDXComponents(Component){return function boundMDXComponent(props){const allComponents=useMDXComponents(props.components);return react__WEBPACK_IMPORTED_MODULE_0__.createElement(Component,{...props,allComponents})}}function useMDXComponents(components){const contextComponents=react__WEBPACK_IMPORTED_MODULE_0__.useContext(MDXContext);return react__WEBPACK_IMPORTED_MODULE_0__.useMemo((()=>"function"==typeof components?components(contextComponents):{...contextComponents,...components}),[contextComponents,components])}const emptyObject={};function MDXProvider({components,children,disableParentContext}){let allComponents;return allComponents=disableParentContext?"function"==typeof components?components({}):components||emptyObject:useMDXComponents(components),react__WEBPACK_IMPORTED_MODULE_0__.createElement(MDXContext.Provider,{value:allComponents},children)}},"./src/stories/Introduction.mdx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js"),_Users_julien_dev_GitHub_bonfhir_bonfhir_node_modules_pnpm_storybook_addon_docs_7_6_10_types_react_dom_18_2_18_types_react_18_2_48_react_dom_18_2_0_react_18_2_0_node_modules_storybook_addon_docs_dist_shims_mdx_react_shim__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/.pnpm/@mdx-js+react@2.3.0_react@18.2.0/node_modules/@mdx-js/react/lib/index.js"),_storybook_blocks__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/.pnpm/@storybook+blocks@7.6.10_@types+react-dom@18.2.18_@types+react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@storybook/blocks/dist/index.mjs");function _createMdxContent(props){const _components=Object.assign({h1:"h1",p:"p",code:"code",a:"a",ul:"ul",li:"li"},(0,_Users_julien_dev_GitHub_bonfhir_bonfhir_node_modules_pnpm_storybook_addon_docs_7_6_10_types_react_dom_18_2_18_types_react_18_2_48_react_dom_18_2_0_react_18_2_0_node_modules_storybook_addon_docs_dist_shims_mdx_react_shim__WEBPACK_IMPORTED_MODULE_2__.ah)(),props.components);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_blocks__WEBPACK_IMPORTED_MODULE_3__.h_,{title:"Introduction"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h1,{id:"bonfhir-ui-components",children:"BonFHIR UI Components"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["This Storybook illustrates BonFHIR UI component library.\nAt the moment, it only render controls using the ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"ui-mantine"})," package that leverages the ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"https://mantine.dev/",target:"_blank",rel:"nofollow noopener noreferrer",children:"Mantine Component Library"}),"."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"Please take some time to explorer the available components, organized within the following categories:"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.ul,{children:["\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:["Data Display: components that show FHIR ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"https://hl7.org/fhir/datatypes.html",target:"_blank",rel:"nofollow noopener noreferrer",children:"data types"})," and ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"https://hl7.org/fhir/resourcelist.html",target:"_blank",rel:"nofollow noopener noreferrer",children:"resources"})," in a read-only fashion"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.li,{children:"Feedback: components that handle anything related to the loading / error / display / refresh lifecycle of screens"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:["Inputs: components dedicated to creating, updating and saving FHIR ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"https://hl7.org/fhir/datatypes.html",target:"_blank",rel:"nofollow noopener noreferrer",children:"data types"})," and ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"https://hl7.org/fhir/resourcelist.html",target:"_blank",rel:"nofollow noopener noreferrer",children:"resources"})]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.li,{children:"Navigation: components dedicated to the navigation around the app"}),"\n"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"Any interaction with a FHIR data source has been mocked for the purpose of focusing on the components themselves, and not the actual data."})]})}const __WEBPACK_DEFAULT_EXPORT__=function MDXContent(props={}){const{wrapper:MDXLayout}=Object.assign({},(0,_Users_julien_dev_GitHub_bonfhir_bonfhir_node_modules_pnpm_storybook_addon_docs_7_6_10_types_react_dom_18_2_18_types_react_18_2_48_react_dom_18_2_0_react_18_2_0_node_modules_storybook_addon_docs_dist_shims_mdx_react_shim__WEBPACK_IMPORTED_MODULE_2__.ah)(),props.components);return MDXLayout?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout,Object.assign({},props,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent,props)})):_createMdxContent(props)}},"../../node_modules/.pnpm/memoizerific@1.11.3/node_modules/memoizerific sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="../../node_modules/.pnpm/memoizerific@1.11.3/node_modules/memoizerific sync recursive",module.exports=webpackEmptyContext}}]); \ No newline at end of file diff --git a/Introduction-mdx.b8b6e6a4.iframe.bundle.js b/Introduction-mdx.b8b6e6a4.iframe.bundle.js deleted file mode 100644 index f2b1af2..0000000 --- a/Introduction-mdx.b8b6e6a4.iframe.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_bonfhir_storybook=self.webpackChunk_bonfhir_storybook||[]).push([[281],{"../../node_modules/.pnpm/@mdx-js+react@2.3.0_react@18.2.0/node_modules/@mdx-js/react/lib/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{NF:()=>withMDXComponents,Zo:()=>MDXProvider,ah:()=>useMDXComponents,pC:()=>MDXContext});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js");const MDXContext=react__WEBPACK_IMPORTED_MODULE_0__.createContext({});function withMDXComponents(Component){return function boundMDXComponent(props){const allComponents=useMDXComponents(props.components);return react__WEBPACK_IMPORTED_MODULE_0__.createElement(Component,{...props,allComponents})}}function useMDXComponents(components){const contextComponents=react__WEBPACK_IMPORTED_MODULE_0__.useContext(MDXContext);return react__WEBPACK_IMPORTED_MODULE_0__.useMemo((()=>"function"==typeof components?components(contextComponents):{...contextComponents,...components}),[contextComponents,components])}const emptyObject={};function MDXProvider({components,children,disableParentContext}){let allComponents;return allComponents=disableParentContext?"function"==typeof components?components({}):components||emptyObject:useMDXComponents(components),react__WEBPACK_IMPORTED_MODULE_0__.createElement(MDXContext.Provider,{value:allComponents},children)}},"./src/stories/Introduction.mdx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js"),_home_runner_work_bonfhir_bonfhir_node_modules_pnpm_storybook_addon_docs_7_6_10_types_react_dom_18_2_18_types_react_18_2_48_react_dom_18_2_0_react_18_2_0_node_modules_storybook_addon_docs_dist_shims_mdx_react_shim__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/.pnpm/@mdx-js+react@2.3.0_react@18.2.0/node_modules/@mdx-js/react/lib/index.js"),_storybook_blocks__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/.pnpm/@storybook+blocks@7.6.10_@types+react-dom@18.2.18_@types+react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@storybook/blocks/dist/index.mjs");function _createMdxContent(props){const _components=Object.assign({h1:"h1",p:"p",code:"code",a:"a",ul:"ul",li:"li"},(0,_home_runner_work_bonfhir_bonfhir_node_modules_pnpm_storybook_addon_docs_7_6_10_types_react_dom_18_2_18_types_react_18_2_48_react_dom_18_2_0_react_18_2_0_node_modules_storybook_addon_docs_dist_shims_mdx_react_shim__WEBPACK_IMPORTED_MODULE_2__.ah)(),props.components);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_blocks__WEBPACK_IMPORTED_MODULE_3__.h_,{title:"Introduction"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h1,{id:"bonfhir-ui-components",children:"BonFHIR UI Components"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["This Storybook illustrates BonFHIR UI component library.\nAt the moment, it only render controls using the ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"ui-mantine"})," package that leverages the ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"https://mantine.dev/",target:"_blank",rel:"nofollow noopener noreferrer",children:"Mantine Component Library"}),"."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"Please take some time to explorer the available components, organized within the following categories:"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.ul,{children:["\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:["Data Display: components that show FHIR ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"https://hl7.org/fhir/datatypes.html",target:"_blank",rel:"nofollow noopener noreferrer",children:"data types"})," and ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"https://hl7.org/fhir/resourcelist.html",target:"_blank",rel:"nofollow noopener noreferrer",children:"resources"})," in a read-only fashion"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.li,{children:"Feedback: components that handle anything related to the loading / error / display / refresh lifecycle of screens"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:["Inputs: components dedicated to creating, updating and saving FHIR ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"https://hl7.org/fhir/datatypes.html",target:"_blank",rel:"nofollow noopener noreferrer",children:"data types"})," and ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"https://hl7.org/fhir/resourcelist.html",target:"_blank",rel:"nofollow noopener noreferrer",children:"resources"})]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.li,{children:"Navigation: components dedicated to the navigation around the app"}),"\n"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"Any interaction with a FHIR data source has been mocked for the purpose of focusing on the components themselves, and not the actual data."})]})}const __WEBPACK_DEFAULT_EXPORT__=function MDXContent(props={}){const{wrapper:MDXLayout}=Object.assign({},(0,_home_runner_work_bonfhir_bonfhir_node_modules_pnpm_storybook_addon_docs_7_6_10_types_react_dom_18_2_18_types_react_18_2_48_react_dom_18_2_0_react_18_2_0_node_modules_storybook_addon_docs_dist_shims_mdx_react_shim__WEBPACK_IMPORTED_MODULE_2__.ah)(),props.components);return MDXLayout?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout,Object.assign({},props,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent,props)})):_createMdxContent(props)}},"../../node_modules/.pnpm/memoizerific@1.11.3/node_modules/memoizerific sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="../../node_modules/.pnpm/memoizerific@1.11.3/node_modules/memoizerific sync recursive",module.exports=webpackEmptyContext}}]); \ No newline at end of file diff --git a/data-display-FhirTable-stories.257d566d.iframe.bundle.js b/data-display-FhirTable-stories.257d566d.iframe.bundle.js deleted file mode 100644 index 5af41c5..0000000 --- a/data-display-FhirTable-stories.257d566d.iframe.bundle.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_bonfhir_storybook=self.webpackChunk_bonfhir_storybook||[]).push([[945],{"../../node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/objectSpread2.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function toPropertyKey(t){var i=function toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==_typeof(i)?i:String(i)}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread2(e){for(var r=1;r_objectSpread2})},"./src/stories/data-display/FhirTable.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Default:()=>Default,WithPagination:()=>WithPagination,__namedExportsOrder:()=>__namedExportsOrder,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _home_runner_work_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_8_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("../../node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),_bonfhir_query_r5__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../packages/query/dist/r5/esm/index.mjs"),_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../packages/react/dist/r5/esm/index.mjs"),_mantine_core__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("../../node_modules/.pnpm/@mantine+core@7.4.2_@mantine+hooks@7.4.2_@types+react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mantine/core/esm/components/Stack/Stack.mjs"),react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js"),_helpers__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./src/stories/helpers.ts"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js");const __WEBPACK_DEFAULT_EXPORT__={title:"Data Display/FhirTable",component:_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_1__.Wq,tags:["autodocs"],args:{},argTypes:{columns:{control:"object"}},parameters:{docs:{description:{component:"Renders a table of resources\n\nSee https://bonfhir.dev/packages/react/components/fhir-table for more information."}}}};var Default={args:{columns:[{key:"name",title:"Name",sortable:!0,render:function render(row){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_1__.Zr,{type:"string",value:row.name})}},{key:"_lastUpdated",title:"Last Updated",sortable:!0,render:function render(row){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_1__.Zr,{type:"instant",value:row.meta.lastUpdated})}}]},render:function render(props){return(0,react__WEBPACK_IMPORTED_MODULE_2__.createElement)((function(){var searchController=(0,_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_1__.Sm)({pageSize:20,defaultSort:"name",defaultSearch:{name:void 0}}),organizationsQuery=(0,_bonfhir_query_r5__WEBPACK_IMPORTED_MODULE_0__.cm)("Organization",(function(search){var _searchController$sea;return search.name(null===(_searchController$sea=searchController.search)||void 0===_searchController$sea?void 0:_searchController$sea.name)._sort(searchController.sort)._count(searchController.pageSize)._total("accurate")}),searchController.pageUrl);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_1__.Wq,(0,_home_runner_work_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_8_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_home_runner_work_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_8_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_home_runner_work_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_8_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({onRowNavigate:function onRowNavigate(org){return alert("Clicked on ".concat(org.name))}},(0,_helpers__WEBPACK_IMPORTED_MODULE_5__.f)(props)),searchController),organizationsQuery))}))}},WithPagination={args:{columns:[{key:"name",title:"Name",sortable:!0,render:function render(row){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_1__.Zr,{type:"string",value:row.name})}},{key:"_lastUpdated",title:"Last Updated",sortable:!0,render:function render(row){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_1__.Zr,{type:"instant",value:row.meta.lastUpdated})}}]},render:function render(props){return(0,react__WEBPACK_IMPORTED_MODULE_2__.createElement)((function(){var searchController=(0,_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_1__.Sm)({pageSize:20,defaultSort:"name",defaultSearch:{name:void 0}}),organizationsQuery=(0,_bonfhir_query_r5__WEBPACK_IMPORTED_MODULE_0__.cm)("Organization",(function(search){var _searchController$sea2;return search.name(null===(_searchController$sea2=searchController.search)||void 0===_searchController$sea2?void 0:_searchController$sea2.name)._sort(searchController.sort)._count(searchController.pageSize)._total("accurate")}),searchController.pageUrl);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_mantine_core__WEBPACK_IMPORTED_MODULE_6__.K,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_1__.Wq,(0,_home_runner_work_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_8_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_home_runner_work_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_8_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_home_runner_work_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_8_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({onRowNavigate:function onRowNavigate(org){return alert("Clicked on ".concat(org.name))}},(0,_helpers__WEBPACK_IMPORTED_MODULE_5__.f)(props)),searchController),organizationsQuery)),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_1__.vl,(0,_home_runner_work_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_8_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_home_runner_work_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_8_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},organizationsQuery),searchController))]})}))}};Default.parameters={...Default.parameters,docs:{...Default.parameters?.docs,source:{originalSource:'{\n args: {\n columns: [{\n key: "name",\n title: "Name",\n sortable: true,\n render: (row: Retrieved) => \n }, {\n key: "_lastUpdated",\n title: "Last Updated",\n sortable: true,\n render: (row: Retrieved) => \n }]\n },\n render: (props: any) => createElement(() => {\n const searchController = useFhirSearchController({\n pageSize: 20,\n defaultSort: "name",\n defaultSearch: {\n name: undefined\n }\n });\n const organizationsQuery = useFhirSearch("Organization", search => search.name(searchController.search?.name)._sort(searchController.sort)._count(searchController.pageSize)._total("accurate"), searchController.pageUrl);\n return ) => alert(`Clicked on ${org.name}`)} {...buildArgs(props)} {...searchController} {...organizationsQuery} />;\n })\n}',...Default.parameters?.docs?.source}}},WithPagination.parameters={...WithPagination.parameters,docs:{...WithPagination.parameters?.docs,source:{originalSource:'{\n args: {\n columns: [{\n key: "name",\n title: "Name",\n sortable: true,\n render: (row: Retrieved) => \n }, {\n key: "_lastUpdated",\n title: "Last Updated",\n sortable: true,\n render: (row: Retrieved) => \n }]\n },\n render: (props: any) => createElement(() => {\n const searchController = useFhirSearchController({\n pageSize: 20,\n defaultSort: "name",\n defaultSearch: {\n name: undefined\n }\n });\n const organizationsQuery = useFhirSearch("Organization", search => search.name(searchController.search?.name)._sort(searchController.sort)._count(searchController.pageSize)._total("accurate"), searchController.pageUrl);\n return \n ) => alert(`Clicked on ${org.name}`)} {...buildArgs(props)} {...searchController} {...organizationsQuery} />\n \n ;\n })\n}',...WithPagination.parameters?.docs?.source}}};const __namedExportsOrder=["Default","WithPagination"]},"./src/stories/helpers.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{function buildArgs(props){var result={};for(var key in props)for(var value=props[key],keys=key.split("."),currentObj=result,i=0;ibuildArgs})}}]); \ No newline at end of file diff --git a/data-display-FhirTable-stories.ac0939c5.iframe.bundle.js b/data-display-FhirTable-stories.ac0939c5.iframe.bundle.js new file mode 100644 index 0000000..da27110 --- /dev/null +++ b/data-display-FhirTable-stories.ac0939c5.iframe.bundle.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_bonfhir_storybook=self.webpackChunk_bonfhir_storybook||[]).push([[945],{"../../node_modules/.pnpm/@babel+runtime@7.23.6/node_modules/@babel/runtime/helpers/esm/objectSpread2.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function toPropertyKey(t){var i=function toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==_typeof(i)?i:String(i)}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread2(e){for(var r=1;r_objectSpread2})},"./src/stories/data-display/FhirTable.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Default:()=>Default,WithPagination:()=>WithPagination,__namedExportsOrder:()=>__namedExportsOrder,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _Users_julien_dev_GitHub_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_6_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("../../node_modules/.pnpm/@babel+runtime@7.23.6/node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),_bonfhir_query_r5__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../packages/query/dist/r5/esm/index.mjs"),_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../packages/react/dist/r5/esm/index.mjs"),_mantine_core__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("../../node_modules/.pnpm/@mantine+core@7.4.2_@mantine+hooks@7.4.2_@types+react@18.2.48_react-dom@18.2.0_react@18.2.0/node_modules/@mantine/core/esm/components/Stack/Stack.mjs"),react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js"),_helpers__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./src/stories/helpers.ts"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js");const __WEBPACK_DEFAULT_EXPORT__={title:"Data Display/FhirTable",component:_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_1__.Wq,tags:["autodocs"],args:{},argTypes:{columns:{control:"object"}},parameters:{docs:{description:{component:"Renders a table of resources\n\nSee https://bonfhir.dev/packages/react/components/fhir-table for more information."}}}};var Default={args:{columns:[{key:"name",title:"Name",sortable:!0,render:function render(row){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_1__.Zr,{type:"string",value:row.name})}},{key:"_lastUpdated",title:"Last Updated",sortable:!0,render:function render(row){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_1__.Zr,{type:"instant",value:row.meta.lastUpdated})}}]},render:function render(props){return(0,react__WEBPACK_IMPORTED_MODULE_2__.createElement)((function(){var searchController=(0,_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_1__.Sm)({pageSize:20,defaultSort:"name",defaultSearch:{name:void 0}}),organizationsQuery=(0,_bonfhir_query_r5__WEBPACK_IMPORTED_MODULE_0__.cm)("Organization",(function(search){var _searchController$sea;return search.name(null===(_searchController$sea=searchController.search)||void 0===_searchController$sea?void 0:_searchController$sea.name)._sort(searchController.sort)._count(searchController.pageSize)._total("accurate")}),searchController.pageUrl);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_1__.Wq,(0,_Users_julien_dev_GitHub_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_6_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_Users_julien_dev_GitHub_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_6_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_Users_julien_dev_GitHub_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_6_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({onRowNavigate:function onRowNavigate(org){return alert("Clicked on ".concat(org.name))}},(0,_helpers__WEBPACK_IMPORTED_MODULE_5__.f)(props)),searchController),organizationsQuery))}))}},WithPagination={args:{columns:[{key:"name",title:"Name",sortable:!0,render:function render(row){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_1__.Zr,{type:"string",value:row.name})}},{key:"_lastUpdated",title:"Last Updated",sortable:!0,render:function render(row){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_1__.Zr,{type:"instant",value:row.meta.lastUpdated})}}]},render:function render(props){return(0,react__WEBPACK_IMPORTED_MODULE_2__.createElement)((function(){var searchController=(0,_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_1__.Sm)({pageSize:20,defaultSort:"name",defaultSearch:{name:void 0}}),organizationsQuery=(0,_bonfhir_query_r5__WEBPACK_IMPORTED_MODULE_0__.cm)("Organization",(function(search){var _searchController$sea2;return search.name(null===(_searchController$sea2=searchController.search)||void 0===_searchController$sea2?void 0:_searchController$sea2.name)._sort(searchController.sort)._count(searchController.pageSize)._total("accurate")}),searchController.pageUrl);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_mantine_core__WEBPACK_IMPORTED_MODULE_6__.K,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_1__.Wq,(0,_Users_julien_dev_GitHub_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_6_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_Users_julien_dev_GitHub_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_6_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_Users_julien_dev_GitHub_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_6_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({onRowNavigate:function onRowNavigate(org){return alert("Clicked on ".concat(org.name))}},(0,_helpers__WEBPACK_IMPORTED_MODULE_5__.f)(props)),searchController),organizationsQuery)),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_1__.vl,(0,_Users_julien_dev_GitHub_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_6_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_Users_julien_dev_GitHub_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_6_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},organizationsQuery),searchController))]})}))}};Default.parameters={...Default.parameters,docs:{...Default.parameters?.docs,source:{originalSource:'{\n args: {\n columns: [{\n key: "name",\n title: "Name",\n sortable: true,\n render: (row: Retrieved) => \n }, {\n key: "_lastUpdated",\n title: "Last Updated",\n sortable: true,\n render: (row: Retrieved) => \n }]\n },\n render: (props: any) => createElement(() => {\n const searchController = useFhirSearchController({\n pageSize: 20,\n defaultSort: "name",\n defaultSearch: {\n name: undefined\n }\n });\n const organizationsQuery = useFhirSearch("Organization", search => search.name(searchController.search?.name)._sort(searchController.sort)._count(searchController.pageSize)._total("accurate"), searchController.pageUrl);\n return ) => alert(`Clicked on ${org.name}`)} {...buildArgs(props)} {...searchController} {...organizationsQuery} />;\n })\n}',...Default.parameters?.docs?.source}}},WithPagination.parameters={...WithPagination.parameters,docs:{...WithPagination.parameters?.docs,source:{originalSource:'{\n args: {\n columns: [{\n key: "name",\n title: "Name",\n sortable: true,\n render: (row: Retrieved) => \n }, {\n key: "_lastUpdated",\n title: "Last Updated",\n sortable: true,\n render: (row: Retrieved) => \n }]\n },\n render: (props: any) => createElement(() => {\n const searchController = useFhirSearchController({\n pageSize: 20,\n defaultSort: "name",\n defaultSearch: {\n name: undefined\n }\n });\n const organizationsQuery = useFhirSearch("Organization", search => search.name(searchController.search?.name)._sort(searchController.sort)._count(searchController.pageSize)._total("accurate"), searchController.pageUrl);\n return \n ) => alert(`Clicked on ${org.name}`)} {...buildArgs(props)} {...searchController} {...organizationsQuery} />\n \n ;\n })\n}',...WithPagination.parameters?.docs?.source}}};const __namedExportsOrder=["Default","WithPagination"]},"./src/stories/helpers.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{function buildArgs(props){var result={};for(var key in props)for(var value=props[key],keys=key.split("."),currentObj=result,i=0;ibuildArgs})}}]); \ No newline at end of file diff --git a/data-display-FhirValue-stories.3dc6abfd.iframe.bundle.js b/data-display-FhirValue-stories.3dc6abfd.iframe.bundle.js deleted file mode 100644 index 6aba129..0000000 --- a/data-display-FhirValue-stories.3dc6abfd.iframe.bundle.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_bonfhir_storybook=self.webpackChunk_bonfhir_storybook||[]).push([[578],{"../../node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/objectSpread2.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function toPropertyKey(t){var i=function toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==_typeof(i)?i:String(i)}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread2(e){for(var r=1;r_objectSpread2})},"./src/stories/data-display/FhirValue.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Address:()=>Address,Age:()=>Age,Boolean:()=>Boolean,Canonical:()=>Canonical,Code:()=>Code,CodeableConcept:()=>CodeableConcept,Coding:()=>Coding,ContactPoint:()=>ContactPoint,Count:()=>Count,Date:()=>Date,DateTime:()=>DateTime,Decimal:()=>Decimal,Default:()=>Default,Distance:()=>Distance,Duration:()=>Duration,HumanName:()=>HumanName,Id:()=>Id,Identifier:()=>Identifier,Instant:()=>Instant,Integer:()=>Integer,Integer64:()=>Integer64,Markdown:()=>Markdown,Money:()=>Money,Oid:()=>Oid,Period:()=>Period,PositiveInt:()=>PositiveInt,Quantity:()=>Quantity,Range:()=>Range,Ratio:()=>Ratio,RatioRange:()=>RatioRange,Reference:()=>Reference,String:()=>String,Time:()=>Time,UnsignedInt:()=>UnsignedInt,Uri:()=>Uri,Url:()=>Url,Uuid:()=>Uuid,__namedExportsOrder:()=>__namedExportsOrder,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _home_runner_work_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_8_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),_bonfhir_core_r5__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../packages/core/dist/r5/esm/index.mjs"),_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../packages/react/dist/r5/esm/index.mjs"),_helpers__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/stories/helpers.ts"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js");const __WEBPACK_DEFAULT_EXPORT__={title:"Data Display/FhirValue",component:_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_1__.Zr,tags:["autodocs"],argTypes:{type:{control:"select",description:"The FHIR type to render. Will influence the value type and/or the options available.",options:["Address","Age","boolean","canonical","code","ContactPoint","Count","date","dateTime","decimal","Distance","Duration","HumanName","id","Identifier","instant","integer","markdown","Money","oid","Period","positiveInt","Quantity","Range","Ratio","Reference","SampledData","string","time","Timing","unsignedInt","uri","url","uuid"]},options:{table:{disable:!0}},"options.default":{control:"text",description:"Default value to display when value is empty or undefined"},"options.decorator":{control:"text",description:"If the result of the formatter is truthy, this will decorate the result. Use {} as the placeholder for the result of the formatter."},"rendererProps.text.fz":{control:"select",description:"[Mantine] The text size",options:["xs","sm","md","lg","xl"]},"rendererProps.text.fw":{control:"number",description:"[Mantine] The text weight"},"rendererProps.text.c":{control:"text",description:"[Mantine] The text color"},"rendererProps.text.tt":{control:"select",options:["capitalize","uppercase","lowercase"],description:"[Mantine] The text transform"}},render:function render(props){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_1__.Zr,(0,_home_runner_work_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_8_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},(0,_helpers__WEBPACK_IMPORTED_MODULE_4__.f)(props)))},parameters:{docs:{description:{component:"Renders [FHIR data types](https://hl7.org/fhir/datatypes.html) as string using the core formatter.\n\nSee https://bonfhir.dev/packages/react/components/fhir-value for more information."}}}};var Default={args:{type:"string",value:"Hello, world!"}},Address={args:{type:"Address",value:[{use:"home",line:["123 Main St"],city:"Anytown",country:"US",postalCode:"12345",state:"CA"}]},argTypes:{value:{control:"object",description:"An address or a list of addresses"},"options.defaultCountry":{control:"text",description:"Specify the default country to use for addresses that do not have the country info."},"options.includeCountry":{control:"boolean",description:"Whether the country should be happened at the end of the address or not. Defaults to false."},"options.preferText":{control:"boolean",description:"True to use text if present, false to never use text - defaults to true"},"options.style":{control:"select",description:"The style of address to render",options:["standard","full","extended"]},"options.useFilterOrder":{control:"object",description:"When using a list of values: the sort order for the use attribute and the filter to select only specific values. Defaults to [home, work, billing, temp, old, undefined]"},"options.typeValueSetExpansions":{control:"object",description:"Expansions to use for the type code"},"options.useValueSetExpansions":{control:"object",description:"Expansions to use for the use code"},"options.lineSeparator":{control:"text",description:'The separator to use to join formatted line addresses. Defaults to ", "'},"options.listFormatOptions":{control:"object",description:"When using a list of values, the options to pass to the Intl listFormat method."},"options.max":{control:"number",description:"When using a list of values, format only the first n (after sorting). Default to Infinity to show all values."}}},Age={args:{type:"Age",value:{code:"a",unit:"years",system:"http://unitsofmeasure.org",value:10}},argTypes:{"options.expansions":{control:"object",description:"The ValueSet expansion to use for the code"},"options.notation":{control:"select",options:["standard","scientific","engineering","compact-short","compact-long",void 0],description:"The notation to use for the value"},"options.separator":{control:"text",description:'Between the number of the unit. Default to " "'}}},Boolean={args:{type:"boolean",value:!0},argTypes:{"options.labels.true":{control:"text",description:"The label to use for true"},"options.labels.false":{control:"text",description:"The label to use for false"},"options.labels.nil":{control:"text",description:"The label to use for null or undefined"}}},Canonical={args:{type:"canonical",value:"http://acme.org"}},Code={args:{type:"code",value:"female"},argTypes:{"options.expansions":{control:"object",description:"The ValueSet expansion to use for the code"}}},CodeableConcept={args:{type:"CodeableConcept",value:(0,_bonfhir_core_r5__WEBPACK_IMPORTED_MODULE_0__.WNW)({code:"I",system:"http://terminology.hl7.org/CodeSystem/v2-0131",display:"Federal Agency"})},argTypes:{"options.expansions":{control:"object",description:"The ValueSet expansion to use for the code"},"options.style":{control:"select",options:["code","display","code-display","display-code",void 0]},"options.includeSystem":{control:"boolean"},"options.preferText":{control:"boolean",description:"True to use text if present, false to never use text - defaults to true"},"options.listFormatOptions":{control:"object",description:"WThe options to pass to the Intl listFormat method when there are multiple codings."}}},Coding={args:{type:"Coding",value:{system:"http://loinc.org",code:"15074-8",display:"Glucose [Moles/volume] in Blood"}},argTypes:{"options.expansions":{control:"object",description:"The ValueSet expansion to use for the code"},"options.style":{control:"select",options:["code","display","code-display","display-code",void 0]},"options.includeSystem":{control:"boolean"}}},ContactPoint={args:{type:"ContactPoint",value:[{system:"phone",value:"(03) 5555 6473",use:"work",rank:1},{system:"phone",value:"(03) 3410 5613",use:"mobile",rank:2}]},argTypes:{"options.style":{control:"select",options:["full","long","medium","short",void 0]},"options.lineSeparator":{control:"text",description:'The separator to use to join formatted contact point. Defaults to ", "'},"options.max":{control:"number",description:"When using a list of values, format only the first n (after sorting). Default to Infinity to show all values."},"options.useFilterOrder":{control:"object",description:"When using a list of values: the sort order for the use attribute and the filter to select only specific values. Defaults to [home, work, temp, old, mobile, undefined]"},"options.listFormatOptions":{control:"object",description:"When using a list of values, the options to pass to the Intl listFormat method."},"options.systemExpansions":{control:"object",description:"The ValueSet expansion to use for the system"},"options.useExpansions":{control:"object",description:"The ValueSet expansion to use for the use"}}},Count={args:{type:"Count",value:{value:10}},argTypes:{"options.expansions":{control:"object",description:"The ValueSet expansion to use for the code"},"options.notation":{control:"select",options:["standard","scientific","engineering","compact-short","compact-long",void 0],description:"The notation to use for the value"},"options.separator":{control:"text",description:'Between the number of the unit. Default to " "'}}},DateTime={args:{type:"dateTime",value:(0,_bonfhir_core_r5__WEBPACK_IMPORTED_MODULE_0__.zOc)()},argTypes:{"options.dateStyle":{control:"select",options:["full","long","medium","short","relative",null,void 0]},"options.timeStyle":{control:"select",options:["full","long","medium","short",null,void 0]},"options.relativeStyle":{control:"select",options:["long","short",null,void 0]},"options.relativeTo":{control:"text",description:"From when the relative computation happen - defaults to now."}}},Date={args:{type:"date",value:(0,_bonfhir_core_r5__WEBPACK_IMPORTED_MODULE_0__.LgZ)()},argTypes:{"options.dateStyle":{control:"select",options:["full","long","medium","short","relative",null,void 0]},"options.relativeStyle":{control:"select",options:["long","short",null,void 0]},"options.relativeTo":{control:"text",description:"From when the relative computation happen - defaults to now."}}},Decimal={args:{type:"decimal",value:Math.PI},argTypes:{"options.notation":{control:"select",options:["standard","scientific","engineering","compact-short","compact-long",void 0],description:"The notation to use for the value"}}},Distance={args:{type:"Distance",value:{code:"m",unit:"m",system:"http://unitsofmeasure.org",value:10}},argTypes:{"options.expansions":{control:"object",description:"The ValueSet expansion to use for the code"},"options.notation":{control:"select",options:["standard","scientific","engineering","compact-short","compact-long",void 0],description:"The notation to use for the value"},"options.separator":{control:"text",description:'Between the number of the unit. Default to " "'}}},Duration={args:{type:"Duration",value:{code:"min",unit:"min",system:"http://unitsofmeasure.org",value:15}},argTypes:{"options.expansions":{control:"object",description:"The ValueSet expansion to use for the code"},"options.notation":{control:"select",options:["standard","scientific","engineering","compact-short","compact-long",void 0],description:"The notation to use for the value"},"options.separator":{control:"text",description:'Between the number of the unit. Default to " "'}}},HumanName={args:{type:"HumanName",value:[{use:"official",family:"Chalmers",given:["Peter","James"]},{use:"usual",given:["Jim"]},{use:"maiden",family:"Windsor",given:["Peter","James"],period:{end:"2002"}}]},argTypes:{"options.style":{control:"select",options:["full","long","medium","standard","short","shorter",void 0]},"options.template":{control:"text",description:"Template string used to format the name."},"options.preferText":{control:"boolean",description:"True to use text if present, false to never use text - defaults to true"},"options.includeUse":{control:"boolean",description:"Whether we should include the use or not. Defaults to false"},"options.useFilterOrder":{control:"object",description:"When using a list of values: the sort order for the use attribute and the filter to select only specific values. Defaults to [usual, official, temp, nickname, anonymous, old, maiden, undefined]"},"options.max":{control:"number",description:"When using a list of values, format only the first n (after sorting). Default to Infinity to show all values."},"options.listFormatOptions":{control:"object",description:"When using a list of values, the options to pass to the Intl listFormat method."},"options.expansions":{control:"object",description:"Expansions to use for the type use"}}},Id={args:{type:"id",value:"f84a844c-888b-4330-97e6-a891ef285577"}},Identifier={args:{type:"Identifier",value:[{system:"http://hl7.org/fhir/sid/us-ssn",type:{coding:[{code:"SS",display:"Social Security Number",system:"http://terminology.hl7.org/CodeSystem/v2-0203"}],text:"Social Security Number"},value:"999-81-1155"},{system:"https://github.com/synthetichealth/synthea",value:"91e630a6-05e9-4ada-9a8e-7d2d1eb22d82"},{system:"http://hospital.smarthealthit.org",type:{coding:[{code:"MR",display:"Medical Record Number",system:"http://terminology.hl7.org/CodeSystem/v2-0203"}],text:"Medical Record Number"},value:"91e630a6-05e9-4ada-9a8e-7d2d1eb22d82"},{system:"urn:oid:2.16.840.1.113883.4.3.25",type:{coding:[{code:"DL",display:"Driver's License",system:"http://terminology.hl7.org/CodeSystem/v2-0203"}],text:"Driver's License"},value:"S99941325"},{system:"http://standardhealthrecord.org/fhir/StructureDefinition/passportNumber",type:{coding:[{code:"PPN",display:"Passport Number",system:"http://terminology.hl7.org/CodeSystem/v2-0203"}],text:"Passport Number"},value:"X72769294X"}]},argTypes:{"options.style":{control:"select",options:["full","long","medium","short","value",void 0]},"options.systemsLabels":{control:"object",description:"A dictionary of system as key, and system labels as value"},"options.useFilterOrder":{control:"object",description:"When using a list of values: the sort order for the use attribute and the filter to select only specific values. Defaults to [usual, official, temp, secondary, old, undefined]"},"options.systemFilterOrder":{control:"object",description:"When using a list of values: the sort order for the use attribute and the filter to select only specific values. No default (no order and none filtered out)"},"options.max":{control:"number",description:"When using a list of values, format only the first n (after sorting). Default to Infinity to show all values."},"options.listFormatOptions":{control:"object",description:"When using a list of values, the options to pass to the Intl listFormat method."},"options.expansions":{control:"object",description:"Expansions to use for the type use"}}},Instant={args:{type:"instant",value:(0,_bonfhir_core_r5__WEBPACK_IMPORTED_MODULE_0__.zOc)()},argTypes:{"options.dateStyle":{control:"select",options:["full","long","medium","short","relative",null,void 0]},"options.timeStyle":{control:"select",options:["full","long","medium","short",null,void 0]},"options.relativeStyle":{control:"select",options:["long","short",null,void 0]},"options.relativeTo":{control:"text",description:"From when the relative computation happen - defaults to now."}}},Integer={args:{type:"decimal",value:42},argTypes:{"options.notation":{control:"select",options:["standard","scientific","engineering","compact-short","compact-long",void 0],description:"The notation to use for the value"}}},Integer64={args:{type:"integer64",value:"42"},argTypes:{"options.notation":{control:"select",options:["standard","scientific","engineering","compact-short","compact-long",void 0],description:"The notation to use for the value"}}},Markdown={args:{type:"markdown",value:'\n ---\n__Advertisement :)__\n\n- __[pica](https://nodeca.github.io/pica/demo/)__ - high quality and fast image\n resize in browser.\n- __[babelfish](https://github.com/nodeca/babelfish/)__ - developer friendly\n i18n with plurals support and easy syntax.\n\nYou will like those projects!\n\n---\n\n# h1 Heading 8-)\n## h2 Heading\n### h3 Heading\n#### h4 Heading\n##### h5 Heading\n###### h6 Heading\n\n\n## Horizontal Rules\n\n___\n\n---\n\n***\n\n\n## Typographic replacements\n\nEnable typographer option to see result.\n\n(c) (C) (r) (R) (tm) (TM) (p) (P) +-\n\ntest.. test... test..... test?..... test!....\n\n!!!!!! ???? ,, -- ---\n\n"Smartypants, double quotes" and \'single quotes\'\n\n\n## Emphasis\n\n**This is bold text**\n\n__This is bold text__\n\n*This is italic text*\n\n_This is italic text_\n\n~~Strikethrough~~\n\n\n## Blockquotes\n\n\n> Blockquotes can also be nested...\n>> ...by using additional greater-than signs right next to each other...\n> > > ...or with spaces between arrows.\n\n\n## Lists\n\nUnordered\n\n+ Create a list by starting a line with `+`, `-`, or `*`\n+ Sub-lists are made by indenting 2 spaces:\n - Marker character change forces new list start:\n * Ac tristique libero volutpat at\n + Facilisis in pretium nisl aliquet\n - Nulla volutpat aliquam velit\n+ Very easy!\n\nOrdered\n\n1. Lorem ipsum dolor sit amet\n2. Consectetur adipiscing elit\n3. Integer molestie lorem at massa\n\n\n1. You can use sequential numbers...\n1. ...or keep all the numbers as `1.`\n\nStart numbering with offset:\n\n57. foo\n1. bar\n\n\n## Code\n\nInline `code`\n\nIndented code\n\n // Some comments\n line 1 of code\n line 2 of code\n line 3 of code\n\n\nBlock code "fences"\n\n```\nSample text here...\n```\n\nSyntax highlighting\n\n``` js\nvar foo = function (bar) {\n return bar++;\n};\n\nconsole.log(foo(5));\n```\n\n## Tables\n\n| Option | Description |\n| ------ | ----------- |\n| data | path to data files to supply the data that will be passed into templates. |\n| engine | engine to be used for processing templates. Handlebars is the default. |\n| ext | extension to be used for dest files. |\n\nRight aligned columns\n\n| Option | Description |\n| ------:| -----------:|\n| data | path to data files to supply the data that will be passed into templates. |\n| engine | engine to be used for processing templates. Handlebars is the default. |\n| ext | extension to be used for dest files. |\n\n\n## Links\n\n[link text](http://dev.nodeca.com)\n\n[link with title](http://nodeca.github.io/pica/demo/ "title text!")\n\nAutoconverted link https://github.com/nodeca/pica (enable linkify to see)\n\n\n## Images\n\n![Minion](https://octodex.github.com/images/minion.png)\n![Stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")\n\nLike links, Images also have a footnote style syntax\n\n![Alt text][id]\n\nWith a reference later in the document defining the URL location:\n\n[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat"\n\n\n## Plugins\n\nThe killer feature of `markdown-it` is very effective support of\n[syntax plugins](https://www.npmjs.org/browse/keyword/markdown-it-plugin).\n\n\n### [Emojies](https://github.com/markdown-it/markdown-it-emoji)\n\n> Classic markup: :wink: :crush: :cry: :tear: :laughing: :yum:\n>\n> Shortcuts (emoticons): :-) :-( 8-) ;)\n\nsee [how to change output](https://github.com/markdown-it/markdown-it-emoji#change-output) with twemoji.\n\n\n### [Subscript](https://github.com/markdown-it/markdown-it-sub) / [Superscript](https://github.com/markdown-it/markdown-it-sup)\n\n- 19^th^\n- H~2~O\n\n\n### [](https://github.com/markdown-it/markdown-it-ins)\n\n++Inserted text++\n\n\n### [](https://github.com/markdown-it/markdown-it-mark)\n\n==Marked text==\n\n\n### [Footnotes](https://github.com/markdown-it/markdown-it-footnote)\n\nFootnote 1 link[^first].\n\nFootnote 2 link[^second].\n\nInline footnote^[Text of inline footnote] definition.\n\nDuplicated footnote reference[^second].\n\n[^first]: Footnote **can have markup**\n\n and multiple paragraphs.\n\n[^second]: Footnote text.\n\n\n### [Definition lists](https://github.com/markdown-it/markdown-it-deflist)\n\nTerm 1\n\n: Definition 1\nwith lazy continuation.\n\nTerm 2 with *inline markup*\n\n: Definition 2\n\n { some code, part of Definition 2 }\n\n Third paragraph of definition 2.\n\n_Compact style:_\n\nTerm 1\n ~ Definition 1\n\nTerm 2\n ~ Definition 2a\n ~ Definition 2b\n\n\n### [Abbreviations](https://github.com/markdown-it/markdown-it-abbr)\n\nThis is HTML abbreviation example.\n\nIt converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on.\n\n*[HTML]: Hyper Text Markup Language\n\n### [Custom containers](https://github.com/markdown-it/markdown-it-container)\n\n::: warning\n*here be dragons*\n:::\n\n ',options:{style:"html"}},argTypes:{"options.style":{control:"select",options:["original","bareString","html",null,void 0]}}},Money={args:{type:"Money",value:{value:40,currency:"USD"}},argTypes:{"options.currencyDisplay":{control:"select",options:["symbol","narrowSymbol","code","name",void 0]},"options.currencySign":{control:"select",options:["accounting","standard",void 0]},"options.notation":{control:"select",options:["standard","scientific","engineering","compact-short","compact-long",void 0],description:"The notation to use for the value"}}},Oid={args:{type:"oid",value:"urn:oid:1.2.3.4.5"}},Period={args:{type:"Period",value:{start:"2001-05-06",end:"2002-01-10"}},argTypes:{"options.dateStyle":{control:"select",options:["full","long","medium","short","relative",null,void 0]},"options.timeStyle":{control:"select",options:["full","long","medium","short",null,void 0]},"options.relativeStyle":{control:"select",options:["long","short",null,void 0]},"options.relativeTo":{control:"text",description:"From when the relative computation happen - defaults to now."}}},PositiveInt={args:{type:"positiveInt",value:42},argTypes:{"options.notation":{control:"select",options:["standard","scientific","engineering","compact-short","compact-long",void 0],description:"The notation to use for the value"}}},Quantity={args:{type:"Quantity",value:{value:"40000",comparator:">",unit:"ug/L",system:"http://unitsofmeasure.org",code:"ug"}},argTypes:{"options.expansions":{control:"object",description:"The ValueSet expansion to use for the code"},"options.notation":{control:"select",options:["standard","scientific","engineering","compact-short","compact-long",void 0],description:"The notation to use for the value"},"options.separator":{control:"text",description:'Between the number of the unit. Default to " "'}}},Range={args:{type:"Range",value:{low:{value:"1.6",unit:"m"},high:{value:"1.9",unit:"m"}}},argTypes:{"options.expansions":{control:"object",description:"The ValueSet expansion to use for the code"},"options.notation":{control:"select",options:["standard","scientific","engineering","compact-short","compact-long",void 0],description:"The notation to use for the value"},"options.quantitySeparator":{control:"text",description:'Between the number of the unit. Default to " "'},"options.rangeSeparator":{control:"text",description:'Default to "…"'}}},RatioRange={args:{type:"RatioRange",value:{lowNumerator:{value:103.5,unit:"US$",code:"USD",system:"urn:iso:std:iso:4217"},highNumerator:{value:210.99,unit:"US$",code:"USD",system:"urn:iso:std:iso:4217"},denominator:{value:1,unit:"day",code:"day",system:"http://unitsofmeasure.org"}}},argTypes:{"options.numeratorExpansions":{control:"object",description:"The ValueSet expansion to use for the numerator"},"options.denominatorExpansions":{control:"object",description:"The ValueSet expansion to use for the numerator"},"options.notation":{control:"select",options:["standard","scientific","engineering","compact-short","compact-long",void 0],description:"The notation to use for the value"},"options.quantitySeparator":{control:"text",description:'Between the number of the unit. Default to " "'},"options.rangeSeparator":{control:"text",description:'Default to "…"'},"options.denominatorSeparator":{control:"text"},"options.reduceSingleDenominator":{control:"boolean",description:"If set to true, denominator with a value of 1 will not output the value. e.g. 15 g / 1 ml => 13 g/ml"}}},Ratio={args:{type:"Ratio",value:{numerator:{value:103.5,unit:"US$",code:"USD",system:"urn:iso:std:iso:4217"},denominator:{value:1,unit:"day",code:"day",system:"http://unitsofmeasure.org"}}},argTypes:{"options.numeratorExpansions":{control:"object",description:"The ValueSet expansion to use for the numerator"},"options.denominatorExpansions":{control:"object",description:"The ValueSet expansion to use for the numerator"},"options.notation":{control:"select",options:["standard","scientific","engineering","compact-short","compact-long",void 0],description:"The notation to use for the value"},"options.quantitySeparator":{control:"text",description:'Between the number of the unit. Default to " "'},"options.denominatorSeparator":{control:"text"},"options.reduceSingleDenominator":{control:"boolean",description:"If set to true, denominator with a value of 1 will not output the value. e.g. 15 g / 1 ml => 13 g/ml"}}},Reference={args:{type:"Reference",value:{reference:"Patient/123",type:"Patient",display:"John Doe"}}},String={args:{type:"string",value:"Hello, world!"},argTypes:{"options.truncate.length":{control:"number",description:"The maximum string length"},"options.truncate.separator":{control:"text",description:"The separator pattern to truncate to."},"options.truncate.suffix":{control:"text",description:'The string to indicate text is omitted. Defaults to "..."'}}},Time={args:{type:"time",value:"11:30:00"},argTypes:{"options.timeStyle":{control:"select",options:["full","long","medium","short",null,void 0]}}},UnsignedInt={args:{type:"unsignedInt",value:42},argTypes:{"options.notation":{control:"select",options:["standard","scientific","engineering","compact-short","compact-long",void 0],description:"The notation to use for the value"}}},Uri={args:{type:"uri",value:"https://hl7.org/fhir"}},Url={args:{type:"url",value:"https://hl7.org/fhir"}},Uuid={args:{type:"uuid",value:"urn:uuid:c757873d-ec9a-4326-a141-556f43239520"}};Default.parameters={...Default.parameters,docs:{...Default.parameters?.docs,source:{originalSource:'{\n args: {\n type: "string",\n value: "Hello, world!"\n }\n}',...Default.parameters?.docs?.source}}},Address.parameters={...Address.parameters,docs:{...Address.parameters?.docs,source:{originalSource:'{\n args: {\n type: "Address",\n value: [{\n use: "home",\n line: ["123 Main St"],\n city: "Anytown",\n country: "US",\n postalCode: "12345",\n state: "CA"\n }]\n },\n argTypes: {\n value: {\n control: "object",\n description: "An address or a list of addresses"\n },\n "options.defaultCountry": {\n control: "text",\n description: "Specify the default country to use for addresses that do not have the country info."\n },\n "options.includeCountry": {\n control: "boolean",\n description: "Whether the country should be happened at the end of the address or not. Defaults to false."\n },\n "options.preferText": {\n control: "boolean",\n description: "True to use text if present, false to never use text - defaults to true"\n },\n "options.style": {\n control: "select",\n description: "The style of address to render",\n options: ["standard", "full", "extended"]\n },\n "options.useFilterOrder": {\n control: "object",\n description: "When using a list of values: the sort order for the use attribute and the filter to select only specific values. Defaults to [home, work, billing, temp, old, undefined]"\n },\n "options.typeValueSetExpansions": {\n control: "object",\n description: "Expansions to use for the type code"\n },\n "options.useValueSetExpansions": {\n control: "object",\n description: "Expansions to use for the use code"\n },\n "options.lineSeparator": {\n control: "text",\n description: \'The separator to use to join formatted line addresses. Defaults to ", "\'\n },\n "options.listFormatOptions": {\n control: "object",\n description: "When using a list of values, the options to pass to the Intl listFormat method."\n },\n "options.max": {\n control: "number",\n description: "When using a list of values, format only the first n (after sorting). Default to Infinity to show all values."\n }\n }\n}',...Address.parameters?.docs?.source},description:{story:"Render a FHIR [Address](https://hl7.org/fhir/datatypes.html#Address)",...Address.parameters?.docs?.description}}},Age.parameters={...Age.parameters,docs:{...Age.parameters?.docs,source:{originalSource:'{\n args: {\n type: "Age",\n value: {\n code: "a",\n unit: "years",\n system: "http://unitsofmeasure.org",\n value: 10\n }\n },\n argTypes: {\n "options.expansions": {\n control: "object",\n description: "The ValueSet expansion to use for the code"\n },\n "options.notation": {\n control: "select",\n options: ["standard", "scientific", "engineering", "compact-short", "compact-long", undefined],\n description: "The notation to use for the value"\n },\n "options.separator": {\n control: "text",\n description: \'Between the number of the unit. Default to " "\'\n }\n }\n}',...Age.parameters?.docs?.source},description:{story:"Render FHIR [Age]((https://hl7.org/fhir/datatypes.html#Age)",...Age.parameters?.docs?.description}}},Boolean.parameters={...Boolean.parameters,docs:{...Boolean.parameters?.docs,source:{originalSource:'{\n args: {\n type: "boolean",\n value: true\n },\n argTypes: {\n "options.labels.true": {\n control: "text",\n description: "The label to use for true"\n },\n "options.labels.false": {\n control: "text",\n description: "The label to use for false"\n },\n "options.labels.nil": {\n control: "text",\n description: "The label to use for null or undefined"\n }\n }\n}',...Boolean.parameters?.docs?.source},description:{story:"Render FHIR [boolean]((https://hl7.org/fhir/datatypes.html#boolean)",...Boolean.parameters?.docs?.description}}},Canonical.parameters={...Canonical.parameters,docs:{...Canonical.parameters?.docs,source:{originalSource:'{\n args: {\n type: "canonical",\n value: "http://acme.org"\n }\n}',...Canonical.parameters?.docs?.source},description:{story:"Render FHIR [canonical]((https://hl7.org/fhir/datatypes.html#canonical)",...Canonical.parameters?.docs?.description}}},Code.parameters={...Code.parameters,docs:{...Code.parameters?.docs,source:{originalSource:'{\n args: {\n type: "code",\n value: "female"\n },\n argTypes: {\n "options.expansions": {\n control: "object",\n description: "The ValueSet expansion to use for the code"\n }\n }\n}',...Code.parameters?.docs?.source},description:{story:"Render FHIR [code](https://hl7.org/fhir/datatypes.html#code)",...Code.parameters?.docs?.description}}},CodeableConcept.parameters={...CodeableConcept.parameters,docs:{...CodeableConcept.parameters?.docs,source:{originalSource:'{\n args: {\n type: "CodeableConcept",\n value: codeableConcept({\n code: "I",\n system: "http://terminology.hl7.org/CodeSystem/v2-0131",\n display: "Federal Agency"\n })\n },\n argTypes: {\n "options.expansions": {\n control: "object",\n description: "The ValueSet expansion to use for the code"\n },\n "options.style": {\n control: "select",\n options: ["code", "display", "code-display", "display-code", undefined]\n },\n "options.includeSystem": {\n control: "boolean"\n },\n "options.preferText": {\n control: "boolean",\n description: "True to use text if present, false to never use text - defaults to true"\n },\n "options.listFormatOptions": {\n control: "object",\n description: "WThe options to pass to the Intl listFormat method when there are multiple codings."\n }\n }\n}',...CodeableConcept.parameters?.docs?.source},description:{story:"Render FHIR [CodeableConcept](https://hl7.org/fhir/datatypes.html#CodeableConcept)",...CodeableConcept.parameters?.docs?.description}}},Coding.parameters={...Coding.parameters,docs:{...Coding.parameters?.docs,source:{originalSource:'{\n args: {\n type: "Coding",\n value: {\n system: "http://loinc.org",\n code: "15074-8",\n display: "Glucose [Moles/volume] in Blood"\n }\n },\n argTypes: {\n "options.expansions": {\n control: "object",\n description: "The ValueSet expansion to use for the code"\n },\n "options.style": {\n control: "select",\n options: ["code", "display", "code-display", "display-code", undefined]\n },\n "options.includeSystem": {\n control: "boolean"\n }\n }\n}',...Coding.parameters?.docs?.source},description:{story:"Render FHIR [Coding](https://hl7.org/fhir/datatypes.html#Coding)",...Coding.parameters?.docs?.description}}},ContactPoint.parameters={...ContactPoint.parameters,docs:{...ContactPoint.parameters?.docs,source:{originalSource:'{\n args: {\n type: "ContactPoint",\n value: [{\n system: "phone",\n value: "(03) 5555 6473",\n use: "work",\n rank: 1\n }, {\n system: "phone",\n value: "(03) 3410 5613",\n use: "mobile",\n rank: 2\n }]\n },\n argTypes: {\n "options.style": {\n control: "select",\n options: ["full", "long", "medium", "short", undefined]\n },\n "options.lineSeparator": {\n control: "text",\n description: \'The separator to use to join formatted contact point. Defaults to ", "\'\n },\n "options.max": {\n control: "number",\n description: "When using a list of values, format only the first n (after sorting). Default to Infinity to show all values."\n },\n "options.useFilterOrder": {\n control: "object",\n description: "When using a list of values: the sort order for the use attribute and the filter to select only specific values. Defaults to [home, work, temp, old, mobile, undefined]"\n },\n "options.listFormatOptions": {\n control: "object",\n description: "When using a list of values, the options to pass to the Intl listFormat method."\n },\n "options.systemExpansions": {\n control: "object",\n description: "The ValueSet expansion to use for the system"\n },\n "options.useExpansions": {\n control: "object",\n description: "The ValueSet expansion to use for the use"\n }\n }\n}',...ContactPoint.parameters?.docs?.source},description:{story:"Render FHIR [ContactPoint](https://hl7.org/fhir/datatypes.html#ContactPoint)",...ContactPoint.parameters?.docs?.description}}},Count.parameters={...Count.parameters,docs:{...Count.parameters?.docs,source:{originalSource:'{\n args: {\n type: "Count",\n value: {\n value: 10\n }\n },\n argTypes: {\n "options.expansions": {\n control: "object",\n description: "The ValueSet expansion to use for the code"\n },\n "options.notation": {\n control: "select",\n options: ["standard", "scientific", "engineering", "compact-short", "compact-long", undefined],\n description: "The notation to use for the value"\n },\n "options.separator": {\n control: "text",\n description: \'Between the number of the unit. Default to " "\'\n }\n }\n}',...Count.parameters?.docs?.source},description:{story:"Render FHIR [Count]((https://hl7.org/fhir/datatypes.html#Count)",...Count.parameters?.docs?.description}}},DateTime.parameters={...DateTime.parameters,docs:{...DateTime.parameters?.docs,source:{originalSource:'{\n args: {\n type: "dateTime",\n value: now()\n },\n argTypes: {\n "options.dateStyle": {\n control: "select",\n options: ["full", "long", "medium", "short", "relative", null, undefined]\n },\n "options.timeStyle": {\n control: "select",\n options: ["full", "long", "medium", "short", null, undefined]\n },\n "options.relativeStyle": {\n control: "select",\n options: ["long", "short", null, undefined]\n },\n "options.relativeTo": {\n control: "text",\n description: "From when the relative computation happen - defaults to now."\n }\n }\n}',...DateTime.parameters?.docs?.source},description:{story:"Render FHIR [dateTime]((https://hl7.org/fhir/datatypes.html#dateTime)",...DateTime.parameters?.docs?.description}}},Date.parameters={...Date.parameters,docs:{...Date.parameters?.docs,source:{originalSource:'{\n args: {\n type: "date",\n value: today()\n },\n argTypes: {\n "options.dateStyle": {\n control: "select",\n options: ["full", "long", "medium", "short", "relative", null, undefined]\n },\n "options.relativeStyle": {\n control: "select",\n options: ["long", "short", null, undefined]\n },\n "options.relativeTo": {\n control: "text",\n description: "From when the relative computation happen - defaults to now."\n }\n }\n}',...Date.parameters?.docs?.source},description:{story:"Render FHIR [date]((https://hl7.org/fhir/datatypes.html#date)",...Date.parameters?.docs?.description}}},Decimal.parameters={...Decimal.parameters,docs:{...Decimal.parameters?.docs,source:{originalSource:'{\n args: {\n type: "decimal",\n value: Math.PI\n },\n argTypes: {\n "options.notation": {\n control: "select",\n options: ["standard", "scientific", "engineering", "compact-short", "compact-long", undefined],\n description: "The notation to use for the value"\n }\n }\n}',...Decimal.parameters?.docs?.source},description:{story:"Render FHIR [decimal]((https://hl7.org/fhir/datatypes.html#decimal)",...Decimal.parameters?.docs?.description}}},Distance.parameters={...Distance.parameters,docs:{...Distance.parameters?.docs,source:{originalSource:'{\n args: {\n type: "Distance",\n value: {\n code: "m",\n unit: "m",\n system: "http://unitsofmeasure.org",\n value: 10\n }\n },\n argTypes: {\n "options.expansions": {\n control: "object",\n description: "The ValueSet expansion to use for the code"\n },\n "options.notation": {\n control: "select",\n options: ["standard", "scientific", "engineering", "compact-short", "compact-long", undefined],\n description: "The notation to use for the value"\n },\n "options.separator": {\n control: "text",\n description: \'Between the number of the unit. Default to " "\'\n }\n }\n}',...Distance.parameters?.docs?.source},description:{story:"Render FHIR [Distance]((https://hl7.org/fhir/datatypes.html#Distance)",...Distance.parameters?.docs?.description}}},Duration.parameters={...Duration.parameters,docs:{...Duration.parameters?.docs,source:{originalSource:'{\n args: {\n type: "Duration",\n value: {\n code: "min",\n unit: "min",\n system: "http://unitsofmeasure.org",\n value: 15\n }\n },\n argTypes: {\n "options.expansions": {\n control: "object",\n description: "The ValueSet expansion to use for the code"\n },\n "options.notation": {\n control: "select",\n options: ["standard", "scientific", "engineering", "compact-short", "compact-long", undefined],\n description: "The notation to use for the value"\n },\n "options.separator": {\n control: "text",\n description: \'Between the number of the unit. Default to " "\'\n }\n }\n}',...Duration.parameters?.docs?.source},description:{story:"Render FHIR [Duration]((https://hl7.org/fhir/datatypes.html#Duration)",...Duration.parameters?.docs?.description}}},HumanName.parameters={...HumanName.parameters,docs:{...HumanName.parameters?.docs,source:{originalSource:'{\n args: {\n type: "HumanName",\n value: [{\n use: "official",\n family: "Chalmers",\n given: ["Peter", "James"]\n }, {\n use: "usual",\n given: ["Jim"]\n }, {\n use: "maiden",\n family: "Windsor",\n given: ["Peter", "James"],\n period: {\n end: "2002"\n }\n }]\n },\n argTypes: {\n "options.style": {\n control: "select",\n options: ["full", "long", "medium", "standard", "short", "shorter", undefined]\n },\n "options.template": {\n control: "text",\n description: "Template string used to format the name."\n },\n "options.preferText": {\n control: "boolean",\n description: "True to use text if present, false to never use text - defaults to true"\n },\n "options.includeUse": {\n control: "boolean",\n description: "Whether we should include the use or not. Defaults to false"\n },\n "options.useFilterOrder": {\n control: "object",\n description: "When using a list of values: the sort order for the use attribute and the filter to select only specific values. Defaults to [usual, official, temp, nickname, anonymous, old, maiden, undefined]"\n },\n "options.max": {\n control: "number",\n description: "When using a list of values, format only the first n (after sorting). Default to Infinity to show all values."\n },\n "options.listFormatOptions": {\n control: "object",\n description: "When using a list of values, the options to pass to the Intl listFormat method."\n },\n "options.expansions": {\n control: "object",\n description: "Expansions to use for the type use"\n }\n }\n}',...HumanName.parameters?.docs?.source},description:{story:"Render FHIR [HumanName]((https://hl7.org/fhir/datatypes.html#HumanName)",...HumanName.parameters?.docs?.description}}},Id.parameters={...Id.parameters,docs:{...Id.parameters?.docs,source:{originalSource:'{\n args: {\n type: "id",\n value: "f84a844c-888b-4330-97e6-a891ef285577"\n }\n}',...Id.parameters?.docs?.source},description:{story:"Render FHIR [id]((https://hl7.org/fhir/datatypes.html#id)",...Id.parameters?.docs?.description}}},Identifier.parameters={...Identifier.parameters,docs:{...Identifier.parameters?.docs,source:{originalSource:'{\n args: {\n type: "Identifier",\n value: [{\n system: "http://hl7.org/fhir/sid/us-ssn",\n type: {\n coding: [{\n code: "SS",\n display: "Social Security Number",\n system: "http://terminology.hl7.org/CodeSystem/v2-0203"\n }],\n text: "Social Security Number"\n },\n value: "999-81-1155"\n }, {\n system: "https://github.com/synthetichealth/synthea",\n value: "91e630a6-05e9-4ada-9a8e-7d2d1eb22d82"\n }, {\n system: "http://hospital.smarthealthit.org",\n type: {\n coding: [{\n code: "MR",\n display: "Medical Record Number",\n system: "http://terminology.hl7.org/CodeSystem/v2-0203"\n }],\n text: "Medical Record Number"\n },\n value: "91e630a6-05e9-4ada-9a8e-7d2d1eb22d82"\n }, {\n system: "urn:oid:2.16.840.1.113883.4.3.25",\n type: {\n coding: [{\n code: "DL",\n display: "Driver\'s License",\n system: "http://terminology.hl7.org/CodeSystem/v2-0203"\n }],\n text: "Driver\'s License"\n },\n value: "S99941325"\n }, {\n system: "http://standardhealthrecord.org/fhir/StructureDefinition/passportNumber",\n type: {\n coding: [{\n code: "PPN",\n display: "Passport Number",\n system: "http://terminology.hl7.org/CodeSystem/v2-0203"\n }],\n text: "Passport Number"\n },\n value: "X72769294X"\n }]\n },\n argTypes: {\n "options.style": {\n control: "select",\n options: ["full", "long", "medium", "short", "value", undefined]\n },\n "options.systemsLabels": {\n control: "object",\n description: "A dictionary of system as key, and system labels as value"\n },\n "options.useFilterOrder": {\n control: "object",\n description: "When using a list of values: the sort order for the use attribute and the filter to select only specific values. Defaults to [usual, official, temp, secondary, old, undefined]"\n },\n "options.systemFilterOrder": {\n control: "object",\n description: "When using a list of values: the sort order for the use attribute and the filter to select only specific values. No default (no order and none filtered out)"\n },\n "options.max": {\n control: "number",\n description: "When using a list of values, format only the first n (after sorting). Default to Infinity to show all values."\n },\n "options.listFormatOptions": {\n control: "object",\n description: "When using a list of values, the options to pass to the Intl listFormat method."\n },\n "options.expansions": {\n control: "object",\n description: "Expansions to use for the type use"\n }\n }\n}',...Identifier.parameters?.docs?.source},description:{story:"Render FHIR [Identifier]((https://hl7.org/fhir/datatypes.html#Identifier)",...Identifier.parameters?.docs?.description}}},Instant.parameters={...Instant.parameters,docs:{...Instant.parameters?.docs,source:{originalSource:'{\n args: {\n type: "instant",\n value: now()\n },\n argTypes: {\n "options.dateStyle": {\n control: "select",\n options: ["full", "long", "medium", "short", "relative", null, undefined]\n },\n "options.timeStyle": {\n control: "select",\n options: ["full", "long", "medium", "short", null, undefined]\n },\n "options.relativeStyle": {\n control: "select",\n options: ["long", "short", null, undefined]\n },\n "options.relativeTo": {\n control: "text",\n description: "From when the relative computation happen - defaults to now."\n }\n }\n}',...Instant.parameters?.docs?.source},description:{story:"Render FHIR [instant]((https://hl7.org/fhir/datatypes.html#instant)",...Instant.parameters?.docs?.description}}},Integer.parameters={...Integer.parameters,docs:{...Integer.parameters?.docs,source:{originalSource:'{\n args: {\n type: "decimal",\n value: 42\n },\n argTypes: {\n "options.notation": {\n control: "select",\n options: ["standard", "scientific", "engineering", "compact-short", "compact-long", undefined],\n description: "The notation to use for the value"\n }\n }\n}',...Integer.parameters?.docs?.source},description:{story:"Render FHIR [integer]((https://hl7.org/fhir/datatypes.html#integer)",...Integer.parameters?.docs?.description}}},Integer64.parameters={...Integer64.parameters,docs:{...Integer64.parameters?.docs,source:{originalSource:'{\n args: {\n type: "integer64",\n value: "42"\n },\n argTypes: {\n "options.notation": {\n control: "select",\n options: ["standard", "scientific", "engineering", "compact-short", "compact-long", undefined],\n description: "The notation to use for the value"\n }\n }\n}',...Integer64.parameters?.docs?.source},description:{story:"Render FHIR [integer64]((https://hl7.org/fhir/datatypes.html#integer64)",...Integer64.parameters?.docs?.description}}},Markdown.parameters={...Markdown.parameters,docs:{...Markdown.parameters?.docs,source:{originalSource:'{\n args: {\n type: "markdown",\n value: `\n ---\n__Advertisement :)__\n\n- __[pica](https://nodeca.github.io/pica/demo/)__ - high quality and fast image\n resize in browser.\n- __[babelfish](https://github.com/nodeca/babelfish/)__ - developer friendly\n i18n with plurals support and easy syntax.\n\nYou will like those projects!\n\n---\n\n# h1 Heading 8-)\n## h2 Heading\n### h3 Heading\n#### h4 Heading\n##### h5 Heading\n###### h6 Heading\n\n\n## Horizontal Rules\n\n___\n\n---\n\n***\n\n\n## Typographic replacements\n\nEnable typographer option to see result.\n\n(c) (C) (r) (R) (tm) (TM) (p) (P) +-\n\ntest.. test... test..... test?..... test!....\n\n!!!!!! ???? ,, -- ---\n\n"Smartypants, double quotes" and \'single quotes\'\n\n\n## Emphasis\n\n**This is bold text**\n\n__This is bold text__\n\n*This is italic text*\n\n_This is italic text_\n\n~~Strikethrough~~\n\n\n## Blockquotes\n\n\n> Blockquotes can also be nested...\n>> ...by using additional greater-than signs right next to each other...\n> > > ...or with spaces between arrows.\n\n\n## Lists\n\nUnordered\n\n+ Create a list by starting a line with \\`+\\`, \\`-\\`, or \\`*\\`\n+ Sub-lists are made by indenting 2 spaces:\n - Marker character change forces new list start:\n * Ac tristique libero volutpat at\n + Facilisis in pretium nisl aliquet\n - Nulla volutpat aliquam velit\n+ Very easy!\n\nOrdered\n\n1. Lorem ipsum dolor sit amet\n2. Consectetur adipiscing elit\n3. Integer molestie lorem at massa\n\n\n1. You can use sequential numbers...\n1. ...or keep all the numbers as \\`1.\\`\n\nStart numbering with offset:\n\n57. foo\n1. bar\n\n\n## Code\n\nInline \\`code\\`\n\nIndented code\n\n // Some comments\n line 1 of code\n line 2 of code\n line 3 of code\n\n\nBlock code "fences"\n\n\\`\\`\\`\nSample text here...\n\\`\\`\\`\n\nSyntax highlighting\n\n\\`\\`\\` js\nvar foo = function (bar) {\n return bar++;\n};\n\nconsole.log(foo(5));\n\\`\\`\\`\n\n## Tables\n\n| Option | Description |\n| ------ | ----------- |\n| data | path to data files to supply the data that will be passed into templates. |\n| engine | engine to be used for processing templates. Handlebars is the default. |\n| ext | extension to be used for dest files. |\n\nRight aligned columns\n\n| Option | Description |\n| ------:| -----------:|\n| data | path to data files to supply the data that will be passed into templates. |\n| engine | engine to be used for processing templates. Handlebars is the default. |\n| ext | extension to be used for dest files. |\n\n\n## Links\n\n[link text](http://dev.nodeca.com)\n\n[link with title](http://nodeca.github.io/pica/demo/ "title text!")\n\nAutoconverted link https://github.com/nodeca/pica (enable linkify to see)\n\n\n## Images\n\n![Minion](https://octodex.github.com/images/minion.png)\n![Stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")\n\nLike links, Images also have a footnote style syntax\n\n![Alt text][id]\n\nWith a reference later in the document defining the URL location:\n\n[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat"\n\n\n## Plugins\n\nThe killer feature of \\`markdown-it\\` is very effective support of\n[syntax plugins](https://www.npmjs.org/browse/keyword/markdown-it-plugin).\n\n\n### [Emojies](https://github.com/markdown-it/markdown-it-emoji)\n\n> Classic markup: :wink: :crush: :cry: :tear: :laughing: :yum:\n>\n> Shortcuts (emoticons): :-) :-( 8-) ;)\n\nsee [how to change output](https://github.com/markdown-it/markdown-it-emoji#change-output) with twemoji.\n\n\n### [Subscript](https://github.com/markdown-it/markdown-it-sub) / [Superscript](https://github.com/markdown-it/markdown-it-sup)\n\n- 19^th^\n- H~2~O\n\n\n### [](https://github.com/markdown-it/markdown-it-ins)\n\n++Inserted text++\n\n\n### [](https://github.com/markdown-it/markdown-it-mark)\n\n==Marked text==\n\n\n### [Footnotes](https://github.com/markdown-it/markdown-it-footnote)\n\nFootnote 1 link[^first].\n\nFootnote 2 link[^second].\n\nInline footnote^[Text of inline footnote] definition.\n\nDuplicated footnote reference[^second].\n\n[^first]: Footnote **can have markup**\n\n and multiple paragraphs.\n\n[^second]: Footnote text.\n\n\n### [Definition lists](https://github.com/markdown-it/markdown-it-deflist)\n\nTerm 1\n\n: Definition 1\nwith lazy continuation.\n\nTerm 2 with *inline markup*\n\n: Definition 2\n\n { some code, part of Definition 2 }\n\n Third paragraph of definition 2.\n\n_Compact style:_\n\nTerm 1\n ~ Definition 1\n\nTerm 2\n ~ Definition 2a\n ~ Definition 2b\n\n\n### [Abbreviations](https://github.com/markdown-it/markdown-it-abbr)\n\nThis is HTML abbreviation example.\n\nIt converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on.\n\n*[HTML]: Hyper Text Markup Language\n\n### [Custom containers](https://github.com/markdown-it/markdown-it-container)\n\n::: warning\n*here be dragons*\n:::\n\n `,\n options: {\n style: "html"\n }\n },\n argTypes: {\n "options.style": {\n control: "select",\n options: ["original", "bareString", "html", null, undefined]\n }\n }\n}',...Markdown.parameters?.docs?.source},description:{story:"Render FHIR [markdown]((https://hl7.org/fhir/datatypes.html#markdown)",...Markdown.parameters?.docs?.description}}},Money.parameters={...Money.parameters,docs:{...Money.parameters?.docs,source:{originalSource:'{\n args: {\n type: "Money",\n value: {\n value: 40,\n currency: "USD"\n }\n },\n argTypes: {\n "options.currencyDisplay": {\n control: "select",\n options: ["symbol", "narrowSymbol", "code", "name", undefined]\n },\n "options.currencySign": {\n control: "select",\n options: ["accounting", "standard", undefined]\n },\n "options.notation": {\n control: "select",\n options: ["standard", "scientific", "engineering", "compact-short", "compact-long", undefined],\n description: "The notation to use for the value"\n }\n }\n}',...Money.parameters?.docs?.source},description:{story:"Render FHIR [Money]((https://hl7.org/fhir/datatypes.html#Money)",...Money.parameters?.docs?.description}}},Oid.parameters={...Oid.parameters,docs:{...Oid.parameters?.docs,source:{originalSource:'{\n args: {\n type: "oid",\n value: "urn:oid:1.2.3.4.5"\n }\n}',...Oid.parameters?.docs?.source},description:{story:"Render FHIR [oid]((https://hl7.org/fhir/datatypes.html#oid)",...Oid.parameters?.docs?.description}}},Period.parameters={...Period.parameters,docs:{...Period.parameters?.docs,source:{originalSource:'{\n args: {\n type: "Period",\n value: {\n start: "2001-05-06",\n end: "2002-01-10"\n }\n },\n argTypes: {\n "options.dateStyle": {\n control: "select",\n options: ["full", "long", "medium", "short", "relative", null, undefined]\n },\n "options.timeStyle": {\n control: "select",\n options: ["full", "long", "medium", "short", null, undefined]\n },\n "options.relativeStyle": {\n control: "select",\n options: ["long", "short", null, undefined]\n },\n "options.relativeTo": {\n control: "text",\n description: "From when the relative computation happen - defaults to now."\n }\n }\n}',...Period.parameters?.docs?.source},description:{story:"Render FHIR [Period]((https://hl7.org/fhir/datatypes.html#Period)",...Period.parameters?.docs?.description}}},PositiveInt.parameters={...PositiveInt.parameters,docs:{...PositiveInt.parameters?.docs,source:{originalSource:'{\n args: {\n type: "positiveInt",\n value: 42\n },\n argTypes: {\n "options.notation": {\n control: "select",\n options: ["standard", "scientific", "engineering", "compact-short", "compact-long", undefined],\n description: "The notation to use for the value"\n }\n }\n}',...PositiveInt.parameters?.docs?.source},description:{story:"Render FHIR [positiveInt]((https://hl7.org/fhir/datatypes.html#positiveInt)",...PositiveInt.parameters?.docs?.description}}},Quantity.parameters={...Quantity.parameters,docs:{...Quantity.parameters?.docs,source:{originalSource:'{\n args: {\n type: "Quantity",\n value: {\n value: "40000",\n comparator: ">",\n unit: "ug/L",\n system: "http://unitsofmeasure.org",\n code: "ug"\n }\n },\n argTypes: {\n "options.expansions": {\n control: "object",\n description: "The ValueSet expansion to use for the code"\n },\n "options.notation": {\n control: "select",\n options: ["standard", "scientific", "engineering", "compact-short", "compact-long", undefined],\n description: "The notation to use for the value"\n },\n "options.separator": {\n control: "text",\n description: \'Between the number of the unit. Default to " "\'\n }\n }\n}',...Quantity.parameters?.docs?.source},description:{story:"Render FHIR [Quantity]((https://hl7.org/fhir/datatypes.html#Quantity)",...Quantity.parameters?.docs?.description}}},Range.parameters={...Range.parameters,docs:{...Range.parameters?.docs,source:{originalSource:'{\n args: {\n type: "Range",\n value: {\n low: {\n value: "1.6",\n unit: "m"\n },\n high: {\n value: "1.9",\n unit: "m"\n }\n }\n },\n argTypes: {\n "options.expansions": {\n control: "object",\n description: "The ValueSet expansion to use for the code"\n },\n "options.notation": {\n control: "select",\n options: ["standard", "scientific", "engineering", "compact-short", "compact-long", undefined],\n description: "The notation to use for the value"\n },\n "options.quantitySeparator": {\n control: "text",\n description: \'Between the number of the unit. Default to " "\'\n },\n "options.rangeSeparator": {\n control: "text",\n description: \'Default to "…"\'\n }\n }\n}',...Range.parameters?.docs?.source},description:{story:"Render FHIR [Range]((https://hl7.org/fhir/datatypes.html#Range)",...Range.parameters?.docs?.description}}},RatioRange.parameters={...RatioRange.parameters,docs:{...RatioRange.parameters?.docs,source:{originalSource:'{\n args: {\n type: "RatioRange",\n value: {\n lowNumerator: {\n value: 103.5,\n unit: "US$",\n code: "USD",\n system: "urn:iso:std:iso:4217"\n },\n highNumerator: {\n value: 210.99,\n unit: "US$",\n code: "USD",\n system: "urn:iso:std:iso:4217"\n },\n denominator: {\n value: 1,\n unit: "day",\n code: "day",\n system: "http://unitsofmeasure.org"\n }\n }\n },\n argTypes: {\n "options.numeratorExpansions": {\n control: "object",\n description: "The ValueSet expansion to use for the numerator"\n },\n "options.denominatorExpansions": {\n control: "object",\n description: "The ValueSet expansion to use for the numerator"\n },\n "options.notation": {\n control: "select",\n options: ["standard", "scientific", "engineering", "compact-short", "compact-long", undefined],\n description: "The notation to use for the value"\n },\n "options.quantitySeparator": {\n control: "text",\n description: \'Between the number of the unit. Default to " "\'\n },\n "options.rangeSeparator": {\n control: "text",\n description: \'Default to "…"\'\n },\n "options.denominatorSeparator": {\n control: "text"\n },\n "options.reduceSingleDenominator": {\n control: "boolean",\n description: "If set to true, denominator with a value of 1 will not output the value. e.g. 15 g / 1 ml => 13 g/ml"\n }\n }\n}',...RatioRange.parameters?.docs?.source},description:{story:"Render FHIR [RatioRange]((https://hl7.org/fhir/datatypes.html#RatioRange)",...RatioRange.parameters?.docs?.description}}},Ratio.parameters={...Ratio.parameters,docs:{...Ratio.parameters?.docs,source:{originalSource:'{\n args: {\n type: "Ratio",\n value: {\n numerator: {\n value: 103.5,\n unit: "US$",\n code: "USD",\n system: "urn:iso:std:iso:4217"\n },\n denominator: {\n value: 1,\n unit: "day",\n code: "day",\n system: "http://unitsofmeasure.org"\n }\n }\n },\n argTypes: {\n "options.numeratorExpansions": {\n control: "object",\n description: "The ValueSet expansion to use for the numerator"\n },\n "options.denominatorExpansions": {\n control: "object",\n description: "The ValueSet expansion to use for the numerator"\n },\n "options.notation": {\n control: "select",\n options: ["standard", "scientific", "engineering", "compact-short", "compact-long", undefined],\n description: "The notation to use for the value"\n },\n "options.quantitySeparator": {\n control: "text",\n description: \'Between the number of the unit. Default to " "\'\n },\n "options.denominatorSeparator": {\n control: "text"\n },\n "options.reduceSingleDenominator": {\n control: "boolean",\n description: "If set to true, denominator with a value of 1 will not output the value. e.g. 15 g / 1 ml => 13 g/ml"\n }\n }\n}',...Ratio.parameters?.docs?.source},description:{story:"Render FHIR [Ratio]((https://hl7.org/fhir/datatypes.html#Ratio)",...Ratio.parameters?.docs?.description}}},Reference.parameters={...Reference.parameters,docs:{...Reference.parameters?.docs,source:{originalSource:'{\n args: {\n type: "Reference",\n value: {\n reference: "Patient/123",\n type: "Patient",\n display: "John Doe"\n }\n }\n}',...Reference.parameters?.docs?.source},description:{story:"Render FHIR [Reference](https://hl7.org/fhir/references.html#Reference)",...Reference.parameters?.docs?.description}}},String.parameters={...String.parameters,docs:{...String.parameters?.docs,source:{originalSource:'{\n args: {\n type: "string",\n value: "Hello, world!"\n },\n argTypes: {\n "options.truncate.length": {\n control: "number",\n description: "The maximum string length"\n },\n "options.truncate.separator": {\n control: "text",\n description: "The separator pattern to truncate to."\n },\n "options.truncate.suffix": {\n control: "text",\n description: \'The string to indicate text is omitted. Defaults to "..."\'\n }\n }\n}',...String.parameters?.docs?.source},description:{story:"Render FHIR [string](https://hl7.org/fhir/datatypes.html#string)",...String.parameters?.docs?.description}}},Time.parameters={...Time.parameters,docs:{...Time.parameters?.docs,source:{originalSource:'{\n args: {\n type: "time",\n value: "11:30:00"\n },\n argTypes: {\n "options.timeStyle": {\n control: "select",\n options: ["full", "long", "medium", "short", null, undefined]\n }\n }\n}',...Time.parameters?.docs?.source},description:{story:"Render FHIR [time]((https://hl7.org/fhir/datatypes.html#time)",...Time.parameters?.docs?.description}}},UnsignedInt.parameters={...UnsignedInt.parameters,docs:{...UnsignedInt.parameters?.docs,source:{originalSource:'{\n args: {\n type: "unsignedInt",\n value: 42\n },\n argTypes: {\n "options.notation": {\n control: "select",\n options: ["standard", "scientific", "engineering", "compact-short", "compact-long", undefined],\n description: "The notation to use for the value"\n }\n }\n}',...UnsignedInt.parameters?.docs?.source},description:{story:"Render FHIR [unsignedInt]((https://hl7.org/fhir/datatypes.html#unsignedInt)",...UnsignedInt.parameters?.docs?.description}}},Uri.parameters={...Uri.parameters,docs:{...Uri.parameters?.docs,source:{originalSource:'{\n args: {\n type: "uri",\n value: "https://hl7.org/fhir"\n }\n}',...Uri.parameters?.docs?.source},description:{story:"Render FHIR [uri]((https://hl7.org/fhir/datatypes.html#uri)",...Uri.parameters?.docs?.description}}},Url.parameters={...Url.parameters,docs:{...Url.parameters?.docs,source:{originalSource:'{\n args: {\n type: "url",\n value: "https://hl7.org/fhir"\n }\n}',...Url.parameters?.docs?.source},description:{story:"Render FHIR [url]((https://hl7.org/fhir/datatypes.html#url)",...Url.parameters?.docs?.description}}},Uuid.parameters={...Uuid.parameters,docs:{...Uuid.parameters?.docs,source:{originalSource:'{\n args: {\n type: "uuid",\n value: "urn:uuid:c757873d-ec9a-4326-a141-556f43239520"\n }\n}',...Uuid.parameters?.docs?.source},description:{story:"Render FHIR [uuid]((https://hl7.org/fhir/datatypes.html#uuid)",...Uuid.parameters?.docs?.description}}};const __namedExportsOrder=["Default","Address","Age","Boolean","Canonical","Code","CodeableConcept","Coding","ContactPoint","Count","DateTime","Date","Decimal","Distance","Duration","HumanName","Id","Identifier","Instant","Integer","Integer64","Markdown","Money","Oid","Period","PositiveInt","Quantity","Range","RatioRange","Ratio","Reference","String","Time","UnsignedInt","Uri","Url","Uuid"];try{Address.displayName="Address",Address.__docgenInfo={description:"Render a FHIR [Address](https://hl7.org/fhir/datatypes.html#Address)",displayName:"Address",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Address"]={docgenInfo:Address.__docgenInfo,name:"Address",path:"src/stories/data-display/FhirValue.stories.tsx#Address"})}catch(__react_docgen_typescript_loader_error){}try{Age.displayName="Age",Age.__docgenInfo={description:"Render FHIR [Age]((https://hl7.org/fhir/datatypes.html#Age)",displayName:"Age",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Age"]={docgenInfo:Age.__docgenInfo,name:"Age",path:"src/stories/data-display/FhirValue.stories.tsx#Age"})}catch(__react_docgen_typescript_loader_error){}try{Boolean.displayName="Boolean",Boolean.__docgenInfo={description:"Render FHIR [boolean]((https://hl7.org/fhir/datatypes.html#boolean)",displayName:"Boolean",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Boolean"]={docgenInfo:Boolean.__docgenInfo,name:"Boolean",path:"src/stories/data-display/FhirValue.stories.tsx#Boolean"})}catch(__react_docgen_typescript_loader_error){}try{Canonical.displayName="Canonical",Canonical.__docgenInfo={description:"Render FHIR [canonical]((https://hl7.org/fhir/datatypes.html#canonical)",displayName:"Canonical",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Canonical"]={docgenInfo:Canonical.__docgenInfo,name:"Canonical",path:"src/stories/data-display/FhirValue.stories.tsx#Canonical"})}catch(__react_docgen_typescript_loader_error){}try{Code.displayName="Code",Code.__docgenInfo={description:"Render FHIR [code](https://hl7.org/fhir/datatypes.html#code)",displayName:"Code",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Code"]={docgenInfo:Code.__docgenInfo,name:"Code",path:"src/stories/data-display/FhirValue.stories.tsx#Code"})}catch(__react_docgen_typescript_loader_error){}try{CodeableConcept.displayName="CodeableConcept",CodeableConcept.__docgenInfo={description:"Render FHIR [CodeableConcept](https://hl7.org/fhir/datatypes.html#CodeableConcept)",displayName:"CodeableConcept",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#CodeableConcept"]={docgenInfo:CodeableConcept.__docgenInfo,name:"CodeableConcept",path:"src/stories/data-display/FhirValue.stories.tsx#CodeableConcept"})}catch(__react_docgen_typescript_loader_error){}try{Coding.displayName="Coding",Coding.__docgenInfo={description:"Render FHIR [Coding](https://hl7.org/fhir/datatypes.html#Coding)",displayName:"Coding",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Coding"]={docgenInfo:Coding.__docgenInfo,name:"Coding",path:"src/stories/data-display/FhirValue.stories.tsx#Coding"})}catch(__react_docgen_typescript_loader_error){}try{ContactPoint.displayName="ContactPoint",ContactPoint.__docgenInfo={description:"Render FHIR [ContactPoint](https://hl7.org/fhir/datatypes.html#ContactPoint)",displayName:"ContactPoint",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#ContactPoint"]={docgenInfo:ContactPoint.__docgenInfo,name:"ContactPoint",path:"src/stories/data-display/FhirValue.stories.tsx#ContactPoint"})}catch(__react_docgen_typescript_loader_error){}try{Count.displayName="Count",Count.__docgenInfo={description:"Render FHIR [Count]((https://hl7.org/fhir/datatypes.html#Count)",displayName:"Count",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Count"]={docgenInfo:Count.__docgenInfo,name:"Count",path:"src/stories/data-display/FhirValue.stories.tsx#Count"})}catch(__react_docgen_typescript_loader_error){}try{DateTime.displayName="DateTime",DateTime.__docgenInfo={description:"Render FHIR [dateTime]((https://hl7.org/fhir/datatypes.html#dateTime)",displayName:"DateTime",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#DateTime"]={docgenInfo:DateTime.__docgenInfo,name:"DateTime",path:"src/stories/data-display/FhirValue.stories.tsx#DateTime"})}catch(__react_docgen_typescript_loader_error){}try{Date.displayName="Date",Date.__docgenInfo={description:"Render FHIR [date]((https://hl7.org/fhir/datatypes.html#date)",displayName:"Date",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Date"]={docgenInfo:Date.__docgenInfo,name:"Date",path:"src/stories/data-display/FhirValue.stories.tsx#Date"})}catch(__react_docgen_typescript_loader_error){}try{Decimal.displayName="Decimal",Decimal.__docgenInfo={description:"Render FHIR [decimal]((https://hl7.org/fhir/datatypes.html#decimal)",displayName:"Decimal",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Decimal"]={docgenInfo:Decimal.__docgenInfo,name:"Decimal",path:"src/stories/data-display/FhirValue.stories.tsx#Decimal"})}catch(__react_docgen_typescript_loader_error){}try{Distance.displayName="Distance",Distance.__docgenInfo={description:"Render FHIR [Distance]((https://hl7.org/fhir/datatypes.html#Distance)",displayName:"Distance",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Distance"]={docgenInfo:Distance.__docgenInfo,name:"Distance",path:"src/stories/data-display/FhirValue.stories.tsx#Distance"})}catch(__react_docgen_typescript_loader_error){}try{Duration.displayName="Duration",Duration.__docgenInfo={description:"Render FHIR [Duration]((https://hl7.org/fhir/datatypes.html#Duration)",displayName:"Duration",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Duration"]={docgenInfo:Duration.__docgenInfo,name:"Duration",path:"src/stories/data-display/FhirValue.stories.tsx#Duration"})}catch(__react_docgen_typescript_loader_error){}try{HumanName.displayName="HumanName",HumanName.__docgenInfo={description:"Render FHIR [HumanName]((https://hl7.org/fhir/datatypes.html#HumanName)",displayName:"HumanName",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#HumanName"]={docgenInfo:HumanName.__docgenInfo,name:"HumanName",path:"src/stories/data-display/FhirValue.stories.tsx#HumanName"})}catch(__react_docgen_typescript_loader_error){}try{Id.displayName="Id",Id.__docgenInfo={description:"Render FHIR [id]((https://hl7.org/fhir/datatypes.html#id)",displayName:"Id",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Id"]={docgenInfo:Id.__docgenInfo,name:"Id",path:"src/stories/data-display/FhirValue.stories.tsx#Id"})}catch(__react_docgen_typescript_loader_error){}try{Identifier.displayName="Identifier",Identifier.__docgenInfo={description:"Render FHIR [Identifier]((https://hl7.org/fhir/datatypes.html#Identifier)",displayName:"Identifier",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Identifier"]={docgenInfo:Identifier.__docgenInfo,name:"Identifier",path:"src/stories/data-display/FhirValue.stories.tsx#Identifier"})}catch(__react_docgen_typescript_loader_error){}try{Instant.displayName="Instant",Instant.__docgenInfo={description:"Render FHIR [instant]((https://hl7.org/fhir/datatypes.html#instant)",displayName:"Instant",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Instant"]={docgenInfo:Instant.__docgenInfo,name:"Instant",path:"src/stories/data-display/FhirValue.stories.tsx#Instant"})}catch(__react_docgen_typescript_loader_error){}try{Integer.displayName="Integer",Integer.__docgenInfo={description:"Render FHIR [integer]((https://hl7.org/fhir/datatypes.html#integer)",displayName:"Integer",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Integer"]={docgenInfo:Integer.__docgenInfo,name:"Integer",path:"src/stories/data-display/FhirValue.stories.tsx#Integer"})}catch(__react_docgen_typescript_loader_error){}try{Integer64.displayName="Integer64",Integer64.__docgenInfo={description:"Render FHIR [integer64]((https://hl7.org/fhir/datatypes.html#integer64)",displayName:"Integer64",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Integer64"]={docgenInfo:Integer64.__docgenInfo,name:"Integer64",path:"src/stories/data-display/FhirValue.stories.tsx#Integer64"})}catch(__react_docgen_typescript_loader_error){}try{Markdown.displayName="Markdown",Markdown.__docgenInfo={description:"Render FHIR [markdown]((https://hl7.org/fhir/datatypes.html#markdown)",displayName:"Markdown",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Markdown"]={docgenInfo:Markdown.__docgenInfo,name:"Markdown",path:"src/stories/data-display/FhirValue.stories.tsx#Markdown"})}catch(__react_docgen_typescript_loader_error){}try{Money.displayName="Money",Money.__docgenInfo={description:"Render FHIR [Money]((https://hl7.org/fhir/datatypes.html#Money)",displayName:"Money",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Money"]={docgenInfo:Money.__docgenInfo,name:"Money",path:"src/stories/data-display/FhirValue.stories.tsx#Money"})}catch(__react_docgen_typescript_loader_error){}try{Oid.displayName="Oid",Oid.__docgenInfo={description:"Render FHIR [oid]((https://hl7.org/fhir/datatypes.html#oid)",displayName:"Oid",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Oid"]={docgenInfo:Oid.__docgenInfo,name:"Oid",path:"src/stories/data-display/FhirValue.stories.tsx#Oid"})}catch(__react_docgen_typescript_loader_error){}try{Period.displayName="Period",Period.__docgenInfo={description:"Render FHIR [Period]((https://hl7.org/fhir/datatypes.html#Period)",displayName:"Period",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Period"]={docgenInfo:Period.__docgenInfo,name:"Period",path:"src/stories/data-display/FhirValue.stories.tsx#Period"})}catch(__react_docgen_typescript_loader_error){}try{PositiveInt.displayName="PositiveInt",PositiveInt.__docgenInfo={description:"Render FHIR [positiveInt]((https://hl7.org/fhir/datatypes.html#positiveInt)",displayName:"PositiveInt",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#PositiveInt"]={docgenInfo:PositiveInt.__docgenInfo,name:"PositiveInt",path:"src/stories/data-display/FhirValue.stories.tsx#PositiveInt"})}catch(__react_docgen_typescript_loader_error){}try{Quantity.displayName="Quantity",Quantity.__docgenInfo={description:"Render FHIR [Quantity]((https://hl7.org/fhir/datatypes.html#Quantity)",displayName:"Quantity",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Quantity"]={docgenInfo:Quantity.__docgenInfo,name:"Quantity",path:"src/stories/data-display/FhirValue.stories.tsx#Quantity"})}catch(__react_docgen_typescript_loader_error){}try{Range.displayName="Range",Range.__docgenInfo={description:"Render FHIR [Range]((https://hl7.org/fhir/datatypes.html#Range)",displayName:"Range",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Range"]={docgenInfo:Range.__docgenInfo,name:"Range",path:"src/stories/data-display/FhirValue.stories.tsx#Range"})}catch(__react_docgen_typescript_loader_error){}try{RatioRange.displayName="RatioRange",RatioRange.__docgenInfo={description:"Render FHIR [RatioRange]((https://hl7.org/fhir/datatypes.html#RatioRange)",displayName:"RatioRange",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#RatioRange"]={docgenInfo:RatioRange.__docgenInfo,name:"RatioRange",path:"src/stories/data-display/FhirValue.stories.tsx#RatioRange"})}catch(__react_docgen_typescript_loader_error){}try{Ratio.displayName="Ratio",Ratio.__docgenInfo={description:"Render FHIR [Ratio]((https://hl7.org/fhir/datatypes.html#Ratio)",displayName:"Ratio",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Ratio"]={docgenInfo:Ratio.__docgenInfo,name:"Ratio",path:"src/stories/data-display/FhirValue.stories.tsx#Ratio"})}catch(__react_docgen_typescript_loader_error){}try{Reference.displayName="Reference",Reference.__docgenInfo={description:"Render FHIR [Reference](https://hl7.org/fhir/references.html#Reference)",displayName:"Reference",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Reference"]={docgenInfo:Reference.__docgenInfo,name:"Reference",path:"src/stories/data-display/FhirValue.stories.tsx#Reference"})}catch(__react_docgen_typescript_loader_error){}try{String.displayName="String",String.__docgenInfo={description:"Render FHIR [string](https://hl7.org/fhir/datatypes.html#string)",displayName:"String",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#String"]={docgenInfo:String.__docgenInfo,name:"String",path:"src/stories/data-display/FhirValue.stories.tsx#String"})}catch(__react_docgen_typescript_loader_error){}try{Time.displayName="Time",Time.__docgenInfo={description:"Render FHIR [time]((https://hl7.org/fhir/datatypes.html#time)",displayName:"Time",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Time"]={docgenInfo:Time.__docgenInfo,name:"Time",path:"src/stories/data-display/FhirValue.stories.tsx#Time"})}catch(__react_docgen_typescript_loader_error){}try{UnsignedInt.displayName="UnsignedInt",UnsignedInt.__docgenInfo={description:"Render FHIR [unsignedInt]((https://hl7.org/fhir/datatypes.html#unsignedInt)",displayName:"UnsignedInt",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#UnsignedInt"]={docgenInfo:UnsignedInt.__docgenInfo,name:"UnsignedInt",path:"src/stories/data-display/FhirValue.stories.tsx#UnsignedInt"})}catch(__react_docgen_typescript_loader_error){}try{Uri.displayName="Uri",Uri.__docgenInfo={description:"Render FHIR [uri]((https://hl7.org/fhir/datatypes.html#uri)",displayName:"Uri",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Uri"]={docgenInfo:Uri.__docgenInfo,name:"Uri",path:"src/stories/data-display/FhirValue.stories.tsx#Uri"})}catch(__react_docgen_typescript_loader_error){}try{Url.displayName="Url",Url.__docgenInfo={description:"Render FHIR [url]((https://hl7.org/fhir/datatypes.html#url)",displayName:"Url",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Url"]={docgenInfo:Url.__docgenInfo,name:"Url",path:"src/stories/data-display/FhirValue.stories.tsx#Url"})}catch(__react_docgen_typescript_loader_error){}try{Uuid.displayName="Uuid",Uuid.__docgenInfo={description:"Render FHIR [uuid]((https://hl7.org/fhir/datatypes.html#uuid)",displayName:"Uuid",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Uuid"]={docgenInfo:Uuid.__docgenInfo,name:"Uuid",path:"src/stories/data-display/FhirValue.stories.tsx#Uuid"})}catch(__react_docgen_typescript_loader_error){}},"./src/stories/helpers.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{function buildArgs(props){var result={};for(var key in props)for(var value=props[key],keys=key.split("."),currentObj=result,i=0;ibuildArgs})}}]); \ No newline at end of file diff --git a/data-display-FhirValue-stories.c6e41461.iframe.bundle.js b/data-display-FhirValue-stories.c6e41461.iframe.bundle.js new file mode 100644 index 0000000..4a830ee --- /dev/null +++ b/data-display-FhirValue-stories.c6e41461.iframe.bundle.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_bonfhir_storybook=self.webpackChunk_bonfhir_storybook||[]).push([[578],{"../../node_modules/.pnpm/@babel+runtime@7.23.6/node_modules/@babel/runtime/helpers/esm/objectSpread2.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function toPropertyKey(t){var i=function toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==_typeof(i)?i:String(i)}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread2(e){for(var r=1;r_objectSpread2})},"./src/stories/data-display/FhirValue.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Address:()=>Address,Age:()=>Age,Boolean:()=>Boolean,Canonical:()=>Canonical,Code:()=>Code,CodeableConcept:()=>CodeableConcept,Coding:()=>Coding,ContactPoint:()=>ContactPoint,Count:()=>Count,Date:()=>Date,DateTime:()=>DateTime,Decimal:()=>Decimal,Default:()=>Default,Distance:()=>Distance,Duration:()=>Duration,HumanName:()=>HumanName,Id:()=>Id,Identifier:()=>Identifier,Instant:()=>Instant,Integer:()=>Integer,Integer64:()=>Integer64,Markdown:()=>Markdown,Money:()=>Money,Oid:()=>Oid,Period:()=>Period,PositiveInt:()=>PositiveInt,Quantity:()=>Quantity,Range:()=>Range,Ratio:()=>Ratio,RatioRange:()=>RatioRange,Reference:()=>Reference,String:()=>String,Time:()=>Time,UnsignedInt:()=>UnsignedInt,Uri:()=>Uri,Url:()=>Url,Uuid:()=>Uuid,__namedExportsOrder:()=>__namedExportsOrder,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _Users_julien_dev_GitHub_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_6_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/.pnpm/@babel+runtime@7.23.6/node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),_bonfhir_core_r5__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../packages/core/dist/r5/esm/index.mjs"),_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../packages/react/dist/r5/esm/index.mjs"),_helpers__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/stories/helpers.ts"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js");const __WEBPACK_DEFAULT_EXPORT__={title:"Data Display/FhirValue",component:_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_1__.Zr,tags:["autodocs"],argTypes:{type:{control:"select",description:"The FHIR type to render. Will influence the value type and/or the options available.",options:["Address","Age","boolean","canonical","code","ContactPoint","Count","date","dateTime","decimal","Distance","Duration","HumanName","id","Identifier","instant","integer","markdown","Money","oid","Period","positiveInt","Quantity","Range","Ratio","Reference","SampledData","string","time","Timing","unsignedInt","uri","url","uuid"]},options:{table:{disable:!0}},"options.default":{control:"text",description:"Default value to display when value is empty or undefined"},"options.decorator":{control:"text",description:"If the result of the formatter is truthy, this will decorate the result. Use {} as the placeholder for the result of the formatter."},"rendererProps.text.fz":{control:"select",description:"[Mantine] The text size",options:["xs","sm","md","lg","xl"]},"rendererProps.text.fw":{control:"number",description:"[Mantine] The text weight"},"rendererProps.text.c":{control:"text",description:"[Mantine] The text color"},"rendererProps.text.tt":{control:"select",options:["capitalize","uppercase","lowercase"],description:"[Mantine] The text transform"}},render:function render(props){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_1__.Zr,(0,_Users_julien_dev_GitHub_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_6_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},(0,_helpers__WEBPACK_IMPORTED_MODULE_4__.f)(props)))},parameters:{docs:{description:{component:"Renders [FHIR data types](https://hl7.org/fhir/datatypes.html) as string using the core formatter.\n\nSee https://bonfhir.dev/packages/react/components/fhir-value for more information."}}}};var Default={args:{type:"string",value:"Hello, world!"}},Address={args:{type:"Address",value:[{use:"home",line:["123 Main St"],city:"Anytown",country:"US",postalCode:"12345",state:"CA"}]},argTypes:{value:{control:"object",description:"An address or a list of addresses"},"options.defaultCountry":{control:"text",description:"Specify the default country to use for addresses that do not have the country info."},"options.includeCountry":{control:"boolean",description:"Whether the country should be happened at the end of the address or not. Defaults to false."},"options.preferText":{control:"boolean",description:"True to use text if present, false to never use text - defaults to true"},"options.style":{control:"select",description:"The style of address to render",options:["standard","full","extended"]},"options.useFilterOrder":{control:"object",description:"When using a list of values: the sort order for the use attribute and the filter to select only specific values. Defaults to [home, work, billing, temp, old, undefined]"},"options.typeValueSetExpansions":{control:"object",description:"Expansions to use for the type code"},"options.useValueSetExpansions":{control:"object",description:"Expansions to use for the use code"},"options.lineSeparator":{control:"text",description:'The separator to use to join formatted line addresses. Defaults to ", "'},"options.listFormatOptions":{control:"object",description:"When using a list of values, the options to pass to the Intl listFormat method."},"options.max":{control:"number",description:"When using a list of values, format only the first n (after sorting). Default to Infinity to show all values."}}},Age={args:{type:"Age",value:{code:"a",unit:"years",system:"http://unitsofmeasure.org",value:10}},argTypes:{"options.expansions":{control:"object",description:"The ValueSet expansion to use for the code"},"options.notation":{control:"select",options:["standard","scientific","engineering","compact-short","compact-long",void 0],description:"The notation to use for the value"},"options.separator":{control:"text",description:'Between the number of the unit. Default to " "'}}},Boolean={args:{type:"boolean",value:!0},argTypes:{"options.labels.true":{control:"text",description:"The label to use for true"},"options.labels.false":{control:"text",description:"The label to use for false"},"options.labels.nil":{control:"text",description:"The label to use for null or undefined"}}},Canonical={args:{type:"canonical",value:"http://acme.org"}},Code={args:{type:"code",value:"female"},argTypes:{"options.expansions":{control:"object",description:"The ValueSet expansion to use for the code"}}},CodeableConcept={args:{type:"CodeableConcept",value:(0,_bonfhir_core_r5__WEBPACK_IMPORTED_MODULE_0__.WNW)({code:"I",system:"http://terminology.hl7.org/CodeSystem/v2-0131",display:"Federal Agency"})},argTypes:{"options.expansions":{control:"object",description:"The ValueSet expansion to use for the code"},"options.style":{control:"select",options:["code","display","code-display","display-code",void 0]},"options.includeSystem":{control:"boolean"},"options.preferText":{control:"boolean",description:"True to use text if present, false to never use text - defaults to true"},"options.listFormatOptions":{control:"object",description:"WThe options to pass to the Intl listFormat method when there are multiple codings."}}},Coding={args:{type:"Coding",value:{system:"http://loinc.org",code:"15074-8",display:"Glucose [Moles/volume] in Blood"}},argTypes:{"options.expansions":{control:"object",description:"The ValueSet expansion to use for the code"},"options.style":{control:"select",options:["code","display","code-display","display-code",void 0]},"options.includeSystem":{control:"boolean"}}},ContactPoint={args:{type:"ContactPoint",value:[{system:"phone",value:"(03) 5555 6473",use:"work",rank:1},{system:"phone",value:"(03) 3410 5613",use:"mobile",rank:2}]},argTypes:{"options.style":{control:"select",options:["full","long","medium","short",void 0]},"options.lineSeparator":{control:"text",description:'The separator to use to join formatted contact point. Defaults to ", "'},"options.max":{control:"number",description:"When using a list of values, format only the first n (after sorting). Default to Infinity to show all values."},"options.useFilterOrder":{control:"object",description:"When using a list of values: the sort order for the use attribute and the filter to select only specific values. Defaults to [home, work, temp, old, mobile, undefined]"},"options.listFormatOptions":{control:"object",description:"When using a list of values, the options to pass to the Intl listFormat method."},"options.systemExpansions":{control:"object",description:"The ValueSet expansion to use for the system"},"options.useExpansions":{control:"object",description:"The ValueSet expansion to use for the use"}}},Count={args:{type:"Count",value:{value:10}},argTypes:{"options.expansions":{control:"object",description:"The ValueSet expansion to use for the code"},"options.notation":{control:"select",options:["standard","scientific","engineering","compact-short","compact-long",void 0],description:"The notation to use for the value"},"options.separator":{control:"text",description:'Between the number of the unit. Default to " "'}}},DateTime={args:{type:"dateTime",value:(0,_bonfhir_core_r5__WEBPACK_IMPORTED_MODULE_0__.zOc)()},argTypes:{"options.dateStyle":{control:"select",options:["full","long","medium","short","relative",null,void 0]},"options.timeStyle":{control:"select",options:["full","long","medium","short",null,void 0]},"options.relativeStyle":{control:"select",options:["long","short",null,void 0]},"options.relativeTo":{control:"text",description:"From when the relative computation happen - defaults to now."}}},Date={args:{type:"date",value:(0,_bonfhir_core_r5__WEBPACK_IMPORTED_MODULE_0__.LgZ)()},argTypes:{"options.dateStyle":{control:"select",options:["full","long","medium","short","relative",null,void 0]},"options.relativeStyle":{control:"select",options:["long","short",null,void 0]},"options.relativeTo":{control:"text",description:"From when the relative computation happen - defaults to now."}}},Decimal={args:{type:"decimal",value:Math.PI},argTypes:{"options.notation":{control:"select",options:["standard","scientific","engineering","compact-short","compact-long",void 0],description:"The notation to use for the value"}}},Distance={args:{type:"Distance",value:{code:"m",unit:"m",system:"http://unitsofmeasure.org",value:10}},argTypes:{"options.expansions":{control:"object",description:"The ValueSet expansion to use for the code"},"options.notation":{control:"select",options:["standard","scientific","engineering","compact-short","compact-long",void 0],description:"The notation to use for the value"},"options.separator":{control:"text",description:'Between the number of the unit. Default to " "'}}},Duration={args:{type:"Duration",value:{code:"min",unit:"min",system:"http://unitsofmeasure.org",value:15}},argTypes:{"options.expansions":{control:"object",description:"The ValueSet expansion to use for the code"},"options.notation":{control:"select",options:["standard","scientific","engineering","compact-short","compact-long",void 0],description:"The notation to use for the value"},"options.separator":{control:"text",description:'Between the number of the unit. Default to " "'}}},HumanName={args:{type:"HumanName",value:[{use:"official",family:"Chalmers",given:["Peter","James"]},{use:"usual",given:["Jim"]},{use:"maiden",family:"Windsor",given:["Peter","James"],period:{end:"2002"}}]},argTypes:{"options.style":{control:"select",options:["full","long","medium","standard","short","shorter",void 0]},"options.template":{control:"text",description:"Template string used to format the name."},"options.preferText":{control:"boolean",description:"True to use text if present, false to never use text - defaults to true"},"options.includeUse":{control:"boolean",description:"Whether we should include the use or not. Defaults to false"},"options.useFilterOrder":{control:"object",description:"When using a list of values: the sort order for the use attribute and the filter to select only specific values. Defaults to [usual, official, temp, nickname, anonymous, old, maiden, undefined]"},"options.max":{control:"number",description:"When using a list of values, format only the first n (after sorting). Default to Infinity to show all values."},"options.listFormatOptions":{control:"object",description:"When using a list of values, the options to pass to the Intl listFormat method."},"options.expansions":{control:"object",description:"Expansions to use for the type use"}}},Id={args:{type:"id",value:"f84a844c-888b-4330-97e6-a891ef285577"}},Identifier={args:{type:"Identifier",value:[{system:"http://hl7.org/fhir/sid/us-ssn",type:{coding:[{code:"SS",display:"Social Security Number",system:"http://terminology.hl7.org/CodeSystem/v2-0203"}],text:"Social Security Number"},value:"999-81-1155"},{system:"https://github.com/synthetichealth/synthea",value:"91e630a6-05e9-4ada-9a8e-7d2d1eb22d82"},{system:"http://hospital.smarthealthit.org",type:{coding:[{code:"MR",display:"Medical Record Number",system:"http://terminology.hl7.org/CodeSystem/v2-0203"}],text:"Medical Record Number"},value:"91e630a6-05e9-4ada-9a8e-7d2d1eb22d82"},{system:"urn:oid:2.16.840.1.113883.4.3.25",type:{coding:[{code:"DL",display:"Driver's License",system:"http://terminology.hl7.org/CodeSystem/v2-0203"}],text:"Driver's License"},value:"S99941325"},{system:"http://standardhealthrecord.org/fhir/StructureDefinition/passportNumber",type:{coding:[{code:"PPN",display:"Passport Number",system:"http://terminology.hl7.org/CodeSystem/v2-0203"}],text:"Passport Number"},value:"X72769294X"}]},argTypes:{"options.style":{control:"select",options:["full","long","medium","short","value",void 0]},"options.systemsLabels":{control:"object",description:"A dictionary of system as key, and system labels as value"},"options.useFilterOrder":{control:"object",description:"When using a list of values: the sort order for the use attribute and the filter to select only specific values. Defaults to [usual, official, temp, secondary, old, undefined]"},"options.systemFilterOrder":{control:"object",description:"When using a list of values: the sort order for the use attribute and the filter to select only specific values. No default (no order and none filtered out)"},"options.max":{control:"number",description:"When using a list of values, format only the first n (after sorting). Default to Infinity to show all values."},"options.listFormatOptions":{control:"object",description:"When using a list of values, the options to pass to the Intl listFormat method."},"options.expansions":{control:"object",description:"Expansions to use for the type use"}}},Instant={args:{type:"instant",value:(0,_bonfhir_core_r5__WEBPACK_IMPORTED_MODULE_0__.zOc)()},argTypes:{"options.dateStyle":{control:"select",options:["full","long","medium","short","relative",null,void 0]},"options.timeStyle":{control:"select",options:["full","long","medium","short",null,void 0]},"options.relativeStyle":{control:"select",options:["long","short",null,void 0]},"options.relativeTo":{control:"text",description:"From when the relative computation happen - defaults to now."}}},Integer={args:{type:"decimal",value:42},argTypes:{"options.notation":{control:"select",options:["standard","scientific","engineering","compact-short","compact-long",void 0],description:"The notation to use for the value"}}},Integer64={args:{type:"integer64",value:"42"},argTypes:{"options.notation":{control:"select",options:["standard","scientific","engineering","compact-short","compact-long",void 0],description:"The notation to use for the value"}}},Markdown={args:{type:"markdown",value:'\n ---\n__Advertisement :)__\n\n- __[pica](https://nodeca.github.io/pica/demo/)__ - high quality and fast image\n resize in browser.\n- __[babelfish](https://github.com/nodeca/babelfish/)__ - developer friendly\n i18n with plurals support and easy syntax.\n\nYou will like those projects!\n\n---\n\n# h1 Heading 8-)\n## h2 Heading\n### h3 Heading\n#### h4 Heading\n##### h5 Heading\n###### h6 Heading\n\n\n## Horizontal Rules\n\n___\n\n---\n\n***\n\n\n## Typographic replacements\n\nEnable typographer option to see result.\n\n(c) (C) (r) (R) (tm) (TM) (p) (P) +-\n\ntest.. test... test..... test?..... test!....\n\n!!!!!! ???? ,, -- ---\n\n"Smartypants, double quotes" and \'single quotes\'\n\n\n## Emphasis\n\n**This is bold text**\n\n__This is bold text__\n\n*This is italic text*\n\n_This is italic text_\n\n~~Strikethrough~~\n\n\n## Blockquotes\n\n\n> Blockquotes can also be nested...\n>> ...by using additional greater-than signs right next to each other...\n> > > ...or with spaces between arrows.\n\n\n## Lists\n\nUnordered\n\n+ Create a list by starting a line with `+`, `-`, or `*`\n+ Sub-lists are made by indenting 2 spaces:\n - Marker character change forces new list start:\n * Ac tristique libero volutpat at\n + Facilisis in pretium nisl aliquet\n - Nulla volutpat aliquam velit\n+ Very easy!\n\nOrdered\n\n1. Lorem ipsum dolor sit amet\n2. Consectetur adipiscing elit\n3. Integer molestie lorem at massa\n\n\n1. You can use sequential numbers...\n1. ...or keep all the numbers as `1.`\n\nStart numbering with offset:\n\n57. foo\n1. bar\n\n\n## Code\n\nInline `code`\n\nIndented code\n\n // Some comments\n line 1 of code\n line 2 of code\n line 3 of code\n\n\nBlock code "fences"\n\n```\nSample text here...\n```\n\nSyntax highlighting\n\n``` js\nvar foo = function (bar) {\n return bar++;\n};\n\nconsole.log(foo(5));\n```\n\n## Tables\n\n| Option | Description |\n| ------ | ----------- |\n| data | path to data files to supply the data that will be passed into templates. |\n| engine | engine to be used for processing templates. Handlebars is the default. |\n| ext | extension to be used for dest files. |\n\nRight aligned columns\n\n| Option | Description |\n| ------:| -----------:|\n| data | path to data files to supply the data that will be passed into templates. |\n| engine | engine to be used for processing templates. Handlebars is the default. |\n| ext | extension to be used for dest files. |\n\n\n## Links\n\n[link text](http://dev.nodeca.com)\n\n[link with title](http://nodeca.github.io/pica/demo/ "title text!")\n\nAutoconverted link https://github.com/nodeca/pica (enable linkify to see)\n\n\n## Images\n\n![Minion](https://octodex.github.com/images/minion.png)\n![Stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")\n\nLike links, Images also have a footnote style syntax\n\n![Alt text][id]\n\nWith a reference later in the document defining the URL location:\n\n[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat"\n\n\n## Plugins\n\nThe killer feature of `markdown-it` is very effective support of\n[syntax plugins](https://www.npmjs.org/browse/keyword/markdown-it-plugin).\n\n\n### [Emojies](https://github.com/markdown-it/markdown-it-emoji)\n\n> Classic markup: :wink: :crush: :cry: :tear: :laughing: :yum:\n>\n> Shortcuts (emoticons): :-) :-( 8-) ;)\n\nsee [how to change output](https://github.com/markdown-it/markdown-it-emoji#change-output) with twemoji.\n\n\n### [Subscript](https://github.com/markdown-it/markdown-it-sub) / [Superscript](https://github.com/markdown-it/markdown-it-sup)\n\n- 19^th^\n- H~2~O\n\n\n### [](https://github.com/markdown-it/markdown-it-ins)\n\n++Inserted text++\n\n\n### [](https://github.com/markdown-it/markdown-it-mark)\n\n==Marked text==\n\n\n### [Footnotes](https://github.com/markdown-it/markdown-it-footnote)\n\nFootnote 1 link[^first].\n\nFootnote 2 link[^second].\n\nInline footnote^[Text of inline footnote] definition.\n\nDuplicated footnote reference[^second].\n\n[^first]: Footnote **can have markup**\n\n and multiple paragraphs.\n\n[^second]: Footnote text.\n\n\n### [Definition lists](https://github.com/markdown-it/markdown-it-deflist)\n\nTerm 1\n\n: Definition 1\nwith lazy continuation.\n\nTerm 2 with *inline markup*\n\n: Definition 2\n\n { some code, part of Definition 2 }\n\n Third paragraph of definition 2.\n\n_Compact style:_\n\nTerm 1\n ~ Definition 1\n\nTerm 2\n ~ Definition 2a\n ~ Definition 2b\n\n\n### [Abbreviations](https://github.com/markdown-it/markdown-it-abbr)\n\nThis is HTML abbreviation example.\n\nIt converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on.\n\n*[HTML]: Hyper Text Markup Language\n\n### [Custom containers](https://github.com/markdown-it/markdown-it-container)\n\n::: warning\n*here be dragons*\n:::\n\n ',options:{style:"html"}},argTypes:{"options.style":{control:"select",options:["original","bareString","html",null,void 0]}}},Money={args:{type:"Money",value:{value:40,currency:"USD"}},argTypes:{"options.currencyDisplay":{control:"select",options:["symbol","narrowSymbol","code","name",void 0]},"options.currencySign":{control:"select",options:["accounting","standard",void 0]},"options.notation":{control:"select",options:["standard","scientific","engineering","compact-short","compact-long",void 0],description:"The notation to use for the value"}}},Oid={args:{type:"oid",value:"urn:oid:1.2.3.4.5"}},Period={args:{type:"Period",value:{start:"2001-05-06",end:"2002-01-10"}},argTypes:{"options.dateStyle":{control:"select",options:["full","long","medium","short","relative",null,void 0]},"options.timeStyle":{control:"select",options:["full","long","medium","short",null,void 0]},"options.relativeStyle":{control:"select",options:["long","short",null,void 0]},"options.relativeTo":{control:"text",description:"From when the relative computation happen - defaults to now."}}},PositiveInt={args:{type:"positiveInt",value:42},argTypes:{"options.notation":{control:"select",options:["standard","scientific","engineering","compact-short","compact-long",void 0],description:"The notation to use for the value"}}},Quantity={args:{type:"Quantity",value:{value:"40000",comparator:">",unit:"ug/L",system:"http://unitsofmeasure.org",code:"ug"}},argTypes:{"options.expansions":{control:"object",description:"The ValueSet expansion to use for the code"},"options.notation":{control:"select",options:["standard","scientific","engineering","compact-short","compact-long",void 0],description:"The notation to use for the value"},"options.separator":{control:"text",description:'Between the number of the unit. Default to " "'}}},Range={args:{type:"Range",value:{low:{value:"1.6",unit:"m"},high:{value:"1.9",unit:"m"}}},argTypes:{"options.expansions":{control:"object",description:"The ValueSet expansion to use for the code"},"options.notation":{control:"select",options:["standard","scientific","engineering","compact-short","compact-long",void 0],description:"The notation to use for the value"},"options.quantitySeparator":{control:"text",description:'Between the number of the unit. Default to " "'},"options.rangeSeparator":{control:"text",description:'Default to "…"'}}},RatioRange={args:{type:"RatioRange",value:{lowNumerator:{value:103.5,unit:"US$",code:"USD",system:"urn:iso:std:iso:4217"},highNumerator:{value:210.99,unit:"US$",code:"USD",system:"urn:iso:std:iso:4217"},denominator:{value:1,unit:"day",code:"day",system:"http://unitsofmeasure.org"}}},argTypes:{"options.numeratorExpansions":{control:"object",description:"The ValueSet expansion to use for the numerator"},"options.denominatorExpansions":{control:"object",description:"The ValueSet expansion to use for the numerator"},"options.notation":{control:"select",options:["standard","scientific","engineering","compact-short","compact-long",void 0],description:"The notation to use for the value"},"options.quantitySeparator":{control:"text",description:'Between the number of the unit. Default to " "'},"options.rangeSeparator":{control:"text",description:'Default to "…"'},"options.denominatorSeparator":{control:"text"},"options.reduceSingleDenominator":{control:"boolean",description:"If set to true, denominator with a value of 1 will not output the value. e.g. 15 g / 1 ml => 13 g/ml"}}},Ratio={args:{type:"Ratio",value:{numerator:{value:103.5,unit:"US$",code:"USD",system:"urn:iso:std:iso:4217"},denominator:{value:1,unit:"day",code:"day",system:"http://unitsofmeasure.org"}}},argTypes:{"options.numeratorExpansions":{control:"object",description:"The ValueSet expansion to use for the numerator"},"options.denominatorExpansions":{control:"object",description:"The ValueSet expansion to use for the numerator"},"options.notation":{control:"select",options:["standard","scientific","engineering","compact-short","compact-long",void 0],description:"The notation to use for the value"},"options.quantitySeparator":{control:"text",description:'Between the number of the unit. Default to " "'},"options.denominatorSeparator":{control:"text"},"options.reduceSingleDenominator":{control:"boolean",description:"If set to true, denominator with a value of 1 will not output the value. e.g. 15 g / 1 ml => 13 g/ml"}}},Reference={args:{type:"Reference",value:{reference:"Patient/123",type:"Patient",display:"John Doe"}}},String={args:{type:"string",value:"Hello, world!"},argTypes:{"options.truncate.length":{control:"number",description:"The maximum string length"},"options.truncate.separator":{control:"text",description:"The separator pattern to truncate to."},"options.truncate.suffix":{control:"text",description:'The string to indicate text is omitted. Defaults to "..."'}}},Time={args:{type:"time",value:"11:30:00"},argTypes:{"options.timeStyle":{control:"select",options:["full","long","medium","short",null,void 0]}}},UnsignedInt={args:{type:"unsignedInt",value:42},argTypes:{"options.notation":{control:"select",options:["standard","scientific","engineering","compact-short","compact-long",void 0],description:"The notation to use for the value"}}},Uri={args:{type:"uri",value:"https://hl7.org/fhir"}},Url={args:{type:"url",value:"https://hl7.org/fhir"}},Uuid={args:{type:"uuid",value:"urn:uuid:c757873d-ec9a-4326-a141-556f43239520"}};Default.parameters={...Default.parameters,docs:{...Default.parameters?.docs,source:{originalSource:'{\n args: {\n type: "string",\n value: "Hello, world!"\n }\n}',...Default.parameters?.docs?.source}}},Address.parameters={...Address.parameters,docs:{...Address.parameters?.docs,source:{originalSource:'{\n args: {\n type: "Address",\n value: [{\n use: "home",\n line: ["123 Main St"],\n city: "Anytown",\n country: "US",\n postalCode: "12345",\n state: "CA"\n }]\n },\n argTypes: {\n value: {\n control: "object",\n description: "An address or a list of addresses"\n },\n "options.defaultCountry": {\n control: "text",\n description: "Specify the default country to use for addresses that do not have the country info."\n },\n "options.includeCountry": {\n control: "boolean",\n description: "Whether the country should be happened at the end of the address or not. Defaults to false."\n },\n "options.preferText": {\n control: "boolean",\n description: "True to use text if present, false to never use text - defaults to true"\n },\n "options.style": {\n control: "select",\n description: "The style of address to render",\n options: ["standard", "full", "extended"]\n },\n "options.useFilterOrder": {\n control: "object",\n description: "When using a list of values: the sort order for the use attribute and the filter to select only specific values. Defaults to [home, work, billing, temp, old, undefined]"\n },\n "options.typeValueSetExpansions": {\n control: "object",\n description: "Expansions to use for the type code"\n },\n "options.useValueSetExpansions": {\n control: "object",\n description: "Expansions to use for the use code"\n },\n "options.lineSeparator": {\n control: "text",\n description: \'The separator to use to join formatted line addresses. Defaults to ", "\'\n },\n "options.listFormatOptions": {\n control: "object",\n description: "When using a list of values, the options to pass to the Intl listFormat method."\n },\n "options.max": {\n control: "number",\n description: "When using a list of values, format only the first n (after sorting). Default to Infinity to show all values."\n }\n }\n}',...Address.parameters?.docs?.source},description:{story:"Render a FHIR [Address](https://hl7.org/fhir/datatypes.html#Address)",...Address.parameters?.docs?.description}}},Age.parameters={...Age.parameters,docs:{...Age.parameters?.docs,source:{originalSource:'{\n args: {\n type: "Age",\n value: {\n code: "a",\n unit: "years",\n system: "http://unitsofmeasure.org",\n value: 10\n }\n },\n argTypes: {\n "options.expansions": {\n control: "object",\n description: "The ValueSet expansion to use for the code"\n },\n "options.notation": {\n control: "select",\n options: ["standard", "scientific", "engineering", "compact-short", "compact-long", undefined],\n description: "The notation to use for the value"\n },\n "options.separator": {\n control: "text",\n description: \'Between the number of the unit. Default to " "\'\n }\n }\n}',...Age.parameters?.docs?.source},description:{story:"Render FHIR [Age]((https://hl7.org/fhir/datatypes.html#Age)",...Age.parameters?.docs?.description}}},Boolean.parameters={...Boolean.parameters,docs:{...Boolean.parameters?.docs,source:{originalSource:'{\n args: {\n type: "boolean",\n value: true\n },\n argTypes: {\n "options.labels.true": {\n control: "text",\n description: "The label to use for true"\n },\n "options.labels.false": {\n control: "text",\n description: "The label to use for false"\n },\n "options.labels.nil": {\n control: "text",\n description: "The label to use for null or undefined"\n }\n }\n}',...Boolean.parameters?.docs?.source},description:{story:"Render FHIR [boolean]((https://hl7.org/fhir/datatypes.html#boolean)",...Boolean.parameters?.docs?.description}}},Canonical.parameters={...Canonical.parameters,docs:{...Canonical.parameters?.docs,source:{originalSource:'{\n args: {\n type: "canonical",\n value: "http://acme.org"\n }\n}',...Canonical.parameters?.docs?.source},description:{story:"Render FHIR [canonical]((https://hl7.org/fhir/datatypes.html#canonical)",...Canonical.parameters?.docs?.description}}},Code.parameters={...Code.parameters,docs:{...Code.parameters?.docs,source:{originalSource:'{\n args: {\n type: "code",\n value: "female"\n },\n argTypes: {\n "options.expansions": {\n control: "object",\n description: "The ValueSet expansion to use for the code"\n }\n }\n}',...Code.parameters?.docs?.source},description:{story:"Render FHIR [code](https://hl7.org/fhir/datatypes.html#code)",...Code.parameters?.docs?.description}}},CodeableConcept.parameters={...CodeableConcept.parameters,docs:{...CodeableConcept.parameters?.docs,source:{originalSource:'{\n args: {\n type: "CodeableConcept",\n value: codeableConcept({\n code: "I",\n system: "http://terminology.hl7.org/CodeSystem/v2-0131",\n display: "Federal Agency"\n })\n },\n argTypes: {\n "options.expansions": {\n control: "object",\n description: "The ValueSet expansion to use for the code"\n },\n "options.style": {\n control: "select",\n options: ["code", "display", "code-display", "display-code", undefined]\n },\n "options.includeSystem": {\n control: "boolean"\n },\n "options.preferText": {\n control: "boolean",\n description: "True to use text if present, false to never use text - defaults to true"\n },\n "options.listFormatOptions": {\n control: "object",\n description: "WThe options to pass to the Intl listFormat method when there are multiple codings."\n }\n }\n}',...CodeableConcept.parameters?.docs?.source},description:{story:"Render FHIR [CodeableConcept](https://hl7.org/fhir/datatypes.html#CodeableConcept)",...CodeableConcept.parameters?.docs?.description}}},Coding.parameters={...Coding.parameters,docs:{...Coding.parameters?.docs,source:{originalSource:'{\n args: {\n type: "Coding",\n value: {\n system: "http://loinc.org",\n code: "15074-8",\n display: "Glucose [Moles/volume] in Blood"\n }\n },\n argTypes: {\n "options.expansions": {\n control: "object",\n description: "The ValueSet expansion to use for the code"\n },\n "options.style": {\n control: "select",\n options: ["code", "display", "code-display", "display-code", undefined]\n },\n "options.includeSystem": {\n control: "boolean"\n }\n }\n}',...Coding.parameters?.docs?.source},description:{story:"Render FHIR [Coding](https://hl7.org/fhir/datatypes.html#Coding)",...Coding.parameters?.docs?.description}}},ContactPoint.parameters={...ContactPoint.parameters,docs:{...ContactPoint.parameters?.docs,source:{originalSource:'{\n args: {\n type: "ContactPoint",\n value: [{\n system: "phone",\n value: "(03) 5555 6473",\n use: "work",\n rank: 1\n }, {\n system: "phone",\n value: "(03) 3410 5613",\n use: "mobile",\n rank: 2\n }]\n },\n argTypes: {\n "options.style": {\n control: "select",\n options: ["full", "long", "medium", "short", undefined]\n },\n "options.lineSeparator": {\n control: "text",\n description: \'The separator to use to join formatted contact point. Defaults to ", "\'\n },\n "options.max": {\n control: "number",\n description: "When using a list of values, format only the first n (after sorting). Default to Infinity to show all values."\n },\n "options.useFilterOrder": {\n control: "object",\n description: "When using a list of values: the sort order for the use attribute and the filter to select only specific values. Defaults to [home, work, temp, old, mobile, undefined]"\n },\n "options.listFormatOptions": {\n control: "object",\n description: "When using a list of values, the options to pass to the Intl listFormat method."\n },\n "options.systemExpansions": {\n control: "object",\n description: "The ValueSet expansion to use for the system"\n },\n "options.useExpansions": {\n control: "object",\n description: "The ValueSet expansion to use for the use"\n }\n }\n}',...ContactPoint.parameters?.docs?.source},description:{story:"Render FHIR [ContactPoint](https://hl7.org/fhir/datatypes.html#ContactPoint)",...ContactPoint.parameters?.docs?.description}}},Count.parameters={...Count.parameters,docs:{...Count.parameters?.docs,source:{originalSource:'{\n args: {\n type: "Count",\n value: {\n value: 10\n }\n },\n argTypes: {\n "options.expansions": {\n control: "object",\n description: "The ValueSet expansion to use for the code"\n },\n "options.notation": {\n control: "select",\n options: ["standard", "scientific", "engineering", "compact-short", "compact-long", undefined],\n description: "The notation to use for the value"\n },\n "options.separator": {\n control: "text",\n description: \'Between the number of the unit. Default to " "\'\n }\n }\n}',...Count.parameters?.docs?.source},description:{story:"Render FHIR [Count]((https://hl7.org/fhir/datatypes.html#Count)",...Count.parameters?.docs?.description}}},DateTime.parameters={...DateTime.parameters,docs:{...DateTime.parameters?.docs,source:{originalSource:'{\n args: {\n type: "dateTime",\n value: now()\n },\n argTypes: {\n "options.dateStyle": {\n control: "select",\n options: ["full", "long", "medium", "short", "relative", null, undefined]\n },\n "options.timeStyle": {\n control: "select",\n options: ["full", "long", "medium", "short", null, undefined]\n },\n "options.relativeStyle": {\n control: "select",\n options: ["long", "short", null, undefined]\n },\n "options.relativeTo": {\n control: "text",\n description: "From when the relative computation happen - defaults to now."\n }\n }\n}',...DateTime.parameters?.docs?.source},description:{story:"Render FHIR [dateTime]((https://hl7.org/fhir/datatypes.html#dateTime)",...DateTime.parameters?.docs?.description}}},Date.parameters={...Date.parameters,docs:{...Date.parameters?.docs,source:{originalSource:'{\n args: {\n type: "date",\n value: today()\n },\n argTypes: {\n "options.dateStyle": {\n control: "select",\n options: ["full", "long", "medium", "short", "relative", null, undefined]\n },\n "options.relativeStyle": {\n control: "select",\n options: ["long", "short", null, undefined]\n },\n "options.relativeTo": {\n control: "text",\n description: "From when the relative computation happen - defaults to now."\n }\n }\n}',...Date.parameters?.docs?.source},description:{story:"Render FHIR [date]((https://hl7.org/fhir/datatypes.html#date)",...Date.parameters?.docs?.description}}},Decimal.parameters={...Decimal.parameters,docs:{...Decimal.parameters?.docs,source:{originalSource:'{\n args: {\n type: "decimal",\n value: Math.PI\n },\n argTypes: {\n "options.notation": {\n control: "select",\n options: ["standard", "scientific", "engineering", "compact-short", "compact-long", undefined],\n description: "The notation to use for the value"\n }\n }\n}',...Decimal.parameters?.docs?.source},description:{story:"Render FHIR [decimal]((https://hl7.org/fhir/datatypes.html#decimal)",...Decimal.parameters?.docs?.description}}},Distance.parameters={...Distance.parameters,docs:{...Distance.parameters?.docs,source:{originalSource:'{\n args: {\n type: "Distance",\n value: {\n code: "m",\n unit: "m",\n system: "http://unitsofmeasure.org",\n value: 10\n }\n },\n argTypes: {\n "options.expansions": {\n control: "object",\n description: "The ValueSet expansion to use for the code"\n },\n "options.notation": {\n control: "select",\n options: ["standard", "scientific", "engineering", "compact-short", "compact-long", undefined],\n description: "The notation to use for the value"\n },\n "options.separator": {\n control: "text",\n description: \'Between the number of the unit. Default to " "\'\n }\n }\n}',...Distance.parameters?.docs?.source},description:{story:"Render FHIR [Distance]((https://hl7.org/fhir/datatypes.html#Distance)",...Distance.parameters?.docs?.description}}},Duration.parameters={...Duration.parameters,docs:{...Duration.parameters?.docs,source:{originalSource:'{\n args: {\n type: "Duration",\n value: {\n code: "min",\n unit: "min",\n system: "http://unitsofmeasure.org",\n value: 15\n }\n },\n argTypes: {\n "options.expansions": {\n control: "object",\n description: "The ValueSet expansion to use for the code"\n },\n "options.notation": {\n control: "select",\n options: ["standard", "scientific", "engineering", "compact-short", "compact-long", undefined],\n description: "The notation to use for the value"\n },\n "options.separator": {\n control: "text",\n description: \'Between the number of the unit. Default to " "\'\n }\n }\n}',...Duration.parameters?.docs?.source},description:{story:"Render FHIR [Duration]((https://hl7.org/fhir/datatypes.html#Duration)",...Duration.parameters?.docs?.description}}},HumanName.parameters={...HumanName.parameters,docs:{...HumanName.parameters?.docs,source:{originalSource:'{\n args: {\n type: "HumanName",\n value: [{\n use: "official",\n family: "Chalmers",\n given: ["Peter", "James"]\n }, {\n use: "usual",\n given: ["Jim"]\n }, {\n use: "maiden",\n family: "Windsor",\n given: ["Peter", "James"],\n period: {\n end: "2002"\n }\n }]\n },\n argTypes: {\n "options.style": {\n control: "select",\n options: ["full", "long", "medium", "standard", "short", "shorter", undefined]\n },\n "options.template": {\n control: "text",\n description: "Template string used to format the name."\n },\n "options.preferText": {\n control: "boolean",\n description: "True to use text if present, false to never use text - defaults to true"\n },\n "options.includeUse": {\n control: "boolean",\n description: "Whether we should include the use or not. Defaults to false"\n },\n "options.useFilterOrder": {\n control: "object",\n description: "When using a list of values: the sort order for the use attribute and the filter to select only specific values. Defaults to [usual, official, temp, nickname, anonymous, old, maiden, undefined]"\n },\n "options.max": {\n control: "number",\n description: "When using a list of values, format only the first n (after sorting). Default to Infinity to show all values."\n },\n "options.listFormatOptions": {\n control: "object",\n description: "When using a list of values, the options to pass to the Intl listFormat method."\n },\n "options.expansions": {\n control: "object",\n description: "Expansions to use for the type use"\n }\n }\n}',...HumanName.parameters?.docs?.source},description:{story:"Render FHIR [HumanName]((https://hl7.org/fhir/datatypes.html#HumanName)",...HumanName.parameters?.docs?.description}}},Id.parameters={...Id.parameters,docs:{...Id.parameters?.docs,source:{originalSource:'{\n args: {\n type: "id",\n value: "f84a844c-888b-4330-97e6-a891ef285577"\n }\n}',...Id.parameters?.docs?.source},description:{story:"Render FHIR [id]((https://hl7.org/fhir/datatypes.html#id)",...Id.parameters?.docs?.description}}},Identifier.parameters={...Identifier.parameters,docs:{...Identifier.parameters?.docs,source:{originalSource:'{\n args: {\n type: "Identifier",\n value: [{\n system: "http://hl7.org/fhir/sid/us-ssn",\n type: {\n coding: [{\n code: "SS",\n display: "Social Security Number",\n system: "http://terminology.hl7.org/CodeSystem/v2-0203"\n }],\n text: "Social Security Number"\n },\n value: "999-81-1155"\n }, {\n system: "https://github.com/synthetichealth/synthea",\n value: "91e630a6-05e9-4ada-9a8e-7d2d1eb22d82"\n }, {\n system: "http://hospital.smarthealthit.org",\n type: {\n coding: [{\n code: "MR",\n display: "Medical Record Number",\n system: "http://terminology.hl7.org/CodeSystem/v2-0203"\n }],\n text: "Medical Record Number"\n },\n value: "91e630a6-05e9-4ada-9a8e-7d2d1eb22d82"\n }, {\n system: "urn:oid:2.16.840.1.113883.4.3.25",\n type: {\n coding: [{\n code: "DL",\n display: "Driver\'s License",\n system: "http://terminology.hl7.org/CodeSystem/v2-0203"\n }],\n text: "Driver\'s License"\n },\n value: "S99941325"\n }, {\n system: "http://standardhealthrecord.org/fhir/StructureDefinition/passportNumber",\n type: {\n coding: [{\n code: "PPN",\n display: "Passport Number",\n system: "http://terminology.hl7.org/CodeSystem/v2-0203"\n }],\n text: "Passport Number"\n },\n value: "X72769294X"\n }]\n },\n argTypes: {\n "options.style": {\n control: "select",\n options: ["full", "long", "medium", "short", "value", undefined]\n },\n "options.systemsLabels": {\n control: "object",\n description: "A dictionary of system as key, and system labels as value"\n },\n "options.useFilterOrder": {\n control: "object",\n description: "When using a list of values: the sort order for the use attribute and the filter to select only specific values. Defaults to [usual, official, temp, secondary, old, undefined]"\n },\n "options.systemFilterOrder": {\n control: "object",\n description: "When using a list of values: the sort order for the use attribute and the filter to select only specific values. No default (no order and none filtered out)"\n },\n "options.max": {\n control: "number",\n description: "When using a list of values, format only the first n (after sorting). Default to Infinity to show all values."\n },\n "options.listFormatOptions": {\n control: "object",\n description: "When using a list of values, the options to pass to the Intl listFormat method."\n },\n "options.expansions": {\n control: "object",\n description: "Expansions to use for the type use"\n }\n }\n}',...Identifier.parameters?.docs?.source},description:{story:"Render FHIR [Identifier]((https://hl7.org/fhir/datatypes.html#Identifier)",...Identifier.parameters?.docs?.description}}},Instant.parameters={...Instant.parameters,docs:{...Instant.parameters?.docs,source:{originalSource:'{\n args: {\n type: "instant",\n value: now()\n },\n argTypes: {\n "options.dateStyle": {\n control: "select",\n options: ["full", "long", "medium", "short", "relative", null, undefined]\n },\n "options.timeStyle": {\n control: "select",\n options: ["full", "long", "medium", "short", null, undefined]\n },\n "options.relativeStyle": {\n control: "select",\n options: ["long", "short", null, undefined]\n },\n "options.relativeTo": {\n control: "text",\n description: "From when the relative computation happen - defaults to now."\n }\n }\n}',...Instant.parameters?.docs?.source},description:{story:"Render FHIR [instant]((https://hl7.org/fhir/datatypes.html#instant)",...Instant.parameters?.docs?.description}}},Integer.parameters={...Integer.parameters,docs:{...Integer.parameters?.docs,source:{originalSource:'{\n args: {\n type: "decimal",\n value: 42\n },\n argTypes: {\n "options.notation": {\n control: "select",\n options: ["standard", "scientific", "engineering", "compact-short", "compact-long", undefined],\n description: "The notation to use for the value"\n }\n }\n}',...Integer.parameters?.docs?.source},description:{story:"Render FHIR [integer]((https://hl7.org/fhir/datatypes.html#integer)",...Integer.parameters?.docs?.description}}},Integer64.parameters={...Integer64.parameters,docs:{...Integer64.parameters?.docs,source:{originalSource:'{\n args: {\n type: "integer64",\n value: "42"\n },\n argTypes: {\n "options.notation": {\n control: "select",\n options: ["standard", "scientific", "engineering", "compact-short", "compact-long", undefined],\n description: "The notation to use for the value"\n }\n }\n}',...Integer64.parameters?.docs?.source},description:{story:"Render FHIR [integer64]((https://hl7.org/fhir/datatypes.html#integer64)",...Integer64.parameters?.docs?.description}}},Markdown.parameters={...Markdown.parameters,docs:{...Markdown.parameters?.docs,source:{originalSource:'{\n args: {\n type: "markdown",\n value: `\n ---\n__Advertisement :)__\n\n- __[pica](https://nodeca.github.io/pica/demo/)__ - high quality and fast image\n resize in browser.\n- __[babelfish](https://github.com/nodeca/babelfish/)__ - developer friendly\n i18n with plurals support and easy syntax.\n\nYou will like those projects!\n\n---\n\n# h1 Heading 8-)\n## h2 Heading\n### h3 Heading\n#### h4 Heading\n##### h5 Heading\n###### h6 Heading\n\n\n## Horizontal Rules\n\n___\n\n---\n\n***\n\n\n## Typographic replacements\n\nEnable typographer option to see result.\n\n(c) (C) (r) (R) (tm) (TM) (p) (P) +-\n\ntest.. test... test..... test?..... test!....\n\n!!!!!! ???? ,, -- ---\n\n"Smartypants, double quotes" and \'single quotes\'\n\n\n## Emphasis\n\n**This is bold text**\n\n__This is bold text__\n\n*This is italic text*\n\n_This is italic text_\n\n~~Strikethrough~~\n\n\n## Blockquotes\n\n\n> Blockquotes can also be nested...\n>> ...by using additional greater-than signs right next to each other...\n> > > ...or with spaces between arrows.\n\n\n## Lists\n\nUnordered\n\n+ Create a list by starting a line with \\`+\\`, \\`-\\`, or \\`*\\`\n+ Sub-lists are made by indenting 2 spaces:\n - Marker character change forces new list start:\n * Ac tristique libero volutpat at\n + Facilisis in pretium nisl aliquet\n - Nulla volutpat aliquam velit\n+ Very easy!\n\nOrdered\n\n1. Lorem ipsum dolor sit amet\n2. Consectetur adipiscing elit\n3. Integer molestie lorem at massa\n\n\n1. You can use sequential numbers...\n1. ...or keep all the numbers as \\`1.\\`\n\nStart numbering with offset:\n\n57. foo\n1. bar\n\n\n## Code\n\nInline \\`code\\`\n\nIndented code\n\n // Some comments\n line 1 of code\n line 2 of code\n line 3 of code\n\n\nBlock code "fences"\n\n\\`\\`\\`\nSample text here...\n\\`\\`\\`\n\nSyntax highlighting\n\n\\`\\`\\` js\nvar foo = function (bar) {\n return bar++;\n};\n\nconsole.log(foo(5));\n\\`\\`\\`\n\n## Tables\n\n| Option | Description |\n| ------ | ----------- |\n| data | path to data files to supply the data that will be passed into templates. |\n| engine | engine to be used for processing templates. Handlebars is the default. |\n| ext | extension to be used for dest files. |\n\nRight aligned columns\n\n| Option | Description |\n| ------:| -----------:|\n| data | path to data files to supply the data that will be passed into templates. |\n| engine | engine to be used for processing templates. Handlebars is the default. |\n| ext | extension to be used for dest files. |\n\n\n## Links\n\n[link text](http://dev.nodeca.com)\n\n[link with title](http://nodeca.github.io/pica/demo/ "title text!")\n\nAutoconverted link https://github.com/nodeca/pica (enable linkify to see)\n\n\n## Images\n\n![Minion](https://octodex.github.com/images/minion.png)\n![Stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")\n\nLike links, Images also have a footnote style syntax\n\n![Alt text][id]\n\nWith a reference later in the document defining the URL location:\n\n[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat"\n\n\n## Plugins\n\nThe killer feature of \\`markdown-it\\` is very effective support of\n[syntax plugins](https://www.npmjs.org/browse/keyword/markdown-it-plugin).\n\n\n### [Emojies](https://github.com/markdown-it/markdown-it-emoji)\n\n> Classic markup: :wink: :crush: :cry: :tear: :laughing: :yum:\n>\n> Shortcuts (emoticons): :-) :-( 8-) ;)\n\nsee [how to change output](https://github.com/markdown-it/markdown-it-emoji#change-output) with twemoji.\n\n\n### [Subscript](https://github.com/markdown-it/markdown-it-sub) / [Superscript](https://github.com/markdown-it/markdown-it-sup)\n\n- 19^th^\n- H~2~O\n\n\n### [](https://github.com/markdown-it/markdown-it-ins)\n\n++Inserted text++\n\n\n### [](https://github.com/markdown-it/markdown-it-mark)\n\n==Marked text==\n\n\n### [Footnotes](https://github.com/markdown-it/markdown-it-footnote)\n\nFootnote 1 link[^first].\n\nFootnote 2 link[^second].\n\nInline footnote^[Text of inline footnote] definition.\n\nDuplicated footnote reference[^second].\n\n[^first]: Footnote **can have markup**\n\n and multiple paragraphs.\n\n[^second]: Footnote text.\n\n\n### [Definition lists](https://github.com/markdown-it/markdown-it-deflist)\n\nTerm 1\n\n: Definition 1\nwith lazy continuation.\n\nTerm 2 with *inline markup*\n\n: Definition 2\n\n { some code, part of Definition 2 }\n\n Third paragraph of definition 2.\n\n_Compact style:_\n\nTerm 1\n ~ Definition 1\n\nTerm 2\n ~ Definition 2a\n ~ Definition 2b\n\n\n### [Abbreviations](https://github.com/markdown-it/markdown-it-abbr)\n\nThis is HTML abbreviation example.\n\nIt converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on.\n\n*[HTML]: Hyper Text Markup Language\n\n### [Custom containers](https://github.com/markdown-it/markdown-it-container)\n\n::: warning\n*here be dragons*\n:::\n\n `,\n options: {\n style: "html"\n }\n },\n argTypes: {\n "options.style": {\n control: "select",\n options: ["original", "bareString", "html", null, undefined]\n }\n }\n}',...Markdown.parameters?.docs?.source},description:{story:"Render FHIR [markdown]((https://hl7.org/fhir/datatypes.html#markdown)",...Markdown.parameters?.docs?.description}}},Money.parameters={...Money.parameters,docs:{...Money.parameters?.docs,source:{originalSource:'{\n args: {\n type: "Money",\n value: {\n value: 40,\n currency: "USD"\n }\n },\n argTypes: {\n "options.currencyDisplay": {\n control: "select",\n options: ["symbol", "narrowSymbol", "code", "name", undefined]\n },\n "options.currencySign": {\n control: "select",\n options: ["accounting", "standard", undefined]\n },\n "options.notation": {\n control: "select",\n options: ["standard", "scientific", "engineering", "compact-short", "compact-long", undefined],\n description: "The notation to use for the value"\n }\n }\n}',...Money.parameters?.docs?.source},description:{story:"Render FHIR [Money]((https://hl7.org/fhir/datatypes.html#Money)",...Money.parameters?.docs?.description}}},Oid.parameters={...Oid.parameters,docs:{...Oid.parameters?.docs,source:{originalSource:'{\n args: {\n type: "oid",\n value: "urn:oid:1.2.3.4.5"\n }\n}',...Oid.parameters?.docs?.source},description:{story:"Render FHIR [oid]((https://hl7.org/fhir/datatypes.html#oid)",...Oid.parameters?.docs?.description}}},Period.parameters={...Period.parameters,docs:{...Period.parameters?.docs,source:{originalSource:'{\n args: {\n type: "Period",\n value: {\n start: "2001-05-06",\n end: "2002-01-10"\n }\n },\n argTypes: {\n "options.dateStyle": {\n control: "select",\n options: ["full", "long", "medium", "short", "relative", null, undefined]\n },\n "options.timeStyle": {\n control: "select",\n options: ["full", "long", "medium", "short", null, undefined]\n },\n "options.relativeStyle": {\n control: "select",\n options: ["long", "short", null, undefined]\n },\n "options.relativeTo": {\n control: "text",\n description: "From when the relative computation happen - defaults to now."\n }\n }\n}',...Period.parameters?.docs?.source},description:{story:"Render FHIR [Period]((https://hl7.org/fhir/datatypes.html#Period)",...Period.parameters?.docs?.description}}},PositiveInt.parameters={...PositiveInt.parameters,docs:{...PositiveInt.parameters?.docs,source:{originalSource:'{\n args: {\n type: "positiveInt",\n value: 42\n },\n argTypes: {\n "options.notation": {\n control: "select",\n options: ["standard", "scientific", "engineering", "compact-short", "compact-long", undefined],\n description: "The notation to use for the value"\n }\n }\n}',...PositiveInt.parameters?.docs?.source},description:{story:"Render FHIR [positiveInt]((https://hl7.org/fhir/datatypes.html#positiveInt)",...PositiveInt.parameters?.docs?.description}}},Quantity.parameters={...Quantity.parameters,docs:{...Quantity.parameters?.docs,source:{originalSource:'{\n args: {\n type: "Quantity",\n value: {\n value: "40000",\n comparator: ">",\n unit: "ug/L",\n system: "http://unitsofmeasure.org",\n code: "ug"\n }\n },\n argTypes: {\n "options.expansions": {\n control: "object",\n description: "The ValueSet expansion to use for the code"\n },\n "options.notation": {\n control: "select",\n options: ["standard", "scientific", "engineering", "compact-short", "compact-long", undefined],\n description: "The notation to use for the value"\n },\n "options.separator": {\n control: "text",\n description: \'Between the number of the unit. Default to " "\'\n }\n }\n}',...Quantity.parameters?.docs?.source},description:{story:"Render FHIR [Quantity]((https://hl7.org/fhir/datatypes.html#Quantity)",...Quantity.parameters?.docs?.description}}},Range.parameters={...Range.parameters,docs:{...Range.parameters?.docs,source:{originalSource:'{\n args: {\n type: "Range",\n value: {\n low: {\n value: "1.6",\n unit: "m"\n },\n high: {\n value: "1.9",\n unit: "m"\n }\n }\n },\n argTypes: {\n "options.expansions": {\n control: "object",\n description: "The ValueSet expansion to use for the code"\n },\n "options.notation": {\n control: "select",\n options: ["standard", "scientific", "engineering", "compact-short", "compact-long", undefined],\n description: "The notation to use for the value"\n },\n "options.quantitySeparator": {\n control: "text",\n description: \'Between the number of the unit. Default to " "\'\n },\n "options.rangeSeparator": {\n control: "text",\n description: \'Default to "…"\'\n }\n }\n}',...Range.parameters?.docs?.source},description:{story:"Render FHIR [Range]((https://hl7.org/fhir/datatypes.html#Range)",...Range.parameters?.docs?.description}}},RatioRange.parameters={...RatioRange.parameters,docs:{...RatioRange.parameters?.docs,source:{originalSource:'{\n args: {\n type: "RatioRange",\n value: {\n lowNumerator: {\n value: 103.5,\n unit: "US$",\n code: "USD",\n system: "urn:iso:std:iso:4217"\n },\n highNumerator: {\n value: 210.99,\n unit: "US$",\n code: "USD",\n system: "urn:iso:std:iso:4217"\n },\n denominator: {\n value: 1,\n unit: "day",\n code: "day",\n system: "http://unitsofmeasure.org"\n }\n }\n },\n argTypes: {\n "options.numeratorExpansions": {\n control: "object",\n description: "The ValueSet expansion to use for the numerator"\n },\n "options.denominatorExpansions": {\n control: "object",\n description: "The ValueSet expansion to use for the numerator"\n },\n "options.notation": {\n control: "select",\n options: ["standard", "scientific", "engineering", "compact-short", "compact-long", undefined],\n description: "The notation to use for the value"\n },\n "options.quantitySeparator": {\n control: "text",\n description: \'Between the number of the unit. Default to " "\'\n },\n "options.rangeSeparator": {\n control: "text",\n description: \'Default to "…"\'\n },\n "options.denominatorSeparator": {\n control: "text"\n },\n "options.reduceSingleDenominator": {\n control: "boolean",\n description: "If set to true, denominator with a value of 1 will not output the value. e.g. 15 g / 1 ml => 13 g/ml"\n }\n }\n}',...RatioRange.parameters?.docs?.source},description:{story:"Render FHIR [RatioRange]((https://hl7.org/fhir/datatypes.html#RatioRange)",...RatioRange.parameters?.docs?.description}}},Ratio.parameters={...Ratio.parameters,docs:{...Ratio.parameters?.docs,source:{originalSource:'{\n args: {\n type: "Ratio",\n value: {\n numerator: {\n value: 103.5,\n unit: "US$",\n code: "USD",\n system: "urn:iso:std:iso:4217"\n },\n denominator: {\n value: 1,\n unit: "day",\n code: "day",\n system: "http://unitsofmeasure.org"\n }\n }\n },\n argTypes: {\n "options.numeratorExpansions": {\n control: "object",\n description: "The ValueSet expansion to use for the numerator"\n },\n "options.denominatorExpansions": {\n control: "object",\n description: "The ValueSet expansion to use for the numerator"\n },\n "options.notation": {\n control: "select",\n options: ["standard", "scientific", "engineering", "compact-short", "compact-long", undefined],\n description: "The notation to use for the value"\n },\n "options.quantitySeparator": {\n control: "text",\n description: \'Between the number of the unit. Default to " "\'\n },\n "options.denominatorSeparator": {\n control: "text"\n },\n "options.reduceSingleDenominator": {\n control: "boolean",\n description: "If set to true, denominator with a value of 1 will not output the value. e.g. 15 g / 1 ml => 13 g/ml"\n }\n }\n}',...Ratio.parameters?.docs?.source},description:{story:"Render FHIR [Ratio]((https://hl7.org/fhir/datatypes.html#Ratio)",...Ratio.parameters?.docs?.description}}},Reference.parameters={...Reference.parameters,docs:{...Reference.parameters?.docs,source:{originalSource:'{\n args: {\n type: "Reference",\n value: {\n reference: "Patient/123",\n type: "Patient",\n display: "John Doe"\n }\n }\n}',...Reference.parameters?.docs?.source},description:{story:"Render FHIR [Reference](https://hl7.org/fhir/references.html#Reference)",...Reference.parameters?.docs?.description}}},String.parameters={...String.parameters,docs:{...String.parameters?.docs,source:{originalSource:'{\n args: {\n type: "string",\n value: "Hello, world!"\n },\n argTypes: {\n "options.truncate.length": {\n control: "number",\n description: "The maximum string length"\n },\n "options.truncate.separator": {\n control: "text",\n description: "The separator pattern to truncate to."\n },\n "options.truncate.suffix": {\n control: "text",\n description: \'The string to indicate text is omitted. Defaults to "..."\'\n }\n }\n}',...String.parameters?.docs?.source},description:{story:"Render FHIR [string](https://hl7.org/fhir/datatypes.html#string)",...String.parameters?.docs?.description}}},Time.parameters={...Time.parameters,docs:{...Time.parameters?.docs,source:{originalSource:'{\n args: {\n type: "time",\n value: "11:30:00"\n },\n argTypes: {\n "options.timeStyle": {\n control: "select",\n options: ["full", "long", "medium", "short", null, undefined]\n }\n }\n}',...Time.parameters?.docs?.source},description:{story:"Render FHIR [time]((https://hl7.org/fhir/datatypes.html#time)",...Time.parameters?.docs?.description}}},UnsignedInt.parameters={...UnsignedInt.parameters,docs:{...UnsignedInt.parameters?.docs,source:{originalSource:'{\n args: {\n type: "unsignedInt",\n value: 42\n },\n argTypes: {\n "options.notation": {\n control: "select",\n options: ["standard", "scientific", "engineering", "compact-short", "compact-long", undefined],\n description: "The notation to use for the value"\n }\n }\n}',...UnsignedInt.parameters?.docs?.source},description:{story:"Render FHIR [unsignedInt]((https://hl7.org/fhir/datatypes.html#unsignedInt)",...UnsignedInt.parameters?.docs?.description}}},Uri.parameters={...Uri.parameters,docs:{...Uri.parameters?.docs,source:{originalSource:'{\n args: {\n type: "uri",\n value: "https://hl7.org/fhir"\n }\n}',...Uri.parameters?.docs?.source},description:{story:"Render FHIR [uri]((https://hl7.org/fhir/datatypes.html#uri)",...Uri.parameters?.docs?.description}}},Url.parameters={...Url.parameters,docs:{...Url.parameters?.docs,source:{originalSource:'{\n args: {\n type: "url",\n value: "https://hl7.org/fhir"\n }\n}',...Url.parameters?.docs?.source},description:{story:"Render FHIR [url]((https://hl7.org/fhir/datatypes.html#url)",...Url.parameters?.docs?.description}}},Uuid.parameters={...Uuid.parameters,docs:{...Uuid.parameters?.docs,source:{originalSource:'{\n args: {\n type: "uuid",\n value: "urn:uuid:c757873d-ec9a-4326-a141-556f43239520"\n }\n}',...Uuid.parameters?.docs?.source},description:{story:"Render FHIR [uuid]((https://hl7.org/fhir/datatypes.html#uuid)",...Uuid.parameters?.docs?.description}}};const __namedExportsOrder=["Default","Address","Age","Boolean","Canonical","Code","CodeableConcept","Coding","ContactPoint","Count","DateTime","Date","Decimal","Distance","Duration","HumanName","Id","Identifier","Instant","Integer","Integer64","Markdown","Money","Oid","Period","PositiveInt","Quantity","Range","RatioRange","Ratio","Reference","String","Time","UnsignedInt","Uri","Url","Uuid"];try{Address.displayName="Address",Address.__docgenInfo={description:"Render a FHIR [Address](https://hl7.org/fhir/datatypes.html#Address)",displayName:"Address",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Address"]={docgenInfo:Address.__docgenInfo,name:"Address",path:"src/stories/data-display/FhirValue.stories.tsx#Address"})}catch(__react_docgen_typescript_loader_error){}try{Age.displayName="Age",Age.__docgenInfo={description:"Render FHIR [Age]((https://hl7.org/fhir/datatypes.html#Age)",displayName:"Age",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Age"]={docgenInfo:Age.__docgenInfo,name:"Age",path:"src/stories/data-display/FhirValue.stories.tsx#Age"})}catch(__react_docgen_typescript_loader_error){}try{Boolean.displayName="Boolean",Boolean.__docgenInfo={description:"Render FHIR [boolean]((https://hl7.org/fhir/datatypes.html#boolean)",displayName:"Boolean",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Boolean"]={docgenInfo:Boolean.__docgenInfo,name:"Boolean",path:"src/stories/data-display/FhirValue.stories.tsx#Boolean"})}catch(__react_docgen_typescript_loader_error){}try{Canonical.displayName="Canonical",Canonical.__docgenInfo={description:"Render FHIR [canonical]((https://hl7.org/fhir/datatypes.html#canonical)",displayName:"Canonical",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Canonical"]={docgenInfo:Canonical.__docgenInfo,name:"Canonical",path:"src/stories/data-display/FhirValue.stories.tsx#Canonical"})}catch(__react_docgen_typescript_loader_error){}try{Code.displayName="Code",Code.__docgenInfo={description:"Render FHIR [code](https://hl7.org/fhir/datatypes.html#code)",displayName:"Code",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Code"]={docgenInfo:Code.__docgenInfo,name:"Code",path:"src/stories/data-display/FhirValue.stories.tsx#Code"})}catch(__react_docgen_typescript_loader_error){}try{CodeableConcept.displayName="CodeableConcept",CodeableConcept.__docgenInfo={description:"Render FHIR [CodeableConcept](https://hl7.org/fhir/datatypes.html#CodeableConcept)",displayName:"CodeableConcept",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#CodeableConcept"]={docgenInfo:CodeableConcept.__docgenInfo,name:"CodeableConcept",path:"src/stories/data-display/FhirValue.stories.tsx#CodeableConcept"})}catch(__react_docgen_typescript_loader_error){}try{Coding.displayName="Coding",Coding.__docgenInfo={description:"Render FHIR [Coding](https://hl7.org/fhir/datatypes.html#Coding)",displayName:"Coding",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Coding"]={docgenInfo:Coding.__docgenInfo,name:"Coding",path:"src/stories/data-display/FhirValue.stories.tsx#Coding"})}catch(__react_docgen_typescript_loader_error){}try{ContactPoint.displayName="ContactPoint",ContactPoint.__docgenInfo={description:"Render FHIR [ContactPoint](https://hl7.org/fhir/datatypes.html#ContactPoint)",displayName:"ContactPoint",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#ContactPoint"]={docgenInfo:ContactPoint.__docgenInfo,name:"ContactPoint",path:"src/stories/data-display/FhirValue.stories.tsx#ContactPoint"})}catch(__react_docgen_typescript_loader_error){}try{Count.displayName="Count",Count.__docgenInfo={description:"Render FHIR [Count]((https://hl7.org/fhir/datatypes.html#Count)",displayName:"Count",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Count"]={docgenInfo:Count.__docgenInfo,name:"Count",path:"src/stories/data-display/FhirValue.stories.tsx#Count"})}catch(__react_docgen_typescript_loader_error){}try{DateTime.displayName="DateTime",DateTime.__docgenInfo={description:"Render FHIR [dateTime]((https://hl7.org/fhir/datatypes.html#dateTime)",displayName:"DateTime",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#DateTime"]={docgenInfo:DateTime.__docgenInfo,name:"DateTime",path:"src/stories/data-display/FhirValue.stories.tsx#DateTime"})}catch(__react_docgen_typescript_loader_error){}try{Date.displayName="Date",Date.__docgenInfo={description:"Render FHIR [date]((https://hl7.org/fhir/datatypes.html#date)",displayName:"Date",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Date"]={docgenInfo:Date.__docgenInfo,name:"Date",path:"src/stories/data-display/FhirValue.stories.tsx#Date"})}catch(__react_docgen_typescript_loader_error){}try{Decimal.displayName="Decimal",Decimal.__docgenInfo={description:"Render FHIR [decimal]((https://hl7.org/fhir/datatypes.html#decimal)",displayName:"Decimal",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Decimal"]={docgenInfo:Decimal.__docgenInfo,name:"Decimal",path:"src/stories/data-display/FhirValue.stories.tsx#Decimal"})}catch(__react_docgen_typescript_loader_error){}try{Distance.displayName="Distance",Distance.__docgenInfo={description:"Render FHIR [Distance]((https://hl7.org/fhir/datatypes.html#Distance)",displayName:"Distance",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Distance"]={docgenInfo:Distance.__docgenInfo,name:"Distance",path:"src/stories/data-display/FhirValue.stories.tsx#Distance"})}catch(__react_docgen_typescript_loader_error){}try{Duration.displayName="Duration",Duration.__docgenInfo={description:"Render FHIR [Duration]((https://hl7.org/fhir/datatypes.html#Duration)",displayName:"Duration",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Duration"]={docgenInfo:Duration.__docgenInfo,name:"Duration",path:"src/stories/data-display/FhirValue.stories.tsx#Duration"})}catch(__react_docgen_typescript_loader_error){}try{HumanName.displayName="HumanName",HumanName.__docgenInfo={description:"Render FHIR [HumanName]((https://hl7.org/fhir/datatypes.html#HumanName)",displayName:"HumanName",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#HumanName"]={docgenInfo:HumanName.__docgenInfo,name:"HumanName",path:"src/stories/data-display/FhirValue.stories.tsx#HumanName"})}catch(__react_docgen_typescript_loader_error){}try{Id.displayName="Id",Id.__docgenInfo={description:"Render FHIR [id]((https://hl7.org/fhir/datatypes.html#id)",displayName:"Id",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Id"]={docgenInfo:Id.__docgenInfo,name:"Id",path:"src/stories/data-display/FhirValue.stories.tsx#Id"})}catch(__react_docgen_typescript_loader_error){}try{Identifier.displayName="Identifier",Identifier.__docgenInfo={description:"Render FHIR [Identifier]((https://hl7.org/fhir/datatypes.html#Identifier)",displayName:"Identifier",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Identifier"]={docgenInfo:Identifier.__docgenInfo,name:"Identifier",path:"src/stories/data-display/FhirValue.stories.tsx#Identifier"})}catch(__react_docgen_typescript_loader_error){}try{Instant.displayName="Instant",Instant.__docgenInfo={description:"Render FHIR [instant]((https://hl7.org/fhir/datatypes.html#instant)",displayName:"Instant",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Instant"]={docgenInfo:Instant.__docgenInfo,name:"Instant",path:"src/stories/data-display/FhirValue.stories.tsx#Instant"})}catch(__react_docgen_typescript_loader_error){}try{Integer.displayName="Integer",Integer.__docgenInfo={description:"Render FHIR [integer]((https://hl7.org/fhir/datatypes.html#integer)",displayName:"Integer",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Integer"]={docgenInfo:Integer.__docgenInfo,name:"Integer",path:"src/stories/data-display/FhirValue.stories.tsx#Integer"})}catch(__react_docgen_typescript_loader_error){}try{Integer64.displayName="Integer64",Integer64.__docgenInfo={description:"Render FHIR [integer64]((https://hl7.org/fhir/datatypes.html#integer64)",displayName:"Integer64",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Integer64"]={docgenInfo:Integer64.__docgenInfo,name:"Integer64",path:"src/stories/data-display/FhirValue.stories.tsx#Integer64"})}catch(__react_docgen_typescript_loader_error){}try{Markdown.displayName="Markdown",Markdown.__docgenInfo={description:"Render FHIR [markdown]((https://hl7.org/fhir/datatypes.html#markdown)",displayName:"Markdown",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Markdown"]={docgenInfo:Markdown.__docgenInfo,name:"Markdown",path:"src/stories/data-display/FhirValue.stories.tsx#Markdown"})}catch(__react_docgen_typescript_loader_error){}try{Money.displayName="Money",Money.__docgenInfo={description:"Render FHIR [Money]((https://hl7.org/fhir/datatypes.html#Money)",displayName:"Money",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Money"]={docgenInfo:Money.__docgenInfo,name:"Money",path:"src/stories/data-display/FhirValue.stories.tsx#Money"})}catch(__react_docgen_typescript_loader_error){}try{Oid.displayName="Oid",Oid.__docgenInfo={description:"Render FHIR [oid]((https://hl7.org/fhir/datatypes.html#oid)",displayName:"Oid",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Oid"]={docgenInfo:Oid.__docgenInfo,name:"Oid",path:"src/stories/data-display/FhirValue.stories.tsx#Oid"})}catch(__react_docgen_typescript_loader_error){}try{Period.displayName="Period",Period.__docgenInfo={description:"Render FHIR [Period]((https://hl7.org/fhir/datatypes.html#Period)",displayName:"Period",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Period"]={docgenInfo:Period.__docgenInfo,name:"Period",path:"src/stories/data-display/FhirValue.stories.tsx#Period"})}catch(__react_docgen_typescript_loader_error){}try{PositiveInt.displayName="PositiveInt",PositiveInt.__docgenInfo={description:"Render FHIR [positiveInt]((https://hl7.org/fhir/datatypes.html#positiveInt)",displayName:"PositiveInt",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#PositiveInt"]={docgenInfo:PositiveInt.__docgenInfo,name:"PositiveInt",path:"src/stories/data-display/FhirValue.stories.tsx#PositiveInt"})}catch(__react_docgen_typescript_loader_error){}try{Quantity.displayName="Quantity",Quantity.__docgenInfo={description:"Render FHIR [Quantity]((https://hl7.org/fhir/datatypes.html#Quantity)",displayName:"Quantity",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Quantity"]={docgenInfo:Quantity.__docgenInfo,name:"Quantity",path:"src/stories/data-display/FhirValue.stories.tsx#Quantity"})}catch(__react_docgen_typescript_loader_error){}try{Range.displayName="Range",Range.__docgenInfo={description:"Render FHIR [Range]((https://hl7.org/fhir/datatypes.html#Range)",displayName:"Range",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Range"]={docgenInfo:Range.__docgenInfo,name:"Range",path:"src/stories/data-display/FhirValue.stories.tsx#Range"})}catch(__react_docgen_typescript_loader_error){}try{RatioRange.displayName="RatioRange",RatioRange.__docgenInfo={description:"Render FHIR [RatioRange]((https://hl7.org/fhir/datatypes.html#RatioRange)",displayName:"RatioRange",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#RatioRange"]={docgenInfo:RatioRange.__docgenInfo,name:"RatioRange",path:"src/stories/data-display/FhirValue.stories.tsx#RatioRange"})}catch(__react_docgen_typescript_loader_error){}try{Ratio.displayName="Ratio",Ratio.__docgenInfo={description:"Render FHIR [Ratio]((https://hl7.org/fhir/datatypes.html#Ratio)",displayName:"Ratio",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Ratio"]={docgenInfo:Ratio.__docgenInfo,name:"Ratio",path:"src/stories/data-display/FhirValue.stories.tsx#Ratio"})}catch(__react_docgen_typescript_loader_error){}try{Reference.displayName="Reference",Reference.__docgenInfo={description:"Render FHIR [Reference](https://hl7.org/fhir/references.html#Reference)",displayName:"Reference",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Reference"]={docgenInfo:Reference.__docgenInfo,name:"Reference",path:"src/stories/data-display/FhirValue.stories.tsx#Reference"})}catch(__react_docgen_typescript_loader_error){}try{String.displayName="String",String.__docgenInfo={description:"Render FHIR [string](https://hl7.org/fhir/datatypes.html#string)",displayName:"String",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#String"]={docgenInfo:String.__docgenInfo,name:"String",path:"src/stories/data-display/FhirValue.stories.tsx#String"})}catch(__react_docgen_typescript_loader_error){}try{Time.displayName="Time",Time.__docgenInfo={description:"Render FHIR [time]((https://hl7.org/fhir/datatypes.html#time)",displayName:"Time",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Time"]={docgenInfo:Time.__docgenInfo,name:"Time",path:"src/stories/data-display/FhirValue.stories.tsx#Time"})}catch(__react_docgen_typescript_loader_error){}try{UnsignedInt.displayName="UnsignedInt",UnsignedInt.__docgenInfo={description:"Render FHIR [unsignedInt]((https://hl7.org/fhir/datatypes.html#unsignedInt)",displayName:"UnsignedInt",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#UnsignedInt"]={docgenInfo:UnsignedInt.__docgenInfo,name:"UnsignedInt",path:"src/stories/data-display/FhirValue.stories.tsx#UnsignedInt"})}catch(__react_docgen_typescript_loader_error){}try{Uri.displayName="Uri",Uri.__docgenInfo={description:"Render FHIR [uri]((https://hl7.org/fhir/datatypes.html#uri)",displayName:"Uri",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Uri"]={docgenInfo:Uri.__docgenInfo,name:"Uri",path:"src/stories/data-display/FhirValue.stories.tsx#Uri"})}catch(__react_docgen_typescript_loader_error){}try{Url.displayName="Url",Url.__docgenInfo={description:"Render FHIR [url]((https://hl7.org/fhir/datatypes.html#url)",displayName:"Url",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Url"]={docgenInfo:Url.__docgenInfo,name:"Url",path:"src/stories/data-display/FhirValue.stories.tsx#Url"})}catch(__react_docgen_typescript_loader_error){}try{Uuid.displayName="Uuid",Uuid.__docgenInfo={description:"Render FHIR [uuid]((https://hl7.org/fhir/datatypes.html#uuid)",displayName:"Uuid",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/stories/data-display/FhirValue.stories.tsx#Uuid"]={docgenInfo:Uuid.__docgenInfo,name:"Uuid",path:"src/stories/data-display/FhirValue.stories.tsx#Uuid"})}catch(__react_docgen_typescript_loader_error){}},"./src/stories/helpers.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{function buildArgs(props){var result={};for(var key in props)for(var value=props[key],keys=key.split("."),currentObj=result,i=0;ibuildArgs})}}]); \ No newline at end of file diff --git a/feedback-FhirError-stories.27197f46.iframe.bundle.js b/feedback-FhirError-stories.27197f46.iframe.bundle.js new file mode 100644 index 0000000..e21c50d --- /dev/null +++ b/feedback-FhirError-stories.27197f46.iframe.bundle.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_bonfhir_storybook=self.webpackChunk_bonfhir_storybook||[]).push([[951],{"../../node_modules/.pnpm/@babel+runtime@7.23.6/node_modules/@babel/runtime/helpers/esm/objectSpread2.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function toPropertyKey(t){var i=function toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==_typeof(i)?i:String(i)}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread2(e){for(var r=1;r_objectSpread2})},"./src/stories/feedback/FhirError.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Default:()=>Default,__namedExportsOrder:()=>__namedExportsOrder,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _Users_julien_dev_GitHub_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_6_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/.pnpm/@babel+runtime@7.23.6/node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../packages/react/dist/r5/esm/index.mjs"),_helpers__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/stories/helpers.ts"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js");const __WEBPACK_DEFAULT_EXPORT__={title:"Feedback/FhirError",component:_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_0__.FZ,tags:["autodocs"],args:{onRetry:!0},argTypes:{error:{control:"text",description:"Can either be a string or an Error object."},onRetry:{control:"boolean",description:"This should be a function invoked when retrying."},"rendererProps.titleText":{control:"text"},"rendererProps.alert.variant":{control:"select",options:["filled","outline","light",void 0]}},render:function render(props){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_0__.FZ,(0,_Users_julien_dev_GitHub_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_6_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__.Z)((0,_Users_julien_dev_GitHub_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_6_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__.Z)({},(0,_helpers__WEBPACK_IMPORTED_MODULE_3__.f)(props)),{},{onRetry:props.onRetry?function(){return alert("Retrying...")}:void 0}))},parameters:{docs:{description:{component:"Renders an error permanently on screen\n\nSee https://bonfhir.dev/packages/react/components/fhir-error for more information."}}}};var Default={args:{error:"This is an error message."}};Default.parameters={...Default.parameters,docs:{...Default.parameters?.docs,source:{originalSource:'{\n args: {\n error: "This is an error message."\n }\n}',...Default.parameters?.docs?.source}}};const __namedExportsOrder=["Default"]},"./src/stories/helpers.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{function buildArgs(props){var result={};for(var key in props)for(var value=props[key],keys=key.split("."),currentObj=result,i=0;ibuildArgs})}}]); \ No newline at end of file diff --git a/feedback-FhirError-stories.2739f786.iframe.bundle.js b/feedback-FhirError-stories.2739f786.iframe.bundle.js deleted file mode 100644 index 0e37e5c..0000000 --- a/feedback-FhirError-stories.2739f786.iframe.bundle.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_bonfhir_storybook=self.webpackChunk_bonfhir_storybook||[]).push([[951],{"../../node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/objectSpread2.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function toPropertyKey(t){var i=function toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==_typeof(i)?i:String(i)}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread2(e){for(var r=1;r_objectSpread2})},"./src/stories/feedback/FhirError.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Default:()=>Default,__namedExportsOrder:()=>__namedExportsOrder,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _home_runner_work_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_8_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../packages/react/dist/r5/esm/index.mjs"),_helpers__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/stories/helpers.ts"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js");const __WEBPACK_DEFAULT_EXPORT__={title:"Feedback/FhirError",component:_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_0__.FZ,tags:["autodocs"],args:{onRetry:!0},argTypes:{error:{control:"text",description:"Can either be a string or an Error object."},onRetry:{control:"boolean",description:"This should be a function invoked when retrying."},"rendererProps.titleText":{control:"text"},"rendererProps.alert.variant":{control:"select",options:["filled","outline","light",void 0]}},render:function render(props){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_0__.FZ,(0,_home_runner_work_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_8_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__.Z)((0,_home_runner_work_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_8_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__.Z)({},(0,_helpers__WEBPACK_IMPORTED_MODULE_3__.f)(props)),{},{onRetry:props.onRetry?function(){return alert("Retrying...")}:void 0}))},parameters:{docs:{description:{component:"Renders an error permanently on screen\n\nSee https://bonfhir.dev/packages/react/components/fhir-error for more information."}}}};var Default={args:{error:"This is an error message."}};Default.parameters={...Default.parameters,docs:{...Default.parameters?.docs,source:{originalSource:'{\n args: {\n error: "This is an error message."\n }\n}',...Default.parameters?.docs?.source}}};const __namedExportsOrder=["Default"]},"./src/stories/helpers.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{function buildArgs(props){var result={};for(var key in props)for(var value=props[key],keys=key.split("."),currentObj=result,i=0;ibuildArgs})}}]); \ No newline at end of file diff --git a/feedback-FhirQueryLoader-stories.08cffbe1.iframe.bundle.js b/feedback-FhirQueryLoader-stories.08cffbe1.iframe.bundle.js deleted file mode 100644 index 78176a7..0000000 --- a/feedback-FhirQueryLoader-stories.08cffbe1.iframe.bundle.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_bonfhir_storybook=self.webpackChunk_bonfhir_storybook||[]).push([[905],{"../../node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/objectSpread2.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function toPropertyKey(t){var i=function toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==_typeof(i)?i:String(i)}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread2(e){for(var r=1;r_objectSpread2})},"./src/stories/feedback/FhirQueryLoader.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Default:()=>Default,Loading:()=>Loading,OnError:()=>OnError,__namedExportsOrder:()=>__namedExportsOrder,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _home_runner_work_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_8_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../packages/react/dist/r5/esm/index.mjs"),_helpers__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/stories/helpers.ts"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js");const __WEBPACK_DEFAULT_EXPORT__={title:"Feedback/FhirQueryLoader",component:_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_0__.WP,tags:["autodocs"],args:{},argTypes:{allowRetry:{control:"boolean"}},render:function render(props){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_0__.WP,(0,_home_runner_work_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_8_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__.Z)((0,_home_runner_work_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_8_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__.Z)({},(0,_helpers__WEBPACK_IMPORTED_MODULE_3__.f)(props)),{},{children:"This is the loader content, displayed once loaded."}))},parameters:{docs:{description:{component:"Renders a loading/error/loaded state for a FHIR query.\n\nSee https://bonfhir.dev/packages/react/components/fhir-query-loader for more information."}}}};var Default={args:{query:{isLoading:!1,isError:!1}}},Loading={args:{query:{isLoading:!0,isError:!1}}},OnError={args:{query:{isLoading:!1,isError:!0,error:new Error("Query error messages"),refetch:function refetch(){alert("Refetching!")}}}};Default.parameters={...Default.parameters,docs:{...Default.parameters?.docs,source:{originalSource:"{\n args: {\n query: ({\n isLoading: false,\n isError: false\n } as any)\n }\n}",...Default.parameters?.docs?.source}}},Loading.parameters={...Loading.parameters,docs:{...Loading.parameters?.docs,source:{originalSource:"{\n args: {\n query: ({\n isLoading: true,\n isError: false\n } as any)\n }\n}",...Loading.parameters?.docs?.source}}},OnError.parameters={...OnError.parameters,docs:{...OnError.parameters?.docs,source:{originalSource:'{\n args: {\n query: ({\n isLoading: false,\n isError: true,\n error: new Error("Query error messages"),\n refetch: () => {\n alert("Refetching!");\n }\n } as any)\n }\n}',...OnError.parameters?.docs?.source}}};const __namedExportsOrder=["Default","Loading","OnError"]},"./src/stories/helpers.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{function buildArgs(props){var result={};for(var key in props)for(var value=props[key],keys=key.split("."),currentObj=result,i=0;ibuildArgs})}}]); \ No newline at end of file diff --git a/feedback-FhirQueryLoader-stories.b5cc3014.iframe.bundle.js b/feedback-FhirQueryLoader-stories.b5cc3014.iframe.bundle.js new file mode 100644 index 0000000..8cb52bc --- /dev/null +++ b/feedback-FhirQueryLoader-stories.b5cc3014.iframe.bundle.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_bonfhir_storybook=self.webpackChunk_bonfhir_storybook||[]).push([[905],{"../../node_modules/.pnpm/@babel+runtime@7.23.6/node_modules/@babel/runtime/helpers/esm/objectSpread2.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function toPropertyKey(t){var i=function toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==_typeof(i)?i:String(i)}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread2(e){for(var r=1;r_objectSpread2})},"./src/stories/feedback/FhirQueryLoader.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Default:()=>Default,Loading:()=>Loading,OnError:()=>OnError,__namedExportsOrder:()=>__namedExportsOrder,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _Users_julien_dev_GitHub_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_6_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/.pnpm/@babel+runtime@7.23.6/node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../packages/react/dist/r5/esm/index.mjs"),_helpers__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/stories/helpers.ts"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js");const __WEBPACK_DEFAULT_EXPORT__={title:"Feedback/FhirQueryLoader",component:_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_0__.WP,tags:["autodocs"],args:{},argTypes:{allowRetry:{control:"boolean"}},render:function render(props){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_bonfhir_react_r5__WEBPACK_IMPORTED_MODULE_0__.WP,(0,_Users_julien_dev_GitHub_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_6_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__.Z)((0,_Users_julien_dev_GitHub_bonfhir_bonfhir_node_modules_pnpm_babel_runtime_7_23_6_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__.Z)({},(0,_helpers__WEBPACK_IMPORTED_MODULE_3__.f)(props)),{},{children:"This is the loader content, displayed once loaded."}))},parameters:{docs:{description:{component:"Renders a loading/error/loaded state for a FHIR query.\n\nSee https://bonfhir.dev/packages/react/components/fhir-query-loader for more information."}}}};var Default={args:{query:{isLoading:!1,isError:!1}}},Loading={args:{query:{isLoading:!0,isError:!1}}},OnError={args:{query:{isLoading:!1,isError:!0,error:new Error("Query error messages"),refetch:function refetch(){alert("Refetching!")}}}};Default.parameters={...Default.parameters,docs:{...Default.parameters?.docs,source:{originalSource:"{\n args: {\n query: ({\n isLoading: false,\n isError: false\n } as any)\n }\n}",...Default.parameters?.docs?.source}}},Loading.parameters={...Loading.parameters,docs:{...Loading.parameters?.docs,source:{originalSource:"{\n args: {\n query: ({\n isLoading: true,\n isError: false\n } as any)\n }\n}",...Loading.parameters?.docs?.source}}},OnError.parameters={...OnError.parameters,docs:{...OnError.parameters?.docs,source:{originalSource:'{\n args: {\n query: ({\n isLoading: false,\n isError: true,\n error: new Error("Query error messages"),\n refetch: () => {\n alert("Refetching!");\n }\n } as any)\n }\n}',...OnError.parameters?.docs?.source}}};const __namedExportsOrder=["Default","Loading","OnError"]},"./src/stories/helpers.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{function buildArgs(props){var result={};for(var key in props)for(var value=props[key],keys=key.split("."),currentObj=result,i=0;ibuildArgs})}}]); \ No newline at end of file diff --git a/iframe.html b/iframe.html index ffbc00b..845d6b7 100644 --- a/iframe.html +++ b/iframe.html @@ -348,7 +348,7 @@ window['DOCS_OPTIONS'] = {"defaultName":"Docs","autodocs":"tag"};